/*
 Theme Name:   Biomimicry Institute - Divi Child
 Theme URI:    http://www.elegantthemes.com
 Description:  Custom Child Theme of Divi
 Author:       Ethan Smith, Sam Taguchi
 Author URI:   http://ethanfsmith.com
 Template:     Divi
 Version:      1.0.0
 Tags:         
 Text Domain:  Divi-child-institute
*/

/*
For older themes, and themes that do not use wp_enqueue_style() to enqueue their stylesheet,
use the following line where twentyfourteen is the name of the directory where the theme resides:

Make sure you uncomment out this import line below if you want to include the parent CSS and the wp_enqueue_style() is not working.
If you do not then you will not have any styling in your child theme from the parent theme.
*/

@import url("../Divi/style.css");
@import url("fonts.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

body, input, textarea, select {
    font-family: 'Gibson', Helvetica, Arial, Lucida, sans-serif !important;
    font-size:19px !important;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    }
    
/* body {
    opacity: 0;
    -webkit-animation: fadeIn 2s; 
    -o-animation: fadeIn 2s; 
        -webkit-animation-delay: 2s;
        -moz-animation-delay: 2s;
        -o-animation-delay: 2s;
        animation-delay: 2s;
}

@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-o-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
*/
.nav {
    font-family: 'Gibson', 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Gibson', 'Lato', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 300;
}
h1 {
    font-size: 40px;
}

h2 {
    font-size: 30px;
}

p {
    line-height: 1.6em;
}

p a {
    font-weight: 400;
}

/* Ethan's experiments */

#et-secondary-menu .et-social-icons {
    float: right;
    margin-right: 0;
}
.example-title .et_pb_blurb_content h4 {
    font-size: 20px;
    font-weight: 700;
}

.example-title .et_pb_main_blurb_image {
    margin-bottom: 10px;
}
h1.archive-title span {
    font-size:20px;
    font-weight: 600;
}

.search h2 a {
    color: #677200;
}

.search h2 a:hover {
    color: #111;
    text-decoration: underline;
}

.et_pb_newsletter_form p input {
    font-weight:300;
}

.et_pb_column_1_4 .et_pb_audio_module_content h2, .et_pb_column_1_4 .et_pb_post h2, .et_pb_column_4_4 .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_3_4 .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_2_3 .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_1_2 .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_1_3 .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et_pb_column_1_4 .et_pb_portfolio_grid .et_pb_portfolio_item h2 {
    font-weight: 500;
    line-height: 1.2em;
}

/* Black Gradient Header */

.dark-grad-header:before {
    content:'.';
    display:block;
    top:0;bottom:0;left:0;right:0;
    position:absolute;
    width:100%;
    height:100%;
    background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.3) 93%, rgba(0,0,0,0.3) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(40%,rgba(0,0,0,0)), color-stop(93%,rgba(0,0,0,0.3)), color-stop(100%,rgba(0,0,0,0.3))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0.3) 93%,rgba(0,0,0,0.3) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0.3) 93%,rgba(0,0,0,0.3) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0.3) 93%,rgba(0,0,0,0.3) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 40%,rgba(0,0,0,0.3) 93%,rgba(0,0,0,0.3) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#4d000000',GradientType=0 ); /* IE6-9 */
}

.et_pb_section.black-grad-header:before, .et_pb_slider.black-grad-header .et_pb_slide:before {
    content:'.';
    top:0;bottom:0;left:0;right:0;
    position:absolute;
   background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0) 27%, rgba(0,0,0,0.7) 82%, rgba(0,0,0,0.7) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(27%,rgba(0,0,0,0)), color-stop(82%,rgba(0,0,0,0.7)), color-stop(100%,rgba(0,0,0,0.7))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 27%,rgba(0,0,0,0.7) 82%,rgba(0,0,0,0.7) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 27%,rgba(0,0,0,0.7) 82%,rgba(0,0,0,0.7) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 27%,rgba(0,0,0,0.7) 82%,rgba(0,0,0,0.7) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0) 27%,rgba(0,0,0,0.7) 82%,rgba(0,0,0,0.7) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#b3000000',GradientType=0 ); /* IE6-9 */
}

.et_pb_section.black-grad-header .et_pb_fullwidth_header, .et_pb_section.dark-grad-header .et_pb_fullwidth_header, .et_pb_slider.black-grad-header .et_pb_slide .et_pb_slide_description {
    padding-top:350px;
    padding-bottom: 40px;
}

