@media all {

    .map-container {
        position: relative;
    }

    .map-container .ce-media-overlay.ce-media-overlay-click-for-map {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: rgb(215, 231, 228);
        text-align: center;
    }

    .map-container .ce-media-overlay.ce-media-overlay-click-for-map p {
        max-width: 32em;
        margin: 0 auto 1em;
    }


    /* fix position: of infowindow */
    .map-container .gm-style-iw-t {
        bottom: 60px !important;
    }
    .map-container .gm-style-iw-tc {
        border: none !important;
        top: 15px !important;
    }

    #map{
        width:100%;
        height:800px;
        max-height: 75vh;
    }
    .gm-style-iw {
        font-family: Calibri, Candara, Segoe, "Segoe UI", Optima, -apple-system,BlinkMacSystemFont,Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
        width: 450px !important;
        top: 15px !important;
        left: 0px !important;
        background-color: #fff;
        box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
        border: 1px solid rgba(175,208,202, 0.6);
        border-radius: 2px 2px 10px 10px;
    }
    #iw-container {
        margin-bottom: 10px;
    }
    #iw-container .iw-title {
        font-size: 22px;
        font-weight: 400;
        padding: 10px;
        background-color: rgb(175,208,202);
        color: white;
        margin: 0;
        border-radius: 2px 2px 0 0;
    }
    #iw-container .iw-content {
        font-size: 16px;
        line-height: 18px;
        font-weight: 400;
        margin-right: 1px;
        padding: 15px 5px 20px 15px;
        max-height: 300px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .iw-content img {
        float: right;
        margin: 0 5px 5px 10px;
    }
    .iw-subTitle {
        font-size: 16px;
        font-weight: 700;
        padding: 5px 0;
    }
    .iw-bottom-gradient {
        position: absolute;
        width: 326px;
        height: 25px;
        bottom: 10px;
        right: 18px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    }
    .infoBox{
        background:rgb(255,255,255);
    }
    .infoBox-inner{
        padding:1em;
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        font-size:16px;
        position:relative;
    }
    .infoBox-inner::before{
        position:absolute;
        content:'';
        width: 22px;
        height: 22px;
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        left:4px;
        bottom:-11px;
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.5);
        background:rgb(255,255,255);
    }
    #content .ce-element img.map-icons{
        border-width:0;
        box-shadow: none;
        width:1.5em;
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
    }
    .ibHead{
        padding-bottom:0.75em;
    }
    .ibLeft,
    .ibRight{
        float:left;
        width:50%;
        padding-right:0.5em;
        font-size:14px;
    }
    .ibRight{
        padding-right:0;
        padding-left:0.5em;
    }
    .mapMenu {
        position: relative;
        right: 0px;
        top: 0px;
        background: url('/typo3conf/ext/ti_angebotsdatenbank/Resources/Public/Icons/trenner_karte.jpg') left bottom repeat-x #eeeeee;
    }

    .mapItem {
        background-position: center top;
        cursor:pointer;
    }
    .mapItem.active, .mapItem.active span {
        background-repeat: no-repeat;
    }
    .mapItem:hover div, .mapItem.active div{
        background-repeat: no-repeat;
        background-position: center top;
        border-bottom: 10px solid rgb(66,79,80);
    }

    .mapMenuItems-2 .mapItem {
        width: calc(100% / 2);
    }

    .mapMenuItems-3 .mapItem {
        width: calc(100% / 3);
    }

    .mapMenuItems-4 .mapItem {
        width: calc(100% / 4);
    }

    .mapMenuItems-5 .mapItem {
        width: calc(100% / 5);
    }

    .mapItem {
        /*width: 25%;*/
        float: left;
    }

    .mapItemInner {
        font-size: 20px;
        text-align: center;
        min-height: 90px;
        line-height: 1.2;
        padding: 30px 4px 4px;
        background-color: #eeeeee;
        border-bottom: 10px solid #eeeeee;
        margin-left:1px;
    }
    #mIAll .mapItemInner{
        padding-top:40px;
    }

    .consulting-project-link::before {
        display: none !important;
    }
}
