/*======================================
Theme Name: AWFS Fair
Theme URI: https://divicake.com/
Description: Theme for awfsfair.org
Version: 1.0
Author: Divi Cake
Author URI: https://divicake.com/
Template: Divi
======================================*/


/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

#top-header {
    background: none !important;
}
#et-secondary-menu form {
    float: right;
    margin-top: -4px;
}
#top-header {
    position: relative;
}
.et_mobile_nav_menu {
    width: 100%;
}
.nav li li a {
    font-size: 18px !important;
    line-height: 22px;
}
body .full-width-menu #top-menu ul#menu-main-menu-1 > li {
    padding-left: 0px;
    padding-right: 30px;
}

.et_pb_text_1_tb_body {
    text-transform: none !important;
}
#top-menu .et_mobile_menu li {
    display: block;
}
.secondary-sidebar .sidebar_menu li a,
.et_pb_text_1_tb_body,
.et_pb_text_4_tb_footer {
    font-family: 'Myriad Pro', Arial, Helvetica, sans-serif !important;
}


/* SHOW INFO SECTION */
.parent-pageid-8163 #breadcrumbs > div > span:first-of-type,
.parent-pageid-8163 .et_pb_post_title .et_pb_title_container h1.entry-title {
    color: #05676a !important;
}

/* EXHIBIT SECTION */
.parent-pageid-100 #breadcrumbs > div > span:first-of-type,
.parent-pageid-100 .et_pb_post_title .et_pb_title_container h1.entry-title {
    color: #cf8338 !important;
}

/* EDUCATION SECTION */
.parent-pageid-8851 #breadcrumbs > div > span:first-of-type,
.parent-pageid-8851 .et_pb_post_title .et_pb_title_container h1.entry-title {
    color: #45bb7a !important;
}

/* PRESS SECTION */
.parent-pageid-120 #breadcrumbs > div > span:first-of-type,
.parent-pageid-120 .et_pb_post_title .et_pb_title_container h1.entry-title {
    color: #696969 !important;
}

/* HOTEL & TRAVEL SECTION */
.parent-pageid-8852 #breadcrumbs > div > span:first-of-type,
.parent-pageid-8852 .et_pb_post_title .et_pb_title_container h1.entry-title {
    color: #bb4a93 !important;
}

/* SUMMER READING LIST */
.personnel-row .et_pb_column_1_2 .et_pb_team_member_image {
    margin-right: 20px;
}
.personnel-row .et_pb_team_member {
    display: flex;
}
.personnel-row .et_pb_team_member_description p {
    font-size: 16px;
    line-height: 24px;
}
.personnel-row .et_pb_team_member_description a {
    color: #666;
}
.personnel-row .et_pb_team_member_description a:hover {
    text-decoration: underline;
}
.personnel-row h4.et_pb_module_header {
    font-size: 25px;
    text-transform: uppercase;
    color: #45bb7a;
    font-weight: 400;
}
.et_pb_team_member_description {
    width: 100%;
}

#breadcrumbs {
    font-size: 17px;
}
#breadcrumbs a {
    color: #6eb0f4;
}
#page_title {
    text-transform: uppercase;
}
#main-header {
    top: -40px;
}
.secondary-sidebar > div {
    padding: 0;
}
.sidebar_menu {
    border: none !important;
}
.sidebar_menu h4 {
    padding: 30px 25px 18px;
    text-transform: uppercase;
    color: #515151;
    font-size: 21px;
    font-weight: 400;
}
.sidebar_menu li {
    padding: 0 25px;
}
.sidebar_ad_container {
    text-align: center;
}
.secondary-sidebar .sidebar_menu li a {
    color: #1d5086;
    display: block;
    font-family: 'Myriad Pro',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 400;
    font-size: 16px;
}
.secondary-sidebar .sidebar_menu li.current_page_item {
    background-color: #fff;
    border: 0.5px solid #cf8338;
    padding: 5px 25px;
}
.secondary-sidebar .sidebar_menu li.current_page_item a {
    font-weight: 500;
}
.home footer.et-l.et-l--footer {
    z-index: 0;
}
.et_pb_tabs .et_pb_tab_content ul li {
    margin-bottom: 10px;   
}
.et_pb_tab_content {
    position: relative;
    padding-top: 10px;
}
footer ul {
    list-style: none !important;
    margin: 0;
    padding: 0 !important;
}
footer ul li {
    line-height: 37px;
}
footer ul li a {
    font-size: 28px;
    color: #fff !important;
    font-family: 'Myriad Pro',Helvetica,Arial,Lucida,sans-serif;
    font-weight: 100;
}
footer ul li a:hover {
    color: #4ea7ff !important;
}
footer.et-l.et-l--footer {
    margin-top: -50px;
    z-index: 1;
    position: relative;
}

