/*
    -- custom-hotspots-container
    ---- hotspots-image-wrapper
    ------ hotspots-reference-image
    ------ hotspots-points-container
    -------- hotspot-item type(icon) action(popup)
    ---------- hotspot-point
    ------------ hotspot-icon
    ------------ hotspot-text
    ------------ hotspot-area
    ---------- hotspot-info
    ------------ hotspot-action
    -------------- hotspot-content (text popup)
    -------------- hotspot-content dynamic (page)
*/
.section--que-fem .hotspot-action p, .section--que-fem .hotspot-action ul {
    margin-bottom: unset;
}
.custom-hotspots-container {
    position: relative;
    /* max-width: 100%; */
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
}
.custom-hotspots-container:fullscreen {
    display: flex;
    align-items: center;
}
.custom-hotspots-container .hotspots-image-wrapper {
    position: relative;
    display: inline-block;
}
.custom-hotspots-container:fullscreen .hotspots-image-wrapper {
    margin: auto;
}
.custom-hotspots-container .hotspots-image-wrapper .hotspots-reference-image {
    max-width: 100%;
    height: auto;
    display: block;
}
.custom-hotspots-container:fullscreen .hotspots-image-wrapper .hotspots-reference-image{
    max-width: 100vw;
    max-height: 100vh;
}
/* Icons*/
.hotspot-item.icon.full .hotspot-point {
    z-index: 100;
}
.hotspot-item .hotspot-point {
    position: absolute;
    /*width: 40px;
    height: 40px;*/
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.hotspot-item:not(.area) .hotspot-point {
    width: 40px;
    height: 40px;
}
.hotspot-item:not(.area) .hotspot-point:hover {
    transform: translate(-50%, -50%) scale(1.1);
}
.hotspot-item .hotspot-point .hotspot-icon {
    font-size: 24px;
    color: #0073aa;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.hotspot-item .hotspot-point .hotspot-icon img[src$=".svg"] {
    min-width: 36px;
}
.hotspot-item .hotspot-point .hotspot-text {
    background: #111;
    color: white;
    padding: .25em 1em;
    border-radius: 2em;
    font-size: .65em;
    white-space: nowrap;
    display: inline-block;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
}
@media (max-width: 768px){
    .hotspot-item .hotspot-point .hotspot-text { font-size: 1.2vh; }
}
.hotspot-item .hotspot-point .hotspot-area img{
    width: 100%;
    display: block; 
}
/* Default */
.hotspot-item .hotspot-info {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    min-width: 200px;
    max-width: 300px;
    display: none;
}
.hotspot-item .hotspot-info.active {
    display: block;
}
.hotspot-item .hotspot-info .hotspot-content {
    font-size: 14px;
    line-height: 1.4;
}
.custom-hotspots-container:fullscreen .hotspot-item .hotspot-info .hotspot-content > *{
    font-size: 2.2vh;
    line-height: 2.2vh;
}
.custom-hotspots-container:fullscreen .hotspot-item .hotspot-info .hotspot-content > p{
    font-size: 1.8vh;
    line-height: 1.8vh;
}
.hotspot-item .hotspot-info .hotspot-content img {
    max-width: 100%;
    height: auto;
}
/* Help */
.hotspot-item.help .hotspot-point > ::before {
    content: '';
    width: 50px;
    height: 50px;
    background-color: #fff;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-image: url('data:image/svg+xml,<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns%23" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns%23" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" fill="currentColor" preserveAspectRatio="xMidYMid meet" height="1em" width="1em" viewBox="0 0 16 16" aria-hidden="true" style="vertical-align: middle;" version="1.1" id="svg6"><metadata id="metadata12"></metadata><defs id="defs10"></defs><g id="g4"><path d="M13.28,8.75a2,2,0,0,1,1.72,2V14a2,2,0,0,1-2,2H7.24a3,3,0,0,1-2.12-.88l-2.4-2.4a1.4,1.4,0,0,1,1.44-2.33L6,11V6A1,1,0,0,1,8,6V8ZM3,7A1,1,0,0,1,1,7V6.25A6.17,6.17,0,0,1,6.82,0a6,6,0,0,1,6.07,4.84,1,1,0,0,1-2,.35A4,4,0,0,0,6.61,2,4.12,4.12,0,0,0,3,6.17Z" id="path2"></path></g></svg>');
    background-repeat: no-repeat;
    background-size: 50%;
    border-radius: 10em;
    background-position: center;
    filter: invert(1);
}
.hotspot-item.help .hotspot-point > ::after {
    content: '';
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10em;
    border: 2px solid #7c007c;
    animation: pulse-wave 1.5s ease-out infinite;
    transform-origin: center;
}
@keyframes pulse-wave {
  0% {
    transform: scale(1) translate(-50%, -50%);
    opacity: 1;
  }
  100% {
    transform: scale(1.5) translate(-33.33%, -33.33%);
    opacity: 0;
  }
}
/* Alt */
.hotspot-item.alt .hotspot-info {
    display: flex !important;
    transform: translateY(-70px) translateX(-8%) scale(0);
    transform-origin: left bottom;
    transition: transform .3s;
    color: #fff;
    background: #111;
    border: 1px solid #111;
    padding: 5px;
    min-width: unset;
    max-width: unset;
}
.hotspot-item.alt .hotspot-info p{
    color: #fff;
}
.hotspot-item.alt .hotspot-info.active {
    transform: translateY(-70px) translateX(-8%) scale(1);
}
.hotspot-item.alt .hotspot-info.right {
    transform: translateY(-70px) translateX(8%) scale(0);
    transform-origin: right bottom;
}
.hotspot-item.alt .hotspot-info.right.active {
    transform: translateY(-70px) translateX(8%) scale(1);
}
.hotspot-item.alt .hotspot-info:before {
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: #111 transparent transparent transparent;
    transform: rotate(0deg);
    position: absolute;
    bottom: -10px;
    left: 20px;
}
.hotspot-item.alt .hotspot-info.right::before {
    left: unset;
    right: 20px;
}
.hotspot-item.alt .hotspot-info .hotspot-content {
    padding: 1em;
}
.hotspot-item.alt .hotspot-info .hotspot-content p{
    margin: 0;
    white-space: nowrap;
}
/* Area */
.hotspot-item.area .hotspot-info {
    display: flex !important;
    color: #000;
    background: #ccc;
    border: 1px solid #ccc;
    transform: translateY(-105%) scale(0);
    transform-origin: center bottom;
    transition: transform .5s;
    padding: 5px;
    min-width: 300px;
    max-width: 300px;
}
@media (max-width: 768px){
    .hotspot-item.area .hotspot-info {
        left: unset !important;
        right: unset !important;
        max-width: 100%;
    }
}

.hotspot-item.area .hotspot-info.active {
    transform: translateY(-105%) scale(1);
}
.hotspot-item.area .hotspot-info.active::before {
    content: '';
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: #ccc transparent transparent transparent;
    transform: rotate(0deg);
    position: absolute;
    bottom: -10px;
    left: calc( var(--mid-width) - 10px);;
}
.hotspot-item.area .hotspot-info.active.right::before {
    left: unset;
    right: calc( var(--mid-width) - 10px);;
}

@media (max-width: 768px){
    .hotspot-item.area .hotspot-info.active::before,
    .hotspot-item.area .hotspot-info.active.right::before  {
        right: unset;
        left: calc(var(--point-left) + 15px);
    }
}

.custom-hotspots-container:fullscreen .hotspot-item.area .hotspot-info{
    min-width: unset;
    max-width: 510px;
}
.hotspot-item.area .hotspot-info .hotspot-content {
    padding: 1em;
}
.hotspot-item.area .hotspot-info .hotspot-content h1,
.hotspot-item.area .hotspot-info .hotspot-content h2,
.hotspot-item.area .hotspot-info .hotspot-content h3,
.hotspot-item.area .hotspot-info .hotspot-content h4,
.hotspot-item.area .hotspot-info .hotspot-content h5{
    margin: 0;
    font-size: 1.4em;
    white-space: nowrap;
}
.hotspot-item.area .hotspot-info .hotspot-content p{
    margin: 0;
    line-height: 1.25em;
}
/* PopUp */ 
.hotspot-item.popup .hotspot-info {
    display: flex !important;
    transform: translateY(-50%) scale(0);
    transition: transform .5s;
    top: 50%;
    left: 4%;
    width: 92%;
    max-width: unset;
    aspect-ratio: 1/1;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    z-index: 200;
}
@media (max-width: 768px){
    /*.hotspot-item.popup .hotspot-info {
        left: 0;
        width: 92%;
    }*/
    .custom-hotspots-container .hotspot-item.popup .hotspot-info .hotspot-content h3{
        font-size: 2.4vh;
    }
    .custom-hotspots-container .hotspot-item.popup .hotspot-info .hotspot-content .popup_close_text {
        font-size: 1.4vh;
        line-height: 1.4vh;
    }
}
.hotspot-item.popup .hotspot-info.active {
    transform: translateY(-50%) scale(1);
}
.hotspot-item.popup .hotspot-info.active + div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0,0,0,.5);
    left: 0;
    z-index: 100;
}
.hotspot-item.popup .hotspot-info .hotspot-content{
    width: 80%;
    margin: auto;
}
.hotspot-item.popup .hotspot-info .hotspot-content h3{
    padding-bottom: 0;
}
.hotspot-item.popup .hotspot-info .hotspot-content p{
    margin: 1em 0;
    line-height: 1.25em;
}
@media (max-width: 768px){
    .hotspot-item.popup .hotspot-info .hotspot-content{
        width: 100%;
    }
}
.hotspot-item.popup .hotspot-info .hotspot-content h3{
    margin: 2vh auto;
}
.hotspot-item.popup .hotspot-info .hotspot-content .popup_close_text {
    background-color: #b6b6b6;
    color: #fff;
    max-width: 70%;
    padding: .6em 2em;
    margin: auto;
    border-radius: 20em;
    margin-top: min(2em, 2vh);
}
.custom-hotspots-container:fullscreen .hotspot-item.popup .hotspot-info .hotspot-content h3{
    font-size: 2.4vh;
}
.custom-hotspots-container:fullscreen .hotspot-item.popup .hotspot-info .hotspot-content .popup_close_text {
    font-size: 1.4vh;
    line-height: 1.4vh;
}
/* Full */
.hotspot-item.full .hotspot-info.active, .all .hotspot-info.active{
    opacity: 0;
}
/* Page */
@media (max-width: 768px){
    .hotspot-content.dynamic {
        overflow: auto;
        max-height: calc(-2em + 100vh);
    }
}
.hotspot-item.page .hotspot-info {
    display: flex !important;

    width: 100%;
    max-width: unset;
    height: 100%;
    top: 0;
    
    transition: opacity .5s;
    padding: 0em;
    overflow: hidden;
    background-color: unset;
    box-shadow: unset;
    border: none;
    pointer-events: none;
}
.hotspot-item.page .hotspot-info .hotspot-action {
    position: relative;
    height: 100%;
    width: 100%;
    pointer-events: none;
}
.hotspot-item.page .hotspot-info .hotspot-action .hotspot-content {
    padding: 1em;
    background-color: #fff;
    height: 100%; /*calc(100% - 2em);*/
    pointer-events: initial;
    left: 100%;
    position: relative;
    transition: left .5s;
}
.hotspot-item.page .hotspot-info:not(.active) .hotspot-action .hotspot-content{
    left: 100% !important;
}
.hotspot-item.page .hotspot-info .hotspot-action .hotspot-content h2 {
    margin-bottom: 0;
}
.hotspot-item.page .hotspot-info .hotspot-action .hotspot-content .page_close_text {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="512" height="512" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path d="M22 11H4.414l5.293-5.293a1 1 0 1 0-1.414-1.414l-7 7a1 1 0 0 0 0 1.414l7 7a1 1 0 0 0 1.414-1.414L4.414 13H22a1 1 0 0 0 0-2z" fill="%23ffffff" opacity="1" data-original="%23000000" class=""></path></g></svg>');
    background-color: #000;
    background-repeat: no-repeat;
    color: #fff;
    background-size: 10%;
    background-position: 20px center;
    padding: .5em 1.2em .5em 3em;
    border-radius: 10em;
    display: inline-block;
    cursor: pointer;
}