.show-mobile-only {
    display: none;
}
.hide-mobile-only {
    display: block;
}
@media screen and (max-width: 1510px) {
    .nav-main > li {
        margin: 0 30px 0 0;
    }

    .links-group {
        flex: 0 0 25%;
    }
}

@media screen and (max-width: 1350px) {
    .nav-main > li {
        font-size: 19px;
    }

    .nav1 .btn-primary {
        padding-left: 20px;
        padding-right: 20px;
    }

    .links-group {
        flex: 0 0 30%;
    }
}

@media screen and (max-width: 1250px) {
    .page-header-contacts,
    .page-header {
        padding: 0 30px;
    }

    .page-footer,
    .footer-links {
        padding: 30px;
    }

    .nav-main > li {
        font-size: 16px;
        margin-right: 20px;
    }

    .nav1 .btn-primary {
        font-size: 18px;
    }

    .slideout-box {
        display: none;
    }

    .page-title {
        height: 550px;
    }

    .title-headline {
        font-size: 38px;
        top: 30%;
    }

    .swiper-carousel-quaternary .swiper-slide {
        padding: 30px;
    }

    .pic-event {
        border-radius: 20px 20px 0 0;
        margin: -27px -26px 30px;
        overflow: hidden;
    }
}

@media screen and (max-width: 1024px) {
    .btn {
        padding: 20px;
    }
}

@media screen and (max-width: 860px) {
    .soclink {
        margin-left: 20px;
    }
}

