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

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

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

.btn-primary-custom:hover {
    border-color: #505762 !important;
    transition: all 0.3s ease-out !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-gr-object-custom {
    display: block;
    padding: 10px 15px;
    color: #313B47;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

    .item-gr-object-custom:hover {
        background-color: #e0e7ff;
        color: #313B47;
    }

    .item-gr-object-custom.active {
        background-color: #6366f1;
        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;
}
