/* Hide the 3d archives button on the collections page */

.page-id-9719 .exhibit-wrap .single-exhibit:nth-of-type(3) a {
  display: none !important;
}

.single-tribe_events .tribe-events-event-image {
    margin-top: 20px !important; 
}

.home ul.featured-wrap-exhibit .wrap .button-wrapper {
  padding-top: 12px;
}

.tribe-events-content a {
  border-bottom: 1px solid #AC242A !important;
  border-color: #AC242A !important;
}

.search .post-meta-author, .search .post-meta-date {
  display: none;
}

.alertmessage a:hover {
  color: white !important;
}

.tribe-events-calendar-list__event-description p a {
    display: none !important;
}

span.timezone {
    display: none !important;
}


@media(max-width: 1200px) and (min-width: 767px){
  #site-header .logo.logo-span {
    margin-left: -20px !important;
  }
}


.search-form button {
  background-color: #AC242A !important;
  border-color: #AC242A !important;
}

.single-featured-exhibit h6 {
  font-size: 2rem;
}

.tribe-events-c-small-cta__price {
  font-size: 20px;
}

.sbi_follow_btn a:hover {
  outline: 0;
  box-shadow: inset 0 0 10px 20px #b8322e !important;
  background: #b8322e !important;
  color: white !important;
  border: 1px solid white;
}



.dropdown-item.active, .dropdown-item:active {
  background: white !important;
  background-color: white !important;
}

.cta-wrapper .content-wrap {
  max-width: 700px;
  height: auto;
  margin: 0 auto;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
}

.callout-today-hours a:hover {
  color: #E5E3E9 !important;
  text-decoration: none !important;
}

.single-exhibit a:hover {
  color: #AC242A;
  text-decoration: underline;
}

.wpcf7 input.wpcf7-submit {
  border-radius: 5px !important;
  text-transform: uppercase !important;
}

.tribe-events-event-image img {
  width: 100% !important;
  height: auto !important;
}

ul.tour-downloads {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: -40px;
}

ul.tour-downloads li  {
  margin-bottom: 5px;
  margin-right: 11px;
}

ul.tour-downloads li a {
  text-decoration: underline;
  font-weight: bold;
}