.et_pb_section_0_tb_footer.et_pb_section { background-color:#014559 !important;}
.color-bar h2 {
    font-size: 25px !important;
}
.centered-text {
display: table;
height: 100%;
}

.centered-text .et_pb_text_inner {
display: table-cell;
vertical-align: middle;
}

.disable-lightbox a {
pointer-events: none;
}
 
.disable-lightbox .et_overlay {
    display: none !important;
}
.gform_wrapper #gform_1 .gform_footer {
    padding-top: 0;
}
#gform_submit_button_1 {
    border: none;
    background: #727272;
    color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    font-size: 16px;
    margin: 0 auto;
    display: block;
}
.gform_wrapper ul.gform_fields li#field_1_1 {
    padding-right: 0;
}
#input_1_1::placeholder {                
    /* Firefox, Chrome, Opera */ 
    text-align: center; 
}
.disable-lightbox a {
pointer-events: none;
}
 
.disable-lightbox .et_overlay {
display: none !important;
}
.column_text.two_column {
    column-count: 2;
}
.column_text h3 {
    column-span: all;
    text-align: center;
    margin-bottom: 10px;
}
.et_pb_blog_0 article {
    border-bottom: 1px solid #b38f43;
    padding-bottom: 46px;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content {
    position: relative;
    width: 100%;
    max-width: 100%;
    line-height: 0; 
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content .et_pb_main_blurb_image {
    margin-bottom: 0; 
    opacity: 0.6;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: #232323;
    padding: 15px 17px; 
    cursor: pointer;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content * {
        transition: all 0.2s;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb:hover .et_pb_blurb_content .et_pb_main_blurb_image {
    opacity: 1;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb:hover .et_pb_blurb_content .et_pb_main_blurb_image img {
    transform: rotate(4deg) scale(1.1);
    transition: all 1s;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content .et_pb_main_blurb_image img {
    transition: all 1s;
}
.et_pb_blurb_content .et_pb_image_wrap {
    overflow: hidden;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb:hover .et_pb_blurb_content .et_pb_blurb_container {
    background: #2f4b68;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb:hover .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
    color: #73b8ff;
}
.et_pb_row.ai-text-overlay .et_pb_column .et_pb_module.et_pb_blurb .et_pb_blurb_content .et_pb_blurb_container .et_pb_module_header {
    font-size: 26px;
    color: white;
    padding-bottom: 0; 
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#et-secondary-menu [class*="fab fa-"],
#footer-social-media [class*="fab fa-"] {
    background-color: #cf8338;
    border-radius: 30px;
    color: #014559;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin: auto 3px;
    width: 40px;
    font-size: 21px;
    text-align: center;
    margin-right: 10px;
    cursor: pointer;
}
#et-secondary-menu [class*="fab fa-"] {
    height: 30px;
    line-height: 30px;
    width: 30px;
    font-size: 17px;
    margin-right: 0px;  
    color: #fff;
    background-color: #afafaf;
}
#et-secondary-menu input[name="s"] {
    font-size: 17px;
    padding: 7px;
    font-family: 'Myriad Pro', Arial, Helvetica, sans-serif;
    font-weight: 300;
    width: 210px;
    border: 1px solid #cdcdcd;
}
#et-secondary-menu button[type="submit"] {
    border: none;
    background: none;
    color: #b8b8b8;
    cursor: pointer;
}
#et-secondary-menu button[type="submit"]:hover {
    color: #014559;
}
#et-secondary-nav, #et-secondary-nav li {
    margin-right: 11px;
}
#et-secondary-nav li {
    margin-right: 0px;
}
#et-secondary-menu>ul>li a {
    padding-bottom: 0;
}
#top-menu {
    float: right;
}
body #top-menu li {
    padding-right: 130px !important;
}
body #top-menu li:last-child {
    padding-right: 0px !important;
}
.register-button a {
	background: #cf8338;
    color: #fff !important;
    padding: 20px 40px !important;
}
.et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
    padding-bottom: 20px !important;
}
.et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li.register-button {
    margin-top: -12px;
    padding-right: 0 !important;
}
‪#tablet-top‬-menu .menu-item-has-children > a:first-child, 
#top‬-menu .menu-item-has-children > a:first-child {
    padding-right: 0px; padding-bottom: 17px!important;
}
#tablet-top-menu .menu-item-has-children > a:first-child:after,
#top-menu .menu-item-has-children > a:first-child:after {
    content: ''; margin-top: -2px;
}
#et-secondary-nav .menu-item-has-children>a:first-child, 
#tablet-top-menu .menu-item-has-children>a:first-child,
#top-menu .menu-item-has-children>a:first-child { 
    padding-right: 0px; 
}
#tablet-nav-container {
    display: none;
}
#tablet-nav-container #menu-main-menu {
    margin-bottom: 20px;
}
#top-menu .sub-menu li a {
    text-transform: capitalize;
    width: 250px;
    font-weight: 300;
    font-size: 22px;
}
.nav li ul.sub-menu {
    width: 290px;
}
#mobile_menu4 > li >  a {
    background: #fff;
}
#footer_logo {
    margin-bottom: 0 !important;
}


