.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);
    }
}

.eoic_size {
    height: calc(6vmax + 1vmin);
    width: calc(4vmax + 1vmin);
    background-repeat: no-repeat;
    background-size: calc(4vmax + 1vmin) calc(6vmax + 1vmin);
}

@media only screen and (max-width: 640px) {
    .eoic_size {
        height: calc(9vmax + 1vmin);
        width: calc(6vmax + 1vmin);
        background-repeat: no-repeat;
        background-size: calc(6vmax + 1vmin) calc(9vmax + 1vmin);
    }
}

.eoic_red {
    background-image: url(../hotspots/EOIC-red.png);
}

.eoic_aqua {
    background-image: url(../hotspots/EOIC_aqua.png);
}
.eoic_drkblue {
    background-image: url(../hotspots/EOIC_drkblue.png);
}
.eoic_hospital {
    background-image: url(../svg/EOIC-map-custompin-other_hospitals.svg);
}
.eoic_lightblue {
    background-image: url(../hotspots/EOIC_lightblue.png);
}
.eoic_lime {
    background-image: url(../hotspots/EOIC_lime.png);
}
.eoic_peri {
    background-image: url(../hotspots/EOIC_peri.png);
}
.eoic_purple {
    background-image: url(../hotspots/EOIC_purple.png);
}

.acc_futures {
    background-image: url(../hotspots/acc_futures.png);
}
.durham_college {
    background-image: url(../hotspots/durham_college.png);
}
.kingston_general {
    background-image: url(../hotspots/kingston_general.png);
}
.loyalist_college {
    background-image: url(../hotspots/loyalist_college.png);
}
.oafvc {
    background-image: url(../hotspots/oafvc_logo.png);
}
.ontario_tech {
    background-image: url(../hotspots/ontario_tech.png);
}
.paro {
    background-image: url(../hotspots/paro.png);
}
.queens_uni {
    background-image: url(../hotspots/queens_uni.png);
}
.river_institute {
    background-image: url(../hotspots/river-institute.png);
}
.spark_centre {
    background-image: url(../hotspots/spark_centre.png);
}
.cbcc {
    background-image: url(../hotspots/cbcc.png);
}
.synergy_lab {
    background-image: url(../hotspots/synergy_lab.png);
}
.st_laurence_college {
    background-image: url(../hotspots/st_laurence_college.png);
}
.venture_13 {
    background-image: url(../hotspots/venture_13.png);
}
.launch_lab {
    background-image: url(../hotspots/launch_lab_green.png);
}
.hospital {
    background-image: url(../hotspots/EOIC_hospital.png);
}

.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(-5vmax + -100% + 1vmin))
}

@media only screen and (max-width: 640px) {
    .icon_hotspot_tooltip {
        width: calc(12vmax + 1vmin);
        transform: translate(calc(-2vmax + 1vmin), calc(-5vmax + -100% + 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-viewer {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}
@media only screen and (max-width: 640px) {
    .modal-viewer {
        padding-top: 50%;
    }
}

.modal-viewer2 {
    display: flex;
    justify-content: center;
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,1); /* Black w/ opacity */
}

.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;
    width: 90%;
    position: relative;
    alignment: center;
    height: 90%;
    max-width: 1200px;
}
@media only screen and (max-width: 850px) {
    .img-content {
        max-height: 90%;
        width: auto;
    }
}
@media only screen and (max-width: 640px) {
    .img-content {
        max-width: 100%;
        height: auto;
    }
}


/* 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 {
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover, .fullscreen:hover, .fullscreen:focus
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.fullscreen {
    color: white;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.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 {

}

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;
}