/*
 Theme Name:   Divi Child Theme
 Theme URI:    
 Description:  Divi Child Theme
 Author:       
 Author URI:   
 Template:     Divi
 Version:      1.0.0

*/

div#et-secondary-menu {
    float: none;
    text-align: center;
}

ul#et-secondary-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
}

div#page-container {
    padding-top: 164px !important;
	margin-top: 0 !important;
}

div#top-header {
    background-image: url("/wp-content/uploads/2019/07/header_background-1.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

div#top-header:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    content: "";
    background: -moz-linear-gradient(-45deg,rgba(85,127,204,0.72) 0%,rgba(255,255,255,0.79) 53%,rgba(255,255,255,0.9) 99%,rgba(255,255,255,0.9) 100%);
    background: -webkit-gradient(left top,right bottom,color-stop(0%,rgba(85,127,204,0.72)),color-stop(53%,rgba(255,255,255,0.79)),color-stop(99%,rgba(255,255,255,0.9)),color-stop(100%,rgba(255,255,255,0.9)));
    background: -o-linear-gradient(-45deg,rgba(85,127,204,0.72) 0%,rgba(255,255,255,0.79) 53%,rgba(255,255,255,0.9) 99%,rgba(255,255,255,0.9) 100%);
    background: -ms-linear-gradient(-45deg,rgba(85,127,204,0.72) 0%,rgba(255,255,255,0.79) 53%,rgba(255,255,255,0.9) 99%,rgba(255,255,255,0.9) 100%);
    background: linear-gradient(135deg,rgba(85,127,204,0.72) 0%,rgba(255,255,255,0.79) 53%,rgba(255,255,255,0.9) 99%,rgba(255,255,255,0.9) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#557fcc',endColorstr='#ffffff',GradientType=1);
}

.phone-number-link a {
    font-family: 'Source Sans Pro';
    font-size: 62px;
    color: #7f0400 !important;
    font-style: normal !important;
    font-weight: 600 !important;
}

.header-logo {
    max-width: 280px;
}

div#page-container {
    padding-top: 163px;
}

#main-header {
    display: none;
}

.first-section .et_pb_button {
    width: 90%;
}
.first-section .et_pb_button_5 {
    width: 70%
}

.contact-us-section .et_pb_button {
    width: 90%;
}
.contact-us-section .et_pb_button_5 {
    width: 70%
}

.first-section ul {
    list-style-image: url("/wp-content/uploads/2019/07/check-icon.png");
}
.first-section li {
    line-height: 1.7;
}

.footer-widget ul {
    list-style: none;
}
.footer-widget ul li {
    display: inline-block;
    padding-left: 0px;
    padding-right: 8px;
}
.footer-widget ul li i {
    background-color: #7f0400;
    font-size: 20px;
    border-radius: 25px;
}
.footer-widget .fa-facebook-f {
    padding: 10px 13px;
}
.footer-widget .fa-yelp {
    padding: 10px 12px;
}
.footer-widget .fa-yahoo {
    padding: 10px 12px;
}
.et-search-form, .et_mobile_menu, .footer-widget li:before {
    display: none;
}
footer div#footer-info {
    float: none;
    text-align: center;
}
.footer-widget ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}
.footer-widget li {
    -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
}
#footer-widgets {
    padding-top: 28px;
}
.et_pb_gutters3 .footer-widget {
    margin-bottom: 1.5%;
}

body.et_pb_gutters3.et_pb_footer_columns_1_4_1_2_1_4 .footer-widget:nth-child(2) {
    width:  100%;
    text-align: center;
    margin-right: 0;
}

div#custom_html-14 {
    width: 100%;
}
div#footer-bottom {
    background-color: #3d3d3d;
}
.footer-widget ul li img {
    max-width: unset;
}

.first-section .et_pb_button_1,
.first-section .et_pb_button_2,
.first-section .et_pb_button_3,
.first-section .et_pb_button_4 {
    border-bottom-color: #c89462 !important;
    border-bottom-width: 2px !important;
}
.first-section .et_pb_button_0,
.first-section .et_pb_button_5 {
    border-bottom-color: #565656 !important;
    border-bottom-width: 2px !important;
}

footer .footer-widget i:hover {
    background-color: #fff;
    color: #7f0400;
}

/*MEDIA QUERIES*/
@media screen and (max-width: 1024px) {
    .et_pb_column_1 {
        background-size: 100% 100% !important;
            padding: 50px 50px !important;
    }
}
@media screen and (max-width: 980px) {
    #page-container {
        padding-top: 32px !important;
    }
	
	.et_pb_row .et_pb_column.phone-col:last-child {
		max-width: 450px;
		margin-left: auto !important;
		margin-right: auto !important;
		clear: both;
		float: none;
	}
	
	.footer-widget:nth-child(n), #footer-widgets .footer-widget:nth-child(n) {
    width: 100% !important;
    margin: 0 !important;
}

#footer-widgets {
    padding-bottom: 0;
}
}

@media screen and (max-width:767px){
/*MOBILE DESIGN*/
ul.locked-list {
    list-style-type: none;
    padding-left: 0;
}

ul.locked-list li a {
    text-decoration: underline;
}

span.mobile_menu_bar:before {
    color: #fff;
    top: 13px !important;
}

.et_pb_fullwidth_menu .et_pb_row {
    min-height: 30px;
    position: relative;
}

div#page-container {
    padding-top: 0!important;
}
  
  .et_pb_fullwidth_menu .et_pb_row:before {
    content: "Menu";
    position: absolute;
    left: 0;
    color: #fff;
    text-transform: uppercase;
    top: 50%;
    margin-top: -10px;
}
  
  .et_pb_fullwidth_menu .et_mobile_menu {
    top: 56px;
}
}

@media screen and (max-width: 768px) {
    .footer-widget:nth-child(n){
        width: 100% !important;
    }
    br {
        display: none;
    }
}
@media screen and (max-width: 426px) {
    .et_pb_column_1 {
        background-size: 100% 100% !important;
            padding: 50px 32px !important;
    }
    .et_pb_column_1 h3 {
        font-size: 16px;
    }
    body #page-container .et_pb_section .et_pb_button {
        font-size: 16px !important;
    }
}

