@media (max-width: 1400px) {
  .portal_map_container .portal_inst {
    height: auto;
    padding-top: 150px;
  }
  .portal_map_container .portal_inst .new-tagline {
    max-width: 100%;
    font-size: 1.1em;
  }
  #map {
    position: relative;
    padding-top: 40px;
    padding-bottom: 0px;
    height: auto;
  }
  #refinesec-filters .filter-control {
    width: 130px;
    min-width: 130px;
  }
  .refineblock .de-button.form-control.btn-search {
    min-width: 140px;
  }
  div#location-dropdown {
    left: -30%;
  }
  .search-page-container div#location-dropdown {
    left: -100%;
  }
}
@media (min-width: 1200px) and (max-width: 1600px) {
  .qtabcard-img,
  .qtabcard-img img {
    height: 260px;
  }
  article.qtabcard {
    height: 595px;
  }
}
@media (min-width: 980px) {
  .owl-carousel:not(.expand) .owl-item .item a:hover:after,
  .regions-carousel-container li a.region:hover:after {
    content: 'zoom_in';
    font-family: 'Material Icons';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 320px;
  }
}
@media (max-width: 1200px) {
  .banner-slider.owl-carousel {
    height: 50vh;
  }
  .inner-slider .item {
    max-height: 50vh;
  }
  .banner-slider.owl-carousel.expand {
    height: 100%;
  }
  .owl-carousel.expand .owl-stage-outer .owl-stage .owl-item .item {
    display: flex;
  }
  .owl-carousel.expand .owl-stage-outer .owl-stage .owl-item .item img {
    width: 100%;
    height: auto;
  }
  .owl-carousel.owl-drag .owl-item {
    touch-action: pan-y pinch-zoom;
  }
  .qtabcards {
    max-width: 1064px;
  }
  .qtabcards-li {
    width: 33.33%;
  }
  .qtabcards-li {
    width: 33.33%;
    padding: 10px;
  }
  .qtabcard-img img {
    height: 220px;
  }
  article.qtabcard {
    box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.25);
    position: relative;
    height: 565px;
    font-size: 14px;
  }
  .owl-carousel .owl-dots {
    display: block;
  }
  .qtabcard-title h2.has-rate {
    height: 45px;
    max-height: 45px;
  }
  #refinesec-filters .filter-control {
    width: 130px;
    min-width: 130px;
  }
  .refineblock .de-button.form-control.btn-search {
    min-width: 120px;
  }
  #refinesec-filters .btn-search-container {
    width: 100%;
  }
  .search-page-container div#location-dropdown {
    max-width: 900px;
    left: -200%;
  }
}

@media (min-width: 980px) and (max-width: 1200px) {
  .qtabcard-badges ul li img {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 500px) {
  .portal_inst h3,
  .portal_inst .tagline {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  #primary_nav .menu-button {
    width: auto;
  }
  #sitenav .menu-button span {
    display: none;
  }
  .nav-transparent .logo-main,
  .nav-container .logo-main {
    display: none;
  }
  .nav-transparent .logo-dark,
  .nav-container .logo-dark {
    display: block;
  }
  .logo-container,
  .nav-transparent .logo-container {
    width: 25%;
    height: auto;
    padding: 5px 0;
  }
  .logo-container img.logo {
    width: 100%;
    height: auto;
    padding: 10px 0;
  }
  .searchinput {
    width: 100%;
    height: auto;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: 0 auto;
  }
  .sec-head h1 {
    font-size: 2em;
  }
  .stateview_cont {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-color: #fff;
    padding: 0px 1em;
  }

  #map {
    display: none;
  }
  .portal_map_container .portal_inst {
    color: #424242;
    font-size: 1em;
    width: 100%;
    text-align: center;
    padding: 0px 1em 20px;
    background-color: #fff;
    height: auto;
  }
  .portal_map_container.custom-container {
    width: 100%;
  }

  h3.heading-small {
    font-size: 1.5em;
    font-weight: 700;
    color: #008575;
  }
  .tagline.jumbotron {
    font-size: 1.2em;
    text-shadow: none;
    color: black;
    margin-bottom: 0px;
  }

  .new-tagline {
    font-size: 100%;
    text-align: left;
    padding: 0 8px 8px;
  }
  .new-tagline-highlight {
    color: #008575;
  }
}

