/*///////////////////////////////////////////////////////
// Google Maps InfoWindow Styles
//////////////////////////////////////////////////////*/
.gm-style .gm-style-iw-c {
    border-radius: 5px !important;
    box-shadow: none !important;
}

.gm-style-iw {
    max-width: 100% !important;
}

.gmapsInfoWindow {
    padding: 30px !important;
}

.gmapsHeader {
    display: flex;
    margin-bottom: 50px;
}

.gmapsHeader > .headerLeft {
    width: 66.66%;
    padding-right: 15px;
}

.gmapsHeader > .headerRight {
    width: 33.33%;
    text-align: right;
}

.gmapsLocation {
    margin-bottom: 5px;
}

.gmapsLocationText {
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: var(--color-elvigray1);
}

.gmapsHeader .headerLeft i {
    font-size: 14px;
    margin-right: 10px;
}

.gmapsHeader .headerLeft i.icon-marker {
    font-size: 12px;
}

.gmapsHeader .headerLeft i:before {
    color: var(--color-elvigray1);
}

.gmapsHeadline {
    font-size: 24px !important;
    margin: 0 0 20px 0 !important;
    line-height: 28px;
}

.gmapsContent {
    display: inline-block;
}

.gmapsLogo {
    max-width: 120px;
    height: auto;
}

.colorLayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 15%;
    height: 100%;
    background: var(--button-background);
}

.colorLayer[data-category="1"],
.colorLayer[data-category="9"] { background-color: #3fc572; }
.colorLayer[data-category="2"],
.colorLayer[data-category="8"] { background-color: var(--color-elviblue); }
.colorLayer[data-category="3"] { background-color: var(--color-elvipurple); }
.colorLayer[data-category="4"],
.colorLayer[data-category="10"] { background-color: #27babc; }
.colorLayer[data-category="5"] { background-color: #FF2779; }
.colorLayer[data-category="6"],
.colorLayer[data-category="11"] { background-color: var(--color-elvigray2); }
.colorLayer[data-category="7"] { background-color: #F8D32F; }

.jobMapInfo {
    position: relative;
    left: 15%;
    width: 85%;
    padding: 40px;
}

/*///////////////////////////////////////////////////////
// Google Maps Layout & Controls
//////////////////////////////////////////////////////*/
.gmapsWrap,
.jobMapWrap,
.companyMapWrap {
    position: sticky;
    top: 64px;
    overflow: hidden;
    width: 40%;
    height: 100%;
    min-height: 90vh;
    border-radius: 15px;
    background: url('../Images/gmaps.jpg') no-repeat center center / cover;
}

.gmapsCanvas,
#jobMap,
#companyMap {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.gmapsCanvas .gm-ui-hover-effect,
#jobMap .gm-ui-hover-effect,
#companyMap .gm-ui-hover-effect {
    width: 45px !important;
    height: 50px !important;
}

.gmapsCanvas .gm-ui-hover-effect span,
#jobMap .gm-ui-hover-effect span,
#companyMap .gm-ui-hover-effect span {
    width: 24px !important;
    height: 24px !important;
}

#overlay .markerHeadline * {
    font-size: 2.625rem;
    line-height: 1em;
    color: var(--color-elvigray1);
    margin: 0 0 15px 0;
}

.gmapsClose,
.jobMapClose,
.companyMapClose {
    display: none;
    position: absolute;
    z-index: 30;
    right: 30px;
    top: 30px;
    width: 40px;
    height: 40px;
    background: var(--color-light);
    border: 1px solid var(--color-elvigray2);
    border-radius: 50%;
}

.gmapsClose span,
.jobMapClose span,
.companyMapClose span {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gmapsClose span:before,
.gmapsClose span:after,
.jobMapClose span:before,
.jobMapClose span:after,
.companyMapClose span:before,
.companyMapClose span:after {
    content: "";
    position: absolute;
    background: #000;
    transform: rotate(45deg);
}

.gmapsClose span:before,
.jobMapClose span:before,
.companyMapClose span:before {
    width: 50%;
    height: 2px;
}

.gmapsClose span:after,
.jobMapClose span:after,
.companyMapClose span:after {
    width: 2px;
    height: 50%;
}

.gmapsConsentOverlay {
    position: absolute;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gmapsConsent {
    max-width: 200px;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
}

.gmapsPreview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.gmapsMap,
.gmapsInfo {
    position: absolute;
}

.gmapsMap {
    object-fit: cover;
    object-position: center;
    filter: blur(4px);
}

.gmapsInfo {
    width: 75%;
    height: auto;
    cursor: pointer;
}

.gmapsPreviewTrigger,
.mapPreview {
    display: none;
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    cursor: pointer;
}

.gmapsPreviewTrigger img,
.mapPreview img {
    width: 100%;
    height: auto;
}

.gmapsExpand,
.jobMapExpand,
.companyMapExpand {
    display: none;
}

body.mapActive {
    padding-bottom: 55px;
}

body.mapActive .gmapsClose,
body.mapActive .jobMapClose,
body.mapActive .companyMapClose {
    display: block;
}

body.mapActive .jobMapExpand,
body.mapActive .companyMapExpand,
body.mapActive #header,
body.mapActive #footer,
body.mapActive .jobHeader,
body.mapActive .companyHeader,
body.mapActive .jobList,
body.mapActive .companyList {
    display: none;
}

body.mapActive .gmapsWrap,
body.mapActive .jobMapWrap,
body.mapActive .companyMapWrap {
    margin: 0;
}

@media (max-width: 1280px) {
    .gmapsWrap,
    .jobMapWrap,
    .companyMapWrap {
        position: relative;
        top: auto;
        width: calc(100% - 50px);
        left: auto;
        margin-left: 25px;
        min-height: 0;
        overflow: auto;
        height: 350px;
    }

    .gmapsWrap .gmapsCanvas,
    .jobMapWrap #jobMap,
    .companyMapWrap #companyMap {
        filter: blur(2px);
    }

    body.mapActive .gmapsWrap,
    body.mapActive .jobMapWrap,
    body.mapActive .companyMapWrap {
        display: block;
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }

    body.mapActive .gmapsWrap .gmapsCanvas,
    body.mapActive .jobMapWrap #jobMap,
    body.mapActive .companyMapWrap #companyMap {
        filter: none;
    }

    .gmapsExpand,
    .jobMapExpand,
    .companyMapExpand {
        display: block;
        position: absolute;
        z-index: 100;
        background: #fff;
        border-radius: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 9px 49px;
        white-space: nowrap;
    }

    .gmapsExpand span,
    .jobMapExpand span,
    .companyMapExpand span {
        padding-left: 22px;
        position: relative;
        top: 3px;
    }

    .uc-embedding-container + .jobMapExpand,
    .uc-embedding-container + .companyMapExpand {
        display: none;
    }

    #overlay .markerHeadline * {
        font-size: 2rem;
    }

    .colorLayer {
        width: 10%;
    }

    .jobMapInfo {
        left: 10%;
        width: 90%;
        padding: 20px;
    }
}

