/* ============================================================
   Tipton Community Insurance (Community Insurance Services) - bws.scss
   Single source of truth for the site's look & feel.

   A straight port of the Concrete5 "tipton" theme (Foundation 5 +
   main.css), so nothing changes visually: blue #1b14a4, charcoal
   #343434 / #242727, grey #efefef / #f0f0f0, Roboto + Roboto Condensed.

   Built the usual BWS way on Bulma: <section> bands (white, light,
   dark, blue + reverse), .container > .columns > .column is-N, the
   .button and .navbar components, and the .footer.
   ============================================================ */
@import url(css/bulma.css);
/* Fonts are served from /fonts (variable woff2, latin subset), not Google. */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/roboto-latin.woff2) format("woff2"); }
@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/roboto-condensed-latin.woff2) format("woff2"); }
/* ---------- Palette ---------- */
/* brand blue - buttons, CTA band, hover, headings accent */
/* body text */
/* top navigation */
/* dark bands (carrier list) */
/* panes, thumbnail borders */
/* page-title bar */
/* pane border */
/* ---------- Type ---------- */
/* ---------- Metrics ---------- */
/* 1000px content width */
/* ---------- Base ---------- */
body {
  background: #fff;
  color: #222;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  position: relative; }

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle; }

.text-center {
  text-align: center; }

.text-right {
  text-align: right; }

/* ---------- Type ---------- */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -.5em; }

sub {
  bottom: -.25em; }

p, ul, li {
  font-family: "Roboto", sans-serif;
  color: #222;
  font-weight: 300;
  font-size: 1.24rem; }

p {
  line-height: 1.6;
  margin: 0 0 1.25rem; }

ul {
  line-height: 1.6;
  margin: 0 0 1.25rem 15px;
  padding: 0;
  list-style: disc inside; }

li {
  margin: 0;
  padding: 0; }

ul ul {
  margin-left: 1.25rem;
  margin-bottom: 0; }

ol {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  margin: 0 0 1.25rem 15px;
  padding: 0;
  list-style: decimal inside; }

strong {
  font-weight: bold;
  color: inherit; }

a {
  transition: color .5s;
  color: #1b14a4;
  text-decoration: none; }

a:hover {
  transition: color .5s;
  color: #222; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 300;
  line-height: 1;
  color: #222;
  margin: .2rem 0 .5rem; }

h1 {
  font-weight: 200;
  font-size: 52px;
  margin-top: 3px;
  margin-bottom: 25px; }

h2 {
  font-weight: 300;
  font-size: 27px;
  margin-top: 3px;
  margin-bottom: 23px; }

h3 {
  font-weight: 300;
  font-size: 27px;
  margin-top: 15px;
  margin-bottom: 5px;
  line-height: 1.2; }

h4 {
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  margin: .2rem 0 .5rem; }

hr {
  margin: 40px 45%;
  border: solid #1b14a4;
  border-width: 3px 0 0;
  background: none;
  clear: both;
  height: 0; }

/* ---------- Grid (Bulma .container / .columns / .column, tuned to the original 1000px / 15px gutter grid) ---------- */
.container {
  max-width: 62.5rem !important;
  width: 100%; }

.columns, .columns:last-child {
  margin: 0; }

.columns:not(:last-child) {
  margin-bottom: 0; }

.column {
  display: flow-root;
  padding: 0 0.9375rem; }

/* flow-root keeps a column's last margin inside it, like the old floats */
/* The original Foundation grid stayed side by side down to 641px; Bulma stacks columns at 769px.
   Keep the original tablet layout so nothing changes between the two. */
@media only screen and (min-width: 641px) and (max-width: 768px) {
  .columns {
    display: flex; }

  .column.is-1 {
    flex: none;
    width: 8.33333%; }

  .column.is-2 {
    flex: none;
    width: 16.66667%; }

  .column.is-3, .column.is-3-tablet {
    flex: none;
    width: 25%; }

  .column.is-4 {
    flex: none;
    width: 33.33333%; }

  .column.is-5 {
    flex: none;
    width: 41.66667%; }

  .column.is-6, .column.is-6-tablet {
    flex: none;
    width: 50%; }

  .column.is-7 {
    flex: none;
    width: 58.33333%; }

  .column.is-8 {
    flex: none;
    width: 66.66667%; }

  .column.is-9 {
    flex: none;
    width: 75%; }

  .column.is-10 {
    flex: none;
    width: 83.33333%; }

  .column.is-11 {
    flex: none;
    width: 91.66667%; }

  .column.is-12 {
    flex: none;
    width: 100%; } }
