@font-face {
    font-family: "Roboto";
    src: url(../fonts/roboto/Roboto-Regular.woff2);
}

@font-face {
    font-family: "Roboto bold";
    src: url(../fonts/roboto/Roboto-Bold.woff2);
}

@font-face {
    font-family: "Roboto-medium";
    src: url(../fonts/roboto/Roboto-Medium.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto";
}

html,
body {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    color: #000;
    background-color: #fff;
    font-family: sans-serif;
    line-height: 1.5;
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    width: 5px;
    /* ширина scrollbar */
}

*::-webkit-scrollbar-track {
    background: #000;
    /* цвет дорожки */
}

*::-webkit-scrollbar-thumb {
    background-color: #1C1F2B;
    /* цвет плашки */
    border: 3px solid #000;
    /* padding вокруг плашки */
}

* {
    scrollbar-width: thin;
    /* "auto" или "thin"  */
    scrollbar-color: #1C1F2B #000;
    /* плашка скролла и дорожка */
}

/* .active {
    position: relative;
} */

/* .active-evement {
    border: 1px dashed #fff;
    animation: blink 0.8s infinite;
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    pointer-events: none;
} */

@keyframes blink {
    from {
        opacity: 1;
        /* Непрозрачный текст */
    }

    to {
        opacity: 0.7;
        /* Прозрачный текст */
    }
}

.active_button {
    background-color: rgb(105, 105, 255);
}

.page-element:hover {
    /* background-color: rgba(35, 108, 177, 0.75); */
    background-color: rgb(28, 31, 43);
}

.delete-page-button:hover {
    background-color: rgb(255, 69, 69);
    color: #d7e2f2 !important;
}

input:not([type="checkbox"]):not([type="radio"]) {
    all: unset;
    box-sizing: border-box;
}



textarea {
    box-sizing: border-box;
}

button {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

input[type="color"] {
    padding: 0;
    border: none;
}

/* Для Chrome немного сложнее ;-) */
input[type="color" i]::-webkit-color-swatch-wrapper {
    padding: 0;
    border: none;
}

textarea {
    overflow: hidden;
    resize: none;
}

textarea:focus {
    outline: none;
}

@keyframes rot {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rot {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader {
    animation: 0.25s linear 0s normal none infinite running rot;
    -webkit-animation: 0.25s linear 0s normal none infinite running rot;
    width: 100px;
}

.active-element {
    -outline: 2px solid rgba(255,0,0,0.5);
    -box-shadow: 0 0 3rem rgba(255,255,255,0.2);

    animation-name: active-component-animation;
    animation-iteration-count: infinite;
    animation-duration: 0.35s;
    animation-direction: alternate;
    -animation-timing-function: steps(2);
}

.active-element {
    user-select: none !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@keyframes active-component-animation {
    0% {
        outline: 2px dashed rgba(255,255,255,1);
        opacity: 1;
    }
    100% {
        outline: 2px dashed rgba(255,255,255,0);
        opacity: 0.5;
    }
}

.filter-attribute-element:hover {
    /* background-color: ; */
}

#map {
    width: 100%;
    height: 400px;
}
.balloon-content {
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px; /* Закругление углов */
    white-space: nowrap; /* Запрет переноса строк */
    max-width: 300px; /* Максимальная ширина */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Тень для балуна */
}

.component-item:hover {
    background-color: rgba(0,0,0,0.5);
}

.attribute-title:hover,
.document-type-item-container:hover
{
    background-color: #272A38;
}

.invisible-element {
    display: none !important;
}