/* Project-gallery Colorbox only; className is set by image-loading.js. */
#cboxOverlay.an-project-gallery {
    z-index: 2147483646;
    background: #000;
}

#colorbox.an-project-gallery {
    z-index: 2147483647;
    outline: 0;
}

#colorbox.an-project-gallery #cboxContent {
    margin-top: 0;
    overflow: visible;
    background: #000;
}

#colorbox.an-project-gallery #cboxLoadedContent {
    padding: 0;
    background: #000;
}

#colorbox.an-project-gallery #cboxCurrent {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    min-width: 50px;
    padding: 7px 12px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    font: 600 14px/1.2 Arial, sans-serif;
    text-align: center;
    text-indent: 0;
    white-space: nowrap;
    pointer-events: none;
}

#colorbox.an-project-gallery #cboxPrevious,
#colorbox.an-project-gallery #cboxNext,
#colorbox.an-project-gallery #cboxClose {
    position: absolute;
    z-index: 2;
    display: block;
    box-sizing: border-box;
    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(11, 17, 26, 0.92);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.48);
    cursor: pointer;
    text-indent: -9999px;
}

#colorbox.an-project-gallery #cboxPrevious,
#colorbox.an-project-gallery #cboxNext {
    top: 50%;
    transform: translateY(-50%);
}

#colorbox.an-project-gallery #cboxPrevious {
    right: auto;
    left: 12px;
}

#colorbox.an-project-gallery #cboxNext {
    right: 12px;
    left: auto;
}

#colorbox.an-project-gallery #cboxClose {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
}

#colorbox.an-project-gallery #cboxPrevious::before,
#colorbox.an-project-gallery #cboxNext::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 12px;
    height: 12px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    content: "";
    text-indent: 0;
}

#colorbox.an-project-gallery #cboxPrevious::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

#colorbox.an-project-gallery #cboxClose::before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -55%);
    color: currentColor;
    content: "×";
    font: 32px/1 Arial, sans-serif;
    text-indent: 0;
}

#colorbox.an-project-gallery #cboxPrevious:hover,
#colorbox.an-project-gallery #cboxNext:hover,
#colorbox.an-project-gallery #cboxClose:hover {
    border-color: #fff;
    background: rgba(30, 43, 60, 0.98);
}

#colorbox.an-project-gallery #cboxPrevious:focus,
#colorbox.an-project-gallery #cboxNext:focus,
#colorbox.an-project-gallery #cboxClose:focus {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    #colorbox.an-project-gallery #cboxPrevious,
    #colorbox.an-project-gallery #cboxNext {
        width: 48px;
        height: 48px;
    }

    #colorbox.an-project-gallery #cboxPrevious {
        left: 8px;
    }

    #colorbox.an-project-gallery #cboxNext {
        right: 8px;
    }

    #colorbox.an-project-gallery #cboxClose {
        top: 8px;
        right: 8px;
        width: 48px;
        height: 48px;
    }

    #colorbox.an-project-gallery #cboxCurrent {
        top: 10px;
        padding: 6px 10px;
        font-size: 13px;
    }
}
