/* ----------------------------------------------------------------

    Custom CSS



    Add all your Custom Styled CSS here for New Styles or

    Overwriting Default Theme Styles for Better Handling Updates

-----------------------------------------------------------------*/

.icon-lhh {
    padding: 10px;
    background-color: #444 !important;
}

.dark .services-grid .feature-box:hover .icon-lhh {
    background-color: #FFF !important;
}







/* Hotspot */

.hotspot-img {
    position: relative;
}



.hotspot-img img {
    opacity: .6;
}



.hotspot-img .hot-spot {

    position: absolute;

    width: 12px;

    height: 12px;

    top: 5px;

    left: 5px;

    text-align: center;

    background-color: rgba(151, 215, 0, 0.8);

    border: 1px solid #FFF;

    border-radius: 100%;

    cursor: pointer;

    transition: transform .3s ease;

}
.hotspot-img .hot-spot.maps {

    background-color: transparent;
    border: none;
    width: 20px;
    height: 20px;
}



.hotspot-img .hot-spot .circle {

    display: block;

    position: absolute;

    top: 47%;

    left: 47%;

    width: 2em;

    height: 2em;

    margin: -1em auto auto -1em;

    -webkit-transform-origin: 50% 50%;

    transform-origin: 50% 50%;

    border-radius: 50%;

    background: var(--color-theme-secondary);

    opacity: 0;

    z-index: -1;

    -webkit-animation: pulsate 3.5s ease-out infinite;

    animation: pulsate 3.5s ease-out infinite;

}

.hotspot-img .hot-spot.maps .circle {
    background: blue;
}

.hotspot-img .hot-spot:nth-child(2) .circle {
    animation-delay: 2s;
}

.hotspot-img .hot-spot:nth-child(3) .circle {
    animation-delay: 3.5s;
}

.hotspot-img .hot-spot:nth-child(4) .circle {
    animation-delay: 5.2s;
}

.hotspot-img .hot-spot:nth-child(5) .circle {
    animation-delay: 6.4s;
}

.hotspot-img .hot-spot:nth-child(6) .circle {
    animation-delay: 8s;
}

.hotspot-img .hot-spot:nth-child(7) .circle {
    animation-delay: 9.2s;
}

.hotspot-img .hot-spot:nth-child(8) .circle {
    animation-delay: 11s;
}

.hotspot-img .hot-spot:nth-child(9) .circle {
    animation-delay: 13s;
}

.hotspot-img .hot-spot:nth-child(10) .circle {
    animation-delay: 15s;
}



.hotspot-img .hot-spot .tooltip {

    background-color: rgba(255, 255, 255, 0.9);

    -webkit-border-radius: 3px;

    -moz-border-radius: 3px;

    border-radius: 3px;

    font-size: 14px;

    opacity: 0;

    display: none;

    left: 0;

    padding: 8px 10px;

    position: absolute;

    top: 20px;

    width: auto;

    z-index: 999;

    box-shadow: 0 10px 80px rgba(0, 0, 0, 0.1), 0 10px 50px rgba(0, 0, 0, 0.1);

    -webkit-transform: translateY(3px);

    -ms-transform: translateY(3px);

    -o-transform: translateY(3px);

    transform: translateY(3px);

    -webkit-transition: all .3s linear;

    -o-transition: all .3s linear;

    transition: all .3s linear;

}



.hotspot-img .hot-spot.hotspot-tooltip-open .tooltip {

    opacity: 1;

    -webkit-transform: translateY(0);

    -ms-transform: translateY(0);

    -o-transform: translateY(0);

    transform: translateY(0);

}



.hotspot-img .hot-spot .tooltip.ontop {

    top: auto;

    bottom: 35px;

}



.hotspot-img .hot-spot .tooltip p {

    font-size: 13px;

    line-height: 1.3rem !important;

    margin-bottom: 0;

    white-space: nowrap;

    color: #666 !important;

    text-transform: capitalize;

}





@-webkit-keyframes pulsate {
    0% {

        -webkit-transform: scale(1);

        transform: scale(1);

        opacity: 0.8;

    }

    45% {

        -webkit-transform: scale(1.75);

        transform: scale(1.75);

        opacity: 0;

    }

}

@keyframes pulsate {
    0% {

        -webkit-transform: scale(1);

        transform: scale(1);

        opacity: 0.8;

    }

    45% {

        -webkit-transform: scale(1.75);

        transform: scale(1.75);

        opacity: 0;

    }

}





/* book-wraps */

.book-image {

    display: block;

    position: relative;

}



.book-image img {

    width: 100%;

    max-width: 100%;

    display: block;

}



.book-image::after {

    content: " ";

    width: 100%;

    height: 100%;

    position: absolute;

    left: 0;

    top: 0;

    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3));

    transition: opacity .3s ease;

    opacity: 0;

}



.book-card {

    position: relative;

    will-change: transform;

    transition: box-shadow .3s ease;

    box-shadow: 0 10px 40px transparent;

}



.book-card.hover-in {

    transition: -webkit-transform .2s ease-out;

    transition: transform .2s ease-out;

    transition: transform .2s ease-out, -webkit-transform .2s ease-out;

}



.book-card.hover-out {

    transition: -webkit-transform .2s ease-in;

    transition: transform .2s ease-in;

    transition: transform .2s ease-in, -webkit-transform .2s ease-in;

}



.book-wrap:hover .book-card {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}



.book-wrap:hover .book-image::after {
    opacity: 1;
}



.book-wrap:hover .book-title,

.book-wrap:hover .book-category,

/* .book-wrap:hover .book-border, */

