/*
 Theme Name:     Divi Child
 Description:    Divi Child Theme
 Author:         Web Design Davao
 Author URI:     https://webdesigndavao.xyz
 Template:       Divi
 Version:        4.0.6
*/
 
 
/* =Theme customization starts here ---- */

/* Font face */

@font-face{
	font-family: 'Bebas Bold';
	src: url('fonts/BebasNeueBold.otf');
	src: url('fonts/BebasNeueBold.ttf');
}

@font-face{
	font-family: 'Bebas Regular';
	src: url('fonts/BebasNeue-Regular.otf');
	src: url('fonts/BebasNeue-Regular.ttf');
}


@font-face{
	font-family: 'Gotham Bold';
	src: url('fonts/Gotham-Bold.otf');
}

@font-face{
	font-family: 'Gravity Book';
	src: url('fonts/Gravity-Book.otf');
	src: url('fonts/Gravity-Book.ttf');
	font-weight: 400;
}

@font-face{
	font-family: 'Gravity Bold';
	src: url('fonts/Gravity-Bold.otf');
	src: url('fonts/Gravity-Bold.ttf');
	font-weight: 700;
}

/****************/
h1, h2, h3, h4, h5, h6{
	font-family: 'Bebas Bold';
}
body{
	font-family: Gravity Book;
	font-weight: 400;
}
.et_pb_button
 {
    font-family: arial !important;
    font-size: 14px !important;
}
/**NEW Header CSS**/
nav#top-menu-nav .free-assistance {
    font-size: 15px !important;
    line-height: 1.7em;
	padding-top: 10px;
}
nav#top-menu-nav .free-assistance a{
    text-transform: unset !important;
    letter-spacing: 0;
}
nav#top-menu-nav .free-assistance span {
    display: block;
    font-size: 30px;
    font-family: 'Bebas Bold';
    position: relative;
    padding-left: 29px;
    color: #ed2e26;
}
nav#top-menu-nav .free-assistance span:before {
    position: absolute;
    content: "\e090";
    font-family: ETModules;
    left: 0;
    font-size: 25px;
    color: #000;
}
nav#top-menu-nav ul > li:nth-last-child(2) {
    padding-right: 100px
}
#top-menu li {
    vertical-align: middle;
    padding-top: 35px;
}

@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav>ul>li>a {padding-bottom: 20px;}
}
@media only screen and (min-width: 981px) {
	#et-top-navigation {
		padding: 15px 0 !important;
	}
	.et_header_style_left #et-top-navigation nav>ul>li>a {
		padding-bottom: 20px;
	}
}
/*End Header CSS*/
/**Header CSS**/
body:not(.home) header#main-header {
    background-color: #fff !important;
}


.mobile_menu_bar:before {
    color: #ee2d26 !important;
}
#main-header .et_mobile_menu {
	background-color: #fff !important;
	border-color: #ee2d26;
}
/**End Header CSS**/

/**Footer CSS**/
#footer-widgets .footer-widget > div {
    width: 100%;
}
#footer-widgets .footer-widget .widget_nav_menu {
    margin-bottom: 25px;
}
#footer-widgets .footer-widget h4.title {
    margin-bottom: 15px;
}
#main-footer .footer-widget table {
    width: 100%;
}
#footer-widgets .footer-widget li {
    padding-left: 0;
}
#footer-widgets .footer-widget li:before {
    display: none;
}
#footer-widgets .footer-widget li a {
	transition: all .3s ease;
}

/*Contact Menu*/
#footer-widgets .footer-widget ul#menu-contact-menu > li > a, ul#menu-contact-menu > li > a {
    position: relative;
    padding-left: 25px;
}
#footer-widgets .footer-widget ul#menu-contact-menu > li > a:hover{
	color: #f5f5f5;
}
ul#menu-contact-menu > li > a:hover{
	color:#333;
}
#footer-widgets .footer-widget ul#menu-contact-menu > li.fax a, ul#menu-contact-menu > li.fax a {
    pointer-events: none;
}
#footer-widgets .footer-widget ul#menu-contact-menu > li > a:before, ul#menu-contact-menu > li > a:before {
    position: absolute;
    left: 0;
    content: "\e081";
    font-family: "ETModules";
    color: #ed2e26;
}
#footer-widgets .footer-widget ul#menu-contact-menu > li.phone > a:before, ul#menu-contact-menu > li.phone > a:before {
    content: "\e090";
}
#footer-widgets .footer-widget ul#menu-contact-menu > li.fax > a:before, ul#menu-contact-menu > li.fax > a:before {
    content: "\e103";
}
/*Social Menu*/
#footer-widgets .footer-widget ul#menu-social-menu li,ul#menu-social-menu li {
     display: inline-block;
}
#footer-widgets .footer-widget ul#menu-social-menu li > a,ul#menu-social-menu li > a {
    position: relative;
    padding-right: 35px;
    color: #252525;
}
ul#menu-social-menu li > a{
	color:transparent;
}
#footer-widgets .footer-widget ul#menu-social-menu li > a:before, ul#menu-social-menu li > a:before {
    position: absolute;
    content: "\e09a";
    font-family: "ETModules";
    color: #ed2e26;
}
#footer-widgets .footer-widget ul#menu-social-menu > li.fb > a:before, ul#menu-social-menu > li.fb > a:before {
    content: "\e093";
}
#footer-widgets .footer-widget ul#menu-social-menu > li.yt > a:before, ul#menu-social-menu > li.yt > a:before {
    content: "\e0a3";
}
/*Footer Contact Form*/
#footer-widgets .footer-widget > #custom_html-3 {}
.footer-widget > #custom_html-3 .wpcf7 input,
.footer-widget > #custom_html-3 .wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    background-color: transparent;
    color: #989898;
    font-family: Gravity Book;
    font-size: 16px;
    border: 1px solid #989898;
    border-radius: 50px;
}
.footer-widget > #custom_html-3 .wpcf7 textarea {
    height: 80px;
    margin-bottom: 0;
    border-radius: 20px;
}
.footer-widget > #custom_html-3 .wpcf7 .wpcf7-submit {
    background-color: #ed2e26;
    border-color: #ed2e26;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 2px;
	cursor: pointer;
}
.footer-widget > #custom_html-3 .wpcf7 .wpcf7-validation-errors {
    display: none !important;
}
/*Footer Bottom*/
#footer-bottom #footer-info {
	font-size: 14px;
}
#footer-bottom a {
    font-weight: 400;
    font-size: 14px;
    color: #989898;
}
#footer-bottom a:hover {
	color: #f5f5f5;
	opacity: 1;
}
 #footer-bottom #et-footer-nav ul#menu-footer-bottom-menu li {
    padding-right: 0;
}
#footer-bottom #et-footer-nav ul#menu-footer-bottom-menu li:first-child :after {
     content: "|";
     padding: 0 10px;
     pointer-events: none;
}
#footer-bottom #et-footer-nav {
        background-color: transparent;
}
/**End Footer CSS**/

