/* ----------- iPad ----------- */
@media (min-width: 1280px) and (max-width: 1366px) {
  /* home */
  header.FixNav {
    max-width: 93%;
  }
  .upperSectionRow::after {
    max-width: 82%;
  }
  .nav-shortcuts {
    padding: 10px 3em;
  }
  .sec_section .sec2_text {
    padding: 4em 0 0 7em;
  }
  .img_countiner .container {
    max-width: 100%;
    margin: auto;
    padding: 0;
  }
  .slider_sec {
    margin: 3em 0 6em 0;
  }
  .slider_sec .container {
    max-width: 90%;
    margin: 0 0 0 auto;
  }
  .owl-nav {
    transform: translate(-8%, -62px);
    margin-top: 0px;
  }
  .img_countiner figure.video .video-embed::before {
    width: 100%;
  }
  .img_countiner figure.video video,
  .img_countiner figure.video .video-embed-item {
    width: 100%;
  }
  .sec_section h2 {
    margin-bottom: 1.5em;
  }
  .third_sec .text_col {
    padding: 0 12em 0 0;
  }
  .Fourth_sec h3,
  .third_sec h3 {
    padding-bottom: 0;
  }
  .fw-sec .container {
    max-width: 95%;
    margin: 0 0 0 auto;
  }
  .media_sec .container {
    max-width: 75%;
    margin: 0 auto;
  }
  .sec_section .container {
    max-width: 90%;
  }
  .media_sec {
    height: 390px;
  }
  .media_sec .row {
    margin-top: 5em;
  }
  /* home */
  .secound_sec {
    padding: 2em 0 6em 0;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .secound_sec .container {
    max-width: 90%;
    top: 15px;
    padding: 0;
  }
  .btns_sec .container {
    max-width: 100%;
  }

  .two_col_section.first {
    padding-top: 7em;
  }
  .two_col_section {
    padding: 3em 0;
  }
  .Two_col_text {
    margin: 60px 0 0;
  }
  .divider-with-buttons {
    margin: 3em 0;
  }

  .secound_sec > * {
    position: relative;
    z-index: 2;
  }
  .secound_sec .text_row {
    margin-top: -2em;
  }
  .full_img img {
    height: 80vh;
  }
  .Two_col_text .container {
    max-width: 100%;
    padding: 0;
  }
  .copy-r .col-md-4:not(:first-child) {
    flex: 0 0 28% !important;
    max-width: 28% !important;
  }
  .container {
    max-width: 90%;
    margin: auto;
  }
  .footer iframe {
    padding: 0;
  }
  .up_footer .container {
    max-width: 95%;
  }
  .upperSectionRow a {
    width: 40%;
  }
  .footer .row {
    padding: 0 3.5em;
  }
  .copy-r .container .row {
    max-width: 85%;
    padding: 0;
  }
  .copy-r .container .row .col-md-4 p {
    text-align: right;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .nav_btnsMobile .accordion-header button::before {
    top: 50%;
  }
  .nav_btnsMobile .accordion-item {
    padding: 10px 20px;
  }
  .first-sec .col-md-6.imageAndText {
    display: none;
  }
  .first-sec .imagCover img,
  .first-sec .col-md-6.imagCover {
    height: 100vh;
    flex: 0 0 100%;
    object-fit: cover;
    max-width: 100%;
  }
  #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-size: 72px;
    line-height: 96px;
  }

  h2 {
    font-size: 56px;
    line-height: 76px;
  }
  h3 {
    font-size: 24px;
    line-height: 41px;
    margin-bottom: 3rem;
  }
  h4 {
    font-size: 20px;
    line-height: 24px;
  }

  .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%;
  }
  header.FixNav {
    max-width: 87%;
  }
  #lAIN_KONTAKT_FORM-6799-singleselect-1 {
    width: 100%;
  }
}

