/*
Theme Name: Soth Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Andreas Bösch
Author URI: http://www.yellobit.de
Template: enfold
*/



/*Add your own styles here:*/

#header_main {
  border-bottom:none;
}

div .logo {
  position:relative;
  left: auto;
  width: 33%;
  padding: 10px 0;
}

h2 {line-height:1.275em;}
h3 {line-height:1.65em;}

/****************** Hauptmenü ***************/

.main_menu {
  position:relative;
  right: auto;
  float:left;
}
.av-main-nav li:hover .avia-menu-fx, .current-menu-item > a > .avia-menu-fx, .av-main-nav li:hover .current_page_item > a > .avia-menu-fx {
    opacity: 0;
    visibility: hidden;
}

.av-main-nav > li > a > .avia-menu-text {
    position: relative;
    top: 20px;
}

.main_menu ul li.menu-item-top-level > a {
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.1em;  
  height: 80px;
}

.main_menu ul li.menu-item-top-level a:hover,
.main_menu ul li.menu-item-top-level.current-menu-item{
  background-color:#c8d2dc !important; 
  border-color: transparent;
}

.av-main-nav > li > ul {
  border:none;
  /*padding-top: 8px;*/
}
.av-main-nav > li > ul {
  border:none;
 }
 
 #top .av-main-nav .sub-menu li a {
   font-size: 15px;
   border:none;
 }
 #top .av-main-nav .sub-menu li a:hover {
   background-color: #c8d2dc;
 }



/****************** Kontaktmenü ***************/
#soth_contact_menu {
  float:right;
  margin-top:5px;
}
#soth_contact_menu ul {
  margin:0;
  padding:0;
  line-height: 40px;
  font-size: 15px;
}
#soth_contact_menu ul li {
  display:inline-block;
  margin-right:10px;
  line-height: 40px;
}
#soth_contact_menu ul li:last-child {
  margin-right:0;
}
#soth_contact_menu ul li:first-child a {
  display: inline-block;  
  margin-top:-5px;
  vertical-align:top;
}

.soth_mail a,
.soth_map a{
  background:transparent url(./img/mail.svg) no-repeat;
  background-size: 20px 22px;
  display:block;  
  width: 20px;
  height: 22px;
  line-height: 40px;
  text-align:center;
}
.soth_map a {
  background:transparent url(./img/standort.svg) no-repeat;
  background-size: 13px 22px;
}
.soth_mail a span,
.soth_map a span{display:none;} 

@media only screen and (max-width: 1160px) {
  #soth_contact_menu {text-align:right;}
  #soth_contact_menu ul li:first-child {
    display:block;
    margin-right:0;
  }
}
@media only screen and (max-width: 1100px) and (min-width: 768px) {
  .container{padding-left:20px;padding-right:20px;}
  .overlay_container_left {padding-left:20px !important};
  /*
  #soth_contact_menu ul li {
    height: 25px;
    display:block;
    margin-right:0;
  }
  
  #soth_contact_menu .soth_tel a {
    background: transparent url(./img/tel.svg) no-repeat;    
    background-size: 20px 22px;
    display: block;
    width: 20px;
    height: 22px;
    line-height: 40px;
    text-align: center;
  }
  
  .soth_tel a span{
    display: none;
  }
  */  
}  

@media only screen and (max-width: 920px)  and (min-width: 768px) { 
	  .av-main-nav > li.menu-item-avia-special {
      display: block;
  }
  .av-main-nav > li.menu-item {
      display: none;      
  }
  
  .responsive .logo {    
    position: absolute;
    left: 0;
    height: 88px;
  }    
  nav.main_menu {    
    position:absolute;
    right:0;
    top:5px;
    height:40px;
    line-height:40px;
  }
  
  .av-burger-menu-main.menu-item-avia-special,  
  .main_menu ul:first-child > li a,
  .av-burger-menu-main.menu-item-avia-special > a > span {
    height:40px;
    line-height:40px;
  }
  
  #soth_contact_menu {position:absolute; right:0;top:45px}  
  #soth_contact_menu ul li,
  #soth_contact_menu ul li:first-child,
  #soth_contact_menu ul li a {display:inline-block; margin-right: 10px;}  
  #soth_contact_menu ul li:last-child,
  #soth_contact_menu ul li:last-child a {margin-right:0;}
  
}

