.hotspot_size {
    height: calc(12vmax + 1vmin);
    width: calc(8vmax + 1vmin);
    background-repeat: no-repeat;
    background-size: calc(8vmax + 1vmin) calc(12vmax + 1vmin);
}
@media only screen and (max-width: 640px) {
    .hotspot_size {
        height: calc(18vmax + 1vmin);
        width: calc(12vmax + 1vmin);
        background-repeat: no-repeat;
        background-size: calc(12vmax + 1vmin) calc(18vmax + 1vmin);
    }
}

.walking_person {
    height: 30px;
    width: 30px;
    background-image: url(../img/walking.png);
    color: #fff;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    z-index: 1;
}

.info_size {
    height: calc(4vmax + 1vmin);
    width: calc(20vmax + 1vmin);
    background-repeat: no-repeat;
    background-size: calc(20vmax + 1vmin) calc(4vmax + 1vmin);
    opacity: 0.8;
}
@media only screen and (max-width: 640px) {
    .info_size {
        height: calc(12vmax + 1vmin);
        width: calc(20vmax + 1vmin);
        background-repeat: no-repeat;
        background-size: calc(20vmax + 1vmin) calc(5vmax + 1vmin);
        opacity: 0.8;
    }
}
.click_drag {
    background-image: url(../hotspots/click_drag.png);
    background-position: bottom;
}


.icon_hotspot_tooltip {
    width: calc(8vmax + 1vmin);
    transform: translate(calc(-1vmax + 1vmin), calc(-7vmax + 1vmin));
}
@media only screen and (max-width: 640px) {
    .icon_hotspot_tooltip {
        width: calc(12vmax + 1vmin);
        transform: translate(calc(-2vmax + 1vmin), calc(-10vmax + 1vmin));
    }
}
.icon_top_left {
    transform: translate(calc(-2vmax + 1vmin), calc(-4vmax + 1vmin));
}
.icon_top_right {
    transform: translate(calc(6vmax + 1vmin), calc(-4vmax + 1vmin));
}
.icon_left {
    transform: translate(calc(-5vmax + 1vmin), calc(3vmax + 1vmin));
}
.icon_right {
    transform: translate(calc(8.5vmax + 1vmin), calc(3vmax + 1vmin));
}
.icon_top_left i,
.icon_top_right i,
.icon_left i,
.icon_right i{
    font-size: 4vmax;
    color: #ea1d2e;
    cursor: pointer;
}
@media only screen and (max-width: 640px) {
    .icon_top_left {
        transform: translate(calc(-2vmax + 1vmin), calc(-6vmax + 1vmin));
    }
    .icon_top_right {
        transform: translate(calc(8vmax + 1vmin), calc(-6vmax + 1vmin));
    }
    .icon_left {
        transform: translate(calc(-7vmax + 1vmin), calc(4vmax + 1vmin));
    }
    .icon_right {
        transform: translate(calc(12.5vmax + 1vmin), calc(4vmax + 1vmin));
    }
    .icon_top_left i,
    .icon_top_right i,
    .icon_left i,
    .icon_right i{
        font-size: 6vmax;
    }
}

.hoverEffect {
    z-index: 2;
    filter: brightness(120%);
}
.hoverReduceBrightness {
    filter: brightness(60%);
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 20vh; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
@media only screen and (max-width: 640px) {
    .modal {
        padding-top: 50%;
    }
}

.modal_info_div {
    position: relative;
    alignment: center;
    display: flex;
    width:fit-content;
    max-width: 60%;
    padding: 30px;
    height:fit-content;
    margin:auto;
    color: rgb(26,24,24);
    background-color: #ffffff
}
.modal_info_span {
    font-family: Arimo;
    font-size: 16px;
    text-align: justify;
    line-height: 25px;
}
@media only screen and (max-width: 640px) {
    .modal_info_div {
        max-width: 90%;
    }
    .modal_info_span {
        font-size: 14px;
        line-height: 10px;
    }
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    height: 90%;
    width: 80%;
    border: none;
}

.img-content {
    margin: auto;
    display: block;
    border: none;
    position: relative;
    alignment: center;
    height: auto;
    width: auto;
    max-width: 90%;
    max-height: 90%;
}
@media only screen and (max-width: 850px) {
    .img-content {
        max-height: fit-content;
        /* width: 10-0; */
    }
    .modal {
        overflow: scroll;
    }
}
@media only screen and (max-width: 640px) {
    .img-content {
        /* max-width: 100%; */
        /* height: auto; */
        /* padding-top: 10vh; */
        /* margin-top: 10vh; */
    }
    .modal {
        /* padding-top: 100vh !important; */
        overflow: scroll;
    }
}


/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 0;
    height: 150px;
}

/* The Close Button */
.close {
    position: absolute;
    top: 10%;
    right: 20px;
    color: white;
    font-size: 8vh;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.custom-hotspot-circle {
    height: calc(1.2vmax + 1vmin);
    width: calc(1.2vmax + 1vmin);
    background-color: #ea1d2e;
    border-radius: 50%;
}
@media only screen and (max-width: 640px) {
    .custom-hotspot-circle {
        height: calc(2vmax + 1vmin);
        width: calc(2vmax + 1vmin);
    }
}
.custom-hotspot-line {

}

.custom-hotspot2 {

    background: rgba(255, 0, 0, 0.1);
}

.floor {
    height: 350px;
    width: 800px;

}

.floor2 {
    height: 200px;
    width: 200px;

}

div.custom-hotspot2 div {
    position: absolute;
    cursor: default;
}
div.custom-hotspot2:hover div{
    visibility: visible;
    z-index: 3;
}
div.custom-hotspot2:hover div:after {
    /*visibility: hidden;*/
}


div.tooltipName span {
    visibility: hidden;
    position: absolute;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    text-align: center;
    max-width: 200px;
    padding: 5px 10px;
    cursor: default;
}
div.tooltipName:hover span{
    visibility: visible;
}
div.tooltipName:hover span:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    bottom: -20px;
    left: -10px;
    margin: 0 50%;
}

/* The Close Button */
.close-info {
    color: black;
    position: absolute;
    top: 2%;
    right: 2%;
    font-size: 35px;
    font-weight: bold;
}

.close-info:hover,
.close-info:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.visible {
    visibility: visible;
}
.hidden {
    visibility: hidden;
}

.cart {
    background-color: #DB6C4A;
    color: #000;
    cursor: pointer;
    font-size: 20px !important;
    line-height: 28px !important;
}