/* css - evaluation plans */
ul.evaluation__tabs-ul {
    list-style: none;
    margin: 0 auto 10px;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.evaluation__tabs-span {
    display: flex;
    align-items: center;
    text-align: center;
    border: 1px solid;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 30px;
    width: 100px;
    height: 30px;
    justify-content: center;
    cursor: pointer;
    background: #efeeee;
}

li.evaluation__tabs-li.evaluation__plan--selected span {
    border: 1px solid #faaa5a;
    background: #feeede;
    color: #ea8622;
}

.evaluation__tabs-content.--selected-plan {
    display: block !important;
}

li.evaluation__tabs-li {
    margin: 0 5px;
}

.writing-essay-page .panel-title>a.no-arrow:after {
    content: '';
    display: none;

}

.writing-essay-page .panel-title>a.no-arrow .badge {
    right: 15px !important;
}

.writing-essay-page .col-right {
    background-color: #f5f5f5;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    align-self: flex-start;
    border-radius: 36px;
    margin-top: 34px;
    justify-content: center;
}

@media (min-width: 768px) and (max-width:991px) {
    .writing-essay-page .col-right {
        width: 100%;
        margin: 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .writing-essay-page .col-right {
        padding-top: 0;
        background-color: #fff;
        max-width: initial;
    }
}

.tasks__selectors.d-block {
    display: block !important;
    width: 100%;
}


/* css - writing ai */
.writing-essay-page .head-card {
    margin: 3.2rem 0 0;
}

.writing-essay-page .head-card__contents {
    display: flex;
    gap: 32px;
}

.writing-essay-page .head-card__col {
    flex: 1;
}

.writing-essay-page .head-card.-sample .score-panel {
    width: 100%;
}

.writing-essay-page .score-panel {
    display: flex;
    padding: var(--Space-xl, 24px);
    flex-direction: column;
    align-items: center;
    gap: var(--Space-lg, 16px);
    border-radius: var(--Space-xl, 24px);
    border: 1px solid var(--Primary-primary-50, #EAECEF);
    background: var(--Primary-primary-500, #294563);
    color: #fff;
}

.writing-essay-page .score-panel__title {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin: 0;
}

.writing-essay-page .score-panel__title strong {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-top: 4px;
}

.writing-essay-page .head-card.-sample .score-panel__scores {
    flex-wrap: initial;
}

.writing-essay-page .score-panel__scores {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.writing-essay-page .head-card.-sample .score-panel__score-item.-big {
    width: 50%;
}

.writing-essay-page .score-panel__score-item.-big {
    width: 100%;
}

.writing-essay-page .score-panel__score-item {
    border-radius: var(--Space-lg, 16px);
    background: var(--System-White, #FFF);
    display: flex;
    padding: var(--Space-md, 8px) 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.writing-essay-page .score-panel__score-item.-small {
    flex: 1;
}

.writing-essay-page .score-panel__score-item.-big .score-panel__score-item-title {
    font-size: 20px;
}

.writing-essay-page .score-panel__score-item-title {
    font-size: 16px;
    font-weight: 400;
    color: #787878;
}

.writing-essay-page .score-panel__score-item.-big .score-panel__score-item-val {
    font-size: 32px;
    background: var(--Gradient-Writing, linear-gradient(180deg, #FAA859 0%, #BB7F44 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.writing-essay-page .score-panel__score-item-val {
    font-size: 20px;
    font-weight: 700;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #294563;
}

.evaluation__item-card--footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 767px) {
    .writing-essay-page .head-card.-sample .score-panel__scores {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .writing-essay-page .head-card.-sample .score-panel__score-item.-big {
        width: 100%;
    }
}



.final-score__comment.collapse.in {
    display: flex !important;
}

.writing-essay-page .question-part .panel-heading a[aria-expanded="true"] {
    background-color: #F9A95A;
    color: #fff;
}

.writing-essay-page .part-score {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #294563;
    margin: 0 auto 2rem;
}

.writing-essay-page .part-score__text {
    font-size: 16px;
    font-weight: 700;
}

.writing-essay-page .part-score__val {
    border-radius: 24.211px;
    border: 0.807px solid #F9A95A;
    background: #FFF;
    display: flex;
    padding: 3.228px 6.6rem;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}

.writing-essay-page .evaluation__score {
    width: 120px;
    height: 46px;
    line-height: 46px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: absolute;
    right: 0;
    bottom: 153px;
    color: #ffffff;
    background-color: #294563;
    text-align: center;
}

@media (max-width: 767px) {
    .writing-essay-page .evaluation__score {
        bottom: 90%;
        width: auto;
        min-width: 66px;
        font-size: 16px;
    }
}

/* for text editor */
.note-editable {
    background: white !important;
}

.--show-contents {
    display: block !important;
}

.badge-danger {
    background-color: #a94442 !important;
}

del.-bb-orange {
    border-bottom: 2px solid orange;
    cursor: pointer;
}

span.correction.-bb-blue {
    border-bottom: 2px solid #5bc2d2;
    cursor: pointer;
}

.evaluate__anyway {
    border: 1px solid #d9dcdf;
    background-color: #fff !important;
    border-radius: 4px;
    padding: 24px;
}


.evaluate__anyway .nav-tabs {
    border: none;
    margin-bottom: 24px;
}

.evaluate__anyway .nav::before {
    display: table;
    content: " ";
}

.evaluate__anyway .nav-tabs li {
    margin-right: 10px;
}

.evaluate__anyway .nav>li {
    position: relative;
    display: block;
}

.evaluate__anyway .nav-tabs>li {
    float: left;
    margin-bottom: -1px;
}

.evaluate__anyway li,
.evaluate__anyway ul {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

.evaluate__anyway .active .my-purchase__btn {
    background-color: #294563;
    color: #fff;
}

.evaluate__anyway .my-purchase__btn {
    border-radius: 4px;
    border: none;
    height: 38px;
    padding: 0 16px;
    font-size: 14px;
    background-color: #d4dae0;
    color: #294563;
    width: auto;
    min-width: 80px;
}

.evaluate__anyway .no-answer {
    background-color: #f5f5f5;
    max-width: 100%;
    padding: 26px;
    border-radius: 10px;
}

.evaluate__anyway form.proqyz__post-evaluation-form .row {
    background: #f5f5f5;
}



/* css 1 */
.ql-editor * {
    font-family: 'Nunito' !important;
}

.ql-editor p {
    font-size: 18px;
}

.ql-editor h1 {
    font-size: 24px;
}

div#evaluation-modal:before {
    display: none;
}

div#evaluation-modal {
    text-align: left !important;
    padding: 0 !important;
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}



#evaluation-modal .modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

#evaluation-modal .modal-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

#evaluation-modal .modal-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: .3rem;
    border-top-right-radius: .3rem;
}

#evaluation-modal .modal-header.p-0 {
    min-height: 55px;
}

#evaluation-modal .modal-title {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#evaluation-modal .modal-body.p-0 {
    padding: 0;
}

#evaluation-modal .modal-body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    overflow-y: scroll;
}

#evaluation-modal .take-test__board--result {
    width: 100%;
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 7rem;
    left: 0;
    right: 0;
    z-index: 100;
    height: calc(100% - 7rem);
    transition: all 0.55s cubic-bezier(0.32, -0.08, 0.42, 1.22);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    padding: 0;
    background: red;
}

#evaluation-modal .highlight-box__note-buttons {
    flex-direction: column;
}

#evaluation-modal div#highlighter-contents {
    height: auto;
    min-height: calc(100% - 43px);
    border-bottom: none;
}

#evaluation-modal .suggesting--box div#highlighter-contents {
    min-height: calc(100% - 0px) !important;
}