@media only screen and (max-width: 767px) {
  #soth_contact_menu {float:none; text-align:center;}
  #soth_contact_menu ul li,
  #soth_contact_menu ul li:first-child,
  #soth_contact_menu ul li a {display:inline-block; margin-right: 10px;}
}


/******* layer slider ***********/
/*
.ls-layer h1 {
  padding: 20px;
  color: #fff;
  font-weight:300;
}
*/

/******** home_hero ********/
#home_hero .container {padding-left:0;padding-right:0;}
#home_hero .post-entry,
#home_hero .entry-content-wrapper,
#home_hero .flex_column_table{
  height: 100%;
}
#home_hero .avia_textblock h1.h1-as-p,
#home_hero .avia_textblock *,
#home_hero_mobile .avia_textblock * {color: #fff; font-size:18px;font-weight:normal;}
#home_hero .avia_textblock h1.h1-as-p{
    margin: 0.85em 0;
    line-height: 28.05px;
    letter-spacing:normal;
    font-family: 'Open-Sans', 'HelveticaNeue', 'Helvetica Neue', Helvetica, sans-serif;
}

#home_hero .avia_textblock h2 { font-family: 'Ubuntu', sans-serif; font-size:28px; font-weight:normal}

#home_hero .avia_textblock h1,
#home_hero .avia_textblock h2.h2-as-h1,
#home_hero .avia_textblock h2.h2-as-h1 a{ 
  font-family: 'Ubuntu', sans-serif; font-size:48px; font-weight:normal;line-height:1em;
}
#home_hero .avia_textblock h2.h2-as-h1 {margin-top:0;margin-bottom:14px;letter-spacing: 1px;}


#home_hero .overlay_text { position:relative;display:none;}
#home_hero .avia_textblock span.open_overlay,
#home_hero .avia_textblock span.close_overlay{
  position:absolute; 
  right:10px;   
  cursor:pointer;
}
#home_hero .avia_textblock span.close_overlay {display:none;} 

#home_hero .overlay_container .av_textblock_section {
  width:100%;height:100%;overflow:hidden;
  display: flex;  
  align-items: center; /* align vertical */
}
#home_hero .overlay_container.active .av_textblock_section:before{
  width: 100%;
  height:100%;
  display:block;
  content:'';
  position:absolute;
  top:0px;
  left:0px;
  background-color: rgba(57,74,86,0.8);
  border-left: 1px solid rgba(255,255,255,0.5);
}
#home_hero .overlay_container.active .overlay_text {display:block;}

#home_hero .jump_next {
  position: absolute;
  bottom: 0px;
  left: 45%;
}
#home_hero .jump_next a {text-decoration:none;}

#home_hero_mobile .container {
  width:100% !important; 
  max-width:100% !important;
}

#home_hero_mobile > .container > .content {
  /*display: flex;  
  align-items: flex-end; /* align vertical */
  vertical-align: bottom;
  padding-bottom:0px;
}

#home_hero_mobile .container .post-entry {  
  background-color: rgba(57,74,86,0.8);
  padding: 10px;
}

@media only screen and (max-width: 980px) {
  .jump_next {display:none;}
}
@media only screen and (max-width:980px) {
  #home_hero_mobile .avia_textblock h1 {font-size:32px;}
  #home_hero_mobile .avia_textblock h2 { font-size:24px;}  
}

.av-icon-char, .av_font_icon {
  opacity: 1 !important;
  transform: none !important;
}

/************ Content *********/
.nobreak {white-space: nowrap;}
.container_wrap { border-top: none; }
.content, .sidebar {
/*padding-top: 50px;
padding-bottom: 0px;*/
}
.template-page .entry-content-wrapper h1, 
.template-page .entry-content-wrapper h2 {
 font-family:'Open-Sans',sans-serif;  
  text-transform: none;  
  font-weight:normal;
  color: #4e6e99;
}
.template-page .entry-content-wrapper h1 {font-size:40px;}
.template-page .entry-content-wrapper h2{
  font-size:28px;margin-bottom:0;margin-top:15px;color: #4e6e99;
  letter-spacing:0;font-weight:normal;
}
.template-page .entry-content-wrapper h3 {font-size:17px;
  margin-bottom:0;
  margin-top:20px;
  color:#000;font-family:'Open-Sans',sans-serif;  
}
p.soth-intro-text, p.soth-intro-text * {font-size:24px; color: #3a4956;line-height: 1.4em;}
@media only screen and (max-width:767px) {
    p.soth-intro-text, p.soth-intro-text * {font-size:18px;}
}
a {text-decoration:underline;}
a:hover,
.social_bookmarks a{text-decoration:none;}

.flex_column > section > div.avia_textblock > *:first-child img {padding-top:6px;}

.avia_textblock ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}
.avia_textblock ul > li {
  margin-left: 1.5em;
}
.avia_textblock ul > li:before {
    display: inline-block;
    content: "—";
    width: 1.5em;
    margin-left: -1.5em;
}
.flex_column:not(.overlay_container_left) .avia_textblock:not(.overlay_text) p,
.team-member-description p,
p.soth-intro-text{
  -moz-hyphens: auto;
  hyphens: auto;
}

