@media only screen and (min-width: 1925px) {
  .sec-title::before,
  .sec-title::after {
    width: 23%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 3000px) {
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: 63px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/tahi/icons/tahi_arrow_down_.svg);
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "fira-sans", sans-serif;
  }

  .collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse {
    position: absolute;
    background: #3a3a39;
    box-shadow: none;
    top: 0px;
    left: 0;
    width: 106%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: flex-end;
    z-index: 3;
  }

  .FixNav li ul {
    position: absolute;
    top: 10% !important;
    /* left: 0%; */
    list-style: none !important;
    right: 0% !important;
    transform: translate(0, 0);
    max-height: 85%;
    overflow-y: auto;
    width: 100%;

    background-color: transparent;
    background: transparent;
    padding-left: 45%;
    box-shadow: none;
  }
  .FixNav li ul a {
    padding: 5px 10px;
    font-size: 20px;
    line-height: 40px;
  }
  .FixNav li.dropdown:hover ul,
  .FixNav li.dropdown ul.show {
    /* display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;

    width: 50%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow-y: scroll; */
  }

  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    right: 0;
    top: 0px;
  }
  button.navbar-toggler {
    display: block !important;
  }

  .FixNav .col-md-5 {
    -ms-flex: 0 0 0;
    flex: 0 0 0;
    max-width: 0;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    width: 50%;
    flex: 0 0 50%;
    height: 65%;
    padding: 0 8em;
    /* border-right: 2px solid #d1b17c; */
  }

  .nav-info {
    width: 50%;
    flex: 0 0 50%;
    padding: 0 8em;
  }
  .nav-info p {
    color: #ffffff;
  }

  .nav-contact-info {
    width: 100%;
    flex: 0 0 100%;
    padding: 2em 8em;
    background-color: #9c857b;
    margin-top: 3em;
  }

  .navbar-nav li a {
    font-family: "fira-sans", "cursive";
    text-align: left;
    color: #ffffff;
    font-size: 30px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #d1b17c;
  }

  .topLogo {
    display: block;
    width: 307.77px;
    padding: 15px 0;
  }

  .col-12.col-sm-6.col-md-6.col-lg-6.col-xl-4.custom-w {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }
}

/* ----------- iPad ----------- */

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .inner-third-sec .row,
  .inner-first-sec .row {
    width: 100%;
    margin: auto;
  }
  .light-beige-bg .text-col,
  .inner-fourth-sec .text-col,
  .team-first .text-col {
    padding: 0 15px;
  }
  .cw-85 .container {
    max-width: 100%;
    margin: auto;
  }

  .kontakt-first a.mainBtn {
    width: 75%;
  }
  #switcher-container::before {
    bottom: 80px;
  }
  #switcher-container:after {
    bottom: 91px;
  }
  .sec-title::before,
  .sec-title::after {
    width: 15%;
  }
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }
  h1 {
    font-family: "the-seasons", "cursive";
    color: #3a3a39;
    /* font-size: 45px;
    line-height: 55px; */
    font-size: 50px;
    line-height: 60px;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 5%;
  }

  h2 {
    font-family: "the-seasons", "cursive";
    color: #3a3a39;
    font-size: 46px;
    line-height: 56px;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 5%;
  }

  h3 {
    font-family: "fira-sans", sans-serif;
    color: #3a3a39;
    font-size: 30px;
    line-height: 40px;
    font-weight: 300;
  }
  .teaser-wrapper h3 {
    font-size: 36px;
    line-height: 46px;
  }
  h4 {
    font-family: "fira-sans", sans-serif;
    color: #3a3a39;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  p,
  ul li,
  .table td,
  .table th {
    color: #3a3a39;
    font-size: 17px;
    line-height: 28px;
    font-weight: 300;
  }
  .nav-contact-info .table td,
  .nav-contact-info .table th {
    color: #4e545d;
  }
  a.mainBtn {
    font-size: 17px;
    line-height: 30px;
  }

  .footer {
    padding: 4em 0 1em;
  }
  .footer::before {
    width: 94.63px;
    height: 94.63px;
    top: -46px;
  }

  .acc-sec.w-60 .container {
    max-width: 100%;
  }
  .w-60 .container {
    max-width: 85%;
  }

  .team-slider .owl-carousel .item .carousel-content {
    padding: 0 15px;
  }
  .team-slider .owl-theme .owl-dots .owl-dot span {
    width: 58px;
  }
}