#evaluation-modal .txt-replacer {
    background-color: initial !important;
    color: #000000 !important;
    text-decoration: line-through;
    text-decoration-color: #E91E63;
    text-decoration-style: solid;
    text-decoration-thickness: 3px;
}

#evaluation-modal .txt-replacer::before {
    content: attr(data-replace);
    display: inline-block;
    color: #E91E63;
    padding: 0px 5px;
    font-weight: 600;
    margin-right: 3px;
}

#evaluation-modal .notepad__item-reason {
    margin-top: 8px;
}

#evaluation-modal .notepad__item-reason::before {
    content: attr(data-title);
    font-weight: bold;
    color: #FF9800;
}

#evaluation-modal .notepad__item {
    border: 1px solid gray !important;
    border-radius: 11px;
    padding: 10px;
    margin: 6px 0;
    background: #edf2fa;
}

#evaluation-modal .notepad__item.replace .notepad__item-title {
    text-decoration: none;
}

#evaluation-modal .notepad__item-content::before {
    content: attr(data-title);
    font-weight: bold;
}

#evaluation-modal .notepad__item.note .notepad__item-title {
    text-decoration: none;
}

#evaluation-modal .ql-toolbar {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    z-index: 99;
    background: white;
}

#evaluation-modal div#highlighter-contents {
    top: 43px;
}

