/* ---------- ��������� ------------ */

body {
    margin-top: 0px;
    /*background-image: url(../images/binding_light.png);*/
    font-family: Verdana;
    height: 100%;
}

body.login {
    background: radial-gradient(at top, #f27c62, #050a28);
}

body.main {
    margin-top: 0px;
    /*background-image: url(../images/tk_line_bg.jpg);*/
    font-family: Verdana;
}

a {
    text-decoration: none;
}

.workspace {
    margin-top: 20px;
}

.normalMessage {
    color: blue;
    margin-bottom: 10px;
    font-size: 15px;
    height: 15px;
}

.errorMessage {
    color: red;
    margin-bottom: 10px;
    font-size: 15px;
    height: 15px;
}

#setu_message {
    height: 30px;
}

h1.header {
    font-family: Verdana;
    color: #FFFFFF;
    margin-top: 20px;
}

h1.header a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 25px;
}

p.header3 {
    font-family: Verdana;
    color: #FFFFFF;
    font-size: 120%;
    margin: 0px;
}

p.header4 {
    font-family: Verdana;
    color: #FFFFFF;
    font-size: 35px;
    margin-bottom: 20px;
    margin-top: 10px;
}

p.header5 {
    font-family: Verdana;
    color: #000000;
    font-size: 100%;
    margin-bottom: 0px;
}

div.loginlogo {
    width: 200px;
    height: auto;
    display: block;
    margin: 40px auto;
}

div.loginlogo img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

div.alienlogo {
    width: 100px;
    height: auto;
    display: block;
    margin: 100px auto 0px;
}

div.alienlogo img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    opacity: 0.5;
}

/* ---------- ����� ------------ */

.enterform {
    display: block;
    /*border: 2px solid #999999;*/ /* ��������� ����� */
    padding: 15px; /* ���� ������ ������ */
    border-radius: 7px;
    width: 450px;
    height: 200px;
    margin: 30px auto;
    padding: 10px;
}

.registerform {
    border: 0px solid black; /* ��������� ����� */
    border-radius: 30px;
    width: 500px;
    height: 650px;
    display: none;
    /*background: none repeat scroll 0 0 #c6c6c6;*/
    background-image: url(../images/binding_light.png);
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    position: absolute;
    top: 10px;
    margin-left: 150px;

}

#novalidinfo, #discipinfo {
    width: 315px;
    height: 100px;
}

#close {
    position: relative;
    text-align: right;
    width: 100%;
    margin-right: 20px;
    height: 10px;
    cursor: pointer;
}

textarea.appinput {
    font-family: Verdana;
    font-size: 14px;
    width: 100%;
}

.userform {
    border: 0px solid black; /* ��������� ����� */
    width: 900px;
    height: 750px;
    display: block;
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    /*background-image: url(../images/calendar_cell_bg.png);*/
    border-radius: 5px;
}

.appform {
    border: 0px solid black; /* ��������� ����� */
    width: 900px;
    min-height: 1000px;
    display: block;
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    /*background-image: url(../images/calendar_cell_bg.png);*/
    border-radius: 5px;
    position: relative;
}

.seteditform {
    border: 0px solid black; /* ��������� ����� */
    width: 900px;
    height: 550px;
    display: block;
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    background-image: url(../images/calendar_cell_bg.png);
    border-radius: 5px;
}

table.logintable {
    border: 0px solid black; /* ��������� ����� */
    font-family: Verdana;
    color: #494949;
    font-size: 14px;
    font-weight: bold;
}

table.logintable tr td {
    padding: 5px;
}

table.userdatatable {
    border: 0px solid black; /* ��������� ����� */
    font-family: Verdana;
    color: #f991ff;
    font-size: 15px;
    font-weight: normal;
}

table.userdatatable tr td {
    padding: 1px;
    font-family: Verdana;
    color: #666666;
    font-size: 14px;
    font-weight: normal;

}

table.setdatatable {
    border: 0px solid black; /* ��������� ����� */
    font-family: Verdana;
    color: #000000;
    font-size: 12px;
    font-weight: normal;
}

