:root {
	--header-height: 180px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

header#main {
	display: flex;
	flex-direction: column;
	width: 100%;
	position: fixed;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	top: 0;
	left: 0;
	background: #fff;
	z-index: 1001;
	height: var(--header-height);
	transition: background 0.25s;
}

header#main .main-bar { flex: 1; }
header#main .nav-bar { height: 100%; }

header#main.scrolled { background: var(--main-color); }

.admin-bar header#main { top: 32px; }

header#main .logo a { 
	max-width: 200px; 
	height: 100%;
	flex: 1; 
	display: flex;
	align-items: center;
	display: block;
}

header#main .logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}


.header-fix { margin-top: calc(var(--header-height) + 40px); }
.home .header-fix { margin-top: var(--header-height); }
.main-page-wrapper { margin-top: 0!important; }

/*header#main .btn {
    font-size: 14px;
    font-weight: 700;
    margin: 0 auto;
    letter-spacing: 0px;
    padding: 10.5px 4px;
    text-transform: uppercase;
    width: 92%;
    border-radius: 7.5px;
}*/

/*header#main .btn:not(:last-child) { margin-bottom: 15px; }*/

.topbar {
	background: #d81818;
	color: #fff;
	height: 52px;
	max-height: 52px;	
}

.topbar audio { display: block; height: 52px; }

.btn-contact { width: 230px; }

header#main .btn.btn-espanol {
	color: #000;
	border-radius: 2px;
	text-transform: none;
	font-size: 14px;
	padding: 10px;
	margin-left: 16px;
}


.button-row .btn { box-shadow: 0 3px 3px 3px #00000029; border-radius: 7.5px; }
header#main .btn.btn-white { background: #fff; color: #1a344c; }
header#main .btn.btn-blue { background: #1a344c; color: #fff; }


.wd-search-dropdown input[type="text"],
header#main .searchform .searchsubmit { color: #000; }


.call-now { 
    vertical-align: middle;
    margin-left: 40px;
    padding-left: 40px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.call-now::before {
    content: "";
    background: rgba(255, 255, 255, .1);
    width: 3px;
    height: 78%;
    left: 0;
    position: absolute;
    top: 50%;
    -moz-transform: translate(0,-50%);
    -o-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.call-now small {
	color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    display: block;
    line-height: normal;
    color: #EB8A35;
}

.call-now a {
    color: #fff;
    font-size: 37px;
    font-weight: 700;
    padding-left: 0;
    line-height: 1.1;
    position: relative;
}

.call-now p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    width: 100%;
    display: block;
    margin-bottom: 0;
    line-height: normal;
}

.call-now { padding-left: 30px; margin-left: 30px; }
.call-now small { font-size: 16px; }
.call-now a { font-size: 34px; }
.call-now p { font-size: 14px; }

header#main .btn { position: relative; }
header#main span.icon-phone {
	height: 20px;
	width: 20px;
	margin: 0 6px 0 -16px;
	background: url('../../images/icon-phone-2.png') center/contain no-repeat;
	display: inline-block;
	position: relative;
	top: 3px;
}

header#main span.btn-icon-phone {
	height: 16px;
	width: 16px;
	margin: 0 6px;
	background: url('../../images/icon-phone-2.png') center/contain no-repeat;
	display: inline-block;
	position: relative;
	top: 3px;
}

header#main .btn span.btn-icon-phone { background-image: url('../../images/phone-solid-white.png'); margin-right: 4px; }


.translate-link {
	position: absolute;
	top: 0;
	right: 22.5%;
	border-radius: 0 0 10px 10px;
	background: #fff;
	color: #191919;
	padding: 6px 15px;
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/

@media (max-width: 1600px) {
	header#main .logo { max-width: 300px; }
	.call-now { padding-left: 25px; margin-left: 25px; }
	.call-now small { font-size: 14px; }
	.call-now a { font-size: 30px; }
	.call-now p { font-size: 12px; }
}

@media (max-width: 1300px) {
	header#main .logo { max-width: 250px; }
}

@media (max-width: 991px) {
	:root { --header-height: 110px; }
	.translate-link { display: none; }
	header#main { position: fixed; }
}

@media (max-width: 782px) { .admin-bar header#main { top: 46px; } }


@media (max-width: 767px) {
	:root { --header-height: 240px; }
	header#main .btn {
		width: 80%;
		padding: 10.5px;
		margin: 0 auto;
		font-size: 14px;
		font-weight: 800;
		letter-spacing: 1px;
		text-transform: uppercase;
	}

	header#main .btn:not(:last-child) { margin-bottom: 15px; }

	header#main .nav-bar { height: auto; margin-bottom: 20px; }
}

@media (max-width: 576px) {

	header#main .logo { max-width: 200px; }
}