/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/Divi-child/
Version: 3.0.1
Description: Divi Child Theme
Template: Divi
Author: Brian
Text Domain:  Divi-child
*/
/* Browser Reset */
@import url("../Divi/style.css");

/*this is a css file to override theme styles or add some custom elements*/

/*top nav updates*/

#et-info{
	width: 100%;
        font-weight: normal;
}

#et-info-address:hover {
	opacity: 0.7;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#top-header .et-social-icons{
	float: right;
}

.post-meta {
	display:none !important;
}

#top-header #et-info-address{
	margin-left: 13px;
}

.et_pb_svg_logo #logo, .et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo{
	height: 54px!important;
	max-height: none;
}

#top-header #et-info-address:before{
	margin-right: 4px;
    content: "\e074";
	font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1;
    text-transform: none;
    speak: none;
}

.featured-grid__icon img{
	width: 45px;
	height: 45px;
	margin: 20px auto;
	display: block;	
}

.services-grid .et_pb_image {
	height: 225px;
	overflow: hidden;
}

use.blue{
	fill: #012069;
}

use.red{
	fill: #fc5354;
}

use.grey{
	fill: #333333;
}

use.light-grey{
	fill: #798a9b;
}

.et_pb_gutters3.et_pb_footer_columns2 .footer-widget .fwidget#text-6{
	width: 100%;
}

/*-----------------------------------------------
Footer Contact info styles
-------------------------------------------------*/
#text-5 p{
	line-height: 1.3;
	font-size: 14px;
}

#text-5 .et_pb_row_inner.et_pb_row_inner_0{
	padding-bottom: 30px;
}

#text-5 h4{
	font-size: 16px;
}

#text-5 .et_pb_blurb_container p{
	font-size: 14px;
}

#text-5 .et_pb_column .et_pb_row_inner_2{
	padding-top: 20px;
}


/*-----------------------------------------------
Footer Contact form styles
-------------------------------------------------*/
#text-6 .et_pb_contact_form_0.et_pb_contact_form_container .input{
	color: #333333!important;
	background: #ffffff;
}

#text-6 .et_pb_contact_form_0.et_pb_contact_form_container .et_pb_button{
	color: #ffffff !important;
    background: #fc534c;
    border-width: 0px !important;
    border-radius: 0px;
    font-size: 18px;
}



/*----------------------------------------------
About us staff listing style
-----------------------------------------------*/

.et_pb_team_member.staff-listing{
	text-align: center;
}

.staff-listing .et_pb_member_position{
	padding-bottom: 10px;
}

.history-accordion.et_pb_accordion .et_pb_toggle{
	margin-bottom: 2px;
}

@media only screen and (max-width: 1200px) {
    .services-grid .et_pb_image {
		height: 170px!important;
	}
/*
	#top-menu li{
		padding-right: 15px!important;
	}*/

	#top-menu li a{
		font-size: 14px!important;
	}

	.et_pb_svg_logo #logo, .et_pb_svg_logo.et_header_style_split .et-fixed-header .centered-inline-logo-wrap #logo{
		height: 35px!important;
		max-height: none;
		}
}



@media only screen and (max-width: 992px) {
    #top-header{
    	display: none;
    }

    .services-grid .et_pb_image {
		max-height: 170px;
	}
}

@media only screen and (max-width: 980px) {

    #text-5 .et_pb_row_inner.et_pb_row_inner_0{
		padding-bottom: 15px;
	}

	#text-5 .et_pb_column .et_pb_row_inner_2{
		padding-top: 0;
	}

	#text-5 .et_pb_row, .et_pb_column .et_pb_row_inner{
		padding: 0;
	}

	 #et_top_search{
    	margin-right: 35px;
    }
}


@media only screen and (max-width: 1104px) {
	#et_mobile_nav_menu {
		display: inline
        }

	#top-menu {
		display:none
	}
}

@media only screen and (max-width: 1420px) {
     #et-info a,span {
         font-size: 14px;
     }
}

@media only screen and (max-width: 1340px) {
     #et-info a,span {
         font-size: 13px;
     }
}

@media only screen and (max-width: 1261px) {
     #et-info a,span {
         font-size: 12px;
     }
}

@media only screen and (max-width: 1184px) {
     #et-info a,span {
         font-size: 11px;
     }
}

@media only screen and (max-width: 1105px) {
     #et-info{
         display:none;
     }

     .et-social-icons{
	display:inline;
        float:left;
     }
}


.et_pb_row, .et_pb_column .et_pb_row_inner

@media only screen and (max-width: 768px) {
    .et_header_style_left .et-search-form, .et_header_style_split .et-search-form{
		width: 100%!important;
		max-width: 100%!important;
	}

	#top-menu li a, .et_search_form_container input{
		width: 100%;
		background: #ffffff;
		padding-left: 15px;
	}
}


@media only screen and (max-width: 460px) {
   .et_menu_container{
		width: 95%!important;
	}
}

#top-header {
    padding-top: 10px !important;
    padding-bottom: 10px;
}

.et_pb_column_4_4 .cd-timeline-block {
   margin:0;
}

.text-button{
	padding: 5px 10px;
	border : 1px solid #012169;
	border-radius: 3px;
}
.text-button:hover{
	background-color: #012169;
	color: white;
}

/*side bar in news page*/
#search-2,#recent-posts-2,#categories-2{
	margin-bottom: 25px;
}
/*hide search icon if in vertical mode for iphone5 and 6*/
@media only screen and ( max-width: 414px ) {
    #et_top_search { display:none; }
}

