:root {

    font-size: 12px;

    --offColor: #c9c9c9;
    --softSilver: #f0f0f0;
    --mediumSilver: #c0c0c0;
    --darkSilver: #75777b;


    --mainColor: hsl(0, 100%, 50%);
    --mainColor_darker: hsl(0, 100%, 30%);
    --mainColor_clearer: hsl(0, 100%, 80%);
    --mainColor_heavyDarker: hsl(0, 100%, 20%);
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    height: 100svh;
    font-family: montserrat, sans-serif;
    overflow: hidden
}

select {
    cursor: pointer;
    padding: 0.3rem;
    margin: 0.2rem 0;
    font-size: 1rem;
    font-family: var(--mainFontFamily);
}

fieldset {
    border-radius: 0.5rem;
    padding: 0.5rem;
}

legend {
    font-size: 1rem;
}

section {
    margin: 1rem 0;
}

input[type="text"] {
    cursor: pointer;
    padding: 0.3rem;
    margin: 0.2rem 0;
    font-size: 1rem;
    font-family: var(--mainFontFamily);
}

/* #header {
    display:flex;
    align-items:center;
    gap: 1rem;
    padding: 1rem;
    width:100%;
    height:7.5%;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
    z-index: 10;
    background-color: var(--softSilver);
} */

#body {
    display: flex;
    width: 100%;
    height: 97.5%;
    background-color: #fff;

    position: relative;
    overflow: hidden;
}

#footer {
    display: flex;
    width: 100%;
    height: 2.5%;
    background-color: var(--mainColor);
}

#map {
    width: 100%;
    height: 100%
}

.maplibregl-popup {
    max-width: 400px;
    font-family: montserrat, sans-serif !important;
    line-height: 1.6;
    z-index: 10;
}

.maplibregl-popup-content {
    padding: 0;

}

.turnOff {
    display: none !important;
}

.mapPopup {}

.bt1 {
    all: unset;
    background-color: var(--mainColor);
    color: #fff;
    cursor: pointer;
    border-radius: 0.3rem;
    padding: 0.5rem;
    border: none;
    height: fit-content
}

.bt1:hover {
    background-color: var(--mainColor_darker);
}

.bt2 {
    all: unset;
    background-color: #fff;
    color: var(--mainColor);
    cursor: pointer;
    border-radius: 0.3rem;
    padding: 0.5rem;
    border: none;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
}

.bt2:hover {
    background-color: var(--mainColor);
    color: #fff
}

.bt2.active {
    background-color: var(--mainColor);
    color: #fff
}

.btClose {
    all: unset;
    cursor: pointer;
    text-align: center;
    font-size: 1.5rem;
    color: var(--darkSilver);
    position: absolute;
    top: -0;
    right: 0;
    translate: 50% -50%;
    transition: 500ms ease-in-out;
    font-size: 1.5rem;
    transform-origin: center;
}

.btClose:hover {
    color: var(--mainColor);
    transform: rotate(90deg);
}

.btIcon {
    all: unset;
    cursor: pointer;
    text-align: center;
    font-size: 1.5rem;
    color: var(--darkSilver);
    max-width: 100%;
    max-height: 100%;
}

.btIcon:hover {
    color: var(--mainColor);
}



.shortCuts {
    display: flex;
    gap: 0.5rem;
    /* position: absolute; */
    /* z-index: 2; */
    /* top: 10%; */
    padding-left: 1rem;
    padding-right: 3rem;
    cursor: pointer;
    max-width: 100%;
    width: fit-content;
    /* overflow: hidden; */

    /* Hide scrollbar for IE, Edge and Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.shortCuts::-webkit-scrollbar {
    display: none;
}

.shortCuts .button {
    display: flex;
    gap: 0.2rem;
    background-color: var(--mainColor);
    border-radius: 0.8rem;
    box-shadow: 0 0 0.1rem var(--mainColor);
    color: #fff;
    padding: 0.5rem;
    text-wrap: nowrap;
}

.shortCuts .button .icon {
    font-size: 1.2rem;
}

.shortCuts .button .text {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}


.sideBox {
    display: flex;
    flex-direction: column;
    height: 60%;
    top: 20%;
    position: fixed;
    border: 1px solid #f4f5f6;
    border-radius: 10px;
    box-shadow: 0 2px 6px #bbb;
    z-index: 10;
    background-color: white;
    width: 30rem;
    /* max-width: 80%; */
    padding: 10px;
    transition: 500ms ease-in-out;
    left: 0;
    translate: -150% 0
}

