table {
    border: 0px;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

table td {
    padding: 0;
    margin: 0;
}

body {
    margin: 1px;
    padding: 0px;
    background: #fefefe;
    font-size: 14px;
    color: #555
}

input[type=button], input[type=submit] {
    border: 1px solid #999;
    color: #555;
    background: #e5e5e5;
    height: 25px;
    cursor: pointer;
}

input[type=text], input[type=password] {
    border: 1px solid #999;
    color: #555;
    height: 21px;
}

select {
    border: 1px solid #999;
    color: #555;
    height: 21px;
}

a {
    color: #5376a0;
    text-decoration: none
}

a:hover {
    text-decoration: underline;
}


.text1 {
    text-decoration: none;
    font-size: 11px;
    color: #4f4e4e;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.text11 {
    text-decoration: none;
    font-size: 11px;
    color: #070707;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.text11_2 {
    text-decoration: none;
    font-size: 11px;
    color: #5d5f60;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.text14 {
    text-decoration: none;
    font-size: 14px;
    color: #080808;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.text14_2 {
    text-decoration: none;
    font-size: 14px;
    color: #c5c5c3;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}


.cars_title {
    text-decoration: none;
    font-size: 12px;
    color: #080808;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.cars_about {
    font-size: 11px;
    color: #4d4d4d;
    font-family: Tahoma
}

.cars_run {
    text-decoration: none;
    font-size: 12px;
    color: #878787;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.zoom {
    text-decoration: none;
    font-size: 11px;
    color: #7f95b0;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.zoom:hover {
    text-decoration: none;
    font-size: 11px;
    color: #5c6c80;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.menu_title {
    text-decoration: none;
    font-size: 11px;
    color: #5376a0;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.menu_title2 {
    text-decoration: none;
    font-size: 11px;
    color: #878282;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.rakurs {
    text-decoration: none;
    font-size: 24px;
    color: #b5b4b4;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.advanced_cost {
    text-decoration: none;
    font-size: 18px;
    color: #737070;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.advanced_title {
    text-decoration: none;
    font-size: 18px;
    color: #b1b0b0;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.text_reg {
    text-decoration: none;
    font-size: 13px;
    color: #848282;
    font-family: Tahoma
}


a.menu {
    text-decoration: none;
    font-size: 12px;
    color: #8E8C8C;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.menu:hover {
    text-decoration: none;
    font-size: 12px;
    color: #cccaca;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
}


a.back {
    text-decoration: none;
    font-size: 12px;
    color: #5376a0;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.back:hover {
    text-decoration: none;
    font-size: 12px;
    color: #0389DA;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}


a.help {
    text-decoration: underline;
    font-size: 11px;
    color: #828181;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.help:hover {
    text-decoration: underline;
    font-size: 11px;
    color: #ababab;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}


a.page {
    text-decoration: none;
    font-size: 12px;
    color: #828181;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.page:hover {
    text-decoration: none;
    font-size: 12px;
    color: #403f3f;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.left_title {
    text-decoration: none;
    font-size: 11px;
    color: #828181;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.left_title:hover {
    text-decoration: none;
    font-size: 11px;
    color: #403f3f;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}


a.table_user {
    text-decoration: none;
    font-size: 12px;
    color: #5376a0;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.table_user:hover {
    text-decoration: none;
    font-size: 12px;
    color: #7996B9;
    font-weight: bold;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.main_cost {
    text-decoration: none;
    font-size: 11px;
    color: #f54949;
    font-family: Tahoma
}

.main_date_gai {
    text-decoration: none;
    font-size: 11px;
    color: #5d7da5;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

.right {
    border-right-color: #c6c0c0;
    border-right-style: solid;
    border-right-width: 1px;
}

.left {
    border-left-color: #c6c0c0;
    border-left-style: solid;
    border-left-width: 1px;
}

.niz {
    border-bottom-color: #c6c0c0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}

.top {
    border-top-color: #c6c0c0;
    border-top-style: solid;
    border-top-width: 1px;
}

.add_form {
    background-Color: #ffffff;
    color: #828181;
    border: #828181 solid 1px;
}


a.user_cars {
    text-decoration: none;
    font-size: 11px;
    color: #070707;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}

a.user_cars:hover {
    text-decoration: none;
    font-size: 11px;
    color: #606060;
    font-family: Tahoma, Arial, Helvetica, sans-serif
}


a.sort {
    text-decoration: none;
    font-size: 11px;
    color: #878282;
    font-weight: bold;
    font-family: Tahoma
}

a.sort:hover {
    ext-decoration: none;
    font-size: 11px;
    color: #A9A5A5;
    font-weight: bold;
    font-family: Tahoma
}

a.registration {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    font-size: 12px;
    font-family: Tahoma
}

a.registration:hover {
    text-decoration: none;
    font-weight: bold;
    color: #dddddd;
    font-size: 12px;
    font-family: Tahoma
}

a.catalog_menu {
    text-decoration: none;
    font-size: 12px;
    color: #333;
    font-family: Tahoma
}

a.catalog_menu:hover {
    text-decoration: underline;
}


.title_1 {
    font-size: 12px;
    color: #FAFBFC;
    font-weight: bold;
}

.title_news {
    font-size: 14px;
    color: #0268A6;
    font-weight: bold;
}

.news_text {
    font-size: 12px;
    color: #666666;
}


a.menu2 {
    text-decoration: none;
    font-size: 14px;
    color: #615c5c;
    font-weight: bold;
    font-family: Tahoma
}

a.menu2:hover {
    text-decoration: none;
    font-size: 14px;
    color: #3b3b3b;
    font-weight: bold;
    font-family: Tahoma
}


a.page_curent {
    text-decoration: none;
    font-size: 13px;
    color: #817B7B;
}

a.page_curent:hover {
    text-decoration: none;
    font-size: 13px;
    color: #E0DEDE;
}


#for_ul {
    border-bottom: 1px solid #ccc
}

ul {
    padding: 0;
    margin: 0 0 0 0;

    list-style: none;
    float: left;

}

ul li {
    float: left;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 0 10px;
    margin: 0 5px;

}

ul li:hover {
    margin: 0 5px -1px 5px;
    border-bottom: 1px solid #fefefe;
    color: #0764CC;
    cursor: pointer;

}

ul a {
    display: block;
    padding: 0 2px;
    line-height: 30px;
    text-decoration: none;
    color: #767070;
    font-family: Tahoma;
}


li a:hover {
    color: #7f95b0;
}

ul li.current_o {
    margin: 0 5px -1px 5px;
    cursor: pointer;
    border-bottom: 1px solid #fefefe;
}

ul a.current_o {
    color: #7f95b0;
    font-weight: bold;
}

#cont {
    padding: 10px 20px
}


#shiper_link a {
    color: #5376a0;
    font-size: 14px;
    display: block;
    margin: 2px 0;
    font-weight: bold;
    text-decoration: none;
}

#shiper_link a:hover {
    text-decoration: underline
}

.tovar_item {
    background: #fff;
    margin: 0;
}

.tovar_item a {
    color: #555;
}

.tovar_item:nth-child(even) {
    background: #f0f0f5;
}

.tovar_item table td, .tovar_item table th {
    padding: 0 5px
}

.tovar_item table td:first-child, .tovar_item table th:first-child {
    text-align: left;
}

.tovar_plus {
    height: 20px;
    line-height: 20px;
    width: 20px;
    border: 1px solid #ccc;
    text-align: center;
    cursor: pointer
}

.tovar_plus:hover {
    background: #E7E7E7
}

.tovar_num {
    border: 1px solid #ccc;
    height: 18px;
    width: 30px;
    text-align: center;
    color: #333
}


#backet {
    width: 206px;
    position: fixed;
    left: 1073px;
    top: 57px;
}

#backet_cont {
    overflow-y: auto;
    max-height: 650px;
    margin-bottom: 10px;
}

.backet_item {
    border: 1px solid #d1d1d1;
    background: #fff;
    margin: 0px 16px 8px 0;
    text-align: left;
    font-size: 12px;
    padding: 5px 3px;
}


#filter_country {
    width: 190px;
    position: fixed;
    right: 1065px;
    top: 57px;
}

.filter_item {
    text-align: left;
    margin: 4px 0;
}

.filter_item > label {
    cursor: pointer
}

#filter_country #filter_list {
    background: #fff;
    border: 1px solid #ccc;
    margin: 11px;
}

#filter_country #filter_list p {
    margin: 3px 0 0 0
}

