/*
Theme Name: History
Theme URI: https://history.delaware.gov
Author URI: http://gic.delaware.gov
Description: Custom WordPress theme designed exclusively for the Division of Historical & Cultural Affairs (HCA).
Version: CLF 4.0.1
Tags: Bootstrap, mobile first, State of Delaware
Text Domain: dosgic_HISTORY_theme
*/
/* ########################################################### */
/*  D E V E L O P E R   C U S T O M I Z A B L E   S T Y L E S  */
/*  State of Delaware - CLF4 2017  */
/*  Developed by the GIC (Matt Campbell & Julianne Solum)      */
/* ##########################################################  */

:root {
  --hca-maroon: #7f1817;
  --hca-green: #105b63;
  --text-link-color: #03538c;
  /* JDP colors */
  --historic-brown: #2f260c;
  --stories-gold: #bb8302;
  --eggshell: #fbf9f5;
  --beige: #f0eeea;
  --sand: #f4ebdc;
  --cream: #F8F4EE;
  /* LGBTQ Colors */
  --lgbtq-peach: #EA918F;
  --lgbtq-yellow: #ECCE83;
  --lgbtq-green: #6FADA6;
  --lgbtq-pink: #EAD9EA;
  --lgbtq-purple: #AF7EAF;
  --offwhite: #F7F6F5;

  /* other */

  --body-color: var(--charcoal);
  --text-link: var(--text-link-color);
  --heading-color-primary: var(--hca-maroon);
  --heading-color-secondary: var(--hca-green);
  --heading-color-tirtiary: var(--dark-charcoal);

  --primary-font: "Open Sans", sans-serif;
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {

  /* ============================= ELEMENTS ============================= */
  /* TODO CLEANUP - moved to clf4 */
  /* html {
    position: relative;
    min-height: 100%;
    -webkit-font-smoothing: antialiased !important;
  } */

  /* TODO CLEANUP - moved to clf4 */
  /* body { */
  /* TODO CLEANUP - moved to clf4 and removed !important */
  /* font-size: 1.6rem !important; */

  /* TODO CLEANUP - moved to clf4 */
  /* font-family: "Open Sans", sans-serif !important; */
  /* min-height: 100%; */
  /* -webkit-font-smoothing: antialiased !important; */

  /* TODO CLEANUP - remove as part of overlap fix. */
  /* padding-bottom: 980px; */
  /* } */


  /*
   * Typography
   */
  .hca h1 {
    color: var(--heading-color-primary, #581010);
  }

  .hca h2,
  #segregatedSands h2 {
    color: var(--heading-color, #105b63);
  }

  .hca h3,
  .hca h4,
  .hca h5 {
    color: var(--heading-color-tirtiary, #222);
  }

  .hca h6 {
    color: var(--heading-color-secondary, #105b63);
  }

  /* Heading font stack */
  .hca h1,
  .hca h2 {
    font-family: "Raleway", sans-serif;
  }

  .hca h4,
  .hca h5,
  .hca h6 {
    font-family: "Open Sans", sans-serif;
  }

  /* Heading sizes & weights & line-height */
  .hca h1 {
    font-size: 4.0rem;
    font-weight: 900;
    letter-spacing: 0.54px;
  }

  .hca h2 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1em;
  }

  body:is(.home) .hca h2 {
    font-family: "Raleway", sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 15px;
  }

  #segregatedSands h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.1em;
  }

  #segregatedSands h2.secondary {
    color: #000;
    font-weight: 400;
  }

  #segregatedSands h2.secondary {
    padding-top: 1.5em;
  }

  .hca h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-top: 1.2rem;
  }

  #segregatedSands h3 {
    color: #105b63;
    font-size: 2.2rem;
    line-height: 33px;
    font-weight: 700;
  }

  @media screen and (min-width: 768px) {
    #segregatedSands h3 {
      font-size: 2.3rem;
      line-height: 1.3;
    }
  }

  .hca h4 {
    font-size: 2.4rem;
    font-weight: 700;
  }

  .hca h5 {
    font-size: 2rem;
    font-weight: 600;
  }

  .hca h6 {
    font-size: 1.6rem;
    font-weight: 800;
  }

  #segregatedSands .lead {
    font-size: 2.0rem;
    margin-bottom: 2em;
  }


  /* ============================= ID's ============================= */
  /* BOOTSTRAP NAV-WALKER COMPENSATORY CSS  */
  /* ID OF BELOW SELECTOR WILL CHANGE BASED ON WEBSITE */
  #menu-main-navigation {
    z-index: 999;
  }

  .affix #menu-main-navigation {
    position: absolute !important;
  }

  #menu-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    transition: all 0.25s ease-out;
    background: #2d548e;
  }

  .interior-wrapper {
    padding-bottom: 55px;
  }

  #leftCol h2,
  #sidebar h2 {
    font-family: "Open Sans", serif;
    font-size: 2.2rem;
    margin-top: 0px;
    color: #2d548e !important;
  }

  .interior-wrapper a,
  .interior-wrapper a:link,
  .interior-wrapper a:active,
  .interior-wrapper a:visited a,
  a,
  a:link,
  a:active,
  a:visited {
    color: var(--text-link);
  }

  #main_content a,
  #main_content a:link,
  #main_content a:active,
  #main_content a:visited {
    font-weight: 700;
  }

  #main_content a:hover {
    text-decoration-thickness: 5px;
  }

  #main_content a.btn,
  #main_content .wp-block-button a {
    font-weight: 400;
  }

  .interior-wrapper a:hover,
  a:hover {
    text-decoration-thickness: 3px;
    color: var(--black);
  }

  #loading1 {
    width: 100px;
    margin-right: auto;
    margin-left: auto;
  }

  #loading2 {
    width: 100px;
    margin-right: auto;
    margin-left: auto;
  }

  #heroHeader {
    height: 980px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    position: relative;
    margin-top: 0;
  }

  @media screen and (min-width: 1100px) {
    #heroHeader {
      margin-top: 60px;
    }
  }

  /* Home Carousel */
  #carouselHistory {
    margin-top: 2em;
  }

  @media screen and (min-width: 992px) {
    #carouselHistory {
      margin-top: 0;
    }
  }

  #AgencyCarousel {
    border: 2px solid var(--hca-green);
    height: 700px;
  }

  @media only screen and (min-width: 768px) {
    #AgencyCarousel {
      height: 640px;
    }
  }

  @media only screen and (min-width: 992px) {
    #AgencyCarousel {
      height: 675px;
    }
  }

  #AgencyCarousel .carousel-caption {
    top: 30px;
    right: 0;
    left: 0;
    position: relative;
    padding: 0 1em;
  }

  #AgencyCarousel .carousel-caption h2 {
    font-size: 2.5rem;
    text-align: left;
  }

  @media only screen and (min-width: 768px) {
    #AgencyCarousel .carousel-caption h2 {
      font-size: 3.5rem;
    }
  }

  #AgencyCarousel .carousel-caption p {
    display: block;
    font-size: 1.6rem;
    font-weight: normal;
    text-align: left;
    color: #333 !important;
  }

  #AgencyCarousel .carousel-inner {
    min-height: 700px;
  }

  @media only screen and (min-width: 1200px) {
    .carousel-inner {
      min-height: 570px;
    }
  }

  #AgencyCarousel .carousel-inner .item img {
    object-fit: cover;
    width: 100%;
    height: auto;
  }

  #AgencyCarousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 15;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
    list-style: none;
  }

  #AgencyCarousel .carousel-indicators ol {
    margin-top: 55px;
  }

  #AgencyCarousel .carousel-indicators li {
    position: relative;
    flex: 0 1 auto;
    width: 30px;
    height: 4px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: #105b63;
    border-radius: 0px !important;
    border: none !important;
  }

  #AgencyCarousel .carousel-indicators li::before {
    position: absolute;
    top: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
  }

  #AgencyCarousel .carousel-indicators li::after {
    position: absolute;
    bottom: -10px;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 10px;
    content: "";
  }

  #AgencyCarousel .carousel-indicators .active {
    background-color: var(--hca-maroon);
    width: 30px;
    height: 4px;
    margin-right: 3px;
    margin-left: 3px;
    border-radius: 0px !important;
  }

  #headerImage {
    height: 150px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50%;
    margin-top: -22px;
  }

  #headerImage h1 {
    font-family: "Merriweather", serif !important;
    font-size: 4.9rem;
    font-weight: 900;
    padding: 20px;
    margin-top: 225px;
    background-color: rgba(0, 0, 0, 0.65);
    color: #fff !important;
  }

  #news-section {
    background-color: var(--white);
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 0px;
  }

  #news-section .postDate {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
  }

  #news-section .postTitle {
    font-size: 1.8rem;
    font-weight: 700;
  }

  #clf_nav {
    background-color: #ffffff !important;
  }

  #clf_nav .sub-menu {
    margin-top: 20px;
  }

  #clf_nav .nav>li>a:hover,
  #clf_nav .nav>li>a:focus {
    text-decoration: none;
    background-color: #ffffff !important;
  }

  #clf_nav .nav>li>a {
    display: block;
    padding: 10px 5px !important;
    position: relative;
  }

  #clf_nav .nav .open>a,
  #clf_nav .nav .open>a:hover,
  #clf_nav .nav .open>a:focus {
    background-color: #6f1807 !important;
    border-color: #428bca;
  }

  #clf_nav .nav .open>a .caret,
  #clf_nav .nav .open>a:hover .caret,
  #clf_nav .nav .open>a:focus .caret {
    border-top-color: #2a6496;
    border-bottom-color: #2a6496;
  }

  #clf_nav .nav-pills-clf {
    background-color: #ffffff;
  }

  #clf_nav .nav-pills-clf>li>a {
    color: #03528b;
  }

  #clf_nav .nav-pills-clf>li.active>a,
  #clf_nav .nav-pills-clf>li.active>a:hover,
  #clf_nav .nav-pills-clf>li.active>a:focus {
    color: #03528b;
    background-color: #428bca;
  }

  #clf_nav .nav-pills-clf>li.active>a .caret,
  #clf_nav .nav-pills-clf>li.active>a:hover .caret,
  #clf_nav .nav-pills-clf>li.active>a:focus .caret {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
  }

  #public-meetings a:hover {
    color: #ccc;
    text-decoration: none;
    font-weight: bold;
  }

  /* TODO CLEANUP - comment out as part of overlap fix. */
  #agencyFooter {
    background-color: #105b63;
    color: #fff;
    width: 100%;
    font-size: 1.6rem;
    line-height: 1.75;
    padding-bottom: 2em;
    /* position: absolute; */
    /* z-index: 1029; */
    /* bottom: 0; */
    /* height: 588px; */
    /* padding-top: 30px; */
  }

  /* TODO CLEANUP - comment out as part of overlap fix. */
  /* @-moz-document url-prefix() {
    #agencyFooter {
      height: 594px;
    }
  } */

  #agencyFooter a,
  #agencyFooter a:link,
  #agencyFooter a:active,
  #agencyFooter a:visited {
    text-decoration: none;
    color: #fff;
  }

  #agencyFooter a:hover {
    text-decoration: underline;
    color: #fff;
  }

  #agencyFooter h2 {
    font-family: "Merriweather", serif;
    font-weight: 900;
    color: #e2ad47 !important;
    margin-top: -5px;
    margin-bottom: -10px;
    font-size: 2.0rem;
  }

  #agencyFooter ul {
    list-style-type: none;
    margin-left: -38px;
  }

  #services h2 {
    font-family: "Raleway", sans-serif;
    font-weight: 900;
    color: #fff !important;
    font-size: 4.2rem;
    text-transform: uppercase;
    line-height: 52px;
    text-shadow: 2px 2px #282828;
    text-align: center;
    padding-top: 165px;
    margin-top: 0;
  }

  #services a:link {
    text-decoration: none;
    color: #fff !important;
  }

  #services a:hover {
    text-decoration: none;
    color: #e7e7e7 !important;
    transition: 0.2s ease-in-out;
  }

  #services a:visited {
    text-decoration: none;
    color: #fff !important;
  }

  #services .col-md-6 {
    padding-left: 0px;
    padding-right: 0px;
  }

  .zoom {
    padding: 10px;
    transition: transform 0.2s;
    margin: 0 auto;
  }

  .zoom:hover {
    /* IE 9 */
    /* Safari 3-8 */
    transform: scale(1.5);
  }

  /* ============================= Classes ============================= */
  /* WordPress Core CSS */
  .alignnone {
    margin: 5px 20px 20px 0;
  }

  .aligncenter,
  div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
  }

  .alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  .alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  /* WordPress Post Image */
  .wp-post-image {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  @media screen and (min-width: 768px) {
    .wp-post-image {
      margin-top: 15px;
      margin-bottom: 45px;
    }
  }

  a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
  }

  a img.alignnone {
    margin: 5px 20px 20px 0;
  }

  a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
  }

  a img.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  .wp-caption {
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
    border: 1px solid #f0f0f0;
    background: #fff;
  }

  .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignleft {
    margin: 5px 20px 20px 0;
  }

  .wp-caption.alignright {
    margin: 5px 0 20px 20px;
  }

  .wp-caption img {
    width: auto;
    max-width: 98.5%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0 none;
  }

  .wp-caption p.wp-caption-text {
    font-size: 1.1rem;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
  }

  .screen-reader-text {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
  }

  .screen-reader-text:focus {
    font-size: 1.4rem;
    font-size: 0.875rem;
    font-weight: bold;
    line-height: normal;
    z-index: 100000;
    /* Above WP toolbar */
    top: 5px;
    left: 5px;
    display: block;
    clip: auto !important;
    width: auto;
    height: auto;
    padding: 15px 23px 14px;
    text-decoration: none;
    color: #21759b;
    border-radius: 3px;
    background-color: #f1f1f1;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  }

  img.alignright {
    float: right;
    margin: 0 0 1em 1em;
  }

  img.alignleft {
    float: left;
    margin: 0 1em 1em 0;
  }

  img.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  .alignright {
    float: right;
  }

  .alignleft {
    float: left;
  }

  .aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
  }

  /* End WP Core Classes */
  .card-height {
    min-height: 625px !important;
  }

  .card-height .kt-inside-inner-col {
    min-height: 710px;
  }

  .interior-wrapper {
    padding-bottom: 500px;
  }

  .header-txt-wrapper {
    background-color: rgba(255, 255, 255, 0.8);
  }

  .header-logo {
    height: 175px;
    text-align: center;
    margin: 15px 0px 15px 0px;
  }

  .interior-header-logo {
    height: 115px;
    text-align: center;
    margin: 15px 0px 15px 0px;
  }

  .photo-credit-wrapper {
    background-color: rgba(255, 255, 255, 0.8);
    margin-top: 675px;
    text-align: center;
    padding: 5px 0px 1px 0px;
  }

  .hca .photo-credit-wrapper p {
    margin-top: 0.65em;
    margin-bottom: 0.75em;
  }

  /*
   * HCA Masthead Page Title
  */
  .hca .masthead {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
    background-color: var(--hca-green);
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 10;
  }

  @media screen and (min-width: 1100px) {
    .hca .masthead {
      margin-top: 60px;
    }
  }

  .hca .masthead-title a>img {
    display: block;
    /* makes focus ring same size as image */
  }

  /* 
 * Read Speaker and Breadcrumb
*/
  .rs-breadcrumb-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1em;
    margin-bottom: 2em;
  }

  .rs-breadcrumb-wrapper #readspeaker_button1 {
    width: auto;
    margin: 1em 2em 1em 0;
  }

  /* Fix: Prevent controls from dropping to next line when ReadSpeaker is played/explanded. */
  .rsbtn .rsbtn_exp {
    float: left;
  }

  .interior-title-wrapper {
    background-color: var(--hca-green);
  }

  hr.short {
    width: 80px;
    margin-top: 0px;
    margin-bottom: 20px;
    border: 2px solid #7f1817;
    -o-border-image: none;
    border-image: none;
  }

  .text-white {
    color: #fff !important;
  }

  .services-img {
    padding-right: -15px !important;
    padding-left: -15px !important;
  }

  .gov-img {
    background-image: url("img/gov-services.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 350px;
    z-index: 1000;
  }

  .museum-img {
    background-image: url("img/museum-services.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 350px;
    z-index: 1000;
  }

  .gov-services {
    padding-right: -15px !important;
    padding-left: -15px !important;
  }

  .museum-services {
    padding-right: -15px !important;
    padding-left: -15px !important;
  }

  .btn-hca,
  .btn-primary,
  .btn-info {
    text-transform: uppercase;
    font-size: 1.6rem;
    border: 2px solid var(--hca-maroon);
    border-radius: 0;
    padding: 10px 20px 10px 20px;
    background-color: inherit !important;
    color: #03528b !important;
  }

  .btn-hca:hover,
  .btn-primary:hover,
  .btn-info:hover {
    text-decoration: underline;
    text-decoration-thickness: 3px;
  }

  .btn-copy-email {
    color: var(--link-color);
    cursor: pointer;
    background-color: transparent;
    border: none;
  }

  .btn-copy-email:active {
    position: relative;
    top: 2px;
    left: 2px;
  }

  .btn-copy-email:hover {
    color: var(--link-color);
  }

  .what-we-do {
    margin-top: 100px !important;
  }

  .services-img {
    background-position: center;
    background-size: cover;
    height: 100%;
    width: 100%;
    position: relative;
  }

  .hca-icons {
    background-color: #581010;
    margin-top: 75px;
    padding: 100px 0px 125px 0px;
  }

  .hca-icon {
    height: 75px;
    margin-top: 75px;
  }

  .hca-icons h3 {
    color: #fff !important;
    text-transform: uppercase;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    text-align: center;
    font-size: 3.2rem !important;
  }

  .hca-icons h3 a:link {
    color: #fff !important;
  }

  .hca-icons h3 a:visited {
    color: #fff !important;
  }

  .hca-icons h3 a:hover {
    color: #dedede !important;
    text-decoration: none !important;
  }

  /* Home page featured posts */

  .blog-icon {
    height: 150px;
    margin-top: -25px;
  }

  .jsCSSClass {
    padding-top: 25px;
  }

  .meetingItem {
    border: 1px solid #ccc;
    border-radius: 10px;
    width: auto;
    min-height: 75px;
  }

  .no-padding {
    padding-left: 0;
    padding-right: 0;
  }

  .no-padding-xs {
    padding-left: inherit;
    padding-right: inherit;
  }

  .business-about {
    font-size: 2.4rem;
    text-align: center;
  }

  ul.meeting-container>li {
    list-style-type: none;
  }

  .meeting-container {
    text-align: center;
    padding: 0px;
  }

  span.meeting-title {
    font-family: "Merriweather", sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #953917;
  }

  span.meeting-agency {
    display: none;
  }

  span.meeting-date {
    font-style: italic !important;
    color: #673b19;
    font-weight: bold;
    font-size: 1.7rem;
  }

  span.meeting-time {
    font-style: italic !important;
    color: #673b19;
    font-weight: bold;
    font-size: 1.7rem;
  }

  span.meeting-end {
    font-style: italic !important;
    color: #673b19;
    font-weight: bold;
    font-size: 1.7rem;
  }

  span.meeting-purpose {
    display: none;
  }

  span.meeting-address {
    color: #7e8082;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 4px;
    display: block;
  }

  a.map-link,
  a.map-link:link,
  a.map-link:active,
  a.map-link:visited,
  a.info-link,
  a.info-link:link,
  a.info-link:active,
  a.info-link:visited {
    color: #42854a;
    background-color: #fff;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #42854a;
    border-radius: 30px;
    padding: 15px 35px;
  }

  a.info-link:hover,
  a.map-link:hover {
    color: #fff !important;
    background-color: #5b80a0;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #5b80a0;
    border-radius: 30px;
    padding: 15px 35px;
  }

  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #5b616b;
    border-radius: 0;
    box-sizing: border-box;
    color: #222;
    display: block;
    font-size: 1.7rem;
    height: 4.5rem;
    line-height: 1.3;
    margin: 0.2em 0;
    outline: none;
    padding: 1rem 0.7em;
    max-width: 100%;
    background-color: #ffffff;
    background-image: url(img/arrow-down.png);
    background-image: url(img/arrow-down.svg);
    background-position: right 1.3rem center;
    background-repeat: no-repeat;
    background-size: 1.3rem;
  }

  .topics {
    display: none;
  }

  .mainTitle {
    font-family: "Merriweather", serif;
    font-size: 2.0rem;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #fff;
  }

  .btn-hero {
    font-size: 1.8rem !important;
    padding: 12px 50px !important;
    color: #fff;
    background-color: #42854a;
    border: 1px solid #42854a;
    border-radius: 10px;
  }

  .btn-hero:hover {
    color: #fff;
    background-color: #5b80a0;
    border: 1px solid #42854a;
    border-radius: 10px;
  }

  span.bolded {
    font-weight: 900;
  }

  .home-icons {
    float: left;
    margin-right: 10px;
    margin-top: -18px;
    vertical-align: middle;
  }

  /*================= EVENT CALENDAR =====================*/
  .eme-location-map {
    width: 100% !important;
    height: 350px !important;
  }

  .eme-calendar-table {
    font-size: 1.4rem;
    width: 100%;
    height: 340px;
    background-color: #4a5967;
    color: #fff;
  }

  table.fullcalendar td {
    border-color: #4a5967;
  }

  .month_name {
    color: #fff;
    font-family: "Tahoma", sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
  }

  .eme-calendar-table thead th {
    padding: 10px 0px 10px 0px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid #bbb;
    background: #105b63;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  .eme-calendar-table tbody td {
    color: #666;
    padding: 8px;
    text-align: center;
    border: 1px solid;
    border-color: #4a5967 #4a5967 #4a5967 #4a5967;
    background-color: #fff;
  }

  table.eme-calendar-table td {
    padding: 2px !important;
    padding-top: 5px !important;
  }

  table.eme-calendar-table td.eventful a {
    color: #61aadd !important;
    font-weight: bold;
  }

  .prev-month {
    color: #fff !important;
    font-size: 2.4rem;
    font-family: "Tahoma", sans-serif;
  }

  .next-month {
    color: #fff !important;
    font-size: 2.4rem;
    font-family: "Tahoma", sans-serif;
  }

  .left-sidebar-interior tr td .next-month {
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
  }

  .left-sidebar-interior tr td .prev-month {
    color: #fff !important;
    font-family: "Open Sans", sans-serif;
  }

  /** Specific Event Date Styles **/
  table.eme-calendar-table td.eventful a {
    color: #fff !important;
    font-weight: bold;
    transition: 0.4s ease-in-out;
  }

  table.eme-calendar-table td.eventful a:hover {
    color: #fff !important;
    transition: 0.4s ease-in-out;
    text-decoration: none !important;
    background-color: #2299d5 !important;
  }

  .eventful {
    background: #105b63 !important;
    transition: 0.4s ease-in-out;
  }

  .eventful:hover {
    background-color: #22747d !important;
  }

  table.fullcalendar ul li {
    list-style-type: none;
  }

  table.fullcalendar td.month_name,
  div.month_name {
    padding: 15px !important;
  }

  /*============== / END OF EVENT CALENDAR ===============*/


  .agencyFooter_logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    text-align: center;
    border: none;
  }

  @media screen and (min-width: 768px) {
    .agencyFooter_logo {
      /* max-width: 245px; */
      max-width: 165px;
      width: 100%;
      height: auto;
    }
  }

  hr.clf {
    margin-top: 10px;
    margin-bottom: 20px;
    border: 2px solid #e9eae5;
    -o-border-image: none;
    border-image: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
  }

  hr.info {
    margin-top: -5px;
    margin-bottom: 20px;
    border: 2px solid #5b80a0;
    -o-border-image: none;
    border-image: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
  }

  .section-home-icons {
    float: left;
    margin-right: 20px;
    margin-top: -6px;
  }

  .float-left {
    float: left;
    margin-right: 20px;
  }

  .links-box {
    padding: 25px;
    background: #f2f2f0;
    border: 2px solid #ebebe8;
  }

  .sectionmenu_panel {
    background-color: #fff;
    border-color: #ddd;
  }

  .sectionmenu_panel .panel-heading {
    background-color: #2d548e;
    border-color: #ddd;
  }

  .sectionmenu_panel .panel-title,
  #segregatedSands p.panel-title {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0;
  }

  .sectionmenu_panel .panel-title a:link,
  .sectionmenu_panel .panel-title a:visited {
    transition: all 0.5s ease-in-out;
    text-decoration: none;
  }

  .sectionmenu_panel .panel-title a:hover {
    text-decoration: none;
  }

  .sectionmenu_panel .panel-title a:focus {
    outline-color: var(--white);
    box-shadow: inset 0 0 0 var(--white), 0 0 0 0 1px var(--white);
    border: 1px solid var(--white);
  }

  .toplevel {
    padding-bottom: 12px;
  }

  .small-top {
    font-size: 1.8rem;
  }

  .jumbo {
    font-size: 4.5rem;
    font-weight: 900;
  }

  .noshow {
    display: none;
  }

  .panel-title>a,
  .panel-title>a:link,
  .panel-title>a:hover,
  .panel-title>a:visited {
    color: #fff !important;
  }
}

/* Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {

  /* ========================== ELEMENTS ============================= */
  /* ============================ ID's ============================= */
  #headerImage {
    height: 200px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 50%;
    margin-top: -22px;
  }

  /* ========================== Classes ============================= */
}

/* Small Devices, Tablets */
@media only screen and (min-width: 768px) {

  /* ========================= ELEMENTS ============================= */
  /* ========================== ID's ============================= */
  #caption-box {
    width: 38%;
  }

  #services h2 {
    font-size: 4.2rem;
  }

  #headerImage {
    height: 400px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    margin-top: -22px;
  }

  /* ============================= Classes ============================= */
  .interior-wrapper {
    padding-bottom: 0px;
  }

  .mainTitle {
    font-size: 2.5rem;
  }

  /* .carousel-caption {
    margin-left: -20px;
  } */

  .hca-icons {
    margin-bottom: 0px !important;
    padding-top: 0 !important;
  }

  .hca-icon {
    margin-top: 85px;
  }

  .small-top {
    font-size: 3.5rem;
  }
}

/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  /* ============================= ELEMENTS ============================= */
  /* ============================= ID's ============================= */

  #caption-box {
    width: 30%;
  }

  #services h2 {
    font-size: 6.2rem;
  }

  #headerImage {
    height: 450px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    margin-top: -22px;
  }

  .agencyFooter_logo {
    text-align: center;
    border: none;
  }

  /* ============================= Classes ============================= */
  .card-height {
    min-height: 650px;
  }

  .card-height .kt-inside-inner-col {
    min-height: 710px;
  }

  .interior-wrapper {
    padding-bottom: 0px;
  }

  .mainTitle {
    font-size: 2.5rem;
  }

  .icons-row-1 {
    margin-bottom: 150px;
  }

  .hca-icons {
    margin-bottom: 0px !important;
    padding-top: 100px !important;
  }

  .hca-icon {
    margin-top: 0px;
  }

  .small-top {
    font-size: 3.5rem;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {

  /* ============================= ELEMENTS ============================= */
  /* ============================= ID's ============================= */
  .interior-wrapper h1 {
    font-size: 4rem;
  }

  #caption-box {
    width: 30%;
  }

  #services h2 {
    font-size: 6.2rem;
  }

  #headerImage {
    height: 400px;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
    margin-top: -22px;
  }

  .agencyFooter_logo {
    /* width: 245px;
    height: 150px; */
    text-align: center;
    border: none;
  }

  /* ============================= Classes ============================= */
  .interior-wrapper {
    padding-bottom: 0px;
  }

  .header-logo {
    height: 215px;
    float: none;
    margin: 15px 0px 15px 0px;
  }

  .hca-icons {
    margin-bottom: 0px !important;
  }

  .hca-icon {
    margin-top: 0px;
  }

  .icons-row-1 {
    margin-bottom: 150px;
  }

  .mainTitle {
    font-size: 2.5rem;
  }

  .small-top {
    font-size: 4rem;
  }
}

