BODY { background-color: rgb(255,255,255); font-size: 12px; font-family: arial; margin: 0px; }
A { color: rgb(0,0,0); }

TEXTAREA, INPUT, BUTTON { font-family: arial; font-size: 12px; }

/* Внешний вид */
/*
DIV#header { background: rgb(239,239,239) url('image/header.jpg') top repeat-x; width: 100%; height: 28px; border-bottom: 1px solid rgb(165,169,170); margin-bottom: 20px; }
*/
DIV#header { background: rgb(239,239,239) url('image/cap_bg.jpg') top repeat-x; width: 100%; height: 20px; color: rgb(255,255,255); }
DIV#header A { color: white; }
DIV#header TABLE { background: url('image/cap_image.jpg') left no-repeat; }
DIV#header TD { padding-left: 10px; padding-right: 10px; }
DIV#navigation { background: rgb(208,208,208); width: 80%; border-bottom: 2px solid rgb(165,169,170); margin: 0 auto; padding: 10px; }
DIV#navigation LI { list-style-type: none; display: inline-block; }
DIV#navigation A { font-size: 18px; text-decoration: none; }
DIV#navigation LI.active { border-bottom: 1px dotted rgb(0,0,0); }
TD.right_border { border-right: 1px solid rgb(255,255,255); }
TD.left_border { border-left: 1px solid rgb(255,255,255); }

DIV#subject { background: rgb(245,245,245); font-size: 14px; border: 1px solid rgb(200,200,200); margin-bottom: 10px; padding: 10px; margin-right: 30px; margin-left: 30px; font-weight: bold; }
DIV#text { background: rgb(250,250,250); font-size: 14px; margin-top: 1px; border: 1px solid rgb(205,205,205); padding: 10px; margin-right: 30px; margin-left: 30px; }

DIV.tabs { width: 100%; padding-left: 20px; }

DIV#text > FORM > DIV { padding: 5px; }
DIV#text > FORM > DIV > DIV { padding-bottom: 5px; }
FORM > DIV { padding: 5px; }
FORM > DIV.left > DIV { padding: 5px; }
INPUT.date { width: 80px; text-align: center; }
INPUT.datetime { width: 160px; text-align: center; }
DIV#text > DIV > TABLE { margin-top: 20px; }
DIV#text > DIV > TABLE > TBODY > TR > TD { padding-top: 8px; padding-bottom: 8px; }
/* tbody tr:nth-child(even) td, tbody tr.even td { background: rgb(255,255,255); } */

TEXTAREA.input { width: 400px; font-size: 14px; font-family: arial; height: 25px; padding-top: 2px; padding-left: 2px; padding-right: 2px;  }
INPUT { font-size: 14px; font-family: arial; height: 25px; }

DIV.left { float: left; }
INPUT.address { width: 400px; }
INPUT#passport_who_issued { width: 400px; }
INPUT#passport_serial { width: 40px; text-align: center; }
INPUT#passport_number { width: 55px; text-align: center; }
/* Внешний вид */

/* Авторизация */
DIV#auth { background-color: rgb(208,208,208); text-align: center; width: 300px; margin: 0 auto; padding: 10px; font-size: 20px;margin-top: 40px; }
DIV#auth INPUT { width: 230px; margin-top: 10px; margin-bottom: 10px; font-size: 25px; }
DIV#auth BUTTON { width: 230px; font-size: 25px; margin-bottom: 20px; }
/* Авторизация */

DIV.cb { clear: both; }
DIV.cl { clear: left; }
DIV.cr { clear: right; }

DIV.tabs { margin: 0 auto; }
DIV.active_tab, DIV.tab { float: left; margin-right: 1px; height: 100%; padding: 10px; margin-top: 10px; }
DIV.tab { background-color: rgb(255,255,255); }
DIV.active_tab { background: rgb(250,250,250); border-top: 1px solid rgb(205,205,205); border-right: 1px solid rgb(205,205,205); border-left: 1px solid rgb(205,205,205); }

DIV.desktop_block { border: 1px solid rgb(205,205,205); margin: 20px; float: left; background: rgb(250,250,250) bottom repeat-x; text-align: center; padding: 10px; }

DIV.tab A, DIV.active_tab A { font-size: 16px; }
DIV.active_tab A { text-decoration: none; }

DIV.communication { background-color: rgb(210,210,210); margin: 10px; padding: 10px; }

FORM#org INPUT#name, FORM#org  INPUT#position, FORM#org  INPUT#manager_position, FORM#org  INPUT#manager_name, FORM#org  INPUT#manager_name_genitive { width: 600px; }

FORM#org INPUT#law_address { width: 100%; }
FORM#org INPUT#fact_address { width: 100%; }
FORM#org INPUT#bik { width: 100px; }
FORM#org INPUT#rs, FORM#org INPUT#ks { width: 200px; }

TABLE#bank TR#cap { font-weight: bold; background-color: grey; color: rgb(255,255,255); }

DIV#bank { padding: 5px; }
DIV.left DIV { padding: 5px; }

