/*
 Theme Name: Autofasten
 Theme URI:	/wp-content/themes/enfold/
 Description: Für Autofasten
 Author: Sebastian Reifberger
 Author URI: http://www.reifberger.net/
 Template: enfold
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Tags: 
*/

/*
live
You can start adding your own styles here. Use !important to overwrite styles if needed. */


body {
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;

  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
/*  font-family: 'Jura';
  font-weight: 500;*/
}
h1{
	font-weight:400 !important;
}
h2{
	font-weight:500 !important;
}
.h2section h2{
	font-weight:400 !important;
}
h3{
	font-weight:500 !important;
}
h4{
	font-weight:500 !important;
}

header{
  padding-top:10px !important;
}
@media only screen and (max-width: 767px){
	header{
	  padding-top:0px !important;
	}
}

#header_meta{
  border:none !important;
}

#imgabs_holder{
	heigth:50px;
}

.imgabs{
  position:absolute;
  left:0 !important;
  bottom:0 !important;
  float:none !important;
  margin:0 !important;
  max-width:300px;
}
.partnerlogos_top{
	  max-width:300px;
}
@media only screen and (max-width: 767px){
	.partnerlogos_top{
	  max-width:200px;
	}
	#mainstage{
		margin-bottom: 0px !important;
	}
}
@media only screen and (max-width: 450px){
	.partnerlogos_top{
	  max-width:150px;
	}
}


@media only screen and (max-width: 767px){
	#topsection{
		margin-top:20px  !important;
	}
	#topsection .container{
		width:100%  !important;
		max-width:100%  !important;
	}
}

/*
portfolio_home
*/
.portfolio_home{
  margin-bottom:20px;
}
.portfolio_home article a.grid-image{
 /* min-height:250px;*/
 padding:20px;
}
.portfolio_home article a.grid-image  img{
  width:initial !important;
  margin:10px auto;
}
.portfolio_home article a.grid-image:hover .image-overlay{
  display:none !important;
}

.portfolio_home .grid-entry .inner-entry{
  box-shadow: none  !important;
}
.portfolio_home .grid-content{
	display:none;
}
#top .fullsize .template-blog .blog-meta img{
  /*max-width:170px !important;
  width:100%;
  height:100%;
  min-height:50px;
  max-height:100px;*/
  margin-bottom:25px !important;
}
#top .fullsize .template-blog .blog-meta{
  width:150px;
}

.angebot_btn{
  background-color:#ffffff;
  border-color:#0069b4;
  color:#0069b4;
  border-style:solid;
  border-width:1px 1px 1px 1px;
  box-shadow:none;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  transition:all 0.4s ease-in-out;
  -webkit-transition:all 0.4s ease-in-out;
  -moz-transition:all 0.4s ease-in-out;
  -ms-transition:all 0.4s ease-in-out;
  -o-transition:all 0.4s ease-in-out;
}
.angebot_btn:hover{
  background-color:#0069b4;
  color:#ffffff !important;
  transition:all 0.4s ease-in-out;
  -webkit-transition:all 0.4s ease-in-out;
  -moz-transition:all 0.4s ease-in-out;
  -ms-transition:all 0.4s ease-in-out;
  -o-transition:all 0.4s ease-in-out;
}


.partner_btn{
  background-color:#ffffff;
  border-color:#0069b4;
  color:#0069b4;
  border-style:solid;
  border-width:1px 1px 1px 1px;
  box-shadow:none;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  transition:all 0.4s ease-in-out;
  -webkit-transition:all 0.4s ease-in-out;
  -moz-transition:all 0.4s ease-in-out;
  -ms-transition:all 0.4s ease-in-out;
  -o-transition:all 0.4s ease-in-out;
}
.partner_btn:hover{
  background-color:#0069b4;
  color:#ffffff !important;
  transition:all 0.4s ease-in-out;
  -webkit-transition:all 0.4s ease-in-out;
  -moz-transition:all 0.4s ease-in-out;
  -ms-transition:all 0.4s ease-in-out;
  -o-transition:all 0.4s ease-in-out;
}

