/* Colorbox */
*:focus { outline: 0; }
#colorbox, #cboxOverlay, #cboxWrapper { position: absolute; top: 0; left: 0; z-index: 9999; overflow: visible; }
#cboxOverlay { position: fixed; width: 100%; height: 100%; z-index: 99; }
#cboxMiddleLeft, #cboxBottomLeft { clear: left; }
#cboxContent { position: relative; }
#cboxLoadedContent { overflow: auto; }
#cboxTitle { margin: 0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position: absolute; top: 0; left: 0; width: 100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor: pointer; background-repeat: no-repeat; }
.cboxPhoto { float: left; margin: auto; border: 0; display: block; width: auto !important; height: auto !important; max-width: 100%; max-height: 100%; }
.cboxIframe { width: 100%; height: 100%; display: block; border: 0; }
#cboxOverlay { background: rgba(0,0,0,0.5); }
#colorbox, #cboxContent { padding: 0px; }
.cboxIframe { background: #FFF; }
#cboxError { padding: 50px; border: 1px solid #ccc; }
#cboxLoadedContent { background: #FFF; padding: 0px; }
#cboxLoadedContent iframe { display: block; }
#cboxTitle { margin-top: .5em; font-size: .9em; color: #FFF; }
#cboxCurrent { position: absolute; top: -20px; right: 50px; color: #000; font-size: 11px !important; }
#cboxSlideshow { position: absolute; top: -20px; right: 90px; color: #fff; }
#cboxPrevious, #cboxNext { position: absolute; top: 50%;  margin-top: -16px; width: 20px; height: 31px; text-indent: -9999px; }
#cboxPrevious { left: 5px; background-position: -700px 0px; }
#cboxPrevious:hover { background-position: -700px -35px; }
#cboxNext { right: 5px; background-position: -725px 0px; }
#cboxNext:hover { background-position: -725px -35px; }
#cboxLoadingOverlay { background: #FFF; }
#cboxClose { background: transparent; position: absolute; right: 0; top: 0; display: block; padding: 0; margin: 0;
                    width: 30px; height: 30px; overflow: hidden; font-family: Verdana; border: none; font-size: 32px;
                    color: #000; background: #FFF; line-height: 30px; text-transform: uppercase; }
#cboxClose:hover { background-position: -328px -104px; }
#colorbox .loading { padding: 3em; background: url(images/loading.gif) center no-repeat; }


.remove-photo {
    position: absolute;
    top: 0;
    right: 0;
    background: #FFF;
    width: 30px;
    height: 30px;
    display: block;
    margin: 0;
    text-align: center;
}


.custom-file { width: 400px; cursor: pointer; vertical-align: top; }
.custom-file-label:after { content: 'Файл...'; }
.custom-file-label { padding-right: 80px; font-size: 1rem; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.loader {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}
.loader svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -32px;
}

.card .cClick { height: 250px; }
.card .card-img-top { width: auto; max-width: 100%; max-height: 100%; }