#tovar_header {
    border-bottom: 2px solid #ccc;
    height: 35px;
    margin: 0 0 15px 0;
    padding: 0 50px
}

#tovar_header a {
    display: block;
    float: right;
    font-size: 14px;
    font-weight: bold;
    color: #5376a0;
    text-decoration: none;
    margin: 7px 7px 0 10px
}

#orders_cont {
    border: 1px solid #ccc;
    width: 900px;
    margin: 20px 0 0 0;
}

#calc_items > div {
    margin: 7px 0;
}

#invoice_items td {
    border: 1px solid #ccc;
    border-top: 0;
    padding: 2px 3px;
}

#invoice_items th {
    border: 1px solid #ccc;
    border-top: 0;
    padding: 2px 3px;
}

#invoice_advanced_table th {
    border: 1px solid #ccc;
    background: #efefef;
    padding: 4px 3px;
}

#invoice_advanced_table td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 3px 3px;
}

#invoice_advanced_table tr:nth-child(odd) {
    background: #fff
}

#invoice_advanced_table tr:hover {
    background: #f0f0f5
}

#invoice_info {
    margin: 20px 0 0 20px;
    font-size: 16px;
    font-weight: normal;
    float: left;
}

#invoice_info div, #invoice_link div {
    margin: 2px 0;
    height: 22px;
}