/* ======================== CUSTOM MEDIA QUERIES ======================== */
@media (max-width: 874px) {
  .menu_text {
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    margin-top: -44px;
    margin-left: 60px;
    opacity: 1;
    color: var(--hca-green);
  }
}

@media (min-width: 875px) {
  .menu_text {
    opacity: 0;
  }
}

@media (min-width: 1100px) {
  .menu_text {
    margin-top: -100px;
  }
}

/**************** NEWSROOM BLOG STYLES ****************/
body:is(.archive) .hca h2 {
  margin-top: 0;
  margin-bottom: 1em;
}

.newsroom .panel-title {
  font-size: 2.6rem !important;
}

.newsroom .panel-default {
  border-radius: 0;
}

.newsroom .panel-default>.panel-heading {
  border-radius: 0;
}

.newsroom .panel-default>.panel-heading a {
  color: #fff !important;
}

.newsroom-contact {
  margin-top: 18px;
}

.sidebar-badge {
  width: 75px;
  padding-top: 10px;
}

.newsroom-sidebar {
  margin-bottom: 1.5em;
}

.newsroom-sidebar ul {
  font-size: 1.5rem;
  list-style: none;
  padding-left: 0;
}

.newsroom-sidebar ul li {
  line-height: 1.3;
  margin-bottom: 1.5em;
}