#evaluation-modal .suggesting--box div#highlighter-contents {
    top: 0;
}


#evaluation-modal.notepad-open .notepad {
    transform: translateX(0);
}

.suggesting--box .notepad {
    top: 56px !important;
    height: calc(100% - 124px) !important;
}

#evaluation-modal .notepad {
    top: 97px;
    right: 0;
    bottom: 65px;
    box-shadow: 0 0;
    position: fixed !important;
    border-radius: 0;
    border: 1px solid #c1c1c1;
    height: calc(100% - 166px);
    overflow: hidden;
}

#evaluation-modal.modal.loading .modal-content.main--content {
    display: none;
}

#evaluation-modal.modal.loading .modal-content.loading--content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h5.score-box__title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 1.5rem;
    width: 100%;
}

.score-box__tiles {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-content.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

ul.tabs {
    display: flex;
    margin: 0 auto;
    gap: 10px;
    margin-bottom: 20px;
}

li.tab-pills {
    display: flex;
    align-items: center;
    width: 100px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid;
    cursor: pointer;
    border-radius: 25px;
    height: 30px;
}

li.tab-pills.active {
    background: #284664;
    color: white;
}

.score-box--content {
    background: #284664;
    padding: 4px;
    color: white;
    border-radius: 6px;
}

.score-box--content label {
    padding-left: 6px;
    font-size: 13px;
}

.no-item {
    display: block;
    text-align: center;
    margin: 10px auto;
}

.hightlight-box--tab-content.active {
    display: flex !important;
    flex-direction: column;
}

ul.hightlight-box--tabs {
    width: 100%;
    display: flex;
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    gap: 10px;
}

li.hightlight-box--tab-pills {
    color: black !important;
    width: 90px;
    height: 30px;
    display: flex;
    border: 1px solid gray;
    border-radius: 16px;
    text-align: center;
    font-size: 13px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.hightlight-box--tab-pills.active {
    background: #284664;
    color: white !important;
}


.notepad__item-reason[contenteditable="true"] {
    outline: 0px solid transparent;
    border-radius: 5px;
    border: 1px solid #bdc5cf;
    padding: 8px;
}

/* css 2 */
.writing-essay-page .answer__col-right+.-close-btn {
    display: none;
}

.teacher-evaluation-correction--box {
    margin-bottom: 30px;
    border: 1px solid #f9a95a;
    background: white;
}

.teacher-evaluation-correction--box .txt-replacer {
    background-color: initial !important;
    color: #000000 !important;
    text-decoration: line-through;
    text-decoration-color: #E91E63;
    text-decoration-style: solid;
    text-decoration-thickness: 3px;
}

.teacher-evaluation-correction--box .txt-replacer::before {
    content: attr(data-replace);
    display: inline-block;
    color: #E91E63;
    padding: 0px 5px;
    font-weight: 600;
    margin-right: 3px;
}

.writing-essay-page .answer__col-right {
    position: static;
}

.writing-result-corrections p {
    display: block;
    margin: 0;
}

.writing-essay-page .answer__answer-box {
    position: relative;
    display: block !important;
}

.answer__status-header.-blue {
    background: #5BC2D2;
    border: 1px solid #268695;
}

.writing-essay-page .answer__status-box.-orange .answer__status-body {
    background-color: #f3e88b !important;
}

.writing-essay-page .answer__col-right {
    display: flex;
    flex-wrap: wrap;
    max-height: 600px;
    overflow-y: auto;
}

form.generate-teacher-evaluation-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px auto;
}

#evaluation-modal div#highlighter-contents {
    width: calc(100% - 366px);
}

div#notepad {
    box-shadow: 0 0;
}

.md-hide {
    display: none;
}

.-toggle-notepad--btn {
    position: fixed;
    right: 38px;
    bottom: 100px;
    padding: 10px;
    font-size: 20px;
    border-radius: 30px;
    border: 1px solid;
    color: #284664;
    box-shadow: 0 0 10px;
}