ul.exhibit-wrap li {}

  ul.tour-downloads a:hover {
    color: #AC242A !important;
  }

  .panel-title a {
    font-size: 22px;
  }

  #sb_instagram .sbi_follow_btn a {
    background: #B8322E !important;
  }

  .button-red-left:hover {
    color: white !important;
  }

  .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:focus {
    background-color: #AC242A !important;
    color: white !important;
  }


  .sbi_header_text, .sbi_header_img {
    display: none !important;
  }

  a:hover {
    color: #AC242A !important;
  }

  .button-orange:hover {
    color: black !important;
  }

  .tribe-common .tribe-common-anchor-thin-alt {
    color: #AC242A !important;
  }




  @media(max-width:992px) and (min-width: 576px) {
    body, p {
      font-size: 1.2rem !important;
    }
  }

  .search .wp-block-search__button {
    background: #AC242A;
    color: white;
    margin-left: 10px;
    border: 2px solid black;
    border-radius: 5px;
    padding: .5% 30px;
  }

  @media(min-width: 1024px){
    .astm-search-menu a {
      transition: 250ms ease !important;
    }

    .astm-search-menu a:hover {
      transform: scale(1.2);
    }
  }


  form input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid black;
  }

  form textarea {
    max-height: 70px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid black;
  }

  .modal-form form p, .modal-form form label {
    font-size: 0.875rem !important;
  }


  @media (max-width: 600px) {
    .button-red-left, .button-orange-left, .button-orange {
      font-size: 14px !important;
      /* font-weight: bold; */
    }
  }

  .h4-heading {
    margin-top: -7px;
  }

  .row-grid {
    display: grid;
  }


  .wpcf7-form-control-wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 9px !important;
    border-radius: 0px !important;
    height: 35px;
    margin-top: 4px !important;
    min-width: 300px;
    background-color: #333333;
    color: white !important;
    background: url('https://imsmuseumdev.wpengine.com/wp-content/uploads/2022/12/down-filled-triangular-arrow.png'), #333333 !important;   /* Add custom arrow */
    text-transform: uppercase;
    background-repeat: no-repeat !important;
    background-size: 15px auto !important;
    border-color: #333333 !important;
    background-position: center right 10px !important;
  }

  select::-ms-expand {
    display: none; /* Hide the default arrow in Internet Explorer 10 and Internet Explorer 11 */
  }




  @media(min-width: 1024px){
    #menu-top-menu li {
      border-right: 1px solid black;
      padding-right: 22.22px;
    }

    #menu-top-menu li:last-child, #menu-top-menu li:nth-child(4) {
      border-right: 0 !important;
      padding-right: 0px !important;
    }

    .hero-main, .single-inductee {
      height: 350px !important;
    }
  }

  @media(max-width: 1024px) and (min-width: 576px){

    .hero-main, .single-inductee {
      height: 294px;
    }

  }

  @media(max-width: 576px){
    .hero-main, .single-inductee {
      height: 160px;
    }

  }


  @media(max-width: 420px){
    .hero-main  {
      padding: 110px 11.11px !important;
    }

  }

  .home #site-header a.nav-link:hover {
    color: #AC242A !important;
  }


  @media(min-width: 1024px) {
    .home .featured-video-wrap iframe {
      min-height: 400px;
    }
  }

  @media(max-width: 1024px) and (min-width: 767px){
    .home .featured-video-wrap iframe {
      min-height: 244.44px;
    }
  }

  @media(max-width: 767px){
    .home .featured-video-wrap iframe {
      min-height: 220px;
    }
  }