@media screen and (max-width: 992px) {
  #primary_nav_header,
  #primary_nav_header.nav-transparent,
  #primary_nav_header.nav-transparent.semi-grey-tint {
    background: #008575;
  }
  .resultsec .resultcards li {
    width: 33.3%;
  }
  .nav-transparent,
  #primary_nav_header.nav-transparent {
    height: 80px;
  }
  .banner-slider.owl-carousel {
    height: 200px;
    margin-top: 80px;
  }
  #categories .owl-carousel {
    height: auto;
  }
  .owl-carousel.expand {
    padding-top: 0px;
    height: 100%;
    margin-top: 0px;
  }
  .owl-carousel.expand .owl-stage-outer .owl-stage .owl-item .item {
    padding-bottom: 0px;
  }
  .owl-carousel.expand .owl-stage-outer .owl-stage .owl-item .item img {
    width: 100%;
    height: auto;
  }
  .owl-carousel.expand
    .owl-stage-outer
    .owl-stage
    .owl-item
    .item
    .img-caption {
    top: auto;
    bottom: 20px;
    width: 65%;
    display: block;
  }
  .owl-carousel.expand .owl-nav button.owl-next,
  .owl-carousel.expand .owl-nav button.owl-prev {
    bottom: 0px;
    top: auto;
  }
  .breadcrumb {
    margin-bottom: 5px;
  }
  .col-right-sidebar {
    padding-right: 15px;
    padding-left: 15px;
  }
  .portal_map_container .portal_inst {
    padding-top: 100px;
  }
  .portal_inst h3,
  .portal_inst .tagline {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .owl-carousel span.img-caption {
    top: 160px;
  }
  .owl-carousel.expand span.img-caption {
    top: auto;
    bottom: 25px;
  }
  .custom-container .sec-head {
    width: 100%;
    float: left;
    text-align: center;
  }
  .sec-head {
    padding: 0px 15px;
  }
  .banner .refinesec .form-group {
    box-shadow: none;
    margin-bottom: 0px;
  }
  .sorting {
    width: 50%;
    float: right;
    margin-top: 15px;
    text-align: right;
  }
  #primary_nav_header,
  #statenav,
  #sitenav,
  #sitenav .menu-button,
  #primary_nav .searchinput input.form-control {
    color: white;
  }
  #primary_nav .searchinput input::-webkit-input-placeholder,
  #primary_nav .searchinput input::-moz-placeholder,
  #primary_nav .searchinput input:-ms-input-placeholder,
  #primary_nav .searchinput input:-moz-placeholder {
    color: white;
  }
  .logo-container .logo-main {
    display: none;
  }
  .logo-container .logo-dark {
    display: block;
  }
  .resultsec .resultcards .accreditation-badges li img {
    height: 100%;
    width: auto;
    max-width: none;
  }
  .featured {
    width: 33%;
  }
  .new-tagline {
    font-size: 115%;
  }

  #search-popup {
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: auto;
  }
  #search-popup-header {
    padding: 20px 20px 0;
  }
  #search-popup-cost {
    position: static;
    margin-top: -10px;
  }
  #search-popup-cost .cost-amount {
    font-size: 1.5em;
  }
  #search-popup-body {
    padding: 0 20px;
  }
  #search-popup-facility li {
    width: 50%;
    word-break: break-word;
  }
  main.state-home,
  main.search-page {
    margin-top: 80px;
  }
  main.state-home .page-title.banner,
  main.search-page .page-title.banner {
    height: 300px;
  }
  .banner .h-banner {
    height: 300px;
    padding: 100px 0 0px;
  }
  main.state-home .banner:before,
  main.search-page .banner:before {
    height: 379px;
  }
  .qtabcards-li {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  div#location-dropdown {
    width: 750px;
    left: -312px;
  }
  .search-page-container div#location-dropdown {
    position: fixed;

    width: 90%;

    left: 0;

    right: 0;

    margin: auto;
  }
  #state_page .qtabcards-li {
    width: 100%;
    padding: 10px;
  }
  #state_page .qtabcard-img img {
    height: auto;
  }
  #state_page article.qtabcard {
    box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, 0.25);
    position: relative;
    height: 680px;
    font-size: 14px;
  }
  #state_page .owl-carousel .owl-dots {
    display: block;
  }
  #state-description .logo-image {
    margin: auto;
    max-width: 100px;
  }
  #state-description .img-container {
    text-align: center;
  }
  .custom-container {
    width: 100%;
  }
}
@media (min-width: 640px) and (max-width: 992px) {
  .qtabcard-img,
  .qtabcard-img img,
  .qtabcard-img .owl-carousel {
    height: 360px;
  }
  article.qtabcard {
    height: 715px;
  }
}
@media (max-width: 800px) {
  #map {
    width: 500px;
    left: 0px;
  }
  #map svg {
    width: 500px;
    height: 450px;
  }
  article.card {
    min-height: 450px;
    height: auto;
  }
  .new-tagline {
    font-size: 100%;
    max-width: none;
  }
}
@media screen and (max-width: 768px) {
  .resultsec .resultcards li {
    width: 50%;
  }
  .state-content {
    margin-top: 150px;
  }
  .state-content .resultsec .resultcards li {
    width: 100%;
    padding: 0;
  }
  .state-content .resultsec .resultcards li .cardimg {
    height: 260px;
  }
  .resultsec .resultcards li.badge-icon {
    display: inline-block;
    width: auto;
  }
  .refineblock .de-button.form-control.btn-search {
    margin-left: 0px;
  }
  .resultsec #sample-listings.resultcards ul,
  .resultsec #sample-winners.resultcards ul {
    margin: auto 0px;
  }
  .page-section h2,
  .page-section .description {
    text-align: center;
  }
  .resultcards h2,
  .resultcards .description {
    text-align: left;
  }
  div#location-dropdown {
    width: 100%;
    left: 0px;
  }
  .main-region {
    width: 100%;
  }
  .featured {
    width: 100%;
    text-align: center;
  }
  .feature-content:after {
    content: '';
  }
  .stateview_cont h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: white;
    position: absolute;
    bottom: 10px;
    left: 20px;
    margin: 0px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    z-index: 5;
  }
  .new-tagline {
    /*font-size: 130%;
    max-width: none;*/
  }
  .new-tagline:after {
    content: '';
    clear: both;
  }
  .banner-slider.owl-carousel {
    height: 30vh;
  }
  .inner-slider .item {
    max-height: 30vh;
  }
  .owl-carousel span.img-caption {
    top: 25vh;
  }
  main.state-home .page-title.banner,
  main.search-page .page-title.banner {
    height: 425px;
  }
  .banner .h-banner {
    height: 425px;
    padding: 100px 0 0px;
  }
  main.state-home .banner:before,
  main.search-page .banner:before {
    height: 425px;
  }
}
@media screen and (max-width: 640px) {
  .resultcards ul,
  .resultsec .resultcards li {
    width: 100%;
  }
  .de-dropdown-menu {
    width: 100%;
  }
  #primary_nav_header #search-bar,
  #statenav {
    display: none;
  }
  .sorting {
    width: 100%;
    text-align: center;
  }
  .listing-details .description .facility ul li {
    width: 50%;
    word-break: break-word;
  }
  #search-popup-facility li {
    width: 100%;
    word-break: break-word;
  }
  .inner-slider .item {
    max-height: 60vh;
  }
  .owl-carousel.expand
    .owl-stage-outer
    .owl-stage
    .owl-item
    .item
    .img-caption {
    width: 58%;
    bottom: 25px;
  }
  #search-popup-links li {
    display: block;
    margin-bottom: 10px;
  }
  #search-popup-footer {
    padding: 10px 20px 70px 20px;
  }
  #search-popup-footer ul {
    height: 40px;
  }
  #search-popup-footer li img {
    width: 40px;
    height: 40px;
  }
  #search-popup-book {
    width: auto;
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
  #search-popup-book-tas {
    width: auto;
    bottom: 20px;
    right: 55%;
    left: 20px;
  }
  #search-popup-feedback {
    width: auto;
    bottom: 20px;
    right: 20px;
    left: 55%;
  }
}
/* desktop short height */
@media (max-height: 600px) and (min-width: 992px) {
  .inner-slider .item {
    max-height: 100vh;
  }
  .banner-slider.owl-carousel {
    height: 100vh;
  }
}
/* mobile rotate */
@media (max-height: 400px) and (max-width: 992px) {
  .inner-slider .item {
    max-height: 60vh;
  }
  .banner-slider.owl-carousel {
    height: 60vh;
  }
  .owl-carousel span.img-caption {
    top: 50vh;
  }
  .owl-carousel.expand .owl-stage-outer .owl-stage .owl-item .item img {
    width: auto;
    height: 100%;
  }
}
/* iPad rotate */
@media (max-width: 1024px) and (max-height: 768px) {
  span.img-caption {
    top: 43vh;
    text-align: center;
  }
}
@media (max-width: 1024px) {
  #refinesec-filters .filter-control {
    width: 25%;
    min-width: 0px;
  }
  .refinesec .refineblock .form-control,
  .refinesec .refineblock .selectdropdown .btn {
    padding: 10px 15px;
  }
  .selectdropdown de-dropdown.form-control .de-dropdown {
    padding: 0px 40px 0 0px;
  }
  #state_page .selectdropdown de-dropdown.form-control .de-dropdown {
    padding: 0px 15px;
  }
}
@media (max-width: 768px) {
  /* #refinesec-filters .filter-control {
    width: 33%;
    min-width: 0px;
  } */
}
@media (max-width: 640px) {
  #refinesec-filters .filter-control {
    width: 100%;
    min-width: 0px;
  }
}
/* 2019 redesign */
/* @media (max-width: 1063px) {
  .qtabcards {
    max-width: 500px;
  }
  .qtabcards-li {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
} */

@media (min-width: 1920px) {
  .qtabcards-li {
    width: 25%;
  }
  article.qtabcard {
    height: 655px;
  }
  .qtabcard-img img {
    height: 320px;
  }
  .qtabcard-img-none {
    height: 320px;
  }
  .qtabcards-frontpage .qtabcards-li {
    width: 33.33%;
  }
  .page-title.banner {
    height: 550px;
  }
  .page-title.banner:before {
    height: 550px;
  }
  .banner .h-banner {
    height: 550px;
    padding-top: 400px;
  }
  .page-title .custom-container {
    bottom: 80px;
  }
  .refineblock .de-button.form-control.btn-search {
    min-width: 260px;
  }
}