.et_pb_slider.black-grad-header .et_pb_slide.et_pb_slide_with_video .et_pb_slide_description {
	padding-top: 210px;
}

.et_pb_slider.et_pb_slider_parallax.black-grad-header .et_pb_slide:before {
    bottom:478px;
}

.et_pb_section.no-parallax.white-grad-right:before, .et_pb_section_parallax.white-grad-right .et_parallax_bg:before{
    content:'.';
    top:0;bottom:0;left:0;right:0;
    position:absolute;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjclIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAiLz4KICAgIDxzdG9wIG9mZnNldD0iMzMlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuNyIvPgogICAgPHN0b3Agb2Zmc2V0PSI5NCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiLz4KICA8L2xpbmVhckdyYWRpZW50PgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZ3JhZC11Y2dnLWdlbmVyYXRlZCkiIC8+Cjwvc3ZnPg==);
background: -moz-linear-gradient(left,  rgba(255,255,255,0) 0%, rgba(255,255,255,0) 7%, rgba(255,255,255,0.7) 33%, rgba(255,255,255,1) 94%, rgba(255,255,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(7%,rgba(255,255,255,0)), color-stop(33%,rgba(255,255,255,0.7)), color-stop(94%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 7%,rgba(255,255,255,0.7) 33%,rgba(255,255,255,1) 94%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 7%,rgba(255,255,255,0.7) 33%,rgba(255,255,255,1) 94%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 7%,rgba(255,255,255,0.7) 33%,rgba(255,255,255,1) 94%,rgba(255,255,255,1) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(255,255,255,0) 0%,rgba(255,255,255,0) 7%,rgba(255,255,255,0.7) 33%,rgba(255,255,255,1) 94%,rgba(255,255,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-8 */

}

.et_pb_section.no-parallax.white-grad-left:before, .et_pb_section_parallax.white-grad-left .et_parallax_bg:before{
    content:'.';
    top:0;bottom:0;left:0;right:0;
    position:absolute;
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz4KICAgIDxzdG9wIG9mZnNldD0iMzklIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuOSIvPgogICAgPHN0b3Agb2Zmc2V0PSI2MCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMC43Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(left,  rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 39%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.9)), color-stop(39%,rgba(255,255,255,0.9)), color-stop(60%,rgba(255,255,255,0.7)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 39%,rgba(255,255,255,0.7) 60%,rgba(255,255,255,0) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 39%,rgba(255,255,255,0.7) 60%,rgba(255,255,255,0) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 39%,rgba(255,255,255,0.7) 60%,rgba(255,255,255,0) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 39%,rgba(255,255,255,0.7) 60%,rgba(255,255,255,0) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6ffffff', endColorstr='#00ffffff',GradientType=1 ); /* IE6-8 */

}

.et_pb_fullwidth_header p {
    font-size: 24px;
}

.et_pb_fullwidth_header h1, .et_pb_fullwidth_header h2, .et_pb_fullwidth_header h3, .et_pb_fullwidth_header h4, .et_pb_fullwidth_header h5, .et_pb_fullwidth_header h6  {
    line-height: 1.3em;
}

#page-container {
   /* -webkit-transition:.5s;
    transition:.5s;*/
    
}

#et-main-area {
    /* opacity:0; */
}

.et_pb_text a:hover {
    color: #111;
    text-decoration: underline;
}
/* -- staff styling */

.et_pb_team_member.staff {
    margin-bottom: 0;
}
.et_pb_toggle {
    border:none;
}
.et_pb_toggle_title {
    text-align:right;
}
.et_pb_toggle_close, .et_pb_toggle_open {
    background-color: transparent;
    padding: 0;
}
/* -- END staff styling */

/* -- WIDGET styling */

.atwidget {
    border: solid #f5f5f5;
    border-width: 1px 0;
    padding: 20px 0;
    margin-top:10px;
}

/* -- EVENTS styling */

.tribe-events-list-widget h4.entry-title a, .tribe-events-widget-link a {
    font-size:20px;
    font-weight: 600;
    color: #677200 !important;
}
.tribe-events-list-widget h4.entry-title a:hover, .tribe-events-widget-link a:hover {
    text-decoration: underline !important;
    color: #111 !important;
}
.tribe-events-list-widget .duration {
    font-weight:300;
}
.et_pb_column_2_3 .et_pb_widget_area_left .et_pb_widget.tribe-events-list-widget {
    width: 100%;
}

#tribe-events-bar {
    margin-bottom: 60px;
}

