/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox,
#cboxOverlay,
#cboxWrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}
#cboxOverlay {
    position: fixed;
    width: 100%;
    height: 100%;
}
#cboxMiddleLeft,
#cboxBottomLeft {
    clear: left;
}
#cboxContent {
    position: relative;
    background: transparent;
    padding: 0px;
}
#cboxLoadedContent {
    overflow: auto;
}
#cboxTitle {
    margin: 0;
}
#cboxLoadingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
#cboxPrevious,
#cboxNext,
#cboxClose,
#cboxSlideshow {
    cursor: pointer;
}
.cboxPhoto {
    float: left;
    margin: auto;
    border: 0;
    display: block;
}
.cboxIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay {
    background: #dddddd;
}
#colorbox {
    outline: none;
}
#cboxContent {
    margin-top: 0px;
    background-color: #cccccc;
}
#cboxError {
    padding: 50px;
    border: 1px solid #ccc;
}
#cboxLoadedContent {
    padding: 0px;
    margin: 0px;
}
#cboxTitle {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0;
    color: #252525;
    background-color: #ffffff66;
    padding: 5px 20px;
}
#cboxCurrent {
    position: absolute;
    top: -20px;
    right: 0px;
    color: #ccc;
}
#cboxSlideshow {
    position: absolute;
    top: -20px;
    right: 90px;
    color: #fff;
}
#cboxPrevious {
    border: 0px;
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -15px;
    background-color: #454545;
    width: 42px;
    height: 42px;
    text-indent: -9999px;
}
#cboxPrevious::after {
    content: "\f104";
    position: absolute;
    inset: 0;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 42px;
    color: #ffffff;
    text-indent: 0;
    z-index: 1;
}
#cboxPrevious:hover {
    background-color: #555555;
}
#cboxNext {
    border: 0px;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -15px;
    background-color: #454545;
    width: 42px;
    height: 42px;
    text-indent: -9999px;
}
#cboxNext::after {
    content: "\f105";
    position: absolute;
    inset: 0;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    font-size: 1.25rem;
    line-height: 42px;
    color: #ffffff;
    text-indent: 0;
    z-index: 1;
}
#cboxNext:hover {
    background-color: #555555;
}
#cboxLoadingOverlay {
    background: transparent;
}
#cboxLoadingGraphic {
    margin: auto;
}
#cboxClose {
    border: 0px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #454545;
    width: 42px;
    height: 42px;
    text-indent: -9999px;
}
#cboxClose::after {
    content: "\f00d";
    position: absolute;
    inset: 0;
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    line-height: 42px;
    color: #ffffff;
    text-indent: 0;
    font-size: 1.25rem;
    z-index: 1;
}

#cboxClose:hover {
    background-color: #555555;
}

/*------- Loader Animation ------- */
#cboxLoadingGraphic {
    float: none !important;
    position: relative;
    background-color: #999999;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    animation: cbLoad 1s infinite ease-in-out;
}

@keyframes cbLoad {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 0;
    }
}
