.error {
    color: red;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd
}

.fixed-panel {
    min-height: 100px;
    max-height: 100px;
    overflow-y: scroll;
}

.fixed-panel-2 {
    min-height: 250px;
    max-height: 250px;
    overflow-y: scroll;
}

.create-button {
    position: relative;
    width: 100%;
    display: block;
    z-index: 99;
    padding-left: 20px;
}

.dropdown-menu-visible {
    z-index: 100;
}

.hint {
    display: none;
    position: relative;
    border: 1px solid darkred;
}

.panel-auth {
    margin: 0 auto 20px;
    text-align: center;
}

.panel-text {
    padding: 20px;
    display: inline-flex;
    align-items: center;
}

.panel-fonts {
    color: #fff !important;
    margin: 20px;
}

.panel-small-fonts {
    display: block;
    color: #fff !important;
    font-size: smaller;
    margin-top: 10px;
}

.panel-small-fonts-min {
    display: block;
    font-size: small;
    color: #e0dfdf;
}

.panel-login-form {
    background: #FFFFFF;
    margin: 20px auto 20px;
    width: 320px;
    position: relative;
    padding: 20px;
    border-radius: 10px;
    -moz-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    -webkit-transition: all 1s ease-out;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.panel-login-form-border {
    border: 2px solid #fff;
    padding: 0.4em;
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
}

.panel-custom {
    margin-bottom: 20px;
    background-color: #ffffff1a;
    border: 1px solid #ffffff1a;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    color: #fff;
    height: 100%;
    margin-top: 30px;
    padding: 20px;
}

#newsCarousel .carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    text-align: left;
    padding: 25px;
    background: rgba(0, 0, 0, 0.6);
    text-shadow: none;
    height: 100%;
    margin: 0px 20px 0px 0px;
    overflow-y: scroll;
}

#newsCarousel .list-group {
    position: absolute;
    top: 0;
    right: 0;
}

#newsCarousel .list-group-item {
    border-radius: 0px;
    cursor: pointer;
}

#newsCarousel .list-group .active {
    background-color: #1e509675;
}

#newsCarousel .news-back {
    height: 350px;
    width: 780px;
    background: radial-gradient(#6E94B1, #3C4C5B);
}

@media (min-width: 992px) {
    #newsCarousel {
        padding-right: 33.3333%;
    }

    #newsCarousel .carousel-controls {
        display: none;
    }
}

@media (max-width: 991px) {
    .carousel-caption p,
    #newsCarousel .list-group {
        display: none;
    }
}

@media only screen and (max-width: 1900px) {
    #myCarousel .news-back {
        height: 450px;
        background: radial-gradient(#6E94B1, #3C4C5B);
    }
}

@media only screen and (max-width: 1280px) {
    #myCarousel .news-back {
        height: 280px;
        width: 490px;
        background: radial-gradient(#6E94B1, #3C4C5B);
    }
}

@media only screen and (max-width: 600px) {
    #myCarousel .news-back {
        height: 300px;
        width: 480px;
        background: radial-gradient(#6E94B1, #3C4C5B);
    }
}

.not-clickable {
    pointer-events: none;
}

.item {
    margin: auto;
    padding: 0;
    position: relative;
    width: auto;
    height: 450px;
    background: #c2c2c2;
}

.item img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (max-width: 1900px) {
    .item {
        margin: auto;
        padding: 0;
        position: relative;
        width: auto;
        height: 450px;
        background: #c2c2c2;
    }

    .item img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
    }
}

@media only screen and (max-width: 1280px) {
    .item {
        margin: auto;
        padding: 0;
        position: relative;
        width: 450px;
        height: 280px;
        background: #c2c2c2;
    }

    .item img {
        position: absolute;
        left: 30%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
    }
}

.btn {
    border-radius: 15px !important;
}