.tribe-events-list h2.tribe-events-page-title {
    font-size:48px;
    font-weight:300;
}

.tribe-events-list h2.tribe-events-list-event-title {
    font-size: 30px;
}

h2.tribe-events-single-event-title {
    font-size: 40px !important;
}

.tribe-events-event-meta address.tribe-events-address {
    clear: both;
    display: block;
    font-weight: 300;
}

.tribe-events-venue-details span.fn, .tribe-events-venue-details span.fn a {
    color: #444;
    font-weight: 300;
    font-size: 20px;
}

.tribe-events-list .tribe-events-event-cost span {
    font-weight: 400;
    border: none;
}

.tribe-events-back {
    margin: 40px 0 20px;
}

.tribe-events-before-html h2, .tribe-events-after-html h2, #tribe-events-pg-template .tribe-events-content h2 {
    font-size: 30px;
}

.tribe-events-before-html h3, .tribe-events-after-html h3, #tribe-events-pg-template .tribe-events-content h3 {
    font-size: 20px;
}

.single-tribe_events .tribe-events-event-meta {
    font-size: inherit;
}

#tribe-bar-form .tribe-bar-submit input { 
    -moz-border-radius: 3px; 
    -webkit-border-radius: 3px; 
    border-radius: 3px; 
    border-color: #afbc22;
    padding: 6px 20px !important; 
    line-height: 1.7em; 
    background: rgba( 255, 255, 255, .6 ) !important;  
    border: 2px solid !important; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    -moz-transition: all 0.2s; 
    -webkit-transition: all 0.2s; 
    transition: all 0.2s; 
    position: relative;
    color: #afbc22 !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px !important;
    display: block;
    float: left
    clear: none;
    cursor: pointer;
    }

#tribe-bar-form .tribe-bar-submit input:hover {
    background: #afbc22 !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    }

/* -- DONATE button styling */

.et_nav_text_color_dark #et-secondary-nav li.menu-item-2254 a {
    font-weight: 800;
    padding: 10px 15px 11px;
    background: #fff;
    color: #aebc22;
    -webkit-box-shadow: inset 0px 1px 5px 0px rgba(0,0,0,.1);
    -moz-box-shadow: inset 0px 1px 5px 0px rgba(0,0,0,.1);
    box-shadow: inset 0px 1px 5px 0px rgba(0,0,0,.1);
    text-transform: uppercase;
}

.et_nav_text_color_dark #et-secondary-nav li.menu-item-2254 a:hover {
    -webkit-box-shadow: inset 0px 1px 10px 0px rgba(0,0,0,.2);
    -moz-box-shadow: inset 0px 1px 10px 0px rgba(0,0,0,.2);
    box-shadow: inset 0px 1px 10px 0px rgba(0,0,0,.2);
    background: #aebc22;
    color: #fff !important;
}
/* -- custom module styling */

.et_pb_widget_area_left, .et_pb_widget_area_right {
    border:none;
}

.et_pb_promo.et_pb_bg_layout_dark p {
    font-weight: 500;
}

.et_pb_bg_layout_dark p, .et_pb_bg_layout_dark {
    font-weight: 400;
}

.et_pb_blurb.big_title h4 {
    font-size:30px;
    padding-bottom: 20px;
}

.et_pb_blurb_content h4 {
    font-weight:500;
}

.et_pb_column_1_2 .et_pb_promo.et_pb_bg_layout_light, .et_pb_column_1_3 .et_pb_promo.et_pb_bg_layout_light, .et_pb_column_1_4 .et_pb_promo.et_pb_bg_layout_light{
    /* padding: 20px 30px 30px; */
}

.et_pb_promo.no-description .et_pb_promo_description {
    padding: 0;
}

.et_pb_text_align_center.description-left p {
    text-align: left;
}

.et_pb_fullwidth_portfolio .et_pb_portfolio_image img, .et_pb_fullwidth_portfolio .et_pb_portfolio_image.landscape img {
    width:100%;
    height: auto !important;
    min-height: inherit;
}

.no-bottom-margin.et_pb_fullwidth_header {
    padding: 50px 0 0;
}

