@media (max-width: 1400px) {
    #banner .layout-videobanner .frame-type-textpic .ce-textpic .ce-bodytext,
    #banner .layout-videobanner .frame-type-textmedia .ce-textpic .ce-bodytext { left: 0; }
}
@media (max-width: 1350px) {
    .layout-quoteslider .slider .ce-textpic .ce-bodytext { max-width: 650px; padding-left: 100px; }
}
@media (max-width: 1320px) {
    .inner-1280, #footer .inner { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 1315px) {
    .lightboxoverlay_wrapper #content { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 1200px) {
    .layout-quoteslider .slider .ce-textpic .ce-bodytext { position: absolute; background-color: rgba(250, 250, 250, .8); top: auto; bottom: 20px; padding: 30px 30px 30px 150px; max-width: 75%; }
    .layout-quoteslider .slider .ce-textpic .ce-gallery { max-width: 100%; width: 100%; }
    .layout-quoteslider .slider .ce-textpic .ce-gallery img { object-fit: cover; }
    .layout-quoteslider .slider .ce-textpic .ce-gallery:before { display: none; }
    #content .layout-quoteslider p.quote { margin-bottom: 25px; }
    #content .layout-quoteslider .slider .ce-bodytext .bannerShow p:not(#content .layout-quoteslider .slider .ce-bodytext .bannerShow p.quote) { margin-bottom: 0; }
}
@media (max-width: 1160px) {
    #banner>div>.inner, #footer .inner { padding: 0; }
}
@media (max-width: 1110px) {
    #banner .frame-type-textpic header { padding-left: 20px; }
    #banner .inner #logo { left: 20px; }
    #banner .frame-type-textpic .ce-textpic .ce-bodytext { left: 20px; bottom: 20px }

    .grid_30_30_30 > .row > .col { width: 50%; }
    .layout-texticon { padding-bottom: 15px }
}
@media (max-width: 1100px) {
    .inner-1060 { margin-left: 20px; margin-right: 20px;}
    #footer .inner .contact { margin-left: 50px }
}
@media (max-width: 1000px) {
    .layout-textimage .ce-textpic { gap: 50px; }
}
@media (max-width: 987px) {
    .layout-faqvideo .grid > .row > .col { padding-left: 15px; padding-right: 15px; margin-bottom: 20px }
    .layout-faqvideo .grid > .row > .col:last-of-type { margin-bottom: 0; }
    .layout-faqvideo .grid > .row > .col_50_1.col { padding-right: 15px; }
    .layout-faqvideo .grid > .row > .col_50_2.col { padding-left: 15px; }

    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1>.grid>.row>.col_50_1.col { padding-right: 15px }
    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1>.grid>.row>.col_50_2.col { padding-left: 15px }

    #footer .inner { flex-direction: column; align-items: flex-start; gap: 35px; }
    #footer .inner .contact { margin-left: 0; }

    .layout-textimage .ce-textpic { width: 100%; padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 960px) {
    #banner .frame-type-textpic .ce-textpic .ce-bodytext { position: absolute; display: inline-block; text-align: right; left: auto; right: 20px }
    #banner .frame-type-textpic .ce-textpic { max-width: 100%; flex-basis: 100%; }
    #banner .frame-type-textpic header { position: absolute; bottom: 0; background-color: rgba(250, 250, 250, .8); max-width: 75%; flex-basis: 75%; padding: 20px; }
    #banner .inner-1920, #banner .frame-type-textpic { height: 480px; max-height: 480px }
    #banner .layout-videobanner .iframevideo:after { padding-top: 480px; }
    #banner .frame-type-textpic .ce-textpic .ce-gallery:before { display: none; }
    #banner .layout-videobanner .frame-type-textpic .ce-textpic .ce-bodytext,
    #banner .layout-videobanner .frame-type-textmedia .ce-textpic .ce-bodytext { height: auto; top: auto; bottom: 0; }
    #banner .layout-videobanner .ce-bodytext .bannerShow { padding-top: 25px; }
    #banner .layout-videobanner .ce-bodytext .bannerShow p:last-child { margin-bottom: 0; }
    #banner .layout-videobanner .swiper-wrapper > .csc-default.videocon .ce-gallery iframe { height: 100%; }
    main { margin-top: 480px; }
    .sidebar { top: auto; bottom: 150px; }

}
@media (max-width: 900px) {
    .grid_30_30_30 > .row > .col { width: 100%; }
    .layout-texticon { padding-bottom: 25px; text-align: center; }
    .col:last-of-type>.layout-texticon { padding-bottom: 0; }
    .layout-texticon .ce-textpic { justify-content: center; flex-direction: column; gap: 0 }

    .layout-textimage .ce-textpic.ce-right, .layout-textimage .ce-textpic.ce-left  { flex-direction: column; }
    .layout-textimage .ce-textpic .ce-gallery, .layout-textimage .ce-textpic .ce-bodytext { max-width: 100%; flex-basis: 100%; margin: 0; }
}
@media (max-width: 860px) {
    h1 { font-size: 55px; line-height: 65px; }
    #banner .frame-type-textpic header>:first-child { max-width: unset; }
    #banner .frame-type-textpic header { max-width: 50%; flex-basis: 50%; }
}
@media (max-width: 850px) {
    .layout-quoteslider .slider .ce-textpic .ce-bodytext { max-width: 100%; bottom: 0; padding: 20px; }
}
@media(max-width: 780px) {
    #banner .frame-type-textpic { padding-top: 125px }
    #banner .inner-1920, #banner .frame-type-textpic { height: 605px; max-height: 605px }
    #banner .layout-videobanner .iframevideo:after { padding-top: 605px; }
    main { margin-top: 605px; }
    #banner .frame-type-textpic header { max-width: 100vw; flex-basis: 100vw; width: 100%; padding: 20px 20px 95px; }
    #banner .frame-type-textpic .ce-textpic .ce-bodytext { bottom: 15px; top: auto; text-align: right; right: 70px; left: auto; }
}
@media(max-width: 768px) {
    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1 { padding: 30px 50px 60px; }
}
@media(max-width: 650px) {
    .lightboxoverlay_wrapper #content .frame-type-textmedia .ce-outer .video-embed-item { height: 485px; }
}
@media(max-width: 600px) {
    #banner .frame-type-textpic header>:first-child { margin-bottom: 10px; }
    #banner .frame-type-textpic header>:last-child { font-size: 23px !important; line-height: 33px; }
    h1 { font-size: 45px !important; line-height: 55px; }
}
@media(max-width: 520px) {
    .layout-faqvideo .frame-type-text { max-height: 325px; min-height: 325px; }
    main { padding-top: 50px; }
}
@media(max-width: 450px) {
    body { font-size: 16px; }
    h2 { font-size: 45px !important; line-height: 60px; }
    h3 { font-size: 30px !important; line-height: 38px !important; }
    .lead { font-size: 25px; }
    #content p.lead { line-height: 30px; }
    a.red-btn { font-size: 18px; padding: 7px; text-align: center; }
    #content p.quote { font-size: 30px; line-height: 35px; }
    #content .layout-quoteslider .slider .ce-bodytext .bannerShow p.quote { margin-bottom: 15px; }
    .layout-faqvideo .frame-type-text { max-height: 270px; min-height: 270px; }
    .lightboxoverlay_wrapper #content .frame-type-textmedia .ce-outer .video-embed-item { height: 300px; }
    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1 h3 { margin-bottom: 25px; }
    .sidebar { bottom: 120px; }
    .sidebar .phone .phone-icon, .sidebar .mail .mail-icon, .scroll-top .scroll-top-icon { width: 35px; height: 35px; }
    .sidebar .phone .phone-icon:after, .sidebar .mail .mail-icon:after, .scroll-top .scroll-top-icon:after { background-size: 35px 35px; }
    .sidebar .phone, .sidebar .mail { padding-left: 10px }
    #languagechoosericon { background-size: 35px 35px; width: 35px; height: 35px; }
    .space-after-140 { margin-bottom: 70px; }
    .space-after-225 { margin-bottom: 110px; }
    .layout-quoteslider .slider .swiper-container .swiper-pagination-out { top: 20px }
    .lightboxoverlay_wrapper .lightboxoverlay_close:after { width: 25px; height: 25px; right: auto; left: 20px; top: 20px; }
    .layout-textimage .ce-textpic { gap: 25px; }
    .layout-contactform .tx-powermail .powermail_fieldwrap_type_submit { margin-top: 30px; }
    #footer p, #footer a { font-size: 18px; line-height: 20px; }
}
@media(max-width: 400px) {
    .layout-faqvideo .frame-type-text { max-height: unset; min-height: auto; justify-content: unset; }
    .layout-faqvideo .frame-type-text p:last-of-type { margin-bottom: 0 !important; }
    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1 { padding: 20px; }
    .lightboxoverlay_wrapper #content>.frame-type-gridelements_pi1 h3 { hyphens: auto; word-break: break-word; }
}