/*
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:*/

#advanced_menu_toggle, #advanced_menu_hide, .av-burger-menu-main {display:block;}

 /*------------------------*/
/* CSS - Logo center split menu
/*------------------------*/

@media only screen and (min-width: 989px) {
/*In the below code nth-child(x) the value of x should be half the number of total menu items*/
#top #header .av-main-nav li:nth-child(2) {
  /* Adjust the width of the logo */
    margin-right:230px;
}
#header .main_menu {
    /*background: gold;*/
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
	margin-left:40px;
}

.av-main-nav-wrap {
    left: 50%;
    transform: translateX(-50%);
}
#header .logo {
    left: 50% !important;
    transform: translateX(-50%)!important;
    z-index:999;
}

#header .logo img {    
    top: 50%;
    transform: translateY(-50%);
    max-width: 170px;  
}
}
@media only screen and (max-width: 989px) {
#top #header .av-main-nav li:nth-child(2) {
  /* Adjust the width of the logo */
    margin-right:230px;
}


#header .logo {
    left: 50% !important;
    transform: translateX(-50%)!important;
    z-index:999 !important;
	position: absolute !important;
	display: block !important;
	width:160px !important;
}
	#header .logo a {display:block!important;}
#header .logo img {    
    top: 50%;
    transform: translateY(-50%);
    max-width: 160px;  
}
}