table.setdatatable tr td {
    padding: 1px;
    font-family: Verdana;
    color: #f991ff;
    font-size: 12px;
    font-weight: normal;

}

table.appdatatable td label {
    padding: 5px;
}

input[type="radio"][id="novalid"]:checked + label {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%), linear-gradient(-45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%);
    background-size: 1em 1em;
    background-color: #fff;
    border: 1px solid #999999;
}

input[type="radio"][id="discip"]:checked + label {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%), linear-gradient(-45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%);
    background-size: 1em 1em;
    background-color: #fff;
    border: 1px solid #999999;
}

tr#validcom, tr#discipcom {
    display: none;
}

div#rebuke_block {
    display: none;
    width: 440px;
    padding-left: 25px;
}

/* ---------- ������ ------------ */

.enterbutton {
    background-color: #fd5286;
    padding: 15px 75px; /* ���� ������ ������ */
    border-radius: 4px;
    color: #FFF;
    font-size: 14px;
    width: 370px;
}

.startlearn_button {
    background-color: #24ab2d;
    background: -moz-linear-gradient(top, #24ab2d 0%, #229b2b 70%, #229b2b 90%, #1a8821 100%);
    background: -webkit-linear-gradient(top, #24ab2d 0%, #229b2b 70%, #229b2b 90%, #1a8821 100%);
    background: -o-linear-gradient(top, #24ab2d 0%, #229b2b 70%, #229b2b 90%, #1a8821 100%);
    background: linear-gradient(top, #24ab2d 0%, #229b2b 70%, #229b2b 90%, #1a8821 100%);

    cursor: pointer;
    width: 200px;
    padding: 10px 20px; /* ���� ������ ������ */
    border-radius: 10px;
    color: #FFF;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #1a8821; /* ��������� ������� */

}

.registerbutton {
    /* background-color: #24ab2d;*/
    background: linear-gradient(#FFFFFF, #D8DBDD) repeat scroll 0 0 transparent;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    padding: 15px; /* ���� ������ ������ */
    border-radius: 10px;
    color: #605D5D;
    font-size: 18px;
}

#userdata {
    cursor: pointer;
}

.mrdanga {
    margin-bottom: 8px;
    margin-top: 8px;
}

.logininput {
    border: 2px solid #FFFFFF; /* ��������� ����� */
    background-color: #d1d1d1;
    border-radius: 5px;
    padding: 10px 10px;
    font-family: Tahoma, sans-serif;
    font-size: 18px;
    margin-top: 0px;
    margin-bottom: 5px;
    /*font-weight: bold;*/
}

.userinput {
    border: 1px solid #CCCCCC; /* ��������� ����� */
    border-radius: 5px;
    padding: 5px 5px;
    font-family: Tahoma, sans-serif;
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
    color: #000000;
    /*font-weight: bold;*/
}

.usereditbutton {
    /* background-color: #24ab2d;*/
    /* background: linear-gradient(#FFFFFF, #D8DBDD) repeat scroll 0 0 transparent;*/
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    display: inline;
    padding: 5px; /* ���� ������ ������ */
    border-radius: 5px;
    color: #000000;
    font-size: 12px;
}

.cancel_edituser_button {
    background-color: #FFF;
    display: inline;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    padding: 5px 10px; /* ���� ������ ������ */
    border-radius: 4px;
    color: #000000;
    font-size: 12px;
    text-decoration: none;
    height: 20px;
    margin: 0px 10px;
    width: 130px;
}

.submit_button {
    display: block;
    background-color: #CCCCCC;
    padding: 5px 10px; /* ���� ������ ������ */
    float: left;
    height: 30px;
    width: 100px;
    border-radius: 4px;
    font-size: 12px;
    border: 0px solid #FFF;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cancel_button {
    display: block;
    background-color: #CCCCCC;
    border-radius: 4px;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    float: left;
    padding-top: 7px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    height: 20px;
    margin: 0px 10px;
    width: 80px;
    color: #000000;
    font-size: 12px;
    text-decoration: none;
}

.delete_button {
    display: block;
    background-color: #000000;
    border-radius: 4px;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
    float: left;
    padding-top: 7px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    height: 20px;
    margin: 0px 2px;
    width: 80px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;

}

.formbuttons {
    text-align: center;
    width: 500px;
    margin-top: 10px;
    margin-left: 200px;

}

.ued_formbuttons {
    text-align: center;
    width: 500px;
    margin-top: 10px;
    margin-left: 190px;

}

.ulist_formbuttons {
    text-align: center;
    width: 300px;
    margin-top: 10px;
    margin-left: 100px;

}

/* ---------- ��������� ------------ */

.day_header {
    font-family: Verdana;
    font-size: 12px;
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    background-image: url(../images/calendar_header_bg.png);
    color: #FFF;
    width: 126px;
}

.set_header {
    font-family: Verdana;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    height: 54px;
}

.cal_time_text {
    color: #fdfa0c;

}

.cal_place_text {
    color: #f8adfd;

}

.cal_topic_text {
    color: #FFFFFF;

}

.set_cell {
    font-family: Verdana;
    font-size: 12px;
    color: #fbc0ff;
}

.num_cell {
    font-family: Verdana;
    font-size: 12px;
    color: #fbc0ff;
    width: 5px;
}

a:hover .set_cell {
    font-family: Verdana;
    font-size: 12px;
    color: #fff;
}

a:hover .num_cell {
    font-family: Verdana;
    font-size: 12px;
    color: #fff;
    width: 5px;
}

.calendar_set {
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    font-family: Verdana;
    font-size: 12px;
    background-image: url(../images/main_cell_bg.png);
    padding-bottom: 10px;
    padding-left: 5px;
    height: 180px;
}

.add_set {
    display: block;
    margin: 50% auto;
    width: 32px;
}

.pushCalendarBack {
    width: 20px;
}

.pushCalendarForfard {
    width: 20px;
}

/* ---------- ������� ������������� -----------*/

.userlist_wrapper {
    display: block;
    margin: 0 auto;
    position: relative;
    padding: 10px 10px 10px 10px;
    min-height: 500px;
}

@media (min-width: 790px) {

    .userlist_wrapper table.table-style thead tr th:nth-child(1), .userlist_wrapper table.table-style tbody tr td:nth-child(1) {
        width: 10%;
    }

    .userlist_wrapper table.table-style thead tr th:nth-child(2), .userlist_wrapper table.table-style tbody tr td:nth-child(2) {
        width: 50%;
    }

    .userlist_wrapper table.table-style thead tr th:nth-child(3), .userlist_wrapper table.table-style tbody tr td:nth-child(3) {
        width: 10%;
    }

    .userlist_wrapper table.table-style thead tr th:nth-child(4), .userlist_wrapper table.table-style tbody tr td:nth-child(4) {
        width: 10%;
    }

    .userlist_wrapper table.table-style thead tr th:nth-child(5), .userlist_wrapper table.table-style tbody tr td:nth-child(5) {
        width: 10%;
    }

    .userlist_wrapper table.table-style thead tr th:nth-child(6), .userlist_wrapper table.table-style tbody tr td:nth-child(6) {
        width: 10%;
    }
}

#selectedUserList_title {
    display: block;
    width: 300px;
    height: 20px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    float: left;
}

#userList_title {
    display: block;
    width: 300px;
    height: 20px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    float: left;
}

#userListBody {
    padding: 0px;
    width: 300px;
    height: 580px;
    overflow: auto;
    float: left;
}

#listSwitcher {
    width: 50px;
    height: 580px;
    float: left;
}