/**Contact Form 7 Validation**/
.footer-widget > #custom_html-3 form.wpcf7-form.invalid .wpcf7-not-valid,
#iscase-review-form form.wpcf7-form.invalid .wpcf7-not-valid {
    border-bottom: 2px solid red !important;
}
.footer-widget > #custom_html-3 span.wpcf7-not-valid-tip,
#iscase-review-form span.wpcf7-not-valid-tip {
    display: none;
}

/**Homepage CSS **/
#ishome-slider .et_pb_slide_description {
    float: left;
}
#ishome-slider .et_pb_slide_image {
    right: 0;
    margin-right: 0;
}

#isblurb-box .et_pb_blurb_content {
    box-shadow: 0 0 15px 1px rgba(0,0,0,.15);
}
#isblurb-box h2.et_pb_module_header {
    background-color: #ed2e26;
    color: #fff;
    padding: 25px 5px 20px
}
#isblurb-box .et_pb_blurb_description {
    padding: 25px 15px;
}
#isblurb-box.issame-height .et_pb_blurb_description {
    min-height: 255px;
	padding: 25px;
}

#iscase-review-form {
    padding: 20px 30px 30px;
}
#iscase-review-form .wpcf7 input[type=text],
#iscase-review-form .wpcf7 input[type=email],
#iscase-review-form .wpcf7 select,
#iscase-review-form .wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
}
#iscase-review-form .wpcf7 select {
	margin-bottom: 0;
}
#iscase-review-form .wpcf7 textarea {
	height: 100px;
}

#iscase-review-form .wpcf7 .wpcf7-submit {
    float: right;
    background-color: #ed2e26;
    border: 10px solid #ed2e26;
    border-radius: 50px;
    color: #fff;
    letter-spacing: 1px;
    font-size: 16px;
    cursor: pointer;
    line-height: 1.5em;
	margin-top: -10px;
}
#iscase-review-form .wpcf7 .wpcf7-validation-errors {
	display: none !important;
}
p.istitle {
    color:#ed2e26;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

#isquestions-toggle .et_pb_toggle_open {
    padding: 0;
}
#isquestions-toggle .et_pb_toggle_open .et_pb_toggle_title {
    background-color: #ed2e26;
    color: #fff;
    padding: 15px 20px
}
#isquestions-toggle .et_pb_toggle_open .et_pb_toggle_content {
    padding: 20px;
}

/**Types of Accidents**/
#istypes-accidents article.types_of_accidents:hover {
    border: transparent;
    border-top: 2px solid #ed2e26;
    box-shadow: 0 0 15px 1px rgba(0,0,0,.15);
}
#istypes-accidents article.types_of_accidents {
    border: 1px solid rgba(0,0,0,.2);
    padding: 35px 15px 35px;
    
    transition: all .4s ease-in-out;
}
/**End Types of Accidents**/

/**End Homepage**/

/**Single Types of Accidents**/
.single-types_of_accidents .et_post_meta_wrapper {
    display: none;
}

.single-types_of_accidents #main-content > .container {
    width: 100%;
    max-width: 100%;
    margin-top: -60px;
}

/*End Types of Accidents Single*/

/**@media CSS***/
@media only screen and (min-width: 981px) {
	
	/*Footer widget*/
	#footer-widgets .footer-widget {
		margin-bottom: 0;
	}
	/*Footer bottom*/
	#footer-bottom #footer-info {
        width: 50%;
        float: left;
    }
    #footer-bottom #et-footer-nav {
        background-color: transparent;
        width: 50%;
        float: left;
    }
    #footer-bottom #et-footer-nav .container {
        width: 100%;
    }
    #footer-bottom #et-footer-nav .bottom-nav {
        padding: 0;
        text-align: right;
    }
	/*Types of Accidents*/
	#istypes-accidents article.types_of_accidents {
        width: 22.75%;
        float: left;
        margin-right: 3%;
        min-height: 265px;
        padding-bottom: 20px;
    }
    #istypes-accidents article.types_of_accidents:nth-child(4n+4) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 980px) and (min-width: 767px) {
    #istypes-accidents article.types_of_accidents {
        width: 47.50%;
        float: left;
        margin-right: 5%;
        min-height: 200px;
    }
    #istypes-accidents article.types_of_accidents:nth-child(2n+2) {
        margin-right: 0;
    }
}