﻿
/*Switcher*/
.usoft-switcher {
    border-radius: 50px;
    background: #363A3F;
    box-shadow: 0px 4px 4px rgba(54, 58, 63, 0.1);
    border-radius: 50px;
    padding: 0;
}

.usoft-switcher .case {
    font-size: 20px;
    color: #FFFFFF !important;
    text-decoration: none;
}

.usoft-switcher .case:hover {
    color: #4F7CA3;
}

.usoft-switcher .case.active:hover {
    color: #FFFFFF;
}

.usoft-switcher .case.active {
    background-color: #4F7CA3;
    border-radius: 50px;

}

.usoft-switcher.eu-switcher {
    width: 433px;
    height: 48px;
}

.usoft-switcher.eu-switcher .case {
   line-height: 48px;
}

.usoft-switcher.materials-switcher {
    width: 308px;
    height: 40px;
}

.usoft-switcher.materials-switcher .case {
   line-height: 40px;
}

/*------------------------------------------*/
.group-checkbox-info:hover {
    /*background-image: url('icons/group_checkbox_info_hover.svg');*/
    cursor: pointer;
}

.usoft-description-area {
    width: 254px;
    height: 490px;
    background: #F7F7F7;
    border-radius: 0px 0px 5px 5px;
    padding: 0;
}


.usoft-description-area-header {
    width: 254px;
    min-height: 70px;
    background: #4F7CA3;
    border-radius: 5px 5px 0px 0px;
    padding: 10px;
}

.usoft-description-area-header h3, h4 {
    color: #FFFFFF !important;
}

.usoft-description-area-body {
}

.usoft-description-area-footer {
    margin-top: 5px;
}

#description-area {
    border: 0;
    padding-right: 5px;
    font-size: 20px;
    line-height: 25px;
    background-color: #F7F7F7;
    width: 100%;
    height: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    word-wrap: break-word;
}

#description-area:focus {
    outline: none;
}

/* width */
.usoft-description-area ::-webkit-scrollbar {
    width: 3px;
    cursor: pointer;
}
/* Track */
.usoft-description-area ::-webkit-scrollbar-track {
}

/* Handle */
.usoft-description-area ::-webkit-scrollbar-thumb {
    background: #4F7CA3;
}

    /* Handle on hover */
.usoft-description-area ::-webkit-scrollbar-thumb:hover {
    background: #4F7CA3;
    cursor: pointer;
}

