@font-face {
    font-family: 'Involve';
    src: url('/static/fonts/Involve-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Involve';
    src: url('/static/fonts/Involve-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Involve';
    src: url('/static/fonts/Involve-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Involve';
    src: url('/static/fonts/Involve-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

*,
body{
margin: 0;
padding: 0;
}
html,body{
    height: 100%;
}
body {
    font-family: 'Involve', Arial, sans-serif;
    background-position: center;
    background-image: url("/static/img/bg.svg");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    font-size: 20px;
    font-weight: 500;
}


/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    height: 6px;
    width: 6px;
  }
  *::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: #595959;
  }
  
  *::-webkit-scrollbar-track:hover {
    background-color: #717171;
  }
  
  *::-webkit-scrollbar-track:active {
    background-color: #717171;
  }
  
  *::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #FFAB47;
  }
  
  *::-webkit-scrollbar-thumb:hover {
    background-color: #DE953E;
  }
  
  *::-webkit-scrollbar-thumb:active {
    background-color: #DE953E;
  }

.fs-30{
    font-size: 30px!important;
}
.form-check-input:checked{
    background-color: #FFAB47!important;
    border-color: #FFAB47!important;
    box-shadow: none!important
}
.form-check-input{
    cursor: pointer;
}
.icon-eye{
    position: absolute;
    right: 10px;
    top: 25%;
    width: 25px;
    cursor: pointer;
}
.text-danger{
    font-size: 13px;
}
.text-main{
    color: orange!important;
}
.nav-link{
    font-size: 20px!important;
    font-weight: 600!important;
    line-height: 26.6px!important;
    text-align: left!important;
    color: #8A8989!important;
}
.nav-link.active{
    color: white!important;
    font-size: 40px!important;
    font-weight: 600;
    line-height: 53.2px;
    text-align: left;
    background-color: none!important;
    background: none!important;
}
.main-tabs .nav-link{
    border: none!important;
}
.main-tabs{
    border-bottom: none;
    align-items: center;
    margin-bottom: 30px;
    display: flex;
    list-style: none;
}
.main-tabs .nav-item{
    padding: 10px;
}
.delimetr{
    background: white;
    width: 2px;
    height: 25px;
    margin-top: 10px;
}
.main-ds{
    background: rgb(255 255 255 / 8%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    opacity: 1;
    color: white;
}
.main-text {
    font-size: 50px;
    line-height: 66.5px;
    text-align: left;
}
.main-h1{
    font-size: 30px;
    line-height: 66.5px;
    text-transform: uppercase;
}
.main-form-message {
    text-transform: uppercase;
    font-family: 'Involve', sans-serif;
    font-weight: 700;  /* This ensures the regular weight is used */
}
.main-ds mark{
    color: orange;
    background: none;
}
.indent {
    margin-left: 250px;
}
.menu-item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.main-link{
    color: orange!important;
}
.menu-item a{
    text-decoration: underline;
    color: white;
    font-size: 20px;
    font-weight: 400;
    line-height: 26.6px;
    transition: all 0.5s ease;
}
.menu-item a:hover{
    color: orange;
}
.form-group label{
    font-size: 18px;
    font-weight: 400;
    line-height: 23.94px;
    text-align: left;
    color: #8A8989;
    white-space: nowrap;
}
.form-control{
    height: 44px;
}
.btn-main{
    background: #FFAB47;
    color: white!important;
    border-radius: 10px!important;
    font-size: 18px;
    border: 1px solid #FFAB47!important;
    box-sizing: border-box;
    transition: all 0.5s ease;
    padding: .5rem ;
}
.btn-main:hover{
    background: #CD7002!important;
    border: 1px solid #CD7002!important;
}
.btn-main:active,
.btn-main:focus,
.btn-main:active:focus{
    background: none!important;
    border: 1px solid #FFAB47!important;
}
.btn-main2{
    background: none;
    color: #FFAB47!important;
    border-radius: 10px!important;
    font-size: 18px;
    border: 1px solid #FFAB47!important;
    box-sizing: border-box;
    transition: all 0.5s ease;
    text-decoration: none;
    padding: .5rem ;
}
.btn-main2:hover{
    background: #FFAB47!important;
    border: 1px solid #FFAB47!important;
    color: white!important;
}

.alert-success{
    transition: all 0.5s ease;
}
.main-hover-link{
    transition: all 0.5s ease;
}

.main-hover-link:hover{
    color: orange!important;
}
.toggleUserData{
    transition: all 0.5s ease;
}
.toggleUserData:hover{
    scale: 0.9;
}
.topic-block {
    overflow-y: auto;
    max-height: 300px;
}
.topic-item{
    padding: 15px;
    border: 1px solid;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    width: 32%;
}
.font-weight-normal{
    font-weight: 500!important;
}
.c-table {
    border-spacing: 1;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    position: relative;
    color: white;
    border: 1px solid
}
.c-header{
    background-color: #FFAB47;
}
.w-80{
    width: 80%;
}
.pocker-table{
    position: absolute;
    height: 445px;
    width: 825px;
    top: 85px;
    left: 146px;
    background: #121212;
    border-radius: 100%;
}
.player-cards{
    z-index: -1;
}
.delete-player{
    position: absolute;
    top: 0%;
    left: 170px;
    font-size: 11px;
    background: white;
    border: none;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.delete-cards {
    position: absolute;
    top: 13px;
    left: -7px;
    font-size: 10px;
    background: orange;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 100%;
    height: 15px;
    width: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-image {
    position: absolute; /* Position images absolutely */
    top: 0;
    left: 0;
    z-index: -3; /* Ensure the images have the required z-index */
}
.overlay-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px; /* Adjust width as needed */
    height: 60px; /* Adjust height as needed */
    background-color: transparent; /* Make overlay transparent */
    cursor: pointer; /* Show pointer cursor on hover */
    z-index: 1; /* Place overlay above images */
}
.overlay-2 {
    position: absolute;
    top: 0px;
    left: 64px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    cursor: pointer;
    z-index: 1;
}
.table-center{
    position: absolute;
    top: 7%;
    left: 8%;
    width: 86%;
    height: 82%;
}
.delete-own-cards{
    position: absolute;
    top: -15px;
    left: 108px;
    font-size: 11px;
    background: white;
    border: none;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-list{
    max-width: 500px;
    overflow-x: hidden;
    max-height: 600px;
    overflow-y: scroll;
}
.btn-outline-primary{
    border-color: white!important;
    color: white!important;
    text-align: left!important;
}

.span_perc{
    padding: 5px;
    background: orange;
    border-radius: 50px;
    display: block;
    width: 109px;
}
.testsBlock{
    overflow-y: scroll;
    max-height: 300px;
    overflow-x: hidden;
}


.delete-answer{
    padding: 8px;
    display: flex;
    border-radius: 100%;
    border: none;
    width: 11px;
    height: 11px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    background: orange;
    font-size: 10px;
    position: absolute;
    top: 0;
    left: 25%;
}
.answer-container{
    justify-content: center;
    display: grid;
    padding: 5px;
    background: #00000033;
    border-radius: 5px;
    width: 450px;
    font-size: 13px;
}
.answer-grid{
    gap: 2px;
}
.answer-item{
    font-weight: 600;
    padding: 3px;
    border: 1px solid #656565;
    cursor: pointer;
    text-align: center;
    color: black;
    border-radius: 4px;
    width: 29px;
    margin-bottom: 2px;
}
.answer-item.green{
    background: #CAD9C1;
}
.answer-item.yellow{
    background: #F6ECA7;
}
.answer-item.white{
    background: #E9F0F6;
}
.selected {
    background-color: #90EE90!important;
}
.answer-hide {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    width: 400px;
    margin: 25px auto auto;
}
.var-input{
    width: 250px!important;
}
.questions-list{
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.question-row{
    display: flex;
    overflow-y: scroll;
}
.question-header h2{
    font-size: 20px;
}
.delete-test, .delete-question{
    top: 0px;
    position: absolute;
    right: 0;
}
.delete{
    color: white;
    background: orange;
    font-weight: 600;
    padding: 10px;
    display: flex;
    border-radius: 100%;
    border: none;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    font-size: 11px;
}

.delete:hover{
    scale: 0.8;
}
.errorlist{
    list-style: none;
    margin: 0;
    color: #C93333;
    font-weight: 600;
}
/* Disabled button styles */
.btn-main:disabled,
.btn-main[disabled] {
    background-color: orange !important;
    cursor: not-allowed !important;
    opacity: 0.35 !important;
}
.table-bg{
    background: #2F2E2E;
    border-radius: 20px;
    width: 1200px;
    height: 600px;
    position: relative;
}
.w-90{
    width: 90%
}
.delete-budget{
    position: absolute;
    top: -6%;
    right: -24px;
}
.users-Block{
    overflow-y: scroll;
    max-height: 250px;
}
.approved-check{
    padding: 20px;
    font-size: 13px;
    padding-top: 8px;
}
.text-error {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}
.text-error {
    font-size: 13px;
}
.custom-check{
    --bs-form-check-bg: transparent!important;
    background-color: transparent!important;
    width: 24px!important;
    height: 24px!important;
    border: var(--bs-border-width) solid #8A8989!important;
}
.custom-check[type=radio]:checked {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="-4 -4 8 8"><circle r="2" fill="orange" stroke="none" stroke-width="0.5"/></svg>')!important;
    background-color: transparent!important;
}
.answer-button{
    padding: 10px;
    border-radius: 10px;
    border: 1px solid white;
    font-weight: 600;
    color: white;
    background: none;
    width: 100%;
}
.answer-button:hover{
    color: white!important;
    background: orange!important;
}
.answer-button.selected{
    color: white!important;
    background: orange!important;
}
.answer-button.selected-answer{
    border: 1px solid orange;
}
.answer-button.selected-answer.btn-success-answer{
    border: 1px solid #59C24F;
}
.answer-button.selected-answer.btn-danger-answer{
    border: 1px solid #C93333!important;
}
.answer-button.btn-danger-answer{
    border: 1px solid #C93333!important;
}
.answer-button.btn-success-answer{
    border: 1px solid #59C24F!important;
}
.lists{
    margin: 0;
    list-style: none;
}
.lists li{
    text-decoration: underline;
    font-size: 14px;
}
.rotate {
    transform: rotate(180deg);
    transition: transform 0.3s;
}
.fs-20{
    font-size: 18px;
}
.pocker-panel{
    width: 267px;
    height: 75px;
    gap: 0px;
    border-radius: 0px 0px 0px 20px;
    background: #121212;
    color: white;
    position: absolute;
    right: 0;
    padding: 16px;
}

.s-data{
    font-size: 20px;
    font-weight: 700;
    line-height: 26.6px;
}

.f-data, .t-data{
font-size: 12px;
font-weight: 600;
line-height: 15.96px;
color: #595959;
}
.delete-panel{
    position: absolute;
    top: 0;
    right: 1px;
    font-size: 11px;
    background: orange;
    border: none;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    transition: all 0.5s ease;
}
.delete-panel-row {
    position: absolute;
    top: 5px;
    left: 3px;
    font-size: 7px;
    background: orange;
    border: none;
    border-radius: 100%;
    height: 11px;
    width: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    transition: all 0.5s ease;
    z-index: 999999;
}
.delete-panel:hover,
.delete-panel-row:hover{
    scale: 0.8;
}

.replace{
    width: 267px;
    border-radius: 20px 0px 0px 20px;
}
.r-b, .g-b{
    display: flex;
    justify-content: space-between;
    padding: 1px 20px 3px 20px;
    height: 18px;
}
/* .r-b, .g-b {
    display: flex;
    justify-content: space-between;
    padding: 3px 10px 3px 10px;
    font-size: 12px;
} */

.form-control:focus{
    border-color: orange!important;
    box-shadow: 0 0 0 .25rem rgb(253 201 13 / 25%)!important;
}
.input[type="checkbox" i]{
    background-color: orange!important;
}
.modal-atributes{
    width: 94%;
    background: #ffa500;
    padding: 10px;
    margin-top: 10px;
    z-index: 10;
    border: 2px solid white;
    border-radius: 6px;
    transition: all 0.5s ease;
}
.g-b{
    background: #121212;
}
.pl-100{
    padding-left: 100px!important;
}
.hover-table{
    border-radius: 20px 0px 0px 20px;
    color: white;
    background: #232322;
}

.limit-chars {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
}
.hover-table-position{
    position: absolute;
    right: 0;
    top: 85px;
    z-index: 1000;
    height: 0px;
    opacity: 0;
    transition: opacity 0.5s ease, height 0.5s ease;
    overflow: hidden; /* Добавьте это, чтобы скрыть содержимое */
}
.pocker-panel {
    cursor: pointer;
    transition: all 0.5s ease;
}
.hover-table-position {
    transition: height 0.5s ease, opacity 0.5s ease;
}

.delete-player1 {
    position: absolute;
    top: 0%;
    left: 170px;
    font-size: 11px;
    background: white;
    border: none;
    border-radius: 100%;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


@media screen and (max-width: 1024px) {
    .plug-text{
        font-size: 26px;
        font-weight:700;
    }
}
@media screen and (max-width: 768px) {
    .plug-text{
        font-size: 20px;
        font-weight:700;
    }
}
@media screen and (max-width: 365px) {
    .plug-text {
        font-size: 17px;
        font-weight: 700;
    }
}
.question-form, .create-image-block{
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 660px;
}
@media screen and (min-width: 1365px) and (max-width: 1860px) {
    .col-12-1366{
        flex: 0 0 auto !important;
        width: 100% !important;
    }
    .c-1366{
        padding-left: 0!important;
        padding-top: 20px!important;
    }
    .table-bg,.grid-container{
        margin: auto!important;
    }
    .btn-1366{
        padding: .25rem !important;
    }
    .table-bg{
        scale: 0.7;
    }
    .main-image-rel{
        position: absolute;
        top: -90px;
        right: -213px;
    }
    .pl-100 {
        padding-left: 38px !important;
    }
    .answer-item {
        padding: 2px!important;
        border-radius: 4px;
        width: 24px!important;
        z-index: 10000!important;
        font-size: 11px!important;
    }
    .answer-container {
        width: 100%!important;
    }
    .question-container{
        overflow-y: hidden!important;
        overflow-x: hidden!important;
        max-height: none!important;
    }
    .hh{
        min-height: 486px!important;
    }
    .grid-answer{
        margin-top: 50px;
        width: 375px!important;
    }
}
.font-bold{
    font-weight: 600;
}
.delete-image{
    position: absolute;
    top: 0;
    right: 0px;
}
.undo{
    background: orange;
    color: white;
    border-radius: 2px;
    font-size: 13px;
    border: 1px solid orange;
    box-sizing: border-box;
    transition: all 0.5s ease;
    padding: 2px;
}
.undo:hover{
    background: none;
    color: orange;
    border: 1px solid orange;
}
.undo-player,.undo-panel{
    background: orange;
    color: white;
    border-radius: 2px;
    font-size: 13px;
    border: 1px solid orange;
    box-sizing: border-box;
    transition: all 0.5s ease;
    padding: 2px;
}
.undo-player:hover,.undo-panel:hover{
    background: none;
    color: orange;
    border: 1px solid orange;
}

.up, .down, .diag{
    width: 27px;
    height: 27px;
    display: block;
    z-index: 1000000;
    position: absolute;
}
.left, .right{
    width: 27px;
    height: 27px;
    display: block;
    z-index: 1000000;
    position: absolute;
}
.answer-item .down, .answer-item .left, .answer-item .right, .answer-item .up {
    display: none;
}
.answer-item.deleted-answer {
    background-color: #f00; /* Цвет для удаленных элементов */
}
.answer-opacity{
    opacity: 0!important;
    cursor: default!important;
}
#grid-answer {
    user-select: none; /* Отключает выделение текста */
}

#grid-answer .answer-item {
    -webkit-user-drag: none; /* Отключает перетаскивание изображения в браузере */
    user-select: none; /* Отключает выделение текста */
    -webkit-user-select: none; /* Отключает выделение текста в браузерах на основе WebKit */
    -moz-user-select: none; /* Отключает выделение текста в браузерах на основе Gecko */
    -ms-user-select: none; /* Отключает выделение текста в браузерах на основе Internet Explorer */
}

.tooltip-editable {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: orange;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.3s;
    pointer-events: none;
    visibility: hidden;
    z-index: 1000;
}

.answer-item[data-tooltip-visible="true"] .tooltip-editable {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tooltip-editable[contenteditable="true"] {
    border: 1px dashed #fff;
    padding: 8px;
}
.btn-main2:disabled, .btn-main2[disabled] {
    cursor: not-allowed !important;
    opacity: 0.35 !important;
}
.subtopics {
    padding-left: 20px; /* Отступ для визуального представления вложенности */
}
.focused {
    outline: 2px solid blue;
}
.border-green{
    border: 1px solid #59C24F !important;
}
.border-red{
    border: 1px solid #f00 !important;
}
.copy-question{
    position: absolute;
    right: 0;
    bottom: 0px;
}
.form-select{
    height: 42px!important;
}
.hover-table{
    font-size: 12px;

}
.center-coins{
    display: flex;
    align-items: baseline;
    gap: 4px;
    width: 200px;
    justify-content: center;
}
.multiselect-dropdown-list label{
    color: white!important;
}
.checked input[type="checkbox"] {
    accent-color: orange;
}
input[type="checkbox"] {
    accent-color: orange;
}

.checked label {
    color: orange;
}

.delete-user{
    color: white;
    background: orange;
    font-weight: 600;
    padding: 8px;
    display: flex;
    border-radius: 100%;
    border: none;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    font-size: 10px;
    position: absolute;
    left: -19px;
    top: 5px;
    text-decoration: none;
    transition: all 0.5s ease;
}
.delete-f-table{
    color: white;
    background: orange;
    font-weight: 600;
    padding: 8px;
    display: flex;
    border-radius: 100%;
    border: none;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    font-size: 10px;
    position: absolute;
    left: -12px;
    top: 2px;
    text-decoration: none;
    transition: all 0.5s ease;
}
.delete-user:hover{
    scale: 0.8;
}

.undo-center-coins{
    background: orange;
    color: white;
    border-radius: 2px;
    font-size: 13px;
    border: 1px solid orange;
    box-sizing: border-box;
    transition: all 0.5s ease;
    padding: 2px;
}
.undo-center-coins,.undo-table{
    background: black;
    color: white;
    border-radius: 2px;
    font-size: 13px;
    border: 1px solid orange;
    box-sizing: border-box;
    transition: all 0.5s ease;
    padding: 2px;
}
.drag-over {
    border: 2px dashed #f4be33;
    background-color: rgba(244, 190, 51, 0.2);
}

.sortable-placeholder {
    border: 2px dashed #f4be33;
    height: 50px;  /* Пример высоты, можно настроить */
    margin-bottom: 10px;
    visibility: visible !important;
    background: rgba(244, 190, 51, 0.2);
}

.dragging {
    opacity: 0.5;
}


.sort-handle{
    position: absolute;
    right: 0px;
    width: 20px;
    height: 20px;
    cursor: grab;
    z-index: 100;
    background: orange;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 12px;
    transition: all 0.5s ease;
}

.test-item, .training-item, .training-topic-item{
    padding: 15px;
    border: 1px solid;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    width: 32%;
}
.selected_answer{
    border: 2px solid orange;
}
.right-50{
    right: 50%
}
.opacity2{
    opacity: 0.2
}
.text-custom-loader{
    width: 75px!important;
    height: 75px!important;
    color: #ffc966;
}

.loader-modal{
    position: absolute;
    top: 50%;
    right: 50%;
}
.pointer{
    cursor: pointer;
}

.system-folder{
    border: 2px inset orange;
}