/*
Theme Name:     Urwahl3000 Childtheme
Theme URI:      http://kre8tiv.de/urwahl3000/
Description:    Child-Theme für Urwahl3000
Author:         Benjamin Jopen
Author URI:     http://kre8tiv.de/
Template:       urwahl3000                           
Version:        1.0.0
*/

/* Ab hier die eigenen Anpassungen... */

.cal0 td { background: #FFFFFF; }
.cal1 td { background: #FFFF00; }
.cal2 td { background: #3399FF; }
.cal3 td { background: #FF00FF; }
.cal4 td { background: #FAD165; }
.cal5 td { background: #CCEE11; }
.cal6 td { background: #FFBB00; }

.cal0 span { background-color: #FFFFFF; }
.cal1 span { background-color: #FFFF00; }
.cal2 span { background-color: #3399FF; }
.cal3 span { background-color: #FF00FF; }
.cal4 span { background-color: #FAD165; }
.cal5 span { background-color: #CCEE11; }
.cal6 span { background-color: #FFBB00; }

#nav-main li a {padding: 0.8em;display:block;background: transparent;color:#46962b;border: 0;}

#nav-main li.menu-item-46161 a  {
    color: #ff3560;
}

article h1.h2, .search-results article h1.h2 {font-size: 1.4em;}

/* html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, footer, header, nav, time, section { */
/*   font-size: 98.5%; */
/* } */

/* h1, h2, h3, a, header, nav */ 

h3, a, header, nav {
/*  font-size: 97.3%;*/
  font-size: 105.3%;
}

h1,h2 {
  font-size: 125%;
}

/*MOBILE DEVICES*/
@media only screen and (max-width: 550px) {
#header {margin: 0;padding: 3em 2em;position: relative;}
}

/*
#header.widthimg {
  background-size: contain !important;
  background: url(http://www.gruenemarzahnhellersdorf.de/wp-content/uploads/2015/05/kampagne_marzahn_hellersdorf2.png) top right no-repeat !important;
}
*/

@media screen and (max-width: 600px) {
	.ical tbody td {display: block; text-align:center;}
/* .ical .amrcol1 .amrcol2 .amrcol3 tbody td {display: block; text-align:center;}*/
	.ical tbody td {display: block; text-align:left;}
}

@media only screen and (max-width: 770px) {
		/*TEASER */
		#teaser {margin-bottom: 0;}
		#teaser.welcome {background: #e6e6e6; padding: 2em;box-sizing: border-box;margin: 1em 1em 0;}
		/*Kacheln */
		#teaser.kacheln {position: relative;}
			#teaser.kacheln article {margin: 1em;position: relative;overflow: hidden; }
			#teaser.kacheln .first article {margin-bottom: 0;}
			#teaser.kacheln .last {margin: 1em 1em 0 1em;}
			#teaser.kacheln .last article {width: 49%; margin: 0 2% 0 0;float: left;box-sizing: border-box;font-size: 0.6em;}
				#teaser.kacheln .last article:last-of-type {margin: 0;}
			#teaser.kacheln .entry-content, #teaser.kacheln .byline {display: none;}
			#teaser.kacheln img {width: 100%;height: auto;display: block;background: #000;transition: opacity 1s;}
			#teaser.kacheln h1 {text-align: center;position: absolute;width: 100%;
				top: 50%;-ms-transform: translateY(-50%);-webkit-transform: translateY(-50%);transform: translateY(-50%);text-shadow: 1px 1px 5px rgba(0,0,0,0.3);}
				#teaser.kacheln h1 a {color: #fff;}
			#teaser.kacheln article:hover img {opacity: 0.4;}
			/*Kacheln neu*/
			#teaser.kacheln-neu { display: flex; justify-content: space-between; flex-direction: column; }
				#teaser.kacheln-neu:before { display: none !important; }
				#teaser.kacheln-neu:after { display: none !important; }
				#teaser.kacheln-neu .eightcol { flex-basis: 100%; float: none; }
				#teaser.kacheln-neu .fourcol { flex-basis: 100%; float: none; }
				#teaser.kacheln-neu .last { display: flex; flex-direction: column; }
					#teaser.kacheln-neu .last article { width: 100%; float: none; margin: 0 0 1em 0; font-size: 1em; }
				#teaser.kacheln-neu article { height: 0 !important; padding-bottom: 56.25%; }
				#teaser.kacheln-neu a.postimglist { position: absolute; top: 20px; left: 20px; right: 20px; bottom: 10px; background-size: cover; background-position: center center; background-repeat: no-repeat; }
					#teaser.kacheln-neu a.postimglist img { display: none; }
}    
} 

@media only screen and (min-width: 770px) {

.widget_tag_cloud h3.widgettitle {
    color: #5dae59 !important;
    text-shadow: 2px 2px 7px rgba(0,0,0,0.3);
}

h3.widgettitle {
    color: #5dae59;
}

  #header.widthimg {
    height: 240px;
  }

  #nav-main li a {
    padding: 0.8em;
    display: block;
    background: transparent;
    color: #fff;
    border: 0;
}

.last {
  float: right;
}

.first {
  float: left;
}

}

#teaser.kacheln h1 {
  padding: 0.5em 0.5em;
}

	#main article {background: #fff;padding: 1em;margin: 1em;}
		#main article.sticky {background: #e4f8df;border: 0;}
		#main article.category-aktuell {background: #e4f8df;border: 0;}
	#main article.sticky {margin: 0;padding: 2em;border: 0;}
	#main article.category-aktuell {margin: 0;padding: 2em;border: 0;}

	small  {font-size: 90%;}

/* 	.kreisverband {background: #d53f38; font-size: 1.1em; white-space: nowrap; padding: 1em 1em 0.1em; display: inline; text-align: center; padding: 0.3em; margin-bottom: 0.5em; margin-top: 0.5em; font-family: 'Source Sans Pro Bold','Source Sans Pro', Arial, Helvetica Neue, Helvetica, Verdana, sans-serif;color: #fff;} */
/* 	.fraktion     {background: #3b5998; font-size: 1.1em; white-space: nowrap; padding: 1em 1em 0.1em; display: inline; text-align: center; padding: 0.3em; margin-bottom: 0.5em; margin-top: 0.5em; font-family: 'Source Sans Pro Bold','Source Sans Pro', Arial, Helvetica Neue, Helvetica, Verdana, sans-serif;color: #fff;} */

.widget {
  padding: 1em 1em 1em 1em;
  margin: 0 0 1em 0;
}

a img.alignleft {
  margin-bottom: 2.5em;
}

.widget ul li {
  margin-bottom: 0em;
  margin-left: 1.5em;
}

.sidebar li {
  list-style-type: none;
}

.wp_rp_content ul li:before {content: "";position: absolute;left: 0em;width: 0em;text-align: right;color: #5dae59;}

.wpProQuiz_question ul li:before {content: "";position: absolute;left: 0em;width: 0em;text-align: right;color: #5dae59;}
.wpProQuiz_results ul li:before {content: "";position: absolute;left: 0em;width: 0em;text-align: right;color: #5dae59;}

.wpProQuiz_quiz ol {counter-reset:li;}
.wpProQuiz_quiz ol > li:before {content:''; counter-increment:li; position: absolute;left: -2.5em;width: 2em;text-align: right;color: #5dae59;font-family: 'Source Sans Pro', Arial, Helvetica Neue, Helvetica, Verdana, sans-serif;}	

.menu li:before {
  content: "✲";
  position: absolute;
  left: 0em;
  width: 2em;
  text-align: right;
  color: #5dae59;
}

.menu li {
  list-style-type: none;
  font-size: 95%;
}

.widget_rss li {
  list-style-type: disc;
  font-size: 95%;
}

.blogroll li {
  list-style-type: disc;
  font-size: 95%;
}

.adv-blogroll h3{
  color: #0a321e;
  padding-left: 0em;

}

.adv-blogroll {
  padding: 0em 1em 0em 1em;
  margin: 0 0 0em 0;
  background: none;
  box-shadow: none;
  padding-left: 0em;
  padding-right: 0em;
}

#main form input, #main form select {display: inline;width: auto;}

#umfrage {
/*   width:520px; */
}

p.byline {display: inline; padding: 0.2em 0 0;}