.book-wrap:hover .button {

    -webkit-transform: translateY(0) scale(1);

    -ms-transform: translateY(0) scale(1);

    transform: translateY(0) scale(1);

    opacity: 1;

}



.book-wrap {
    -moz-transform-style: flat !important;
}



.book-detail {

    position: absolute;

    left: 40px;

    right: 40px;

    top: 40px;

    bottom: 40px;

    display: -webkit-flex;

    display: -ms-flexbox;

    display: flex;

    -webkit-flex-direction: column;

    -ms-flex-direction: column;

    flex-direction: column;

    -webkit-justify-content: center;

    -ms-flex-pack: center;

    justify-content: center;

    text-align: center;

    pointer-events: none;

    -webkit-transform: translateZ(40px);

    transform: translateZ(40px);

}



.book-title {

    margin: 0 0 10px;

    font-size: 24px;

    font-weight: 700;

    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);

    transition: .4s ease;

    opacity: 0;

    -webkit-transform: translateY(40px) scale(0);

    -ms-transform: translateY(40px) scale(0);

    transform: translateY(40px) scale(0);

    will-change: transform;

}



.book-title a {
    color: white;
}



.book-category {

    opacity: 0;

    margin: 0 0 18px;

    font-family: 'Lato';

    transition: .4s ease;

    transition-delay: .1s;

    -webkit-transform: translateY(40px) scale(0);

    -ms-transform: translateY(40px) scale(0);

    transform: translateY(40px) scale(0);

    will-change: transform;

}



.book-category a {

    color: rgba(255, 255, 255, 0.8);

    font-size: 1.3em;

}



.book-wrap .button {

    opacity: 0;

    margin: 0 auto;

    transition: .4s ease !important;

    transition-delay: .15s !important;

    -webkit-transform: translateY(40px) scale(0);

    -ms-transform: translateY(40px) scale(0);

    transform: translateY(40px) scale(0);

    will-change: transform;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

}

/*RESPONSIVE FONTS*/

@media (max-width: 5000px) {

    .font-xl-1 {

        font-size: 0.8em !important;

    }

    .font-xl-2 {

        font-size: 0.9em !important;

    }

    .font-xl-3 {

        font-size: 1.3em !important;

    }

    .font-xl-4 {

        font-size: 1.5em !important;

    }

    .font-xl-5 {

        font-size: 1.8em !important;

    }

    .font-xl-6 {

        font-size: 2.0em !important;

    }

    .font-xl-7 {

        font-size: 2.5em !important;

    }

    .font-xl-8 {

        font-size: 3em !important;

    }

    .font-xl-9 {

        font-size: 3.5em !important;

    }

    .font-xl-10 {

        font-size: 4em !important;

    }

}

@media (max-width: 1199px) {

    .font-lg-1 {

        font-size: 0.8em !important;

    }

    .font-lg-2 {

        font-size: 0.9em !important;

    }

    .font-lg-3 {

        font-size: 1.3em !important;

    }

    .font-lg-4 {

        font-size: 1.5em !important;

    }

    .font-lg-5 {

        font-size: 1.8em !important;

    }

    .font-lg-6 {

        font-size: 2.0em !important;

    }

    .font-lg-7 {

        font-size: 2.5em !important;

    }

    .font-lg-8 {

        font-size: 3em !important;

    }

    .font-lg-9 {

        font-size: 3.5em !important;

    }

    .font-lg-10 {

        font-size: 4em !important;

    }

}

@media (max-width: 991px) {

    .font-md-1 {

        font-size: 0.8em !important;

    }

    .font-md-2 {

        font-size: 0.9em !important;

    }

    .font-md-3 {

        font-size: 1.3em !important;

    }

    .font-md-4 {

        font-size: 1.5em !important;

    }

    .font-md-5 {

        font-size: 1.8em !important;

    }

    .font-md-6 {

        font-size: 2.0em !important;

    }

    .font-md-7 {

        font-size: 2.5em !important;

    }

    .font-md-8 {

        font-size: 3em !important;

    }

    .font-md-9 {

        font-size: 3.5em !important;

    }

    .font-md-10 {

        font-size: 4em !important;

    }

}

@media (max-width: 767px) {

    .font-sm-1 {

        font-size: 0.8em !important;

    }

    .font-sm-2 {

        font-size: 0.9em !important;

    }

    .font-sm-3 {

        font-size: 1.3em !important;

    }

    .font-sm-4 {

        font-size: 1.5em !important;

    }

    .font-sm-5 {

        font-size: 1.8em !important;

    }

    .font-sm-6 {

        font-size: 2.0em !important;

    }

    .font-sm-7 {

        font-size: 2.5em !important;

    }

    .font-sm-8 {

        font-size: 3em !important;

    }

    .font-xl-9 {

        font-size: 3.5em !important;

    }

    .font-xl-10 {

        font-size: 4em !important;

    }

}

@media (max-width: 575px) {

    .font-xs-1 {

        font-size: 0.8em !important;

    }

    .font-xs-2 {

        font-size: 0.9em !important;

    }

    .font-xs-3 {

        font-size: 1.3em !important;

    }

    .font-xs-4 {

        font-size: 1.5em !important;

    }

    .font-xs-5 {

        font-size: 1.8em !important;

    }

    .font-xs-6 {

        font-size: 2.0em !important;

    }

    .font-xs-7 {

        font-size: 2.5em !important;

    }

    .font-xs-8 {

        font-size: 3em !important;

    }

    .font-xs-9 {

        font-size: 3.5em !important;

    }

    .font-xs-10 {

        font-size: 4em !important;

    }

}