.process-img {
    max-width: 300px;
    max-height: 300px;
}

.process-img:hover {
    max-width: 500px;
    max-height: 500px;
}

.nav-link.active {
    font-weight: 600;
}

.custom-file-label::after {
    content: "Обзор";
}

.img-square {
    width: 200px;
    height: 200px;
}

.img-square:hover {
    width: 300px;
    height: 200px;
}

.sticky-top {
    top: 3.5em !important;
}

.sticky-top.toolbar {
    background: #fff;
    box-shadow: 2px 2px 5px 0 #c6ced3;
    z-index: 99;
    margin-bottom: 1rem;
}

.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.7);
    margin: auto;
    display: none;
}

.spinner-border {
    position: absolute;
    left: 50%;
    color: #fb5000;
    top: 50%;
}

.act-icon.not-saved {
    animation: opacity-blink 2s infinite;
    color: #fb5000 !important;
}

@keyframes opacity-blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes bg-blink {
    50% {
        background-color: rgba(251, 80, 0, 0.18);
    }
}

.opacity-blink {
    animation: opacity-blink 3s infinite;
}

.photo-list .form-control.not-saved {
    animation: bg-blink 2s infinite;
}

.list-group-item .list-group-item {
    border: 0;
}

.photo {
    width: 100px;
    height: 100px;
    position: relative;
    border: 1px solid #fafafa;
    margin: 2px;
    box-shadow: #d3e0ef 0px 1px 3px 3px;
    /*box-shadow: #d3e0ef 2px 2px;*/
    text-align: center;
    display: block;
}

.photo .img-holder {
    display: block;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.photo.sm {
    width: 50px;
    height: 50px;
}

.photo.smd {
    width: 100px;
    height: 100px;
}

.photo.md {
    width: 150px;
    height: 150px;
}

.photo.lg {
    width: 250px;
    height: 250px;
}


.photo.fluid {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.photo.fluid.sm {
    max-width: 50px;
    max-height: 50px;
    width: auto;
    height: auto;
}

.photo.fluid.smd {
    max-width: 100px;
    max-height: 100px;
    width: auto;
    height: auto;
}

.photo.fluid.md {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.photo.fluid.lg {
    max-width: 250px;
    max-height: 250px;
    width: auto;
    height: auto;
}

.auto-width {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

label.file {
    display: none;
    margin-bottom: 0;
    margin-top: 0.1rem;
    padding: 0.3rem 1.25rem;
    box-shadow: 1px 1px 5px #ccc;
    border-radius: 0.2rem;
    font-weight: 100;
}

input[type=file] {
    background: #fff;
    color: #777;
    border: 1px solid #ccc;
}

blockquote.qt {
    max-height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.5s ease-out;
    cursor: pointer;
    position: relative;
    margin: 0.5rem 0;
    background: #fafafa;
}

blockquote.qt:after {
    content: "\f078";
    font-family: FontAwesome;
    font-size: 9px;
    color: #aaa;
    position: absolute;
    right: 3px;
    bottom: 10px;
}

blockquote.qt:hover {
    box-shadow: 0 0 3px #ccc;
    background: var(--amber-50) !important;
    transition: all 0.2s ease-in;
}

blockquote.qt.open {
    max-height: 100%;
    padding-right: 18px;
    margin: 0.5rem 0.1rem;
    transition: all 0.1s ease-in;
}

blockquote.qt.open:after {
    content: "\f077";
}

blockquote.qt blockquote.qt {
    font-size: smaller;
    background: var(--green-50);
}

blockquote.qt blockquote.qt blockquote.qt {
    font-size: 10px;
    background: var(--green-100);
}

blockquote.qt blockquote.qt blockquote.qt blockquote.qt {
    background: var(--green-200);
}

.emojionepicker-picker {
    z-index: 100 !important;
}

.vote-drop {
    margin-left: -50px;
    margin-top: -100px;
}

.rules_txt li {
    margin-bottom: 0.5rem;
}

.col-photo .photo.rounded {
    border: 1px solid #ddd;
    position: relative;
    background: white;
}

.col-photo .photo.rounded::before, .col-photo .photo.rounded::after {
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.2);
    -webkit-transform: rotate(-8deg);
    transform: rotate(-8deg);
    position: absolute;
    left: 10px;
    bottom: 12px;
    z-index: -1;
    width: 50%;
    max-width: 100px;
    height: 20px;
    content: "";
}

.col-photo .photo.rounded::after {
    -webkit-transform: rotate(8deg);
    transform: rotate(8deg);
    right: 10px;
    left: auto;
}

.profile-user-pic .photo.md {
    width: 100px;
    height: 100px;
}

.spectrum-group .sp-replacer.sp-krajee {
    display: flex;
}

.spectrum-group.input-group {
    width: auto;
}

.spectrum-group input.form-control.spectrum-input {
    width: 0 !important;
    display: none !important;
}

.ajax-set-switch .dropdown-item {
    display: none !important;
}

.optgroup-selectable-label {
    cursor: pointer;
}

.dropdown-toggle.no-after::after {
    display: none;
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #d2dae1;
    --bs-btn-border-color: #ccd3da;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bac0c6;
    --bs-btn-hover-border-color: #bac0c6;
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #d2dae1;
    --bs-btn-active-border-color: #ccd3da;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b7bec5;
    --bs-btn-disabled-border-color: #b7bec5;
}

.flex-basis-50-lg {
    flex-basis: 50%;
}

@media all and (max-width: 991px) {
    .flex-basis-50-lg {
        flex-basis: 100%;
    }
}