.btn.btn-primary:focus {
    border-radius: 15px !important;
    background-color: #17933A;
    border-color: #17933A;
    box-shadow: #6DAC40 0px 4px 16px, #6DAC40 0px 8px 24px, #6DAC40 0px 16px 56px;
}
.btn.btn-primary:active {
    border-radius: 15px !important;
    background-color: #17933A;
    border-color: #17933A;
    box-shadow: #6DAC40 0px 4px 16px, #6DAC40 0px 8px 24px, #6DAC40 0px 16px 56px;
}
@media only screen and (max-width: 600px) {
    .item {
        margin: auto;
        padding: 0;
        position: relative;
        width: 480px;
        height: 300px;
        background: #c2c2c2;
    }

    .item img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
    }
}

body {
    padding-top: 56px; /* Задаем отступ для компенсации фиксированного навбара */
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh; /* Задаем высоту вьюпорта */
    width: 350px;
    z-index: 1;
    background-color: #fff;
    padding-top: 56px; /* Задаем отступ для компенсации фиксированного навбара */
}

.main-content {
    margin-top: 0;
    margin-left: 350px;
    background-color: #F8F9FA;
    padding: 0 18px;
}

.nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 22px;
}

.nav-link {
    color: #A0AEC0 !important;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    display: flex;
    align-items: center; /* Align text and icon vertically */
}

.nav-icon {
    background: #F0F7EC;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    padding: 12px;
    color: #6DAC40;
    margin-right: 10px; /* Adjust the margin as needed */
}

.badge {
    margin-left: 10px; /* Adjust the margin as needed */
}

.nav-link.active > .nav-icon {
    background: #6DAC40;
    border-radius: 12px;
    width: 40px;
    height: 40px;
    color: #F0F7EC;
    transition: 1s;
}

.nav-item.active {
    background-color: #F0F7EC;
    border-radius: 10px;
    transition: 1s;
}

.nav-link.active {
    color: #2D3748 !important;
    transition: 1s;
}

.sidebar-category{
    padding-left: 70px;
}

