@media screen and (max-width: 1700px) {

    .square-btn {
        height: 282px;
    }

    /* #page-header .social {
        bottom: -40px;
    } */

    .ctype-gridelements_pi1:not(.layout-tile-grid) {
        max-width: 1166px;
    }

    #page-header .social {
        top: 75px;
        margin: 0 122px 0 0;
    }

    #page-header .logo-big .logo-claim {
        max-width: 280px;
    }

    #page-header .logo-big {
        margin-top: 35px;
    }
    
    #page-header .searchbox-wrap, #page-header .icon-row {
        margin-top: 35px;
    }

    #content {
        padding: 200px 0 0;
    }

    #page-header .header-container {
        max-width: 1440px;
    }
    
    #page-header .logo-small .logo {
        width: 92px;
        margin-top: -31px;
    }

    #page-header .logo-transform {
        transform: translateY(-52px);
    }
    
    #page-header .logo-big .logo {
        max-width: 270px;
    }
    
    .container,
    .tx-kesearch-pi1 #kesearch_ordering,
    .tx-kesearch-pi1 #kesearch_num_results,
    .tx-kesearch-pi1 #kesearch_results .result-list-item .result-item-wrap {
        max-width: 1166px;
    }

    /* .tx-kesearch-pi1 #kesearch_ordering,
    .tx-kesearch-pi1 #kesearch_results .result-list-item .result-item-wrap {
        padding: 0 20px;
    }
    .tx-kesearch-pi1 #kesearch_num_results {
        padding: 0 20px 20px;
    } */
    
    .container-normal-width {
        max-width: 1166px;
    }
    
    #page-header .header-container .header-nav-right {
        margin-right: 12px;
    }
    
    #page-header .searchbox-wrap form {
        width: 270px;
    }
    
    #page-header .searchbox-wrap input {
        width: 269px;
    }
    
    .sub-header .left-col {
        margin-left: 316px;
    }
    
    .sub-header .right-col {
        margin-right: 316px;
    }
    
    #page-footer .footer-navigation {
        font-size: 16px;
        margin: 0 auto;
        max-width: 1166px;
    }
    
    .ctype-list .container, .ctype-text .container {
        max-width: 1166px;
    }
    
    #page-header .header-container {
        max-width: 1424px;
    }
    
    .ctype-gridelements_pi1.bg-color-gradient-rev, .ctype-gridelements_pi1.bg-color-gradient {
        max-width: 1166px;
    }
    
    .ctype-gridelements_pi1.layout-content-slider .container {
        max-width: 1166px;
    }
    
    .ctype-gridelements_pi1.layout-content-slider .grid-container .ctype-textmedia.layout-big-img-left .img-left {
        margin-left: 0;
    }
    
    .ctype-gridelements_pi1.layout-content-slider-startnews .container {
        /*max-width: 1400px;*/
        max-width: 1166px;
    }
    
    .ctype-textmedia .text-container {
        font-size: 1.5em;
    }
    
    .grid-container .ctype-textmedia.layout-big-img-left .img, .grid-container .ctype-textmedia.layout-big-img-right .img {
        max-width: calc(1440px * (8 / 12));
    }

    .grid-container .ctype-textmedia.layout-big-img-left .img-left {
        /*margin-left: calc(1440px * (1 / 12) - 3px);*/
        margin-left: 0;
        margin-right: calc(1440px * (3 / 12) - 3px);
    }

    .grid-container .ctype-textmedia.layout-big-img-left .text-container, .grid-container .ctype-textmedia.layout-big-img-right .text-container {
        max-width: calc(1440px * (5 / 12));
        position: absolute;
        top: 40px;
        /*margin-top: 40px;*/
        height: 75%;
    }

    .sub-header {
        max-width: 1205px;
        padding: 0px 20px 20px;
        box-sizing: border-box;
    }

    .sub-header .left-col {
        margin: 0;
    }
    .sub-header .right-col {
        margin: 0 -120px 0 42px;
    }

    #page-header .icon-row a.icon-menu {
        margin: 0 0 0 5px;
    }

    #page-header .header-container {
        padding: 0 0 80px;
    }
    #page-header.small .header-container {
        padding: 0 0 20px;
    }
    /* #page-header .social {
        bottom: 30px;
    } */

    #page-header .logo-big .logo {
        max-width: 300px;
    }

    .layout-tile-menu-subpages .menu-tile-wrap, .layout-tile-menu-pages .menu-tile-wrap {
        min-height: 200px;
    }

    .ctype-list p, .ctype-text p {
        font-size: 18px;
    }

    .ctype-text ul li, .ctype-list ul li, .ctype-text ol li, .ctype-list ol li {
        font-size: 18px;
    }
    
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 34px;
    }

    .layout-tile-menu-subpages a, .layout-tile-menu-pages a {
        font-size: 1.25rem;
        line-height: 1.5em;
    }

    #path-navigation ul {
        font-size: 1rem;
    }

    #content>.layout-big-img-left .img-left {
        margin-left: 0;
        margin-right: calc(1440px * (3 / 12) - 3px);
    }
    #content>.ctype-textmedia.layout-big-img-left .text-container, 
    #content>.ctype-textmedia.layout-big-img-right .text-container {
        margin: 20px 0 0 0;
    }
}

