@media only screen and (min-width : 1360px) and (max-width : 1800px) {
    .main-hero {
        margin-bottom: -10.4em;
    }
  
}

/* ----------- iPad ----------- */
@media only screen and (min-width : 768px) and (max-width : 1366px) {
   .accordion-item button {
       font-size: 24px;
       line-height: 30px;
   }
   
    .header-vid-sec video {
        object-fit: cover;
        height: 100vh;
    }
    
    header.FixNav .container-fluid {
        width: 83%;
    }

    h1 {
  font-size: 70px;
  line-height: 80px;
}

h2 {
  font-size: 50px;
  line-height: 60px;
}

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

h4 {
  font-size: 24px;
  line-height: 30px;
}

ul.dropdown-menu {
  position: relative !important;
}


.main-hero .hero-logo {
    width: 458px;
    top: 36%;
}
.main-hero .hero-shortcuts {
    width: max-content;
}

header.FixNav {
    width: 333px;
}
.topLogo {
    display: block;
    width: 172px;
}
.body-shortcuts {
    top: 55%;
}
.navbar-toggler {
    margin: 0 5px;
}

.navbar-nav {
    height: 57vh;
    overflow: auto;
}
.main-hero .back-ground video {
    height: 100vh;
    object-fit: cover;
}

.footer .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.footer .col-md-4:nth-child(3){
     -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.footer .copy-r .row::after {
    right: -15px;
    top: 40px;
}
.footer .copy-r .row::before {
    left: -15px;
    top: 40px;
}
.footer .row::after {
    right: -11px;
    top: 32px;
}
.footer .row::before {
    left: -11px;
    top: 32px;
}
.copy-r {
    padding-bottom: 2em;
}
        .inner-teaser .text-col, .teaser-sec .text-col, .doc-sec .text-col {
  padding:15% 5%;
}
.teaser-sec .col-md-6.img-col {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
.teaser-sec .col-md-6.text-col {
    flex: 0 0 60% !important;
    max-width: 60% !important;
}
}

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

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

    .left-to-end {
        margin-left: -51px;
    }
    .img-col figure img {
        min-height: 400px;
    }
    .doc-sec::before {
        width: 100px;
        height: 100px;
        left: -35px;
        top: 0;
    }
    .teaser-sec .right-to-end.text-col {
        right: -50px;
    }

    .inner-teaser .left-to-end figure {
        margin-left: -20px;
    }
    .inner-teaser .text-col, .teaser-sec .text-col, .doc-sec .text-col {
  padding: 5%;
}
ul.dropdown-menu {
  position: relative !important;
}
 .right-to-end figure {
    margin-right: -124px;
    margin-bottom: 0px;
} 

}

/*iPad in portrait*/
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : portrait) {
     .reverse {
        flex-direction: column-reverse;
    }

    .inner-first-sec .img-col {
        margin-bottom: 2em;
    }
    
    .nav-images {
        display: none;
     }
     .navbar-nav {
        left: 34%;
     }

     .img-col figure img {
        min-height: 373px;
    }
    .doc-sec::before {
        width: 100px;
        height: 100px;
        left: -35px;
        top: 0;
    }
header.FixNav {
    width: 300px;
}
    .inner-teaser .text-col, .teaser-sec .text-col, .doc-sec .text-col {
        padding: 2em 10%;
    }
    .left-to-end {
        margin-left: -24px;
        margin-bottom: 2em;
    }

    .teaser-sec .right-to-end.text-col {
        padding: 2em 10%;
        right: unset;
    }
    .img-left-responsive figure {
         margin-left: -95px;
    }
    .img-left-responsive .left-to-end {
        margin-left: 0;
    }
    
    .teaser-sec .col-md-6.img-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0px;
}
.teaser-sec .col-md-6.text-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

    a.STEF_back-to-top {
        right: 2.5%;
        bottom: 99px;
    }
    a.STEF_back-to-top img {
        width: 25px;
    }

    .copy-r .row .col-md-4 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .copy-r p,
    .copy-r a {
        font-size: 14px;
        line-height: 20px;
    }

    .footer .row .col-md-3 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .owl-container .owl-carousel .owl-nav button.owl-next {
        position: absolute;
        bottom: 0;
        right: 0;
        color: #fff;
        font-size: 45px;
    }

    .owl-container .owl-carousel .owl-nav button.owl-prev {
        position: absolute;
        bottom: 0;
        left: 0;
        color: #fff;
        font-size: 45px;
    }
    .owl-container .owl-carousel .owl-nav button.owl-prev {
        margin-left: -1em;
    }
    .owl-container .owl-carousel .owl-nav button.owl-next {
        margin-right: -1em;
    }

    .newsSlider .owl-item {
        height: 570;
    }

    .teaser .teaser-content a.mainBtn {
        margin-bottom: 3rem;
    }

    #c455 img {
        height: 400px;
        object-fit: cover;
    }

    .teaser-image img {
        height: 400px !important;
    }

    .shortCuts.d-none.d-sm-block {
        margin-right: 90px;
    }


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


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

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

    .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: 33px;
        font-weight: 400;
        line-height: 45px;
        text-align: center;
    }


    iframe {
        margin-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: left !important;
    }
