/*header style*/

#content ol {
    padding: 0px 5px 0px 25px;
}

.dimkinatema{
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-radius: 0.3rem;
    background-color:#ffffff;

}

#back-top {
    position: fixed;
    bottom: 30px;
    margin-left: 85%;
    z-index: 3;
    /*float: right;*/
}
#back-top a {
    width: 108px;
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #000;
}
/* arrow icon (span tag) */
#back-top span {
    width: 108px;
    height: 108px;
    display: block;
    margin-bottom: 7px;
    background: #ddd url(http://2065-school.ru/img/up-arrow.png) no-repeat center center;
    /* rounded corners */
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    /* transition */
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover span {
    background-color: #777;
}

.drop_block {
    transform: translateX(-100%);
    animation: ani_appear 0.5s forwards;
}

.leave_block {
    transform: translateX(0);
    animation: ani_leave 0.5s forwards;
}

@keyframes ani_appear {
    0% {
        transform: translateX(-105%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes ani_leave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-110%);
    }
}

.kriterii {
    margin-right:0px;
    padding-left:10px;
    padding-right:10px;
    padding: 10px;
    border-radius:0.25rem;
    background-color:#0275d8;
}

.kriterii h3 {
    color: #edf6ec;
}

.kriterii ol li {
    color: #dcdce5;
}

.kriterii a, .profile table a{
    /* background-color: #eee;
     color: black;*/
    display: block;
    padding: 12px;
    text-decoration: none;
    border-radius:0.25rem;
}

.kriterii a:link {
    color: #dcdce5;
}

.kriterii a:hover, .profile table a:hover {
    background-color: #305090;
    text-decoration: none;
}

.kriterii a.active {
    background-color: #04AA6D;
    color: white;
}

.kriterii a img {
    border: none;
    margin-top: -28px;
    margin-bottom: -20px;
    width: 60px;
}

.kriterii table a {
    padding: 8px;
}


.indicator_table {
    border-style: solid;
    border-color: #4472C4;
    border-width: 3px;
    border-collapse: collapse;
    margin-bottom: 10px;
    background-color: #002060;
    color: #FFF;
}

.indicator_table,
.indicator_table td,
.indicator_table th,
.profile td,
.profile th {
    text-align: center;
    border-color: #4472C4;
    border-width: 2px;
    border-collapse: collapse;
    border-style: solid;
}

.indicator_table a:link, .profile table a:link{
    color: #0275d8;
}

.indicator_table input {
    width: 100%;
}

.indicator_table select {
    width: 100%;
    padding-top: 4px;
    padding-bottom: 5px;
}

.indicator_table input[type="number"] {
    text-align: center;
    padding-left: 14px;
    padding-right: 0px;
}


.indicator_table input[type="checkbox"] {
    width: auto;
}

.indicator_table textArea{
    margin-bottom: -6px;
    height: 38px;
    padding-left: 3px;
}

.indicator_table input[type="number"]:disabled{
    background-color: #abb6bc;
}

.indicator_table input[type="file"] {
    padding-top: 5px;
    padding-bottom: 5px;
}

.half_width {
    width: calc(50% - 2px);
    min-width: 51px;
    margin-left: 1px;
    margin-right: 1px;
}

.full_width {
    width: 100%;
}

.double_button_td {
    min-width: 200px;
}

.profile {
    background-color: #ebebeb;
    border-radius: 0.25rem;
    margin: 10px 10px 20px 10px;
    padding-bottom: 10px;
    background-image: url("../img/profile.png");
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: top 0 right 0;
    padding-left: 10px;
}

.profile table caption {
    color: black;
    text-align: center;
    padding: 0;
    font-weight: bold;
    line-height: normal;
}

.profile table {
    margin-top: 10px;
    margin-bottom: 10px;
    min-width: 550px;
    background-color: white;
    margin-right: 10px;
}

.profile table th:first-child, .profile table td:first-child {
    border-left: 0;
}
.profile table th:last-child, .profile table td:last-child{
    border-right: 0;
}

.profile table tr:first-child th {
    border-top: 0;
}
.profile table tr:last-child td {
    border-bottom: 0;
}

.profile table tbody {
    box-shadow: 0 0 0 2px #4472C4;
    border-radius: 0.25rem;
}

.profile td:last-child {
    font-weight: bold;
}

.profile table a:hover {
    background-color: #e5e5ff;
}

.person_score_table {
    color: #04AA6D;
}

.person_score_table td {
    font-weight: bold !important;
}


.person_score_table caption {
    font-size: 25px;
    color: #04AA6D !important;
}

.subject_th {
    min-width: 200px;
}

#testScoreForm table td {
    text-align: right;
    border-style: unset;
    padding-right: 2px;
}

#testScoreForm table td:first-child, #testScoreForm table td:last-child {
    text-align: left;
}

.profile .checkbox_div {
    bottom: 80px;
    display: flex;
    flex-direction: column;
    position: relative;
    float: right;
    text-align: right;
    right: 10px;
}

.profile .checkbox_div label {
    margin: 0;
}

.profile .checkbox_div input[type="checkbox"] {
    cursor: pointer;
}