.sideBox_title {
    display: flex;
    justify-content: center;
    border-bottom: solid 1px var(--mediumSilver);
    padding-bottom: 0.8rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.sideBox_body {
    overflow-y: auto;
}

.sideBox.active {
    translate: 0 0
}

.sideBox_expand {
    display: none
}

.sideBox .btHide {
    font-size: 1.5rem;
    position: absolute;
    right: 0;
    top: 1rem;
    translate: 100% 0;
    background-color: #fff;
    /* display: none */
}

.sideBox .btHide .close {
    display: none;
}
.sideBox .btHide .angles {
    display: block;
}

/* .sideBox.active .btHide {
    display: block
} */




.popup {
    display: flex;
    flex-direction: column;
    left: 50%;
    top: 50%;
    position: fixed;
    transform: translate(-50%, -50%) scale(0);
    transition: 500ms ease-in-out;
    border: 1px solid #f4f5f6;
    border-radius: 10px;
    box-shadow: 0 2px 6px #bbb;
    z-index: 9;
    background-color: white;
    width: 500px;
    max-width: 80%;
    padding: 10px;
    margin: 5px;
    max-height: 90%;

}

.popup .btClose {
    all: unset;
    cursor: pointer;
    text-align: center;
    font-size: 1.5rem;
    color: var(--darkSilver);
    position: absolute;
    top: -0;
    right: 0;
    translate: 50% -50%
}

.popup .btClose:hover {
    color: var(--mainColor);
}

.popup .popup_header {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: solid 1px var(--mediumSilver);
    padding: 1rem;
    margin-bottom: 1rem;
}

.popup .popup_body {
    overflow-y: auto;
}

.popup .popup_footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: solid 1px var(--mediumSilver);
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
}

.popup .popup_outside {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 8;
}








.clickableDiv {
    background-color: var(--softSilver);
    width: auto;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0.5rem;
    margin: 0.2rem;
    cursor: pointer;
}

.clickableDiv:hover {
    background-color: #fff;
}

.clickableDiv.clicked {
    /* background-color: var(--mediumSilver); */
    box-shadow: 0 0 1rem var(--mainColor);
}

.filterButton {
    background: var(--mediumSilver);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.2rem;
    border-radius: 0.2rem;
    cursor: pointer;
}

.filterButton:hover {
    background: var(--mainColor);
}

.filterButton.active {
    background: var(--mainColor);
}

.owl-carousel .item {
    display: flex;
    height: 6rem;
}

.owl-carousel .link {
    display: flex;
    justify-content: center;
    align-items: center;
}


.favHeart {
    font-size: 1.2rem;
    color: var(--mediumSilver)
}

.favHeart.set {
    color: var(--mainColor)
}


.tab {
    display: flex;
    justify-content: center;
    border-bottom: solid 2px var(--mainColor);
}

.tab div {
    padding: 0.5rem;
    background-color: #fff;
    color: var(--mainColor);
    cursor: pointer;
}

.tab div.active {
    background-color: var(--mainColor);
    color: #fff
}


#msg {
    position: absolute;
    top: 20%;
    right: 0;
    transition: 500ms ease-in-out;
    color: #333333;
    background-color: #ffffff;
    z-index: 10;
    padding: 1rem;
    border-radius: 0.8rem;
    box-shadow: 0px 0px 6px #333333;
    font-size:1rem;
    translate: 150% 0;
}

#msg.error {
    translate: 0 0;
    border-left: 10px solid #ff0000;
}

#msg.success {
    translate: 0 0;
    border-left: 10px solid #00ff00;
}

#msg.wait {
    translate: 0 0;
    border-left: 10px solid #ffff00;
}


@media (max-width: 500px) {
    .sideBox {
        height: -webkit-fill-available;
        top: 150%;
        width: 100%;
        translate: 0 0;

    }

    .sideBox.active {
        top: 50%
    }

    .sideBox .btHide {
        right: 0.5rem;
        top: 0.5rem;
        translate: 0 0;
        /* rotate: -90deg; */
        border-radius: 100vw;
        z-index: 1;
    }

    .sideBox .btHide .angles {
        display: none;
    }
    .sideBox .btHide .close {
        display: block;
    }

    .sideBox_expand {
        background: #fff;
        display: flex;
        gap: 1rem;
        font-size: 2rem;
        position: absolute;
        bottom: 100%;
        left: 50%;
        translate: -50% 0;
    }
}