@media (max-width: 860px) {
    .gmapsWrap,
    .jobMapWrap,
    .companyMapWrap {
        position: relative;
        top: auto;
        width: 100%;
        left: auto;
        margin: 0 0 25px 0;
        min-height: 0;
        height: 350px;
    }

    .gmapsWrap .gmapsCanvas,
    .jobMapWrap #jobMap,
    .companyMapWrap #companyMap {
        filter: blur(2px);
        transition: all 1000ms ease-in-out;
    }

    .gmapsWrap:after,
    .jobMapWrap:after,
    .companyMapWrap:after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-color: rgba(0,0,0,0.3);
    }

    .mapActive .gmapsWrap:after,
    .mapActive .jobMapWrap:after,
    .mapActive .companyMapWrap:after {
        display: none;
    }

    body.mapActive .gmapsWrap,
    body.mapActive .jobMapWrap,
    body.mapActive .companyMapWrap {
        display: block;
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
    }

    body.mapActive .gmapsWrap .gmapsCanvas,
    body.mapActive .jobMapWrap #jobMap,
    body.mapActive .companyMapWrap #companyMap {
        filter: none;
    }

    .gmapsExpand,
    .jobMapExpand,
    .companyMapExpand {
        position: absolute;
        z-index: 100;
        background: #fff;
        border-radius: 20px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 4px 5px 6px 20px;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    #overlay .markerHeadline * {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .colorLayer {
        width: 5%;
    }

    .jobMapInfo {
        left: 5%;
        width: 95%;
        padding: 15px;
    }

    #overlay .markerHeadline * {
        font-size: 1.5rem;
    }
}
