.admin-panel-block {
    padding: 23px 0px 0px 0px;
    background-color: #eee;
    border: 1px solid #adb5bb;
    margin-bottom: -1px;
    min-height: 50px;
}

.admin-panel-block-header {
    height: 13px;
    margin-left: 37px;
}

.admin-panel-block-header-single {
    height: 37px;
    font-size: 15px;
    margin-left: 0;
    padding: 14px 0 0 17px;
    background-color: #dfdfdf;
    margin-top: 20px;
}

.admin-panel-block-body,
.admin-panel-block-body-archive {
    display: none;
    width: 100%;
}

.admin-panel-block-body-single {
    float: left;
    width: 100%;
    display: block;
    background-color: #f5f5f5;
}

.admin-panel-block-body_single-content {
    margin: 20px;
}

.admin_link {
    display: block;
    margin-top: 7px;
    padding: 15px 0px 15px 24px;
    border: 1px solid #dedede;
    border-radius: 2px;
    color: #186999;
    font-family: Tahoma;
    font-size: 15px;
    background: url("/img/admin/admin_main_back.png");
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: -1px;
}

.admin_link span {
    border-bottom: 1px dashed;
}

.admin_link:hover {
    background: url("/img/admin/admin_second_back.png");
    color: red;
    border: 1px solid #adb5bb;
}

.admin_link_h {
    background: url("/img/admin/admin_second_back.png") !important;
    color: black;
    text-decoration: none !important;
    border: 1px solid #adb5bb !important;
}

/* Алексей попросил скрыть видеоподсказку в рамках задачи №3957, потому что она некрасиво смотрится с новым дизайном.
Код не удаляю, так как будет новая задача по изменению вёрстки этого элемента.*/
.video_help {
    display: none;
    position: fixed;
    top: 2px;
    left: 5px;
}

/* Clients */

.MainTable .dash_none span {
    border-bottom: none;
}

.payment-options .payment-option-row {
    display: flex;
    margin-bottom: 15px;
}

.payment-options .payment-option-row:last-child {
    margin-bottom: 0;
}

.payment-options .payment-option-row .payment-option-title {
    width: 210px;
}

#payment_form label > div:first-child {
    width: 210px;
    float: left;
}

#payment_form label {
    display: flex;
    align-items: center;
}

#payment_form label span {
    margin-left: 5px;
}

.document_templates_delete_button {
    float: left;
    background: url("/img/cross_ico.png");
    width: 20px;
    height: 20px;
    margin-left: 7px;
    display: block;
    cursor: pointer;
}

.document_templates_copy_link {
    float: left;
    background: url("/img/copy_ico.png");
    width: 20px;
    height: 20px;
    margin-left: 7px;
    display: block;
}

.document_templates_printery_link {
    float: left;
    background: url("/img/printery_ico.png");
    width: 20px;
    height: 20px;
    margin-left: 7px;
    display: block;
}

.document_templates_blanks_button,
.document_templates_printing_button,
.document_templates_enable_button {
    float: left;
    width: 20px;
    height: 20px;
    margin-left: 7px;
    display: block;
    background: url("/img/active_ico.png") no-repeat;
    cursor: pointer;
}

.document_templates_blanks_button.unactive,
.document_templates_printing_button.unactive,
.document_templates_enable_button.unactive {
    background: url("/img/unactive_ico.png") no-repeat;
}

.document_templates_edit_left,
.document_templates_edit_right {
    min-height: 200px;
    margin-bottom: 30px;
}

.document_templates_edit_right .head_and_spoilers {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
}

.document_templates_edit_right .head_and_spoilers h2 {
    margin-right: 15px;
}

.document_templates_edit_right .head_and_spoilers h3 {
    margin: 0px 10px 0px 0px;
    font-weight: normal;
}

.document_templates_edit_left table {
    width: 100%;
    position: relative;
}

.document_templates_edit_left tr td:first-child {
    vertical-align: top;
    width: 15%;
}

.document_templates_right_wrapper {
    margin: 1px 3px 0 3px;
}

.document_templates_right_wrapper h3 {
    font-weight: normal;
}

.document_templates_edit_left tr td {
    padding: 5px;
}

.workplaces_service {
    margin-bottom: 20px;
}

.workplaces_service thead {
    font-weight: bold;
}

.workplaces_service td {
    padding: 7px;
    border: 1px solid #e5e5e5;
}

.workplaces_service tbody tr:hover {
    background-color: #e5e5e5;
}

.workplaces_service tbody tr:hover .nohover {
    background-color: #eee;
}
