﻿/*СТИЛИ БОКОВОГО МЕНЮ*/

/*кнопки*/
.btn-primary-custom {
    background-color: white;
}

/*кнопка когда дата активна*/
.btn-primary-custom-active {
    color: white !important;
    background-color: #006196 !important;
    border: none !important
}

/*при наведении*/
.btn-primary-custom:hover {
    border-color: #505762 !important;
}


.btn-primary-custom-active .text-secondary {
    color: #ffffff8a !important;
}

/*чтоб всегда занимала 50% и не растягивалась на всю ширину*/

.rounded-10 {
    border-radius: 1rem
}

.rounded-15 {
    border-radius: 1.5rem
}

.border-none {
    border: none;
}

/*выбор отчетов*/
.white-space-normal {
    white-space: normal;
}

.mnu-hover {
    background-color: #f0f4fa
}

    .mnu-hover:hover {
        background-color: #e5ebf2 !important;
    }

/*меню*/

.item-dfo-custom {
    display: block;
    padding: 10px 15px;
    color: #313B47;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

    .item-dfo-custom:hover {
        background-color: #dae9f2;
        color: #313B47;
    }

    .item-dfo-custom.active {
        background-color: #006196;
        color: white;
    }


.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #FFF #FFF transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

    .loader::after,
    .loader::before {
        content: '';
        box-sizing: border-box;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        border: 3px solid;
        border-color: transparent transparent #6366f1 #6366f1;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-sizing: border-box;
        animation: rotationBack 0.5s linear infinite;
        transform-origin: center center;
    }

    .loader::before {
        width: 32px;
        height: 32px;
        border-color: #e0e7ff #e0e7ff transparent transparent;
        animation: rotation 1.5s linear infinite;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.my-collapse {
    /*overflow: hidden;*/
    transition: all 0.2s linear;
}

.ops-history {
    max-height: 200px;
}

/* width */
    .ops-history::-webkit-scrollbar {
        width: 6px;
        border-radius: 8px;
    }

/* Track */
    .ops-history::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

/* Handle */
    .ops-history::-webkit-scrollbar-thumb {
        background: #888;
    }

