.img-figure {
    margin: 0 !important;
}

.img-figure img {
    border-radius: 6px !important;
}

.img-container {
    /*position: relative;*/
    /*width: 100%;*/
    border-radius: 6px;
    overflow: hidden;
    z-index: 1 !important;
    /*box-shadow: 0 6px 24px #221625;*/
}

.img-container img {
    background: white !important;
}

.hotspot {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 27px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hotspot.reveal {
    position: absolute;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hotspot .trigger {
    z-index: 1;
}

.hotspot .trigger {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background: #2788ff;
    color: #EEE6F0;
    border-radius: 50%;
    transform: translate(0%, 0%);
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 0 0 0 #2788ff;
    transition: box-shadow 0.4s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hotspot .trigger:hover {
    box-shadow: 0 0 0 8px rgb(39, 136, 255, 0.5);
}

.hotspot .content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: -10px;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

.hotspot .content::before {
    content: "";
    position: absolute;
    display: flex;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(34, 22, 37, 0.8);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s;
}

.hotspot .content figure {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transform: translate(0, -10%);
    transition: transform 0.6s, opacity 0.6s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hotspot .content figure::before {
    content: "x";
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 12px;
    right: 12px;
    color: #EEE6F0;
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background: rgba(68, 44, 74, 0.5);
    font-size: 24px;
    pointer-events: all;
    cursor: pointer;
}

.hotspot .content figure img {
    width: 100%;
    height: -webkit-fill-available;
}

.hotspot .content figure figcaption {
    position: absolute;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: rgba(68, 44, 74, 0.5);
    color: white;
    pointer-events: none;
}

.hotspot.reveal {
    z-index: 999;
    pointer-events: all;
}

.hotspot.reveal .content {
    opacity: 1;
    display: -webkit-box;
}

.hotspot.reveal .content::before {
    opacity: 1;
}

.hotspot.reveal .content figure {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: 0.4s;
    pointer-events: all;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hotspot.reveal .content figure figcaption {
    pointer-events: all;
}

.unset-marker {
    position: unset !important;
}

.trigger-icon {
    font-size: 10px;
}

.boxclose-annotation {
    float: right;
    cursor: pointer;
    color: #fff !important;
    border: 1px solid #AEAEAE;
    border-radius: 3px;
    background: #3e69d7;
    font-size: 31px;
    font-weight: bold;
    display: inline-block;
    line-height: 0px;
    padding: 2px 6px !important;
    position: absolute !important;
    right: -12px;
    top: -12px;
    z-index: 1002;
}


.fade-annotation:hover ~ .boxclose-annotation {
    display: none;
}

.boxdelete-annotation {
    position: absolute !important;
    right: 0;
    margin-top: 20px;
}

.test-annotation:hover ~ .test-annotation {
    display: none;
}

.image-note #myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.image-note #myImg:hover {opacity: 0.7;}
.image-note .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    padding-bottom: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}
.image-note .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
}
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.image-note .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
.image-note .close:hover,
.image-note .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
.lightbox-close-btn {
    position: fixed;
    top: 14%;
    right: 6.5%;
    z-index: 100;
    border-radius: 100% !important;
}
@media (min-width: 768px) {
    .lightbox-close-btn {
        position: inherit;
        top: 20px;
        right: -15px;
        z-index: 100;
        border-radius: 100% !important;
    }
}
.body-note-tab-item {
    max-height: 70px !important;
}
@media (min-width: 576px) {
    .body-note-tab-item {
        max-height: 155px !important;
    }
}

@media (max-width: 768px) {
    .lightbox-close-btn {
        top: 26%;
    }

    .image-note .modal {
        padding-top: 160px;
    }
}