@media only screen and (min-width: 1400px) and (max-width: 2000px) {
  ul.dropdown-menu {
    top: 120%;
  }
  ul.dropdown-menu::before {
    content: "";
    height: 20px;
    width: 100%;
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1700px) {
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: 190px;
    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/TEFR/icons/tefr_arrow_down_.svg);
  }

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

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

  .FixNav li.dropdown ul {
    display: none !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 60%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow-y: scroll;
  }

  .FixNav li.dropdown:hover ul,
  .FixNav li.dropdown ul.show {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    /* width: 60%; */
    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: absolute;
    right: 0;
    top: 33px;
  }
  button.navbar-toggler {
    display: block !important;
  }

  .FixNav .short-cuts {
    position: relative;
    left: 95px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .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-end;
  }

  .navbar-nav li a {
    font-family: "anisette-std", "cursive";
    text-align: center;
    color: #4e545d;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 230px;
    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: #4e545d;
  }

  .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) {
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }
  h1 {
    font-family: "anisette-std", "cursive";
    color: #4e545d;
    /* font-size: 45px;
    line-height: 55px; */
    font-size: 39px;
    line-height: 49px;
    font-weight: 300;
    margin-bottom: 2rem;
  }

  h2 {
    font-family: "anisette-std", "cursive";
    color: #7d8696;
    font-size: 26px;
    line-height: 35px;
    font-weight: 300;
    margin-bottom: 2rem;
  }

  h3 {
    font-family: "acumin-pro", sans-serif;
    color: #f4f2ef;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  h4 {
    font-family: "acumin-pro", sans-serif;
    color: #4e545d;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  p,
  ul li,
  .table td,
  .table th {
    color: #4e545d;
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
  }

  a.mainBtn {
    font-size: 16px;
    line-height: 22px;
  }

  .teaser-slider {
    display: none;
  }
  .teser-light-grey,
  .teser-dark-grey {
    display: block !important;
  }

  .teser-light-grey .txt-col,
  .teser-dark-grey .txt-col {
    position: relative;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    height: 50vh;
    align-content: center;
  }

  .teser-light-grey .txt-col {
    background: #7d8696;
    padding: 0 22% 0 3%;
  }
  .teser-dark-grey .txt-col {
    background: #4e545d;
    padding: 0 3% 0 22%;
  }

  .teser-light-grey .txt-col h2,
  .teser-light-grey .txt-col h3,
  .teser-dark-grey .txt-col h2,
  .teser-dark-grey .txt-col h3 {
    color: #faf9f8;
  }

  .teser-light-grey .txt-col a.mainBtn,
  .teser-dark-grey .txt-col a.mainBtn {
    color: #faf9f8;
    border: 1px solid #faf9f8;
  }

  .teser-light-grey .img-col,
  .teser-dark-grey .img-col {
    padding: 0;
    height: 50vh;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }
  .teser-light-grey .img-col img,
  .teser-dark-grey .img-col img {
    height: 385px;
    object-fit: cover;
    border-radius: 0;
  }

  .teser-light-grey .img-col figure,
  .teser-dark-grey .img-col figure {
    margin: unset;
  }
  .teser-dark-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/tefr_favicon_halb_oral.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }
  .teser-light-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/Group_138.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }

  .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%;
  }
}

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

  .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: #7d8696;
    padding: 3rem 15% 3rem 5%;
  }

  .teser-dark-grey .txt-col {
    background: #4e545d;
    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;
  }
  /* /////////////////////////////////// */
  /* .teaser-slider .owl-item:nth-of-type(1) .item .carousel-content:before,
  .teaser-slider .owl-item:nth-of-type(2) .item .carousel-content::before {
    background-size: cover;
    height: 100%;
    width: 251px;
  } */

  .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/TEFR/icons/tefr_arrow_down_.svg);
  }

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

  .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: scroll;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

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

  .FixNav .short-cuts {
    position: relative;
    left: 95px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .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-end;
  }

  .navbar-nav li a {
    font-family: "anisette-std", "cursive";
    text-align: center;
    color: #4e545d;
    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: #4e545d;
  }

  .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 35%;
    flex: 0 0 35%;
    max-width: 35%;
  }
  .footer iframe {
    height: 505px;
  }
  .footer .desc-col {
    -ms-flex: 0 0 65%;
    flex: 0 0 65%;
    max-width: 65%;
  }
  .footer .ce-textpic {
    margin: 2em 0 3em;
  }
  .footer .ce-textpic .ce-bodytext {
    width: 100%;
  }

  .copy-r {
    width: 65%;
    margin-top: -5em;
  }

  .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;
  }

  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 25px 3em;
  }

  .inner-start-padding {
    padding-top: 10em;
  }
  .pageSpace.first-sec {
    padding: 6em 0;
  }
  .pageSpace.team-sec {
    padding: 5em 0;
  }
  .team-sec .frame-type-text {
    bottom: 124px;
  }
  .team-sec h2 {
    margin-bottom: 1rem;
  }

  .news-slider .owl-carousel .owl-item img {
    height: 260.01px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next {
    margin-right: -60px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev {
    margin-left: -60px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev img,
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next img {
    width: 14.48px;
  }
  .news-slider .owl-carousel .owl-item a.mainBtn {
    width: 55%;
  }

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

/*iPad in portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .FixNav .short-cuts {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .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/TEFR/icons/tefr_arrow_down_.svg);
  }

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

  .inner-team .reverse {
    flex-direction: row;
  }

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

  .header-sec .left-col,
  .header-sec .right-col {
    height: 50vh;
  }
  .header-sec .header-logo {
    left: 50%;
  }
  .header-sec .header-logo img.desc-img {
    display: none;
  }
  .header-sec .header-logo img.mob-img {
    display: block !important;
    height: 123.13px;
  }
  .header-sec .col-md-6 img.col-mob-logo {
    display: block !important;
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 75.9px;
    width: auto;
  }

  .pageSpace.first-sec {
    padding: 7em 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%;
  }

  .pageSpace.team-sec {
    padding: 4em 0;
  }
  .team-sec .frame-type-image img {
    object-fit: cover;
  }
  .team-sec .frame-type-image {
    height: 60vh;
  }
  .team-sec .frame-type-text {
    bottom: 100px;
  }

  .news-slider {
    padding-bottom: 6em;
  }
  .news-slider .owl-carousel .owl-item img {
    width: 260.01px;
    height: 260.01px;
    margin: 0 auto 2em;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev {
    margin-left: -37px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next {
    margin-right: -37px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev img,
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next img {
    width: 14.48px;
  }

  .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;
  }

  .footer .ce-textpic {
    margin: 1em 0;
  }

  .copy-r {
    width: 100%;
    margin-top: 1em;
  }

  .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%;
  }

  .end-padding,
  .termine-sec {
    padding-bottom: 6em;
  }

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

  .termine-sec .container {
    max-width: 60%;
  }
  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 3em;
  }
  .termine-sec .col-md-6.img-col {
    padding-right: 0;
    padding-left: 0;
  }

  .navbar-collapse {
    position: absolute;
    background: #d8cebd;
    box-shadow: none;
    top: -20px;
    left: 0;
    width: 106%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    padding-left: 1em;
    display: flex;
    justify-content: flex-start;
    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: 50%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow: scroll;
    padding: 1em;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

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

  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: "anisette-std", "cursive";
    text-align: center;
    color: #4e545d;
    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: #4e545d;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 21px;
  }

  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: 277.08px;
    padding: 10px 0 10px 13px;
  }

  .short-cuts {
    margin-top: 1rem;
  }
  .shortCuts {
    display: flex !important;
    justify-content: space-between;
  }
  .shortCuts a {
    width: 48%;
    display: flex;
    align-items: center;
  }

  iframe {
    margin-bottom: 0;
  }

  .scrolla {
    bottom: 10%;
  }

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

  /* .navbar-collapse {
    position: absolute;
    width: 100%;
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
    overflow-x: scroll;
    height: 35vh;
    top: 83px;
    opacity: 0.9;
} */

  .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: left !important;
  }
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  .teser-light-grey,
  .teser-dark-grey {
    display: block !important;
  }
  .teaser-slider {
    display: none;
  }
  .teser-light-grey .txt-col,
  .teser-dark-grey .txt-col {
    position: relative;
    -ms-flex: 0 0 60%;
    flex: 0 0 60%;
    max-width: 60%;
    height: 50vh;
    align-content: center;
  }

  .teser-light-grey .txt-col {
    background: #7d8696;
    padding: 0 22% 0 3%;
  }
  .teser-dark-grey .txt-col {
    background: #4e545d;
    padding: 0 3% 0 22%;
  }

  .teser-light-grey .txt-col h2,
  .teser-light-grey .txt-col h3,
  .teser-dark-grey .txt-col h2,
  .teser-dark-grey .txt-col h3 {
    color: #faf9f8;
  }

  .teser-light-grey .txt-col a.mainBtn,
  .teser-dark-grey .txt-col a.mainBtn {
    color: #faf9f8;
    border: 1px solid #faf9f8;
  }

  .teser-light-grey .img-col,
  .teser-dark-grey .img-col {
    padding: 0;
    height: 50vh;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }
  .teser-light-grey .img-col img,
  .teser-dark-grey .img-col img {
    /* height: 410px; */
    border-radius: 0;
    object-fit: cover;
  }
  .teser-light-grey .img-col figure,
  .teser-dark-grey .img-col figure {
    margin: unset;
  }
  .teser-dark-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/tefr_favicon_halb_oral.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }
  .teser-light-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/Group_138.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }
  /* /////////////////////////////////// */

  .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: #7d8696;
    padding: 3rem 15% 3rem 5%;
  }

  .teser-dark-grey .txt-col {
    background: #4e545d;
    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;
  }
  /* /////////////////////////////////// */
}

