/*
Theme Name: Gary Herbert Theme
Theme URI: http://www.taylorsolutionsinc.com/
Version: 1.0
Description: Divi Child Theme
Author: Dustin Taylor
Author URI: http://www.taylorsolutionsinc.com
Template: Divi
*/
/* Default styles */
@import "../Divi/style.css";
/*-------------------------------------------------------------------------------------------*/

p {
	font-size: 16px;
	line-height: 1.5em;
	letter-spacing: 0.5px;
}

body h1, body h2, body h3, body h4, body h5, body h6 {
	font-weight: 500;
}

strong {
	font-weight: 900;
}

.mobile_menu_bar:before {
	color: #004e7c !important;
}

.et-search-form, .nav li ul, .et_mobile_menu, .footer-widget li:before, blockquote {
	border-color: #ab1e2c !important;
}

#page-container {
	-moz-box-shadow: 0 0 0px 0 rgba(0,0,0,0) !important;
    -webkit-box-shadow: 0 0 0px 0 rgba(0,0,0,0) !important;
    box-shadow: 0 0 0 0 rgba(0,0,0,0) !important;
}

.bg-red {
	background-color: #ab1e2c;
}

.headline-bg-blue h2 {
	background-color: #004e7c;
	color: #ffffff;
	padding: 10px 20px 10px 40px;
	display: inline-block;
	font-weight: bold;
}

.link-red a {
	color: #ab1e2c;
	border-bottom: 2px solid #ab1e2c;
}

	.link-red a:hover {
		color: #c62737;
		border-bottom: 2px solid #c62737;
	}
	
.round-border-red img {
	width: 100%;
    border: 3px solid #ab1e2c;
    border-radius: 500px;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    margin: 0 auto;
    display: block;
}

.red-number-list ol {
    counter-reset:li; /* Initiate a counter */
    margin-left:0; /* Remove the default left margin */
    padding-left:0; /* Remove the default left padding */
}
.red-number-list ol > li {
    position:relative; /* Create a positioning context */
    margin:0 0 10px 2.3em; /* Give each list item a left margin to make room for the numbers */
    padding:0px 8px 4px; /* Add some spacing around the content */
    list-style:none; /* Disable the normal item numbering */
}
.red-number-list ol > li:before {
    content:counter(li); /* Use the counter as content */
    counter-increment:li; /* Increment the counter by 1 */
    /* Position and style the number */
    position:absolute;
    top:0px;
    left:-2.3em;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    width:2em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right:8px;
    padding:4px;
    color:#fff;
    background:#ab1e2c;
    font-weight:bold;
    font-family:"Helvetica Neue", Arial, sans-serif;
    text-align:center;
    -webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}
.red-number-list li ol,
.red-number-list li ul {margin-top:6px;}
.red-number-list ol ol li:last-child {margin-bottom:0;}

.breadcrumb span,
.breadcrumb a,
.breadcrumb_last {
	color: #777;
	font-size: 0.96em;
}

body.page-template-default h1 {
	font-size: 4em;
}

/*******************************************/
/************ HEADER & FOOTER **************/
/*******************************************/
#main-header {
	background: transparent;
	box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
}

#gary-footer1,
#gary-footer2 {
	padding: 0;
}

#gary-footer2 .et_pb_text p {
	font-size: 0.85em;
}

	#gary-footer2 .et_pb_row {
		padding: 20px 0;
	}

#top-menu li a {
	padding-bottom: 4px !important;
	margin-bottom: 45px;
}
	
#top-menu li.current-menu-item a {
	border-bottom: 3px solid #ab1e2c;
	font-weight: 900;
	padding: 4px 3px !important;
}

	#top-menu li.menu-item-object-custom a {
		border-bottom: 0 solid #ffffff !important;
		font-weight: 600;
		padding: 0 !important;
		color: #004e7c !important;
	}
	
#top-menu li.menu-item-has-children a {
	padding-right: 20px !important;
}

#top-menu li.menu-item-has-children.current-menu-item a:after {
	top: 3px !important;
}

#top-menu li ul.sub-menu li a {
	margin-bottom: 3px !important;
	border-bottom: 1px solid #e1e1e1 !important;
	padding-bottom: 3px !important;
	padding-right: 0 !important;
}

	#top-menu li ul.sub-menu li:last-child a {
		border-bottom: 0px solid #ffffff !important;
		margin-bottom: 0 !important;
	}
	