.custom-a{
    color: red;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.custom-a.active{
    color: #2D3748;
    transition: 1s;
    text-decoration: none;
}

.custom-a > .badge{
    color: #6DAC40;
    background-color: #F0F7EC;
    border-radius: 10px;
    padding: 3px 16px;
}

.custom-a.active > .badge{
    color: #F0F7EC;
    background-color: #6DAC40;
    transition: 1s;
}

.application-name{
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    text-decoration: none;
}
.custom-shadow{
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.main-title{
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 0em;
    text-align: left;
    color: #2D3748;
    text-decoration: none;
    font-style: normal;
}

.panel{
    background-color: #FFFFFF;
    border-radius: 15px;
}

.panel-heading{
    border-bottom: 1px grey solid;
    padding: 20px;
}

.panel-body{
    padding: 20px;
}

.th{
    border: none !important;
}

.form-control{
    width: 410px;
    border-radius: 16px!important;
    border: 1px;
}
.select2-selection {
    width: auto;
    border-radius: 16px!important;
    border: 1px;
    border: 1px black solid;
}

.table-title{
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: 0em;
    text-align: left;
}

.paginate_button{
    border: 1px solid #A3AED0 !important;
}

.paginate_button.current{
    background: #E8F4EB !important;
    border: 1px solid white !important;
    color: #6DAC40 !important;
}

.paginate_button.disabled{
    border: 1px white solid !important;
}

.paginate_button.next{
    border: 1px white solid !important;
}

.paginate_button.previous{
    border: 1px white solid !important;
}
tr, td, th{
    box-shadow: 0px -1px 0px 0px #E4E4EF inset;
    border: none !important;
}

.btn.btn-default{
    background: #F8F9FA;
    border-radius: 15px;
}

.btn.btn-purple{
    background: #EDEDFE;
    color: #716FEE;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: center;
}
.btn.btn-pink{
    background: #F279A21A;
    color: #F279A2;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: center;
}
.btn.btn-green{
    background: #17933A1A;
    color: #17933A;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: center;
}

.btn.btn-purple:hover{
    background: #EDEDFE;
    color: #716FEE;
}
.btn.btn-pink:hover{
    background: #F279A21A;
    color: #F279A2;
}
.btn.btn-green:hover{
    background: #17933A1A;
    color: #17933A;
}

.custom-white-btn{
    border-radius: 24px;
    background: #FFFFFF;

}

.img-circle{
    width: 20px;
    height: 20px;
    border-radius: 30px;
}

.user-bar-txt{
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: -0.02em;
    text-align: left;
}

.dataTable tbody > tr.selected, .dataTable tbody > tr {
    cursor: pointer;
}

.dataTable thead > tr > th {
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 28px !important;
    letter-spacing: 0em !important;
    text-align: left !important;
    color: #B5B7C0!important;
}

.dataTable tbody > tr > td {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 22px !important;
    letter-spacing: 0em !important;
    text-align: left !important;
    color: #000000B2;
}

.dataTable tbody > tr.selected, .dataTable tbody > tr:hover {
    background-color: #F0F7EC;
}

.table-hover > tbody > tr.selected > td {
    background-color: #F0F7EC !important;
}

.dt-button-collection > .disabled {
    cursor: default;
}

.back-link{
    color: #2D374880!important;
    font-size: 18px;

}

.back-links:last-child .back-link{
    color: black!important;
}

.stepy-header li div {
    background-color: #F0F7EC;
    color: #6DAC40;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
}

/* Customize step active color */
.stepy-header li.stepy-active div {
    background-color: #F0F7EC;
    color: #6DAC40;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.stepy-header li.stepy-active span{
    color: #6DAC40;
}

.stepy-header li:after span{
    color: #6DAC40;
}

.stepy-header li:after div{
    background-color: #F0F7EC;
    color: #6DAC40;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 50px;
}


.stepy-header li span{
    /*font-size: 16px;*/
    /*line-height: 19px;*/
    /*letter-spacing: 0em;*/
    font-weight: bold;
}

.certificate-form{
    padding: 50px;
}

.button-back, .button-next{
    color: #fff;
    background-color: #17933A;
    border-color: #17933A;
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 15px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-auth{
    background-color: #6DAC40 !important;
}

.form-control:focus{
    border: 1px solid #ced4da !important;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset !important;
}
.select2-selection:focus{
    border: 1px solid #ced4da !important;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset !important;
}

.dt-button-collection > .dt-button.active{
    background-color: #6DAC40;
    color: #F0F7EC;
}

.form-control.anytime-both{
    border-radius: 0px !important;
}

.input-group-addon{
    border: 1px solid #ced4da;
    padding: 10px;
}

.input-group-addon:first-child {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.input-group-addon:last-child {
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.hidden{
    display: none !important;
}

.badge-primary{
    border-color: #F0F7EC !important;
}


.sidebar-scroll{
    max-height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

#scroll-1::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px #FFF;
    border-radius: 10px;
    background-color: #F5F5F5;
}

#scroll-1::-webkit-scrollbar
{
    width: 8px;
    background-color: #F5F5F5;
}

#scroll-1::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px #FFF;
    background-color: rgba(109, 172, 64, 0.8);
}

.modal-content.custom-modal{
    background: none;
    border: none;
    width: 150%;
}

.uploader .file-name{
    display: inline !important;
}

.btn.action{
    border-radius: 0 16px 16px 0;
    border: 1px solid #ddd;
}

.btn-group .btn:first-child {
    border-top-left-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
}

.btn-group .btn:last-child{
    border-top-right-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
}

.btn-group .btn{
    border-radius: 0 !important;
}

.fast-view-text-container {
    display: flex;
    justify-content: space-between;
}

.fast-view-text-container span:first-child {
    order: 1; /* Первые элементы справа */
}

.fast-view-text-container span:last-child {
    order: 2; /* Вторые элементы слева */
}

.custom-link{
    color: #A0AEC0;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-decoration: none;
}

.custom-link.active{
    color: #2D3748;
}


.scrollable {
    overflow-x: auto;
    overflow-y: auto;
    max-width: 100%;
    max-height: 50vh; /* Set a maximum height for vertical scrolling */
    margin-bottom: 1em;
    position: relative;
}

.scrollable::-webkit-scrollbar {
    width: 12px;
}

.scrollable::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 10px;
}

.scrollable::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.scrollable::-webkit-scrollbar-corner {
    background-color: #f1f1f1;
}

.scrollable::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.accordion-button:focus{
    background-color: #FFFFFF !important;
}