#invoice_info div input[type='text'] {
    height: 16px;
    width: 70px;
}

#invoice_link {
    margin: 20px;
    font-size: 16px;
    font-weight: normal;
    float: right;
    text-align: right
}


#add_balans div {
    margin: 2px 0
}

#add_balans div input[type='text'] {
    width: 100px;
}

#add_balans span {
    font-weight: bold;
    display: inline-block;
    margin: 5px 0 0 0;
}

#table_balans th {
    border: 1px solid #ccc;
    background: #efefef;
    padding: 4px 3px;
}

#table_balans td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 4px 3px;
}

#table_balans td:first-child {
    text-align: left
}

#table_balans tr:nth-child(odd) {
    background: #fff
}

#table_balans tr:hover {
    background: #f0f0f5
}

#table_balans tr.balans {
    height: 35px;
    font-weight: bold
}

#table_balans tr.table_balans_info {
    height: 35px;
    font-weight: bold;
    font-size: 16px;
}

#table_balans tr.table_balans_info td {
    border: 0
}

#table_balans tr.table_balans_info {
    background: none
}

#table_balans tr.table_balans_info:hover {
    background: #f0f0f5
}

#table_balans .all_balans {
    color: #f00
}

.balans_desc {
    font-weight: normal;
}

.type_digit {
    width: 80px;
    text-align: center;
    font-size: 13px;
}


#invoice_spisanie_table th {
    border: 1px solid #ccc;
    background: #efefef;
    padding: 4px 3px;
}

#invoice_spisanie_table td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 3px 3px;
}

#invoice_spisanie_table tr:nth-child(odd) {
    background: #fff
}

#invoice_spisanie_table tr:hover {
    background: #f0f0f5
}


#add_import div {
    margin: 0 0 15px 0;
}

#add_import div.input_title {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 14px;
}

#add_import select {
    width: 150px;
    height: 25px;
    border: 1px solid #999;
}

#table_order {
    font-size: 14px;
    margin-top: 10px;
}

#table_order th, #table_order td {
    border: 1px solid #ccc;
    padding: 2px 3px;
    text-align: center;
}

#table_order th {
    background: #f5f5f5;
    padding: 4px 3px;
}

div_line a {
    text-decoration: underline
}

div_line a:hover {
    text-decoration: none
}

.order_t {
    font-size: 14px;
    font-weight: normal;
    text-align: right;
    padding-right: 20px;
}

#overlay {
    z-index: 3; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
    position: fixed; /* всегдa перекрывaет весь сaйт */
    background-color: rgba(0, 0, 0, 0.5); /* чернaя */
    width: 100%;
    height: 100%; /* рaзмерoм вo весь экрaн */
    top: 0; /* сверху и слевa 0, oбязaтельные свoйствa! */
    left: 0;
    cursor: pointer;
    display: none; /* в oбычнoм сoстoянии её нет) */
}

.modal_div {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 34;
    padding: 5px;
    padding: 20px;
    border-radius: 8px;
    margin-left: 0;
    left: 50%;

    transform: translateX(-50%);
}

.modal_open {
    cursor: pointer
}

#modal_name {
    margin: -15px 0 9px 0;
    font-weight: normal;
}

.is_img {
    width: 16px;
    height: 16px;
    background: url(images/img.png) no-repeat;
}

.site_forms div {
    margin: 10px 0
}