.no-v-padding .et_pb_promo_description {
    padding-bottom: 0;
}
.no-v-padding.et_pb_promo {
    margin-bottom: 10px;
}

/* call-to-action */
.et_pb_bg_layout_light .et_pb_promo_button{
    background: #fff;
    background: rgba(255,255,255,.5);
}
.et_pb_bg_layout_light.contrast-call .et_pb_promo_button{
    background: rgba(255,255,255,.8);

}

.et_pb_bg_layout_light .et_pb_promo_button:hover, .et_pb_section_parallax .et_pb_bg_layout_light .et_pb_promo_button:hover, .et_pb_bg_layout_light a.et_pb_more_button:hover, .et_pb_bg_layout_light .et_pb_newsletter_button:hover {
    /* background: rgba(255,255,255,.9) !important; */
        background: #aebc22;
    color: #fff !important;
}

.et_pb_bg_layout_dark .et_pb_promo_button{
    background: #444;
    background: rgba(0,0,0,.1);
}
.et_pb_bg_layout_dark.contrast-call .et_pb_promo_button{
    background: rgba(0,0,0,.3);
}

.et_pb_bg_layout_dark .et_pb_promo_button:hover {
    background: #333;
    background: rgba(0,0,0,.2);
}
    
/* -- END custom module styling */

/* -- submenu experiments */

.nav li ul, #main-header .et_mobile_menu {
    background: #C8D645 !important;
}

.nav li {
    position: initial;
}

.nav li ul {
    width: 100% !important;
    border-top: none !important;
    left: 0 !important;
    right: 0;
    padding: 0;
    position: fixed;
    text-align:center;
}

#top-menu li li a {
    color: #fff;
    width: inherit;
    padding: 45px 20px;
}

#top-menu li.current-menu-ancestor > a {
    background: #afbc22 !important;
}

.et_pb_row #top-menu li.current-menu-item > a, #et-top-navigation #top-menu li>ul>li.current-menu-item>a, .et_pb_row #top-menu li.current-page-ancestor>a {
    background: rgba(255,255,255,.8) !important;
    color: #afbc22 !important;
}

nav ul li a:hover, #et-top-navigation #top-menu>li>ul>li>a:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}
nav ul li a:hover {
    color: #fff !important;
}
#et-top-navigation #top-menu>li.et-hover>a {
    background: #C8D645;
}

/* -- END submenu experiments */

.caption {
    margin-top: 0.5em;
}

.caption p {
    font-size: 0.8em;
    line-height: 1.2em;
    color: #aaa;
}

#main-header {
    padding: 5px 0 0 0 !important; 
    min-height: 57px !important;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
} 
 /*
.home #main-header {
    box-shadow:none;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
    background:transparent !important;
    padding: 18px 0 0 0 !important;
}

.home #main-header.et-fixed-header {
     background: #f9f9f9 !important; 
    }
    
    */
.et_fixed_nav #logo, .et-fixed-header #logo {
    max-height: 50px;
    opacity: 0.8;
    }

#main-header.et-fixed-header nav#top-menu-nav {
    padding-top:10px;
}

#main-header.et-fixed-header #top-menu > li > a {
    padding-bottom: 10px;
}

.et_pb_fullwidth_menu #top-menu-nav > ul {
    padding: 0 !important;
}

.home .et_pb_bg_layout_dark h1 {
    /* color: rgba(255,255,255,.5) !important; */
    font-weight: 300;
    font-size: 48px;
    /* text-shadow: 1px 1px 5px rgba(0,0,0, .5); */
}

.et_pb_slider .et_pb_slide {
    box-shadow:none;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
}

.et_pb_slider.fullheight {
    top:0px;
}

.fullheight .et_pb_slide_description {
    padding: 0 !important;
}
    
.et_pb_slider.fullheight .et_pb_slides .et_pb_slide {
    padding-top:10%;
}
    
.height_500 .et_pb_slide {
    background-size:contain;
}
    
.height_500 .et_pb_container {
    min-height: 500px !important;
}

.et_pb_fullwidth_header {
    padding:100px 0;
}

.et_pb_bg_layout_dark.shadow {
    text-shadow: 0px 1px 5px rgba(0,0,0, .5);
}

.et_pb_bg_layout_light.shadow h1 {
    text-shadow: 0 0 8px rgba(255,255,255,1);
    color: #000000 !important;
}