DIV#bank INPUT#bik { width: 80px; text-align: center; }
DIV#bank INPUT#rs, INPUT#ks { width: 170px; text-align: center; }
DIV#bank INPUT#bank { width: 100%; }

DIV.big_button { width: 162px; height: 162px; background: rgb(238,236,236) url('/template/image/big_button_bg1.jpg') repeat-x; }
DIV.big_button TABLE, DIV.big_button TBODY, DIV.big_button  TR, DIV.big_button  TD { padding: 0px; margin: 0px; }
DIV.big_button IMAGE { padding: 0px; margin: 0px; }

DIV.small_button { width: 80%; height: 31px; background: rgb(238,236,236) url('/template/image/small_button_bg.jpg') repeat-x; margin-left: 10px; margin-right: 10px; margin-top: 5px; margin-bottom: 5px; }
DIV.small_button DIV.l { background: url('/template/image/small_button_left.jpg') left no-repeat; width: 100%; height: 100%; }
DIV.small_button DIV.r { background: url('/template/image/small_button_right.jpg') right no-repeat; width: 100%; height: 100%; padding-top: 0px; }

DIV.small_button A { text-decoration: none; }
DIV.small_button A.active { text-decoration: underline; }

DIV.desktop_block { width: 230px; }
DIV.desktop_block A { color: rgb(66,118,158); text-decoration: none; }

TABLE#message #subject { width: 730px; }
TABLE#message #body { width: 520px; height: 238px; }
TABLE#message #users { width: 200px; }
TABLE#message TR { padding-top: 5px; padding-bottom: 5px; }
TABLE#message BUTTON { padding: 5px; width: 200px; }

DIV.message { margin: 0 auto; background: rgb(245,245,245); margin-bottom: 20px; width: 80%; padding: 10px; }
DIV.message SPAN.iden { font-size: 10px; }
DIV.message SPAN.date { font-size: 10px; }
DIV.message SPAN.subject { font-size: 12px; font-weight: bold; text-decoration: underline; margin-top: 10px; }

TABLE#calendar DIV.day { background-color: rgb(230,230,230); padding: 10px; text-align: center; width: 15px; height: 15px; }
TABLE#calendar DIV.active_day { background-color: green; padding: 10px; text-align: center; width: 15px; height: 15px; font-weight: bold; color: white; }

.col1 { background-color: rgb(255,243,228); }
.col2 { background-color: rgb(228,236,255); }
.col { background-color: rgb(255,243,228); }

.col1:hover, .col2:hover, .not_paid:hover { background-color: rgb(230,255,228); cursor: pointer; }

.cursor { cursor: pointer; }

img.payment_update:hover { cursor: pointer; }

DIV#mail-insert { display: none; }
INPUT#search { width: 98%; margin: 0px; }

IMG.arrow:hover { cursor: pointer; }
DIV.day_clear, DIV.day_exists, DIV.today_day_exists { width: 100px; height: 100px; margin: 5px; }
DIV.today_day_exists { background-color: rgb(195,221,223); }
DIV.day_of_week_name { width: 100px; height: 24px; margin: 5px; text-align: center; background-color: rgb(200,200,200); font-weight: bold; padding-top: 6px; }
DIV.day_exists { background-color: rgb(250,250,250); }
DIV.day_today { width: 540px; margin: 5px; text-align: center; font-size: 20px; font-weight: bold; }
DIV.day_left_arrow, DIV.day_right_arrow { width: 100px; margin: 5px; }
DIV.day_left_arrow { text-align: left; }
DIV.day_right_arrow { text-align: right; }

INPUT.float_numbers, INPUT.numbers { width: 70px; text-align: center; }

DIV#width-height { display: none; }
SPAN#width { font-size: 24px; font-weight: bold; }
SPAN#height { font-size: 24px; font-weight: bold; }

INPUT#address { width: 100%; }

DIV#width-height TD { font-size: 10px; }
DIV#width-height INPUT { width: 40px; }
TD.eyelet { background-color: rgb(250,250,250); }

TABLE#orders > THEAD { font-size: 11px; font-weight: bold; }

TABLE.internal > THEAD > TR > TD { font-size: 14px; width: 250px; background-color: rgb(190,190,190); font-weight: bold; }
TABLE.internal > TBODY > TR > TD { font-size: 14px; width: 250px; background-color: rgb(230,230,230); vertical-align: top; }

.paid_fully { background-color: rgb(185,248,255); }
.paid_partly { background-color: rgb(255,203,142); }
/*
._not_paid
*/

.tabular_data {
border-left: 1px solid black;
border-top: 1px solid black;
}
.tabular_data td {
border-right: 1px solid black;
border-bottom: 1px solid black;
padding: 5px;
font-size: 12px;
}

.tabular_data thead {
color: rgb(255,255,255);
background-color: rgb(200,200,200);
font-weight: bold;
}
.tabular_data thead button {
width: 100%;
}
.tabular_data thead td {
font-size: 12px;
}
.wo:hover {
cursor: pointer;
}

input.time2 {
width: 20px;
text-align: center;
}
input.time4 {
width: 45px;
text-align: center;
}

/*Решение траблы с z-index*/
#ui-datepicker-div {
z-index: 9999;
display: none;
}