/*!
Theme Name: AVSARC
Theme URI: http://underscores.me/
Author: Cheap Smokes
Author URI: https://www.github.com/CheapSmokes
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: aec-vets
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

AEC Vets is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
	box-sizing: border-box;
}
*, *:before, *:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}
body {
	background: #fff;
	font-family: 'Open Sans', sans-serif;
	line-height: 1.6em;
	font-size: 0.93em;
	/* Fallback for when there is no custom background color defined. */
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li>ul, li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}
figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button, input[type="button"], input[type="reset"], input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, textarea:focus {
	color: #111;
}
select {
	border: 1px solid #ccc;
}
textarea {
	width: 100%;
}
h1, h2, h3 {
	font-weight: 700;
	margin-bottom: 0;
}

p {
    font-weight: 400;
}
/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
	color: #15397f;
	font-weight: 700;
}
a:visited {
	color: #ed1b250;
}
a:hover, a:focus, a:active {
	color: #ed1b25;
}
a:focus {
	outline: none;
}
a:hover, a:active {
	outline: 0;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	width: 100%;
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul ul {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	text-align: left;
	padding-top: 10px;
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}
.main-navigation ul ul li:hover>ul, .main-navigation ul ul li.focus>ul {
	left: 100%;
}
.main-navigation ul ul a {
	min-width: 200px;
	padding: 12px 15px;
	background-color: #FFF;
	transition: all 300ms ease;
	font-weight: 400;
	font-size: 14px;
}
.main-navigation ul ul a:hover {
	background-color: #f9f9f9;
}
.main-navigation ul li:hover>ul, .main-navigation ul li.focus>ul {
	left: auto;
}
.main-navigation ul#primary-menu>li {
	position: relative;
	display: inline-block;
	margin: 0 8px;
	transition: all 300ms ease;
}
.main-navigation a {
	display: block;
	text-decoration: none;
	color: #000;
	font-weight: 600;
}

.main-navigation li.emergency a {
	color: #f00;
}
.main-navigation ul#primary-menu>li:after {
	content: '';
	display: block;
    background-color: #F4CF00;
	height: 2px;
	position: absolute;
	bottom: -4px;
	width: 0;
	transition: all 300ms ease;
}
.main-navigation ul#primary-menu>li.current-menu-item:after, .main-navigation ul#primary-menu>li:hover:after {
	width: 100%;
}
/* Small menu. */

.menu-toggle, .main-navigation.toggled ul {
	display: block;
}
@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}
.site-main .comment-navigation, .site-main .posts-navigation, .site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
	outline: 0;
}
/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before, .clear:after, .entry-content:before, .entry-content:after, .comment-content:before, .comment-content:after, .site-header:before, .site-header:after, .site-content:before, .site-content:after, .site-footer:before, .site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}
.clear:after, .entry-content:after, .comment-content:after, .site-header:after, .site-content:after, .site-footer:after {
	clear: both;
}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}
.widget select {
	max-width: 100%;
}
/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
	display: block;
}
.updated:not(.published) {
	display: none;
}
.page-content, .entry-content, .entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
	display: block;
}
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers. */

embed, iframe, object {
	max-width: 100%;
}
/* Make sure logo link wraps around logo image. */

.custom-logo-link {
	display: inline-block;
}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.wp-caption-text {
	text-align: center;
}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {
	display: block;
}
/* Form Overrides */

.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
	padding: 11px 14px !important;
	font-size: 13px !important;
	border: 1px solid #d0cfcf;
	border-radius: 30px !important;
}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]):focus {
	outline: none !important;
	border: 1px solid #ed1b24;
}
.gform_wrapper input[type="submit"] {
	background-color: #003a78 !important;
	color: #FFF !important;
	font-weight: 600 !important;
	padding: 15px 30px !important;
	display: inline-block !important;
	border: none !important;
	border-radius: 0 !important;
	font-size: 14px !important;
}
.gform_wrapper ul li:before {
	display: none !important;
}
/*--------------------------------------------------------------
## Custom Elements
--------------------------------------------------------------*/

@media (min-width: 1200px) {
	.container {
		max-width: 1380px;
	}
}
.o-page-content {
	background-color: #f9f9f9;
}
header {
	position: relative;
}
header::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30px;
	box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.05);
	content: '';
}
header .hamburger {
	font-size: 30px;
}
header .mobile-menu ul {
	margin: 0;
	padding: 0 20px;
	list-style: none;
}
header .mobile-menu ul ul {
	display: none;
}
header .mobile-menu ul li {
	border-bottom: 1px solid #f9f9f9;
}
header .mobile-menu ul li a {
	font-weight: 400;
	color: #000;
	font-size: 22px;
	padding: 13px 0px;
	display: block;
}
footer {
    background-color: #003A78;
	color: #FFF;
}

footer .vrh-badge .col-inner {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    transform: translateY(-50%);
}