ul.dropdown-menu {
  position: relative !important;
}
.karriere-first-sec .row .text-col {
    margin-top: 20px;
}
.inner-start-sec figure img{
    height: calc(80vh - 150px);
}
.inner-start-sec {
    margin-bottom: -4em;
    height: calc(80vh - 150px);
}
.karriere-first-sec .row{
    padding-top: 2em;
}
.karriere-first-sec h2{
    margin-bottom: 0;
}
.karriere-first-sec {
    padding: 2em 0 0em;
}
 .main-hero .back-ground video {
        height: 50vh;
    }
.main-hero {
    margin-bottom: -24em;
}
.main-hero .back-ground{
   height: 50vh;
    top: 85px;
    position: absolute;
}
.section.first-sec {
    background: white;
}
.right-to-end figure {
    margin-right: 0;
    margin-bottom: 0px;
}
.inner-teaser .row, .teaser-sec .row {
    margin: 0;
}
.inner-teaser{
    padding-top: 0;
}
.assistenz-sec .col-md-3{
    flex: 0 0 50%;
     max-width: 50%;
}
.unsere-praxis-sec{
        padding: 2em 0 1em;
    }
.unsere-praxis-sec h2{
    margin-bottom: 20px;
}
img[title="desktop"] {
    display: none;
}
img[title="mobile"] {
    display: block;
}
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1025px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {

   

    nav .row.align-items-center {
        display: flex;
        flex-direction: row;
    }
    ul.dropdown-menu {
  position: relative !important;}
}

/* Portrait */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
   .home-img-slider .owl-carousel .owl-item img {
    height: 40vh;
}
       header.FixNav {
        width: 333px;
    }
    nav .row.align-items-center {
        flex-direction: row;
    }
    nav .col-md-9.col-xs-12 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
    nav .col-md-3.col-xs-12 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .white-teaser .col-md-6,
    .dark-teaser .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

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

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

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

    .teaser .ce-textpic.ce-center.ce-above {
        min-height: 550px;
    }
    ul.dropdown-menu {
  position: relative !important;
}
    .main-hero {
        margin-bottom: -35em !important;
    }
}

/* Landscape */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
    .right-to-end figure {
    margin-right: -124px;
    margin-bottom: 0px;
}
}

/* ------------------------------------- */
@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 only screen and (min-width: 768px) and (max-width: 1023px) {
    header.FixNav {
        width: 300px;
    }
}


@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    header.FixNav {
        width: 333px;
    }
    .navbar-collapse {
    right: 52px;
    top: 24px;
    }
}