@media screen and (max-width: 980px) {
    body {
        font-size: 16px;
        width: calc(100% + 3px);
        overflow-x: hidden;
        max-width: 100vw;
    }

    body.hidden {
        max-height: 100vh;
        overflow: hidden;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 22px;
    }

    h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
    }

    h5 {
        font-size: 16px;
    }

    .page-top-bar + .page-container {
        margin-top: 130px;
    }

    .page-container {
        padding-bottom: 60px;
        padding-top: 30px;
    }

    .page-container-first {
        margin-bottom: -150px;
    }

    .page-header-contacts {
        font-size: 19px;
        height: 40px;
        padding: 0 20px;
    }

    .page-header {
        height: 90px;
        padding: 0 20px;
    }

    .page-title {
        height: auto;
        margin-bottom: 0;
        margin-top: 90px;
    }

    .page-title::before {
        display: none;
    }

    .title-headline {
        padding-left: 40px;
    }

    .swiper-carousel-primary {
        margin: 0 -20px 100px;
    }

    .nav1 .btn-primary {
        border-radius: 15px;
        font-size: 14px;
        padding: 15px;
    }

    .btn {
        font-size: 18px;
        letter-spacing: normal;
        padding: 15px 20px;
    }

    .links-group {
        flex: 0 0 49%;
    }

    .page-footer {
        padding: 20px;
    }

    .footer-links {
        padding: 60px 20px
    }

    .hruler {
        margin: 60px 0
    }


    .nav1 {
        background: linear-gradient(90deg, rgba(16, 113, 195, 1) 0%, rgba(48, 163, 242, 1) 100%);
        bottom: 0;
        display: none;
        max-height: 100%;
        overflow: auto;
        overflow-y: auto;
        padding: 40px 0;
        position: fixed;
        right: 0;
        top: 90px;
        width: 100%
    }

    .nav1 .btn-primary {
        display: none;
    }

    .nav1 .headline-styled {
        display: block;
        margin: 0 20px 40px;
    }

    .nav-main {
        display: block;
    }

    .nav-main > li {
        font-size: 18px;
        line-height: normal;
        margin: 0 20px;
        position: relative;
    }

    .nav-main > li::after {
        content: '';
        width: calc(100% - 40px);
        position: absolute;
        bottom: 0;
        left: 20px;
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, .5);
    }

    .nav-main li:last-child::after {
        display: none;
    }

    .nav-main > li > a {
        color: #fff !important;
        padding: 20px 20px 20px 0;
    }

    .nav-main > li > a::after {
        right: 10px;
    }

    .nav-sub {
        background: rgba(0, 0, 0, .1);
        box-shadow: none;
        color: #fff;
        display: none;
        margin: 0 -20px;
        opacity: 1;
        padding: 0;
        padding: 10px 0;
        position: relative;
        top: auto;
        visibility: visible;
        width: auto;
    }

    .nav-sub::before,
    .nav-sub::after {
        display: none;
    }

    .nav-sub .nav-sub-headline {
        display: none;
    }

    .nav-sub > li {
        font: 16px Dosis;
        margin: 0;
    }

    .nav-sub > li > a {
        color: #fff;
        padding: 7px 30px;
    }

    .nav-sub > li > a::after {
        margin: 0;
        position: absolute;
        right: 30px;
    }

    .nav-sub > li > a:hover,
    .nav-sub > li.active > a {
        color: #dedede !important;
    }

    .hamburger {
        display: block;
        top: 35px;
    }

    .top-bar-contacts {
        display: none;
    }

    .swiper-button-prev {
        left: 15px;
    }

    .swiper-button-next {
        right: 15px;
    }

    .swiper-button-prev:before,
    .swiper-button-next:before {
        font-size: 25px;
    }

    .swiper-carousel-primary .swiper-button-next,
    .swiper-carousel-primary .swiper-button-prev {
        display: block;
    }

    .swiper-carousel-primary .slide-inner-wrap {
        min-height: inherit;
    }

    .swiper-carousel-secondary .swiper-slide {
        min-height: 470px;
        padding: 30px;
    }

    .swiper-carousel-secondary .swiper-slide-active {
        min-height: 488px;
    }

    .title-pic {
        height: 300px;
        position: relative;
    }

    .title-headline {
        color: #505050;
        font-size: 28px;
        margin: 20px 20px -20px;
        padding: 0 0 35px;
        position: relative;
        top: auto;
        transform: none;
    }

    .title-headline::after {
        background: #1172C4;
        bottom: 18px;
        content: '';
        height: 3px;
        left: 0;
        position: absolute;
        width: 40px;
    }

    .page-top-bar + .page-container {
        margin-top: 70px;
    }

    .footer-links {
        overflow-x: hidden;
    }

    .offsetForPicture.justify-content-between .col-md-6:first-child {
        padding-left: 23px;
        padding-right: 0;
    }

    .offsetForPicture.justify-content-between .col-md-6:last-child {
        padding-left: 0;
    }

    .offsetForPicture.justify-content-between.flex-row-reverse .col-md-6:first-child {
        padding-right: 23px;
        padding-left: 0;
    }

    .offsetForPicture.justify-content-between.flex-row-reverse .col-md-6:last-child {
        padding-left: 23px;
        padding-right: 0;
    }

    /* HAS SUB SETTINGS */
    .nav-main > li > a::after {
        display: none !important;
    }

    li.has-sub {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0 20px;
        transition: 0s;
    }

    .has-sub a {
        order: 1;
        width: 85%;
        transition: 0s;
    }

    .has-sub .nav-sub {
        order: 3;
        width: 110%;
        transition: 0s;
    }

    .has-sub .nav-sub li a {
        width: 100%;
    }

    .has-sub .nav-sub > li > a {
        padding: 10px 20px 10px 30px;
    }

    .has-sub .nav-sub > li > a::after {
        right: 20px;
    }

    .has-sub button.trigger {
        order: 2;
        position: relative;
        right: 0;
        border: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 15%;
        transition: 0s;
    }

    .has-sub button.trigger:focus {
        outline: 0 none;
    }

    .has-sub button.trigger::after {
        content: "\e907";
        font: 10px icomoon;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all .3s ease;
        color: #fff;
    }

    .has-sub button.trigger.open::after {
        transform: translateY(-50%) rotate(270deg);
    }

    /* HEADER CONTACT STYLING */
    .nav1 .header-contact {
        justify-content: center;
        padding: 20px 0;
    }

    .nav1 .header-contact a {
        color: #fff;
        text-decoration: none;
    }

    .nav1 .header-contact a span {
        display: none;
    }

    .nav1 .header-contact .icon-telephone {
        margin: 0;
    }

    .nav1 .header-contact .icon-mail {
        margin: 0;
    }

    .breadcrumb-container {
        margin-top: 70px;
        padding-bottom: 0 !important;
        padding-top: 20px !important;
    }

    .breadcrumb .breadcrumb-item:first-child {
        padding-left: 0;
        margin-bottom: 10px;
    }

    .breadcrumb .breadcrumb-item:first-child::before {
        display: none;
    }


}

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

    body {
        width: calc(100% + 5px);
    }

    .offsetForPicture .col-md-6:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .offsetForPicture.flex-row-reverse .col-md-6:first-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .page-container {
        padding-bottom: 40px;
        padding-top: 40px;
    }

    .page-container-first {
        margin-bottom: -50px;
    }

    .page-container-frame-blue:after {
        height: 280px;
    }

    .page-container-frame-gray:after {
        height: 435px;
    }

    .page-header {
        height: 70px;
    }

    .header-logo {
        width: 150px;
    }

    .headline-styled::after {
        width: 40px;
    }

    .headline-styled-centered::after {
        margin-left: -20px;
    }

    .headline-styled-with-space {
        margin-bottom: 40px;
    }

    .btn-mobile-only {
        color: #fff;
        display: flex;
        justify-content: center;
    }

    .btn-mobile-only a {
        color: #fff;
        text-decoration: none;
    }

    .btn-mobile-only .header-contact {
        margin: 0 15px;
    }

    .nav-footer {
        display: block;
        margin: 0;
    }

    .links-group {
        border-bottom: 1px solid #DDD;
        margin: 0;
        padding: 20px 0 !important;
    }

    .links-group h5.links-headline {
        margin-bottom: 0 !important;
    }

    .links-headline {
        font: 18px Dosis;
        padding: 0;
    }

    .links-headline:after {
        background: none;
        bottom: auto;
        content: "\e907";
        font: 10px icomoon;
        height: auto;
        left: auto;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        width: auto;
    }

    .is-open .links-headline {
        color: #1172C4;
    }

    .is-open .links-headline:after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .links-list {
        font-size: 14px;
        padding: 15px 0 0 10px;
    }

    .links-list a {
        padding-left: 0
    }

    .links-list a:before {
        display: none;
    }

    .links-list a:after {
        content: "\e907";
        display: inline-block;
        font: 10px icomoon;
        margin-left: 5px;
    }

    .footer-links {
        padding: 40px 20px;
    }

    .page-footer {
        padding: 30px 20px 120px;
        text-align: center
    }

    .list-soclinks {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }

    .soclink {
        margin: 0 15px;
    }

    .btn-bottom-bar {
        display: block;
    }

    .btn {
        display: block;
    }

    .pic-responsive {
        margin-bottom: 30px;
    }

    .hruler {
        margin: 40px 0
    }

    .table-responsive {
        overflow-x: auto;
    }

    .table {
        min-width: 640px;
    }

    .table th {
        font-size: 18px;
        padding: 15px;
    }

    .table td {
        font-size: 16px;
        padding: 15px;
    }

    .table td strong {
        font-size: 18px;
    }

    .table .icon-check {
        font-size: 19px;
    }

    .title-pic {
        height: 175px;
    }

    .page-title {
        margin-top: 70px;
    }

    .swiper-carousel-primary {
        margin: 0 -20px 40px;
    }

    .hamburger {
        top: 25px;
    }

    .nav1 {
        top: 70px;
    }

    .offsetForPicture.justify-content-between .col-md-6:first-child {
        padding-left: 23px;
        padding-right: 23px;
    }

    .offsetForPicture.justify-content-between .col-md-6:last-child {
        padding-left: 23px;
        padding-right: 23px;
    }

    .offsetForPicture.justify-content-between.flex-row-reverse .col-md-6:first-child {
        padding-left: 23px;
        padding-right: 23px;
    }

    .offsetForPicture.justify-content-between.flex-row-reverse .col-md-6:last-child {
        padding-left: 23px;
        padding-right: 23px;
    }
    .show-mobile-only {
        display: block;
    }
    .hide-mobile-only {
        display: none;
    }
    .slide-inner-wrap h1+p, 
    .slide-inner-wrap h2+p, 
    .slide-inner-wrap h3+p, 
    .slide-inner-wrap h4+p, 
    .slide-inner-wrap h5+p, 
    .slide-inner-wrap h6+p {
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-title.no-overlay .element-content .element-contentIn p {
        max-width: 175px;
    }
    .heroContent .page-title.no-overlay .slick-track:after {
        /* width: 100%;
        height: 100%;
        position: absolute;
        background: #fff;
        opacity: 0.3; */
    }
    .page-title.default figure.image {
        min-height: 320px;
    }
    .page-title.default .element-content {
        position: absolute;
        top: 0;
        bottom: 0;
        display: flex;
        /* align-items: center; */
        justify-content: center;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .page-title.default .element-content .title-headline {
        color: #fff;
    }
    .page-title.default .element-content .title-headline::after {
        content: none;
    }
    .page-container-first .swiper-carousel-primary {
        margin-top: -100px;
    }
    .frame-space-before-large {
        margin-top: 60px !important;
    }
    .frame-space-before-medium {
        margin-top: 40px !important;
    }
    .frame-space-before-extra-large {
        margin-top: 75px !important;
    }
}