/*
Theme Name: 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: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/


.container.av-logo-container {
	height: 50px !important; 
}

/* Abstand von Menü zu Logo nach oben */
.html_header_top.html_bottom_nav_header .main_menu > div, .html_header_top.html_bottom_nav_header .main_menu 	ul:first-child {
	margin-top: -6px;
}


/* Logo entfernen */
.logo img { 
	display: none !important; 
}

.logo a { 
	text-decoration: none !important; 
}


/* Text Logo responsive */
@media only screen and (max-width: 690px) {
	.subtext .logopart1 { 
		font-size:40px;
	}
}

@media only screen and (max-width: 690px) {
	.subtext .logopart2 { 
		font-size:40px;
	}
}

@media only screen and (max-width: 590px) {
	.subtext .logopart1 { 
		font-size:30px;
	}
}

@media only screen and (max-width: 590px) {
	.subtext .logopart2 { 
		font-size:30px;
	}
}

@media only screen and (max-width: 460px) {
	.subtext .logopart1 { 
		font-size:25px;
	}
}

@media only screen and (max-width: 460px) {
	.subtext .logopart2 { 
		font-size:25px;
	}
}

@media only screen and (max-width: 400px) {
	.subtext .logopart1 { 
		font-size:20px;
	}
}

@media only screen and (max-width: 400px) {
	.subtext .logopart2 { 
		font-size:20px;
	}
}


.logopart1 {
	font-weight: 400;
	font-size: 38px;
}

.logopart2 {
	font-weight: 700;
	font-size: 38px;
}

/* Menü anpassen */
#top #header .av-main-nav > li > a {
	font-weight: 400;
}

/* hover state of menu items */
#top #header .av-main-nav > li > a:hover .avia-menu-text, #top #header .av-main-nav > li > a:hover .avia-menu-subtext {
	color: #3280c8;
}

/* active state of menu items */
#avia-menu .current-menu-item .avia-menu-text {
	color: #3280c8 !important;
}

.avia-menu-fx {
	display: none;
}


.html_header_top #top .av_logo_right .logo {
	margin-right: 30px;
}

/* Menü Responsive anpassen */
.responsive .main_menu ul:first-child > li > a {
	padding: 0 9px;
}


.html_header_top.html_bottom_nav_header.html_logo_right .main_menu ul:first-child {
	padding-right: 95px;
}

#header_main .container, .main_menu ul:first-child > li a {
	line-height: 50px;
}

#menu-item-439 {
	padding-right: 24px;
}

/* Responsive Menu Schliessen Symbol */
.html_logo_right #advanced_menu_hide {
	right: 23px;
	left: auto;
}

/* Portfolio Raster Spalten/Thumbnails - 8 - anpassen */ 
#top .grid-entry.no_margin.av_one_sixth {
	width: 12.5%;
}

/* Responsive Display Socket */
 #socket .sub_menu_socket {
	display: block !important;
}

.responsive #socket .sub_menu_socket {
	float: right;
}

/* Responsive Container */
.responsive .container {
	max-width: 100%;
}

.responsive #top #wrap_all .container {
	/* max-width: 100%; */
	width: 100%;
}

/* Impressum - Socket anpassen */
#socket {
	font-size: 15px;
}

/* Unterstreichung Hyperlinks deaktivieren */
a:hover {
	text-decoration: none;
}

/* Anpassung Fixed Layout*/ 
html.html_av-framed-box .av-frame {
	height: 0px;
}

/* Header Bereich anpassen */
.container {
	max-width: 100%;
}


/* Abstand Menü zum Portfolio Raster */
#top #header_main_alternate {
	margin-bottom: 13px;
}

/* Portfolio Raster anpassen */
.image-overlay.overlay-type-extern .image-overlay-inside::before {
	display: none;
}

.html_header_top.html_header_sticky #main {
    padding-top: 220px !important;
}

/* Portfolio Box anpassen */
.portfolio_preview_container {
	box-shadow: none;
}

.portfolio-preview-title {
	display: none;
}

.avia-slideshow-inner {
	pointer-events: none;
}

a.avia_close {
	display: none;
}

/* Portfolio Box Bild zentrieren */
.ajax_slide .inner_slide {
	margin: 40px auto 6px;
	position: static;
	padding-left: 80px;
	padding-right: 80px;
	width: auto !important;
}

/* Portfolio 3 Thumbnails bei Mobile Ansicht */
@media only screen and (max-width: 480px) {
	.grid-entry {
  		width: 33.33%!important;
	}
}

@media only screen and (max-width: 768px) {
	.grid-entry {
  		width: 33.33%!important;
	}
}

/* bugfix for "jump" in avia slider */
div .portfolio-preview-image .avia-slideshow {
	/*height:230px;*/
	display: flex;
	/*align-items: center;*/
}


@media only screen and (min-width: 1184px) {
      div .portfolio-preview-image .avia-slideshow {
	height:396px;
	width: auto;
      }

      .ajax_slide h4 {
            opacity: 0;
            -webkit-transition: opacity .2s;
            transition: opacity .2s;
            -webkit-transition-delay: 1s;
            transition-delay: .2s;
      }

      .ajax_slide.open_slide h4 {
            opacity:1 !important;
      }
}

@media only screen and (max-width: 767px) {
.ajax_slide .inner_slide {
	padding-left: 5px;
	padding-right: 5px;
	}
}


/* Einzelbild Slideshow Zoom deaktivieren 
.avia-slideshow li img {
	width: auto;
}*/

/* Portfolio Text an Unterseite des Bildes ausrichten */
.portfolio-preview-content {
	padding: 63px 30px 0;
	position: absolute;
	bottom: 0;
}

/* Portfolio Text unter Bild bei Skalierung */
@media only screen and (max-width: 767px) {
	.responsive .ajax_slide .av_table_col {
		bottom: auto;
		position: relative;
		padding: 0 30px 30px;
	}
}


/* Portfolio Text unter Bild bei Skalierung 
.responsive .ajax_slide .inner_slide {
	display: table;
}*/

/* Pfeile Profil anpassen */
.ajax_next {
	right: 0;
}

.ajax_controlls {
	width: 100%;
	top: 40%;
}

/* Portfolio Pfeile anpassen 
[data-av_icon]::before {
	font-size: 100px;
}*/

.ajax_controlls a {
	position: absolute;
	font-size: 120px;
	width: 100px;
	background-color: transparent!important;
	border-color: transparent!important;
	color: #ffffff;
	overflow: visible;
}

.ajax_controlls a:hover {
	color: #ffffff !important;
}

@media only screen and (max-width: 767px) {
	.ajax_controlls a {
		font-size: 55px;
	}
	.ajax_next {
		text-align: right !important;
	}
	.ajax_previous {
		text-align: left !important;
	}
}

/* Portfolio Raute zwischen Bild und Text deaktivieren */
.avia-arrow {
	display: none;
}

/* footer #socket position normal ausrichten */	
footer#socket{
	margin-top:0px;
}