/*
Theme Name:     AnStifter (Twenty Thirteen Child)
Theme URI:      http: //www.fritzmielert.de/
Description:    Child theme for the Twenty Thirteen theme 
Author:         Fritz Mielert
Author URI:     http: //www.fritzmielert.de/
Template:       twentythirteen
Version:        0.1.0
*/


@import url("style13.css");

/* Definitionen für Farbwechsel */
.entry-title, .entry-title a, .entry-title a:hover, .entry-meta a, .entry-meta a:hover, .entry-content a:hover, .entry-content a, .highlight{
	color: #0589c8 !important;
}

table{
	font-size: 18px !important;
	line-height: 1.5;
}

.navbar, .widget {
	background-color: #0589c8;
}
.nav-menu li:hover > a,
.nav-menu li a:hover,
.nav-menu li:focus > a,
.nav-menu li a:focus{
	background: #0589c8 !important;
	color: #fff;
}

/* sonstige Definitionen */

@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400;
  src: local('Bitter-Regular'), url(fonts/Bitter-Regular.woff) format('woff');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 700;
  src: local('Bitter-Bold'), url(fonts/Bitter-Bold.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(fonts/SourceSansPro-Light.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url(fonts/SourceSansPro-Regular.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 700;
  src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(fonts/SourceSansPro-Bold.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 300;
  src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url(fonts/SourceSansPro-LightIt.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url(fonts/SourceSansPro-It.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 700;
  src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldIt'), url(fonts/SourceSansPro-BoldIt.woff) format('woff');
}

#shadowundernav{
	background: url(images/bg-top.png) no-repeat scroll center #fff;
	height: 20px;
	position: absolute;
	z-index: 0;
	top: 258px;
	width: 100%;
}
.site-footer{
	background: url(images/bg-bottom.png) no-repeat scroll center top #fff !important;
}
.site-footer .sidebar-container{
	background: transparent !important;
}
.sidebar .site-footer .widget-area, #comments, .sidebar .archive-header{
	max-width: 940px;
	width: 100%;
	margin: 0 auto;
	left: auto;
}
.sidebar .site-footer .widget{
	width: 100%;
}
.sidebar .site-footer .widget .menu .menu-item{
	width: 16.6%;
	min-width: 100px;
	float: left;
	font-weight: bold;
}
.sidebar .site-footer .widget .menu .menu-item .sub-menu{
	margin-left: -15px;
}
.sidebar .site-footer .widget .menu .menu-item .sub-menu .menu-item{
	font-weight: normal;
}

.sidebar .archive-header{
	background-color: transparent !important;
	padding: 0 320px 0 20px;
}

.entry-content img.alignleft, .entry-content .wp-caption.alignleft{
	margin-left: 0px;
}
.entry-content img.alignright, .entry-content .wp-caption.alignright{
	margin-right: -5px;
}
.sidebar .archive-meta{
	padding-right: 0 !important;
}
.event-categories{
	padding-left: 0;
}

.css-event-form .event-form-image{
	display: none;
}
.css-event-form .wrap > h3:nth-child(11){
	display: none;
}
.css-event-form .event-categories > select:nth-child(2){
	height:3em;
}
#em-editor-content_ifr{
	border: 2px solid #0589c8;
}
#em-location-data table.em-location-data{
	width: 100%;
}
.em-location-data input{
	width: 100%;
}

.sidebar .comments-title, .sidebar .comment-list, .sidebar .must-log-in, .sidebar .comment-reply-title, .sidebar .comment-navigation, .sidebar .comment-respond .comment-form{
	padding: 0 !important;
}
.site-footer .widget .widget-title{
	color: #0589c8;
}
.site-footer .widget a {
	color: #0589c8;
}
.site-footer .widget a, .widget a:hover {
	color: #0589c8;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a{
	color: #000 !important;
}
.nav-menu .current_page_item > a, .nav-menu .current_page_ancestor > a, .nav-menu .current-menu-item > a, .nav-menu .current-menu-ancestor > a{
	color: #fff !important;
	background-color: #0589c8 !important;
}
.nav-menu .sub-menu .current_page_item:hover > a, .nav-menu .sub-menu .current_page_ancestor:hover > a, .nav-menu .sub-menu .current-menu-item:hover > a, .nav-menu .sub-menu .current-menu-ancestor:hover > a{
	color: #fff !important;
}
.site-info{
	max-width: 940px;
	width: 100%;
	padding: 0;
}
.site-header{
	background: url("images/header.png") no-repeat scroll center top #0589c8 !important;
	background-size: 940px auto !important;
	max-width: 940px;
	min-height: 230px;
	width: 100%;
	margin: 0 auto;
	/*background-color: #f00;*/
}
.sidebar .page-content, .page-header{
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
	padding: 40px 376px 40px 68px;
	background-color: transparent !important;
}
.site-header .search-field:focus {
	border: none;
}
.home-link h1, .home-link h2{
	visibility: hidden;
}
.site-header .home-link{
	min-height: 230px;
}
.nav-menu li a, .menu-toggle {
	color: #fff;
}
.site-header .search-field {
	background-image: url(images/search-icon-2x.png);
}
.site-main {
	background: url(images/bg-rl.png) repeat-y center #fff;
}
#tertiary .widget_text .widget-title{
	display: none;
}
h1 {
	font-size: 40px;
}

