
/* Исправления карточки курса */
.card-course a {
    text-decoration: none !important;
}
main .card {
    border-radius: 1rem !important;
    padding: 0.2rem !important;
}
.card.card-course:hover {
    box-shadow: 0 15px 40px rgb(3 30 128/8%) !important;
}

/* Исправлени на странице мероприятия */
.badge.br-15.bg-grey-light.ps-2.pe-2.pt-1.pb-1 {
    white-space: normal;
}
.bottom-2 {
    bottom: -2rem;
}
.right-0 {
    right: 0;
}

/* исправления на странице каталога книг */
main .btn-close {
    background: url('/images/close.svg') 0 3px no-repeat !important;
}
main .filter .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 12px !important;
}

main .btn-group .btn-outline-grey, main .btn-group .btn-outline-white {
    padding: 0.5rem 1rem !important;
}
main .btn-datalib {
    padding: 0.5rem 1rem !important;
    border: 2px transparent solid !important;
}
#nav-tabContent {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0;
}
#nav-tabContent::-webkit-scrollbar-track {
    background-color: #CDD2E6;
    border-radius:.5rem;
}
#nav-tabContent::-webkit-scrollbar {
    width: 8px;
    background-color: #b6bbd1;
}
#nav-tabContent::-webkit-scrollbar-thumb {
    background-color: #031d80;
    border-radius:.5rem;
}
.related-categories .form-check {
    border-bottom: 1px #dfe2ef solid;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}
p.related-title {
    font-size: 16px;
    font-weight: 600;
    padding-left: 1.4rem;
}
.related {
    background: #ffffffab;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}
.form-check-input:checked {
    background-color: #031d80;
    border-color: #031d80;
}
/*.form-control {*/
/*    padding: 0.5rem 1rem;*/
/*    font-weight: 500;*/
/*    line-height: 1.6;*/
/*    color: rgba(0, 0, 0, 0.5);*/
/*    border: 2px solid #CDD2E6;*/
/*    border-radius: 0.75rem;*/
/*}*/
/*.btn-primary {*/
/*    background-color: #031e80;*/
/*    border-color: #031e80;*/
/*}*/
/*.btn-primary:hover,.btn-primary:focus {*/
/*    color: #fff;*/
/*    background-color: #02218f;*/
/*    border-color: #02218f;*/
/*}*/
/*.btn {*/
/*    font-weight: 500;*/
/*    line-height: 1.6;*/
/*    border: 1px solid transparent;*/
/*    padding: 0.5rem 1rem;*/
/*    font-size: 1rem;*/
/*    border-radius: 0.75rem;*/
/*}*/
.modal-content {
    border-bottom: 2px solid #CDD2E6;
    border-radius: 0.75rem;
    padding: 2rem;
}
.modal-header {
    padding: 0 0 .75rem 0;
    margin: 0 1rem;
}
.modal-title {
    margin-bottom: 0;
    line-height: 1;
    color: #031E80;
    font-size: 30px;
    font-weight: 700;
}
.modal-backdrop {
    background-color: #9095a9;
}
.modal-header .btn-close {
    padding: 0.15rem 0;
    margin: -0.5rem 0 -0.5rem auto;
}
.form-label {
    color: rgba(0, 0, 0, 0.5);
}
.modal-footer {
    border-top: 0;
}
main select:active, main select:focus {
    background-position-x: 95%;
}
#mainpage #mainNavigation .card p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5rem;
    color: #A2ACB9;
}

p.footer-pale-white-mini {
    color: rgba(255, 255, 255, 0.7);
}

.dropdown-item {
    padding: .5rem .75rem;
}
.dropdown-item.active, .dropdown-item:active {
    color: #031E80;
    text-decoration: none;
    background-color: #E5E8F2;
    padding: 0.5rem 0.75rem;
}
button.btn.dropdown-toggle.btn-light {
    color: #9c9c9c;
    border: 2px #cdd2e6 solid;
    font-size: 14px;
    line-height: 1.6;
}
button.btn.dropdown-toggle.btn-light:focus {
     outline: 0 auto -webkit-focus-ring-color!important;
}
/*.bootstrap-select .dropdown-menu li.selected.active {*/
/*    background: #E5E8F2;*/
/*}*/
/*.bootstrap-select .dropdown-menu {*/
/*    min-width: 100%;*/
/*    -webkit-box-sizing: border-box;*/
/*    -moz-box-sizing: border-box;*/
/*    box-sizing: border-box;*/
/*    border-radius: 1rem;*/
/*    padding: 1rem 0;*/
/*    box-shadow: 0px 15px 40px rgb(3 30 128 / 5%) !important;*/
/*    border: 0;*/
/*}*/
.sidebar-menu a {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    padding-left: 0.25rem;
}
button.btn.btn-list {
    font-family: 'Gilroy-Medium', sans-serif;
    font-size: 16px;
    color: #000000;
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
    margin-bottom: 0.5rem;
}
a.list-no-active {
    line-height: 28px;
    font-size: 16px;
}

a.list-sidebar {
    margin-left: 0.25rem;
}
a.list-active {
    color: #031E80;
    text-decoration: none;
    font-weight: 500;
    margin-left: 0.25rem;
}
/* Изменение стилей табов */
.my-questions .nav-tabs {
    border-bottom: 0;
    margin-bottom: 2rem;
}
.my-questions .nav-tabs .nav-item.show .nav-link, .my-questions .nav-tabs .nav-link.active {
    color: #031E80;
    background-color: #fff;
    border: 3px #031e80 solid;
    border-width: 0 0 2px 0;
}
.my-questions .nav-tabs .nav-link {
    font-size: 30px;
    color: #031E80;
    font-family: 'Gilroy-Semibold', sans-serif;
    padding: 1rem 0;
    text-transform: uppercase;
    border: 3px solid transparent;
    border-width: 0 0 3px 0;
    margin-bottom: 0;
}
.my-questions .nav-tabs .nav-link:focus, .my-questions .nav-tabs .nav-link:hover {
    isolation: isolate;
    text-decoration: none;
    border: 3px #CDD2E6 solid;
    padding-bottom: 1rem;
    border-width: 0 0 3px 0;
}

ul.list-unstyled li {
    border-bottom: 1px #dee2ef solid;
    padding: 0.5rem 0;
}
ul.list-unstyled li ul li {
    border-bottom: none;
    margin-bottom: 0.5rem;
    padding: 0;
}
.block.white-block {
    box-shadow: none;
}

.block h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'Gilroy-Bold', sans-serif;
}

