.essay-grader-page {
    margin-top:60px;
    margin-bottom:60px;
}
.upload_text_label {
    cursor: pointer;
}
.error_border {
    border:1px solid #ff0000;
}
.inactive,
.inactive:hover,
.inactive:active {
    background-color: #b1b1b1 !important;
}

.viewFullReportBtn{
    margin-top: 42px;
}
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 4px solid #ccc;
    border-top-color: #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: -5px;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.spinner.off {
    display: none;
}
.spinner.on {
    display: inline-block;
}
.essay-grader-page  {
    margin-top: 0;
}
.essay-grader-page .fileIcon {
    margin-right: 0;
}
.essay-grader-page .fileIcon:hover {
    opacity: 0.7;
}
.essay-grader-page {
    position: relative;
    overflow: visible;
}
[HIDE_THIS]
.tmpButtons {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: -70px;
    font-size: 11px;
}
.tmpButtons button {
    margin-bottom: 5px;
    padding: 3px 5px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
.tmpButtons button:hover {
    background-color: #e0e0e0;
}
.tmpButtons button:active {
    background-color: #d0d0d0;
}
[/HIDE_THIS]
.page h1 {
    font-family: var(--main-font), sans-serif;
    color: var(--black);
    font-size: 32px;
    font-weight: 600;
    margin: 20px 0 20px;
}

.instClear {
    display: flex;
    justify-content: space-between;
}

.instClear .clearAll {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #858585;
    cursor: pointer;
    margin-right: 12px;
}

.instClear .clearAll:hover {
    text-decoration: underline;
    color: #3e3e3e;
}

.instClear .clearAll:hover .icon {
    opacity: 0.8;
}

.instClear .clearAll .icon {
    width: 18px;
    height: 20px;
    background-image: url('/templates/img/clear1.svg');
    background-size: 100%;
    opacity: 0.5;
    margin-left: 10px;
    margin-bottom: 2px;
}

#upload_instr_files {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#upload_instr_files .file {
    display: flex;
    justify-content: space-between;
    padding-right: 12px;
}

#upload_instr_files .file .remove {
    width: 18px;
    height: 20px;
    background-image: url('/templates/img/clear1.svg');
    background-size: 100%;
    opacity: 0.5;
    cursor: pointer;
}

#upload_instr_files .file .remove:hover {
    opacity: 0.8;
}

#upload_instr_files .file span {
    color: #2563eb;
    cursor: pointer;
}

#upload_instr_files .file span:hover {
    text-decoration: underline;
}

.page h1 {
    max-width: 1000px;
    margin: 10px auto 20px auto;
}

.essay-grader-page {
    max-width: 1000px;
}

.fileIcon {
    background-image: url('/templates/images/attach2.svg');
    background-position: 0 0;
    width: 24px;
    height: 23px;
    background-size: contain;
    margin-bottom: 5px;
}

#assignment_instructions {
    padding-right: 3rem;
}

.graderTitle {
    max-width: 1000px;
    margin: 30px auto 30px auto;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    font-family: var(--main-font), serif;
}

#full_report_block {
    font-family: 'Times New Roman', Times, serif;
}

.graderPage2,
.graderPage1 {
    background: #fff;
    padding: 80px;
    line-height: 200%;
    min-height: 1400px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.graderPage1 h1,
.graderPage1 h2,
.graderPage1 h3,
.graderPage1 h4
{
    color: black !important;
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.graderPage1 h2
{
    font-weight: bold;
}

.graderPage1 h3
{
    font-weight: 400;
    font-size: 16px;
}

.graderPage1 h3 span
{
    color: black;
}

.pageNumber {
    text-align: right;
    margin: 0;
    padding: 0;

}

.downloadBtn {
    background-color: #2563eb;
    color: white;
    padding: 2px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-family: var(--main-font), serif;
    position: absolute;
}

.downloadBtn:hover {
    background-color: #1d4ed8;
}

img.waterMark {
    position: absolute;
    bottom: 80px;
    opacity: 0.1;
}

img.qr {
    position: absolute;
    bottom: 50px;
    opacity: 1;
    right: 50px;
}

.overallScore {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.graderPage1 .item {
    margin-bottom: 20px;
}

.share_link_popup {
    width:auto !important;
    max-width: 560px !important;
}

.share_link_popup .ok-btn {
    max-width: 200px !important;
}

#shared_link_button {
    text-align: center;
    cursor: pointer;
    margin-top: 7px;
}

.seoText {
    max-width: 1000px;
    padding: 20px;
    line-height: 200%;
    margin: 0 auto;
}

.seoText h3 {
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 10px;
}

.seoText p {
    text-indent: 2em;
}

.essay-grader-page {
    margin-bottom: 0;
}




@media screen and (max-width: 500px) {

    .words {
        text-align: center;
        margin: 0 0 0 -20px;
    }
    .keep {
        margin: 20px 0 0 0;
        text-align: center;
    }
    .page h1 {
        text-align: center;
        margin: 40px auto 20px auto;
    }
    #grade_essay_button {
        padding: 13px 0;
    }
    .mainPanel {
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    #view_full_report,
    #shared_link_button {
        padding: 11px 0;
    }
    .graderPage2, .graderPage1 {
        padding: 20px;
    }
    .downloadBtn {
        display: none;
    }

}


.downloadBtn {
    display: none;
}

.outPanel .res {
    position: relative;
}

#shared_link_button {
    display: flex;
    justify-content: center;
    position: absolute;
    width: 100px;
    right: -10px;
    top: -23px;
    padding: 5px 0;
    border: none;
}

#shared_link_button.hidden {
    display: none;
}

#shared_link_button img {
    width: 20px;
}

#shared_link_button span {
}

.scr1 {
    height: 373px;
    overflow: scroll;
}

@media screen and (max-width: 768px) {
    #shared_link_button {
        top: 6px;
        right: 1%;
    }
    .scr1 {
        height: unset;
        overflow: unset;
    }
}

.orderlistSectionInner {
    min-height: 700px;
}