.newsroom-contact h4 {
  font-size: 2.2rem !important;
  text-align: center;
  line-height: 28px;
  color: #f7b92d !important;
  padding: 15px;
}

.newsroom-sidebar h6 {
  font-family: "Raleway", sans-serif !important;
  font-size: 2.2rem !important;
  text-align: center;
  line-height: 28px;
  color: #7f1817 !important;
  background-color: #fff;
  border: 2px solid #105b63;
  padding: 15px;
}

select#archives-dropdown-3 {
  width: 100%;
}

.newsroom-sidebar button,
.newsroom-sidebar input,
.newsroom-sidebar select,
.newsroom-sidebar textarea {
  width: 100%;
  font-family: "Raleway", sans-serif;
  color: #3e3e3e;
  font-size: 1.8rem;
  height: 45px;
}

li.cat-item.cat-item-232 {
  margin-bottom: 55px;
}

.newsroom-sidebar ul li.cat-item :before {
  font: var(--fa-font-solid);
  content: "\f0da";
  display: none;
}

.newsroom-sidebar ul li.cat-item {
  font-size: 1.6rem;
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 2px solid #ddeff6;
  /* margin-left: -35px; */
}

.newsroom-sidebar ul li.cat-item .svg-inline--fa {
  color: #f9ba17;
  font-size: 1.6rem;
  margin: 0 5px 0 0px;
}

