/*
 Theme Name:     Divi Child Theme
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3em;
}
.btn-default{
    background: #d1ccbf;
    padding: 10px 25px;
    border-radius: 5px;
    color: #808080;
}

#left-area{
	padding-bottom: 0px;
}

#et-secondary-nav li ul, #top-header {
    background-color: #000080;
}

#et-info {
    float: right;
    text-align: right;
}

#top-menu li{
	padding-right: 62px;
}

.et_pb_gutters3.et_pb_footer_columns4 .footer-widget .fwidget {
    margin-bottom: 5%;
}


.sub-menu .current-menu-item a{
	color: #ffc042!important;
}

#menu-footer-nav li{
	margin-bottom: 1.5em;
	padding-left: 0px!important;
}

#main-footer .footer-widget h4{
	margin-bottom: 15px;
}

.top-footer{
	padding: 4%;
	background: #000080;
}

.top-footer .et_pb_widget{
	width: 100%;
    float: none;
    text-align: center;
    font-size: 21px;
    color: #fff;
}

.footer-link{
	padding: 5px 25px; 
	border: 1px solid #fff; 
	border-radius: 5px; 
	color: #fff!important; 
	margin: 0px 15px;
}

/* HOME SLIDER */

.slider-box {

	text-shadow: 5px 7px 9px #000;

}


.slider-box a {

	text-shadow: 0px 0px 0px transparent;

}

/* PAGE HEADER */

.header-banner{
	padding: 6%;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-banner h1{
	margin: 0px;
	padding: 0px;
	color: #000;
	font-weight: bold;
	font-size: 50px;
}




/* SERVICES NAV */
#menu-services-nav{
	padding: 0px!important;
    line-height: 26px;
    list-style-type: none!important;
}

#menu-services-nav li{
	background: #f2f2f2;
    padding: 5px 15px;
    margin-bottom: 5px;
	transition: all .2s ease-in-out;
}
#menu-services-nav li:hover{
	background: #000080;
}
#menu-services-nav li:hover a{
	color: #fff;
}

#menu-services-nav li a{
	color: #282821;
}

#menu-services-nav .current-menu-item{
	background: #ffb500;
}

#menu-services-nav .current-menu-item a{
	color: #fff;
}

.wpb_widgetised_column{
	margin-bottom: 0px!important;
}


@media (min-width: 981px){

	.et_pb_gutters3.et_pb_footer_columns4 .footer-widget {
		width: 23.875%;
	}
	.et_pb_gutters3 .footer-widget {
		margin: 0 1.5% 5.5% 0;
	}
}
@media (max-width: 990px){
	#main-content .container{
    	padding-top: 25px;
	}
	.et_pb_section {
    	padding: 0 0;
	}
	.header-banner h1{
		font-size: 30px;
	}
	.footer-link{
		display: block;
		margin-top: 5%;
	}
}

@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}

@media (max-width: 767px){
#et-info{
float: none;
text-align: center;
}
#footer-widgets{
text-align: center;
}
#footer-widgets .footer-widget, #footer-widgets .footer-widget > div{
width: 100%;
}
#footer-widgets .footer-widget:nth-child(4) p{
max-width: 32%;
display: inline-block;
}
}

/** WIDGET **/
#text-4 h4 {
	text-align: center;
}