/*
Theme Name:     WWII Institute
Description:    WWII Institute
Version:        1.26
Author:         Lawrence Zevon
Author URI:     http://www.zevonmedia.com/
Template:       enfold
License:        GPL v2
License URI:    http://www.gnu.org/licenses/gpl-2.0.html
*/

@import url("../enfold/style.css");

/* Customizations Here */

.special_amp { color: inherit!important; font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit !important; }

.page-id-24 h3.slide-entry-title.entry-title { color: #ffffff; }
.page-id-24 div.slide-entry-excerpt.entry-content { color: #ffffff; }
.page-id-24 div.slide-meta { color: #ffffff; }

.av_promobox .avia-button.avia-size-large { background: #b00502; }

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

@media only screen and (min-width: 780px) {
/*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(3) {
  /* Adjust the width of the logo */
    margin-right:175px;
}

#header .main_menu {
    /*background: gold;*/
    width: 100%;
    left: 46%;
    transform: translateX(-46%);
}

.av-main-nav-wrap {
    left: 46%;
    transform: translateX(-46%);
}

#header .logo {
    left: 46%;
    transform: translateX(-46%);
    z-index:999;
}

#header .logo img {    
    top: 46%;
    transform: translateY(-46%);
    max-width: 100px;  
}
}

@media only screen and (max-width: 1024px) {
  nav.main_menu {
    display: block !important;
  }
  #avia-menu .menu-item {
    display: none;
  }
  .av-burger-menu-main.menu-item-avia-special {
    display: block;
  }
}

sup, sub {
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}
sub { 
  top: 0.4em; 
}

/* Team Member popup */

.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}
.white-popup .team-social {
    border: 7px solid rgba(0, 0, 0, 0.1);
    position: absolute;
    font-size: 19px;
    background: #fff;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    border-radius: 3px;
}
.avia-team-member .team-member-description { display: none; }

#gform_1 label { color: #ffffff; }
#gform_1 legend { color: #ffffff; font-size: 14.72px; }
#gform_1 .gfield_required { color: #ffffff; }

input#gform_submit_button_1.gform_button.button { background: #b00502; font-size: 16px; text-transform: uppercase; }
input#gform_submit_button_1.gform_button.button:hover { background: #ececec; color: #333333; }
#gform_1 input:hover { border-color: #ececec !important; }
input#gform_submit_button_1.gform_button.button input { border-color: #b00502 !important; }

#top .av_header_glassy.av_header_transparency #header_main { background-color: rgba(0,0,0,0.5); }

.inset-img { margin-bottom: 10px !important; margin-left: 10px !important; }
.footer-logo { height: 150px; width:150px; }

span.post-meta-infos { display: none; }

#top .portfolio-preview-image .avia-gallery-thumb img { display: none; }
h3.av-masonry-entry-title.entry-title, h3.grid-entry-title.entry-title { font-weight: normal !important; font-family: Helvetica, Arial, sans-serif; }

#top .sort_by_cat {
    width: 100%;
    display: flex;
    justify-content: center;
}

#js_sort_items a {
    background-color: #003b62 !important;
    color: #ffffff !important;
	padding: 6px 22px;
	border-radius: 10px !important;
	font-size: 18px !important;
    margin-right: 24px !important;
	
}
#js_sort_items a:hover {
    background-color: #b00502 !important;
	color: #ffffff important;
}

#js_sort_items .text-sep { display: none; }