footer .widget {}
footer .widget h3 {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 1em;
}

footer .widget h4 {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 1em;
}
footer .widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer .widget ul li {
    padding: 3px 0;
}
footer .widget ul li a {
	color: #FFF;
	font-size: 14px;
	font-weight: 300;
	transition: 300ms ease all;
}
footer .widget ul li a:hover {
	text-decoration: none;
	opacity: 0.8;
}
footer ul#menu-locations {
	display: flex;
	flex-wrap: wrap;
}
footer ul#menu-locations li {
	width: 50%;
}

footer p {
    font-size: 14px;
    font-weight: 300;
}

.sidebar {
    
}

.sidebar h3 {
    margin-bottom: 1em;   
}

.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar ul li {
    border-bottom: 1px solid #eaeaea;
}

.sidebar ul li:last-child {
    border-bottom: none;
}

.sidebar ul li a {
    display: block;
    padding: 10px 10px;
    transition: all 300ms ease;
    font-weight: 400;
}

.sidebar ul li a:hover {
    margin-left: 10px;
    text-decoration: none;
}

.sidebar ul li.current-cat a {
    color: #FFF;
    background-color: #ed1a25;
}

/* Globals */

a.call-us {
    background-color: #003a78;
	color: #FFF;
	font-weight: 400;
	padding: 10px 10px;
	display: inline-block;
    border-radius: 2px;
}
a.call-us:hover {
	text-decoration: none;
}
/* Hamburger */