.nav li ul {
	top: 40px;
}

.et_boxed_layout #page-container #main-header .container {
	width: 100%;
}

nav#top-menu-nav {
	float: none;
}

#top_search {
	float: right;
	margin-bottom: 10px;
	z-index: 1;
    position: relative;
    overflow: hidden;
    top: -10px;
}

#top_search img,
#top_search #search-text,
#top_search #searchform {
	float: left;
}

#top_search #search-text {
	color: #ffffff;
	background: #ab1e2c;
	height: 32px;
	line-height: 32px;
	padding-left: 5px;
	padding-right: 5px;
}

#top_search #searchform .screen-reader-text {
	text-indent: -9999em;
	display: none;
}

#top_search #searchform input[type=text] {
	height: 33px;
	line-height: 33px;
	color: #333333;
	font-weight: normal;
	padding-right: 30px;
	padding-left: 5px;
	font-size: 14px;
}

#top_search #searchform input[type=submit] {
	background: url("images/ico-search.png") no-repeat scroll center center transparent;
	position: relative;
/* 	left: -33px; */
	text-indent: -9999em;
	border: 0px solid #000000;
	width: 26px;
	height: 26px;
}

	#top_search #searchform input[type=submit]:hover {
		cursor: pointer;
	}

#footer-social-icons a {
	display: inline-block;
	padding: 3px;
	color: #ffffff;
}

body.single-post #top-menu li.nav-blog a {
	border-bottom: 3px solid #ab1e2c;
    font-weight: 900;
    padding: 4px 3px !important;
    color: #ab1e2c;
}

#top-menu li.btn-blue a {
	background-color: #004e7c;
	color: #ffffff !important;
	padding: 10px 20px !important;
}


/*******************************************/
/*************** SEARCH ********************/
/*******************************************/
body.search h1 {
	margin-bottom: 20px;
	font-size: 3em;
}

body.search .et_pb_post {
	margin-bottom: 0;
	padding-bottom: 20px;
}

body.search #main-content {
	padding: 30px;
	width: auto;
}


/*******************************************/
/**************** HOME *********************/
/*******************************************/

#section-slider .et_pb_row {
	width: 100% !important;
}

#section-slider .ls-v5 .ls-thumbnail {
	top: 0;
}

.ls-v5 .ls-thumbnail-inner {
	padding: 0 !important;
}

#section-slider .ls-thumbnail-wrapper {
	background: #ab1e2c;
}

.slider-read-more a {
	color: #ffffff;
}

.circle-red p a {
	display: block;
	margin: 0 auto;
    height: 300px;
    width: 300px;
    line-height: 300px;
    -moz-border-radius: 150px; /* or 50% of width, height and line-height */
    border-radius: 150px; /* or 50% of width, height and line-height */
    background-color: #ab1e2c;
    color: #ffffff;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
}

.et_pb_column_1_4 .circle-red p a {
    height: 170px;
    width: 170px;
    line-height: 170px;
    font-size: 0.95em;
}

body.home #join-the-team .gform_heading,
body.home #join-the-team .gform_body,
body.home #join-the-team .gform_footer {
	float: left;
	display: inline-block;
}

body.home #join-the-team .gform_heading {
	width: 20%;
}

	body.home #join-the-team .gform_heading h3 {
		padding-bottom: 0;
		margin: 0.5em 0 0;
		color: #ab1e2c;
		font-weight: bold;
	}

body.home #join-the-team .gform_body,
#section-hear-from-you .gform_body,
#section-hear-from-you .gform_footer {
	width: 65%;
}

body.home #join-the-team .gform_footer {
	width: 15%;
	margin-top: 0;
	clear: none;
	padding-top: 3px;
	text-align: center;
}

body.home .gform_footer {
	text-align: center;
}

body.home #join-the-team .gform_footer input[type=submit] {
	background-color: #ab1e2c;
	color: #ffffff;
	border: 2px solid #ab1e2c;
	margin-top: 2px;
}

body #join-the-team .gform_wrapper input[type=text],
body #join-the-team .gform_wrapper textarea.textarea,
body #join-the-team .gform_wrapper select {
	padding: 11px;
	color: #333333;
	background-color: transparent;
	border: 1px solid #004e7c;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-weight: 500;
}

body #join-the-team .gform_wrapper .gform_footer {
	text-align: center;
}

