/* Tablet */
@media only screen and (min-width: 48em) and (max-width: 82em) {

    /* bootstrap overrides */
    .row {
        margin: 0 !important;
    }

    .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
        padding: 0 !important
    }

    /* imap styles */
    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
        max-width: 100vw;
        font-size: 20px;
    }

    body {
        font-family: DINNextLTPro-Light, sans-serif;
        /*overflow-x: hidden;*/
        background: radial-gradient(circle, rgba(10, 45, 77, 1) 0%, rgba(5, 24, 42, 1) 100%);
        color: #fff;
        position: relative;
        min-height: 100vh;
        overflow-x: hidden;
        max-width: 100vw;
    }

    p {
        font-size: 1.5rem;
        line-height: 1.7rem;
    }

    h1, .h1 {
        font-size: 4rem;
        line-height: 1em;
    }

    h2, .h2 {
        font-size: 2.1rem;
        line-height: 1em;
    }

    h3, .h3 {
        font-size: 3rem;
        line-height: 1em;
    }

    h4, .h4 {
        font-size: 1.5rem;
        line-height: 1em;
        font-weight: bold;
    }

    h5, .h5 {
        font-size: 1.5rem;
        line-height: 1em;
        font-weight: bold;
    }

    .formdiv input[type=text], .formdiv textarea[type=text] {
        border: 0;
        border-bottom: 2px solid #053157;
        width: 100%;
    }

    .container-fluid {
        padding: 0;
        /*min-height: 100vh;*/
        position: relative;
    }

    .language {
        position: fixed;
        right: 5em;
        z-index: 2;
        font-size: 0.6em;
        text-decoration: none;
        color: #C9C9C9;
        top: 0.5em;
        cursor: pointer;
    }

    .translate {
        position: fixed;
        right: 5em;
        z-index: 9900;
        font-size: 0.6em;
        text-decoration: none;
        color: #C9C9C9;
        top: 0.5em;
        cursor: pointer;
    }
    #de {
        right: 1em;
    }

    .smooth-scroll-wrapper {
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        overflow: hidden;


    }

    /* --------------------Side Nav--------------------- */
    .sidenav {
        height: 100%; /* Full-height: remove this if you want "auto" height */
        position: fixed; /* Fixed Sidebar (stay in place on scroll) */
        z-index: 9999; /* Stay on top */
        top: 3em; /* Stay at the top */
        right: 0;
        overflow-x: hidden; /* Disable horizontal scroll */
    }

    .dropdown {
        overflow: hidden;
        position: relative;
        padding-bottom: 1rem;
        font-size: 2.5rem;
        line-height: 3.5rem;
    }

    .dropdown a {
        color: #053157;
    }


    .dropdown-content {
        position: relative;
        margin-left: 0;
        opacity: 0;
        visibility: hidden;
        float: right;
        font-size: 0;
        width: 0;
        height: 1.9em;
        background-color: white;
        transition: visibility 0.5s, width 0.6s, margin-left 0.5s, opacity 0.5s, background-color;
        overflow: hidden;
    }


    .dropdown-content.a, .dropdown-content:hover a {
        color: white;
        text-decoration: none;
        padding-top: 1.7em;
        line-height: 1.6em;

    }

    .dropbtn {
        position: relative;
        background-color: white;
        width: 1.2em;
        height: 1.2em;
        float: right;
        margin: 0.01em;
        box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.2), 0 0.125rem 0.125rem 0 rgba(0, 0, 0, 0.20);

    }

    .navi1 {
        height: 1.3em;
        margin-right: 0.4em;
        margin-left: 0.5em;
    }

    .navi2 {
        height: 1.3em;
        margin-right: 0.4em;
        margin-left: 0.5em;
    }

    .navi3 {
        height: 1.3em;
        margin-right: 0.4em;
        margin-left: 0.5em;
    }

    .navi4 {
        height: 1.1em;
        margin-right: 0.4em;
        margin-left: 0.5em;
    }

    .navi5 {
        height: 1.1em;
        margin-right: 0.4em;
        margin-left: 0.5em;
    }

    .dropbtn img {
        position: relative;
        width: 0.7em;
        margin-left: 0.25em;
        margin-bottom: 0.25em;
    }

    .dropdown:hover img {
        display: none;
    }

    .dropdown:hover .drop1 {
        display: block;
        background-color: #fff;
        width: auto;
        font-size: 0.6em;
        overflow: hidden;
        visibility: visible;
        opacity: 1;
        padding: 0.3em;
        text-decoration: none;
        margin-left: -0.2em;

    }

    .we {
        margin-left: 0.5em;
        margin-right: 0.5em;
        float: left;
        line-height: 2.3rem;
    }

    .drop1 a {
        margin-left: 1em;
    }

    .dropdown:hover .drop2 {
        display: block;
        background-color: #fff;
        width: auto;
        font-size: 0.6em;
        margin-left: -0.2em;
        visibility: visible;
        opacity: 1;
        padding: 0.3em;
        text-decoration: none;
    }

    .drop2 a {
        margin-left: 1em;
    }

    .dropdown:hover .drop3 {
        display: block;
        background-color: #fff;
        width: auto;
        font-size: 0.6em;
        margin-left: -0.2em;
        visibility: visible;
        opacity: 1;
        padding: 0.3em;
        text-decoration: none;
    }

    .drop3 a {
        margin-left: 1em;
    }

    .dropdown:hover .drop4 {
        display: block;
        background-color: #fff;
        width: auto;
        font-size: 0.6em;
        margin-left: -0.2em;
        visibility: visible;
        opacity: 1;
        padding: 0.3em;
        text-decoration: none;
    }

    .drop4 a {
        margin-left: 1em;
    }

    .dropdown:hover .drop5 {
        display: block;
        background-color: #fff;
        width: auto;
        font-size: 0.6em;
        margin-left: -0.2em;
        visibility: visible;
        opacity: 1;
        padding: 0.3em;
        text-decoration: none;
    }

    .drop5 a {
        margin-left: 1em;
    }

    .dropdown:hover .dropbtn {
        visibility: hidden;
    }

    /* ---GOOGLE ANALYTICS----- */
    .analytics {
        position: fixed;
        top: 10em;
        left: 5.5em;
        z-index: 100;
        width: 29em;
        height: 32em;
        background: #053157;

    }

    .analyticsafter {
        display: none;
    }


    .antext {
        position: absolute;
        font-size: 1.3em;
        color: white;
        margin-left: 2.5em;
        padding-top: 3em;
        width: 17em;

    }

    .allowbtn {
        position: absolute;
        left: 1.7em;
        top: 9.5em;
        font-size: 1.8em;
        background: white;
        border: white;
        color: #053157;
        height: 2.2em;
        width: 13em;
        font-family: DINNextLTPro-Regular, sans-serif;
    }

    .deaktibtn {
        position: absolute;
        left: 1.7em;
        top: 13em;
        font-size: 1.8em;
        background: #053157;
        border: #053157;
        color: white;
        height: 2.2em;
        width: 13em;
        font-family: DINNextLTPro-Regular, sans-serif;
    }

    /* --------------------BLOCKS--------------------- */
    #main {
        z-index: 10;
    }

    .imap-anfrage {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 20px 100px;
        z-index: 0;
        background-color: #05182a;
        transition: opacity .5s ease;
        opacity: 0;
        width: 100%;
        overflow-y: auto;
    }

    .imap-anfrage .formdiv input[type=text], .imap-anfrage .formdiv textarea[type=text]  {
        background: #05182a;
        border: 0;
        border-bottom: 2px solid #fff;
        color: #fff;
        width: 100%;
    }

    .imap-anfrage ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #fff;
        opacity: 1; /* Firefox */
    }

    .imap-anfrage :-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #fff;
    }

    .imap-anfrage ::-ms-input-placeholder { /* Microsoft Edge */
        color: #fff;
    }

    .anfrage-left {
        padding-top: 130px;
    }

     .formdiv {
        padding-top: 100px;
    }

     .formdiv .btn[type="submit"] {
        margin-top: 40px;
    }

    .anfrage-right {
    }

    .anfrage-right img {
        display: none;
    }

    span.closeanfrage {
        margin-top: 40px;
        display: block;
        text-decoration: underline;
    }

    .block1a {
        order:2;
    }

    .block1b {
        order:1;
        margin-top: 75px;
        height: 347px;
        width: 100%;
        position: relative;
    }

    .block1b img {
        width: auto;
        position: absolute;
        right: 4em;
    }

    .block1bform {
        display: none;
    }

    @keyframes fadeInFromNone {
        0% {
            position: fixed;
            display: none;
            opacity: 0;
            transform: translateY(850px);
        }

        1% {
            position: fixed;
            display: none;
            opacity: 0;
            transform: translateY(850px);
        }

        50% {
            position: fixed;
            display: none;
            transform: translateY(850px);
            opacity: .5;
        }

        100% {
            position: fixed;
            display: none;
            opacity: 1;
            transform: translateY(0);
        }
    }

    .block1bform .closepopup {
        position: relative;
        top: 1rem;
        right: 1rem;
        cursor: pointer;
    }

    .block2a {
        padding: 75px 0;
    }

    .block2b {
        width: 100%;
    }

    .block2b img {
        width: 100%;
    }

    .block2c {
        padding: 75px 0;
    }

    .block2c-anfragen {
        order:1;
        padding: 75px 0;
    }

    .block2c p {
    }

    .block2c-items {
        flex-wrap: wrap;
        justify-content: center;
        order:2;
    }

    .block2c-item {
        width: 45%;
        text-align: center;
    }

    .block2c-item:nth-child(1) {
        margin-top: 200px;
    }
    .block2c-item:nth-child(2) {
    }
    .block2c-item:nth-child(3) {
    }
    .block2c-item:nth-child(4) {
        margin-top: -300px;
    }

    .block2c-item-headline {
        text-align: center;
    }

    .block2c-item:nth-child(1) {
        padding-bottom: 100px;
    }

    .block2c-item:nth-child(2) {
        padding-bottom: 100px;
    }

    .block2c-item:nth-child(3) {
        padding-bottom: 100px;
    }

    .block2c-item:nth-child(4) {
    }


    .block2c .show-imap-anfrage {
    }

    div#block3a {
        z-index: 8888 !important;
    }

    .block3a {
        width: 100%;
    }

    .block3a img {
        width: 100%;
    }

    .block3b {
        padding: 75px 0;
    }

    .block3b .show-imap-anfrage {
        margin: 25px 0 25px 0;
    }

    .block3c {
        padding: 75px 0 100px 0;
    }

    .block3c .d-flex {
        flex-wrap: wrap;
    }

    .box-gruende {
        margin: 30px 0;
        width: 45%;
    }

    .box-gruende {
        margin: 0 .5em;
    }
    .box-gruende:first-of-type {
        margin: 0 .5em 0 0;
    }
    .box-gruende:last-of-type {
        margin: 0 0 0 .5em;
    }

    .box-gruende:nth-child(1) {
    }

    .box-gruende:nth-child(2) {
        margin-top: 200px;
    }

    .box-gruende:nth-child(3) {
        margin-top: -50px;
    }

    .box-gruende:nth-child(4) {
        margin-top: 75px;
    }

    .box-gruende img {
        margin-bottom: 30px;
    }

    .block4a {
        order: 2;
    }

    .block4a img {
        width: 100%;
    }

    .block4b {
        order: 1;
        padding: 75px 0;
    }

    .block4c {
        padding: 75px 0;
    }

    .block4c .show-imap-anfrage {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        position: absolute;
    }

    .block4c img {
    }

    .block4c .show-imap-anfrage {
    }

    .block4d {
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0 100px !important;
    }

    .block4d .lang {
        padding-right: 9%;
    }

    .block4e {
        position: relative;
        min-height: 420px;
        margin-top: 100px;
        padding: 0 20px !important;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .block5a {
        width: 100%;
        padding: 125px 0;
    }

    .block5a .wervertrautIMAP {
        margin-bottom: 125px;
    }

    .block5a img {
    }

    .block5a h2 {
    }

    .block5b {
        position: relative;
        width: 100%;
    }

    .block5b h2 {
        margin-bottom: 100px;
        text-align: center;
    }

    .block5b .quote {
        position: absolute;
        width: 50%;
        left: 50%;
        top: 266px;
        transform: translateX(-50%);
        font-size: 20px;
        line-height: 26px;
    }

    .quote-author ~ div {
        text-align: center;
        padding-top: 10px;
    }

    .quote img {
        width: 120px;
    }

    .block5b > img {
        width: 135%;
        margin-left: -100px;
        margin-top: -160px;
    }

    .block5b .quote-author {
        text-align: right;
    }

    .block5b .show-imap-anfrage {
        position: absolute;
        top: 75px;
        right: 0;
        width: 125px;
        height: 125px;
    }

    .block5c {
        display: flex;
        flex-direction: column;
    }

    .block5c-text {
        order: 2;
    }

    .block5c-logo {
        order: 1;
    }

    .block5c .d-flex {
        flex-wrap: wrap;
    }

    .block5c img {
        width: 100%;
    }

    .block5c .show-imap-anfrage {
        margin: 25px 0 25px 0;
    }

    .block5c > div {
    }

    .block5d {
    }

    .block5e {
    }

    .block5f {
        padding: 75px 0;
    }

    .block5f img {
        width: 100%;
    }

    .block5f .content {
        position: relative;
    }

    .block5f .text {
        position: absolute;
        bottom: 75px;
        left: 75px;
    }

    .block5g {
        padding: 75px 0;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .block5g h2 {
        order:1;
    }

    .block5g .block5g-img {
        order:2;
    }

    .block5g-anfrage {
        position: absolute;
        width: 100%;
        height: 0;
        padding-bottom: 200%;
    }

    .block5g .show-imap-anfrage {
        position: absolute;
        top: 66%;
        right: 5%;
        width: 26%;
        height: 13%;
        font-size: 1.3rem;
    }

    .block6a {
        margin: 125px 0;
        padding: 50px;
        border-radius: 25px;
        box-shadow: 0 0 15px rgba(0, 0, 0, .16);
    }

    .block6b {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 33%;
        padding-top: 5.5em;
    }

    .block6b img {
        width: 100%;
    }
    .block6c {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 66%;
        padding-bottom: 133px;
        padding-left: 3em;
    }

    .block6c .row {
        justify-content: space-between;
    }

    .block6c .content {
        width: 48%;
    }
    .block6c .content:not(.imprint) {
        width: 100%;
    }
    .content.imprint {
        padding-top: 2em;
    }

    .block6c .content.imprint p {
        font-size: 14px;
        line-height: 20px;
    }

    .block6c h2.headline {
        width: 100%;
    }

    .powered {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .titleIMAP {
        color: white;
        font-family: DINNextLTPro-Light, sans-serif;
    }

    .subTitleIMAP {
        color: white;
        font-family: DINNextLTPro-Light, sans-serif;
        padding-right: 20%;
        padding-bottom: 90px;
    }

    .pfeil {
        position: relative;
        color: #fff;
        z-index: 9998;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        padding-bottom: 80px;
    }

    .pfeil:hover {
        color: #fff;
        text-decoration: none;
    }

    a.pfeil span {
        display: block;
        padding: 0 0 1rem 0;
    }


    /*BLOCK 2*/
    /*BLOCK 3*/
    /*BLOCK 4*/
    .swiper-container {
        position: relative;
        height: 100%;
    }
    .swiper-wrapper {
        position: absolute;
        left: 0;
        height: auto;
    }

    .swiper-slide {
        cursor: grab;
        width: auto;
    }

    .swiper-slide img {
        max-width: 100%;
    }


    .swiper-slide-description {
        display: block;
        position: absolute;
        bottom: -50px;
        left: 0;
    }

    .swiper-pagination-clickable .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: #fff;
        opacity: 1 !important;
    }
    .swiper-pagination-clickable .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #726F6D;
    }
    /*BLOCK 5*/
    /*BLOCK 6*/
    /*KONTAKT*/
    /*IMPRESSUM*/
    /* Sections */
    section {
        padding: 0 100px !important;
        position: relative;
    }

    #main section .row {
        z-index: 300;
        position: relative;
    }

    #section5 {
        color: #05182a;
        background-color: #fff;
    }

    section#was-kann-IMAP {
        color: #05182a;
        background-image: linear-gradient(0deg, #00000000 25%, #ffffff 0%);
    }


    #section8 .row {
        margin-left: -100px !important;
        margin-right: -100px !important;
    }

    #section12 {
        padding: 0 20px !important;
    }

    #section12 .h4 {
        font-size: 30px;
        line-height: 37px;
    }

    #section13 {
        color: #05182a;
        background-color: #fff;
    }

    #section14 {
        color: #05182a;
        background-color: #fff;
        padding: 0 20px !important;
    }

    body:before {
        transition: all ease 1s;
        content: "";
        position: fixed;
        width: 100%;
        height: 100%;
        /*left: -50%;*/
        z-index: 10;
        background: url("../items/partikel03.png") no-repeat center;
        background-size: cover;
        -webkit-transform: rotate(var(--rotate-bg));
        -moz-transform: rotate(var(--rotate-bg));
        -ms-transform: rotate(var(--rotate-bg));
        -o-transform: rotate(var(--rotate-bg));
        transform: rotate(var(--rotate-bg));
        opacity: var(--rotate-opacity);
    }

    #section1 {
        background: url("../items/HG-01.png") no-repeat center;
        background-size: cover;
        min-height: 100vh;
    }

    #kontakt {
        padding: 175px 100px 25px 100px !important;
        position: relative;
    }


    /* wer vertraut imap */


    .wer-vertraut-logos {
        position: relative;
        height: 600px;
    }

    .wer-vertraut-logos img {
        position: absolute;
    }

    .wer-vertraut-logos img:nth-child(1) {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40%;
    }

    .wer-vertraut-logos img:nth-child(2) {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
    }

    .wer-vertraut-logos img:nth-child(3) {
        top: 30%;
        right: 0;
        transform: translateY(-50%);
        width: 27%;
    }

    .wer-vertraut-logos img:nth-child(4) {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 25%;
    }

    .wer-vertraut-logos img:nth-child(5) {
        top: 67%;
        right: 0;
        transform: translateY(-50%);
        width: 30%;
    }

    .wer-vertraut-logos img:nth-child(6) {
        top: 85%;
        right: 11%;
        transform: translateY(-50%);
        width: 25%;
    }

    .wer-vertraut-logos img:nth-child(7) {
        bottom: 10%;
        left: 32%;
        transform: translateX(-50%);
        width: 50%;
    }

    .wer-vertraut-logos img:nth-child(8) {
        top: 66%;
        left: 0;
        transform: translateY(-50%);
        width: 35%;
    }

    .wer-vertraut-logos img:nth-child(9) {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 30%;
    }

    .wer-vertraut-logos img:nth-child(10) {
        top: 27%;
        left: 0;
        width: 30%;
    }

    /*BUTTONS*/
    .btn {
        border-radius: 5px;
        color: #fff;
        background-color: #ff6600;
        padding: 10px 25px;
        font-size: 1.5rem;
        line-height: 1.7rem;
    }

    .btn:hover {
        color: #fff;
    }

    .btn--secondary {
        background-color: #176fc0;
    }

    .btn--round {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        height: 150px;
        width: 150px;
        border-radius: 100%;
        z-index: 9999;
    }

    /* ELLIPSEN */
    .ellipse-1,
    .ellipse-2,
    .ellipse-3,
    .ellipse-4,
    .ellipse-5,
    .ellipse-6,
    .ellipse-7,
    .ellipse-8,
    .ellipse-9,
    .ellipse-10,
    .ellipse-11,
    .ellipse-12,
    .ellipse-13,
    .ellipse-14,
    .ellipse-15 {
        z-index: 7777;
        display: none;
    }

    .ellipse-1 {
        position: relative;
        top: -650px;
        left: -323px;
    }

    .ellipse-2 {
        position: relative;
        top: -250px;
        right: 0;
    }

    .ellipse-3 {
        position: relative;
        bottom: -250px;
        left: -240px;
    }

    .ellipse-4 {
        position: relative;
        top: 20px;
        right: -130px;
    }

    .ellipse-5 {
        position: relative;
        top: 0;
        right: 185px;
    }

    .ellipse-6 {
        position: relative;
        top: 100px;
        right: -140px;
    }

    .ellipse-7 {
        position: relative;
        top: -70px;
        left: -85px;
    }

    .ellipse-8 {
        position: relative;
        top: -321px;
        right: -235px;
    }

    .ellipse-9 {
        position: relative;
        top: -120px;
        right: 75px;
    }

}