@import url('https://fonts.googleapis.com/css?family=Raleway');

body{
	font-family:'Raleway', Arial, Helvetica, sans-serif;
	font-size:15px;
}

.header_contact {
	color: #511;
}

footer {
	color: #fff;
}

.header_social a {
	color: #511;
}

.header_social,
.header_phone {
	display: block;
	text-align: right;
}

.header_contact {
	padding-top: 60px;
}

header .logo img {
	max-height: 140px;
}

#slides, .bx-viewport, .slider_img, .bx-mainrail-caption {
	height: 621px !important;
}

.bx-mainrail-read-more {
	background: linear-gradient(to top, #511, #933);
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.95);
	height: initial;
	font-weight: bold;
	text-shadow: 0 1px 1px #000;
}

.bx-mainrail-read-more:hover {
	color: #faa;
	background: linear-gradient(to top, #440808, #a44);
	box-shadow: 0 0 10px #511;
}

.bx-mainrail-desc {
	background: transparent;
}

.coming-soon-video {
	float: none !important;
	display: inline-block;
	margin: 0 auto;
	width: 100%;
	max-width: 360px;
	height: auto;
	margin-bottom: 20px;
}

.article_title,
.article_description {
	background-color: #e8e8e8;
}

.listing_offer_status_active {
	color: #511;
	font-weight: bold;
	background: none;
}

header {
	height: 180px;
}

.topnav_li [href='/contact-us'] i.fa,
.topnav_li [href='/contact-us'] ~ ul.subnav,
.topnav_li:hover [href='/contact-us'] ~ ul.subnav {
	display: none;
}

.topnav a {
	font-size: 12px;
	padding: 0 1.25em;
}

.subnav a, .subnavext a {
	font-size: 12px;
}

table td img {max-width: initial;}

#team-table tr:not(:first-of-type) td{
	padding-top: 15px;
	padding-bottom: 15px;
}

#team-table tr td:not(:first-child) {
	padding-left: 30px;
}

.carrier-table{
	margin:0 auto;
}

.carrier-table td{
	padding:15px 10px;
}

a.bx-mainrail-read-more{
	font-size:1.5em;
}

.footer_contact_form_section form>table{
	width:auto;
	margin:0 auto;
}

.footer_contact_form_section form>table td.icon{
	padding-right:10px;
}

.footer_map_section{
	text-align:right;
}

.body_insurance p{
	font-size:100%;
}

.body_insurance h2{
	margin-top:1em;
}

#section1 .home_banner_sidebar h4.one_title{
	color: #fff !important;
}

.carrier_table{
	width:100%;
	table-layout:fixed;
}

.carrier_table td{
	padding:1em 0;
}

.carrier_table tr td:first-child{
	padding-left:1em;
}

.carrier_table tr td:last-child{
	padding-right:1em;
}

.carrier_table tr:nth-child(2n) td{
	background-color:#efefef;
}

.carrier_button_link{
	display:inline-block;
	margin-left:0.65em;
	border:1px solid #440808;
	padding: 0.35em 0.45em;
	border-radius:4px;
	transition:color 200ms, background-color 200ms;
	font-family:Arial, Helvetica, sans-serif;
}

.carrier_button_link:hover{
	color:#fff;
	background-color:#440808;
}

.carrier_button_link:not(:first-child){
	margin-left:0;
}

@media (max-width:1139px) {
	.topnav_li a {
		font-size: 13px;
		padding: 0 0.5em;
	}
	
	.subnav a, .subnavext a {
		font-size: 13px;
	}
}

@media (max-width:959px) {
	header {
		height: initial;
	}
	.header_contact {
		padding-top: 15px;
	}
	.header_social,
	.header_phone {
		text-align: center;
	}
	.header_logo.logo img {
		height: auto;
		width: auto;
	}
	#slides .slider_img{
		background-size:contain !important;
	}
	#slides{
		background:#440808;
	}
	.row.bx-mainrail-slider{
		margin-bottom:0;
	}
	.bx-mainrail-desc{
		text-align:center;
	}

	.footer_map_section{
		text-align:center;
	}
	footer table{
		margin:0 auto;
	}
}

@media(max-width:719px){
	#slides, .bx-viewport, .slider_img, .bx-mainrail-caption{
		height:420px !important;
	}
}

@media(max-width:399px){
	#slides, .bx-viewport, .slider_img, .bx-mainrail-caption{
		height:320px !important;
	}
}

@media (max-width:825px) {

}

@media (max-width:479px) {
	.carrier_table{
		font-size:0.8em;
	}

	.carrier-table h6{
		font-size:13px;
	}
}

@media (max-width:844px) {
	#TheFrame {
		/* display: none; */
	}
}
@media (min-width:845px) {
	#TheFrameLink {
		/* display: none */
	}
}
body,
.article_description{
	background-color:#fff!important;
}
h1,h2,h3,h4,h5,h6{
	font-family: 'Raleway', Arial, Helvetica, sans-serif !important;
	font-weight: bold !important;
	color: #551111 !important;
}
#team-grid-container{
	display:grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap:25px;
}
#team-grid-container img{
	width:100%;
	max-width:300px;
}
@media only screen and (max-width:660px){
	#team-grid-container{
	grid-template-columns: repeat(2, 1fr);
}
}

#submit_contact_button{
	background-color:#fff;
	border:2px solid #fff;
	color:#440808;
	padding:0.65em 2em;
	font-weight:bold;
	margin-top:0.25em;
	border-radius:50px;
	cursor:pointer;
}

#submit_contact_button:hover{
	background-color:#440808;
	color:#fff;
}

.profile_tab{position:relative;width:100%;padding:20px;text-align:center;display:block;}
.profile_wrap{left:0;top:0;width:100%;}
.profile_img{width:100%;}
.profile_wrap strong{margin-top:10px;display:block;}

.profile_tab:hover{background:#651f26;color:#fff;}
.profile_tab:hover .profile_details{display:block;}

/* aspect ratio */
/* beta version by Valentin Zaraf */
[style*="--aspect-ratio"] > :first-child{width:100%;}
[style*="--aspect-ratio"] > img {height:auto;} 
@supports (--custom:property){
	[style*='--aspect-ratio']{position:relative;}
	[style*='--aspect-ratio']::before{content:'';display:block;padding-bottom:calc(100%/(var(--aspect-ratio)));}  
	[style*="--aspect-ratio"] > :first-child{position:absolute;top:0;left:0;height:100%;}  
}
/* 
------ aspect ratio usage examples: ------
<div style="--aspect-ratio:600/400;"></div>
<div style="--aspect-ratio:16/9;"></div>
<div style="--aspect-ratio:1.4;"></div>
*/