#selectedUserListBody {
    padding: 0px;
    width: 300px;
    height: 580px;
    overflow: auto;
    float: left;
    border: 0px solid #FFFFFF; /* ��������� ����� */
}

.arrowimage {
    margin: 50px 0px;

}

.selectUserList {
    width: 250px;

}

.selectedUserList {
    width: 250px;

}

.setUsersList {
    border: 1px solid #FFFFFF; /* ��������� ����� */
    border-radius: 30px;
    width: 660px;
    height: 670px;
    display: none;
    background-color: #622666;
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    position: absolute;
    top: 20px;
    margin-left: 250px;
}

.userlist_header {
    font-family: Verdana;
    font-size: 12px;
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    background-image: url(../images/calendar_header_bg.png);
    color: #FFF;
}

.userlist_cell {
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    font-family: Verdana;
    font-size: 12px;
    background-image: url(../images/calendar_cell_bg.png);
    padding-bottom: 10px;
    padding-left: 7px;
    color: #fbc0ff;
}

.ulist_cell {
    padding: 2px;
    border: 0px solid black; /* ��������� ����� */
    font-family: Verdana;
    font-size: 12px;
    padding-bottom: 10px;
    color: #fbc0ff;
}

.ulist_row {
    display: block;
}

.ulist_row_selected {
    display: none;
}

