.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: #e2e2e214;
    margin: 20px auto 20px;
    width: 320px;
    position: relative;
    color: #fff !important;
    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;
}

.panel-registration-form {
    background: #e2e2e214;
    margin: 20px auto 20px;
    width: 500px;
    position: relative;
    color: #fff !important;
    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;
}

.panel-login-form:hover {
    background: #00968833;
}

.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%;
    }
}

@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%;
    }
}


.coin {
    font-size: 100px;
    width: 0.1em;
    height: 1em;
    background: linear-gradient(#faa504, #141001);
    margin: auto;
    top: 70%;
    left: -90%;
    right: 0;
    bottom: 0;
    position: fixed;
    animation: rotate_4001510 7s infinite linear;
    transform-style: preserve-3d;
}

.coin .side, .coin:before, .coin:after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    overflow: hidden;
    border-radius: 50%;
    right: -0.4em;
    line-height: 1;
    transform: rotateY(-90deg);
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.coin .tails, .coin:after {
    left: -0.4em;
    transform: rotateY(90deg);
}

.coin:before, .coin:after {
    background: linear-gradient(#faa504, #141001);
    backface-visibility: hidden;
    transform: rotateY(90deg);
}

.coin:after {
    transform: rotateY(-90deg);
}

@keyframes rotate_4001510 {
    100% {
        transform: rotateY(360deg);
    }
}

.svg_back {
    transform: scaleX(-1);
}


.card {
    width: 190px;
    height: 254px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f2f2f3;
    border-radius: 12px;
    box-shadow: inset 5px 5px 10px #a9a9aa77,
    inset -5px -5px 10px #ffffff7e;
}

.card .img {
    height: 100px;
    margin-top: 1.6em;
    aspect-ratio: 1;
    border-radius: 30%;
    background: #f2f2f3;
    margin-bottom: 0.4em;
    box-shadow: -5px -5px 8px #ffffff7a,
    5px 5px 8px #a9a9aa7a;
}

.card .info {
    text-align: center;
    margin-top: 0.4em;
    background: linear-gradient(120deg, rgba(0,194,255,1) 0%, rgba(0,86,255,1) 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card .info > span {
    font-weight: bold;
    font-size: 1.2em;
}

.card a {
    margin-top: 1em;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(90deg, rgba(0,194,255,1) 0%, rgba(0,86,255,1) 100%);
    padding: .5em 2em;
    border-radius: 0.7em;
}

.card a:active {
    box-shadow: inset 3px 3px 3px #0056ff,
    inset -3px -3px 3px #00c2ff;
}

.sidebar{
    width: 30%;
}


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

.btn.btn-primary:focus {
    border-radius: 15px !important;
}
.btn.btn-primary:active {
    border-radius: 15px !important;
}
@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%;
    }
}


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

.main-content {
    margin-top: 0;
    margin-left: 300px;
    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: #3333332b;
    border-radius: 12px;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    padding: 12px;
    margin-right: 10px; /* Adjust the margin as needed */
}

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

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

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

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

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

.custom-a.active{
    color: #FFFFFF;
    background-color: #3333332b;
    transition: 1s;
    text-decoration: none;
}

.custom-a > .badge{
    background-color: #3333332b;
    color: #A0AEC0;
    border-radius: 10px;
    padding: 3px 16px;
    border: none;
    font-weight: bold;
}

.custom-a.active > .badge{
    background-color: #A0AEC0;
    color: #FFFFFF;
    font-weight: bold;
    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{
    border: 1px solid #ced4da !important;
    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;
}


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




.custom-white-btn{
    border-radius: 24px;
    background: #FFFFFF;
    width: 100px !important;
}

.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: #3333332b;
}

.table-hover > tbody > tr.selected > td {
    background-color: #3333332b !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: #3333332b;
    border: none;
    width: 50px;
    height: 50px;

}

/* Customize step active color */
.stepy-header li.stepy-active div {
    background-color: #3333332b;
    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;
    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;
}

.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;
}



.main-nav{
    height: 10vh;
    padding: 3vh;
}

.panel{
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 18px 50px -10px;
}

.ribbon {
    background-color: #3498db;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    left: -50px;
    top: 5px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    z-index: 10;
    font-size: 12px;
}

.ribbon small {
    border: 1px solid #FFF;
    color: #FFF;
    display: block;
    font: bold 100% 'Helvetica Neue';
    margin: 1px 0;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 5px ;
}


.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(52, 152, 219, 0.58);
}

.badge.badge-purple{
    color: #FFFFFF;
    background-color: #9382e4;
    transition: 1s;
    text-decoration: none;
    border-color: #5e3ff1;
    font-weight: bold;
}

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