﻿/***************************/
/*Hint-Handler*/
/*Or: The Item In Your Hand*/
/***************************/
.hint-handler {
    height: auto;
    max-height: 100px;
    overflow: hidden;
    width: auto;
    max-width: 50%;
    border-radius: 5px;
    padding: 8px 14px;
    margin-top: 55px;
    margin-left: 65px;
    background: var(--drag-and-drop-background);
    border: 1px solid var(--drag-and-drop-border);
    top: 0;
    left: 0;
}

.hint-handler tr {
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    column-gap: 10px;
    align-items: center;
    justify-items: center;
}

.hint-handler tr td {
    display: grid;
    align-items: center;
    justify-items: center;
}

.hint-handler .k-alt {
    background: transparent;
}

.hint-handler tr .phoenix-action,
.hint-handler tr .phoenix-handler {
    display: none;
}

.hint-handler tr .phoenix-input-text {
    align-self: baseline;
}

.hint-handler p {
    margin: 0;
}

.hint-handler .tinymce-text-box {
    min-width: 110px;
    background-color: var(--inputfield-background);
    border: 1px solid var(--inputfield-border);
    border-radius: 3px;
    height: 4rem;
    display: grid;
    align-items: center;
    font-size: 1.6rem;
}

/******************************/
/*Placeholder*/
/*Or: Where Will My Item Land?*/
/******************************/
.phoenix-sortable-placeholder {
    border: 5px dashed var(--drag-and-drop-border);
    outline: 3px solid var(--white);
    outline-offset: 0;
    height: 2px;
    max-height: 2px;
    z-index: 10;
}

.phoenix-sortable-placeholder-bottom {
    border-bottom: 3px dashed var(--drag-and-drop-border) !important;
}

.phoenix-sortable-placeholder-top {
    border-top: 3px dashed var(--drag-and-drop-border) !important;
}

/*******************************************/
/*ExamQuestionsFillingView.cshtml exclusive*/
/*******************************************/
.hint-handler_QuestionsFilling {
    height: auto;
    overflow: hidden;
    width: auto;
    border-radius: 5px;
    padding: 8px 14px;
    background: var(--drag-and-drop-background);
    border: 1px solid var(--drag-and-drop-border);
}

#DraggingContainerExamBlockQuestion {
    table-layout: fixed;
}

#DraggingContainerExamBlockQuestion tr td:first-child {
    min-width: 50px;
}

#DraggingContainerExamBlockQuestion tr td:nth-child(2) {
    text-align: center;
}

.k-grid.highlighted-block,
.k-grid.highlighted-block tbody tr td,
.k-grid.highlighted-block tbody tr td.phoenix-action {
    background-color: var(--success-tint-025) !important;
}

.k-grid.highlighted-block tbody:hover,
.k-grid.highlighted-block tbody tr:hover,
.k-grid.highlighted-block tbody tr td:hover {
    background-color: var(--success-tint-025) !important;
}

.not-allowed-to-any-blocks {
    background-color: var(--accent-1);
}

.allowed-to-at-least-1-block {
    background-color: var(--success);
}

.no-fitting-block-4-all-selected-questions {
    background-color: var(--btn-inactive-background);
}