body #join-the-team .gform_wrapper .gform_footer input[type=submit] {
	float: none;
	margin: 0 auto;
}

#section-meet-herbert .et_pb_column_1_2 p {
	padding-left: 60px;
}

#section-get-involved ol {
	padding-left: 30px;
	margin-top: 30px;
}

#section-get-involved .et_pb_column_1_2:first-child a {
	margin-top: 1em;
	display: inline-block;
}

.red-arrow-separator .et_pb_row {
	margin: 0 !important;
	width: 100% !important;
}

.red-arrow-separator .et_pb_column {
	height: 36px;
}

.red-arrow-separator .et_pb_column .et_pb_text p {
	position: relative;
	top: -36px;
}

.red-arrow-separator hr {
	border-top: 2px solid #ab1e2c;
	border-bottom: 0px solid #ffffff;
	border-left: 0px solid #ffffff;
	border-right: 0px solid #ffffff;
	margin: 18px 0;
}

.et_pb_blog_grid .et_pb_post {
	background-color: #dbdbdc;
}

.et_pb_blog_grid .et_pb_image_container img {
	border-bottom: 3px solid #ab1e2c;
}

.et_pb_blog_grid h2 {
	font-weight: 900;
}

#herbert-read-more {
	overflow: auto;
	padding-top: 10px;
}

#herbert-read-more ul.shareaholic-share-buttons {
	padding: 0 !important;
	margin: 0 !important;
}

a.herbert-read-more-link {
	float: left;
	margin-right: 8px;
}

#herbert-read-more ul.shareaholic-share-buttons li {
	padding-bottom: 0 !important;
}

#herbert-read-more .shareaholic-canvas {
	float: right;
	clear: none;
}

body.home h1.slider-headline {
	font-size: 30px;
}

.dzscalendar {
	background-color: #d1d2d4;
	padding: 10px 0;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.dzscalendar .week-day .the-number,
.dzscalendar .calendar-controls .curr-month,
.dzscalendar .calendar-controls .curr-year {
	color: #ffffff !important;
	font-weight: bold;
	text-transform: uppercase;
}

.dzscalendar .hasEvent .the-number,
.dzscalendar .hasEventForHover .the-number {
	color: #004e7c !important;
	font-weight: 900 !important;
}

#section-get-involved .et_pb_column_1_3 h2 {
	background: #004e7c;
	color: #ffffff;
	padding: 10px;
	font-weight: normal;
}



/*******************************************/
/**************** CONTACT ******************/
/*******************************************/
#section-hear-from-you .gform_footer {
	text-align: right;
	margin-right: 2.5%;
}

#section-hear-from-you .gform_button {
	background: #ab1e2c;
	color: #ffffff;
	font-weight: 300;
	font-size: 1.3em;
	border-color: #ab1e2c;
}

#section-hear-from-you .gform_button:hover {
	background: #be2534;
	border-color: #be2534;
}

.gform_button:hover {
	cursor: pointer;
}

#section-hear-from-you .gform_body,
#section-hear-from-you .gform_footer {
	margin: 0 auto;
}

#section-hear-from-you .gform_footer {
	padding-right: 2%;
}

#section-hear-from-you .gform_wrapper input[type=text],
#section-hear-from-you .gform_wrapper textarea.textarea {
	color: #333333;
	background: #ffffff;
	border: 1px solid #969696;
	font-weight: 500;
}

#section-hear-from-you h1 {
	margin-bottom: 20px;
}



/*******************************************/
/************* GENERAL PAGE ****************/
/*******************************************/
#section-breadcrumbs .et_pb_row {
	padding: 16px 0;
}

#section-page-title .et_pb_row {
	width: 100% !important;
	margin: 0;
	padding-bottom: 0;
}

#section-page-title .page-title h1 {
	background: #004a87;
	display: inline-block;
	padding: 10px 5% 10px 5%;
	font-size: 2em;
}

.et_pb_row.row-background-color .et_pb_column_1_2 {
	width: 50%;
	margin-right: 0;
}

.et_pb_row.row-background-color .et_pb_text {
	padding: 0 30px;
	width: auto;
}

.divider-gray hr {
	border-bottom: 1px solid #dcdcde;
	border-top: 0px solid #ffffff;
	border-left: 0px solid #ffffff;
	border-right: 0px solid #ffffff;
}