@media(max-width: 1024px) and (min-width: 768px){
  #site-header #site-header-navbar-container .nav a.dropdown-toggle {
  padding-right: 8px !important;
  }

  header #site-header-utility-nav-container .nav > li a {
    font-size: .7rem !important;
  }
}





  /* Facility Rentals Page General */

  ul.cta-line {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: -40px;
    align-items: center;
  }

  @media(min-width: 1200px) {
    ul.cta-line li.cta-block-single {
      max-width: 25%;
      width: 100%;
      height: auto;
      padding: 7% 3%;
      max-height: 330px;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      background-size: cover !important;
    }
    .card-body p {
      font-size: 1.2rem !important;
    }
  }

  @media(max-width: 1200px) and (min-width: 576px){
    ul.cta-line li.cta-block-single {
      max-width: 45%;
      width: 100%;
      height: auto;
      padding: 10% 3%;
      min-height: 330px;
      height: auto;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      background-size: cover !important;
    }
  }

  @media(max-width: 576px) {
    ul.cta-line li.cta-block-single {
      max-width: 100%;
      width: 100%;
      height: auto;
      padding: 10% 3%;
      max-height: 330px;
      margin-top: 12px;
      background-position: center center !important;
      background-repeat: no-repeat !important;
      background-size: cover !important;
    }
  }

  .cta-block-single p {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .wpcf7 input.wpcf7-submit {
    background: #AC242A !important;
    font-size: 16px !important;
    padding: 7px 30px !important;
    border: none !important;
    color: white !important;
  }

  .wpcf7 form p {
    margin-bottom: 2px !important;
  }


  .page-id-9094 .single-featured .view-link {
    position: relative;
    bottom: 2px;
    left: 0;
  }

  h2 {
    font-size: 2.3rem !important;
  }

  .page-template-template-FAQ #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .page-template-template-faq-museum #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .page-template-template-group-visits #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .page-template-template-plan-visit #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .page-template-template-school-visits #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .page-template-template-facility-rental #accordion .card:first-of-type .collapse {
    display:block !important;
  }

  .single-fame_inductee #accordion .card:first-of-type .collapse {
    display:block !important;
  }


  @media (min-width: 1024px) {
    #site-header #site-header-navbar-container .nav .dropdown-menu {
      font-weight: bold !important;
      padding: 10px 15px !important;
      left: -40px !important;
    }
  }


  @media(max-width: 576px) {
    span.mobile-block {
      display: block;
    }

  }


  #site-header #site-header-utility-nav-container .nav-link:active {
    color: #AC242A !important;
  }

  .hero-main h1 {
    max-width: 740px;
    width: 100%;
    margin: 0 auto;
  }

  .tribe-js .tribe-events .tribe-events-c-search__button {
    background-color: white !important;
    border: 1px solid black !important;
    color: black !important;
  }

  .tribe-js .tribe-common .tribe-common-c-svgicon {
    color: #AC242A !important;
  }

  body a {
    color: #AC242A;
  }

  .tribe-common .tribe-common-c-btn-border {
    border: 1px solid #AC242A !important;
    color: #AC242A !important;
  }

  footer .astm-search-menu {
    display: none !important;
  }

  @media(max-width: 576px){
    .inductee-name {
      font-size: 1.1rem !important;
      line-height: 1.5 !important;
    }

    #site-header .logo {
      position: relative;
      left: 0px !important;
      padding-left: 0px !important;
    }
  }

  @media(min-width: 576px){
    .container-wide {
      max-width: 96% !important;
    }
  }

  .card-header {
    padding: 20px 0px 20px 0px !important;
    margin-bottom: 0;
    background-color: white !important;
    border-bottom: none !important;
    color: black;
    text-decoration: none;

  }

  .wow {
    visibility: hidden;
  }


  .card-body {
    padding: 10px 30px 40px 10px;
  }



  .card {
    border: none !important;
    border-top: 1px solid black !important;
    border-radius: 0px !important;
    background: white !important;
    background-color: white !important;
  }



  .card-header h5 {
    font-weight: bold;
  }

  .card-header:first-child {
    border-radius: 0 !important;
  }

  body, html {
    overflow-x: hidden;
  }

  .search img {
    width: 100% !important;
    height: auto;
    max-width: 160px !important;
    margin: 30px 0px !important;
  }

  .search article {
    margin: 30px 0px !important;
  }

  .search a {
    color: #AC242A;
    font-weight: 600;
  }

  .search .page-title span {
    color: #AC242A;
    font-weight: 600;
  }

  @media (min-width: 1024px) {
    #site-header #site-header-navbar-container {
      background: transparent;
      position: relative;
      width: auto;
      top: auto;
      padding-top: 20px !important;
      margin-bottom: -20px !important;
    }
  }

  @media(max-width: 576px) {
    .alertmessage p {
      font-size: .9rem !important;
    }

    p, a {
      font-size: 1.1rem !important;
    }
    p {
      text-decoration: capitalize !important;
    }

    .callout-today-hours a {
      font-size: 1.88rem !important;
    }

  }

  .search .search-submit {
    background: #AC242A !important;
    color: white !important;
  }

  #accordion .accordion-click::after {
    content: url('https://imsmuseumdev.wpengine.com/wp-content/uploads/2022/09/dropdown-arrow.png');
    font-size: 40px;
    color: black;
    float: right;
    margin-top: -10px;
    margin-left: 5px;
  }

  #accordion .accordion-click.active::after {
    content: url('https://imsmuseumdev.wpengine.com/wp-content/uploads/2022/09/dropdown-arrow.png');
    font-size: 40px;
    color: black;
    float: right;
    margin-top: -10px;
    margin-left: 5px;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  .dropdown-toggle:hover {

    -webkit-transition:max-height .4s ease-in-out .4s;
    -moz-transition:max-height .4s ease-in-out .4s;
    -o-transition:max-height .4s ease-in-out .4s;
    -ms-transition:max-height .4s ease-in-out .4s;
    transition:max-height .4s ease-in-out .4s;
  }


  #site-header .navbar-collapse {
    padding-bottom: 2.2rem;
  }

  @media(min-width: 992px) {
    #site-header .search-icon path {
      fill: black !important;
    }
  }

  @media(max-width: 992px) {
    #site-header .search-icon path {
      fill: white !important;
    }

  }

  #site-header .search-icon {
    fill: black !important;
    width: 20px !important;
    height: 20px !important;
  }

  @media(max-width: 992px){
    #site-header #site-header-navbar-container #site-header-main-nav-container a {
      font-size: 24px;
      font-weight: bold !important;
    }

    #site-header #site-header-navbar-container .nav .dropdown-menu a {
      font-size: 18px;
    }
  }

  svg.search-icon {
    width: 30px;
    height: 30px;
  }

  .is-menu .search-icon-path {
    fill: white !important;
  }

  .single .tribe-events-single-section .tribe-events-meta-group a {
    color: #AC242A !important;
  }

  .button-orange-left:hover {
    color: black !important;
  }

  @media only screen and (max-width: 600px) {


    .homepage_slider .slick-dots {
      bottom: -10px !important;
    }

  }

  .tribe-events .tribe-events-c-subscribe-dropdown .tribe-events-c-subscribe-dropdown__button:hover {
    background-color: #AC242A !important;
    color: white !important;
  }


  #site-footer a {
    color: white !important;
  }

  #site-header #site-header-navbar-container .nav > li.current-menu-item > a {
    color: #AC242A !important;
  }

  @media (min-width: 1024px) {
    #site-header #site-header-navbar-container .nav .dropdown-menu {
      background: #fff;
      padding-top: 0;
      padding-bottom: 0;
      font-size: .875rem;
      top: 100% !important;
      width: auto;
    }
  }

  .text-bold h3 {
    font-weight: bold;
  }

  /* Exhibitions Page */

  ul.exhibit-wrap {
    list-style: none;
    margin-left: -40px;
  }

  ul.exhibit-wrap li {
    margin: 0px 0px 30px 0px;
  }


  #site-header-utility-nav-container .nav-link {
    font-weight: 600 !important;
  }


  @media (min-width: 1024px) {
    #site-header #site-header-navbar-container .nav > li a {
      font-size: 24px;
      color: black;
    }

    .alertmessage a {
      font-size: 20px !important;
    }

    .cta-front-text a {
      font-size: 28px !important;
    }

    .home .homepage_slider p {
      font-size: 1.2rem;
    }
  }


  header #site-header-utility-nav-container .nav > li a {
    font-size: .9rem !important;
    transition: 250ms ease-in-out all;
    color: black;

  }

  ul.social-icons img {
    width: 30px;
    height: 30px;
    margin: 0px 20px 5px 0px !important;
  }

  .search #site-main {
    padding: 55px 0px !important;
  }

  footer #site-header-utility-nav-container .nav > li a {
    font-size: 17.7px !important;
    transition: 250ms ease-in-out all;
    color: black;

  }

  #site-header .nav > li a:hover {
    color: red !important;
  }


  @media (max-width: 1024px) {
    #site-header #site-header-main-nav-container .nav > li {
      font-size: 30px !important;

    }

    .home ul.featured-wrap-exhibit li.single-featured-exhibit img {
      max-height: 330px !important;
      height: auto;
      width: 100%;
    }

    li.single-featured-exhibit h6.name {
      font-size: 2rem ;
    }

    .alertmessage p {
      text-align: center !important;
    }
  }

  .alertmessage.message-1 {
    padding: 7px 0px !important;
  }

  ul.homepage_slider {
    list-style: none;
    margin-left: -40px;
    overflow: hidden;
  }

  .single-slide {
    min-height: 600px;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    width: 100%;
    height: auto;
  }

  .cta-front-text {
    text-transform: uppercase;
    color: white;
    text-align: center;
  }

  .h2-heading {
    font-size: 35px;
    text-transform: uppercase;
    color: black;
    letter-spacing: 1.1;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: -7px !important;
  }

  .button-wrap a {
    color: white;
  }

  .button-orange {
    background: #FFB653;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
    display: block;
    margin: 0 auto;
    color: black !important;
    max-width: 280px;
    border-radius: 5px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center;

  }




  @media(max-width: 767px){
    h2 {
      font-size: 1.8rem !important;
    }
    h1 {
      font-size: 2.1rem !important;
      line-height: 1.1 !important;
    }

    h3 {
      font-size: 1.6rem !important;
    }
    h1,h2,h3 {
      font-weight: 600 !important;
      line-height: 1.4;
    }

    .single-slide {
      /* min-height: 400px !important; */
      height: auto !important;
    }

    a {
      font-size: 14.4px;
    }
  }


  .callout-today-hours, .callout-member {
    padding: 40px 5%;
  }

  #site-header a {
    text-transform: uppercase;
  }

  .homepage_slider .slider-content h1 {
    text-transform: uppercase;
  }

  .featured-video-wrap video {
    width: 100% !important;
    height: auto !important;
  }

  .callout-today-hours, .callout-member {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
  }

  .homepage_slider li{
    padding-top: 70px;
  }

  /* About Us Overview Page */

  .staff-wrapper {
    list-style: none;
    margin-left: -40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  @media(min-width: 1200px){
    .staff-wrapper li {
      width: 25%;
    }
  }




  @media(max-width: 1200px) and (min-width: 768px){
    .staff-wrapper li {
      width: 33%;
    }
  }

  @media(max-width: 768px){
    .staff-wrapper li {
      width: 50%;
    }
  }

  .bg-lightgray {
    background: #E5E3E9;
  }

  .staff-wrapper li img {
    box-shadow: 3px 3px 33px whitesmoke;
  }

  .text-bold {
    font-weight: bold;
  }

  .gallery-wrap ul {
    list-style: none;
    margin-left: -40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .gallery-wrap ul li:first-of-type {
    width: 100% !important;
  }

  .gallery-wrap ul li {
    width: 50% !important;
  }

  .gallery-wrap ul li img {
    width: 100%;
    height: auto;
  }

  #accordion .accordion-click::after {
    font-size: 40px;
    color: black;
    float: right;
    margin-top: -10px;
    margin-left: 5px;
    transition: 250ms ease-in-out;
  }

  .page-id-9166 .card {
    border: none;
    border-bottom: 1px solid black !important;
  }

  .crd-head {
    padding-top: 10px;
  }

  ul.BOD-wrapper {
    list-style: none;
    margin-left: -40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  ul.BOD-wrapper li {
    width: 50%;
    padding: 2%;
  }


  #site-header {
    background: white !important;
  }

  @media(max-width: 576px){
    #site-header .logo svg {

      position: relative;
      left: 0;
      overflow-x: hidden;
      overflow-x: hidden;
    }
  }

  #site-footer a {
    font-size: 16px !important;
  }

  #site-footer #site-header-utility-nav-container a {
    font-size: 17px;
  }


  #site-header .logo {
    height: 96px !important;
    width: auto !important;
    margin-left: 0px !important;
  }

  #site-header #site-header-navbar-container .nav .dropdown-menu a {
    text-transform: capitalize;
    font-size: 18px;
    font-weight: normal;
  }

  #site-header .navbar-toggler rect {
    fill: black !important;
  }

  .alertmessage {
    background: #AC242A !important;
    color: white !important;
    font-weight: bold;
  }

  .alertmessage a {
    color: white;
    text-decoration: underline;
    text-transform: uppercase;
  }
  .breadcrumb_last {
    font-weight: bold;
  }

  .breadcrumbs-wrap a {
    color: black !important;
    font-weight: 400;
  }

  #site-header #site-header-navbar-container .nav > li.current-menu-parent > a, #site-header #site-header-navbar-container .nav .dropdown-menu .current-menu-ancestor > a, #site-header #site-header-navbar-container .nav .dropdown-menu .current-menu-item > a,
  #site-header #site-header-navbar-container .nav .dropdown-menu .current-menu-parent > a {
    color: #AC242A;
  }

  @media(min-width: 992px) {

    .cta-front-text a b {
      font-size: 2.25rem !important;
    }

    #site-header #site-header-navbar-container .nav a.dropdown-toggle::after{
      background-image: url('https://www.downloadclipart.net/large/down-arrow-png-hd.png') !important;
      height: 11px !important;
      width: 11px !important;
    }
  }

  @media(max-width: 992px) {

    #site-header #site-header-navbar-container .nav a.dropdown-toggle::after{
      background-image: url('https://imsmuseumdev.wpengine.com/wp-content/uploads/2022/09/down-arrow-red-1.png') !important;
      height: 11px !important;
      width: 11px !important;
    }
    .alertmessage a {
      font-size: 1.1rem !important;
      padding-bottom: 5px;
    }
  }


  .button-red-left,.list-unstyled a {
    background: #AC242A;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 16px;
    color: white !important;
    max-width: 200px;
    border-radius: 5px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center;
  }
  .list-unstyled li{
    margin-bottom: 20px;
  }
  #site-header .nav li:hover > ul.dropdown-menu {
    display: block !important;
    visibility: unset !important;
  }

  #site-header .nav li > ul.dropdown-menu li {
    display: block !important;
    visibility: unset !important;
  }

  #site-header .navbar-toggler svg {
    width: 40px;
    height: 40px;
    position: relative;
    right: 10px;
  }


  h2.main-header {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2rem;
  }

  /* Modal Overlay */

  /* Video Modal
  -----------------------------------------*/
  .video-modal,
  .video-modal .overlay1 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3000;
  }
  .video-modal {
    overflow: hidden;
    position: fixed;
    opacity: 0;

    -webkit-transform: translate(500%, 0%);
    transform: translate(500%, 0%);

    -webkit-transition: -webkit-transform 0s linear 0s;
    transition: transform 0s linear 0s;

    /* using flexbox for vertical centering */

    /* Flexbox display */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;

    /* Vertical alignment */
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
  }
  .video-modal .overlay1 {
    z-index: 0;
    background: RGBA(16, 16, 16, .7) ; /* overlay color */

    opacity: 0;

    -webkit-transition: opacity 0.2s ease-out 0.05s;
    transition: opacity 0.2s ease-out 0.05s;
  }

  .video-modal-content {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;

    margin: 0 auto;

    overflow-y: visible;

    background: #000;

    width: calc(100% - 12em);
    height: 0;
    padding-top: calc((100% - 12em) * 0.5625); /* 16:9 calc */
  }

  /* Scaling to fit within the current Viewport size:
  When viewport aspect ratio is greater than 16:9
  work off the height instead of the width for calc */
  @media (min-aspect-ratio: 16/9) {
    .video-modal-content {
      width: 0;
      height: calc(100vh - 10em);
      padding-top: 0;
      padding-left: calc((100vh - 10em) * 1.7778); /* 16:9 calc */
    }
  }

  /* Mobile Layout Tweaks - side margins reduced */
  @media (max-width: 640px) {
    .video-modal-content {
      width: calc(100% - 1em);
      padding-top: calc((100% - 1em) * 0.5625); /* 16:9 calc */
    }
  }

  /* modal close button */
  .close-video-modal {
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;

    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    z-index: 9999;
    color: white;
  }

  /* set the iframe element to stretch to fit its parent element */
  iframe#youtube {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;

    background: #000;
    box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.5);
  }

  /* show the modal:
  add class to the body to reveal */
  .show-video-modal .video-modal {
    opacity: 1;

    transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
  }
  .show-video-modal .video-modal .overlay1 {
    opacity: 1;
  }
  .show-video-modal .video-modal-content {
    transform: translate(0%, 0%);
    -webkit-transform: translate(0%, 0%);
  }



  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: .33s ease-in-out;
  }

  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }

  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 28px;
    letter-spacing: .33px;
    color: black;
    display: block;
    transition: 777ms;
    font-weight: 900;
    text-transform: uppercase;

  }

  .overlay a:hover, .overlay a:focus {
    color: rgb(0, 160, 221);
  }

  .overlay .closebtn {
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 60px;
    font-weight: 400 !important;
  }

  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
      font-size: 40px;
      top: 5px;
      right: 5px;
    }
  }

  @media(max-width: 767px){
    a.accordion-click {
      font-size: 18px !important;
    }
  }


  #site-footer a {
    color: white !important;
  }

  @media (min-width: 1024px) {
    #site-header #site-header-main-nav-container .nav > li a {
      font-size: 1.1rem !important;
      color: black;
    }

    #site-header-utility-nav-container .nav > li a {
      /* font-size: 16px !important; */
      transition: 250ms ease-in-out all;
      color: black;
    }
    #site-header #site-header-navbar-container .nav .dropdown-menu {
      margin-top: -5px !important;
    }
  }

  #site-header .nav > li a:hover {
    color: red !important;
  }


  @media (max-width: 1024px) {
    #site-header #site-header-main-nav-container .nav > li {
      font-size: 30px !important;

    }

    .alertmessage p {
      text-align: center !important;
    }
  }

  .home ul.featured-wrap-exhibit li.single-featured-exhibit img {
    max-height: 320px !important;
    height: auto;
    width: 100%;
  }


  ul.homepage_slider {
    list-style: none;
    margin-left: -40px;
    overflow: hidden;
  }

  .single-slide {
    min-height: 700px !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    width: 100%;
    height: auto;
  }

  .cta-front-text {
    text-transform: uppercase;
    color: white;
    text-align: center;
  }

  .h2-heading {
    font-size: 35px;
    text-transform: uppercase;
    color: black;
    letter-spacing: 1.1;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: -7px !important;
  }

  .button-wrap a {
    color: white;
  }




  @media(max-width: 767px){
    h2 {
      font-size: 1.8rem !important;
    }
    h1 {
      font-size: 2.1rem !important;
    }

    h3 {
      font-size: 1.6rem !important;
    }
    h1,h2,h3 {
      font-weight: 600 !important;
      line-height: 1.4;
    }

    .single-slide {
      min-height: 650px;
      padding-bottom: 60px;
      height: auto !important;
    }

    a {
      font-size: 18px !important;
    }
  }

  .callout-today-hours, .callout-member {
    padding: 40px 5%;
  }

  #site-header a {
    text-transform: uppercase;
  }

  .homepage_slider .slider-content h1 {
    text-transform: uppercase;
  }

  .featured-video-wrap video {
    width: 100% !important;
    height: auto !important;
  }

  .callout-today-hours, .callout-member {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-transform: uppercase;
  }

  .homepage_slider li{
    padding-top: 70px;
  }

  .home ul.featured-wrap-exhibit {
    list-style: none;
    margin-left: -40px;
    display: flex;
  }

  .home ul.featured-wrap-exhibit li.single-featured-exhibit {
    width: 100%;
    height: auto;
  }

  .home ul.featured-wrap-exhibit li.single-featured-exhibit .wrap {
    background: #E5E3E9;
    height: auto;
  }

  @media(min-width: 1200px){
    .home ul.featured-wrap-exhibit li.single-featured-exhibit .wrap {
      min-height: 500px;
      padding: 14px;
    }
    .home .slick-dots {
      bottom: 45px !important;
      margin-left: -40px;
    }
  }

  @media(max-width: 1200px) and (min-width: 992px){
    .home ul.featured-wrap-exhibit li.single-featured-exhibit .wrap {
      min-height: 550px;
      padding: 14px;
    }
    .home .slick-dots {
      bottom: 45px !important;
      margin-left: -40px;
    }
  }

  @media(max-width: 992px) and (min-width: 576px) {
    .home ul.featured-wrap-exhibit li.single-featured-exhibit .wrap {
      min-height: 610px;
      padding: 10px;
    }
  }

  @media(max-width: 576px) {
    .home ul.featured-wrap-exhibit li.single-featured-exhibit .wrap {
      min-height: 510px;
      padding: 10px;
    }
  }


  .page-template-template-tour-info .image-wrap {
    margin-bottom: 35px !important;
  }
  .home .slick-dots {
    bottom: 30px;
    margin-left: -20px;
  }

  .homepage_slider .slick-dots {
    bottom: -20px;
  }

  @media(min-width: 1024px) {
    .cta-front-text a {
      font-size: 28px;
    }
  }

  @media(max-width: 1024px) {
    .cta-front-text a {
      font-size: 18px;
      display: inline-block;
    }
  }

  .home .featured-wrap-exhibit li {
    background: #E5E3E9;
    position: relative;
  }

  .home .slick-dots li button::before {
    font-size: 50px !important;
    line-height: 50px !important;
    bottom: 20px !important;
  }


  .home ul.featured-wrap-exhibit li.single-featured-exhibit img {
    width: 100%;
    height: auto;
  }

  .home ul.featured-wrap-exhibit li.single-featured-exhibit a {
    color: black;
    text-decoration: none;
  }

  .home .image_gallery ul {
    list-style: none;
    display: flex;
    margin-left: -40px;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .home .image_gallery ul li:first-of-type {
    width: 100% !important;
  }

  .home .image_gallery ul li {
    width: 50% !important;
  }

  .home .image_gallery ul li img {
    width: 100%;
    height: auto;
  }

  ul.bt-gp {
    list-style: none;
    margin-left: -40px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  ul.bt-gp li {
    margin: 15px 0px;
    margin-right: 10px;
  }


  .single-slide .button-wrapper a {
    float: left;
    margin-right: 11px;
  }
/* Niresh CSS */
.dwk-shortcode form label {
	display: block;
	width: 100%;
}
.dwk-shortcode form input, .dwk-shortcode form select, .dwk-shortcode form textarea {
	width: 100%;
}
a.elementor-button:hover {
  color: #fff !important;
  text-decoration: underline;
}
.elementor-widget-n-accordion details .e-n-accordion-item-title, .elementor-widget-n-accordion details > div {
  border-bottom: none !important;
}
.elementor-widget-n-accordion details:last-child .e-n-accordion-item-title {
  border-bottom: 1px solid #000000;
}
.elementor-widget-n-accordion details:last-child {
  border-bottom: 1px solid #000000;
  border-top: none;
}
.dwk-gallery .elementor-gallery-item {
  padding: 15%;
}
.dwk-accordion .elementor-widget-container p {
  color: #212529 !important;
}
.dwk-accordion span.e-opened, .dwk-accordion span.e-closed {
  background: url('dropdown-arrow.png') no-repeat;
  font-size: 0;
  height: 23px !important;
  width: 23px !important;
}
.dwk-accordion span.e-opened svg, .dwk-accordion span.e-closed svg {
  display: none !important;
}
.elementor .elementor-element .event-spaces-slider.elementor-arrows-yes .elementor-main-swiper {
  width: 99.99% !important;
}
.event-spaces-slider.elementor-widget-testimonial-carousel .swiper-slide {
  padding: 0 !important;
}
.event-spaces-slider.elementor-testimonial--align-center .elementor-testimonial {
  text-align: left !important;
}
.event-spaces-slider .elementor-testimonial__content {
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px 20px !important;
}
.event-spaces-slider .elementor-testimonial__text {
  order: 2;
  margin-top: 15px !important;
}
.event-spaces-slider .elementor-testimonial__cite {
  order: 1;
  margin-top: 0 !important;
}
.elementor .elementor-element .event-spaces-slider.elementor-arrows-yes .elementor-testimonial__image img {
  width: 100%;
  height: 500px;
  border-radius: 0px;
  /* aspect-ratio: 1; */
  object-fit: cover;
}