/*iPad in landscape*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .custom-grid-wrapper {
    justify-content: center;
  }
  .custom-grid-wrapper .grid-item {
    flex: 0 0 49%;
  }
  .zeiten-dropdown .table td,
  .zeiten-dropdown .table th,
  .zeiten-dropdown p {
    padding: 5px 13px;
    margin-bottom: 0;
    text-align: left;
  }
  .nav-shortcuts .termin-btn {
    width: 55%;
  }
  .zeiten-dropdown .table {
    margin-bottom: 0;
  }
  /* home */
  .up_footer {
    padding-top: 3em;
  }
  .copy-r p a strong {
    width: 14px;
    height: 14px;
    margin: 0;
  }
  .upperSectionRow .col-md-6.image {
    padding: 0;
  }
  .img_countiner .container {
    display: block;
  }
  .slider_sec .container {
    max-width: 85%;
    margin: 0 0 0 auto;
  }
  .nav-shortcuts {
    padding: 0 3em 5px;
  }
  header.FixNav .container-fluid {
    padding: 5px;
  }
  .sec_section .sec2_imag {
    max-width: 50%;
  }
  .sec_section {
    padding: 3em 0 6em;
  }
  .sec2_imag p {
    left: 277px;
    bottom: -25px;
  }
  .sec_section .sec2_text {
    padding: 4em 0 0 6em;
  }
  .img_countiner .container {
    max-width: 100%;
    margin: auto;
    padding: 0;
  }
  .slider_sec {
    margin: 3em 0 6em 0;
  }
  .owl-nav {
    transform: translate(-14%, -70px);
    left: 0em !important;
    margin-top: 0 !important;
  }
  .img_countiner figure.video .video-embed::before {
    width: 100%;
    height: 401px;
  }
  .img_countiner figure.video video,
  .img_countiner figure.video .video-embed-item {
    width: 100%;
    height: 401px;
  }
  .sec_section h2 {
    margin-bottom: 1.5em;
  }
  .third_sec .text_col {
    padding: 0 9em 0 1em;
  }
  .Fourth_sec h3,
  .third_sec h3 {
    padding-bottom: 0;
  }
  .fw-sec .container {
    max-width: 95%;
    margin: 0 0 0 auto;
  }

  .sec_section .container {
    max-width: 90%;
  }

  /* home */
  .nav_btnsMobile.sticky {
    position: fixed;
    z-index: 10;
    width: 100%;
    left: 0;
    margin-top: 0;
    right: 0;
    top: 19%;
    display: block;
    margin: auto;
  }
  .nav_btnsMobile .container {
    max-width: 80%;
    margin: auto;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .secound_sec {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 2em 0 9em 0;
    background-color: #fef6f2;
  }
  .secound_sec .container {
    max-width: 90%;
  }

  .btns_sec .container {
    max-width: 100%;
  }
  .secound_sec .container {
    top: 15px;
  }

  .two_col_section.first {
    padding-top: 7em;
    padding-bottom: 7em;
  }
  .two_col_section {
    padding: 6em 0;
  }
  .Two_col_text {
    margin: 60px 0 0;
  }
  .divider-with-buttons {
    margin: 0;
  }

  div:has(.divider-with-buttons):last-of-type .divider-with-buttons {
    margin-bottom: 3em;
  }
  .secound_sec::after {
    top: 99%;
    height: 85px;
  }

  .secound_sec > * {
    position: relative;
    z-index: 2;
  }
  .secound_sec .text_row {
    margin-top: -2em;
  }
  .full_img img {
    height: 80vh;
  }
  .Two_col_text .container {
    max-width: 100%;
    padding: 0;
  }
  .upperSectionRow a {
    width: 70%;
    margin: 0 0 0 auto;
  }

  .footer iframe {
    padding: 0;
    height: 290px;
  }
  .upperSectionRow::after {
    left: 0px;
    width: 98%;
  }
  .upperSectionRow {
    padding-bottom: 2em;
  }
  .upperSectionRow.colmd-6.image {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .upperSectionRow .textBtn {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .footer {
    padding: 4em 0 0;
  }
  .copy-r .text-center,
  .copy-r .text-right {
    text-align: left !important;
  }
  .copy-r .text-center {
    text-align: left !important;
  }
  .copy-r .col-md-4 {
    flex: 0 0 33%;
    max-width: 33%;
  }
  .copy-r .col-md-4:not(:last-child) {
    flex: 0 0 28% !important;
    max-width: 28% !important;
  }
  .footer .container {
    max-width: 100%;
  }
  .copy-r .container {
    max-width: 91%;
    padding: 0;
  }
  .copy-r p,
  .copy-r a {
    font-size: 16px;
    line-height: 19px;
  }
  .form-element-fileupload .file-input-wrapper::after {
    width: 75%;
  }
  .footer .row {
    max-width: 90%;
  }
  .copy-r .row {
    max-width: 100%;
  }
  .uber_first_sec {
    padding-top: 13em;
  }
  .up_footer .container {
    max-width: 85%;
    padding: 0;
  }
  .container {
    max-width: 90%;
  }
  .media_sec {
    height: 295px;
    padding-top: 4em;
  }
  .media_sec .container {
    max-width: 100%;
  }
  /* /////////////////////////////////// */
  .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%;
  }

  .first-sec .container-wrapper {
    margin: 0 -1em 3em auto;
  }

  a.mainBtn {
    width: 48%;
  }

  .d-flex-sec .img-col figure {
    width: 305px;
    height: auto;
  }

  .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/lain/icons/lain_arrow_down_.svg);
  }

  .navbar-nav li a {
    text-align: center;
    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: #ccd7e8;
  } */

  .topLogo {
    display: block;
    width: 307.77px;
    height: 65px;
    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 .frame-type-image figure {
    width: 112px;
  }

  .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: 23em 0 6em;
  }
}