@media screen and (max-width: 1660px) {
    .ctype-textmedia.layout-small-img-right .text-container {
        max-width: calc(1640px * (6 / 12));
    }
    
    /* .ctype-gridelements_pi1.layout-content-slider .ctype-textmedia.layout-big-img-left .text-container, .ctype-gridelements_pi1.layout-content-slider .ctype-textmedia.layout-big-img-right .text-container {
        max-width: calc(100% * (5 / 12));
        position: absolute;
        top: -5px;
        margin-top: 40px;
        height: 90%;
    } */

}

@media screen and (max-width: 1550px) {

    .ctype-textmedia.layout-small-img-right .text-container {
        max-width: calc(1640px * (5 / 12));
    }

    .sub-header .left-col {
        padding: 47px 0 0 0;
    }
}

@media screen and (max-width: 1440px) {
    .tx-kesearch-pi1 #kesearch_results .result-list-item {
        width: calc(100% - -20px);
        margin: 0 -10px 60px;
        padding: 40px 20px;
    }
    #page-header .header-container .header-nav-right {
        margin-right: 20px;
    }
    .sub-header .left-col, .sub-header .right-col {
        margin: 0 -88px 0 0;
    }
    .sub-header .left-col {
        padding-right: 88px;
        box-sizing: border-box;
    }
    .sub-header .right-col {
        margin: 0 -88px 0 42px;
    }

    #page-header .header-container {
        padding: 0 0 80px;
    }

    #page-header .logo-big .logo {
        max-width: 270px;
    }
}