/* 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;
  }

  .shortCuts.d-none.d-sm-block {
    margin-right: 11px;
    top: 28%;
  }

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

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

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

  .teaser .container-fluid {
    padding: 0 3%;
  }

  .teaser .ce-textpic.ce-center.ce-above {
    min-height: 550px;
  }
}

/* Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1367px) and (orientation: landscape) {
  h1 {
    font-family: "anisette-std", "cursive";
    color: #4e545d;
    /* font-size: 45px;
    line-height: 55px; */
    font-size: 39px;
    line-height: 49px;
    font-weight: 300;
    margin-bottom: 2rem;
  }

  h2 {
    font-family: "anisette-std", "cursive";
    color: #7d8696;
    font-size: 26px;
    line-height: 35px;
    font-weight: 300;
    margin-bottom: 2rem;
  }

  h3 {
    font-family: "acumin-pro", sans-serif;
    color: #f4f2ef;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  h4 {
    font-family: "acumin-pro", sans-serif;
    color: #4e545d;
    font-size: 22px;
    line-height: 30px;
    font-weight: 300;
  }

  p,
  ul li,
  .table td,
  .table th {
    color: #4e545d;
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
  }
}

/* ------------------------------------- */
@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) {
  .inner-second.inner-team .col-md-6.txt-col {
    padding-top: 0;
  }
  
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }

  .FixNav .short-cuts {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

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

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

  .teaser-slider {
    display: none;
  }
  .teser-light-grey,
  .teser-dark-grey {
    display: block !important;
  }

  .teser-light-grey .txt-col,
  .teser-dark-grey .txt-col {
    position: relative;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 50vh;
    align-content: center;
  }

  .teser-light-grey .txt-col {
    background: #7d8696;
    padding: 0 27% 0 9%;
  }
  .teser-dark-grey .txt-col {
    background: #4e545d;
    padding: 0 9% 0 27%;
  }

  .teser-light-grey .txt-col h2,
  .teser-light-grey .txt-col h3,
  .teser-dark-grey .txt-col h2,
  .teser-dark-grey .txt-col h3 {
    color: #faf9f8;
  }

  .teser-light-grey .txt-col a.mainBtn,
  .teser-dark-grey .txt-col a.mainBtn {
    color: #faf9f8;
    border: 1px solid #faf9f8;
  }

  .teser-light-grey .img-col,
  .teser-dark-grey .img-col {
    padding: 0;
    height: 45vh;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .teser-light-grey .img-col img,
  .teser-dark-grey .img-col img {
    height: 385px;
    object-fit: cover;
    border-radius: 0;
  }
  .teser-light-grey .img-col figure,
  .teser-dark-grey .img-col figure {
    margin: unset;
  }
  .teser-dark-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/tefr_favicon_halb_oral.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
  }
  .teser-light-grey .txt-col:before {
    content: "";
    background-image: url(/fileadmin/user_upload/TEFR/icons/Group_138.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 204px;
    width: 102px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }

  .teser-dark-grey .row {
    flex-direction: column-reverse;
  }

  .pageSpace.team-sec {
    padding: 4em 0;
  }
  /* .team-sec .frame-type-image::before {
    bottom: 68%;
} */
  .team-sec .frame-type-image {
    height: 60vh;
  }
  .team-sec .frame-type-text a.mainBtn {
    width: 60%;
  }
  .team-sec .frame-type-text {
    bottom: 85px;
  }

  .news-slider .owl-carousel .owl-item img {
    margin: 0 auto 2em;
    height: 260.01px;
    width: 260.01px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next {
    margin-right: -15px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev {
    margin-left: -15px;
  }
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-prev img,
  .news-slider .owl-container .owl-carousel .owl-nav button.owl-next img {
    width: 14.48px;
  }
  .news-slider .owl-carousel .owl-item a.mainBtn {
    width: 55%;
  }

  .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: 20px;
    line-height: 28px;
  }

  .inner-start-padding {
    padding-top: 12em !important;
  }

  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 2em;
  }
  .termine-sec .col-md-6.img-col {
    padding-left: 0;
  }

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

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

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

  .end-padding,
  .termine-sec {
    padding-bottom: 6em;
  }

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

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

  .header-sec .left-col,
  .header-sec .right-col {
    height: 50vh;
  }
  .header-sec .header-logo {
    left: 50%;
  }
  .header-sec .header-logo img.desc-img {
    display: none;
  }
  .header-sec .header-logo img.mob-img {
    display: block !important;
    height: 123.13px;
  }
  .header-sec .col-md-6 img.col-mob-logo {
    display: block !important;
    z-index: 1;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: 56.98px;
    width: auto;
  }

  .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 .ce-textpic {
    margin: 1em 0;
  }
  .footer .ce-textpic .ce-bodytext {
    width: 100%;
  }
  .footer iframe {
    height: 138px;
  }

  .copy-r {
    width: 100%;
    margin-top: 1em;
  }

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

  h1 {
    /* font-size: 32px;
    line-height: 45px; */
    font-size: 28px;
    line-height: 36px;
    text-transform: uppercase;
    margin-top: 0;
  }

  h2 {
    font-size: 24px;
    line-height: 32px;
  }

  h3 {
    font-size: 20px;
    line-height: 28px;
  }

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

  p,
  ul li,
  .table td,
  .table th {
    color: #4e545d;
    font-size: 15px;
    line-height: 21px;
    font-weight: 300;
  }

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

  .teaser .container-fluid {
    padding: 0 2em;
  }

  .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;
  }

  .navbar-collapse {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    background: #d8cebd;
    z-index: 100;
    padding-bottom: 15px;
    /* overflow-x: scroll;
    height: 100vh; */
    top: -10px;
    width: 106%;
    padding-top: 9em;
    display: flex;
    align-items: flex-start;
  }
  .navbar-nav {
    overflow-x: scroll;
    height: 80vh;
  }

  .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: "acumin-pro", sans-serif;
    padding: 10px;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
  }

  .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%;
  }

  .teaser .ce-textpic.ce-center.ce-above {
    min-height: auto;
    padding-bottom: 1em;
    margin-bottom: 1em;
  }

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

  iframe {
    height: 400px;
  }

  .scrolla {
    width: 90%;
    bottom: 12%;
  }

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

  .shortCuts {
    text-align: left;
    position: relative;
    right: 0;
    top: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .shortCuts a {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 15px;
    padding: 10px 3px;
    height: 45px;
    margin: 0 6px;
  }
  .shortCuts a img {
    margin-right: 4px;
  }

  .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: column-reverse;
  }

  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 {
    margin: 10px auto 0;
  }

  button.navbar-toggler {
    margin-top: -50px;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .navbar-nav li {
    text-align: center;
  }
  .navbar-nav li a {
    font-family: "anisette-std", sans-serif;
    text-transform: uppercase;
    color: #4e545d;
    font-size: 22px;
    font-weight: 300;
    line-height: 30px;
    padding: 15px 10px;
    text-align: center;
    display: inline-block;
  }
  .navbar-nav li a:hover,
  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover {
    color: #4e545d;
  }

  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: 245.74px;
    padding: 0 0 10px 7px;
  }

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

  .Teaser .col-3 {
    margin-bottom: 2em;
  }

  .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;
  }

  .header-sec .row {
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow: hidden;
  }

  .header-sec .left-col,
  .header-sec .right-col {
    height: 50vh;
    position: relative;
    width: 100%;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
  }

  .header-sec .col-md-6 img:not(.col-mob-logo) {
    height: 100vh !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .header-sec .col-md-6.active-section .left-col,
  .header-sec .col-md-6.active-section .right-col {
    height: 100vh !important;
  }

  .header-sec .col-md-6.inactive-section .left-col,
  .header-sec .col-md-6.inactive-section .right-col {
    height: 0vh !important;
  }

  .header-sec .col-md-6.active-section img.col-mob-logo {
    z-index: 2;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
  }
}