.wpcf7-list-item{
  margin-left:0;
  margin-bottom: 20px;
}
.wpcf7-list-item-label{
  font-size:15px !important;
}
.wpcf7-not-valid-tip{
  color:#ff0000 !important;
}
input.wpcf7-text{
  margin-bottom:0 !important;
}
input.wpcf7-text+.wpcf7-not-valid-tip{
  margin-bottom:0 !important;
}

.image-overlay {
  visibility: hidden;
  }

  .teaserbox div.av-special-heading{

    background-color:#0069b4;
    padding:5px 10px 5px 5px;
    border-radius:0 0 10px 10px;
  -webkit-border-radius:0 0 10px 10px;
  -moz-border-radius:0 0 10px 10px;
  position: absolute;
bottom: 0;
  }
  .teaserbox .avia-image-container{
    position: absolute;
    top: 5px; 
    left:10px;
  }
  .teaserbox div.avia-image-overlay-wrap img{
    width:25%;
   
  }
 #footer .widget_media_image {
   display: inline-block;
   margin-right:10px;
 }
 #footer .widget_text{
   margin-bottom:0;
 }
 #footer .footerlogo{
   text-align:right;
 }



 /*
partner menu
 */
 .partner-menu .current-menu-item .avia-menu-text{
   color:#0069b4 !important;
 }

.av_default_container_wrap{
   border:none !important;
   border-color:#ffffff  !important;
 }

 /*
 shadow
 */
 .shadow{
  text-shadow: rgb(0, 0, 0) 2px 2px 6px;
 }


.invisible{
  opacity:0.5;
}

.main_color strong{
	color:#000 !important;
	font-weight:600 !important;
}
.marginr10{
	margin-right:10px;
}
#footer .widget{
	margin:0;
}
.af_bloglist .post-entry .post-title {
	text-transform: initial !important;
	font-size: 1em !important;
	padding-bottom: 0 !important;
}
.af_bloglist .entry-content p{
	font-size:15px !important;
}
.af_bloglist .blog-meta{
	width:80px !important;

}
.af_bloglist .entry-content-header{
	padding-top:0 !important;
}
.af_bloglist .post-meta-infos{
	display: none !important;
}

.av-social-link-facebook{

background-color: #37589b  !important;
}
.av-social-link-facebook a::before{
color: #fff  !important;
}

input,textarea,select{
	color:#000  !important;
	border-color: rgb(160, 160, 160) !important;
}
.wpforms-submit-container{
	margin-bottom:35px !important;
}
.wpforms-submit-container::before{
	content :"*Pflichteingaben";
	font-size:12px;
	position:absolute;
	bottom:-50px;
}

.avia-cookie-consent{
	background-color: rgba(0,105,180,0.85)  !important;
}
.avia_cookie_text a{
	color:#fff !important;
	text-decoration:underline;
}
.avia_cookie_text a:hover{
	text-decoration:none;
}


/*overwirte social icon header
*/
@media only screen and (max-width: 479px){
	
	.mobile_hyphens{
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
                   
	}
	
	
	#top #wrap_all #header #header_main .social_bookmarks{
		display:block !important;
		margin-left:20px;
	}
	.responsive #top .logo{
		width:50%  !important;
	}
	
}


/*
 * form button
 * */

.af_form input[type='submit']{
	background-color: #eee !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}
.af_form input[type='submit']:hover{
    background-color: #ddd !important;
    border: 1px solid #ccc !important;
    cursor: pointer !important;
}

.af_form .error input.text_input,
.af_form .error textarea{
	border:1px solid #990000 !important;
}
.af_form .error .input_checkbox_label{
	color:  #990000 !important;
}

/*
 * cf7
 
 */
 
.cf7ic_instructions span{
	color:#0069b4 !important;
}
.captcha-image label > input:checked + svg{
	border-color:#66ab00 !important;
}
.wpcf7-submit{
	background-color: #eee !important;
    border: 1px solid #ddd !important;
    color: #333 !important;
}