@media screen and (max-width: 1400px) {

    #content>.layout-big-img-left .img-left {
        margin-right: 0;
    }
    
    #page-header .header-container .middle-left-col {
        margin: 0 0 0 -35px;
    }

    #content .sub-header .right-col {
        margin: 0px;
        margin-left: 42px;
    }

    .cele.ctype-textmedia.layout-big-img-left .img, .ctype-textmedia.layout-big-img-right .img {
        max-width: 100%;
        margin: 0;
    }

    .cele.ctype-gridelements_pi1.layout-content-slider-startnews .container {
        max-width: 1168px;
    }

    #page-header .header-container .header-nav-right {
        margin-right: 20px;
    }

    .ctype-textmedia.layout-big-img-left .img-left,
    .ctype-textmedia.layout-big-img-right .img-right {
        margin-left: 0;
    }

    .ctype-textmedia.layout-big-img-left .img,
    .ctype-textmedia.layout-big-img-right .img {
        max-width: 100%;
    }

    .ctype-textmedia.layout-big-img-left .text-container,
    .ctype-textmedia.layout-big-img-right .text-container {
        transform: none;
        top: auto;
        bottom: 0;

        left: 0;
        right: auto;

        /*height: auto;
        max-width: 80%;*/

        height: 100%;
        max-width: 33%;
    }

    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-left .text-container,
    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-right .text-container {
        transform: none;
        top: auto;
        /* bottom: 40px; */
        left: auto;
        right: 0;
        /* height: 55%; */
        height: 100%;
        
        /*max-width: 80%;*/
        max-width: 33%;
    }

    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-left .text-container br,
    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-right .text-container br {
        display: none;
    }
    
    .ctype-textmedia.layout-big-img-left .text-container p,
    .ctype-textmedia.layout-big-img-right .text-container p {
        font-size: 1.25rem;
        line-height: 1.25em;
    }

    .ctype-textmedia.layout-big-img-left .text-container {
        left: auto;
        right: 0;
    }

    .ctype-textmedia.layout-big-img-left .image-text,
    .ctype-textmedia.layout-big-img-right .image-text {
        position: relative;
        z-index: 5;
        bottom: 0;
    }

    .ctype-textmedia.layout-big-img-left .ce-gallery,
    .ctype-textmedia.layout-big-img-right .ce-gallery {
        margin: 0;
    }

    .ctype-textmedia.layout-big-img-left .ce-column,
    .ctype-textmedia.layout-big-img-right .ce-column {
        padding-bottom: 0 !important;
    }

    .ctype-textmedia.layout-big-img-left .container,
    .ctype-textmedia.layout-big-img-right .container {
        padding-bottom: 20px;
    }

    .ctype-textmedia.layout-small-img-right .text-container {
        margin-left: 0;
        margin-right: 33%;
    }

    .layout-video .herovideo-overlay,
    .layout-image .text-container {
        padding: 30px 50px;
    }

    #page-footer .footer-navigation {
        padding: 70px 20px 0 20px;
    }

    .ctype-gridelements_pi1.layout-content-slider .slick-arrow,
    .ctype-gridelements_pi1.layout-content-slider-startnews .slick-arrow {
        margin: 0;
    }

    .ctype-gridelements_pi1.layout-content-slider .slick-dots,
    .ctype-gridelements_pi1.layout-content-slider-startnews .slick-dots {
        bottom: -3px;
    }

    #path-navigation ul {
        font-size: 1rem;
    }

    #page-header .logo-transform {
        transform: translateY(-39px);
    }

    #page-header .logo-small .logo {
        margin-top: -38px;
    }

    #page-header .logo-big .logo {
        max-width: 270px;
    }

    #page-header .searchbox-wrap form {
        width: 270px;

    }

    #page-header .searchbox-wrap input {
        width: 269px;
    }

    .news .news-list-view .article {
        width: auto;
        margin: 0 -20px 60px;
        padding: 40px 20px;
    }

    #content {
        padding: 180px 0 0;
    }

    .ctype-gridelements_pi1.layout-content-slider-startnews .layout-big-img-left img {
        max-width: 100%;
    }
    .ctype-gridelements_pi1.layout-content-slider-startnews .ce-textpic .text-container {
                padding: 20px;
    }
}

