@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
.ggskin {
    font-family: "Roboto", Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
}

* {
    --colorSale: #c70e00;
    --colorAvailable: #009c00;
    --colorReserved: #ffeb3b;
    --colorActive: #4485e7;
    --colorInactive: #7d8998;
    --fontRegular: "Roboto", sans-serif;
}
.hidden {
    display: none !important;
}
.legendContaner {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%);
}
.legend {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1rem;
    pointer-events: none !important;
    height: 100% !important;
    justify-content: center;
    overflow: visible !important;
}
.legendContainerMobile {
    background: none;
}
.legendContainerMobile .legend {
    /* bottom:10px; */
    /* justify-content: flex-end !important; */
}
.legendContainerMobile .ios-toggle-container {
    padding-top: 5px !important;
}

.legend h2 {
    text-transform: uppercase;
    font-weight: 600;
}
.available div:first-child {
    background-color: var(--colorAvailable);
}
.sale div:first-child {
    background-color: var(--colorSale);
}
.reserved div:first-child {
    background-color: var(--colorReserved);
}
.legend * {
    position: relative;
    pointer-events: none;
    color: #fff !important;
    font-size: 1rem !important;
}
.legendItem {
    display: flex;
    height: 2rem;
    align-items: center;
}
.legendItem div:first-child {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 1rem;
    border-radius: 4px;
    box-shadow: 0 0 0 3px #ffffff40;
}

.polyCenterHotspotText {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none !important;
    transform: translate(-50%, -50%);
    position: absolute;
    font-weight: 500;
    text-shadow:
        0 0 1px #000,
        0 0 2px #000,
        0 0 2px #000,
        0 0 10px #000;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.polyCenterHotspotText > div {
    display: flex;
    align-items: center;
}
.polyCenterHotspotText h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}
.polyCenterHotspotText i {
    display: block;
    width: 1rem;
    height: 1rem;
    box-shadow: 0 0 0 2px #ffffff80;
    margin: 0 0.5rem;
    border-radius: 50%;
}
.poiHotspot {
    transition: opacity 0.3s !important;
}
.opacity0 {
    opacity: 0;
}
.clonerText.actve {
    box-shadow: 0 0 0 1px #ffffffbb;
    background-color: var(--colorActive) !important;
}

/* Hotspot */
.tippy-content {
    font-family: var(--fontRegular);
    font-weight: 300 !important;
    padding: 0.8em 1em !important;
    text-align: center;
}

.htCircle {
    transition: box-shadow 0.3s;
}
body.hasHover .htCircle:hover {
    box-shadow: 0 0 0 3px #ffffff80;
}

/* Hotspot */

/* Переключатель */
.ios-toggle-container,
.ios-toggle-container * {
    pointer-events: all !important;
}
.ios-toggle-container {
    display: flex;
    align-items: center;
    padding-top: 10px;
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--colorInactive);
    transition: 0.4s;
    border-radius: 24px;
}
body.hasHover .ios-toggle-container:hover .slider {
    box-shadow: 0 0 0 3px #ffffff40;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--colorActive);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Переключатель */

/* Cloner */
.ggskin_cloner {
    left: 0px !important;
    transform: none !important;
    width: 100% !important;
    display: flex;
    justify-content: center;
}
.ggskin_cloner > div {
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}
/* Cloner */

body.mobile .legendItem.pipeline {
    display: none;
}

.legendItem.pipeline {
    text-align: left;
    margin-top: 1rem;
    height: auto;
}
.legendItem.pipeline > svg {
    margin-right: 0.5rem;
}