/* ---------- Top navigation (Bulma navbar, CSS-only burger) ---------- */
.site-nav {
  background: #343434;
  position: relative;
  z-index: 5; }

.site-nav .navbar {
  background: #343434;
  display: block;
  min-height: 44px;
  position: relative;
  z-index: auto; }

.site-nav .menutext {
  position: absolute;
  right: 40px;
  top: 50%;
  height: 34px;
  margin: -17px 0 0;
  padding: 0 0 0 .9375rem;
  color: #fff;
  font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
  font-size: .8125rem;
  font-weight: bold;
  line-height: 33px;
  text-transform: uppercase;
  cursor: pointer; }

.site-nav .navbar-burger {
  display: block;
  position: absolute;
  right: 0;
  top: 50%;
  width: 40px;
  height: 34px;
  margin: -17px 0 0;
  background: transparent;
  color: #fff;
  cursor: pointer; }

.site-nav .navbar-burger:hover {
  background: transparent; }

.site-nav .navbar-burger span {
  left: 9px;
  height: 2px;
  width: 16px; }

.site-nav .navbar-burger span:nth-child(1) {
  top: calc(50% - 9px); }

.site-nav .navbar-burger span:nth-child(2) {
  top: calc(50% - 2px); }

.site-nav .navbar-burger span:nth-child(3) {
  top: calc(50% + 5px); }

#menu-toggle:focus-visible ~ .navbar-burger {
  outline: 2px solid #fff; }

.site-nav .navbar-menu {
  display: none;
  background: #343434;
  box-shadow: none;
  padding: 0; }

#menu-toggle:checked ~ .navbar-menu {
  display: block; }

.site-nav .navbar-start {
  display: block;
  margin: 0; }

.site-nav .navbar-item, .site-nav .navbar-link {
  display: block;
  background: #343434;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4rem;
  text-align: center;
  padding: 5px 1.3rem; }