/************ Formular *********/
.main_color input[type='submit'] {
  background-color:#c8d2dc;
  color: #000;
  border-bottom:0px;
}
.main_color input[type='submit']:hover {
  background-color: #3a4956;
}

#top .avia_ajax_form .text_input, 
#top .avia_ajax_form .select, 
#top .avia_ajax_form .text_area {padding:5px;}
#top textarea {height: 100px;}
.avia_ajax_form.av-form-labels-hidden p {margin-bottom:0;}
/*.avia_ajax_form.av-form-labels-hidden p:last-child {margin-top:0;}*/
.avia_ajax_form .button {
  padding:8px 10px;
}

/************ Team **************/
.team-img-container, .avia_image_team {border-radius: 0;cursor:pointer;}
.team-member-name {cursor:pointer;}
.team-member-job-title {margin-top:10px; font-weight:normal;cursor:pointer;}
.team-member-description > p:first-child {margin-top:10px;}
.team-member-description {display:none;}
.team-member-description p a:hover {color: inherit; text-decoration:none;}

.avia-team-member .team-social{
  border:none;
  background: rgba(0,0,0,0.7);
}
.image-overlay .image-overlay-inside {
  background: rgba(0,0,0,0.9);
}
/************ Footer ***********/

#footer > .container > .flex_column:first-child{width:25%;}
#footer > .container > .flex_column:last-child{width:19%;}
#footer > .container > .flex_column:nth-child(2){width:44%;}

.flex_column .widget .widgettitle {
  letter-spacing:2px;
  font-family: 'Open-Sans', sans-serif;
  font-weight:bold;
  font-size:17px;  
}

.footer_color .textwidget p {margin-top:10px;margin-bottom:0px;line-height:1.4em}

#footer .textwidget p img {margin-right: 5px;vertical-align:top;}
.avia_google_maps_container {margin-top: 15px;}
.avia_google_maps_container .gm-style-iw div * {color: #000;}
/************* Socket *************/
/* #socket div.container {text-align:left;} */
#socket .sub_menu_socket {float:none;display:inline-block;}
#socket .sub_menu_socket ul {margin-left:0;}
#socket .sub_menu_socket li:first-child {padding-left:0;}
#socket .sub_menu_socket a {font-size:14px; line-height:1.6em; text-transform: uppercase;}
#socket ul.social_bookmarks {float:none;display:inline-block;}
#socket ul.social_bookmarks li a {font-size:18px; line-height:26px;}

#scroll-top-link {font-size:40px;}

@media only screen and (max-width:767px) {
  #socket .sub_menu_socket {padding-bottom: 15px;}
  #socket ul.social_bookmarks {margin-left:0;}
  .template-page .entry-content-wrapper h1 {font-size:30px;}
  .template-page .entry-content-wrapper h2 {font-size:24px;}
}

@media only screen and (min-width: 768px) and (max-width:1190px) {
  #home_hero .avia_textblock h1,
  #home_hero .avia_textblock h2.h2-as-h1,
  #home_hero .avia_textblock h2.h2-as-h1 a {font-size: 28px; line-height:1em;}
}

@media only screen and (min-width: 1191px) and (max-width:1270px) {
  #home_hero .avia_textblock h1,
  #home_hero .avia_textblock h2.h2-as-h1,
  #home_hero .avia_textblock h2.h2-as-h1 a {font-size: 42px; line-height:1em;}
}

@media only screen and (max-width: 768px){
  .responsive #top .logo {width: 100%;}
  .responsive .logo img {margin: auto;}
  .responsive #top #wrap_all .main_menu {top: 60px;}
  
}