input[type=number] {
    outline: none;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.change-marks-additional-info-btn {
    width: 130px !important;
    height: 30px !important;
    box-sizing: border-box;
    background: #4F7CA3 !important;
    color: #FFFFFF;
    border-radius: 50px;
    text-align: center;
    line-height: 20px;
    box-shadow: none !important;
}

.change-marks-additional-info-btn:hover {
    color: #FFFFFF;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*DataSource Styles*/
input[type="text"].usoft-new-field {
    padding: 0 20px;
    width: 300px;
    height: 40px;
    background: #E2E2E2;
    box-shadow: inset 0px 2px 5px rgba(104, 104, 104, 0.2);
    border-radius: 20px 0px 0px 20px;
}

.btn.usoft-datasource-btn-dark {
    color: #FFFFFF;
    margin: 0;
    width: 113px;
    height: 40px;
    background: #363A3F;
    box-shadow: 0px 4px 4px rgba(144, 78, 0, 0.15);
    border-radius: 0 50px 50px 0 !important;
}

.btn.usoft-form-btn-orange {
    margin: 0;
    color: #FFFFFF;
    width: 113px;
    height: 32px;
    line-height: 20px;
    background: #ED8000;
    border-radius: 0px 20px 20px 0px !important;
    box-shadow: 0px 4px 4px rgba(144, 78, 0, 0.15);
}


.btn.usoft-form-btn-dark {
    margin: 0;
    color: #FFFFFF;
    width: 100px;
    height: 37px;
    line-height: 20px;
    background: #363A3F;
    border-radius: 0px 20px 20px 0px !important;
    box-shadow: 0px 4px 4px rgba(144, 78, 0, 0.15);
}

.usoft-div-grey {
    padding-left: 20px;
    color: #363A3F;
    margin: 0;
    width: 204px;
    height: 40px;
    line-height: 40px;
    background: #E2E2E2;
    box-shadow: inset 0px 2px 5px rgba(104, 104, 104, 0.2);
    border-radius: 50px 0px 0px 50px !important;
    font-family: Futura Bk BT !important;
}

.usoft-div-dark {
    padding-left: 10px;
    color: #FFFFFF;
    margin: 0;
    width: 204px;
    height: 40px;
    line-height: 40px;
    background: #363A3F;
    box-shadow: 0px 4px 4px rgba(144, 78, 0, 0.15);
    border-radius: 0px 50px 50px 0px !important;
    font-family: Futura Bk BT !important;
}


.usoft-div-border-radius-50 {
    font-family: Futura Bk BT;
    font-size: 18px;
    line-height: 48px;
    padding-left: 80px;
    height: 48px;
    min-width: 500px;
    background: #FFFFFF;
    background-image: url('icons/student_works_folder.svg');
    background-position-x: 4%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: 3.5%;
    border: 2px solid #363A3F;
    box-sizing: border-box;
    border-radius: 50px;
    cursor: pointer;
}

.usoft-div-border-radius-50:hover {
    border: 2px solid #4F7CA3;
}

.usoft-div-border-radius-50:active {
    background-image: url('icons/student_works_folder_active.svg');
    background-color: #4F7CA3;
    border: 2px solid #4F7CA3;
    color: #FFFFFF;
}

.usoft-div-border-radius-50.student-work {
    background-image: url('icons/educational_task.svg');
    background-size: 4%;
}
.usoft-div-border-radius-50.student-work:active {
    background-image: url('icons/educational_task_white.svg');
}

.usoft-div-border-radius-50.student-work.test-task {
    background-image: url('icons/tests_icon.svg');
    background-position-x: 3.6%; 
    background-size: 4.7%;
}

.usoft-div-border-radius-50.student-work.test-task:active {
    background-image: url('icons/tests_icon_white.svg');
}

.usoft-div-border-radius-50.voter-link {
    color: #363A3F; 
    background-image: url('icons/user_without_plus.svg'); 
    background-size: 33px;
    /*background-position-x: 50px;*/
    /*padding-left: 10px;*/
    padding-left:70px; 
    background-position-x:20px
}

.usoft-div-border-radius-50.voter-link:active {
    color: #FFFFFF;
    background-image: url('/css/icons/user_without_plus_white.svg');
}

.browser-default.datasource-select {
    padding: 0 35px 0 10px;
    background: #FFFFFF;
    border: 2px solid #363A3F;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
    background-image: url('icons/datasource_icon.svg');
    background-position-x: 96%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-size: 10%;
    -webkit-appearance: none;
    color: #363A3F;
    cursor: pointer;
    width: 225px;
    height: 32px;
    position: relative;
    font-size: 18px;
    line-height: 22px;
}

.browser-default.datasource-select:focus {
    box-shadow: 0 0 1px 1px rgba(79,124,163, 0.8);
    outline: none
}

input[type="text"].usoft-datasource-field {
    padding-left: 10px;
    width: 175px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
    box-shadow: none;
}

div.usoft-datasource-field {
    margin-top: 20px;
    padding: 0;
    width: 210px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
}

input[type="text"].usoft-subject-lecturer {
    padding-left: 10px;
    width: 265px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
    box-shadow: none;
}

div.usoft-subject-lecturer {
    margin-top: 20px;
    padding: 0;
    width: 300px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
}

.btn.usoft-field-delete {
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    width: 35px;
    height: 30px;
    background: #4F7CA3;
    box-shadow: none;
    background-image: url('icons/delete-icon.svg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
}


input[type="text"].usoft-form-template-field {
    padding: 0 10px;
    width: 210px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
}
/*-----------------------------------------------------------------------------------------*/

/*History*/
.btn.usoft-history-btn {
    width: 270px;
    height: 48px;
    box-sizing: border-box;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    text-transform: none !important;
    font-family: Futura Bk BT !important;
    font-size: 20px !important;
    background-size: 12%;
    background-repeat: no-repeat;
}

.btn.usoft-history-btn.prev {
    padding-left: 30px;
    color: #363A3F;
    border: 2px solid #363A3F;
    background-position-x: 5%;
    background-position-y: 50%;
    background-image: url('icons/prev_history.svg');
}

.btn.usoft-history-btn.next {
    padding-left: 0;
    color: #ED8000;
    border: 2px solid #ED8000;
    background-position-x: 95%;
    background-position-y: 50%;
    background-image: url('icons/next_history.svg');
}


.btn.usoft-history-btn.prev:hover {
    background-image: url('icons/prev_history_white_icon.svg');
    color: #FFFFFF;
    background-color: #363A3F;
}

.btn.usoft-history-btn.next:hover {
    background-image: url('icons/next_history_white_icon.svg');
    color: #FFFFFF;
    background-color: #ED8000;
}


/*Form*/
.btn.usoft-form-field-delete {
    margin-top: 0;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    box-shadow: none;
    background-image: url('icons/delete_field.svg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
}


.field-type-btns-content {
    border: 1px solid #C0C0C0;
    border-radius: 10px;
    min-height: 70px;
    padding-top: 10px;
}

.btn.usoft-form-field-btn {
    padding-left: 40px;
    height: 40px;
    line-height: 28px;
    border-radius: 10px !important;
    background: #FFFFFF;
    background-repeat: no-repeat;
    background-position-y: 50%;
    background-position-x: 10px;
    box-shadow: none;
}

.usoft-div-grey.field-name {
    width: 330px;
    height: 40px;
}

.usoft-div-dark.field-type {
    width: 70px;
    background-position-x: 45%;
    background-position-y: 50%;
    background-repeat: no-repeat;
}

input[type=number].usoft-date, input[type=text].usoft-date {
    margin: 0 5px;
    text-align: center;
    font-size: 18px;
    line-height: 22px;
    height: 32px;
    background: #E2E2E2;
    box-shadow: inset 0px 2px 5px rgba(104, 104, 104, 0.2);
    border-radius: 20px;
}
input[type=number].usoft-date.day, input[type=text].usoft-date.day {
    width: 48px;
}

input[type=number].usoft-date.month, input[type=text].usoft-date.month {
    width: 48px;
}

input[type=number].usoft-date.year , input[type=text].usoft-date.year {
    width: 68px;
}

input[type=text].usoft-date.time, input[type=text].usoft-date.time {
    width: 78px;
    margin-left: 15px;
}
/**/



/**/
.usoft-checked {
    width: 270px;
    height: 38px;
    line-height: 34px;
    border-radius: 50px;
    box-sizing: border-box;
    text-transform: none !important;
    font-family: Futura Bk BT !important;
    font-size: 20px !important;
    background-size: 20px;
    background-position-x: 3%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    padding-left: 60px;
}

.usoft-checked.on {
    border: 2px solid #ED8000;
    box-shadow: 0px 4px 4px rgba(237, 128, 0, 0.15);
    color: #ED8000;
    background-image: url('icons/check_mark.svg');
}

.usoft-checked.off {
    border: 2px solid #C0C0C0;
    box-shadow: 0px 4px 4px rgba(85, 85, 85, 0.1);
    color: #C0C0C0;
    background-image: url('icons/ellipse.svg');
}

.usoft-checked.on.without-border, .usoft-checked.off.without-border {
    border: none !important;
    box-shadow: none !important;
    padding-left: 40px;
    line-height: 38px;
}

input[type=file]::-webkit-file-upload-button {
    visibility: hidden;
}

input[type=button].custom-fileInput {
    height: 155px;
    width: 220px;
    display: inline-block;
    overflow: hidden;
    padding: 0;
    background-image: url('icons/add_file_icon.svg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    box-shadow: none;
    line-height: 250px;
    text-align: center;
    color: #707070;
}

input[type=button].custom-fileInput:hover {
    background-image: url('icons/add_file_icon_hover.svg');
    color: #4F7CA3;
}

input[type=button].custom-fileInput.active-fileInput {
    background-image: url('icons/add_file_icon_hover.svg');
    color: #4F7CA3;
}

input[type=button].custom-fileInput.dragenter {
    background-image: url('icons/add_file_icon.svg') !important;
    background-repeat: no-repeat !important;
    background-position-x: 50% !important;
    background-position-y: 50% !important;
    /*color: #FFFFFF;
    opacity: 1;*/
    border: none !important;
    background: #C0C0C0;
}

.dragenter {
    border-radius: 10px;
    border: 1px dashed #363A3F;
    /*background-image: url('icons/add_file_icon_white.svg') !important;
    background-repeat: no-repeat !important;
    background-position-x: 50% !important;
    background-position-y: 50% !important;*/
    background: #C0C0C0;
}


/*.dragenter:before {
    position: absolute;
    content: "Перетащите сюда файлы";
    font-size: 30px;
    text-align: center;
    margin-left: 35%;
    margin-top: 30%;
    color: #FFFFFF;
}*/

/*Modal window*/

.modal-content {
    border-radius: 15px !important;
}

.modal-header, .modal-footer {
    font-size: 20px;
    border: none;
}



button.usoft-modal-close {
    position: absolute;
    right: 30px;
    top: 30px;
    background-repeat: no-repeat;
    background-image: url('/css/icons/modal_close.svg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-size: 100%;
    outline: none;
}

/*-----------PDF Modal -------------*/

embed.pdf-data-target{
    margin: auto auto;
}

    embed::-webkit-scrollbar {
        background-color: #c0c0c0;
        border-radius: 10px;
    }

/*-----------Blue div for elements-------------*/
div.usoft-blue-div {
    margin-top: 20px;
    padding: 0;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
}

input[type="text"].usoft-blue-input {
    padding: 0 10px;
    height: 30px;
    color: #FFFFFF;
    background: #4F7CA3;
    border-radius: 20px;
    box-shadow: none;
}



    /*Datepicker*/
    input[type=date].usoft-datepicker {
        height: 32px;
        background: #ffffff;
        box-shadow: none;
        width: 40px;
    }

    input[type=date].usoft-datepicker::-webkit-datetime-edit {
        display: none;
    }

    input[type=date].usoft-datepicker::-webkit-inner-spin-button {
        display: none;
    }

    input[type=date]::-webkit-clear-button {
        display: none; /* Hide the button */
        -webkit-appearance: none; /* turn off default browser styling */
    }

    input[type=date].usoft-datepicker::-webkit-calendar-picker-indicator {
        -webkit-appearance: none;
        background-image: url('/css/icons/date_icon.svg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100%;
        cursor: pointer;
        color: rgba(0, 0, 0, 0);
        opacity: 1;
        display: block;
        width: 25px;
        height: 25px;
        border-radius: 5px;
        background-color: #ffffff;
        box-shadow: 0px 4px 4px rgba(237, 128, 0, 0.15);
    }

.mark-parametr-info {
    font-size: 20px;
    color: #ED8000;
}


.download-btn:hover {
    content: url("/css/icons/download_blue.svg");
}

/*Temp styles for custom file input in FeedbackModal*/
input[type=button].usoft-custom-file-input {
    height: 155px;
    width: 220px;
    display: inline-block;
    overflow: hidden;
    padding: 0;
    background-image: url('icons/add_file_icon.svg');
    background-position-x: 50%;
    background-position-y: 50%;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    box-shadow: none;
    line-height: 250px;
    text-align: center;
    color: #707070;
}

input[type=button].usoft-custom-file-input:hover {
    background-image: url('icons/add_file_icon_hover.svg');
    color: #4F7CA3;
}

input[type=button].usoft-custom-file-input.active-fileInput {
    background-image: url('icons/add_file_icon_hover.svg');
    color: #4F7CA3;
}

input[type=button].usoft-custom-file-input.dragenter {
    background-image: url('icons/add_file_icon.svg') !important;
    background-repeat: no-repeat !important;
    background-position-x: 50% !important;
    background-position-y: 50% !important;
    border: none !important;
    background: #C0C0C0;
}
/*----------------------------------------------------------------------------*/