.site-nav .navbar-item.has-dropdown {
  display: block;
  padding: 0;
  background: #343434; }

.site-nav a.navbar-item:hover, .site-nav a.navbar-item:focus, .site-nav a.navbar-item.is-active,
.site-nav .navbar-link:hover, .site-nav .navbar-link:focus, .site-nav .navbar-link.is-active,
.site-nav .has-dropdown:hover > .navbar-link {
  background: #222;
  color: #fff; }

.site-nav .navbar-link:not(.is-arrowless)::after {
  display: none; }

.site-nav .navbar-dropdown {
  display: block;
  position: static;
  background: #222;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  min-width: 0;
  font-size: 17px; }

.site-nav .navbar-dropdown a.navbar-item {
  background: #222;
  font-size: 17px;
  text-transform: none;
  padding: 5px 1.3rem;
  white-space: normal; }

.site-nav .navbar-dropdown a.navbar-item:hover, .site-nav .navbar-dropdown a.navbar-item:focus {
  background: #1b14a4; }

.site-nav .navbar-dropdown a.navbar-item.is-active {
  background: #222; }

.site-nav .navbar-start > :last-child, .site-nav .navbar-dropdown > :last-child {
  margin-bottom: 15px; }

@media only screen and (min-width: 828px) {
  .site-nav .navbar-item, .site-nav .navbar-link {
    font-size: 16px;
    text-transform: uppercase; } }
@media only screen and (min-width: 70.0625em) {
  .site-nav .navbar {
    display: flex;
    justify-content: flex-end;
    min-height: 0;
    height: 30px;
    overflow: visible; }

  .site-nav .menutext, .site-nav .navbar-burger {
    display: none; }

  .site-nav .container .navbar .navbar-menu {
    display: block;
    flex-grow: 0;
    margin: 0; }

  /* beats Bulma's .container > .navbar .navbar-menu */
  .site-nav .navbar-start {
    display: flex; }

  .site-nav .navbar-item, .site-nav .navbar-link {
    padding: 4px 20px; }

  .site-nav .navbar-start > :last-child, .site-nav .navbar-dropdown > :last-child {
    margin-bottom: 0; }

  .site-nav .has-dropdown {
    position: relative; }

  .site-nav .has-dropdown > .navbar-link, .site-nav .has-dropdown > .navbar-link.is-active {
    padding-right: 35px;
    background: #343434;
    position: relative; }

  .site-nav .has-dropdown > .navbar-link:hover, .site-nav .has-dropdown > .navbar-link:focus {
    background: #1b14a4; }

  .site-nav .navbar-link:not(.is-arrowless)::after {
    content: "";
    display: block;
    height: 0;
    width: 0;
    border: 5px inset;
    border-color: #fff transparent transparent transparent;
    border-top-style: solid;
    border-radius: 0;
    transform: none;
    margin-top: -2.5px;
    margin-right: -5px;
    position: absolute;
    top: 50%;
    right: 25px; }

  .site-nav .navbar-dropdown {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 99;
    min-width: 200px;
    margin-top: -2px; }

  .site-nav .has-dropdown:hover > .navbar-dropdown, .site-nav .has-dropdown:focus-within > .navbar-dropdown {
    display: block; }

  .site-nav .navbar-dropdown a.navbar-item {
    text-align: left;
    padding: 5px 20px;
    white-space: nowrap; } }
/* ---------- Sections (white, light, dark, blue bands; flush-* trims the 4% padding) ---------- */
section {
  padding: 4% 0; }

section.flush-bottom {
  padding-bottom: 0; }

section.flush-top {
  padding-top: 0; }

section.flush {
  padding-top: 0;
  padding-bottom: 0; }

section.dark {
  background: #242727; }

section.light {
  background: #f0f0f0; }

section.blue {
  background: #1b14a4; }

section.white {
  background: #fff; }

section p {
  font-weight: 300;
  font-size: 1.24rem; }

section strong {
  font-weight: 800; }

section p a {
  font-weight: 800; }

section.narrow .container {
  max-width: 480px !important; }

section.page-title {
  padding-top: 2%;
  padding-bottom: 2%; }

section.page-title h1 {
  color: #222;
  text-shadow: 1px 1px 0px #fff;
  margin-bottom: 0; }

section.masthead {
  box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.55);
  position: relative;
  z-index: 2;
  padding-top: 30px;
  padding-bottom: 30px; }

section.masthead p {
  margin-bottom: 0px; }

.masthead-contact {
  padding-top: 20px;
  text-align: right; }

.masthead .column:first-child {
  text-align: center; }

.masthead img {
  width: 100%;
  max-width: 220px; }

/* the logo's width in the desktop layout; never wider, centered in its column */
main.page-body {
  display: block;
  box-shadow: 0px 0px 4px rgba(50, 50, 50, 0.55);
  z-index: 3; }

section.cta h2 {
  font-size: 48px; }

section.cta img {
  margin-bottom: 30px; }

section.cta p {
  font-size: 21px;
  font-weight: 300;
  padding-left: 17%;
  padding-right: 17%; }

section.cta .button {
  margin-bottom: 0; }

section.dark.reverse h3 {
  font-size: 30px;
  margin-bottom: 8px; }

/* Home page banner */
section.banner {
  padding: 0;
  background-color: #343434;
  background-image: url(images/community-insurance-home-banner.jpg);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center top; }

body.index section.banner h1 {
  font-size: 30px;
  line-height: 40px;
  text-shadow: 1px 1px 0px #000;
  padding: 6% 6% 6% 55%; }

/* ---------- Buttons (Bulma .button, restyled) ---------- */
.button {
  display: inline-block;
  position: relative;
  height: auto;
  background: #1b14a4;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 1.24rem;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  vertical-align: baseline;
  white-space: normal;
  padding: 1rem 2rem 1.0625rem;
  margin: 0 0 1.25rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  transition: background .5s; }

.button:hover, .button:focus, .button:active {
  background: #1b14a4;
  color: #fff;
  box-shadow: none; }

.reverse .button {
  background: #fff;
  color: #1b14a4;
  text-decoration: none; }

.reverse .button:hover, .reverse .button:focus {
  background: #222;
  color: #fff; }

/* ---------- Page content ---------- */
main img {
  border: 10px solid #efefef;
  margin-bottom: 20px; }

main .noborders img {
  border: 0 solid #fff;
  display: block;
  margin-left: auto;
  margin-right: auto; }

main ul {
  margin-left: 40px;
  border-left: 2px solid #f0f0f0;
  padding: 0 0 0 12px; }

main ul ul {
  margin-left: 1.25rem;
  border-left: 0 solid #f0f0f0; }

/* Carrier panes (Claims, Pay a Bill) */
.carrier {
  background: #fff;
  border: solid 15px #e6e6e6;
  margin: 0 0 22px 0;
  padding: 45px 15px 25px 15px;
  text-align: center; }

main .carrier img {
  margin: 0 auto;
  max-width: 200px;
  height: auto;
  border: 0 solid #fff; }

.carrier .button {
  width: 80%;
  background: #c9c9c9;
  border: 1px solid #9d9d9d; }

.carrier .button:hover {
  background: #b3b3b3; }

main .carrier ul {
  text-align: left; }

/* Grey call-out box (Privacy page, Auto, Farm) */
.callout {
  background: #efefef;
  border: 1px solid #e2dedc;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  color: #333; }

.callout p, .callout h3 {
  color: #222; }

.callout p:last-of-type {
  margin-bottom: 0; }

.callout > :first-child {
  margin-top: 0; }

.callout > :last-child {
  margin-bottom: 0; }

/* "Jump to" bar on the Privacy / Cookie page, phones only (the policies sit side by side above that) */
.jump-nav {
  display: none; }

@media only screen and (max-width: 640px) {
  .jump-nav {
    display: block; } }
/* FAQ questions are bigger than other h2s */
body.faq main h2 {
  margin-top: 45px;
  font-size: 37px; }

/* Spacing carried over from the Concrete5 block style sets */
.gap-top, .columns.gap-top {
  margin-top: 30px; }

.gap-bottom, .columns.gap-bottom {
  margin-bottom: 20px; }

/* Contact page map */
.embed-container {
  position: relative;
  padding-bottom: 80%;
  height: 0;
  overflow: hidden;
  max-width: 100%; }

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }

/* ---------- Footer (Bulma .footer, restyled) ---------- */
.footer {
  padding: 4% 3% 3% 3%;
  color: #f0f0f0;
  line-height: 1.25;
  background: transparent; }

.footer p {
  margin-bottom: 5px;
  font-size: 14px; }

.footer a {
  color: #222;
  font-size: 15px;
  font-weight: bold; }

.footer h3 {
  margin-top: -10px;
  font-size: 48px;
  font-weight: 300;
  color: #222;
  margin-bottom: 0; }

.footer-list div {
  margin: 0; }

/* ---------- Responsive ---------- */
@media only screen and (max-width: 930px) {
  body.index section.banner h1 {
    padding: 55% 20px 6% 20px; } }
@media only screen and (max-width: 767px) {
  body.index section.banner h1 {
    padding: 380px 20px 6% 20px; }

  section.masthead p, .masthead-contact {
    text-align: center; } }
@media only screen and (max-width: 640px) {
  .footer p, .footer h3 {
    text-align: center;
    margin-top: 30px; }

  .footer .column {
    padding-left: 20px; } }
/* ---------- Reverse (white text on dark/blue) - keep last ---------- */
.reverse, .reverse p, .reverse h1, .reverse h2, .reverse h3, .reverse h4, .reverse ul, .reverse li {
  color: #fff; }

.reverse a {
  color: #fff;
  text-decoration: underline; }

.reverse a:hover {
  color: #fff;
  text-decoration: none; }

.reverse .button, .reverse a.button {
  text-decoration: none; }

.reverse a.button {
  color: #1b14a4; }

.reverse a.button:hover {
  color: #fff; }