@media screen and (max-width: 1200px) {
    .square-btn {
        height: 23vw;
    }
    #page-header .social {
        margin: 0;
    }
    #page-footer .column-row {
        padding: 0 20px;
    }

    .tile-menu-container .menu-tile-wrap {
        flex: 0 0 25%;
    }

    .layout-video .herovideo-overlay .title,
    .layout-image .text-container .title {
        font-size: 36px;
        line-height: 1.2em;
    }

    .layout-video .herovideo-overlay .text-wrap,
    .layout-image .text-container .text-wrap {
        font-size: 22px;
    }

    .layout-video .herovideo-overlay,
    .layout-image .text-container {
        padding: 20px 50px;
    }

    .ctype-textmedia.layout-small-img-right .ce-gallery,
    .ctype-textmedia.layout-small-img-right .ce-gallery .ce-column {
        padding: 0;
        margin: 0;
    }

    .ctype-textmedia.layout-small-img-right .img-right,
    .ctype-textmedia.layout-small-img-right .image-text-container {
        position: static;
        transform: none;
        max-width: 100%;
    }

    .ctype-textmedia.layout-small-img-right .image-text {
        position: static;
    }

    .ctype-textmedia.layout-small-img-right .text-container {
        margin: 0;
        height: auto;
        max-width: initial;
    }

    .news .news-list-view .news-item-wrap {
        display: block;
    }

    .news .news-list-view .news-item-wrap .source-column {
        padding: 0;
        width: auto;
    }

    .news .news-list-view .news-item-wrap .source-column .source-wrap {
        padding: 40px 0 0;
    }

    .news .news-list-view .article {
        width: auto;
        margin: 0 -20px 0;
        padding: 40px 20px 20px;
    }

    .news .news-list-view .page-navigation {
        padding: 30px 0;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap {
        padding-bottom: 20px;
    }

    .ctype-gridelements_pi1.layout-popup>.container {
        right: initial;
        left: 20px;
        max-width: 80%;
    }

    #page-header .searchbox-wrap input {
        width: 259px;
    }

    #page-header .searchbox-wrap form {
        width: 260px;
    }

    .layout-content-slider .grid-container .ctype-textmedia.layout-big-img-left .text-container, .layout-content-slider .grid-container .ctype-textmedia.layout-big-img-right .text-container {
        position: relative;
        top: 0;
        margin: 0;
        max-width: 100%;
    }
    

    .mobilsearch .searchbox-wrap {
        display: block;
    }

    .searchbox-wrap {
        display: none;
    }

    #page-header .mobilsearch .searchbox-wrap {
        margin: 20px 0 0 0;

    }

    #page-header .mobilsearch .searchbox-wrap form {
        width: 100%;
    }

    #page-header .mobilsearch .searchbox-wrap input {
        width: calc(100% - 1px);
    }
}