.st_prepend {
  font-size: 2.2rem !important;
  text-align: center;
  line-height: 28px;
  color: #f7b92d !important;
  background-color: #1e3350;
  padding: 15px;
  font-weight: bold;
}

form#st_subscribe_form {
  margin-top: 7px;
}

.news-date {
  color: #1e3350;
}

/* ============================= WWI Exhibit ============================= */
.ww-wrapper .navbar-collapse a:hover {
  color: white !important;
  height: 100%;
  background-color: #9e9e9e !important;
}

#WWIWrapper a {
  color: #52648f !important;
}

#WWIWrapper .nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
  color: #fff !important;
}

#WWIWrapper .nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
  color: #fff !important;
}

#WWIWrapper h2 {
  color: #f9245e !important;
  font-weight: normal;
  font-family: "Montserrat", sans-serif !important;
  /*padding-bottom:10px;*/
  font-size: 4.5rem;
}

#WWIWrapper .quote h2 {
  font-size: 4rem !important;
  color: #dd363d !important;
  /*margin-top:-35px;*/
  height: auto;
  /* background: rgba(84, 84, 84, 0.5); */
}

#WWIWrapper h3 {
  color: #f9245e !important;
  font-weight: 300;
  font-family: "Montserrat", sans-serif !important;
}

#WWIWrapper #main_content h4 {
  color: #275996 !important;
  font-size: 2.8rem;
}

#WWIWrapper .quote h4 {
  font-size: 2rem !important;
  color: #f8f8ff !important;
  /* background: rgba(84, 84, 84, 0.5); */
}

#WWIWrapper h6 {
  color: #fff !important;
  font-size: 3.2rem;
}

#WWIWrapper ul {
  font-size: 1.8rem !important;
}

#WWIWrapper .quote {
  margin-top: -185px;
  /* margin-bottom: 50px; */
}

.WWI-sub-nav {
  border: 1px solid #a52a2a;
  background-color: #7f1817;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.WWI-sub-nav ul li {
  margin-bottom: 0;
}

.WWI-sub-nav a {
  font-weight: bold;
  color: #f8f8ff;
}

.WWI-sub-nav a:hover {
  color: #dcdcdc !important;
}

.WWI-sub-nav .active a {
  color: #fff !important;
}

.WWI-sub-nav a.selected {
  color: var(--hca-maroon);
  background-color: var(--white);
  border: 1px solid var(--white);
}

.WWI-sub-nav .nav-pills>li.active>a,
.nav-pills>li.active>a:focus,
.nav-pills>li.active>a:hover {
  background-color: #52648f;
}

.WWI-container-nav {
  text-align: center;
  padding: 0px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.WWI-Title {
  background: rgba(84, 84, 84, 0.5);
  height: 100px;
  line-height: auto;
  padding-bottom: 10px;
  padding-top: 10px;
}

.definition {
  color: #d53436;
  font-weight: 700;
  cursor: pointer;
}

.definition:hover {
  color: #0000ff;
  -webkit-text-decoration-color: #d53436;
  text-decoration-color: #d53436;
}

.modal-dialog {
  width: 100%;
  margin-top: 100px;
  overflow: hidden;
}

.modal-content {
  background: #fff;
  box-shadow: none;
  border: none;
  display: block;
  margin: 0 auto;
  max-width: 80%;
}

.modal-content p {
  color: #383838;
}

.modal button.close {
  width: 50px;
  height: 50px;
  font-size: 3.5rem;
  position: absolute;
  right: 10px;
  float: none;
  z-index: 999;
  opacity: 1;
}

.modal-open {
  overflow: hidden;
}

#WWIintroductionImage {
  background-image: url("img/BG/worldwar1somme.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 20%;
  margin: 0;
  padding: 0;
}

#WWIBeginsImage {
  background-image: url("img/BG/bread_guys_bg.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 20%;
  margin: 0;
  padding: 0;
}

#WWIUsInvolvementImage {
  background-image: url("img/BG/4_soldiers_posing_bg.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 20%;
  margin: 0;
  padding: 0;
}

#WWIWomenRoleImage {
  background-image: url("img/BG/salvation_army_donuts_bg.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 35%;
  margin: 0;
  padding: 0;
}

#WWIAfricanAmericansImage {
  background-image: url("img/sections/African-Americans/harlem-hell-fighters.png");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 80%;
  margin: 0;
  padding: 0;
}

#WWIDelawareImage {
  background-image: url("img/sections/Delaware/delaware_59th_pioneer_infantry_regiment_small.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 10%;
  margin: 0;
  padding: 0;
}

#WWIEndImage {
  background-image: url("img/BG/women_parade_bg.jpg");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 55%;
  margin: 0;
  padding: 0;
}

#WWIPostersImage {
  background-image: url("img/posters/make_good_promise.png");
  height: 607px;
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 90% 55%;
  margin: 0;
  padding: 0;
}

.container-title {
  background: rgba(00, 00, 00, 0.5);
  padding-top: 5px;
}

.btn-red {
  background-color: #d53436;
  color: #ffffff;
  margin-bottom: 15px;
}

.media_widget {
  padding-bottom: 20px;
  color: #d53436;
  font-size: 1.4rem;
}

.media_widget h6 {
  color: #222222;
}

.media_widget figure a {
  display: block;
  position: relative;
  overflow: hidden;
}

.media_widget figure a:before {
  content: "";
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
}

.media_widget figure a::after {
  font-family: "FontAwesome";
  content: "\f00e";
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  left: 50%;
  margin-left: -26px;
  top: -50%;
  margin-top: -26px;
  width: 60px;
  height: 60px;
  border-radius: 15%;
  text-align: center;
  line-height: 60px;
  background: #d53436;
  border: 2px solid #fff;
  transition: all 0.2s ease-in;
}

.media_widget figure a:hover::after {
  top: 50%;
}

.media_widget figure a:hover:before {
  top: 0;
}

.enscc {
  background-color: #105b63;
  border-color: #105b63;
  color: #fff;
  text-align: center;
  padding-top: 25px !important;
  padding-bottom: 25px !important;
  border-radius: 0px !important;
  margin-bottom: 0px !important;
  vertical-align: middle;
}

.enscc:hover {
  color: #eaf2f2;
}

.enscc hr {
  border-top-color: #e4b9c0;
}