/*******************************************/
/************** MEDIA PAGE *****************/
/*******************************************/
#section-media .et_pb_blog_grid {
	margin-bottom: 0;
}

.et_pb_blog_grid .et_pb_post .post-meta {
	color: #ab1e2c !important;
}




/*******************************************/
/************** SINGLE POST ****************/
/*******************************************/
body.single #main-content .container {
	padding-top: 20px;
}

body.single #main-content h2.in-the-news-h2 {
	margin-left: 0;
	background: #004e7c;
	display: inline-block;
	padding: 10px 5.5%;
	color: #ffffff;
	margin-bottom: 0px;
	margin-top: 30px;
	text-transform: uppercase;
}

body.single .breadcrumb {
	margin-bottom: 10px;
}

body.single img.et_featured_image {
	border-bottom: 10px solid #ab1e2c;
	padding-bottom: 0 !important;
	display: block;
}

body.single .entry-content {
	background-color: #dcdcde;
	padding: 20px;
	width: auto;
}

#main-content .container:before {
	width: 0 !important;
}

body.single h1.single-post-title {
	text-transform: uppercase;
	font-weight: 900;
	font-size: 24px;
	padding-bottom: 5px;
}

body.single #left-area .post-meta {
	color: #ab1e2c;
	padding-bottom: 5px;
}

body.single .addtoany_content_bottom {
	margin-top: 40px;
}

#sidebar .et_pb_widget:first-child {
	margin-bottom: 0;
}

#sidebar .et_pb_widget:first-child h3 {
	border-bottom: 3px solid #004e7c;
	margin-bottom: 10px;
}

#sidebar .widget_recent_entries ul li {
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 12px;
	margin-bottom: 16px;
}

#sidebar .widget_recent_entries ul li:last-child {
	border-bottom: 0px solid #ffffff;
}

#sidebar .widget_recent_entries ul li a {
	display: block;
	font-weight: 900;
	color: #004e7c;
	text-transform: uppercase;
	line-height: 1em;
	font-size: 1.2em;
}

	#sidebar .widget_recent_entries ul li a:hover {
		cursor: pointer;
		color: #005d93;
	}

#sidebar .widget_recent_entries ul li span {
	color: #ab1e2c;
	font-size: 14px;
}

.et_right_sidebar #sidebar {
	padding-left: 0;
}




@media only screen and ( min-width: 981px ) { 
    #main-header.et-fixed-header {
		box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
	    -moz-box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
	    -webkit-box-shadow: 0 0px 0 rgba(0, 0, 0, 0);
	}
	
	#section-meet-herbert .et_pb_column_1_2 p {
		padding-left: 60px;
	}
	
	#section-media .et_pb_blog_grid .column article:last-child {
		margin-bottom: 0;
	}
}



/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1405px ) { 
    /* your css goes here */
}

/* Laptops and desktops (1100-1405px) */
@media only screen and ( min-width: 1100px ) and ( max-width: 1405px) { 
    /* your css goes here */
}

/* Tablets in landscape mode (981-1100px) */
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) { 
    /* your css goes here */
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
    /* your css goes here */
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( max-width: 767px ) {
    #gary-footer2 .et_pb_text {
	    text-align: center;
    }
    
    body.page-template-default h1 {
	    font-size: 3em;
    }
}

/* Smartphones in portrait mode (0-479px) */
@media only screen and ( max-width: 479px ) {
    .logo_container {
	    display: block;
	    position: relative !important;
	    text-align: center;
	    padding: 10px 0;
    }
    
    #top_search {
	    float: none;
    }
    
    #et-top-navigation {
	    padding-left: 0 !important;
	    width: 100%;
    }
    
    .et_header_style_left .mobile_menu_bar {
	    padding-bottom: 0;
	    margin-bottom: -50px;
	    top: -50px;
	    z-index: 100;
    }
    
    body.home .gform_heading {
	    text-align: center;
    }
    
    body.home .gform_heading,
    body.home .gform_body {
	    width: 100% !important;
    }
    
    #section-hear-from-you .gform_body,
    #section-hear-from-you .gform_footer {
	    width: 90% !important;
	    margin: 0 auto !important;
    }
    
    #section-meet-herbert .et_pb_column_1_2 p {
	    padding-left: 0;
    }
    
    body.page-template-default h1 {
	    font-size: 2.6em;
    }
}