ul.nav.nav-tabs.nav-tabs-normal .nav-link {
    font-size: 16px;
    font-family: 'Gilroy-Semibold', sans-serif;
    text-transform: none;
}
.form-control[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    color: #031e80;
    background-color: #dee2ef;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}
.modal-dialog.modal-xxl {
    max-width: 96%;
}
.dl-btn-outline-secondary {
    border-color: #CDD2E6;
}
/*main .filter .bootstrap-select button.btn-light {*/
/*    border: solid 0 #CDD2E6 !important;*/
/*}*/
.dl-form-search-control {
    background: #CDD2E6;
}
/*.radio-btn-group {*/
/*    font-family: 'Gilroy-Medium', sans-serif;*/
/*}*/
/*.radio-btn-group .btn-secondary {*/
/*    background: #E5E8F2;*/
/*    color:#000000;*/
/*}*/
/*.radio-btn-group .btn-secondary:hover.radio-btn-group .btn-secondary.active {*/
/*    background: #CDD2E6;*/
/*}*/
/*.btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {*/
/*    color: #000000;*/
/*    background-color: #CDD2E6;*/
/*    border-color: #CDD2E6;*/
/*}*/

.course-title {
    color: #031E80;
    font-family: "Gilroy-Medium", sans-serif;
    font-size: 14px;
}
.card-course-h {
    border: 2px solid #E5E8F2;
    box-shadow: 0 4px 5px rgba(165, 52, 54, 0.05);
    border-radius: 10px;
}

.card-course-h a.mr-3.d-inline {
    margin-right: 2rem;
}
/*.shadow {*/
/*    box-shadow: 0 4px 5px rgb(165 52 54 / 5%) !important;*/
/*}*/
.video-wrap iframe{
    border-radius: 2rem;
}
/*.fw-bold {*/
/*    font-family: "Gilroy-Bold", sans-serif !important;*/
/*}*/
img.category-icon {
    max-width: 60px;
}

.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free" !important;
}