.enscc a:link {
  color: #fff !important;
}

.enscc:hover {
  color: white;
}

/* Gutenberg Columns Customizations */
@media screen and (max-width: 768px) {

  /* Gutenberg Reverse Order of Columns on Mobile */
  .wp-block-columns.column-reverse-on-mobile,
  .column-reverse {
    flex-direction: column-reverse;
  }
}

/* Gutenberg Descrease Padding for Blocks that have a Background Color */
#segregatedSands .wp-block-group.has-background {
  padding: 1em;
}

/*** Gutenberg YouTube embed block padding fix ***/
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before {
  padding-top: 0;
}

.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-1-2 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper::before,
.wp-embed-responsive .wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper::before {
  padding-top: 0;
}

/* Gutenberg Button */
.wp-block-button.is-style-outline {
  border: none;
}

.wp-block-button.is-style-outline .wp-block-button__link {
  border: 2px solid #7f1817;
  border-radius: 0;
  /* margin-bottom: 30px; */
}

.wp-block-button__link.wp-element-button {
  background-color: var(--hca-green);
  color: var(--white);
  border: 2px solid var(--hca-green);
  border-radius: 0;
  font-size: 2.1rem;
}

.wp-block-button__link.wp-element-button:hover {
  background-color: var(--white);
  color: var(--hca-green);
  border: 2px solid var(--hca-green);
}

/* Gutenberg Button Outline */
.is-style-outline .wp-block-button__link {
  border: 1px solid #adadad;
  border-radius: 6px;
}

/* Gutenberg Separator Block */
.wp-block-separator {
  border-top: 6px solid #7f1817;
  border-bottom: 0;
  margin-top: 2em;
  margin-bottom: 2em;
  width: 150px !important;
}

/*** NextGen Gallery styles ***/
#main_content .ngg-gallery-thumbnail {
  border: none;
  text-align: left;
}

#fancybox-title {
  font-size: 1.6rem;
}

/*@media only screen and (min-width : 768px) {
    #main_content .ngg-gallery-thumbnail {
        min-height: 450px;
    }
}*/
/*@media only screen and (min-width : 992px) {
    #main_content .ngg-gallery-thumbnail {
        min-height: 400px;
    }
}*/
/* Turn off min-height property on pages where we're not using captions on that gallery */
/*.page-id-23514 #main_content .ngg-gallery-thumbnail,
.page-id-21601 #main_content .ngg-gallery-thumbnail,
.page-id-4324 #main_content .ngg-gallery-thumbnail,
.page-id-3314 #main_content .ngg-gallery-thumbnail {
    min-height: 0px;
}*/
/* Mobile responsiveness fix */
@media only screen and (max-width: 767px) {
  #main_content .ngg-galleryoverview {
    display: flex !important;
    flex-direction: column;
  }

  .ngg-gallery-thumbnail-box {
    width: 100% !important;
  }

  .ngg-gallery-thumbnail img {
    margin: 0 auto !important;
  }
}

.screen-reader-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  white-space: nowrap;
  color: #fff;
  background-color: #245194;
  margin: -1px;
  border: 0;
}

/* Emeline's Story button group CSS */
.emelines-story-nav {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}

.emelines-story-nav .wp-block-button {
  margin-left: -1px;
  margin-right: 0;
  margin-bottom: -1px;
  position: relative;
  float: left;
}

.emelines-story-nav .current-page {
  border: 1px solid #7f1817;
  text-transform: uppercase;
}

.emelines-story-nav .wp-block-button .wp-block-button__link {
  font-size: 1.5rem !important;
  padding: 5px 10px;
  border: 1px solid #adadad;
  border-radius: 0;
  margin-bottom: 0px;
  margin-left: 0px;
}

/* Utility classes */
.margin-left {
  margin-left: 25px;
}

/* 
 * Flex Utilities
 */

/* Same height columns in Bootstrap w/ Flexbox. */
.row.flex-same-height {
  display: flex;
  flex-wrap: wrap;
}

.row.flex-same-height>[class*="col-"] {
  flex-grow: 1;
}

/* Vertical spacing between columns when wrapped */
.row.flex-same-height [class*="col-"] {
  margin-bottom: 30px;
}

/*Readspeaker style*/
.rspkr_dr_link {
  margin-right: 20px !important;
}

.lgbtq a.rspkr_dr_link {
  display: none
}

/* Remove PDF icon on buttons which is automatically added in clf4.css. */
a[href$=".pdf"].wp-block-button__link.icon::after {
  content: "";
}

/* Headings and lists indent inside panels */
.kt-inside-inner-col ul,
.kt-inside-inner-col ol {
  margin-left: 6px;
}

.kt-inside-inner-col h2,
.kt-inside-inner-col h3,
.kt-inside-inner-col h4,
.kt-inside-inner-col h5,
.kt-inside-inner-col h6 {
  margin-left: 30px;
}

.global-logo .wave_text {
  background-color: #245194;
}

/* Center Grouped Social Icons */
.center-social-icons .wp-block-group__inner-container {
  display: flex;
  justify-content: center;
}

/* ============================================
 * SEGREGATED BEACHES 
 * ============================================ */

/* #segregatedSands {
  min-height: 95vh;
} */


/* Segregated Sands Images */
/* Grayscale Image Hover Effect */
.grayscale:hover {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

/* Max-width 50% on Mobile */
@media screen and (max-width: 760px) {
  #segregatedSands img.mobile-w-50 {
    max-width: 70%;
    margin: 2em auto 1em;
  }
}

@media screen and (max-width: 768px) {
  #segregatedSands img.mobile-w-50 {
    max-width: 90%;
  }
}

/* Segregated Sands Image Captions */
#segregatedSands .wp-block-image figcaption {
  text-align: left !important;
  font-size: 1.5rem;
  font-style: italic;
}

/* Segregated Sands Image Box Shadows */
.img-shadow-soft {
  box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px,
    rgb(0 0 0 / 30%) 0px 1px 3px -1px;
}

.img-shadow-hard {
  box-shadow: 10px 10px #313131;
}

/* Mason Dixon Fullwidth Image */
#segregatedSands .mason-dixon-wide-image {
  display: none;
}

#segregatedSands .mason-dixon-small-image {
  display: block;
}

@media only screen and (min-width: 768px) {
  #segregatedSands .mason-dixon-wide-image {
    display: block;
    background-image: url("img/segsands-home-de-map-mason-dixon_v2.jpg");
    background-position: top -2em right -4.8em;
    background-repeat: no-repeat;
    background-size: 145%;
    height: 310px;
  }

  #segregatedSands .mason-dixon-small-image {
    display: none;
  }
}

@media only screen and (min-width: 992px) {
  #segregatedSands .mason-dixon-wide-image {
    background-position: top -3.2em right -5em;
    height: 400px;
  }
}

@media only screen and (min-width: 1200px) {
  #segregatedSands .mason-dixon-wide-image {
    background-position: top -3em right -2em;
    height: 375px;
    background-size: 110%;
  }
}

@media only screen and (min-width: 1400px) {
  #segregatedSands .mason-dixon-wide-image {
    background-position: top -3.5em right 0em;
    height: 435px;
    background-size: cover;
  }
}

#segregatedSands .mason-dixon-wide-image-caption {
  margin-bottom: 0;
  max-width: 90%;
  padding: 1em;
  font-size: 1.5rem;
}