@media screen and (max-width: 980px) {
    .tx-kesearch-pi1 .kesearch_searchbox {
        flex-direction: column;
    }
    .tx-kesearch-pi1 .kesearch_searchbox .kesearchbox {
        margin: 0 0px 0 1px;
    }

    .square-btn {
        height: 35vw;
    }
    #page-header .header-container .logo-claim {
        display: none;
    }
    #page-header .nav-row {
        z-index: 161;
        height: 100vh;
        position: absolute;
        width: 100%;
        left: 0;
        box-sizing: border-box;
        z-index: 9999;
        overflow-y: scroll;
        scrollbar-width: none;
    }

    body.no-scroll {
        position: fixed;
        overflow-y: scroll;
        width: 100%;
    }

    .layout-green-tile .container,
    .layout-green-tile-reverse .container {
        padding: 20px 30px;
    }

    #page-header .logo-big,
    #page-header .searchbox-wrap,
    #page-header .icon-row {
        margin-top: 40px;
    }



    #page-header .logo-transform {
        transform: translateY(-44px);
    }

    .tile-menu-container .menu-tile-wrap {
        flex: 0 0 33.333333%;
    }

    .layout-video .herovideo-overlay .text-wrap,
    .layout-image .text-container .text-wrap {
        font-size: 18px;
    }

    .layout-video .herovideo-overlay,
    .layout-image .text-container {
        padding: 20px 30px 0;
    }


    .tx-rm-locationfinder .map-container .filter-wrap {
        padding: 20px 30px 20px 30px;
    }

    .ctype-textmedia.layout-small-img-right .ce-bodytext {
        max-width: 100% !important;
    }

    #page-footer .col {
        flex-basis: 25%;
    }

    #page-footer .right-column {
        flex-basis: 50%;
        padding: 20px 0;
    }

    #page-footer .social-icons {
        padding-top: 20px;
    }

    #page-header .logo-big .logo {
        max-width: 250px;
    }

    .ctype-text p {
        font-size: 18px;
        line-height: 22px;
    }

    .ctype-textmedia.layout-big-img-left .text-container,
    .ctype-textmedia.layout-big-img-right .text-container,
    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-left .text-container,
    .ctype-gridelements_pi1.layout-content-slider-startnews .ctype-textmedia.layout-big-img-right .text-container {
        font-size: 1.4rem;
        max-width: 100%;
        padding: 20px;

        background-color: #96B522;
        position: relative;
        margin-top: 0 !important;
    }

    .layout-content-slider-startnews .layout-big-img-left .text-container {
        min-height: 360px;
    }
    .ctype-textmedia.layout-big-img-left .text-container{
        min-height: 250px;
    }

    .layout-content-slider-startnews .ctype-textmedia.layout-big-img-left .container {
        padding-bottom: 0;
    }

    .ctype-textmedia.layout-big-img-left .text-container::before,
    .ctype-textmedia.layout-big-img-right .text-container::before {
        mix-blend-mode: normal;
        background: none;
    }

    .ctype-textmedia.layout-big-img-left .image-text,
    .ctype-textmedia.layout-big-img-right .image-text {
        font-size: 1rem;
        line-height: 1.2em;
    }

    .layout-tile-grid .col-70 {
        width: 60%;
    }

    .layout-tile-grid .col-30 {
        width: 40%;
    }

    .layout-tile-grid .column-row {
        padding: 40px 0px;
    }

    .container-normal-width {
        padding: 0 10px;
    }

    #page-footer .footer-navigation {
        padding: 70px 10px 0 10px;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-wrap .overlay,
    .news .news-list-view .layout-1 .news-item-wrap .video-wrap a.overlay .text-wrap,
    .news.news-single .layout-1 .news-item-wrap .video-wrap a.overlay .text-wrap {
        display: none;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-subtext {
        display: block;
        padding: 20px 20px 0;
        background-color: #96B522;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-subtext h3 {
        color: #fff;
        font-size: 1.4rem;
        line-height: 1.2em;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-subtext .bottom-text {
        color: #fff;
        padding: 0 0 20px;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-subtext .title {
        font-weight: bold;
    }

    .ctype-gridelements_pi1.layout-popup>.container {
        right: initial;
        left: 20px;
        max-width: 80%;
        min-width: 70%;
    }

    .ctype-gridelements_pi1.layout-popup>.container .close .whitebar {
        width: 30px;
        height: 4px;
    }

    #content {
        padding: 188px 0 0;
    }
}

@media screen and (max-width: 850px) {
    #content {
        padding: 150px 0 0 0;
    }
    .sub-header {
        display: none;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-wrap .overlay,
    .news .news-list-view .layout-1 .news-item-wrap .video-wrap a.overlay .text-wrap {
        position: static;
        width: auto;
        height: auto;
        padding: 20px 20px 0;
        background-color: #96B522;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap .video-wrap .overlay .bottom-text,
    .news .news-list-view .layout-1 .news-item-wrap .video-wrap a.overlay .text-wrap .bottom-text {
        padding-bottom: 20px;
    }

    .news .news-list-view .layout-2 .news-item-wrap .news-item-body .column-row,
    .news .news-list-view .layout-3 .news-item-wrap .news-item-body .column-row {
        padding: 0 0 4px;


    }

    .news .news-list-view .layout-2 .news-item-wrap .news-item-body .col-3.image-wrap,
    .news .news-list-view .layout-3 .news-item-wrap .news-item-body .col-3.image-wrap {
        width: 50%;

    }

    .news .news-list-view .news-item-wrap .news-item-body .image-wrap {
        width: 40%;
    }

    .news.news-single .article .news-img-wrap {
        width: 260px;
    }

    .tile-menu-container .menu-tile-wrap {
        flex: 0 0 50%;
        height: auto;
        min-height: auto;
    }
}

@media screen and (max-width: 780px) {
    #page-header .logo-small {
        margin-left: 10px;
    }

    #page-header .header-container .header-nav-right {
        margin-right: 10px;
    }

    .container {
        padding: 0 10px;
    }

    .d-lg-none {
        display: block;
    }

    .d-md-none {
        display: none;
    }

    .layout-video .play-btn-outer {
        width: 70px;
        height: 70px;
        top: calc(50% - 35px);
        left: calc(50% - 35px);
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap a.video-wrap:before {
        width: 70px;
        height: 70px;
        margin: -35px 0 0 -35px;
    }

    .layout-video .play-btn-outer .play-btn {
        top: 18px;
        border-width: 18px 0 18px 35px;
    }

    .news .news-list-view .layout-1 .news-item-wrap .image-wrap a.video-wrap:after {
        border-width: 18px 0 18px 35px;
        margin: -18px 0 0 -15px;
    }

    .layout-video .herovideo-overlay .title,
    .layout-image .text-container .title {

        padding: 0 0 10px;
    }

    .layout-video .herovideo-overlay .text-wrap,
    .layout-image .text-container .text-wrap {
        font-size: 16px;
    }

    .layout-video .herovideo-overlay,
    .layout-image .text-container {
        padding: 10px 10px 0;
    }

    .tx-rm-locationfinder .map-container .map-wrap,
    .tx-rm-locationfinder .map-container .filter-wrap {
        width: 100%;
        display: block;
    }

    .tx-rm-locationfinder .map-container .filter-wrap .select-wrap select,
    .tx-rm-locationfinder .map-container .filter-wrap .textbox input {
        height: 38px;
        box-sizing: border-box;
        border: none;
    }

    .tx-rm-locationfinder .map-container .filter-wrap .select-wrap select {
        margin: 1px 0 0 0;
    }

    .tx-rm-locationfinder .map-container .filter-wrap .input-wrap,
    .tx-rm-locationfinder .map-container .filter-wrap .select-wrap {
        display: inline-block;
        width: 50%;
        box-sizing: border-box;
    }

    .tx-rm-locationfinder .map-container button.btn {
        margin: 1px 0 0 0;
    }

    .tx-rm-locationfinder .map-container .btn {
        width: 50%;
        display: inline-block;
        height: 44px;
    }

    .tx-rm-locationfinder .map-container .filter-wrap {
        height: 330px;
    }

    #page-footer .col {
        flex-basis: 33%;
    }

    #page-footer .col,
    #page-footer .col:nth-child(1),
    #page-footer .col:nth-child(2),
    #page-footer .col:nth-child(3),
    #page-footer .col:nth-child(4),
    #page-footer .col:nth-child(5) {
        width: 33%;
        padding: 0 10px;
    }

    .tx-rm-locationfinder .map-container .filter-wrap .textbox input {
        width: 100%;
    }

    .tx-rm-locationfinder .list table,
    .tx-rm-locationfinder .list table tbody,
    .tx-rm-locationfinder .list table thead,
    .tx-rm-locationfinder .list table th,
    .tx-rm-locationfinder .list table td,
    .tx-rm-locationfinder .list table tr {
        display: block;
    }

    .tx-rm-locationfinder .list table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .tx-rm-locationfinder .list table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 24px;
    }

    .tx-rm-locationfinder .list table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .tx-rm-locationfinder .list table td:nth-of-type(1):before {
        content: "Name";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(2):before {
        content: "Fachrichtung";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(3):before {
        content: "Straße";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(4):before {
        content: "PLZ";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(5):before {
        content: "Ort";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(6):before {
        content: "Land";
    }

    .tx-rm-locationfinder .list table td:nth-of-type(7):before {
        content: "Link";
    }

    .layout-tile-grid .col-30 h2,
    .layout-tile-grid .col-70 h2 {
        font-size: 36px;
    }

    .news .news-list-view .layout-2 .news-item-wrap .news-item-body .col-4.image-wrap,
    .news .news-list-view .layout-3 .news-item-wrap .news-item-body .col-4.image-wrap,
    .news .news-list-view .layout-2 .news-item-wrap .news-item-body .col-3.image-wrap,
    .news .news-list-view .layout-3 .news-item-wrap .news-item-body .col-3.image-wrap {
        width: 100%;
    }

    .news .news-list-view .news-item-wrap .news-header h3 {
        font-size: 1.6rem;
        line-height: 1.2em;
    }

    .container-70 {
        width: 100%;
    }
    .ctype-textmedia.layout-big-img-left .text-container{
        min-height: 300px;
    }
    .round-btn {
        padding: 3px 20px;
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 640px) {
    .tx-kesearch-pi1 #kesearch_results .result-list-item .result-title a {
        word-break: break-word;
    }
    .square-btn {
        height: 341px;
    }
    .dpnglossary.link:hover::after,
    .dpnglossary.link.show::after {
        width: 200px;
    }
    #page-header .header-container .logo-logo-big {
        display: none;
    }

    #page-header .social {
        display: none;
    }
    #page-header .header-container {
        padding: 0 0 33px;
    }
    #content {
        padding: 103px 0 0 0;
    }

    #page-header {
        position: absolute;
    }


    .layout-tile-grid .column-row {
        flex-direction: column;
    }

    .layout-tile-grid .col-70,
    .layout-tile-grid .col-30 {
        width: 100%;
        padding: 0;
    }



    .ctype-textmedia.layout-small-img-right {
        font-size: 1.4rem;
    }

    .ctype-textmedia.layout-small-img-right .image-text-container {
        position: relative;
    }

    .layout-image .text-container {
        position: relative;
    }

    .layout-video .herovideo-overlay {
        background-color: #96B522;
    }

    .layout-video .herovideo-overlay::before {
        background-color: #96B522;
        mix-blend-mode: normal;
    }

    .ctype-gridelements_pi1.layout-content-slider .slick-arrow,
    .ctype-gridelements_pi1.layout-content-slider-startnews .slick-arrow {
        display: none !important;
    }

    #page-header .header-container .logo-big {
        display: none;
    }

    #page-header .logo-small .logo {
        margin-top: -81px;
    }

    .ctype-gridelements_pi1.layout-content-slider .slick-dots {
        bottom: 0;
    }

    .ctype-gridelements_pi1.layout-content-slider .slick-dots button,
    .ctype-gridelements_pi1.layout-content-slider .slick-dots-startnews button,
    .ctype-gridelements_pi1.layout-content-slider-startnews .slick-dots button {
        width: 12px;
        height: 12px;
    }

    .tx-rm-imagegallery .entry {
        flex: 0 0 25%;
    }

    .news .news-list-view .news-item-wrap .news-item-body {
        display: block;
    }

    .news .news-list-view .news-item-wrap .news-item-body .image-wrap {
        width: auto;
        padding: 0 0 20px;
    }

    .news .news-list-view .article {
        padding: 20px 20px 0;
    }

    .news.news-single .article .news-img-wrap {
        width: auto;
        display: flex;
        float: none;
        margin: 0 -8px;
    }

    .news.news-single .article .news-img-wrap .outer {
        padding: 0 8px 16px;
        width: 50%;
        box-sizing: border-box;
    }

    h1 {
        font-size: 36px;

    }

    h2,
    .layout-tile-grid .col-30 h2,
    .layout-tile-grid .col-70 h2 {

        font-size: 28px;

    }

    h3 {
        font-size: 24px;

    }

    h4 {
        font-size: 20px;
        line-height: 1.5em;
    }

    .ctype-gridelements_pi1.bg-color-gradient-rev .container,
    .ctype-gridelements_pi1.bg-color-gradient .container {
        padding: 20px;
    }

    .ctype-list p,
    .ctype-text p,
    .ctype-text p,
    .ctype-list ul li,
    .ctype-text ul li,
    .ctype-list ol li,
    .ctype-text ol li {
        font-size: 16px;
        line-height: 1.5em;
    }

    .leave-popup-wrap a {
        width: 100%;
        margin: 10px 0;
    }

    .fancybox-content {
        padding: 40px 10px;
    }

    .tx-powermail .powermail_form.ratingform .radio{
        margin: 5px 15px 0 0;
        width: 30px;
        height: 30px;
    }

    .tx-powermail .powermail_form.ratingform .radio input[type="radio"]{
        width: 30px;
        height: 30px;
    }

    .tx-powermail .powermail_form.ratingform fieldset .powermail_fieldwrap_type_html{
        max-width: 435px;
    }

}

