/*

Theme Name: Divi Child

Theme URI: https://diviextended.com/

Version: 1.0

Description: Child Theme of Divi

Author: Divi Extended

Template: Divi

*/

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

/*=============================
  Typography 
 =============================*/
p {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    line-height: 1.4;
}

body .header p {
	font-family: 'Lato',Helvetica,Arial,Lucida,sans-serif;
    font-size: 24px;
    line-height: 1.4;
	color: #fff;
}

h1 {
	font-size: 62px;
	line-height: 1;
	font-family: kepler-3-variable, sans-serif;
	font-style: normal;
    font-variation-settings: "opsz" 5,"wdth" 80,"wght" 320;
	letter-spacing: -1px;
}

h2 {
	font-size: 46px;
	line-height: 1;
	margin-bottom: 10px;
	font-family: kepler-3-variable, sans-serif;
	font-style: normal;
    font-variation-settings: "opsz" 5,"wdth" 80,"wght" 320;
	letter-spacing: -1px;
	color: #4169E1;
}

h3 {
	font-size: 32px;
	line-height: 1;
	margin-bottom: 10px;
	font-family: kepler-3-variable, sans-serif;
	font-style: normal;
    font-variation-settings: "opsz" 5,"wdth" 80,"wght" 320;
	letter-spacing: -1px;
}

/*=============================
  Primary Navigation
 =============================*/
li.primary-contact-btn {
    float: left;
    width: 100%;
    clear: both;
    text-align: right;
    padding-bottom: 20px;
}

#top-menu li.primary-contact-btn {
    padding-right: 0;
}

li.primary-contact-btn a {
    background: #4169E1;
    padding: 12px 40px !important;
    max-width: 200px;
    float: right;
    border-radius: 50px;
    color: #fff !important;
}

#top-menu-nav>ul>li:not(.primary-contact-btn)>a:hover,
.et-fixed-header #top-menu-nav>ul>li:not(.primary-contact-btn)>a:hover {
    opacity: 1;
    color: #7FB538 !important;
}

#top-menu-nav>ul>li.primary-contact-btn>a:hover {
    opacity: 0.85;
}

#top-menu {
    text-align: right;
}


@media only screen and (min-width: 981px) {
    
    .et_header_style_left #et-top-navigation, .et_header_style_split #et-top-navigation {
        padding: 40px 0 0 0 !important;
    }
    
    .et_header_style_left #et-top-navigation nav>ul>li:not(.primary-contact-btn)>a, .et_header_style_split #et-top-navigation nav>ul>li:not(.primary-contact-btn)>a {
        padding-bottom: 40px;
    }
    
    .et-fixed-header #top-menu li.primary-contact-btn a {
        color: #fff !important;
    }
    
    .et_header_style_left .et-fixed-header #et-top-navigation {
        padding-top: 20px !important;
        transition: all .2s ease-in-out;
    }
    
    .et_header_style_left .et-fixed-header #et-top-navigation nav>ul>li:not(.primary-contact-btn)>a, .et_header_style_split .et-fixed-header #et-top-navigation nav>ul>li:not(.primary-contact-btn)>a {
        padding-bottom: 20px;
    }
    
    .et-fixed-header #top-menu li.current-menu-item.primary-contact-btn>a, .et-fixed-header #top-menu li.current_page_item.primary-contact-btn>a {
        color: #fff !important;
    }
    
}
/*=============================
  Layout 
 =============================*/

/*=====Full width header=====*/
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content {
    text-align: left;
    float: right;
}

.et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content-container.center {
	align-self: flex-start;
}

/*=====Footer Adjustments=====*/
.footer-widget p {
	font-size: 16px;
}

.footer-widget .copyright p {
    text-align: right;
    font-size: 14px;
}

div#block-7 {
    margin-bottom: 20px;
}

#footer-widgets {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding-top: 1%;
}

#footer-widgets .footer-widget:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-end;
}

.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(1) {
    width: 29.667%;
    align-self: flex-end;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(2) {
    width: 19.667%;
}
.et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(3) {
    width: 39.667%;
}



#footer-widgets .copyright img {
    margin-top: -30px;
    z-index: 10;
    position: relative;
    margin-bottom: 16px;
    border: 1px solid #333;
}

@media (min-width: 981px) {
    
    .et_pb_gutters3 .footer-widget {
        margin-right: 5.5%;
        margin-bottom: 4%;
    }

}

/*=============================
  Gravity Forms
 =============================*/

.gform_wrapper input, .gform_wrapper textarea {
    background: #f4f4f4;
    border: 2px solid #f4f4f4;
    padding: 18px !important;
    font-size: 17px !important;
    transition: all .2s ease-in-out;
}

.gform_footer input[type=submit] {
    background: #8BC53F;
    color: #fff;
    width: 120px;
    border: 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 15px !important;
}

.gform_footer input[type=submit]:hover {
    background: #F47721;
    cursor: pointer;
}

.gform_wrapper input:not([type=submit]):focus,
.gform_wrapper textarea:focus {
    border: 2px solid #4169E1;
}

/*=============================
  Media Queries
 =============================*/

/*---- Primary Navigation ----*/

@media only screen and (max-width: 980px) {
    
    li#menu-item-36 {
        clear: both;
    }
    
    li.primary-contact-btn a {
        float: left;
    }
    
/*---- Typography ----*/
    
    .et_pb_column {
        margin-bottom: 0;
    }
    
/*---- Footer ----*/
    
    #footer-widgets {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 8%;
        max-width: 400px;
        margin: 0 auto;
    }
    .et_pb_gutters3.et_pb_footer_columns3 .footer-widget:nth-child(1) {
        align-self: flex-start;
    }
    .footer-widget:nth-child(n) {
        width: 100% !important;
        margin: 0 7.5% 7.5% 0 !important;
    }
        #footer-widgets .footer-widget .fwidget {
        margin-bottom: 20px;
    }
    
    #footer-widgets .copyright img {
        margin-top: 60px;
    }
    
    .footer-widget .copyright p {
        text-align: left;
    }
    
}