@media (max-width: 1650px) {
  .metaslider .flex-control-nav {
    bottom: 80px !important;
  }
}
@media (max-width: 1280px) {
  #breadcrumb {
    margin-top: 17px;
  }
  .metaslider.ms-theme-cubic .flexslider ol.flex-control-nav:not(.flex-control-thumbs) {
    display: none !important;
  }
}
@media (max-width: 1020px) {
  .header--special-icon {
    display: none;
  }
}
@media (min-width: 992px) {
  #main {
    min-height: 350px;
  }
  #toggle-buttons {
    display: none;
  }
}
@media (max-width: 991px) {
  body .metaslider .flexslider ul.slides {
    height: 250px;
    object-fit: cover;
  }
  body .metaslider .flexslider ul.slides img {
    height: 250px;
    object-fit: cover;
  }
  #header {
    height: auto;
  }
  #header .wrapper {
    height: auto;
    overflow: hidden;
  }
  #header .custom-logo-link {
    padding: 0;
    position: static;
    width: 220px;
  }
  #header .search-form {
    background: #fff;
    position: fixed;
    top: 10px;
    right: auto;
    left: 10px;
    display: none;
  }
  #hnavi {
    width: 100%;
  }
  .header--logo-container {
    background-color: #fff;
  }
  .header--wrapper {
    -ms-flex-preferred-size: 100%;
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
    position: relative;
  }
  .header--wrapper #toggle-buttons {
    position: absolute;
    right: 0;
    top: 0;
  }
  #header-inner {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    height: auto;
    padding: 15px;
  }
  #header-inner .header--hotline-wrapper {
    display: none;
  }
  #header-inner > .wrapper {
    margin: 0;
  }
  .main-image--wrapper {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .teaser--wrapper {
    margin-bottom: 20px;
  }
}
@media (max-width: 640px) {
  #header .custom-logo-link {
    width: 185px;
  }
  #footer-bottom {
    text-align: center;
  }
  #fnavi {
    float: none;
    padding-top: 20px;
  }
}
@media (max-width: 480px) {
  #main,
  #footer,
  #footer-bottom {
    padding-left: 15px;
    padding-right: 15px;
  }
  .pagination .prev,
  .pagination .next {
    display: none;
  }
  .scroll-top {
    background-color: #0d4996;
    border: none;
    bottom: auto;
    display: block !important;
    position: static;
    right: auto;
    width: auto;
  }
  .scroll-top i {
    color: #fff;
  }
  .scroll-top i:hover {
    color: #0d4996;
  }
  table.table-vertical td.column-1 {
    white-space: normal;
  }
  table.table-stretched .column-2,
  table.table-stretched .column-3 {
    white-space: normal;
  }
}
@media (max-width: 425px) {
  #header .search-form {
    width: 210px;
  }
}