@media screen and (max-width: 580px) {
    .layout-video .herovideo-container {
        line-height: 0;
    }

    .layout-video .play-btn-outer {
        top: calc(45% - 35px);
    }

    #page-footer .col {
        flex-basis: 100%;
    }

    #page-footer .right-column {
        padding: 0;
    }

    #page-footer .social-icons {
        padding: 0;
    }
}

@media screen and (max-width: 500px) {
    .tx-kesearch-pi1 .kesearch_searchbox .kesearchbox,
    .tx-kesearch-pi1 #kesearch_filters {
        min-width: 1px;
    }
    .d-md-none {
        display: block;
    }

    .d-sm-none {
        display: none;
    }

    #page-header .logo-small .logo {
        margin-top: -101px;
    }

    #page-header .header-container .logo-transform {
        transform: translateY(0px) !important;
    }

    #page-header .header-container .middle-left-col {
        flex: 0 0 50%;
    }

    #page-header .header-container .header-nav-right {
        flex-wrap: wrap-reverse;
    }

    #page-header .header-container .searchbox-wrap,
    #page-header .header-container .icon-row {
        flex: 0 0 100%;
        margin-top: 20px;
        margin-right: 0;
    }

    #page-header .searchbox-wrap form {
        width: calc(100% - 136px);
        float: right;
    }

    #page-header .searchbox-wrap input {
        width: calc(100% - 30px);
    }

    #page-header .nav-row {
        width: auto;
        left: 0;
        right: 0;
    }

    #page-header .main-nav ul a,
    #page-header .main-nav ul.level-2 a {
        font-size: 1.2rem;
    }

    .tx-rm-locationfinder .map-container .filter-wrap {
        font-size: 14px;
    }

    .tx-rm-imagegallery .entry {
        flex: 0 0 33%;
    }

    .tx-rm-imagegallery .pagination li {
        font-size: 18px;
    }
    

    .ctype-gridelements_pi1.layout-popup>.container {
        min-width: 250px;
        min-height: 250px;
        top: 20px;
        left: 15px;
        right: initial;
        z-index: 1000;
        max-width: 80%;
        overflow: scroll;
    }

    .news.news-single .article .news-img-wrap {
        display: block;
    }

    .news.news-single .article .news-img-wrap .outer {
        padding: 0 8px 16px;
        width: 100%;
        box-sizing: border-box;
    }

    
    .ctype-textmedia.layout-big-img-left .text-container{
        min-height: 380px;
    }



}