/* Dividers */
/* Flaired edges, by Tomas Theunissen */
hr.flaired-edge {
  overflow: visible;
  /* For IE */
  height: 30px;
  border-style: solid;
  border-color: #7f1817;
  border-width: 3px 0 0 0;
  border-radius: 20px;
  width: 60%;
  margin: 30px auto 0;
  opacity: 1;
}

@media only screen and (min-width: 768px) {

  hr.flaired-edge {
    width: 25%;
  }
}

hr.flaired-edge:before {
  display: block;
  content: "";
  height: 30px;
  margin-top: -31px;
  border-style: solid;
  border-color: #7f1817;
  border-width: 0 0 3px 0;
  border-radius: 20px;
}

/* Segregated Beaches Home Hero */
/* #segregatedSands .home-hero {
  padding: 1em 0;
} */

/* @media screen and (min-width: 768px) {
  #segregatedSands .home-hero {
    padding: 1.5em 0;
  }
} */

#segregatedSands .home-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
}

#segregatedSands h1.home-hero-title {
  font-size: 3.8rem;
  line-height: 1.2;
  color: #313131;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (min-width: 768px) {
  #segregatedSands h1.home-hero-title {
    font-size: 4.5rem;
  }
}

#segregatedSands h2.home-hero-subtitle {
  font-size: 3.1rem;
  line-height: 1.2;
  color: #105b63;
}

@media screen and (min-width: 768px) {
  #segregatedSands h2.home-hero-subtitle {
    font-size: 3.2rem;
  }
}

#segregatedSands .home-hero .wp-post-image {
  margin-bottom: 1em;
}

#segregatedSands .home-hero figcaption {
  margin-top: 0;
  margin-bottom: 2em;
}

/* Segregated Beaches Callout */
#segregatedSands .callout {
  padding: 2em 0;
  margin: 0;
}

@media only screen and (min-width: 768px) {
  #segregatedSands .callout {
    padding: 2em 0;
  }
}

@media only screen and (min-width: 992px) {
  #segregatedSands .callout {
    padding: 4em 0;
  }
}

#segregatedSands .callout-heading {
  font-size: 3.2rem;
  line-height: 1.2;
  color: #105b63;
  font-weight: 700;
  margin-bottom: 1em;
}

@media only screen and (min-width: 768px) {
  #segregatedSands .callout-heading {
    font-size: 3.8rem;
    margin-bottom: 0;
  }
}

#segregatedSands .callout-text-lg {
  font-size: 1.9rem;
  line-height: 1.3;
  color: #333;
}

@media screen and (min-width: 768px) {
  #segregatedSands .callout-text-lg {
    font-size: 2.7rem;
  }
}

#segregatedSands .callout-text {
  font-size: 1.8rem;
  padding: 2em 1em;
  margin: 0;
}

@media screen and (min-width: 768px) {
  #segregatedSands .callout-text {
    padding: 2em 2em;
  }
}

@media screen and (min-width: 992px) {
  #segregatedSands .callout-text {
    padding: 3em 2em;
  }
}

/* Segregated Beaches Overview */
.exhibit-titles {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  color: #fff;
  padding: 1em;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .exhibit-titles {
    padding: 2em 1em;
    flex-direction: row;
  }
}

.exhibit-title {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 800;
  padding-right: 15px;
}

.exhibit-subtitles {
  border-left: 2px solid #fff;
  padding-left: 15px;
  margin-top: 0.5em;
}

@media screen and (min-width: 768px) {
  .exhibit-subtitles {
    margin-top: 0;
  }
}

.exhibit-subtitle-1 {
  font-size: 1.8rem;
  line-height: 1.1;
  font-weight: 700;
}

.exhibit-subtitle-2 {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 400;
}

/* Segregated Sands Buttons */
/* Button default */
#segregatedSands .wp-block-button__link,
#segregatedSands a.wp-block-button__link:link,
#segregatedSands a.wp-block-button__link:active,
#segregatedSands a.wp-block-button__link:visited,
#segregatedSands a.btn-primary-hero {
  color: #fff;
  /* font-size: 1.8rem; */
  font-weight: 700;
  background-color: #7f1817;
  border-color: #7f1817;
  padding: 10px 24px;
  margin: 0 0 0.5em 0;
  display: inline-block;
  border-radius: 0;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
}

@media screen and (min-width: 768px) {
  #segregatedSands a.btn-primary-hero {
    margin: 1.5em 0;
  }
}

/* Button default hover */
#segregatedSands a.wp-block-button__link:hover,
#segregatedSands a.btn-primary-hero:hover {
  color: #fff !important;
  background-color: #105b63;
  border-color: #105b63;
  text-decoration-thickness: 3px !important;
  text-decoration: underline;
}

/* Button large */
.wp-block-button.btn-lg .wp-block-button__link,
#segregatedSands .wp-block-button.btn-lg,
#segregatedSands a.btn-primary-hero.btn-lg {
  font-size: 2.2rem;
  padding: 15px 10px;
  width: 100%;
  line-height: 1.3;
  text-align: center;
}

@media screen and (min-width: 768px) {

  .wp-block-button.btn-lg .wp-block-button__link,
  #segregatedSands .wp-block-button.btn-lg,
  #segregatedSands a.btn-primary-hero.btn-lg {
    font-size: 2.1rem;
    padding: 15px 20px;
    width: initial;
  }
}

@media screen and (min-width: 992px) {

  .wp-block-button.btn-lg .wp-block-button__link,
  #segregatedSands .wp-block-button.btn-lg,
  #segregatedSands a.btn-primary-hero.btn-lg {
    font-size: 2.4rem;
  }
}

/* Beach Card */
.beach-card {
  margin-bottom: 1em;
}

.beach-card img {
  background-color: #f4ebdc;
  width: 100%;
  max-height: 130px;
  -o-object-fit: cover;
  object-fit: cover;
}

.beach-card img:hover {
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.beach-card figcaption {
  background-color: #7f1817;
  padding: 0.25em 1em;
  color: #fff;
  font-weight: 900;
  font-size: 1.8rem;
  transition: 0.2s;
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
}

@media only screen and (min-width: 768px) {
  .beach-card figcaption {
    font-size: 2.4rem;
  }
}

.beach-card figcaption:hover {
  background-color: #105b63 !important;
}

/* Segregated Beaches Home Hero Wrapper */
.hero-wrap {
  min-height: 260px;
  position: relative;
}

.hero-wrap #hero-title {
  position: relative;
  min-height: 260px;
}

.hero-wrap #hero-title-content {
  position: absolute;
  bottom: 20px;
  left: 0;
}

@media only screen and (min-width: 768px) {
  .hero-wrap {
    min-height: 350px;
  }

  .hero-wrap #hero-title {
    min-height: 320px;
  }
}

@media only screen and (min-width: 992px) {
  .hero-wrap {
    min-height: 300px;
  }

  .hero-wrap #hero-title {
    min-height: 300px;
  }
}

.hero-wrap-tall {
  min-height: 400px;
}

.hero-wrap-tall #hero-title {
  position: relative;
  min-height: 400px;
}

.hero-wrap-tall #hero-title-content {
  position: absolute;
  bottom: 30px;
  left: 0;
}

/* Segregated Beaches Interior Hero Entry Title */
#segregatedSands .entry-title {
  background-color: rgba(256, 256, 256, 0.8);
  box-shadow: 5px 5px #105b63;
  padding: 15px 30px;
  margin: 0 auto;
  font-size: 2.5rem;
  font-family: "Raleway", sans-serif !important;
  font-weight: 900;
  line-height: 1.2em;
  color: #7f1817 !important;
}