@media (max-width: 766px) {
    .home-img-slider .owl-carousel .owl-item img{
        height: 40vh;
    }
    .accordion-item button {
       font-size: 22px;
       line-height: 28px;
   }
    
    .img-col figure img {
        min-height: 201px;
    }
    .doc-sec::before {
        width: 75px;
        height: 75px;
        left: -10px;
        top: 0;
    }

    .inner-teaser .text-col, .teaser-sec .text-col, .doc-sec .text-col {
        padding: 2em 10%;
    }
    .left-to-end {
        margin-left: -24px;
        margin-bottom: 2em;
    }

    /* .inner-first-sec .img-col {
        margin-bottom: 2em;
    } */
    .inner-first-sec .text-col {
       padding-right: 15px;
       padding-left: 15px;
    }

    .teaser-sec .right-to-end.text-col {
        padding: 2em 10%;
        right: unset;
    }
    .img-left-responsive figure {
         margin-left: -95px;
    }
    .img-left-responsive .left-to-end {
        margin-left: 0;
        margin-bottom: 0;
    }

    .footer .copy-r .row::before {
        left: -9px;
        top: 60px;
    }
    .footer .copy-r .row::after {
        right: -9px;
        top: 60px;
    }
    .navbar-nav {
        left: 8%;
            width: 84%;
    }
    .footer .row::before {
        left: -8px;
    }
    .footer .row::after {
        right: -8px;
    }


    header.FixNav {
        left: 50%;
        transform: translateX(-50%);
        right: unset;
        top: 20px;
        width: 80%;
    }
    header.FixNav .col-md-9 {
        -ms-flex: 0 0 75% !important;
        flex: 0 0 75% !important;
        max-width: 75% !important;
    }
    header.FixNav .col-md-3 {
        -ms-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }

    .navbar-collapse {
        right: 19px;
        left: 19px;
        top: 20px;
        padding: 8em 0em 2em;
    }
    .navContent {
        padding: 1rem 15px;
    }

    .nav-images {
        display: none;
    }

    .copy-r .col-md-4 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

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

    .main-hero .back-ground video {
        object-fit: cover;
        height: 50vh;
    }

    .main-hero .hero-shortcuts .zeiten, 
    .main-hero .hero-shortcuts a {
        font-size: 15px;
        line-height: 21px;
    }
    .hero-shortcuts img {
        width: 15px;
        height: auto;
    }
    .main-hero .hero-shortcuts {
        width: 80%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 23px;
        z-index: 1004;
    }

    .copy-r p a strong {
        top: -4px;
    }

    .main-hero .hero-logo {
        width: 272px;
        top: 34%;
    }

    .body-shortcuts a, 
    .body-shortcuts .zeiten {
        min-height: 27px;
        font-size: 15px;
        line-height: 21px;
    }
    .body-shortcuts .zeiten #c313 {
        left: -114px;
        bottom: 70px;
    }


    .reviews-slider .owl-carousel .owl-item img {
        margin-bottom: 1em;
    }

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

    .owl-container .owl-carousel .owl-nav button.owl-next {
        position: absolute;
        right: 0;
        color: #fff;
        font-size: 45px;
    }

    .owl-container .owl-carousel .owl-nav button.owl-prev {
        position: absolute;
        left: 0;
        color: #fff;
        font-size: 45px;
    }

    .teaser-image img {
        height: 226px !important;
    }

    .shortCuts-mb {
        display: none !important;
    }

    .newimg img.image-embed-item {
        width: 25%;
    }

    .termina {
        right: inherit;
        left: 0;
    }

    .innerImg figure.image {
        height: 250px;
        margin: 0;
    }
ul.dropdown-menu {
  position: relative !important;}
    .innerImg img.image-embed-item {
        object-fit: cover;
    }

    .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: 42px;
        line-height: 55px;
    }

    h2 {
        font-size: 38px;
        line-height: 44px;
    }

    h3 {
        font-size: 26px;
        line-height: 34px;
    }

    h4 {
        font-size: 22px;
        line-height: 28px;
    }

    p, 
    ul li, 
    .table td, 
    .table th {
        font-size: 15px;
        line-height: 21px;
    }

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

    .copy-r {
    padding-bottom: 2em;
}
    
    .card button.btn.btn-link {

        font-size: 20px;

    }

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

    .pageSpace {
        padding: 2em 0;
    }

    .footer {
        padding: 2em 0 0;
    }

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

    .topimg {
        position: relative;
        object-fit: cover;
        width: 100%;
        height: 100%;

    }

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



    .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: 50px;
        right: 8%;
    }

    .footer a.mainBtn {
        margin-top: 1em;
    }

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

 
    header.FixNav .container-fluid {
        width: 85%;
        margin: auto;
    }

    .shortCuts a {
        padding: 8px 20px;
        width: 100%;
        border-bottom: 1px solid #979797;

    }
    .teaser-sec .col-md-6.img-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0px;
    }
    .teaser-sec .col-md-6.text-col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
.karriere-first-sec .right-to-end figure {
    margin-right: 0;
    margin-bottom: 20px;
}
.kontakt-first-sec{
    padding: 8em 0 3em;
}
.kontakt-first-sec .row{
    width: 100%;
}
.inner-start-sec figure img{
    height: calc(80vh - 150px);
}
.inner-start-sec {
    margin-bottom: -4em;
    height: calc(80vh - 150px);
}
.karriere-first-sec .row{
    padding-top: 0;
}
.karriere-first-sec h2{
    margin-bottom: 1em;
}
.karriere-first-sec {
    padding: 2em 0 0em;
}
.right-to-end figure {
     margin-right: 0;
     margin-bottom: 20px;
}

.no-margin .mt-5, .no-margin .my-5 {
    margin: 0 !important;
}

.inner-first-sec .container{
    max-width: 90%;
}
.main-hero {
    margin-bottom: -20em;
}
.main-hero .back-ground{
   height: 50vh;
    top: 85px;
    position: absolute;
}
.section.first-sec {
    background: white;
}
img[title="desktop"] {
    display: none;
}
img[title="mobile"] {
    display: block;
}
.inner-teaser .row, .teaser-sec .row {
    margin: 0;
}
.inner-teaser{
    padding-top: 0;
}
.unsere-praxis-sec{
        padding: 2em 0 1em;
    }
.unsere-praxis-sec h2{
    margin-bottom: 20px;
}

}

@media (max-width:376px) {
        .main-hero {
        margin-bottom: -14em;
    }
}

    