body, .entry-content blockquote {
	font-size: 20px;
}
.paging-navigation{
	background: transparent !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-weight: bold !important;
}
.anstifter_subtitle{
	font-size: 16px;
	color: #000;
}
.site-footer .widget a:hover {
	color: #000;
}
.attachment .entry-header, .attachment .entry-content, .sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta, .sidebar .comments-area{
	max-width: 940px;
	padding: 0 320px 0 20px;
}
/*.single #tertiary{
	display: none;
}*/
#primary{
	min-height: 1000px;
}
#comments{
	padding-bottom: 10px;
}
/*.single #primary{
	min-height: 0px;
}
.attachment .entry-content, .attachment .entry-header, .single .entry-header, .single .entry-content, .single .entry-summary, .single .nav-links, .single .comments-area {
	max-width: 940px;
	padding: 0 100px 0 100px !important;
}
.attachment .hentry, .attachment, .hentry, .entry-header, .image-attachment{
	background-color: transparent !important;
}
.single .hentry, .attachment .hentry {
	padding: 70px 0 !important;
}*/
.post-navigation .nav-links{
	max-width: 940px;
}
.attachment .hentry, .attachment .entry-content, .attachment .entry-header{
	padding: 20px 20px !important;
	background-color: transparent !important;
}
#tertiary aside.widget{
	display: none;
}
#tertiary aside.widget:first-child{
	display: block;
}
#tertiary aside.widget:last-child{
	display: block;
}
.home #tertiary aside.widget{
	display: block;
}
.site-main .sidebar-inner {
	max-width: 940px;
}
.post-navigation, .comment-respond{
	background: transparent !important;
}
.no-comments{
	background-color: #fff;
}
.widget{
	padding: 0;
}
.widget-title{
	padding: 15px 15px 0 15px;
	margin: 0 !important;
}
.widget ul, .widget p{
	padding: 15px;
	color: #fff;
}
.widget a, .widget a:hover{
	color: #fff;
}
.widget .widget-title{
	color: #fff;
	font-weight: bold;
	font-style: normal;
}
.site-info{
	display: none !important;
}

/* Form fields, general styles first. */


input,
textarea {
	color: #141412;
}

input:focus,
textarea:focus {
	border: 2px solid #0589c8;
}





/* Maps */
.olControlAttribution{
	bottom: 0px !important;
	right: 0px !important;
	padding: 4px;
	background: rgba(255, 255, 255, 0.8);
	font-size: 10px !important;
}
#map{
	border: 2px solid #bf0a27;
}
.olPopup{
  -webkit-box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
  height: auto !important;
  min-height: 50px;
  max-height: 200px;
  width: 350px;
}
.olPopup div{
  overflow: scroll !important;
}
a.headline, a.headline:visited{
  font-size: 16px;
  text-decoration: none;
}
.olPopupContent h2{
  display: none;
}
.olPopupContent p{
  font-size: 12px;
  margin: 0;
}
.olPopupContent{
  padding: 5px 10px 7px 10px !important;
  width: 100% !important;
  height: auto !important;
}

/* Mobile Stuff */
@media (max-width: 1069px) {
	.site-main .widget-area {
		margin-right: 0px !important;
	}
}
@media (max-width: 999px) {
	.site-main .sidebar-container {
		height: 0;
		position: absolute;
		top: 40px;
		width: 100%;
		max-width: 990px;
		z-index: 1;
	}
	.site-main .widget-area {
		float: right;
		width: 300px;
	}
}

@media (max-width: 643px) {
	/*.single .hentry {
		padding: 20px 0;
	}
	.attachment .entry-content, .attachment .entry-header, .single .entry-header, .single .entry-content, .single .entry-summary, .page .comments-area,.page .entry-header, .page .entry-content, .page .entry-summary, .page .comments-area{
		padding: 0 20px 0 20px !important;
	}*/
	.site-header .home-link {
		min-height: 168px;
	}
	.site-header{
		background-size: 100% auto !important;
		min-height: 168px;
	}
	.home-link h1, .home-link h2{
		display: none;
	}
	.site-main .sidebar-container {
		display: none;
	}
}
@media (max-width: 618px) {
	.site-header .home-link, .site-header {
		min-height: 161px;
	}
}
@media (max-width: 593px) {
	.site-header .home-link, .site-header {
		min-height: 154px;
	}
}
@media (max-width: 569px) {
	.site-header .home-link, .site-header {
		min-height: 148px;
	}
}
@media (max-width: 544px) {
	.site-header .home-link, .site-header {
		min-height: 141px;
	}
}
@media (max-width: 519px) {
	.site-header .home-link, .site-header {
		min-height: 134px;
	}
}
@media (max-width: 469px) {
	.site-header .home-link, .site-header {
		min-height: 120px;
	}
}
@media (max-width: 445px) {
	.site-header .home-link, .site-header {
		min-height: 114px;
	}
}
@media (max-width: 420px) {
	.site-header .home-link, .site-header {
		min-height: 107px;
	}
}
@media (max-width: 395px) {
	.site-header .home-link, .site-header {
		min-height: 100px;
	}
}
@media print {
	.sidebar .entry-header, .sidebar .entry-content, .sidebar .entry-summary, .sidebar .entry-meta, .sidebar .comments-area{
		max-width: 100%;
		padding: 0 10mm 0 10mm;
	}
	#masthead{
		display: none;
	}
	body, .entry-content blockquote {	
		font-size: 12pt;
	}
}