/* ----------- iPad ----------- */
/*iPad in landscape*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    /*
    .shortCuts {
        text-align: right;
        position: relative;
        right: 0;
        top: 0;
        margin-top: 18px;
    }
*/

    .navbar-nav li a {
        text-align: center;
        color: #063d79;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        text-transform: inherit;
        padding: 26px 12px;
        text-decoration: none;
        display: inline-block;
        position: relative;
        outline: none;
    }

    .topLogo {
        display: block;
        width: 172px;
    }

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

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

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

}

/*iPad in portrait*/
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
    .owl-container .owl-carousel .owl-nav button.owl-next {
        position: absolute;
        bottom: -280px;
        right: 0;
        color: #fff;
        font-size: 45px;
    }

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

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

    .navbar-collapse {
        position: absolute;
        width: 100%;
        background: #fff;
        box-shadow: none;
        top: 100%;
        opacity: 0.9;
        height: 27vh;
    }

    #c456,
    #c502 {
        width: 80%;
        margin: auto;
    }

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


    .shortCuts {
        right: 80px;
    }


    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: 0;
        top: 33px;
    }

    .navbar-nav li a {
        color: #707070;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        padding: 23px 40px;
        text-align: left;
        display: block;
    }


    ul.dropdown-menu {
        left: 0;
        top: 100%;
        margin-top: 0px;
        width: 100%;
        background: #f3f3f3;
        border: 0px solid #fff;
        border-radius: 0;
        padding-top: 1em;
        padding-bottom: 3em;
        z-index: 100;
        min-width: 100%;
        box-shadow: none;
        width: 100%;
        position: relative !important;
        top: 0 !important;
        margin: 0;
        transform: none !important;
    }

    .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: block !important;
        float: right;
        margin-right: 15px;
    }

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

    .topLogo {
        display: block;
        width: 275px;
        padding: 10px 0 10px 33px;
    }

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

    .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: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {

    .navbar-collapse {
        position: relative;
        width: 100%;
        background: #fff;
        box-shadow: none;
    }

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

/* Portrait */
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-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-height: 1366px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {}

/* ------------------------------------- */
@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) {
    .owl-nav {
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10;
        display: flex;
        align-items: end;
        justify-content: end;
        padding: 0 1em;
        bottom: -40px;
    }

    .headerImg {
        text-align: center;
    }

    #c485 a {
        padding-right: 0;
    }

    .inner-nav .navbar-collapse {
        top: 81px;
    }

    #c541 .ce-col {
        margin-bottom: 2rem;
    }

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

    #c455 img {
        width: 302px;
        height: 499px;
        object-fit: cover;
        object-position: center;
    }

    #c456,
    #c502 {
        width: 100%;
    }

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

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

    .newsSlider .owl-item  {
        height: 540px;
    }

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

    #c485 a {
        display: block;
        padding-bottom: 10px;
    }

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

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

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

    .innerImg figure.image {
        height: 250px;
        margin: 0;
    }

    .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: 25px;
        font-weight: 400;
        line-height: 38px;
        text-transform: uppercase;
        margin-top: 0;


    }

    h2 {
        font-size: 25px;
        font-weight: 400;
        line-height: 27px;
    }

    .card button.btn.btn-link {

        font-size: 20px;

    }

    a[href^="tel:"] {
        color: #707070;
    }


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

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

    .pageSpace {
        padding: 3em 1em;
    }

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

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

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

    .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-collapse {
        position: absolute;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0px 2px 4px rgba(126, 126, 126, 0.5);
        z-index: 100;
        padding-bottom: 15px;
        overflow-x: scroll;
        height: 40vh;
        top: 198px;
        opacity: 0.9;
    }

    .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 {
        padding: 2px 43px;
        display: block;
        color: #3c3c3c;
        font-size: 16px;
        font-weight: 400;
        line-height: 42px;
        text-transform: uppercase;
        text-align: left;
    }

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

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

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


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

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

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

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

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

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

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

    .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;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

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

    }

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


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

    .navbar-nav li a {
        color: #707070;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
        padding: 20px 40px;
        text-align: left;
        display: block;
    }

    ul.dropdown-menu {
        left: 0;
        top: 100%;
        margin-top: 0px;
        width: 100%;
        background: #f3f3f3;
        border: 0px solid #fff;
        border-radius: 0;
        padding-top: 1em;
        padding-bottom: 3em;
        z-index: 100;
        min-width: 100%;
        box-shadow: none;
        width: 100%;
        position: relative !important;
        top: 0 !important;
        margin: 0;
        transform: none !important;
    }

    .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: block !important;
        float: right;
        margin-right: 15px;
    }

    .topLogo {
        display: block;
        width: 275px;
        padding: 10px 0 10px 33px;
    }

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

}