﻿.oc-map {
    position: absolute;
    width: calc(100% - 5px);
    height: 100vh;
    background-color: rgb(240, 240, 240);
    top: 80px;
}

.oc-map-popup .name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.oc-map-popup {
    min-width: 240px;
    padding: 10px;
    font-size: 12px;
}

.oc-sidebar .oc-sidebar-navs .oc-nav-item {
    background-color: inherit;
}

.azure-maps-drawtoolbar-button:hover {
    --tw-border-opacity: 1;
    border-color: rgb(0 113 246 / var(--tw-border-opacity));
    --tw-bg-opacity: 1;
    background-color: #F2F2F2;
}

.azure-maps-drawtoolbar-button {
    margin-bottom: 16px;
    display: flex;
    height: 50px;
    width: 50px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    /*--tw-bg-opacity: 1;
    background-color: rgb(207 217 230 / var(--tw-bg-opacity));*/
    transition: all .3s cubic-bezier(0.075, 0.82, 0.165, 1);
    border: 1px solid #CFD9E6;
}

.azure-maps-drawtoolbar {
    display: flex;
    align-items: center;
    flex-flow: column;
}

.popup-content-container {
    box-shadow: unset !important;
}

.stop-pin > div, .job-site-pin > div {
    color: #223868;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    text-align: center;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin-top: -10px;
}

.stop-pin > div {
    color: #ffffff;
}

.job-site-pin.selected > div {
    color: #ffffff;
}

.job-site-pin.selected {
    background-image: url('/_content/Overcast.AzureMaps/images/icons/pins/jobsite-pin-selected.png?v=1') !important;
}

.stop-pin.active > div, .job-site-pin.active > div {
    font-size: 16px;
}

.stop-pin.active, .job-site-pin.active {
    width: 34px;
    height: 46px;
}

.stop-pin, .job-site-pin {
    width: 26px;
    height: 36px;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    cursor: pointer;
}

.facility-pin {
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
}

/* override azure map styles for map popups */
.oc-pin-detail span {
    line-height: 16px !important;
}

.oc-pin-detail span.type {
    font-size: 16px !important;
}

.oc-pin-detail span.address {
    font-size: 14px !important;
}

.oc-pin-detail span.address-full {
    font-size: 12px !important;
}