/* Конструктор */
#profile #selection-constructor #FormSelectionConstructor table.listBooks thead {
    color: #fff;
    background-color: #0A1992;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks thead button {
    padding: 5px 10px;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks tbody tr.col-titles {
    background-color: #f1f1f1;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks tbody tr.col-titles td {
    padding: 2px 0.75rem;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks tbody tr.col-titles td.book-id {
    width: 100px;
    text-align: center;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks tbody tr.col-titles td.book-action {
    width: 122px;
    text-align: center;
}
#profile #selection-constructor #FormSelectionConstructor table.listBooks button.delete-book {
    padding: 2px 7px;
}
#profile #selection-constructor .react-tagsinput {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    padding-left: 5px;
    padding-top: 5px;
}
#profile #selection-constructor .react-tagsinput-tag {
    background-color: #0A1992;
    border-radius: 4px;
    border: 1px solid #0A1992;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 0 5px;
}
#profile #selection-constructor .react-tagsinput-remove {
    cursor: pointer;
    font-weight: bold;
}
#profile #selection-constructor .react-tagsinput-tag a::before {
    content: " Г—";
}
#profile #selection-constructor .react-tagsinput-input {
    background: transparent;
    border: 0;
    color: #777;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 6px;
    margin-top: 1px;
    outline: none;
    padding: 5px;
}
#profile #selection-constructor .react-modal-container .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.25);
}
#profile #selection-constructor .react-modal-container .react-modal {
    position: absolute;
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    display: block;
    width: 800px;
    min-height: 150px;
    background-color: #fff;
}
#profile #selection-constructor .react-modal-container .books {
    position: sticky;
    top: 250px;
}
#profile-lessons-edit .constructor {
    position: relative;
}
#profile-lessons-edit .constructor .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    z-index: 9999;
}
#profile-lessons-edit .constructor .toolbar {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #0A1992;
}
#profile-lessons-edit .constructor .toolbar .toolbar-section {
    padding: 0 15px;
}
#profile-lessons-edit .constructor .toolbar .toolbar-section:not(:last-child) {
    border-right: solid 1px #969fd8;
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #969fd8;
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link {
    display: flex;
    align-items: center;
    font-weight: 600;
}
@media only screen and (max-width: 1600px) {
    #profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link {
        font-size: 14px;
    }
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link:before {
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    background-size: cover;
}
@media only screen and (max-width: 1600px) {
    #profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link:before {
        width: 20px;
        height: 20px;
    }
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.title:before {
    background-image: url("/images/icons/toolbar/title_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.title.active:before {
    background-image: url("/images/icons/toolbar/title_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.text:before {
    background-image: url("/images/icons/toolbar/text_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.text.active:before {
    background-image: url("/images/icons/toolbar/text_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.picture:before {
    background-image: url("/images/icons/toolbar/picture_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.picture.active:before {
    background-image: url("/images/icons/toolbar/picture_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.video:before {
    background-image: url("/images/icons/toolbar/video_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.video.active:before {
    background-image: url("/images/icons/toolbar/video_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.book:before {
    background-image: url("/images/icons/toolbar/book_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.book.active:before {
    background-image: url("/images/icons/toolbar/book_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.link:before {
    background-image: url("/images/icons/toolbar/link_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.link.active:before {
    background-image: url("/images/icons/toolbar/link_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.file:before {
    background-image: url("/images/icons/toolbar/file_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.file.active:before {
    background-image: url("/images/icons/toolbar/file_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.test:before {
    background-image: url("/images/icons/toolbar/question_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.test.active:before {
    background-image: url("/images/icons/toolbar/question_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.answer:before {
    background-image: url("/images/icons/toolbar/answer_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.answer.active:before {
    background-image: url("/images/icons/toolbar/answer_aqua.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.webinar:before {
    background-image: url("/images/icons/toolbar/webinar_white.png");
}
#profile-lessons-edit .constructor .toolbar .toolbar-section .toolbar-section-buttons button.nav-link.webinar.active:before {
    background-image: url("/images/icons/toolbar/webinar_aqua.png");
}
#profile-lessons-edit .constructor .nav-tabs {
    border: none;
    background-color: #0A1992;
}
#profile-lessons-edit .constructor .nav-tabs .divider {
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
}
#profile-lessons-edit .constructor .nav-tabs .nav-link {
    padding: 0.5rem 1.5rem 0 0;
    color: #fff;
}
#profile-lessons-edit .constructor .nav-tabs .nav-link.active {
    color: #6cfdf8;
    background-color: #0A1992;
    border: none;
}
#profile-lessons-edit .constructor .nav-tabs .nav-link:hover {
    border-color: transparent;
}
#profile-lessons-edit .constructor .content-section .content-block {
    position: relative;
    margin: 0;
    padding: 15px;
}
#profile-lessons-edit .constructor .content-section .content-block .content-block-control {
    position: absolute;
    top: 10px;
    right: 15px;
}
#profile-lessons-edit .constructor .content-section .content-block .content-block-control button {
    border: none;
    background-color: #6cfdf8;
}
#profile-lessons-edit .constructor .content-section .content-block .content-block-control button i {
    color: #5c5c5c;
}
#profile-lessons-edit .constructor .content-section .content-block .form-construct {
    width: 100%;
    border: none;
    background: transparent;
}
#profile-lessons-edit .constructor .content-section .content-block .form-construct:focus {
    border: none;
    outline: none;
    box-shadow: 0;
}
#profile-lessons-edit .constructor .content-section .content-block input[name=header] {
    font-size: 2rem;
    font-weight: 600;
}
#profile-lessons-edit .constructor .content-section .content-block #drop-area {
    border: 2px dashed #ccc;
    border-radius: 20px;
    width: 480px;
    margin: 50px auto;
    padding: 20px;
}
#profile-lessons-edit .constructor .content-section .content-block #drop-area.highlight {
    border-color: purple;
}
#profile-lessons-edit .constructor .content-section .content-block #drop-area #gallery {
    margin-top: 10px;
}
#profile-lessons-edit .constructor .content-section .content-block #drop-area #gallery img {
    width: 150px;
    margin-bottom: 10px;
    margin-right: 10px;
    vertical-align: middle;
}
.btn.btn-list.align-items-center.rounded.p-1.pb-2 {
    padding: 0rem 0.25rem !important;
}
header nav a.dropdown-item:active {
    color: #ffffff !important;
}
#organizationsList a.d-flex.link-card:hover {
    box-shadow: 0px 15px 40px rgb(3 30 128 / 8%) !important;
}

.tt-menu {
    margin: 2px 0 !important;
    padding: 15px 5px !important;
    border: 1px solid rgb(0 0 0 / 7%) !important;
    -webkit-border-radius: 15px !important;
    -moz-border-radius: 15px !important;
    border-radius: 15px !important;
    -webkit-box-shadow: 0 5px 10px rgb(0 0 0 / 20%);
    -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
    box-shadow: 0 14px 23px rgb(3 30 128 / 38%) !important;
}
.tt-suggestion {
    padding: 3px 20px;
    font-size: 14px !important;
    line-height: 19px !important;
    margin-bottom: 0.5rem !important;
}
.tt-suggestion:hover {
     cursor: pointer;
     color: #fff;
     background-color: #031e80 !important;
 }
.list-categories .category-card {
    cursor:pointer;
}
.category-card:hover, .category-card.active {
    box-shadow: 0px 0px 5px -1px #031e80 !important;
}
.category-card.active .text-blue {
    color: #000 !important;
}
img.avatar {
    max-width: 65px;
    height: auto;
    min-height: auto;
}