.site_forms .site_form_title {
    font-weight: bold
}

.site_forms select {
    min-width: 135px
}

.add_children {
    margin: 0 0 0 20px;

}

.width_200 {
    width: 200px !important;
}

.add_children input[type='text'] {
    width: 200px;
}

.add_children select {
    width: 150px;
}

.show_children_filter {
    font-size: 16px;
    margin: 0 0 20px 0;
}

.show_children_filter span {
    display: inline-block;
}

.show_children_filter select {
    height: 24px;
    font-size: 14px;
    width: 190px;
}

#my_table td, #my_table th {
    height: 25px;
    border: 1px solid #979797;
    text-align: center;
    padding: 2px 3px;
}

#my_table td:first-child, #my_table th:first-child {
    text-align: left;
}

#my_table th {
    font-weight: bold;
    width: 60px;
}

#my_table tbody tr:nth-child(2n+1) {
    background: #fff;
}

.my_table td, .my_table th {
    height: 25px;
    border: 1px solid #979797;
    text-align: center;
    padding: 2px 3px;
    font-size: 16px;
}

.my_table th {
    font-weight: bold;
}

.my_table tbody tr:nth-child(2n+1) {
    background: #fff;
}

.a_underline {
    text-decoration: underline
}

.a_underline:hover {
    text-decoration: none
}

#timetable_div,
.timetable {
    display: inline-block;
    width: 1220px;
}

#timetable_div > div,
.timetable > div {
    float: left;
    border: 1px solid #979797;
    width: 190px;
    margin: 0 5px;
    font-size: 16px;
    background: #fff;
}

#timetable_div > div .title_day_w,
.timetable > div .title_day_w {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #979797;
    padding: 4px 3px;
    background: #efefef;
}

#timetable_div > div .day_w_line .line_empty,
.timetable > div .day_w_line .line_empty {
    text-align: center;
    padding: 2px 3px;
    color: #aaa;
}

#timetable_div > div .day_w_line,
.timetable > div .day_w_line {
    border-bottom: 1px solid #979797;
}

#timetable_div > div .day_w_line:last-child,
.timetable > div .day_w_line:last-child {
    border-bottom: 0;
}

#timetable_div > div .day_w_line .spantd,
.timetable > div .day_w_line .spantd {
    display: inline-block;
    padding: 2px 3px;
}

#timetable_div > div .day_w_line .td1,
.timetable > div .day_w_line .td1 {
    width: 50px;
    text-align: center;
    cursor: pointer;

}

#timetable_div > div .day_w_line .td2,
.timetable > div .day_w_line .td2 {
    width: 120px;
    text-align: center;
    border-left: 1px solid #979797;

}

.txt_texarea {
    width: 400px;
    height: 80px;
}

#homework_div .homework_element {
    border: 1px solid #979797;
    margin: 20px 30px;
    width: 600px;
    padding: 10px;
}

#homework_div .homework_element .homework_top {
    display: inline-block;
    width: 590px;
    font-size: 16px;
    margin: 0 0 10px;
}

#homework_div .homework_element .div_left {
    float: left;
    font-weight: bold;
}

#homework_div .homework_element .div_right {
    float: right;
}

#homework_div .homework_element .homework_title {
    font-weight: bold;
}

#homework_div .homework_element .homework_text {
    padding: 3px 0;
}

.not_bold {
    font-weight: normal
}

.title_page {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 12px;
}

.form_img {
    float: left;
    margin-left: 30px !important;
}

.forgot_pass {
    font-size: 12px;
}

.bold_td {
    font-weight: bold;
}

.red_td {
    color: #f00 !important;
}

.txt_mark {
    width: 30px;
    text-align: center;
    font-size: 14px;
}

.mark_date {
    transform: rotate(90deg);
    transform-origin: top 0;
}

.no_sort {
    height: 68px
}

.div_part {
    display: none;
}

.div_part > div {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
}

.mark_comm {
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
}

.mark_red {
    color: #f00;
}

.mark_bold {
    font-weight: bold;
}

.no_marks {
    font-size: 14px;
    font-weight: normal;
    margin-top: -10px;
}

#div_late_seconds {
    font-weight: bold;
    font-size: 16px;
    margin: 8px 0;
}

#div_late_seconds span {
    font-weight: normal;
}

.for_del {
    cursor: pointer;
}

.for_edit {
    cursor: pointer;
}

.mess_schedule {
    color: #f00;
    display: none
}