.hamburger {
	padding: 0px 15px;
	display: inline-block;
	cursor: pointer;
	transition-property: opacity, filter;
	transition-duration: 0.15s;
	transition-timing-function: linear;
	font: inherit;
	color: inherit;
	text-transform: none;
	background-color: transparent;
	border: 0;
	margin: 0;
	overflow: visible;
}
.hamburger:hover {}
.hamburger.is-active:hover {}
.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after {
	background-color: #000;
}
.hamburger-box {
	width: 40px;
	height: 24px;
	display: inline-block;
	position: relative;
}
.hamburger-inner {
	display: block;
	top: 50%;
	margin-top: -2px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	width: 40px;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease;
}
.hamburger-inner::before, .hamburger-inner::after {
	content: "";
	display: block;
}
.hamburger-inner::before {
	top: -10px;
}
.hamburger-inner::after {
	bottom: -10px;
}
.hamburger--squeeze .hamburger-inner {
	transition-duration: 0.075s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze .hamburger-inner::before {
	transition: top 0.075s 0.12s ease, opacity 0.075s ease;
}
.hamburger--squeeze .hamburger-inner::after {
	transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
.hamburger--squeeze.is-active .hamburger-inner {
	transform: rotate(45deg);
	transition-delay: 0.12s;
	transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
.hamburger--squeeze.is-active .hamburger-inner::before {
	top: 0;
	opacity: 0;
	transition: top 0.075s ease, opacity 0.075s 0.12s ease;
}
.hamburger--squeeze.is-active .hamburger-inner::after {
	bottom: 0;
	transform: rotate(-90deg);
	transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
}
/*--------------------------------------------------------------
## Custom Components
--------------------------------------------------------------*/

.location-finder {
	background-image: url('/wp-content/uploads/2019/07/aec-home-page.jpg');
	background-position: center;
	background-size: cover;
	padding: 200px 0;
}
.location-finder h1 {
	font-weight: 400;
	color: #FFF;
	margin-bottom: 0.55em;
	text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.16);
}
.location-finder input {
	border-radius: 30px;
	color: #191919;
	padding: 10px 37px 10px 20px;
	font-size: 14px;
	position: relative;
	border: 2px solid transparent;
	transition: 300ms all ease;
}
.location-finder input:focus {
	outline: none;
	border-color: #ed1b24;
}
.location-finder .input {
	position: relative;
	display: inline-block;
}
.location-finder .input:after {
	display: block;
	position: absolute;
	right: 15px;
	top: 11px;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f002";
	color: #ed1b25;
}
.location-finder span a {
	color: #FFF;
	text-decoration: underline;
	font-size: 14px;
	margin-left: 10px;
}
.m-block-home-1 {
	background-color: #FFF;
}
.btn-primary, .btn-primary:hover {
	background-color: transparent;
	border: none;
	border-radius: 0;
	color: #000;
	padding: 5px 0;
	font-weight: 400;
	position: relative;
}
.btn-primary:focus {
	outline: none;
	box-shadow: none !important;
}
.btn-primary:active {
	outline: none !important;
	box-shadow: none !important;
	background-color: transparent !important;
	border: none !important;
	color: #000 !important;
}
.btn-primary:after {
	display: block;
	content: '';
	    background-color: #F4CF00;
	height: 3px;
	left: 0;
	right: 0;
	position: absolute;
	margin-top: 7px;
	transition: all 300ms ease;
}
.btn-primary:hover:after {
	margin-top: 15px;
}
.m-block-emergency-1 {
	background-color: #FFF;
}
.m-block-emergency-1 .row {
	align-items: flex-end;
}
.m-find-location-list .col-inner {
	border-left: 5px solid #ed1b25;
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.01);
	height: 100%;
}
.m-find-location-list .col-inner h3 {
	color: #ed1b25;
	margin-bottom: 0.5em;
}

.m-find-location-list .col-inner h3 span.distance {
    font-size: 13px;
    font-style: italic;
}

.m-find-location-list .col-inner .phone {
	font-weight: 400;
	font-size: 1.2em;
}
.fw-page-builder-content ul {
	padding: 0;
	list-style: none;
	margin: 0 0 0 15px;
}
.fw-page-builder-content ul li {
	list-style-type: none;
	position: relative;
	padding: 4px 0;
}
.fw-page-builder-content ul li:before {
	content: '';
	display: block;
	width: 8px;
	height: 8px;
	background-color: #daa900;
	position: absolute;
	left: -20px;
	top: 12px;
}
.fw-page-builder-content section {
	background-size: cover;
	background-position: center;
}
/*--------------------------------------------------------------
## Custom Components
--------------------------------------------------------------*/

/* Section */

section.bg-white {
	background-color: #FFF;
}
section.bg-light-grey {
	background-color: #f9f9f9;
}
section.bg-black {
	background-color: #000;
}
section.bg-red {
	background-color: #ed1b25;
}
@media only screen and (min-width: 1200px) {
	section.section-decoration {
		background-image: url(images/decoration-ecg.svg), url(images/decoration-ecg.svg) !important;
		background-position: 100% 15px, -100px 96%;
		background-repeat: no-repeat, no-repeat;
		background-size: 400px;
	}
}

section.align-center .row {
    align-items: center;
}

/* Special Heading */

.aec-heading .aec-heading-subtitle {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3em;
}
.aec-heading.weight-400 h1, .aec-heading.weight-400 h2, .aec-heading.weight-400 h3, .aec-heading.weight-400 h4, .aec-heading.weight-400 h5, .aec-heading.weight-400 h6 {
	font-weight: 400 !important;
}
.aec-heading.weight-600 h1, .aec-heading.weight-600 h2, .aec-heading.weight-600 h3, .aec-heading.weight-600 h4, .aec-heading.weight-600 h5, .aec-heading.weight-600 h6 {
	font-weight: 700 !important;
}
.aec-heading.weight-700 h1, .aec-heading.weight-700 h2, .aec-heading.weight-700 h3, .aec-heading.weight-700 h4, .aec-heading.weight-700 h5, .aec-heading.weight-700 h6 {
	font-weight: 400 !important;
}
.aec-heading.weight-800 h1, .aec-heading.weight-800 h2, .aec-heading.weight-800 h3, .aec-heading.weight-800 h4, .aec-heading.weight-800 h5, .aec-heading.weight-800 h6 {
	font-weight: 800 !important;
}
.aec-heading.text-white {
	color: #FFF !important;
}
.aec-heading.text-black {
	color: #000 !important;
}
.aec-heading.text-light-grey {
	color: #f9f9f9 !important;
}
.aec-heading.text-red {
	color: #ed1b25 !important;
}


/* Information Table */
.aec-block-information-table {}

/* Page Specific */

.page-contact-us .sidebar a {
    padding: 0;
    display: inline-block;
}

.page-contact-us .sidebar a:hover {
    padding: 0;
    margin-left: 0;
}

.page-contact-us .sidebar li {
    padding: 10px 0;
}

.post-type-archive-team_members .profile-image {
    width: 225px;
    height: 225px;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    border: 4px solid #bdbdbd;
	box-sizing: border-box;
}

/* Post Password */

form.post-password-form {
	max-width: 1280px;
    margin: 0 auto;
    text-align: center;
	padding: 80px 0;
}

.page-referral-form .dropbox a {
	background-color: #daa900;
    color: #FFF;
    padding: 10px;
	display: inline-block;
	margin-top: 10px;
}


.page-covid-19-update {
	
}

.page-covid-19-update .assessment-grid {
	
}


.page-covid-19-update .assessment-grid .row {
	margin-bottom: 30px;
}

.page-covid-19-update .assessment-grid .column-buffer {
	border: 3px solid #003a78;
    padding: 20px;
	height: 100%;
}

.page-covid-19-update .assessment-grid .no-border .column-buffer {
	border: none;
	padding: 10px;
}

.page-covid-19-update .assessment-grid .column-buffer span.number {
	background-color: #003a78;
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 45px;
    line-height: 45px;
    height: 45px;
    color: #FFF;
    border-radius: 50%;
    font-weight: 700;
    font-size: 30px;
    font-family: 'Open Sans';
}


.page-covid-19-update .assessment-grid .column-buffer img {
	max-height: 80px;
	width: auto;
	margin-bottom: 15px;
}