tr td.ulist_cell:first-child {
    width: 5px;
    margin: 0px;
    text-align: center;
}

table.set_userlist_table {

    border-collapse: collapse;
}

.userlist_cell a {
    font-family: Verdana;
    font-size: 12px;
    color: #fbc0ff;
}

th#id {
    width: 5px;
}

th#name {
    width: 100px;
}

th#email {
    width: 60px;
}

th#phone {
    width: 50px;
}

th#regdate {
    width: 100px;
    text-align: center;
}

th#status {
    width: 20px;
}

/* ---------- ���������� ������ -----------*/

a.addplus {
    position: absolute;
    display: block;
    font-family: Verdana;
    font-weight: bold;
    color: #000000;
    font-size: 20px;
    right: 10px;
    top: -15px;
    z-index: 10;
}

.main-wrapper {
    margin: 30px auto;
    padding: 10px 10px 10px 10px;
    position: relative;
    max-width: 1800px;
    min-height: 1000px;
    box-sizing: border-box;
    /*background-image: url(../images/tk_bg.jpg);
    -moz-box-shadow: 10px 10px 50px #510c55; 
    -webkit-box-shadow: 10px 10px 50px #510c55; 
    box-shadow: 10px 10px 50px #510c55; 
    */

}

.main-menu {
    display: flex;
    flex-direction: row;
    height: 20px;
    font-family: Verdana;
    color: #494949;
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 22px;
    padding-right: 10px;
    box-sizing: border-box;

}

@media (max-width: 500px) {

    .main-menu {
        flex-direction: column-reverse;
    }

    .main-header-user {
        padding: 10px 0px;
        width: 80%;

    }

}

.main-header-menu {
    width: 56%;
}

.main-header-menu div#menu-table {
    display: flex;
    flex-direction: column;
}

.main-header-menu div#menu-table div.menu-row {
    display: flex;
    flex-direction: row;
}

.main-header-menu div#menu-table div.menu-cell {
    font-family: Verdana;
    color: #FFFFFF;
    font-size: 12px;
    text-transform: uppercase;
    float: left;
    padding: 4px 8px;
    border-radius: 5px;
    margin: 0px 2px;
    background-color: #333333;
    /*background-image: url(../images/calendar_menu_bg.png);*/
}

.main-header-menu div#menu-table div.menu-cell a {
    font-family: Verdana;
    color: #FFFFFF;
    font-size: 12px;
    text-transform: uppercase;
    text-decoration: none;
}

@media (min-width: 501px) {
    .main-header-user {
        font-family: Verdana;
        color: #000;
        padding-right: 10px;
        width: 38%;
    }
}

.header-user-name {
    color: #333;
    font-weight: bold;
    padding-left: 5px;
}

.main-header-exit {
    display: inline;
    font-family: Verdana;
    color: #000;
    margin-left: 20px;
    /*float: right;*/
}

.main-header-exit a {

    text-decoration: none;
    color: #000;
    font-family: Verdana;
    font-weight: bold;
}

.table-style {
    border-radius: 5px;
    font-weight: normal;
    border: none;
    border-collapse: collapse;
    width: 100%;
}

.table-style th, .table-style td {
    padding: 0px 0px;
    font-size: 14px;
    border: none;
    font-family: Verdana, sans-serif;
    vertical-align: top;
}

.table-style th {
    padding: 5px 5px;
    color: #FFF;
    background: #666666;
    font-weight: bold;
    border: 1px solid #fff;
    font-size: 14px;
    /*text-transform: uppercase;   */
    text-align: center;
}