.et_pb_team_member_description h4 {
    font-weight:500;
}
    
.bottom-margin {
    margin-bottom:50px;
}
/* .nav>li:last-of-type>ul.sub-menu {
    left:initial;right:0px;
    } */
    
.big-header h1 {
    font-size: 60px;
    font-weight: 100;
}  

#top-menu li a.light {
    color: rgba(255,255,255,.9);
}

#top-menu a, .et_pb_promo_button, a.et_pb_more_button, .et_pb_newsletter_button, .comment-reply-link, .et_mobile_menu li a, #top-menu li.current-menu-item > a{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
}

.et_mobile_menu li a {
    color: white;
}

.et_pb_pricing_table_button:after, .et_pb_promo_button:after, a.et_pb_more_button:after, .et_pb_newsletter_button:after, .comment-reply-link:after {
    font-size: 24px;
    top: 4px;
    color: #fff;
}

#top-menu li {
    padding-right: 0px;
}

#top-menu > li > a {
    padding: 15px 20px;
}
#et-top-navigation #top-menu > li > a {
   padding: 10px 14px; 
}

.bottom-nav a {
    color: #444;
}

.bottom-nav a:hover {
    color: #000;
}

.hover-80:hover {
    opacity:0.7;
    -webkit-transition:opacity .5s;
    transition:opacity .5s;
}

.bg-white-80 .et_pb_toggle_content {
    background: white;
    background: rgba(255,255,255,.8);
    width: 90%;
    padding: 20px 5%;
    margin-top:10px;
}

.no-bottom-padding {
    padding-bottom: 0;
    margin-bottom: 0;
}
.no-top-padding {
    padding-top: 0;
    margin-top: 0;
}

@media only screen and (min-width: 1400px) {
    .et_pb_slider, .et_pb_section.max-width {
        /*width:1400px;*/
	width: 100%;
        margin-left:auto;
        margin-right:auto;
border: 5px solid white;
border-width: 0;
-webkit-box-shadow: 0px 0px 40px 0px rgba(103, 114, 0, 1);
-moz-box-shadow:    0px 0px 40px 0px rgba(103, 114, 0, 1);
box-shadow:         0px 0px 40px 0px rgba(103, 114, 0, 1);
    }
    .et_pb_fullwidth_section{
        background-color: #ADBC22;
    }
}

@media only screen and (max-width: 980px) {
    #et-secondary-menu .et-social-icons {
        display: none;
    }   
}
    
@media only screen and (max-width: 900px) {
    .et_pb_slider.height_500 .et_pb_container {
        min-height: 400px !important;
        }
}

@media screen and (max-width: 782px) {
        
    .et_pb_slider.height_500 .et_pb_container {
        min-height: 300px !important;
        }
}

@media screen and (max-width: 767px) {
    #et-secondary-menu .et-social-icons {
    display: none;
}
    
    a.et_pb_more_button {
        display: block;
    }
    .et_pb_section.no-parallax.white-grad-right:before, .et_pb_section_parallax.white-grad-right .et_parallax_bg:before{
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjUiLz4KICAgIDxzdG9wIG9mZnNldD0iNTIlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuOSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuOSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.9) 52%, rgba(255,255,255,0.9) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.5)), color-stop(52%,rgba(255,255,255,0.9)), color-stop(100%,rgba(255,255,255,0.9))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.9) 52%,rgba(255,255,255,0.9) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.9) 52%,rgba(255,255,255,0.9) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.9) 52%,rgba(255,255,255,0.9) 100%); /* IE10+ */
        background: linear-gradient(to right,  rgba(255,255,255,0.5) 0%,rgba(255,255,255,0.9) 52%,rgba(255,255,255,0.9) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80ffffff', endColorstr='#e6ffffff',GradientType=1 ); /* IE6-8 */

    }

    .et_pb_section.no-parallax.white-grad-left:before, .et_pb_section_parallax.white-grad-left .et_parallax_bg:before{
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwLjkiLz4KICAgIDxzdG9wIG9mZnNldD0iNDglIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuOSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjAuNSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.9) 48%, rgba(255,255,255,0.5) 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0.9)), color-stop(48%,rgba(255,255,255,0.9)), color-stop(100%,rgba(255,255,255,0.5))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 48%,rgba(255,255,255,0.5) 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 48%,rgba(255,255,255,0.5) 100%); /* Opera 11.10+ */
        background: -ms-linear-gradient(left,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 48%,rgba(255,255,255,0.5) 100%); /* IE10+ */
        background: linear-gradient(to right,  rgba(255,255,255,0.9) 0%,rgba(255,255,255,0.9) 48%,rgba(255,255,255,0.5) 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6ffffff', endColorstr='#80ffffff',GradientType=1 ); /* IE6-8 */

    }
}
@media screen and (max-width: 479px) {
    a.et_pb_more_button {
        display: block !important;
    }
    .et_pb_section.black-grad-header .et_pb_fullwidth_header, .et_pb_section.dark-grad-header .et_pb_fullwidth_header, .et_pb_slider.black-grad-header .et_pb_slide .et_pb_slide_description {
        padding-top: 60px;
        background: rgba(0,0,0,0.4);
    }
    
    .et_pb_slide_description {
        padding: 20px;
    }
    .et_pb_section {
        padding: 20px 0;
    }
    .et_pb_fullwidth_section {
        padding: 0;
    }

    .et_fixed_nav #logo, .et-fixed-header #logo {
        max-height: 43px;
     }
    
}