/*iPad in portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .nav-shortcuts .termin-btn.active .zeiten-dropdown {
    left: 32%;
    width: 38%;
    border-radius: 20px 20px;
  }
  .zeiten-dropdown .table td,
  .zeiten-dropdown .table th,
  .zeiten-dropdown p {
    padding: 5px 15px;
    margin-bottom: 0;
    text-align: left;
  }
  .zeiten-dropdown .table {
    margin-bottom: 0;
  }
  .zeiten-dropdown table {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: left;
  }
  .nav-shortcuts .termin-btn > a {
    gap: 20px;
    justify-content: center;
  }
  .nav-shortcuts .termin-btn {
    width: 90px;
    padding: 10px;
  }
  .tel-btn {
    margin-right: 0;
  }
  .slider_sec .container {
    max-width: 85%;
    margin: 0 0 0 auto;
  }

  .nav-shortcuts .termin-btn.active {
    position: unset;
    border-radius: 20px 20px;
  }
  .first-sec .col-md-6 {
    height: 100vh;
  }
  .sec_section .sec2_imag {
    max-width: 100%;
  }
  .sec_section .row img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  .sec_section {
    padding: 3em 0 0;
  }
  .sec2_imag p {
    left: 0;
    bottom: 64px;

    text-align: right;
  }
  .sec_section .sec2_text {
    padding: 0 1em;
  }
  .img_countiner .container {
    max-width: 100%;
    margin: auto;
    padding: 0;
  }
  .slider_sec {
    margin: 3em 0 13em 0;
  }
  .owl-nav {
    transform: translate(-16%, -70px);
    left: 0em !important;
    margin-top: 0 !important;
  }
  .img_countiner figure.video .video-embed::before {
    width: 100%;
  }
  .img_countiner figure.video video,
  .img_countiner figure.video .video-embed-item {
    width: 100%;
    height: 401px;
  }
  .sec_section h2 {
    margin-bottom: 1.5em;
  }
  .third_sec .text_col {
    padding: 0em 5em;

    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    position: relative;
  }
  .third_sec .img_col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .Fourth_sec .text_col {
    padding: 3em 2em 0;
    max-width: 100%;
  }
  .Fourth_sec .text_col h3 {
    margin-bottom: 1rem;
  }

  .Fourth_sec h3,
  .third_sec h3 {
    padding-bottom: 0;
  }
  .third_sec .img_col figure.image::before {
    content: none;
  }
  .fw-sec .container {
    max-width: 95%;
    margin: 0 0 0 auto;
  }
  .fw-sec.third_sec .container {
    max-width: 100%;
    margin: 0 0 0 auto;
  }

  .sec_section .container,
  .Fourth_sec .container {
    max-width: 85%;
  }
  .row.imag_and_txt {
    margin-bottom: 0;
    gap: 20px;
  }

  .two_col_section h3 {
    margin-bottom: 1rem;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .nav_btnsMobile .container {
    max-width: 100%;
  }
  .secound_sec {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 2em 0 7em 0;
    background-color: #fef6f2;
  }
  .secound_sec > .container {
    max-width: 85%;
  }

  .btns_sec .container {
    max-width: 100%;
  }
  .secound_sec .container {
    top: 15px;
  }

  .two_col_section.first {
    padding-top: 7em;
    padding-bottom: 7em;
  }
  .two_col_section {
    padding: 6em 0;
  }
  .divider-with-buttons {
    margin: 0;
  }
  .Two_col_text {
    margin: 60px 0 0;
  }

  div:has(.divider-with-buttons):last-of-type .divider-with-buttons {
    margin-bottom: 3em;
  }
  .secound_sec::after {
    top: 99%;

    height: 65px;
  }

  .secound_sec > * {
    position: relative;
    z-index: 2;
  }
  .secound_sec .text_row {
    margin-top: -2em;
  }
  .full_img img {
    height: 50vh;
  }
  .Two_col_text .container {
    max-width: 100%;
    padding: 0;
  }
  .nav_btns_desk {
    display: none;
  }
  .nav_btnsMobile {
    display: block;
    z-index: 9;
    position: relative;
    margin-top: 2em;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    z-index: 10;
    width: 85%;
    margin-top: 0;
    left: 0;
    top: 8%;
    margin: auto;
    right: 0;
  }
  .karriere_form.pageSpace {
    padding: 3em 0 12em 0;
  }
  .kontact_sec.pageSpace {
    padding: 12em 0;
  }
  .media_sec .container {
    max-width: 100%;
  }
  .media_sec {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #613c21;
    padding: 0 0 3em;
  }
  .media_sec .frame {
    gap: 20px;
  }
  .media_sec::before {
    content: "";
    position: absolute;
    top: -36%;
    left: 0;
    z-index: 4;
    height: 100px;
    width: 100%;

    background-image: url(/fileadmin/user_upload/LAIN/LainIcons/vector-brown-1024.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
  }
  .media_sec.text::before {
    top: -23%;
  }
  .media_sec > * {
    position: relative;
    z-index: 2;
  }
  .media_sec .col-md-4 {
    flex: 0 0 32%;
    max-width: 32%;
  }
  .media_sec .row {
    width: 100%;
    margin: auto;
  }
  .karriere_form .col-3.col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .karriere_form .col-md-6:has(input[type="checkbox"]) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .form-element-fileupload .file-input-wrapper::after {
    width: 95%;
  }
  .uber_first_sec .doc_img img {
    max-height: 676px;
  }
  .imag_and_txt > div:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .imag_and_txt > div:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .nav-shortcuts {
    gap: 0;
    border-bottom: none;
    padding: 0;
    justify-content: center;
  }
  header.FixNav .container-fluid {
    min-height: 100%;
    position: relative;
    width: 100%;
    padding: 0;
  }
  header.FixNav {
    padding: 20px 0;
  }
  .nav-shortcuts .col-md-3.col-xs-12 {
    flex: 0 0 16%;
    max-width: 16%;
  }
  .termin-btn span {
    display: none;
  }
  .FixNav .scrolllogo2 {
    display: block;
    width: 57px;
    height: 47px;
    margin: auto;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    gap: 25px;
    justify-content: flex-start;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
  }
  button.navbar-toggler {
    margin: 0;
    position: absolute;
    right: 23%;
    top: -35px;
  }

  .copy-r .container {
    max-width: 100% !important;
  }
  .copy-r .row {
    margin-bottom: 10px !important;
  }
  .copy-r .col-md-4:nth-child(1) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    order: 1;
    margin-bottom: 10px;
  }
  .copy-r a {
    margin-left: 0;
  }
  .copy-r .col-md-4:nth-child(2) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    order: 3;
  }
  .copy-r .text-center,
  .copy-r .text-right {
    text-align: left !important;
  }
  .copy-r .col-md-4:nth-child(3) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    order: 2;
  }
  .copy-r .col-md-4 p {
    text-align: left;
  }
  .container {
    max-width: 82%;
    padding: 0;
  }
  .footer .row {
    max-width: 100%;
    padding: 0 3em;
  }
  .footer .row .col-md-3 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .upperSectionRow .col-md-6.image {
    padding: 0;
  }
  .upperSectionRow::after {
    left: 0;
    width: 100%;
  }
  .upperSectionRow .col-md-6.textBtn .frame-type-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 1em;
  }
  .upperSectionRow a {
    width: 200px;
  }
  .FixNav .scrolllogo {
    display: none;
  }
  .FixNav .scrolllogo2 {
    display: block;
  }
  .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;
  }

  .footer .frame-type-image figure {
    width: 112px;
  }

  a.mainBtn {
    width: 45%;
  }

  .FixNav.sticky:has(#navbarNavDropdown.show) {
    z-index: 9;
  }

  .first-sec .container-wrapper figure {
    margin-top: 0em;
  }
  .first-sec .container-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .d-flex-sec .img-col figure {
    width: 305px;
    height: auto;
    margin: 0 auto 3em;
  }

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

  a.STEF_back-to-top {
    bottom: 300px;
    right: 5%;
  }
  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer {
    padding: 4em 0 0;
  }
  .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/lain/icons/lain_arrow_down_.svg);
  }

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

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

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

  .footer .copy-r .col-md-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer iframe {
    margin-top: 0;
    height: 306px;
  }
  .footer .container {
    max-width: 100%;
    padding: 0;
    margin: 0 0 0 auto;
  }

  .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: #ffffff;
    box-shadow: 0px 8px 6px -4px rgba(205, 185, 163, 0.3);

    top: 19px;
    left: 15px;
    width: 95.5%;
    min-height: auto;
    padding-left: unset;
    display: flex;
    justify-content: center;
    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: 50%;
    right: 0;
    left: unset !important;
    top: 25% !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: 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 {
    text-align: center;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav .short-cuts {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }

  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: 100%;
    margin: auto;
    padding: 0;
  }

  header.FixNav .col-md-9 {
    position: unset;
  }

  iframe {
    margin-bottom: 0;
  }

  .scrolla {
    bottom: 0%;
  }

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

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

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

/* ------------------------------------- */
@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) {
  .media_sec.text::before {
    top: -15%;
  }

  .media_sec.text .container {
    max-width: 95%;
  }
  .team_sec {
    padding: 2em 0;
  }
  .team_sec .col-md-4 {
    margin-bottom: 2em;
  }
  .nav_btnsMobile .accordion-header button::before {
    top: 50%;
  }
  .nav_btnsMobile .accordion-item {
    padding: 10px 20px;
  }
  .nav-shortcuts .termin-btn > a::before {
    margin-right: 0;
  }
  .nav-shortcuts .termin-btn > a {
    gap: 20px;
  }
  .nav-shortcuts .termin-btn {
    width: 75px;
    padding: 10px;
  }
  .nav-shortcuts .termin-btn.active .zeiten-dropdown {
    left: 24%;
    width: 60%;
    border-radius: 20px 20px;
  }
  .zeiten-dropdown .table td,
  .zeiten-dropdown .table th,
  .zeiten-dropdown p {
    padding: 5px 15px;
    margin-bottom: 0;
    text-align: center;
  }
  .zeiten-dropdown .table {
    margin-bottom: 0;
  }
  .zeiten-dropdown table {
    width: 100%;
    text-align: center;
  }
  .nav-shortcuts .termin-btn.active {
    position: unset;
    border-radius: 20px 20px;
  }
  .sec2_imag a.mainBtn {
    width: 80%;
  }
  .third_sec .text_col a.mainBtn {
    width: max-content;
  }
  .first-sec .col-md-6.imageAndText {
    display: none;
  }
  .first-sec .imagCover img,
  .first-sec .col-md-6.imagCover {
    height: 100vh;
    object-fit: cover;
  }
  .sec_section .sec2_imag {
    max-width: 100%;
  }
  .sec_section .row img {
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  .sec_section {
    padding: 3em 0 0;
  }
  .sec2_imag p {
    left: 0;
    bottom: 75px;

    text-align: center;
  }
  .sec_section .sec2_text {
    padding: 0 1em;
  }
  .img_countiner .container {
    max-width: 100%;
    margin: auto;
    padding: 0;
  }
  .slider_sec {
    margin: 3em 0 17em 0;
  }
  .owl-nav {
    transform: translate(0%, 10%);
  }
  .img_countiner figure.video .video-embed::before {
    width: 100%;
  }

  .img_countiner figure.video video,
  .img_countiner figure.video .video-embed-item {
    width: 100%;
    height: 401px;
  }
  .sec_section h2 {
    margin-bottom: 1.5em;
  }
  .Fourth_sec {
    padding: 2em 0 3em;
  }
  .third_sec .text_col {
    padding: 2em 2em 0;
    flex: 0 0 100%;
    max-width: 100%;
    order: 2;
    position: relative;
  }
  .third_sec .img_col {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .Fourth_sec .text_col {
    padding: 3em 2em 0;
    max-width: 100%;
  }
  .Fourth_sec .text_col h3 {
    margin-bottom: 1rem;
  }

  .Fourth_sec h3,
  .third_sec h3 {
    padding-bottom: 0;
  }
  .third_sec .img_col figure.image::before {
    content: none;
  }
  .fw-sec .container {
    max-width: 95%;
    margin: 0 0 0 auto;
  }
  .fw-sec.third_sec .container {
    max-width: 100%;
    margin: 0 0 0 auto;
  }

  .sec_section .container,
  .Fourth_sec .container {
    max-width: 95%;
  }
  .row.imag_and_txt {
    margin-bottom: 0;
    gap: 20px;
  }

  .two_col_section h3 {
    margin-bottom: 1rem;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .row.imag_and_txt {
    margin-bottom: 0;
    gap: 20px;
  }

  .two_col_section h3 {
    margin-bottom: 1rem;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .nav_btnsMobile .container {
    max-width: 100%;
    padding: 0;
  }
  .secound_sec {
    padding: 3em 0;
  }
  .secound_sec > .container {
    max-width: 95%;
  }

  .btns_sec .container {
    max-width: 100%;
  }
  .secound_sec .container {
    top: 15px;
  }

  .two_col_section.first {
    padding-top: 6em;
    padding-bottom: 6em;
  }
  .two_col_section {
    padding: 6em 0;
  }

  .Two_col_text {
    margin: 60px 0 0;
  }
  .divider-with-buttons {
    margin: 0;
  }

  div:has(.divider-with-buttons):last-of-type .divider-with-buttons {
    margin-bottom: 3em;
  }
  .secound_sec::after {
    top: 99%;
    height: 40px;
  }

  .secound_sec > * {
    position: relative;
    z-index: 2;
  }
  .secound_sec .text_row {
    margin-top: -2em;
  }
  .full_img img {
    height: 40vh;
  }
  .Two_col_text .container {
    max-width: 100%;
    padding: 0;
  }
  .secound_sec .text_row {
    max-width: 100%;
  }
  .nav_btns_desk {
    display: none;
  }
  .nav_btnsMobile {
    display: block;
    z-index: 9;
    position: relative;
    margin-top: 2em;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    z-index: 10;
    width: 88%;
    margin-top: 0;
    top: 76px;

    margin: auto;
  }
  .nav_btnsMobile .accordion-item.active--collapse {
    padding-top: 2em;
  }
  #lAIN_KONTAKT_FORM-6799-singleselect-1 {
    width: 100%;
  }
  .nav-shortcuts {
    gap: 0;
    border-bottom: none;
    padding: 0;
  }
  .kontact_sec.pageSpace {
    padding: 10em 0 12em 0;
  }
  header.FixNav .container-fluid {
    min-height: 100%;
    position: relative;
    width: 100%;
    padding: 0;
  }
  header.FixNav {
    max-width: 100%;
    padding: 20px 0;
  }
  .nav-shortcuts .col-md-3.col-xs-12 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .termin-btn span {
    display: none;
  }
  .FixNav .scrolllogo2 {
    display: block;
    width: 57px;
    height: 47px;
    margin: auto;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    gap: 0;
    justify-content: flex-start;
    padding: 0;
  }

  .imag_and_txt > div:first-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .imag_and_txt > div:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .container {
    max-width: 95%;
    margin: auto;
  }
  .karriere_form.pageSpace {
    padding: 3em 0 12em 0;
  }
  .form-element-fileupload .file-input-wrapper::after {
    width: 80%;
  }
  .media_sec .row > [class*="col-"]:not(:last-child) {
    border-right: none;
  }
  .karriere_form .col-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
  }
  .form-element-radio {
    margin-top: 0;
  }
  .media_sec {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #613c21;
    padding: 0 0 3em;
  }
  .media_sec .frame {
    gap: 20px;
  }
  .media_sec::before {
    content: "";
    position: absolute;
    top: -13%;
    left: 0;
    z-index: 4;
    height: 100px;
    width: 100%;

    background-image: url(/fileadmin/user_upload/LAIN/LainIcons/vector-brown-1920.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
  }

  .media_sec > * {
    position: relative;
    z-index: 2;
  }
  .media_sec figure img {
    width: 50px;
    height: 50px;
  }
  .upperSectionRow a {
    margin-left: 8em;
    width: 54%;
  }
  .upperSectionRow img {
    width: 300px;
  }
  .upperSectionRow::after {
    left: 28px;
    width: 88%;
  }
  .footer .col-md-3 {
    margin-bottom: 1em;
  }
  .footer .row {
    max-width: 100%;
    padding: 0 1em;
    margin-bottom: 0;
  }
  .copy-r .row {
    gap: 10px;
  }

  .FixNav .scrolllogo {
    display: none;
  }
  .FixNav .scrolllogo2 {
    display: block;
  }

  #switcher-container::before {
    bottom: 1%;
  }
  #switcher-container:after {
    bottom: 3%;
  }

  a.mainBtn,
  a.teaserBtn {
    width: 100%;
    display: inline-block;
  }

  .d-flex-sec .img-col figure {
    width: 225px;
    height: auto;
    margin: 0 auto 3em;
  }

  .termin-btn .mob-txt {
    display: none;
  }

  .closeBtn .icon-bar,
  .navbar-toggler .icon-bar {
    width: 25px;
  }

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

  .FixNav .short-cuts {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }

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

  a.STEF_back-to-top {
    bottom: 215px;
  }
  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
  }
  .copy-r p,
  .copy-r a {
    text-align: left !important;
  }
  .footer .frame-type-image figure {
    width: 112px;
  }
  .footer .container {
    max-width: 100%;
    padding: 0;
  }
  .footer {
    padding: 4em 0 0;
  }

  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }

  .first-sec .container-wrapper {
    max-width: 100%;
    margin: 0;
  }
  .first-sec .container-wrapper figure {
    margin-top: 0em;
  }
  .pageSpace.first-sec {
    padding: 16em 0 6em;
  }

  .nav-shortcuts {
    justify-content: space-between;
  }
  .nav-shortcuts span.img-btn {
    margin-left: 15px;
  }

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

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

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

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

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

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

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

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

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

  h1 {
    font-size: 36px;
    line-height: 46px;
  }

  h2 {
    font-size: 32px;
    line-height: 42px;
  }
  h3 {
    font-size: 24px;
    line-height: 41px;
  }
  h4 {
    font-size: 20px;
    line-height: 24px;
  }

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

  .pageSpace {
    padding: 3em 0;
  }

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

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

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

  .navbar-collapse {
    position: absolute;
    overflow-y: auto;
    background: #ffffff;
    box-shadow: 0px 8px 6px -4px rgba(205, 185, 163, 0.3);

    top: 19px;
    right: 0;
    width: 100%;
    min-height: auto;
    padding-left: unset;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 3;
    padding: 1em 0;
  }

  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }

  /* .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: inline-block;
    text-transform: uppercase;
  }

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

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

  iframe {
    height: 400px;
  }

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

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

  .navbar-nav li {
    text-align: center;
  }

  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: 100%;
  }

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