.table-style th a {
    box-sizing: border-box;
    display: block;
    position: relative;
    padding: 5px 5px;
    color: #FFF;
    background: #666666;
    font-weight: normal;
    font-size: 14px;
    /*text-transform: uppercase;   */
    text-align: center;
    width: 100%;
    height: 100%;
}

.table-style th a img {
    position: absolute;
    top: -3px;
    right: -3px;
}

.table-style td {
    color: #000000;
    border: 1px solid #999999;
    position: relative;
}

.table-style td a {
    padding: 5px 5px;
    display: block;
    color: #000000;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.table-style tr:hover {
    background: #CCCCCC;
}

/*.table-style tr:nth-child(even) {
    background: #edf7ff;
} */

.table-style td span {
    color: #FFF;
    background: #666666;
    display: none;
    font-size: 14px;
    font-family: Verdana, sans-serif;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .table-style thead {
        display: none;
    }

    .table-style tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .table-style td {
        padding-top: 35px;
        position: relative;
        width: 50%;
    }

    .table-style td span {
        display: block;
        font-size: 14px;
        font-family: Verdana, sans-serif;

    }
}

@media (max-width: 480px) {
    .table-style td {
        width: 100%;
    }
}

/* ---------- ������� ��������� -----------*/

.applist-wrapper {
    display: block;
    position: relative;
    padding: 10px 10px 10px 10px;
    min-height: 500px;
    width: 100%;
}

#appdatatable tbody tr td.title, div.title {
    padding: 1px;
    font-family: Verdana;
    color: #666666;
    font-size: 14px;
    font-weight: normal;
}

#appdatatable tbody tr td {
    padding-top: 8px;
}

#appdatatable tbody tr td.appvalue {
    padding: 1px;
    font-family: Verdana;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
}

#appdatatable input {
    font-family: Verdana;
    font-size: 14px;
}

#selectedUserList_title {
    display: block;
    width: 300px;
    height: 20px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    float: left;
}

#userList_title {
    display: block;
    width: 300px;
    height: 20px;
    font-family: Verdana;
    font-size: 12px;
    color: #FFF;
    text-align: center;
    float: left;
}

#userListBody {
    padding: 0px;
    width: 300px;
    height: 580px;
    overflow: auto;
    float: left;
}

#listSwitcher {
    width: 50px;
    height: 580px;
    float: left;
}

#selectedUserListBody {
    padding: 0px;
    width: 300px;
    height: 580px;
    overflow: auto;
    float: left;
    border: 0px solid #FFFFFF; /* ��������� ����� */
}

.arrowimage {
    margin: 50px 0px;

}

.selectUserList {
    width: 250px;

}

.selectedUserList {
    width: 250px;

}

.setUsersList {
    border: 1px solid #FFFFFF; /* ��������� ����� */
    border-radius: 30px;
    width: 660px;
    height: 670px;
    display: none;
    background-color: #622666;
    padding: 10px 15px 15px 15px; /* ���� ������ ������ */
    position: absolute;
    top: 20px;
    margin-left: 250px;
}

.userlist_header {
    font-family: Verdana;
    font-size: 12px;
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    background-image: url(../images/calendar_header_bg.png);
    color: #FFF;
}

.userlist_cell {
    margin: 5px;
    border: 0px solid black; /* ��������� ����� */
    border-radius: 5px;
    font-family: Verdana;
    font-size: 12px;
    background-image: url(../images/calendar_cell_bg.png);
    padding-bottom: 10px;
    padding-left: 7px;
    color: #fbc0ff;
}

.ulist_cell {
    padding: 2px;
    border: 0px solid black; /* ��������� ����� */
    font-family: Verdana;
    font-size: 12px;
    padding-bottom: 10px;
    color: #fbc0ff;
}

.ulist_row {
    display: block;
}

.ulist_row_selected {
    display: none;
}

tr td.ulist_cell:first-child {
    width: 5px;
    margin: 0px;
    text-align: center;
}

table.set_userlist_table {

    border-collapse: collapse;
}