button.toggle--notepad.-toggle-notepad--btn-x {
    position: absolute;
    left: -6px;
    padding-left: 10px;
    background-color: #284664;
    border: 1px solid;
    color: white;
    border-radius: 0 5px 5px 0px;
    font-size: 12px;
    padding: 6px 10px 6px 15px;
}

@media screen and (max-width: 767px) {
    div#highlighter-contents {
        width: 100% !important;
    }

    div#notepad {
        box-shadow: 0px 4px 30px 0px rgba(41, 69, 99, 0.08) !important;
    }

    #notepad {
        transform: translateX(385px) !important;
    }

    .is-sm-open #notepad {
        transform: translateX(0) !important;
    }

    .md-hide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* .suggesting--box .notepad {
        top: 56px !important;
        height: calc(100% - 170px) !important;
    }

    .notepad{
        height: calc(100% - 211px) !important;
    } */
}


@media screen and (max-width: 767px) {
    .writing-essay-page .answer__col-right {
        position: fixed;
        left: 0;
        right: 0;
        height: 45vh;
        bottom: -45vh;
        transition: all 0.4s;
        background: #fff;
        box-shadow: 0 -3px 30px -10px #000;
        z-index: 19;
        border: 4px solid #fff;
        border-top: 40px solid #fff;
        padding: 12px;
        border-radius: 20px 20px 0 0;
        visibility: hidden;
        opacity: 0;
    }

    .writing-essay-page .answer__col-right.parent-focus {
        bottom: 0;
        visibility: visible;
        opacity: 1;
        display: block;
    }

    svg.match-line {
        display: none;
    }

    .writing-essay-page .answer__col-right.parent-focus+.-close-btn {
        visibility: visible;
        pointer-events: unset;
        transition: all 0.12s;
        transition-delay: .6s;
        opacity: 1;
    }

    .writing-essay-page .answer__col-right+.-close-btn {
        display: flex;
        visibility: hidden;
        pointer-events: none;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 32px;
        background-color: rgba(221, 221, 221, 0.65);
        cursor: pointer;
        color: #000;
        position: fixed;
        bottom: 40vh;
        right: 6px;
        transform: translateY(6px);
        opacity: 0;
        z-index: 20;
    }
}

/* slider button css */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.toggle-label {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

span.toggle-label.--editing-txt {
    color: #284664;
}

.suggesting--box span.toggle-label.--editing-txt {
    color: #919292;
}

.--suggesting-txt {
    color: #919292;
}


.suggesting--box .--suggesting-txt {
    color: #284664;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #284664;
}

input:checked+.slider:before {
    transform: translateX(30px);
}

.mode-icon {
    position: absolute;
    transition: opacity 0.4s ease-in-out;
    font-size: 12px;
}

.hidden {
    opacity: 0;
}

input:checked+.slider .fa-edit {
    opacity: 0;
}

input:checked+.slider .fa-lightbulb {
    opacity: 1;
}

#evaluation-modal .modal-footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.box-center {
    width: 300px;
}

#evaluation-modal .modal-footer::before {
    display: none;
}

textarea#user-suggestion-input {
    margin-bottom: 10px;
}

.box-right {
    display: block;
    width: 100%;
}


/* submit btn */
.btn-hide {
    display: none;
}

.submit-button {
    display: block;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75em;
    letter-spacing: 1px;
    height: 38px;
    width: 120px;
    line-height: 38px;
    overflow: hidden;
    background: #284664;
    border-radius: 3px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    float:right;
}

.submit-button:hover,
.submit-button:focus {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-button.animated {
    animation: 0.75s short-press cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.submit-button>span {
    display: block;
    color: white;
    text-align: center;
}

.submit-button>span.pre-state-msg {
    transition: all 0.7s cubic-bezier(0.77, 0, 0.175, 1);
    transition-delay: 0.75s;
}

.submit-button.state-1 .pre-state-msg {
    margin-top: -38px;
}

.submit-button.state-2 .pre-state-msg {
    margin-top: -76px;
}

@media screen and (max-width: 767px) {
    .toggle-container {
        gap: 6px;
        font-size: 12px;
    }

    .switch {
        width: 50px;
        height: 25px;
    }

    input:checked+.slider:before {
        transform: translateX(25px);
    }

    .slider:before {
        height: 15px;
        width: 15px;
        left: 5px;
        bottom: 5px;
    }

    .submit-button {
        font-weight: 300;
        font-size: 12px;
        height: 38px;
        width: 100px;
        border-radius: 20px;
    }
}