/*

 Theme Name:   David Johnson

 Description:  A child theme for Divi 2.x

 Author:       Red Rocket Web Specialists

 Author URI:   https://www.maxmegamenu.com

 Template:     Divi

 Version:      1.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

*/



/** Relatively position the logo **/

.et_header_style_left div.logo_container {

    position: relative;

    float: left;

    width: auto;

    height: auto;

    padding-top: 20px;

    padding-bottom: 20px;

}



/** On smaller screens, make sure the menu is on a new line below the logo */

#mega-menu-wrap-primary-menu {

    clear: both;

}



/** On wider screens, float the menu over to the right of the logo **/

@media only screen and (min-width: 980px) {

    #mega-menu-wrap-primary-menu {

        /*float: right;*/

        clear: none;

    }

}



/** Uncomment this if you want to hide the theme logo on mobile and use a mobile toggle block to display the logo instead **/

@media only screen and (max-width: 980px) {

    div.logo_container {

        /* display: none; */

    }

}



/** Uncomment this if you want to hide the theme logo completely **/

div.logo_container {

    /* display: none; */

}



/** Display secondary menu on mobiles **/

#top-header #et-secondary-nav,

#top-header #et-secondary-menu,

#top-header {

    display: inline-block !important;

}
form.wpcf7-form div {
    margin: 10px auto;
}

/*custom new css*/

.home .et_pb_column_2 {
  padding-right: 200px !important;
  padding-top: 40px !important;
}


/*Header CTA*/
.social_fields {
    width: 50% !important;
}
.container.et_menu_container {
    max-width: 1260px;
}
.call-to-action.special {
    float: right;
    background-color: #D37D26;
    color: #fff;
    height: 140px;
    margin-left: 1em;
}
.call-to-action.special p {
    font-size: 1.75rem;
    font-weight: 400;
    margin: .5em;
    text-align: center;
    width: auto;
    line-height: 2em;
}
.call-to-action.special a.phone {
    color: #fff;
    font-weight: 400;
}
/*header.et-l.et-l--header {
    position: fixed;
    width: 100%;
    z-index: 2;
}*/
@media screen and (min-width: 981px) and (max-width: 1200px) {
.container.et_menu_container {
    max-width: 1260px;
    width: 90%;
}
.call-to-action.special p {
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5em 0.5em;
    line-height: 3em;
}
}
@media screen and (max-width: 1150px) {
.home .et_pb_row_0.et_pb_row {
  padding-bottom: 0px !important;
}

.home .et_pb_column_2{
 padding-right: 18px !important;
}
.container.et_menu_container {
    width: 90%;
}
}
@media screen and (min-width: 768px) and (max-width: 980px) {
.call-to-action.special{height: auto;}
.call-to-action.special p{
	font-size: inherit;
    margin: 0.5em;
}
}
@media screen and (max-width: 768px) {
.home .et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular {
    display: none;
}
#main-header{height:230px !important;}
.call-to-action.special {
    float: left;
    height: auto;
    margin-left: 0;
    margin-top: 22px;
}
.call-to-action.special p {
    font-size: inherit;
}
span.no-collapsed {
    float: left;
    margin-right: 0.5em;
}
.social_fields {
    width: auto !important;
}
.et_pb_section_0_tb_header .et_pb_image_0_tb_header {
    padding-bottom: 15px;
}
}



@media screen and (max-width: 360px) {
.home .et_pb_slider .et_pb_slide {
        height: 200px !important;
    min-height: auto !important;
}
}

.tog-tit .et_pb_toggle_title{
	font-size: 16px!important;
}