@media only screen and (max-width: 980px) {
    
    .et_pb_slide_description h2, .et_pb_column_1_4 .et_pb_slider_fullwidth_off h2 {
        font-size: 30px !important;
        font-weight: 300 !important;
    }
    .page-id-1861 .et_pb_promo {
        text-align: left;
    }
    .et_pb_text_align_right {
        text-align: left;
    }
     .narrow_columns .et_pb_column_1_4 {
         width:50%;
         }
    .responsive_white_bg {
        background: white;
        background: rgba(255,255,255,.8);
        width: 90%;
        padding: 20px 5%;
    }
    .et_pb_fullwidth_menu #top-menu, .et_pb_fullwidth_menu #top-menu-nav { 
        display: block; 
    }
    .et_pb_fullwidth_menu #et_mobile_nav_menu {
        display: none; 
    }
    .et_pb_fullwidth_menu .et_pb_row {
        min-height: inherit;
    }
    .et_pb_fullwidth_menu #top-menu > li > a {
        padding: 5px 10px;
    }
}

@media only screen and (min-width: 961px) {

    #et_top_search {
        margin-top: 30px;
    }
    .et-fixed-header #et_search_icon:before {
        margin-top: 0;
    }
    .et-search-form {
        top: 28px;
    }
    #main-header nav#top-menu-nav, #main-header.et-fixed-header nav#top-menu-nav {
        padding-top: 15px;
    }

    
    /* .et-fixed-header #top-menu > li > a {
        padding-bottom: 14px;
    } */
    
    
    #et-top-navigation #top-menu>li.current-menu-ancestor>a, #et-top-navigation #top-menu>li.current-menu-item>a {
        background: #24a5e5;
        color: #fff !important;
    }
    
    #top-menu .menu-item-has-children > a:first-child:after, #et-secondary-nav .menu-item-has-children > a:first-child:after {
        content: '';
    }
    
    #top-menu .transition a:hover {
        color:#fff;
    }
    
    #top-header {
        z-index: 1000;
        
    }
    /* Header position fix to eliminate nudge on jquery load */
    .et_fixed_nav.et_secondary_nav_enabled #page-container {
        padding-top: 94px;
    }
    body.et_fixed_nav.et_secondary_nav_enabled #main-header { top: 33px; }
    body.admin-bar.et_fixed_nav.et_secondary_nav_enabled #main-header { top: 65px; }
    
    .admin-bar .nav li ul, .admin-bar #et-main-area {
        top: 125px;
    }
    .nav li ul, #et-main-area {
        top: 94px;
    }
}
/* .et-fixed-header .nav li ul {
    top: 48px;

}*/

/* Global Design Challenge microsite */

/* .page-id-1861 #et-top-navigation, .page-id-1861 #top-header{
    display: none;
} */

/* Mozilla font fixes*/
@-moz-document url-prefix() {
#top-menu a, .et_pb_promo_button, a.et_pb_more_button, .et_pb_newsletter_button, .comment-reply-link, .et_mobile_menu li a { 
font-size: 14px;
font-weight: 500;
letter-spacing: 0.02em;
opacity:0.99;
}
strong {
    font-weight: 500;
}
}

/* END Ethan's experiments */