@media screen and (max-width: 420px) {
    .ctype-textmedia.layout-big-img-left .text-container {
        min-height: 440px;
    }

    .tx-powermail .powermail_form.ratingform fieldset .powermail_fieldwrap_rating{
        max-width: 230px;
        margin: auto;
    }

    .tx-powermail .powermail_form.ratingform fieldset .powermail_fieldwrap_type_html{
       display: none;
    }

}

@media screen and (max-width: 400px) {
    .layout-video .play-btn-outer {
        top: calc(40% - 35px);
    }

    .layout-video .herovideo-overlay .title,
    .layout-image .text-container .title {
        font-size: 30px;
    }

    .tx-rm-imagegallery .entry {
        flex: 0 0 50%;
    }

    .tx-rm-locationfinder .map-container .filter-wrap {
        height: auto;
    }

    .tx-rm-locationfinder .map-container .filter-wrap .input-wrap,
    .tx-rm-locationfinder .map-container .filter-wrap .select-wrap {
        display: block;
        width: 100%;
    }

    .tx-rm-locationfinder .map-container .btn {
        display: block;
        width: 100%;
    }

    .tx-rm-locationfinder .map-container button.btn {
        margin: 0 0 5px 0;
    }
}
@media screen and (max-width: 374px) {

.ctype-textmedia.layout-big-img-left .text-container {
    min-height: 490px;
}
}