/*
Theme Name: Basis 4
Description: Child theme for the Divi theme
Author: 
Template:Divi
Version: 2.6
*/

/*--------------------------------------------[Menu Area]---------------------------------------*/

 
/* style the get started cta button in the Contact Link in the Menu */
    .menu-button {border-radius: 5px; height:30px;}
    .menu-button a {color: #fff!important;}
    li.menu-button{
        color:#fff!important;
        background-color:#93827B; 
        font-weight: 700; 
        text-transform: uppercase; 
        text-align: center; 
        padding: 10px 20px 25px 20px !important;
        -moz-transition: all 0.5s; 
        -webkit-transition: all 0.5s;
        transition: all 0.5s;}

    li.menu-button:hover {background-color: #555354; }

#top-menu > li.menu-button a { color: #ffffff !important;}
  
/* ADD THIS ONLY IF YOUR CTA BUTTON HAS A DROP DOWN MENU */
 
/* style the get started cta button drop down menu */
    li.menu-button li a {
        color: #666!important;
        width: 160px;
        text-transform: none;
        font-weight: normal;
        background-color:#fff;}
 
/* mobile menu adjustments for contact link */

  .et_mobile_menu li a {padding: 10px 5%; line-height: normal;}
  .et_mobile_menu li.contact-link {background-color: #93827B; padding-left: 0px; line-height: 1.7em; text-align: left;}
  .et_mobile_menu li.contact-link a{color: #fff!important; font-weight: 900; padding-top: 0px;} 


/* Adjustments to the Drop Down Menu  */
.nav li ul {position: absolute; top: 32px;left: -27px; padding: 10px;}
#top-menu li li a { padding: 10px 20px; width: 160px; border-top: #ddd solid 1px;}

/* --------------------------[Tablet Hamburger Menu]----------------------------*/

@media only screen and (max-width: 1024px) and (min-width: 981px) {
#et_mobile_nav_menu {
display: block !important;
}
#top-menu {
display: none !important;
}
}

@media only screen and (max-width: 1024px) and (min-width: 981px) and (orientation:landscape) {
#et_mobile_nav_menu {display: block !important;}
#top-menu {display: none !important;}

.et_mobile_menu {
    position: absolute;
    left: 50%!important;
    padding: 5%;
    background: #FFF none repeat scroll 0% 0%;
    width: 50%;
    visibility: visible;
    opacity: 1;
    display: none;
    z-index: 9999;
    border-top: 3px solid #cccccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
}

.et_mobile_menu {
    position: absolute;
   left: 50%;
    padding: 5%;
    background: #FFF none repeat scroll 0% 0%;
    width: 50%;
    visibility: visible;
    opacity: 1;
    display: none;
    z-index: 9999;
    border-top: 3px solid #cccccc;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}


/* --------------------------[End Tablet Hamburger Menu]----------------------------*/



.subscribe-section .et_pb_newsletter_description{
                display:none;
}
.subscribe-section .et_pb_newsletter_form{
                width:100%;
                float:none;
                padding-left:0;
}

.subscribe-section .et_pb_newsletter_form p{
                width:31%;
                float:left;
                margin-right:15px;
                padding-bottom:0;
                line-height:1;
}

.subscribe-section .et_pb_newsletter_form p.et_pb_newsletter_field input[type="text"]{
                padding: 10px 4% !important;
}
.subscribe-section.et_pb_newsletter_form p input{
                padding:10px 4%!important;
}
.subscribe-section.et_pb_newsletter_form p .et_pb_button{
                padding:12px 4%!important;
                line-height:1em!important;
}

.subscribe-section.et_pb_newsletter_form input[type="text"], .et_pb_newsletter_form p.et_pb_newsletter_field input[type="text"]{margin-bottom: 10px !important;}


@media only screen and (max-width: 768px){
                
                .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > p:first-of-type,  .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > p:nth-of-type(2){
                                flex-basis: 31% !important;
                                margin-right: 0 !important;
                }              
                .subscribe-section .et_pb_contact_field_options_wrapper{
                                display: flex;
                                align-items: center;
                }
                .subscribe-section .et_pb_contact_field_options_wrapper .et_pb_contact_field_options_title{
                                margin-right: 10px;
                                margin-bottom: 0;
                }              
}
@media only screen and (min-width: 981px){
                .subscribe-section.et_pb_newsletter .et_pb_newsletter_fields > * {flex-basis: 30% !important;
} 
}

/* Center Columns Vertically */
.sf-vertical-align { 
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: center !important;
	   -webkit-display: flex !important;
	   -webkit-flex-direction: column !important;
	   -webkit-justify-content: center !important;
	   -moz-display: flex !important;
	   -moz-flex-direction: column !important;
	   -moz-justify-content: center !important;
} 

/* Single Posts */

.form-allowed-tags{display:none;}

/* Footer Area */
#footer-widgets {padding-top: 40px;}