.userlist_cell a {
    font-family: Verdana;
    font-size: 12px;
    color: #fbc0ff;
}

th#id {
    width: 5px;
}

th#name {
    width: 100px;
}

th#email {
    width: 60px;
}

th#phone {
    width: 50px;
}

th#regdate {
    width: 100px;
    text-align: center;
}

th#status {
    width: 20px;
}

.applist-panel {
    display: flex;
    width: 100%;
    height: 40px;
}

.userlist-panel {
    display: flex;
    width: 100%;
    height: 35px;
    justify-content: flex-end;
}

.search-block {
    display: flex;
    align-items: stretch;
    margin-right: 2%;
}

.addbutton {
    display: flex;
    width: 180px;
    background-color: #333333;
    color: #FFFFFF;
    padding: 5px 10px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 2px;
    font-size: 14px;
    margin-left: 5px;
}

.search_button {
    display: block;
    background-color: #333333;
    padding: 5px 10px;
    float: right;
    height: 30px;
    width: 100px;
    border-radius: 2px;
    font-size: 12px;
    cursor: pointer;
    color: #FFFFFF;
    box-sizing: border-box;
    font-size: 14px;
}

.searchinput {
    display: block;
    background-color: #cccccc;
    padding: 5px 10px;
    height: 30px;
    width: auto;
    border-radius: 2px;
    color: #000000;
    box-sizing: border-box;
    font-size: 14px;
}

.searchinput[type=date] {
    padding: 0px 0px;

}

#searchform {
    display: flex;
    width: 100%;

}

.strperpage {

    display: block;
    background-color: #cccccc;
    padding: 5px 10px;
    height: 30px;
    width: auto;
    border-radius: 2px;
    color: #000000;
    box-sizing: border-box;
    font-size: 14px;

}

.cell10.notvalid, .cell11.rebuke, .cell12.discip {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%), linear-gradient(-45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%);
    background-size: 1em 1em;
    background-color: #fff;
    border: 1px solid #999999;
    background-clip: padding-box;
    text-align: center;
    vertical-align: middle;
}

tr:hover td.cell10.notvalid, tr:hover td.cell11.rebuke, tr:hover td.cell12.discip {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%), linear-gradient(-45deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 52%);
    background-size: 1em 1em;
    background-color: #CCCCCC;
    border: 1px solid #999999;
    background-clip: padding-box;
    text-align: center;
    vertical-align: middle;
}

td.cell10.valid, td.cell11, td.cell12, td.cell13 {
    text-align: center;
    vertical-align: middle;
}

/* ---------- ������ -----------------*/

.applist-panel.report {
    height: 80px;
}

.report-title {
    display: block;
    width: 100%;
    font-weight: bold;
    font-size: 16px;
}

.applist-panel.report {
    flex-direction: column;

}

.table-style.report td {
    padding: 5px 5px;
    position: relative;
    text-decoration: none;
    color: #000000;
    border: 1px solid #999999;
    height: 30px;
}

.table-style.report tr:hover {
    background: #FFFFFF;
}

.rcount {
    display: inline-block;
    position: relative;
    z-index: 5;
    color: #000;
    padding: 3px;
    background-color: #FFF;
    border-radius: 30%;
}

