/*
 * Midwest Underwriters: the site's only stylesheet (no framework, no build step).
 * 1. Tokens  2. Fonts  3. Base, grid and components (the Bootstrap 3.2 rules the pages actually use, found by
 * qa/tools/purge.js, with the same breakpoints 768/992/1200 and container widths 750/970/1170)
 * 4. Site styles (ported from the old style.css + carousel.css; old selectors kept so they're easy to trace)
 * 5. Additions: carrier marquee, focus styles, form errors, accessibility helpers.
 * Colors: the old brand colors, except where they failed WCAG AA contrast (see NOTES §4): --green-text,
 * --nav-gray, --button-gray, --blue and --link are the nearest compliant shades.
 */

/* 1. Tokens */
:root {
  --navy: #0b3861;          /* logo navy: headings, footer links */
  --green: #088a68;         /* brand green: CTA band, 30px content headings (large text passes at 4.3:1) */
  --green-text: #077e5f;    /* was #088a68: small green text (header contact, sidebar headings, home CTA heading) */
  --gray: #848484;          /* hero caption, borders */
  --nav-gray: #767676;      /* was #848484: main navigation links */
  --button-gray: #767676;   /* was #848484: gray buttons (quote CTAs, Submit) */
  --blue: #337ab7;          /* was #428bca: blue buttons */
  --blue-border: #2e6da4;
  --blue-hover: #286090;
  --blue-hover-border: #204d74;
  --link: #337ab7;          /* was #428bca: links on white */
  --link-hover: #23527c;
  --link-on-light: #3072ab; /* links on the light sidebar background */
  --light-bg: #eff2f7;
  --text: #5a5a5a;
  --text-dark: #474747;
  --error: #d40000;         /* was "red" (#f00, 4.0:1): form error text */
  --focus: #0b3861;
}

/* 2. Fonts: self-hosted latin subsets (SIL OFL; licenses next to the files) */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Lora'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/lora-400.woff2') format('woff2'); }