/*iPad in landscape*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  /* /////////////////////////////////// */

  .FixNav .short-cuts {
    flex: 0 0 20%;
    max-width: 20%;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    flex: 0 55%;
    max-width: 55%;
  }

  .teaser-nav {
    right: 10px;
  }
  .pageSpace.reveiws-sec {
    padding: 6em 0;
  }
  .scalable-img-sec .container {
    max-width: 90%;
  }
  .scalable-img-sec .frame-type-text {
    right: 0%;
    width: 50%;
  }
  .reveiws-sec .sec-title h2 {
    margin: 0 auto 4rem;
  }
  .teser-light-grey,
  .teser-dark-grey {
    display: block !important;
  }

  .teser-light-grey .row,
  .teser-dark-grey .row {
    display: flex !important;
    display: -webkit-flex !important;
    align-items: stretch !important;
    -webkit-align-items: stretch !important;
    min-height: 50vh;
  }

  .teser-light-grey .txt-col,
  .teser-dark-grey .txt-col {
    position: relative;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .teser-light-grey .txt-col {
    background: #3a3a39;
    padding: 3rem 15% 3rem 5%;
  }

  .teser-dark-grey .txt-col {
    background: #3a3a39;
    padding: 3rem 5% 3rem 15%;
  }

  .teser-light-grey .img-col,
  .teser-dark-grey .img-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    overflow: hidden;
  }

  .img-col .frame,
  .img-col .ce-image,
  .img-col .ce-gallery,
  .img-col .ce-outer,
  .img-col .ce-inner,
  .img-col .ce-row,
  .img-col .ce-column,
  .img-col figure,
  .img-col img {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .img-col img {
    object-fit: cover !important;
    object-position: center !important;
  }
  /* /////////////////////////////////// */

  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: -8px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/tahi/icons/tahi_arrow_down_.svg);
  }

  .collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse {
    position: absolute;
    background: #3a3a39;
    box-shadow: none;
    top: 0px;
    left: 0;
    width: 106%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    justify-content: flex-start;
    padding-left: unset;
    z-index: 3;
  }

  .FixNav li.dropdown ul.show {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    right: 0;
    left: 100% !important;
    top: 50% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow: scroll;
    padding-left: 0;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    right: 0;
    top: 0;
  }
  button.navbar-toggler {
    display: block !important;
  }

  .FixNav .col-md-5 {
    -ms-flex: 0 0 0;
    flex: 0 0 0;
    max-width: 0;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    height: 50%;
  }

  .navbar-nav li a {
    font-family: "fira-sans", sans-serif;
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #d1b17c;
  }

  .topLogo {
    display: block;
    width: 307.77px;
    padding: 15px 0;
  }

  .col-12.col-sm-6.col-md-6.col-lg-6.col-xl-4.custom-w {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }

  .footer .map-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer iframe {
    height: 533px;
  }
  .footer .desc-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
  }
  .footer {
    padding: 4em 1em 1em;
  }
  .copy-r p,
  .copy-r a {
    font-size: 12px;
    line-height: 18px;
  }

  .form-element-fileupload input::after {
    width: 60%;
  }

  .inner-first {
    padding: 10em 0 0;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-left: 50%;
    margin-bottom: -10em;
    margin-top: 2em;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .inner-start-padding {
    padding-top: 10em;
  }
  .pageSpace.first-sec {
    padding: 6em 0;
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "fira-sans", sans-serif;
  }

  .team-fifth .custom-grid-wrapper .grid-item {
    width: 50%;
    flex: 0 0 50%;
  }
  .team-fifth .custom-grid-wrapper {
    justify-content: center;
  }
}

