#depreload {
    background-size: cover;
    background-color: #f4f4f4;
    position: fixed;
    text-align: center;
    z-index: 999;
    height: 100%
}

#depreload div {
    margin-top: 15%;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.error {
    color: #f50;
    padding: 2px;
}

.input-error {
    border: 1px solid #F50;
    color: #F50;
}

.btn-bluerc {
    color: #FFFFFF;
    background-color: #021826;
    border-color: #021826;
    border-radius: 5px !important;
}

.btn-bluerc:hover,
.btn-bluerc:focus,
.btn-bluerc:active,
.btn-bluerc.active,
.open .dropdown-toggle.btn-bluerc {
    color: #FFFFFF;
    background-color: #14557D;
    border-color: #021826;
    border-radius: 5px;
}

.btn-bluerc:active,
.btn-bluerc.active,
.open .dropdown-toggle.btn-bluerc {
    background-image: none;
    border-radius: 5px;
}

.btn-bluerc.disabled,
.btn-bluerc[disabled],
fieldset[disabled] .btn-bluerc,
.btn-bluerc.disabled:hover,
.btn-bluerc[disabled]:hover,
fieldset[disabled] .btn-bluerc:hover,
.btn-bluerc.disabled:focus,
.btn-bluerc[disabled]:focus,
fieldset[disabled] .btn-bluerc:focus,
.btn-bluerc.disabled:active,
.btn-bluerc[disabled]:active,
fieldset[disabled] .btn-bluerc:active,
.btn-bluerc.disabled.active,
.btn-bluerc[disabled].active,
fieldset[disabled] .btn-bluerc.active {
    background-color: #021826;
    border-color: #021826;
}

.btn-bluerc .badge {
    color: #021826;
    background-color: #FFFFFF;
}

.btn-bordorc {
    color: #FFFFFF;
    background-color: #8C0444;
    border-color: #8C0444;
    border-radius: 5px;
}

.btn-bordorc:hover,
.btn-bordorc:focus,
.btn-bordorc:active,
.btn-bordorc.active,
.open .dropdown-toggle.btn-bordorc {
    color: #FFFFFF;
    background-color: #470021;
    border-color: #8C0444;
    border-radius: 5px;
}

.btn-bordorc:active,
.btn-bordorc.active,
.open .dropdown-toggle.btn-bordorc {
    background-image: none;
    border-radius: 5px;
}

.btn-bordorc.disabled,
.btn-bordorc[disabled],
fieldset[disabled] .btn-bordorc,
.btn-bordorc.disabled:hover,
.btn-bordorc[disabled]:hover,
fieldset[disabled] .btn-bordorc:hover,
.btn-bordorc.disabled:focus,
.btn-bordorc[disabled]:focus,
fieldset[disabled] .btn-bordorc:focus,
.btn-bordorc.disabled:active,
.btn-bordorc[disabled]:active,
fieldset[disabled] .btn-bordorc:active,
.btn-bordorc.disabled.active,
.btn-bordorc[disabled].active,
fieldset[disabled] .btn-bordorc.active {
    background-color: #8C0444;
    border-color: #8C0444;
}

.btn-bordorc .badge {
    color: #8C0444;
    background-color: #FFFFFF;
}

.login-box-body .form-control-feedback,
.register-box-body .form-control-feedback {
    color: #021826;
}

.linkTable {
    color: #666 !important;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    background-color: #222d32 !important;
    border-color: #222d32 !important;
}

th {
    font-size: 14px !important;
}

label {
    font-weight: normal;
}


/* GALERIA */

#masonry {
    column-count: 2;
    column-gap: 1em;
}

@media(min-width: 30em) {
    #masonry {
        column-count: 3;
        column-gap: 1em;
    }
}

@media(min-width: 40em) {
    #masonry {
        column-count: 4;
        column-gap: 1em;
    }
}

@media(min-width: 60em) {
    #masonry {
        column-count: 5;
        column-gap: 1em;
    }
}

@media(min-width: 75em) {
    #masonry {
        column-count: 6;
        column-gap: 1em;
    }
}

.item {
    background-color: none;
    display: inline-block;
    margin: 0 0 1em 0;
    width: 100%;
    cursor: pointer;
}

.item img {
    max-width: 100%;
    height: auto;
    width: 100%;
    margin-bottom: -4px;
    /*idk why but this fix stuff*/
}

.item.active {
    animation-name: active-in;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
    animation-direction: alternate;
}

.item.active:before {
    content: "+";
    transform: rotate(45deg);
    font-size: 48px;
    color: white;
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    z-index: 12;
}

.item.active img {
    animation-name: active-in-img;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
    animation-direction: alternate;
}

@keyframes active-in {
    0% {
        opacity: 1;
        background-color: white;
    }
    50% {
        opacity: 0;
        background-color: rgba(0, 0, 0, 0.90);
    }
    100% {
        opacity: 1;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.90);
    }
}

@keyframes active-in-img {
    0% {
        opacity: 1;
        transform: translate(0%, 0%);
        top: 0;
        left: 0;
        max-width: 100%;
    }
    49% {
        opacity: 0;
        transform: translate(0%, -50%);
    }
    50% {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -100%);
    }
    100% {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90%;
        width: auto;
        max-height: 95vh;
        opacity: 1;
    }
}

.checkImage {
    display: none !important;
}

.labelCheck {
    border: 1px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    margin: 5px;
    cursor: pointer;
}

.labelCheck:before {
    background-color: white;
    color: white;
    z-index: 99;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255);
    position: absolute;
    top: -5px;
    right: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 23px;
    transition-duration: 0.4s;
    transform: scale(0);
}

:checked+label {
    border-color: #ddd;
}

:checked+label:before {
    font-family: "FontAwesome";
    content: "\f014";
    background-color: rgb(224, 39, 39);
    transform: scale(1);
}

:checked+label img {
    transform: scale(0.9);
    box-shadow: 0 0 5px #333;
    z-index: -1;
}

.btnZoom {
    float: right;
    position: absolute;
    z-index: 9;
    border-radius: 100%;
    width: 26px;
    padding-left: 7px;
}