@media only screen and (min-width: 768px) {
  #segregatedSands .entry-title {
    font-size: 2.8rem;
    margin: 0;
  }
}

@media only screen and (min-width: 992px) {
  #segregatedSands .entry-title {
    font-size: 3.8rem;
  }
}

#segregatedSands .entry-title i {
  padding-right: 15px;
  vertical-align: middle;
}

/* Segregated Sands Interior Menu Styling */
#segregatedSands #navTitle {
  font-family: "Raleway", sans-serif;
}

#segregatedSands .panel-heading {
  background-color: #105b63;
  border-radius: 0;
}

#menu-segregated-sands-interior-navigation {
  display: table-row;
}

#menu-segregated-sands-interior-navigation>li:first-child {
  margin-top: 0.5em;
}

#menu-segregated-sands-interior-navigation li {
  margin: 1.1em 0;
  list-style-type: none;
}

#menu-segregated-sands-interior-navigation a {
  color: #105b63;
  font-size: 2.1rem;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  line-height: 1.1;
  margin-top: 0px;
  text-decoration: none;
}

#menu-segregated-sands-interior-navigation .sub-menu li:first-of-type {
  margin-top: 1em;
}

#menu-segregated-sands-interior-navigation ul.sub-menu {
  /* margin-left: -20px; */
  padding-left: 1em;
}

#menu-segregated-sands-interior-navigation ul.sub-menu li {
  line-height: 1.5;
}

/* Spacing */
.row-margin-top {
  margin-top: 2em;
}

@media screen and (min-width: 768px) {
  .row-margin-top {
    margin-top: 0;
  }
}

/* HTML Elements */
small {
  font-size: 1.5rem;
}

/* 
Bootstrap Overrides 
*/
.panel,
.panel-group .panel {
  border-radius: 0;
  margin-bottom: 2em;
}

.panel-info {
  border-color: var(--hca-green);
}

.panel-heading,
.panel-info .panel-heading {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.panel-default>.panel-heading,
.panel-info>.panel-heading {
  color: #fff;
  background-color: var(--hca-green);
  border-color: var(--hca-green);
  font-weight: bold;
}

.breadcrumb {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  border-radius: 0;
  line-height: 2;
}

.breadcrumb a {
  color: #245194;
  font-weight: 700;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.text-muted {
  color: #4f4f4f;
}

.label-success {
  background-color: #477c41;
}

/* Colors */
.has-charcoal-background-color {
  background-color: var(--charcoal);
  color: var(--white);
}

.has-charcoal-color {
  color: var(--charcoal);
}

.has-hca-green-background-color {
  background-color: var(--hca-green);
  color: white;
}

.has-hca-green-color {
  color: var(--hca-green);
}

.has-hca-maroon-background-color {
  background-color: var(--hca-maroon);
}

.has-hca-maroon-color {
  color: var(--hca-maroon);
}

.has-historic-brown-background-color {
  background-color: var(--historic-brown);
}

.has-hca-historic-brown-color {
  color: var(--historic-brown);
}

.has-stories-gold-background-color {
  background-color: var(--stories-gold);
}

.has-stories-gold-color {
  color: var(--stories-gold);
}

.has-eggshell-background-color {
  background-color: var(--eggshell);
}

.has-eggshell-color {
  color: var(--eggshell);
}

.has-beige-background-color {
  background-color: var(--beige);
}

.has-beige-color {
  color: var(--beige);
}

.has-white-background-color {
  background-color: var(--white);
}

.has-white-color {
  color: var(--white);
}

.has-offwhite-background-color {
  background-color: var(--offwhite);
}

.has-offwhite-color {
  color: var(--offwhite);
}

.has-black-background-color {
  background-color: var(--black);
}

.has-black-color {
  color: var(--black);
}

.has-lgbtq-peach-background-color {
  background-color: var(--lgbtq-peach);
}

.has-lgbtq-peach-color {
  color: var(--lgbtq-peach);
}

.has-lgbtq-yellow-background-color {
  background-color: var(--lgbtq-yellow);
}

.has-lgbtq-yellow-color {
  color: var(--lgbtq-yellow);
}

.has-lgbtq-green-background-color {
  background-color: var(--lgbtq-green);
}

.has-lgbtq-green-color {
  color: var(--lgbtq-green);
}

.has-lgbtq-pink-background-color {
  background-color: var(--lgbtq-pink);
}

.has-lgbtq-pink-color {
  color: var(--lgbtq-pink);
}

.has-lgbtq-purple-background-color {
  background-color: var(--lgbtq-purple);
}

.has-lgbtq-purple-color {
  color: var(--lgbtq-purple);
}

#segregatedSands .has-tertiary-color {
  color: #03528b;
}

#segregatedSands .has-background-color-sand {
  background-color: var(--sand);
}

/* Alignment */
.vertical-align-center {
  display: flex;
  align-items: center;
}

/* Alignment Extra small devices (767px and down) */
@media (max-width: 767px) {
  .row.vertical-align-center {
    display: block;
    /* Turn off the flexible box layout */
  }
}

.vertical-align-bottom {
  display: flex;
  align-items: flex-end;
}

/**
 * EXTERNAL LINK ICON
 */
#main_content sup,
#agencyFooter sup {
  top: -3px;
}

#main_content .extlink sup::after,
#agencyFooter .extlink sup::after {
  font: var(--fa-font-solid);
  content: "\f35d";
  padding-left: 5px;
}

.nav-menu .extlink sup::after,
.wp-caption-text .extlink sup::after {
  content: "";
}

#main_content .btn sup::after,
#main_content .extlink-no-icon sup::after,
#agencyFooter i+sup::after,
#agencyFooter i+span+sup::after,
.wp-block-social-link-anchor.extlink sup::after,
.wp-social-link .wp-block-social-link-anchor.extlink sup::after {
  content: "" !important;
}

/* Force link outline around entire icon not just half of it. */
#footer a i {
  display: block;
}

#footer a,
#footer a:link,
#footer a:visited {
  color: #dbdbdb;
}

#footer a:hover,
#footer a:active {
  color: #ffffff;
}

/* 
 * Override WP & theme default caption styles.
 */
.block-editor-page .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: var(--dark-charcoal);
  /* height: 35px; */
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  text-align: center;
  padding: 5px 5px 5px 5px;
  font-weight: bold;
  line-height: initial;
  color: var(--white);
}

/* Override WP & theme default caption link styles */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a:visited {
  color: #fff !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  color: var(--white);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a:link:hover {
  text-decoration-thickness: 3px !important;
}

/* 
 * Spacing Utilities
*/

/* Margin */
.mx-0 {
  margin-right: 0;
  margin-left: 0;
}

.my-2 {
  margin: 2em 0;
}

.my-3 {
  margin: 3em 0;
}

.my-4,
.my-5 {
  margin-top: 1em;
  margin-bottom: 1em;
}

@media screen and (min-width: 768px) {
  .my-5 {
    margin-top: 3em;
    margin-bottom: 3em;
  }

  .my-4 {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
}

.mt-1 {
  margin-top: 1em;
}

.mt-5 {
  margin-top: 3em;
}

.mt-6 {
  margin-top: 4em;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-3 {
  margin-bottom: 3em;
}

/* Padding */
.pr-3 {
  padding-right: 3em;
}

.py-2 {
  padding-top: 2em;
  padding-bottom: 2em;
}

.py-3 {
  padding-top: 3em;
  padding-bottom: 3em;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}


/* Fix for lightbox images breaking on mobile issue */
#lightboxImage {
  max-width: 100%;
}