/*iPad in portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .team-second .custom-grid-wrapper .grid-item {
    width: 33.33%;
    flex: 0 0 33.33%;
  }

  .team-fifth .container {
    max-width: 70%;
  }
  .team-fifth .custom-grid-wrapper .grid-item {
    width: 100%;
    flex: 0 0 100%;
  }

  .team-gallery .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .team-slider .owl-carousel .item {
    flex-direction: column;
  }
  .team-slider .owl-carousel {
    width: 70%;
    margin: auto;
  }
  .team-slider .owl-carousel .item .carousel-content,
  .team-slider .owl-carousel .item img {
    padding: 0 15px;
    width: 100%;
    flex: 0 0 100%;
  }
  .team-slider .owl-carousel .item img {
    margin-bottom: 1em;
  }
  .team-slider .owl-theme .owl-dots {
    position: absolute;
    right: 0;
  }

  .cw-65 .container {
    max-width: 95%;
    margin: auto;
  }
  .inner-start-img {
    padding-top: 6em;
  }
  .inner-fourth-sec figure,
  .team-first figure,
  .light-beige-bg figure {
    width: 332px;
    margin: 0 auto 2em;
  }
  .inner-first-sec .col-md-6,
  .inner-third-sec .col-md-6,
  .light-beige-bg .cw-85 .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .navbar-expand-lg .navbar-nav::after {
    height: 60vh;

    transform: translate(0%, 10%);
  }
  #tAHI_FORM-3472 {
    margin-top: 4em;
  }
  .kontakt-first .container {
    max-width: 85%;
  }

  .kontakt-first .col-md-6.mail {
    text-align: end;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .kontakt-first .col-md-6.anfurn {
    text-align: left;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .FixNav .short-cuts {
    height: auto;
  }
  .FixNav .short-cuts .shortCuts a {
    justify-content: flex-start;
  }

  header.FixNav {
    width: 100%;
  }

  .FixNav li ul {
    position: absolute;
    top: 15% !important;

    list-style: none !important;
    right: 0% !important;
    transform: translate(0, 0);
    max-height: 75%;
    overflow-y: auto;
    width: 100%;

    background-color: transparent;
    background: transparent;
    padding-left: 55%;
    box-shadow: none;
  }

  .teaser-wrapper .col-md-6:last-child .frame-type-text {
    width: 100% !important;
    left: 50% !important;
    height: 500px;
    transform: translate(-50%, -50%) !important;
    background: #d1b17c;
    padding: 2em 2em 0 3em;
  }
  .teaser-nav {
    right: 14px;
    top: 85%;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 50%;
    flex: 0 0 50%;
    height: 100%;
    padding: 20px;
    /* border-right: 2px solid #d1b17c; */
  }
  .nav-info {
    width: 50%;
    flex: 0 0 50%;
    padding: 0 3em;
  }
  .nav-contact-info {
    width: 100%;
    flex: 0 0 100%;
    padding: 2em;
    background-color: #9c857b;
    margin-top: 0em;
  }
  .scalable-img-sec .frame-type-text {
    top: 24%;
    transform: translateY(-50%);
    right: 0%;
    width: 90%;
  }
  .pageSpace.scalable-img-sec {
    padding: 3em 0;
  }
  .scalable-img-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .scalable-img-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }
  .first-sec .container {
    max-width: 89%;
  }
  .header-sec video {
    height: 100vh;
  }
  /* .reveiws-sec .owl-carousel.owl-drag .owl-item {
    width: 620px !important;
  } */
  .reveiws-sec .owl-container {
    width: 85%;
    margin: auto;
  }
  .pageSpace.reveiws-sec {
    padding: 3em 0;
  }
  .copy-r {
    margin-top: 5em;
  }
  .copy-r .row {
    gap: 10px;
  }
  a.STEF_back-to-top {
    bottom: 150px;
  }
  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer .desc-col {
    text-align: center;
    padding: 2em 0;
  }
  .footer {
    padding: 4em 0 2em;
  }
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: -8px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/tahi/icons/tahi_arrow_down_.svg);
  }

  .reverse {
    flex-direction: column-reverse;
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "fira-sans", sans-serif;
  }

  .pageSpace.first-sec {
    padding: 3em 0;
  }

  .teser-light-grey .img-col .frame,
  .teser-light-grey .img-col .ce-image,
  .teser-light-grey .img-col .ce-gallery,
  .teser-light-grey .img-col .ce-outer,
  .teser-light-grey .img-col .ce-inner,
  .teser-light-grey .img-col .ce-row,
  .teser-light-grey .img-col .ce-column,
  .teser-light-grey .img-col figure,
  .teser-dark-grey .img-col .frame,
  .teser-dark-grey .img-col .ce-image,
  .teser-dark-grey .img-col .ce-gallery,
  .teser-dark-grey .img-col .ce-outer,
  .teser-dark-grey .img-col .ce-inner,
  .teser-dark-grey .img-col .ce-row,
  .teser-dark-grey .img-col .ce-column,
  .teser-dark-grey .img-col figure {
    height: 100%;
  }

  .teser-light-grey .img-col,
  .teser-dark-grey .img-col,
  .teser-light-grey .txt-col,
  .teser-dark-grey .txt-col {
    height: 37.5vh;
  }
  .teser-light-grey .img-col img,
  .teser-dark-grey .img-col img {
    height: 100%;
  }

  .owl-container .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 0;
  }

  .owl-container .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 0;
  }

  .news-slider .owl-carousel .owl-item a.mainBtn {
    width: 50%;
  }

  .footer .desc-col .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer iframe {
    height: 250px;
    padding: 0 2em;
  }

  .inner-first {
    padding: 12em 0 0;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-left: 20%;
    margin-bottom: -10em;
    margin-top: 2em;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .benefits-sec h2 {
    width: 85%;
  }

  .inner-second .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .navbar-collapse {
    position: absolute;
    overflow-y: auto;
    background: #3a3a39;
    box-shadow: none;
    top: 60px;
    left: 0;
    width: 96%;
    left: 50%;
    transform: translate(-50%, 0);
    min-height: 100vh;
    padding-left: unset;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    z-index: 3;
  }

  .FixNav li.dropdown:hover ul,
  .FixNav li.dropdown ul.show {
    position: absolute;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 100%;
    right: 0;
    left: 100% !important;
    top: 50% !important;
    transform: translate(0, -50%) !important;
    max-height: 100%;
    overflow: visible;
    padding: 1em;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  nav .row.align-items-center {
    display: flex;
    flex-direction: row;
  }

  nav .col-md-4.col-xs-12,
  nav .col-md-3.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav .col-md-7.col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .navbar-nav li a {
    font-family: "fira-sans", sans-serif;
    text-align: left;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #d1b17c;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    right: 0;
    top: 30px;
    left: 30%;
  }
  .FixNav .tel-btn {
    z-index: 999999999999;
    position: relative;
    left: 30%;
    top: 30px;
    color: #3a3a39;
  }
  .FixNav .short-cuts {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    justify-content: space-between;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    display: flex;
  }
  .FixNav .closeBtn .icon-bar,
  .FixNav .navbar-toggler .icon-bar {
    background: #3a3a39;
  }
  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }

  .tx-videogrid .col-4 {
    margin-bottom: 35px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .topLogo {
    display: block;
    width: 300px;
    margin: auto;
    padding: 20px 0 0 0;
  }

  iframe {
    margin-bottom: 0;
  }

  .scrolla {
    bottom: 0%;
  }

  .copyright a {
    margin-left: 0;
    margin-right: 15px;
  }

  .footer .col-4:first-child {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-4.pt-5 {
    padding-right: 0px;
    padding-left: 30px;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .col-8,
  .col-md-6,
  .col-6,
  .col-5,
  .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .footer .col-4,
  .footer .col-2,
  .ipadRow .col-6,
  .col-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer .col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .text-right {
    text-align: center !important;
  }
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  .img-col .frame,
  .img-col .ce-image,
  .img-col .ce-gallery,
  .img-col .ce-outer,
  .img-col .ce-inner,
  .img-col .ce-row,
  .img-col .ce-column,
  .img-col figure,
  .img-col img {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .img-col img {
    object-fit: cover !important;
    object-position: center !important;
  }
  /* /////////////////////////////////// */
}

/* Portrait */
@media only screen and (min-width: 1025px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-pixel-ratio: 1.5) {
  .col-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 13px;
    margin-top: 4px;
  }

  nav ul.dropdown-menu {
    position: ABSOLUTE !important;
    left: 0;
    top: 100% !important;
    margin-top: 0px;
    width: 100%;
    background: #fff;
    border: 0px solid #fff;
    border-radius: 0;
    padding-top: 1em;
    padding-bottom: 3em;
    z-index: 100;
    min-width: 375px !important;
    box-shadow: 0px 2px 4px rgb(126 126 126 / 50%) !important;
  }

  li.dropdown {
    position: relative;
  }

  nav.navbar-light .col-md-7.col-xs-12 {
    position: static;
    border-top: 1px solid #979797;
  }

  .navbar-nav li a {
    padding: 20px 27px;
  }

  .navbar-collapse {
    height: auto;
    top: 0;
    overflow-x: visible;
  }

  .videoBlock.stndalone img {
    width: 100%;
    height: 100%;
  }
}

/* Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1367px) and (orientation: landscape) {
  h1 {
    font-family: "the-seasons", "cursive";
    color: #3a3a39;
    /* font-size: 45px;
    line-height: 55px; */
    font-size: 50px;
    line-height: 46px;
    font-weight: 300;
    letter-spacing: 5%;
    margin-bottom: 2rem;
  }

  h2 {
    font-family: "the-seasons", "cursive";
    color: #3a3a39;
    font-size: 46px;
    line-height: 56px;
    font-weight: 300;
    letter-spacing: 5%;
    margin-bottom: 2rem;
  }

  h3 {
    font-family: "fira-sans", sans-serif;
    color: #3a3a39;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  /* h4 {
    font-family: "fira-sans", sans-serif;
    color: #3a3a39;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  } */

  /* p,
  ul li,
  .table td,
  .table th {
    color: #3a3a39;
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
  } */
  nav.navbar-light .col-md-8.col-xs-12 {
    flex: 0 55%;
    max-width: 55%;
  }
  .FixNav .short-cuts {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* ------------------------------------- */
@media (max-width: 320px) {
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (min-width: 1001px) and (max-width: 1280px) {
}

@media (min-width: 776px) and (max-height: 991px) {
}

@media (max-width: 991.98px) {
}

@media (min-width: 767px) and (max-width: 991.98px) {
}

@media (min-width: 500px) and (max-width: 766px) {
}

@media (max-width: 766px) {
 .teaser-wrapper .col-md-6:first-child .frame-type-image img {
  height: 300px;
  object-fit: cover;
 }
 
  .team-first .row {
    padding-top: 0;
  }
  .team-gallery .container,
  .team-first .container {
    max-width: 88%;
  }

  .team-slider .owl-carousel .item .carousel-content,
  .team-slider .owl-carousel .item img {
    padding: 0 15px;
    width: 100%;
    flex: 0 0 100%;
  }
  .team-slider .owl-carousel .item img {
    margin-bottom: 1em;
  }
  .team-slider .owl-carousel .item {
    flex-direction: column;
  }
  .team-slider .owl-theme .owl-dots {
    position: absolute;
    right: 0;
  }
  .team-slider .owl-theme .owl-dots .owl-dot span {
    width: 40px;
  }

  .team-fifth .custom-grid-wrapper .grid-item {
    width: 100%;
    flex: 0 0 100%;
  }

  .team-second .custom-grid-wrapper .grid-item {
    width: 100%;
    flex: 0 0 100%;
  }

  .inner-third-sec .row,
  .light-beige-bg .row,
  .inner-first-sec .row {
    width: 100%;
    margin: auto;
  }
  .light-beige-bg .text-col,
  .inner-fourth-sec .text-col,
  .team-first .text-col {
    padding: 0 15px;
  }
  .cw-85 .container {
    max-width: 100%;
    margin: auto;
  }
  .cw-65 .container {
    max-width: 95%;
    margin: auto;
  }
  .inner-start-img {
    padding-top: 6em;
    margin-top: 13px;
  }
  .inner-start-img figure {
    height: 150px;
    width: 100%;
    margin: 0;
  }

  .inner-start-img figure img {
    object-fit: cover;
  }
  .pageSpace.inner-first-sec {
    padding: 2em 0 9em;
  }
  .navbar-expand-lg .navbar-nav::after {
    content: none;
  }
  .kontakt-first a.mainBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  #tAHI_FORM-3472 {
    margin-top: 4em;
  }
  .kontakt-first .container {
    max-width: 90%;
  }

  .kontakt-first .col-md-6.mail {
    text-align: center;
  }
  .kontakt-first .col-md-6.anfurn {
    text-align: center;
  }
  .FixNav .short-cuts {
    height: auto;
  }

  #switcher-container::before {
    bottom: 1%;
  }
  #switcher-container:after {
    bottom: 3%;
  }
  .teaser-wrapper .col-md-6:last-child .frame-type-text {
    width: 100% !important;
    left: 50% !important;
    height: 530px;
    /* height: 663px; */

    transform: translate(-50%, -50%) !important;
    background: #d1b17c;
    padding: 2em 2em 0 3em;
  }
  .teaser-nav {
    right: 28%;
    top: 98%;
    flex-direction: row;
    gap: 10px;
  }
  .teaser-nav-item {
    transform: rotate(0);
  }
  .teaser-nav-item::after {
    width: 20px;
    height: 2px;
  }
  .closeBtn .icon-bar,
  .navbar-toggler .icon-bar {
    width: 29px;
  }
  .navbar-toggler .icon-bar + .icon-bar {
    margin-top: 5px;
  }
  .FixNav .short-cuts .shortCuts a {
    padding: 7px 15px;
    font-size: 16px;
    line-height: 100%;
    justify-content: flex-start;
  }
  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    right: 0;
    top: 30px;
    left: 30%;
  }
  .FixNav .tel-btn {
    z-index: 999999999999;
    position: relative;
    left: 0%;
    top: 30px;
    font-size: 16px;
    line-height: 28px;
    color: #3a3a39;
    margin-right: 0;
  }
  .FixNav .short-cuts {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    /* justify-content: space-between;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    display: flex; */
    gap: 20px;
  }
  .FixNav .closeBtn .icon-bar,
  .FixNav .navbar-toggler .icon-bar {
    background: #3a3a39;
  }
  .topLogo {
    display: block;
    width: 300px;
    margin: auto;
    padding: 20 0 0 0;
  }

  .header-sec .frame-type-image figure {
    width: 275px;
    bottom: 175px;
  }
  .scalable-img-sec .container {
    max-width: 100%;
  }
  .scalable-img-sec figure {
    height: 650px;
  }
  .pageSpace.scalable-img-sec {
    padding: 4em 0;
  }
  .scalable-img-sec .frame-type-text {
    top: 23%;
    transform: translateY(-50%);
    right: 0%;
    width: 100%;
    padding: 1em;
  }
  .scalable-img-sec .frame-type-text a.teaserBtn {
    font-size: 15px;
    line-height: 100%;
    padding: 15px;
  }
  .scalable-img-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .scalable-img-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }
  .header-sec video {
    height: 100vh;
  }
  .reveiws-sec .owl-carousel.owl-drag .owl-item {
    /* width: 308px !important; */
    padding: 15px;
  }
  .reveiws-sec .owl-container {
    width: 98%;
    margin: auto;
  }
  .reveiws-sec .owl-carousel.owl-drag .owl-item {
    border: 2px solid #d1b17c;
  }
  .sec-title::after {
    width: 10%;
  }
  .sec-title::before {
    width: 10%;
  }
  .sec-title h2 {
    width: 70%;
  }
  .pageSpace.beige-sec {
    padding: 5em 0;
  }
  .owl-theme .owl-nav.disabled + .owl-dots {
    display: flex;
    align-items: center;
  }
  .home-img-slider .owl-theme .owl-dots .owl-dot span {
    width: 35px !important;
    height: 3px !important;
  }
  .home-img-slider .owl-dots {
    bottom: 0;
  }
  .pageSpace.reveiws-sec {
    padding: 3em 0;
  }
  .pageSpace.reveiws-sec .owl-theme .owl-nav.disabled + .owl-dots {
    margin-top: 2em;
    gap: 10px;
    justify-content: center;
  }
  .copy-r {
    margin-top: 5em;
  }
  .copy-r .row {
    gap: 5px;
  }
  a.STEF_back-to-top {
    bottom: 103px;
  }
  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer .desc-col {
    text-align: center;
    padding: 2em 0;
  }
  .footer {
    padding: 4em 0 1em;
  }
  .section.footer .container {
    max-width: 90%;
  }
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }

  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/tahi/icons/tahi_arrow_down_.svg);
  }

  .pageSpace.first-sec {
    padding: 4em 0;
  }

  .inner-first {
    padding: 12em 0 0 !important;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-bottom: -10em;
    margin-top: 2em;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .benefits-sec h2 {
    width: 100%;
  }

  .acc-sec.w-60 .container {
    max-width: 100%;
  }
  .acc-sec.pageSpace {
    padding-bottom: 0;
  }

  .accordion-item button {
    font-size: 22px;
    line-height: 28px;
  }

  .w-60 .container {
    max-width: 85%;
  }

  .frame-type-form_formframework h2 {
    word-break: break-word;
  }

  .form-element-fileupload input::after {
    width: 70%;
  }

  a.mainBtn {
    font-size: 15px;
    line-height: 21px;
  }

  .reverse {
    flex-direction: column-reverse;
  }

  .owl-nav {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 0 1em;
  }

  .accordion-button.collapsed:after,
  .accordion-button:after {
    top: 33px;
  }

  .owl-container .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 0;
  }

  .owl-container .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 0;
  }

  .tx-videogrid .col-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .news-slider {
    padding-bottom: 6em;
  }

  .footer::before {
    width: 77.19px;
    height: 77.19px;
    top: -36px;
  }

  .footer iframe {
    height: 120px;
  }

  nav.navbar-light.navbar-expand-md {
    position: relative;
    padding: 0;
  }

  h1 {
    /* font-size: 32px;
    line-height: 45px; */
    font-size: 34px;
    line-height: 42px;
    text-transform: uppercase;
    margin-top: 0;
    letter-spacing: 5%;
  }

  h2 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: 5%;
  }

  h3 {
    font-size: 30px;
    line-height: 40px;
  }

  h4 {
    font-size: 21px;
    line-height: 29px;
  }

  p,
  ul li,
  .table td,
  .table th {
    color: #3a3a39;
    font-size: 16px;
    line-height: 25px;
    font-weight: 300;
  }

  p.lead {
    font-size: 22px;
    line-height: 28px;
  }

  .pl-5,
  .pr-5 {
    padding-left: 15px !important;
  }

  .pageSpace {
    padding: 3em 0;
  }

  .navbar-toggler {
    margin: -25px 25px 20px 0;
  }

  .topLogo {
    display: inline-block;
    padding-left: 28px;
    padding-top: 15px;
  }

  .footer {
    padding: 2em 0 1em;
  }

  .top_logo {
    width: 250px;
    top: 50%;
    left: 50%;
  }

  .copy-r p,
  .copy-r a {
    font-size: 12px;
    line-height: 18px;
  }

  .col-4.pt-5 {
    padding-left: 2em;
  }

  .nav-contact-info {
    background-color: #9c857b;
    padding: 1em;
  }
  .nav-contact-info .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .nav-contact-info .col-md-4:nth-of-type(1) {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .nav-contact-info .col-md-4:nth-of-type(2) p {
    text-align: left !important;
  }
  .nav-contact-info .frame-type-text p,
  .nav-contact-info .col-md-4 .table td,
  .nav-contact-info .col-md-4 p {
    color: #000;
  }

  .navbar-nav {
    height: 57vh;
    overflow: auto;
    overflow-x: hidden;
  }

  ul.dropdown-menu {
    box-shadow: unset;
    padding: 0;
  }

  .navbar-collapse {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    background: #3a3a39;
    z-index: 100;
    top: 119px;
    width: 100%;
    padding: 10px;
    /* display: flex;
    align-items: flex-start;
    align-content: space-between; */
    flex-wrap: wrap;
    height: 86vh;
    overflow-y: auto;
  }
  .navbar-toggler .open .icon-bar:nth-of-type(1) {
    transform: rotate(26deg);
  }
  .navbar-toggler .open .icon-bar:nth-of-type(3) {
    transform: rotate(-29deg);
  }
  .navbar-nav li a {
    padding: 14px 40px;
    display: block;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "fira-sans", sans-serif;
    padding: 10px;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
  }

  .navbar-nav li a:hover:before {
    display: none;
  }

  .dropdown-toggle::after {
    display: none;
  }

  /*
    ul.dropdown-menu.show {
        position: relative !important;
        width: 100%;
        padding-top: 5px;
        transform: none !important;
        height: auto;
        overflow: auto;
        padding-bottom: 10px;
        background: rgba(83, 108, 164, 0);
    }*/

  .copyright a {
    margin-left: 0;
    margin-right: 15px;
  }

  .footer .col-3 {
    margin-bottom: 1em;
  }

  .footer table.contenttable {
    margin-bottom: 20px;
  }

  a.STEF_back-to-top {
    /* bottom: 111px; */
  }

  .col-8,
  .col-4,
  .col-md-6,
  .col-6,
  .col-5,
  .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .footer .col-4,
  .footer .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-5 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .text-right {
    text-align: center !important;
  }

  iframe {
    height: 400px;
  }

  .scrolla {
    width: 90%;
    bottom: 5%;
    text-align: center;
    z-index: 8;
  }

  .scrolla h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
  }

  .termina-h {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #979797;
    padding: 10px 0;
  }

  .termina-h a {
    border-bottom: none;
  }

  nav .row.align-items-center {
    display: flex;
    flex-direction: row;
  }

  nav .col-md-3.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav .col-md-7.col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  header.FixNav {
    width: 100%;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
  }

  .navbar-nav li a {
    font-family: "fira-sans", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    font-size: 20px;
    font-weight: 300;
    line-height: 30px;
    padding: 15px 8px;
    text-align: left;
    display: inline-block;
  }
  .navbar-nav li a:hover,
  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover {
    color: #d1b17c;
  }

  ul.dropdown-menu.show {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    padding: 1em 2em;
    transform: unset !important;
    min-width: 390px;
  }

  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  /* .navbar-nav ul.dropdown-menu a {
        padding: 8px 40px;
        display: block;
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        text-align: center;
        text-transform: inherit;
        text-align: left;
        color: #063d79;
    } */

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: inline-block !important;
    margin-left: 15px;
  }

  .topLogo {
    display: block;
    width: 250px;
    padding: 20px 0 0 0;
  }

  .top_logo {
    top: 30%;
    left: 50%;
  }

  .topTxt p {
    text-shadow: 0px 2px 4px rgb(0 0 0 / 50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    text-align: center;
    padding: 0px 30px;
  }

  iframe {
    margin-bottom: -6px;
  }
}