/* 3. Base, grid and components (from Bootstrap 3.2, used rules only) */
html { font-family: sans-serif; text-size-adjust: 100%; }
body { margin: 0px; }
aside, footer, header, main, nav { display: block; }
a { background: 0px 0px; }
a:active, a:hover { outline: 0px; }
strong { font-weight: 700; }
h1 { margin: 0.67em 0px; font-size: 2em; }
img { border: 0px; }
button, input, textarea { margin: 0px; font: inherit; color: inherit; }
button { overflow: visible; }
button { text-transform: none; }
button { appearance: button; cursor: pointer; }
input { line-height: normal; }
input[type="checkbox"] { box-sizing: border-box; padding: 0px; }
textarea { overflow: auto; }
@media print {
  * { color: #000000 !important; text-shadow: none !important; background: transparent !important; box-shadow: none !important; }
  a, a:visited { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; }
  a[href^="#"]::after { content: ""; }
  img { break-inside: avoid; }
  img { max-width: 100% !important; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { break-after: avoid; }
  .navbar { display: none; }
}
* { box-sizing: border-box; }
::before, ::after { box-sizing: border-box; }
html { font-size: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857143; color: #333333; background-color: #ffffff; }
input, button, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { color: var(--link-hover); text-decoration: underline; }
a:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
img { vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); border: 0px; }
h1, h2, h3 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; }
h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
p { margin: 0px 0px 10px; }
ul { margin-top: 0px; margin-bottom: 10px; }
ul ul { margin-bottom: 0px; }
.container { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 768px) {
  .container { width: 750px; }
}
@media (min-width: 992px) {
  .container { width: 970px; }
}
@media (min-width: 1200px) {
  .container { width: 1170px; }
}
.row { margin-right: -15px; margin-left: -15px; }
.col-sm-4, .col-md-4, .col-lg-4, .col-md-6, .col-lg-6, .col-md-8, .col-lg-8, .col-sm-10, .col-md-10, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }
@media (min-width: 768px) {
  .col-sm-4, .col-sm-10, .col-sm-12 { float: left; }
  .col-sm-12 { width: 100%; }
  .col-sm-10 { width: 83.3333%; }
  .col-sm-4 { width: 33.3333%; }
  .col-sm-offset-1 { margin-left: 8.33333%; }
}
@media (min-width: 992px) {
  .col-md-4, .col-md-6, .col-md-8, .col-md-10, .col-md-12 { float: left; }
  .col-md-12 { width: 100%; }
  .col-md-10 { width: 83.3333%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-4 { width: 33.3333%; }
  .col-md-offset-4 { margin-left: 33.3333%; }
  .col-md-offset-1 { margin-left: 8.33333%; }
}
@media (min-width: 1200px) {
  .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-12 { float: left; }
  .col-lg-12 { width: 100%; }
  .col-lg-8 { width: 66.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-4 { width: 33.3333%; }
}
label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: 700; }
input[type="checkbox"] { margin: 4px 0px 0px; line-height: normal; }
input[type="checkbox"]:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
.form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857143; color: #555555; background-color: #ffffff; background-image: none; border: 1px solid #cccccc; border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
.form-control:focus { border-color: #66afe9; outline: 0px; box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset, rgba(102, 175, 233, 0.6) 0px 0px 8px; }
.form-control::-webkit-input-placeholder { color: #777777; }
textarea.form-control { height: auto; }
.form-group { margin-bottom: 15px; }
.checkbox { position: relative; display: block; min-height: 20px; margin-top: 10px; margin-bottom: 10px; }
.checkbox label { padding-left: 20px; margin-bottom: 0px; font-weight: 400; cursor: pointer; }
/* rows 24px apart (were 20px): WCAG 2.2 target size for the quote form's checkboxes */
.site-form .checkbox label { line-height: 24px; }
.site-form .checkbox input[type="checkbox"] { margin-top: 6px; }
.checkbox input[type="checkbox"] { position: absolute; margin-left: -20px; }
.btn { display: inline-block; padding: 6px 12px; margin-bottom: 0px; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 4px; }
.btn:focus, .btn:active:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
.btn:hover, .btn:focus { color: #333333; text-decoration: none; }
.btn:active { background-image: none; outline: 0px; box-shadow: rgba(0, 0, 0, 0.125) 0px 3px 5px inset; }
.btn-primary { color: #ffffff; background-color: var(--blue); border-color: var(--blue-border); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { color: #ffffff; background-color: var(--blue-hover); border-color: var(--blue-hover-border); }
.btn-primary:active { background-image: none; }
.btn-lg { padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; }
.collapse { display: none; }
.collapse.in { display: block; }
.caret { display: inline-block; width: 0px; height: 0px; margin-left: 2px; vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; }
.dropdown { position: relative; }
.dropdown-toggle:focus { outline: 0px; }
.dropdown-menu { position: absolute; top: 100%; left: 0px; z-index: 1000; display: none; float: left; min-width: 160px; padding: 5px 0px; margin: 2px 0px 0px; font-size: 14px; text-align: left; list-style: none; background-color: #ffffff; background-clip: padding-box; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 4px; box-shadow: rgba(0, 0, 0, 0.176) 0px 6px 12px; }
.dropdown-menu > li > a { display: block; padding: 3px 20px; clear: both; font-weight: 400; line-height: 1.42857143; color: #333333; white-space: nowrap; }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { color: #262626; text-decoration: none; background-color: #f5f5f5; }
.open > .dropdown-menu { display: block; }
.open > a { outline: 0px; }
.nav { padding-left: 0px; margin-bottom: 0px; list-style: none; }
.nav > li { position: relative; display: block; }
.nav > li > a { position: relative; display: block; padding: 10px 15px; }
.nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; }
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: var(--blue); }
.navbar { position: relative; min-height: 50px; margin-bottom: 20px; border: 1px solid transparent; }
@media (min-width: 768px) {
  .navbar { border-radius: 4px; }
  .navbar-header { float: left; }
}
.navbar-collapse { padding-right: 15px; padding-left: 15px; overflow-x: visible; border-top: 1px solid transparent; box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 0px inset; }
.navbar-collapse.in { overflow-y: auto; }
@media (min-width: 768px) {
  .navbar-collapse { width: auto; border-top: 0px; box-shadow: none; }
  .navbar-collapse.collapse { padding-bottom: 0px; display: block !important; height: auto !important; overflow: visible !important; }
  .navbar-collapse.in { overflow-y: visible; }
  .navbar-static-top .navbar-collapse { padding-right: 0px; padding-left: 0px; }
}
.container > .navbar-header, .container > .navbar-collapse { margin-right: -15px; margin-left: -15px; }
@media (min-width: 768px) {
  .container > .navbar-header, .container > .navbar-collapse { margin-right: 0px; margin-left: 0px; }
}
.navbar-static-top { z-index: 1000; border-width: 0px 0px 1px; }
@media (min-width: 768px) {
  .navbar-static-top { border-radius: 0px; }
}
.navbar-brand { float: left; height: 50px; padding: 15px; font-size: 18px; line-height: 20px; }
.navbar-brand:hover, .navbar-brand:focus { text-decoration: none; }
.navbar-toggle { position: relative; float: right; padding: 9px 10px; margin-top: 8px; margin-right: 15px; margin-bottom: 8px; background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 4px; }
.navbar-toggle:focus { outline: 0px; }
.navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; }
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }
@media (min-width: 768px) {
  .navbar-toggle { display: none; }
}
.navbar-nav { margin: 7.5px -15px; }
.navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; }
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0px; background-color: transparent; border: 0px; box-shadow: none; }
  .navbar-nav .open .dropdown-menu > li > a { padding: 5px 15px 5px 25px; }
  .navbar-nav .open .dropdown-menu > li > a { line-height: 20px; }
  .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; }
}
@media (min-width: 768px) {
  .navbar-nav { float: left; margin: 0px; }
  .navbar-nav > li { float: left; }
  .navbar-nav > li > a { padding-top: 15px; padding-bottom: 15px; }
}
.navbar-nav > li > .dropdown-menu { margin-top: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; }
.navbar-inverse { background-color: #222222; border-color: #080808; }
.navbar-inverse .navbar-brand { color: #777777; }
.navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { color: #ffffff; background-color: transparent; }
.navbar-inverse .navbar-nav > li > a { color: #777777; }
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #ffffff; background-color: transparent; }
.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #ffffff; background-color: #080808; }
.navbar-inverse .navbar-toggle { border-color: #333333; }
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: #333333; }
.navbar-inverse .navbar-toggle .icon-bar { background-color: #ffffff; }
.navbar-inverse .navbar-collapse { border-color: #101010; }
.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { color: #ffffff; background-color: #080808; }
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #777777; }
  .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { color: #ffffff; background-color: transparent; }
}
.clearfix::before, .clearfix::after, .container::before, .container::after, .row::before, .row::after, .nav::before, .nav::after, .navbar::before, .navbar::after, .navbar-header::before, .navbar-header::after, .navbar-collapse::before, .navbar-collapse::after { display: table; content: " "; }
.clearfix::after, .container::after, .row::after, .nav::after, .navbar::after, .navbar-header::after, .navbar-collapse::after { clear: both; }
.pull-right { float: right !important; }

/* 4. Site styles */
/* from legacy carousel.css (load-bearing: default text color, and the wrapper around the whole page) */
body { padding-bottom: 40px; color: var(--text); }
.navbar-wrapper { position: absolute; top: 0; right: 0; left: 0; z-index: 20; }
.navbar-wrapper > .container { padding-right: 0; padding-left: 0; }
.navbar-wrapper .navbar { padding-right: 15px; padding-left: 15px; }
.navbar-wrapper .navbar .container { width: auto; }
@media (min-width: 768px) {
  .navbar-wrapper { margin-top: 0; }
  .navbar-wrapper .container { padding-right: 15px; padding-left: 15px; }
  .navbar-wrapper .navbar { padding-right: 0; padding-left: 0; border-radius: 4px; }
}

/* ---- legacy style.css (paths and renamed selectors updated) ---- */
body {
	margin: 0; 
	border-top: 5px solid var(--navy);
	font-family: 'Lato', sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}


.navbar.navbar-inverse.navbar-static-top {
	background: #fff;
	border: 0;
	border-radius: 0;
	margin-top: 5px;
	margin-bottom: 0px;
	height: 108px;
}

.carriers img {
	padding: 10px 0;
}
.navbar-nav>li>a {
	margin-top: 60px;
}

.navbar-inverse .navbar-nav>li>a {
	color: var(--nav-gray);
	font-weight:bold;
}

.navbar-inverse .navbar-nav>li>a:hover {
	color: #000;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
	color: var(--nav-gray);
	background: none;
}

input, textarea { color: #000; }
.placeholder { color: #aaa; }

.contact {
	text-align: right;
	position: absolute;
	right: 0;
	top: 10px;
	color: var(--green-text);
	font-size: 16px;
	z-index: 9999;
}

.contact a {
	color: var(--green-text);
}

.dropdown:hover .dropdown-menu {
	display: block;
}

h1.smallerheading {
	font-size: 44px!important;
}

.carousel-caption {
	text-shadow:none;
	text-align: left;
	color: var(--gray);
}

.carousel-caption h1 {
	font-family: 'Lora', serif;
	color: var(--navy);
	font-size: 72px;
	font-weight: bold;
}

.caption {
	text-shadow:none;
	text-align: left;
	color: var(--gray);
	position: relative;
	top: 100px;
}

.caption h1, .interior-head h1 {
	font-family: 'Lora', serif;
	color: var(--navy);
	font-size: 52px;
	font-weight: bold;
}


.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
	background-color: #555;
}

.cta-section {
	background: #ffffff; /* Old browsers */
}

.marketing h2 {
	font-size: 30px;
	font-weight: bold;
}

.marketing h2 a {
	color: var(--green-text);
}

a.learn {
	font-size: 16px;
	color: var(--green);
}

.carousel {
  margin-bottom: 10px;
  min-height: 300px;
  border-top: 1px solid #ccc
}

.dropdown:hover {
	color: #000;
}

.btn { border-radius:5px!important;}

.dropdown-toggle:hover {
	color: #000;
}

.bluebg {
	background: #fff;
	margin-bottom: 65px;
}

.p { font-size:16px;line-height:1.5em;}
.home-head {
	min-height: 380px;
	border-top: 1px solid var(--navy);
	background-position: right;
}

.interior-head {
background: url('/assets/img/interior-head.png') no-repeat var(--light-bg);
	background: image-set(url('/assets/img/interior-head.webp') type('image/webp'), url('/assets/img/interior-head.png') type('image/png')) no-repeat var(--light-bg);
	min-height: 250px;
	border-top: 1px solid var(--navy);
	background-position: right;
}

.interior-head.personal {
background: url('/assets/img/personal-header-trans.png') no-repeat var(--light-bg);
	background: image-set(url('/assets/img/personal-header-trans.webp') type('image/webp'), url('/assets/img/personal-header-trans.png') type('image/png')) no-repeat var(--light-bg);
	min-height: 250px;
	border-top: 1px solid var(--navy);
	background-position: right;
}

.interior-head.commercial {
background: url('/assets/img/com-revised-trans.png') no-repeat var(--light-bg);
	background: image-set(url('/assets/img/com-revised-trans.webp') type('image/webp'), url('/assets/img/com-revised-trans.png') type('image/png')) no-repeat var(--light-bg);
	min-height: 250px;
	background-position: right;
}

.interior-head.marine {
background: url('/assets/img/marine-header-trans.png') no-repeat var(--light-bg);
	background: image-set(url('/assets/img/marine-header-trans.webp') type('image/webp'), url('/assets/img/marine-header-trans.png') type('image/png')) no-repeat var(--light-bg);
	min-height: 250px;
	border-top: 1px solid var(--navy);
	background-position: right;
}

.interior-head.contactus {
background: url('/assets/img/contact-head.jpg') no-repeat var(--light-bg);
	background: image-set(url('/assets/img/contact-head.webp') type('image/webp'), url('/assets/img/contact-head.jpg') type('image/jpeg')) no-repeat var(--light-bg);
	min-height: 250px;
	border-top: 1px solid var(--navy);
	background-position: right;
}

.interior-head h1 {
	max-width: 600px;
	position: relative;
	top: 70px;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
}

.sidebar {
	background: var(--light-bg);
}
.interior h2 { margin-bottom:30px!important;}
.cta {
	/* border-top: 1px solid #ccc; */
	padding-top: 30px;
	margin-top: 30px;
}

.blue {
	background: var(--button-gray);
	border-bottom: 2px solid var(--navy);
	padding-top: 13px;
	padding-bottom: 13px;
}

.centerlogos {
	text-align: center;
}

.sidebar h2 {
	color: var(--green-text);
	font-size: 18px;
}

.interior {
	margin-bottom: 30px;
}
.interior h2 {
	color: var(--green);
	font-size: 30px;
	font-weight: bold;
}
.interior p {
	font-size: 16px;
	line-height: 1.5;
	color: var(--text-dark);
}
.greenbg {
	background: var(--green);
	border-radius: 5px;
	padding: 50px 0;
	margin: 30px 0;
}
.sidebar { border-radius:5px!important; margin-top:30px!important;}

.greenbg p {
	color: white;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	margin-bottom: 0;
}

.greenbg p a {
	
	text-decoration:underline;
}

footer {
	border-top: 1px solid var(--gray);
	padding-top: 15px;
}


.marketing .col-sm-4 {
  margin-bottom: 20px;
  text-align: center;
}

.marketing .col-sm-4 p {
	
	font-size: 16px;
	color: #4b4b4b;
	line-height: 1.5;
	text-align: left;
	padding-top:1em;
}

p.pull-right.footernav a {
	color: var(--navy);
	margin: 0 10px;
}

label#name-error {
color: red;
}

label#email-error {
color: red;
}

label#txtCaptcha-error {
	color: red;
}

img#imgCaptcha {
	width: 100%;
	max-width: 200px;
}

#result h1 {
	color: red;
	font-weight: bold;
	font-size: 14px;
	width: 150px;
	margin-left: 15px;
}


.smallheading {
	display: block;
	font-size: 14px;
	color: #002a58;
	text-align: center;
	margin-top: 10px;
margin-bottom: -10px;
}

.submitform {
	float: right;
	padding: 13px 80px;
	margin-right: 15px;
}

.height {
	min-height: 145px;
}

textarea.form-control {
	height: auto;
	margin-top: 20px;
	margin-bottom: 10px;
}

.carousel-control.left {
	background-image: none;
	display: none;
}

.carousel-control.right {
	background-image: none;
	display: none;
}

.radio label, .checkbox label {
	padding-right: 20px;
}

.navbar-inverse .navbar-toggle .icon-bar {
background-color: #000;
}

.navbar-toggle {
	margin-top: 65px;
}

.sidebar h2 {
	padding: 10px;
}
.sidebar p {
	padding: 10px;
}

.sidebar img {
	width: 100%;
	padding: 10px;
}

table.contactinfo {
	margin-top: -20px;
	margin:5px;
	
}
table.contactinfo td {
	padding:5px;
	vertical-align: top;
}
p.employees {
	text-transform: uppercase;
	font-size: 12px;
	margin-bottom: 0px;
	border-top: 1px dashed #C2C2C2;
}

.employee {
	font-weight: bold;
	color: #000;
}

.caption p {
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
}

.mobilebutton {
	display: none;
}








/*********
Responsive
**********/
@media (max-width: 1200px) {

.smallheading {

	width: 100%;
	margin-top: 10px;

}

.sidebar {
	text-align: center;
}

.sidebar img {
	width: 50%;
}

.caption {
	top: 100px;
}
.greenbg { margin-left:15px; margin-right:15px; padding-left:20px;padding-right:20px; }
}


@media (max-width: 991px) {

.navbar.navbar-inverse.navbar-static-top {
	height: 158px;
}

.smallheading {
	padding-right: 0px;
}

.caption {
	background: rgba(0, 0, 0, .4);
	padding: 10px;
}

.caption h1 {
	color: #fff;
	text-align: center;
}

.caption p {
	color: #fff;
	text-align: center;
  text-shadow: none;
}

p.footernav a {
	display: block;
	line-height: 24px; /* was 20px: WCAG 2.2 target size (24px) for the stacked footer links */
}

p.footerlogos {
float: left !important;
}

p.footeraddress {
	float: left;
	display: block;
	width: 100%;
}


}

@media (max-width: 440px) { 

.caption h1 {
	font-size: 36px;
}

a.btn.btn-lg.btn-primary.blue {
	font-size: 12px;

}

}

.showmobile { display:none;}
.hidemobile { display:block;}
a.btn { border:none;}
@media (max-width: 767px) {
.showmobile { display:block;}
.hidemobile { display:none;}
.blue {
	width: 100%;
}

.navbar-inverse .navbar-nav>.open>a, .navbar-inverse .navbar-nav>.open>a:hover, .navbar-inverse .navbar-nav>.open>a:focus {
	display: block;
}
.navbar.navbar-inverse.navbar-static-top {
	height: 108px;
}

.interior-head h1 {
	color: #fff;
	background: rgba(0, 0, 0, .4);
}

.interior-head h1 {
	top: 40px;
}

.navbar-collapse {
	 position: absolute;
	 width: 100%;
	 background-color: #222; 
	 border-bottom: 1px solid #ccc;
	 color: #fff;
}

.navbar-inverse .navbar-nav>li>a {
	margin: 30px 0;
	padding: 0 30px;
}

.navbar-inverse .last .navbar-nav>li>a {
	margin-bottom: 0px;
	border-bottom: 1px solid ;
}

.navbar-inverse .navbar-nav>li>a {
	color: #fff;
}

.navbar-inverse .navbar-nav>li>a:hover {
	color: #eee;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
	color: #fff;
}

.contact {
	font-size: 13px;
}

a.navbar-brand img {
width: 70%;
margin-top: 10px;
}

.caption h1 {
	color: #fff;
}

.caption p {
	color: #fff;
}

.dropdown-menu {
	width: 100%;
	background: #222222;
}

.dropdown-menu>li>a {
	color: #eee;
}

.interior-head h1 {
	text-align: center;
	font-size: 34px;
	padding: 10px;
}

h1.smallerheading {
	font-size: 28px!important;
	text-shadow: none!important;
}

a.btn.btn-lg.btn-primary.blue {
margin: 10px 0;
font-size: 14px;
background-color:var(--navy);
}

.smallheading {
	font-size: 14px;
}

.cta {
	text-align: center;
}


.dropdown-menu {
	position: relative;
	display: initial;
	box-shadow: none;
	border: 0px solid ;
}

.navbar-nav>li>.dropdown-menu {
	padding: 15px 0;
}

.navbar-nav>li>.dropdown-menu {
	margin-top: -32px;
	padding-left: 20px;
	}

.dropdown-menu > li > a:hover {
	background: transparent;
	color: #fff;
}

}


@media (max-width: 363px) {

a.navbar-brand img {
width: 70%;
margin-top: -100px;
}

.navbar-collapse.pull-right.collapse.in {
	margin-top: -30px;
}
.mobilebutton {
	display: inline;
}

.nonemobile {
	display: none;
}


}






@media (max-width: 520px) {


.caption h1 {
	color: #fff;
}
.caption {
	top: 40px;
	color: #fff;
}

.sidebar img {
width: 100%;
}

p.footernav {
	width: 100%;
	text-align: center;
}

.section-4 p {
	width: 100%;
	text-align: center;
}

}

@media (max-width: 497px) {
	.contact {
		display: none;
	}

	.navbar-toggle {
	margin-top: 35px;
	}

	.navbar-collapse {
		margin-top: 30px;
	}
}

@media (min-width: 768px) {

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4;
  }

  .caption p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.4;
  }
}

/* ---- replacements for the legacy inline styles and page <style> blocks ---- */
.home-head { background-repeat: no-repeat; background-color: var(--light-bg); background-position: right; border-bottom: 1px var(--gray) solid; }
.home-head.hero-1 { background-image: url('/assets/img/header-1.png'); background-image: image-set(url('/assets/img/header-1.webp') type('image/webp'), url('/assets/img/header-1.png') type('image/png')); }
.home-head.hero-2 { background-image: url('/assets/img/header-2.png'); background-image: image-set(url('/assets/img/header-2.webp') type('image/webp'), url('/assets/img/header-2.png') type('image/png')); }
.home-head.hero-3 { background-image: url('/assets/img/header-3.png'); background-image: image-set(url('/assets/img/header-3.webp') type('image/webp'), url('/assets/img/header-3.png') type('image/png')); }
.home-head.hero-4 { background-image: url('/assets/img/header-4.png'); background-image: image-set(url('/assets/img/header-4.webp') type('image/webp'), url('/assets/img/header-4.png') type('image/png')); }
.cta-intro { padding-bottom: 3em; }
.cta-intro h2 { text-align: center; }
.cta-intro .cta-lead { text-align: center; font-size: 18px; line-height: 1.5em; }
.learnmore { font-weight: bold; }
.learnmore-call { margin-top: 1em; }
.marketing .col-sm-4 p.height { text-align: center; min-height: 145px; }
.marketing .height img { width: 175px; height: auto; }
.learnmore, .learnmoreright, .learn { text-align: center !important; padding-top: .5em; vertical-align: bottom !important; }

.form-message-success { text-align: center; padding-top: 10px; }
.form-message-failure { color: var(--error); font-weight: bold; }
.sidebar iframe { width: 100%; height: 150px; border: 0; }

/* claims page (was an inline <style>) */
ul#claimlist li { list-style-type: none; }
ul#claimlist > li { clear: left; border-top: 1px dashed #bbb; margin-top: 1.75em; }
p.cname { font-size: 1.5em; font-weight: bold; min-width: 250px; float: left; }
span.typelabel { display: inline-block; min-width: 10ch; font-weight: bold; }
span.typenum { display: inline-block; min-width: 15ch; }
ul.numbers { padding-top: .3em; }
ul.numbers li.mobile { display: none; }
@media (max-width: 797px) {
  ul.numbers li.desktop { display: none; }
  ul.numbers li.mobile { display: block; }
  ul.numbers { clear: left; }
}

/* skip link */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 10000; padding: 8px 16px; background: #fff; color: var(--navy); font-weight: bold; }
.skip-link:focus { top: 8px; }

/* dropdown: the caret is a button (keyboard / touch open), placed where the caret used to be */
.navbar-nav > .dropdown > .dropdown-toggle { padding-right: 27px; }
.dropdown-btn { position: absolute; right: 0; bottom: 0; height: 50px; width: 30px; padding: 0 15px 0 0; border: 0; background: none; color: inherit; line-height: 1; }
.dropdown:focus-within .dropdown-menu, .dropdown.is-open .dropdown-menu { display: block; }
@media (max-width: 767px) {
  /* The submenus are always expanded on phones (as before), so the button isn't needed; the caret is drawn on the link */
  .dropdown-btn { display: none; }
  .navbar-nav > .dropdown > .dropdown-toggle { padding-right: 30px; }
  .navbar-nav > .dropdown > .dropdown-toggle::after { content: ''; display: inline-block; width: 0; height: 0; margin-left: 6px;
    vertical-align: middle; border-top: 4px solid; border-right: 4px solid transparent; border-left: 4px solid transparent; }
}

.dropdown.closed .dropdown-menu { display: none !important; }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }


/* 5. Additions */
/* Carrier logo strip: CSS marquee replacing the old Jssor slider. Same 170px slots and 84px height; same speed
   (Jssor moved one 170px slot per 6 s = 28.3 px/s, so 15 logos = 2550px take 90 s); pauses on hover/focus. */
.carriers { display: flex; clear: both; overflow: hidden; height: 84px; }
.carriers-track { display: flex; flex: none; margin: 0; padding: 0; list-style: none; animation: carriers-scroll 90s linear infinite; }
.carriers-track li { flex: none; width: 170px; }
.carriers img { display: block; }
.carriers:hover .carriers-track, .carriers:focus-within .carriers-track { animation-play-state: paused; }
@keyframes carriers-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .carriers { height: auto; justify-content: center; }
  .carriers-track { flex-wrap: wrap; justify-content: center; animation: none; }
  .carriers-track[aria-hidden="true"] { display: none; }
}

/* Images carry width/height attributes (no layout shift while loading); CSS widths then scale them proportionally */
img[width][height] { height: auto; }

/* Links on the light sidebar background need a slightly darker blue for AA contrast */
.sidebar a { color: var(--link-on-light); }

/* The "Click" link in the green band was Bootstrap blue on green (unreadable); white + underline like the band text */
.greenbg p a { color: #fff; }
/* Links inside running text are underlined, so they don't rely on color alone */
.interior p a { text-decoration: underline; }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, iframe:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
.navbar-nav a:focus-visible, .dropdown-btn:focus-visible { outline-offset: -2px; }

/* Form fields: the old empty <label>s put a 20px line above each text input; the labels are now visually hidden,
   so the same space is kept as a margin */
/* flow-root keeps that margin from collapsing into the group's bottom margin when the fields stack (< 992px),
   matching the old layout, where the label line was real content */
.site-form .form-group:has(> input.form-control) { display: flow-root; }
.site-form .form-group > input.form-control { margin-top: 20px; }

/* Form validation messages */
.field-error { display: block; margin-top: 4px; color: var(--error); font-size: 13px; font-weight: bold; }
.form-control[aria-invalid="true"] { border-color: var(--error); }