.gistoramma {
    display: block;
    position: absolute;
    background: linear-gradient(to right, #666666, #FFF);
    z-index: 4;
    height: 30px;
    top: 0px;
    left: 0px;
    padding: 0px;
}

/* ---------- ������������ ���������     ------------ */
div.pages {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    margin-bottom: 10px;
}

ul.pagination {
    display: flex;
    height: 20px;
    width: 40%;
    margin: 0px;
    list-style-type: none;
}

ul.pagination li {
    display: block;
}

ul.pagination li a {
    padding: 4px 6px;
    font-size: 14px;
    color: #666666;
}

ul.pagination li.active a {
    color: #000000;
    font-weight: bold;
}

ul.pagination li.disabled, ul.pagination li.disabled a, ul.pagination li.disabled:hover a {
    color: #CCCCCC;
}

ul.pagination li:hover a {
    color: #000000;
}

div.foundnum {
    display: block;
    width: 20%;
    text-align: left;
    padding: 4px 6px;
    font-size: 14px;
    color: #000000;
}

/* ---------- ���� ------------ */

.shadowtext {
    text-shadow: #616161 1px 1px 2px; /* ��������� ���� */
    font-size: 2em; /* ������ ������� */
}

.shadow {
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ��� Firefox */
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ��� Safari � Chrome */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* ��������� ���� */
}

/* ---------- ������� ------------ */

.console {
    display: block;
    width: 900px;
    height: 100px;
    overflow: auto;
    background-color: #000000;
    font-family: Verdana;
    font-size: 12px;
    color: #edeb67;
    margin: 5px auto;
    padding: 8px;
}

.hidden_console {
    display: none;
}

/* ------------ ���� ������ ------------*/

div.select-windows {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0);
    border: 0px solid black;
    padding: 10px 15px 15px 15px;
    border-radius: 5px;
    background-color: #FFF;
    z-index: 10;
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

div.select-windows div.innerblock {
    display: block;
    width: 100%;
    height: 90%;
    box-sizing: border-box;
    margin-top: 10px;
    border: 1px solid #CCCCCC;
}

div.select-windows .title {
    display: block;
    margin: 0 auto;
    font-size: 18px;
    color: #000000;
    text-align: center;
    font-weight: bold;
}

div.medorgs-window {
    width: 500px;
    height: 600px;
}

div.types-window {
    width: 700px;
    height: 800px;
    overflow-x: scroll;
}

div.medorgs-window div.innerblock {
    overflow-y: scroll;
}

div.types-window div.innerblock {
    overflow-x: scroll;
}

ul.medorglist {
    list-style-type: none;
}

ul.medorglist li {
    display: block;
    width: 100%;
    height: 25px;
    padding: 5px;
    font-size: 16px;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}

ul.medorglist li.okrug {
    display: block;
    width: 100%;
    height: 25px;
    padding: 10px 5px 0px;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
}

ul.medorglist li:hover {
    background: #CCCCCC;
    color: #000000;
}

ul.typelist {
    list-style-type: none;
    width: 200%;
}

ul.typelist li.typegroup {
    display: block;
    width: 100%;
    height: 25px;
    padding: 10px 5px 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    box-sizing: border-box;
    text-align: left;
}

ul.typelist li.typeitem {
    display: inline-block;
    width: 100%;
    height: 25px;
    padding: 5px;
    font-size: 16px;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}

ul.typelist li.typeitem:hover {
    background: #CCCCCC;
    color: #000000;
}

ul.typelist li.supertypeitem {
    display: inline-block;
    width: 100%;
    height: 25px;
    padding: 5px;
    font-size: 16px;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}

ul.typelist li.subtypeitem {
    display: inline-block;
    width: 100%;
    height: 25px;
    padding: 5px 5px 5px 45px;
    font-size: 16px;
    color: #000000;
    box-sizing: border-box;
    text-align: left;
}

ul.typelist li.subtypeitem:hover {
    background: #CCCCCC;
    color: #000000;
}


div.close-cross {
    display: block;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    box-sizing: border-box;
    cursor: pointer;
}

#type-pad, #med-pad, ul.typelist li.typeitem, ul.typelist li.subtypeitem, ul.medorglist li, #addmed-pad {
    cursor: pointer;
}

tr[nid='0'] .medstr:after, #type-title:after {
    margin-left: 2px;
    content: url('/views/images/listbtn.png');
}

tr:not([nid='0']) .medstr:after {
    margin-left: 2px;
    content: url('/views/images/delete.png');
}

#medsearch {
    display: block;
    float: right;
    margin: 5px auto 5px;

}

#imgmedsearch {
    display: block;
    float: right;
    margin: 5px;
}

#typesearch {
    display: block;
    float: right;
    margin: 5px auto 5px;

}

#imgtypesearch {
    display: block;
    float: right;
    margin: 5px;
}

.excel-export {
    display: flex;
    margin-left: 15px;
    margin-right: 15px;
    height: 40px;
}
.excel-export img {
    height: 40px;
}

.reprow {
  cursor: pointer;  
}