.et_pb_gallery_image.landscape {
    vertical-align: middle;
    display: table-cell;
}

@media only screen and (max-width: 1483px) {
    body #top-menu li {
        padding-right: 70px !important;
    }
}
@media only screen and (min-width: 411px) and (orientation: portrait) {
    
}
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
      #mobile_menu4 {
          width: 88vw;
      }
      body #top-menu li.second-level > a:before {
        content: '- ';
      }
      body #top-menu li.third-level a {
        padding-left: 30px;
      }
      body #top-menu li.first-level,
      body #top-menu li.register-button {
        padding-right: 0;
        width: 87vw;
          background: #e6e6e6;
      }
      body #top-menu li.first-level a,
      body #top-menu li.register-button a {
          font-size: 20px;
      }
      body #top-menu li.register-button {
          background: #464646;
      }
      body #top-menu li.register-button a {
          padding: 10px 5% !important;
      }
      body #top-menu li.register-button a:after {
          content: '';
      }
      #top-menu li .menu-item-has-children>a:first-child {
          padding-right: 0;
      }
      #top-menu li li {
          padding: 0;
      }
      #top-menu li li li li a {
          padding-left: 30px;
      }
      #top-menu .sub-menu li a {
          font-size: 17px;
          width: 100%;
      }
      #mobile_menu4 > li > a {
          background: none;
      }
      #top-menu li a {
          font-size: 19px;
      }
      #desktop-nav-container .et_pb_column_1_tb_header {
          margin-bottom: 0;
      }
      body .et_pb_row_1_tb_header.et_pb_row {
          padding-bottom: 0 !important;
      }
      .et_pb_row_0_tb_body {
          padding-top: 0;
      }
      #top-menu {
          display: block;
          float: left;
          background: none;
          position: absolute;
          top: -110px;
      }
      body .et_pb_gallery_0.et_pb_gallery .et_pb_gallery_item {
          width: 46% !important;
          margin-right: 4%;
      }
      .et_pb_post_title .et_pb_title_container h1.entry-title {
        font-size: 30px;
        padding-bottom: 0px;          
      }
      .et_pb_post_title .et_pb_title_container h1.entry-title,
      .et_pb_text_1_tb_body {
        text-align: center;
      }
      .et_pb_blog_grid h2, .et_pb_post h2 {
          font-size: 25px;
          line-height: 33px;
          margin-bottom: 5px;
      }
}
/* Tablet Portrait */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) {
      #desktop-nav-container {
          display: block !important;          
      }
      #top-menu {
          display: block;
          float: left;
      }
      .et_mobile_nav_menu > a {
          width: 100% !important;
          text-align: center;
      }
      #top-menu li a {
          font-size: 16px !important;
      }
      #top-menu .sub-menu li a {
          width: 100% !important;
      }
      body #top-menu > li {
          padding-right: 0 !important;
          display: block !important;
      }
      #mobile_menu4>li.register-button a {
        background: #797979 !important;
      }
      body .register-button a {
        padding: 10px 40px!important;
      }
      #top-menu .et_mobile_menu {
        width: 84vw !important;
        margin-left: -20px !important;
      }
      #et-secondary-nav .menu-item-has-children>a:first-child, #tablet-top-menu .menu-item-has-children>a:first-child, #top-menu .menu-item-has-children>a:first-child {
            padding-right: 0px !important;
      }
      .mobile_menu_bar:after {
        content: 'MENU';
        font-size: 20px;
        top: -7px;
        position: relative;
      }
}
/* Tablet Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1) {
      #desktop-nav-container {
          display: none;
      }
      #tablet-nav-container {
          display: block;
      }
}
@media only screen and (max-width: 980px) {
    .color-bar .et_pb_column {
        padding-right: 30px;
        padding-left: 30px;
    }
    .color-bar.et_pb_row.et_pb_equal_columns {
        margin: 20px auto !important;
    }
    .color-bar .et_pb_module.et_pb_image {
        margin: 17px auto 17px !important;
        width: 100%;
    }
}
@media only screen and (min-width: 981px) {
    .widget_nav_menu {
        margin-bottom: 5.187% !important;
    }
}
@media only screen and (max-width: 768px)
{
body #top-menu li {
    padding-right: 10px !important;
	width: 1500px !important;
}
	.et-menu li>a { word-wrap: nowrap; }
}