@charset "utf-8";

@import 'font-awesome.min.css';

/* clear */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
background-position:0 0; background-repeat:no-repeat;
border:0 none;
font-size:100%; font-style:inherit; font-weight:inherit;
margin:0; padding:0;
text-align:left; vertical-align:baseline;
}
a img, :link img, :visited img { border:0 none; }
table { border-collapse:collapse; border-spacing:0; }
ol, ul { list-style-image:none; list-style-position:outside; list-style-type:none; }
q:before, q:after, blockquote:before, blockquote:after { content:""; }
/* end clear */

/* typography.css */
html {height:100%;}
body {height:100%;font-size:100%;font-family:Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;}
h1 {font-size:1.5em;line-height:1.5;margin-bottom:0.5em; font-weight:normal; color:#111111; text-transform:uppercase; }
h2 {font-size:1.3em;margin-bottom:0.75em; font-weight:normal; color:#111111; }
h3 {font-size:1.2em;line-height:1.3;margin-bottom:0.5em;font-weight:bold;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em; }
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#111; text-decoration:none; }
a {color:#333333;text-decoration:underline;}
a.dashed { text-decoration:none; cursor:pointer; }
a.dashed span { border-bottom:1px dashed #333333; line-height: 1em; display: inline-block; white-space: nowrap; }
a.dashed:focus span, a.dashed:hover span { border-bottom-color:transparent; }
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0; font-size:0.7em;}
sup { vertical-align:super; }
sub { vertical-align:sub; }
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;list-style-position:inside;}
ol {list-style-type:decimal;list-style-position:inside;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;}
th {font-weight:normal;}
thead th {background:#898989; color:#d3d3d3; }
thead th a { color:#d3d3d3; text-decoration:none; }
th, td, caption {padding:0.4em 0.6em; vertical-align:top; }
td {border-bottom:1px solid #898989; }
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.big {font-size:1.1667em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

.clear { clear:both; line-height:0; font-size:0; }
.tar { text-align:right; }
.tac { text-align:center; }
.tal { text-align:left; }

.last-item{height:60px !important;}

iframe{max-width:100%;} 

#YMapsID table {margin:0;}

/* typography */
p { margin:0 0 15px 0; }
table.noborder th, table.noborder td { border:none; }

.borders td { border-right: 1px solid #898989; }
.borders tr td:last-child { border-right:none; }

hr { background:#898989; height:1px; line-height:0; margin: 10px 0; border:none; }


.grey { color:#ababa9; }
.yellow { color:#ff9500; }

/* wrapper */
html, body { height:100%; }
body { font-family: 'Trebuchet MS', Arial; font-size: 81.25%; line-height:1.3; color: #222222; width:100%; background: #fafafa; min-width:1500px; }
body.tiny { width: 98%; min-width:240px; height: auto; min-height:300px; }
input, textarea, select { font-family: 'Trebuchet MS', Arial; font-size: 1em; }

.wrap { 
    position: relative; 
    width:100%; min-height:100%; height:auto !important; height:100%; 
    z-index:11;

}


.header, .footer { background:#4a4848; margin:0; width:100%; clear:both;
box-sizing:border-box; padding: 10px 30px; 
}

.control_panel { background:#4a4848; margin:0; width:100%; clear:both; box-sizing:border-box; padding: 0px 30px; padding-top:0; }

.header, .footer, .control_panel, .header a, .footer a, .control_panel a { color:#fff; }

.header:after, .footer:after, .control_panel:after { content:''; display:block; width:100%; clear:both; }

.content_wrapper {padding:20px 30px 20px; }
.content_wrapper .control_panel { margin: -20px -30px 0; width:auto; }
.content_wrapper .orders_post_menu { margin: 0 -30px 20px; width:auto; padding: 0 30px;  }

.user_bar { float:right; }
.user_bar .info { float:left; line-height:14px; margin-right:60px; text-align:right; height:28px; }
.user_bar form { float:left; margin-right:5px; }
.user_bar input[type=submit] { background: #605f5f; text-transform:uppercase; color:#a6a6a6; width:76px; height:24px; border:none; padding:0; margin:2px 0 0; text-align:center; line-height:24px; }
.user_bar .reload { float:left; font-size:20px; line-height:28px; margin-right:2em; }
.user_bar .reload i { cursor:pointer; }
.header .left { margin-left:5px; }

.main_menu .hamburger { background:#898989; width:34px; height:39px; margin:-39px 84px 0 0; float:right; cursor:pointer; }

.main_menu .hamburger span { text-indent: -3000px; }
.main_menu .hamburger span { display:block; height:3px; width:24px; background:#d3d3d3; margin:3px auto 0; font-size:0; line-height:0; }
.main_menu .hamburger span:first-child { margin-top:4px; }

.main_menu.closed .inner { display:none; }
.main_menu.closed .hamburger { height:24px; }

.main_menu .inner { border-top: 1px solid #898989; }
.main_menu .inner { font-size:1.1667em; } 
.main_menu ul { margin:0 84px 0 0; display:block; text-align:right; }
.main_menu ul li { display:inline-block; list-style:none outside; padding: 5px 15px; text-align:center; }
.main_menu ul li:hover, .main_menu ul li.active { background:#898989; }
.sub_menu ul { float:right; border-top: 1px solid #898989; font-size:0.857em; }

.breadcrumbs { margin: 0 0 1em; border-left:3px solid #4a4848; padding-left: 0.5em; }

ul.tabs { display:block; margin: 0 0 1em; }
ul.tabs li { display:inline-block; list-style:none outside; padding: 5px 15px; text-align:center; margin: 0 1px 0 0; }
ul.tabs li:not(.title):hover, ul.tabs li.active { background:#898989; color:#fff; }
ul.tabs li:not(.title):hover a, ul.tabs li.active a { color:#fff; text-decoration:none; }
ul.tabs li.title { padding-left:0; }
ul.tabs-months, div.tabs-months { display: inline-block; }

ul.paginator { display:block; margin: 0 0 1em; }
ul.paginator:before { content: 'Страницы: '; }
ul.paginator li { display:inline-block; list-style:none outside; padding: 2px 0.5em; text-align:center; }
ul.paginator li:hover, ul.paginator li.active { background:#898989; color:#d3d3d3; }
ul.paginator li:hover a, ul.paginator li.active a { color:#d3d3d3; }

.calendar_nav { margin: 0 0 1em; }
.calendar_nav .year:before { content: 'Год: '; }
.calendar_nav .month:before { content: 'Месяц: '; }
.calendar_nav > div { margin: 0 0 2px; }
.calendar_nav > div > span { display: inline-block; padding: 3px 10px; }
.calendar_nav span.active { background:#898989; color:#fff; }

/* footer */
.footer_blank { 	height:130px; }
.footer { position:relative; height:80px; margin-top:-80px; }
.footer p{display:inline-block; vertical-align: middle;}
.footer p.free{width:80%; text-align:center; font-size:1.5em;}

/* table */
.fa.active { color:#d3d3d3; }
.list tr:hover {background:#ade6c9; }

.comment_admin { }
.comment_master { background:#ade6c9; }
.comment_not_read { background:#faa4a2; }

/* orders */
.orders_post_menu { width:100%; background:#111111; height:34px; line-height:34px; }
.orders_post_menu, .orders_post_menu a { color:#ffd900; text-decoration:none; }
.orders_post_menu ul { display:table; margin:0; padding:0; width:100%; }
.orders_post_menu li { display:table-cell; list-style:none outside; text-align:center; }
.orders_post_menu a { display:inline-block; padding: 0 10px; }
.orders_post_menu .title { text-transform:uppercase; width:160px; }
.orders_post_menu li.active a, .orders_post_menu a:hover { background:#ffffff; color:#000000; }
.orders_post_menu a.icon:before, .regime_table .icon:before { content:''; display:inline-block; background: url('../img/bg_masters.png') no-repeat 0 100%; width:22px; height:22px; vertical-align: middle; margin-right:8px; }
.orders_post_menu a.electrik:before { background-position: 0 0;}
.orders_post_menu .active a.electrik:before, .orders_post_menu a.electrik:hover:before, .regime_table .icon.electrik:before { background-position: -22px 0; }
.orders_post_menu a.santechnik:before { background-position: 0 -22px;}
.orders_post_menu .active a.santechnik:before, .orders_post_menu a.santechnik:hover:before, .regime_table .icon.santechnik:before { background-position: -22px -22px; }
.orders_post_menu a.muzh:before { background-position: 0 -44px;}
.orders_post_menu .active a.muzh:before, .orders_post_menu a.muzh:hover:before, .regime_table .icon.muzh:before { background-position: -22px -44px; }
.orders_post_menu a.otdelochnik:before { background-position: 0 -66px;}
.orders_post_menu .active a.otdelochnik:before, .orders_post_menu a.otdelochnik:hover:before, .regime_table .icon.otdelochnik:before { background-position: -22px -66px; }
.orders_post_menu a.gornichnaya:before { background-position: 0 -88px;}
.orders_post_menu .active a.gornichnaya:before, .orders_post_menu a.gornichnaya:hover:before, .regime_table .icon.gornichnaya:before { background-position: -22px -88px; }
.orders_post_menu a.remont:before { background-position: 0 -110px;}
.orders_post_menu .active a.remont:before, .orders_post_menu a.remont:hover:before, .regime_table .icon.remont:before { background-position: -22px -110px; }
.regime_table .icon { height:22px; display:inline-block; }

.city_bar { float:left; }
.date_bar { width:190px; height:64px; }

.city_bar { color:#ababa9; height:40px; margin: 1px 0 0; }
.city_bar label { line-height:40px; float:left; width:40px;  }
.city_bar .select { padding: 0 20px; width:180px; margin:0 10px 0 0; box-sizing:border-box; position:relative; float:left; } 
.city_bar span{ font-size:18px; color:#ffffff; height:40px; display:block; line-height:40px; } 
.city_bar.chosen{cursor:pointer; } 
.city_bar .chosen:after { background: url('../img/bg_sprite.png') no-repeat 0 0; content:''; display:inline-block; width:9px; height:5px; margin-left:10px;  vertical-align: middle; }
.city_bar .opened .chosen:after { background-position:-9px 0; }
.city_bar a { color:#d3d3d3; text-decoration:none; }
.city_bar a:hover { color:#d3d3d3; text-decoration:underline; }
.city_bar ul { margin:0; padding: 4px 20px 12px; list-style:none outside; line-height:24px; font-size:14px; 
background:#777675; border:1px solid #878787;
position:absolute; top:40px; left:0; width:250px; box-sizing:border-box;
display:none;
z-index: 100;
}
.city_bar .select.opened { background:#878787; } 
.city_bar .select.opened ul { display:block; }
.city_bar .time { font-size:18px; color:#ffffff; display:inline-block; float:left; line-height:40px; } 

.date_bar .chosen_date { width:100%; text-align:center; height:24px; line-height:24px; }
.slider_date { width:100%; height:24px; margin: 0 0 4px; }
.slider_date > a, .slider_date > span { display:inline-block; vertical-align:top;}
.slider_date .prev, .slider_date .next { width:34px; height:100%; background: #605f5f; text-align:center; line-height:34px; cursor:pointer; text-decoration:none; }
.slider_date .prev:before, .slider_date .next:before { content:''; display:inline-block; background: url('../img/bg_sprite.png') no-repeat 0 100%; width:11px; height:19px; }
.slider_date .prev:before { background-position: -11px 100%; }
.slider_date .chosen { background:#d3d3d3; text-align:center; width:116px; margin:0 3px; }
.slider_date .chosen span { display:inline-block; color:#111111; text-align:center; }
.slider_date .chosen .today { text-transform:uppercase; }
.slider_date .chosen > .today { font-size:1.5em; line-height:24px; }
.slider_date .chosen .gototoday { font-size:.83em; line-height:0.9; }
.slider_date .chosen .gototoday .today { font-size:1.4em; }
.slider_date .chosen a { color:#111111; text-decoration:none; }
.date_bar .calendar_icon input { border:none; font-size: 0; width:12px; height:12px; background: url('../img/bg_sprite.png') no-repeat 0 -5px; display:inline-block; cursor:pointer; vertical-align: middle; margin-top: -4px; }
.date_bar .week_date { width:98%; margin: 0 auto; line-height:14px; }
.input .week_date { display:inline-block; margin-left:1em; }
.week_date a { text-decoration:none; display:inline-block; text-align:center; width:11%; margin: 0 1.5%; }
.week_date a.active, .date_bar .week_date a:hover { color:#4a4848; background: #d3d3d3; }
.week_date > span { display:inline-block; padding: 0 3px; }
.week_date > span.active { color:#4a4848; background: #d3d3d3; }

.control_bar .week_date a { color:#eae9e9; }
.control_bar .date_bar { margin: 0 auto; }

.calendar_icon { background: #605f5f; padding: 0 3px; }
.control_bar .calendar_icon { background: none; padding: 0; }

.month_regime td input { display:none; }
.month_regime td label { display:inline-block; width:100%; height:100%; padding:0; text-align:center; }
.month_regime label { color:#898989; cursor:pointer; }
.month_regime .off { color:#c00; }
.month_regime .busy { color:#0c0; cursor:default; }

.order_new_form { margin-left:2.5%; /*overflow: hidden;*/ width:29%; float:left; }

.order_masters_list_nav {}
.order_masters_list_nav div {cursor: pointer; padding: 2px; margin: 5px 15px 5px 0; width: 20px; height: 20px; float: left; text-align: center;}
.order_masters_list_nav div i {font-size: 24px;}
.order_masters_list_nav div.active i {color: #ffd900;}
.order_masters_list_nav:after{ content:''; display:block; width:100%; clear:both; }
.order_masters_list {float:left; width:68%; padding-right:0.5%; position: relative;}
.order_masters_list #masters_list{height:800px; margin-top: 10px;}

.order_masters_list_a {width:100%; height:80%; overflow-y: scroll; border: 1px solid #898989;}
.order_masters_list_a .item { margin-bottom:5px; }
.order_masters_list_a .item .title { background:#898989; color:#fff; height:24px; line-height:24px; overflow:hidden; padding: 0 10px; }
.order_masters_list_a .line { border-bottom: 1px solid #898989; border-right: 1px solid #898989; cursor:pointer; }
.order_masters_list_a .line .time { line-height:24px; height:24px; width:28px; display:inline-block; text-align:right; padding: 0 5px; background:#898989; color:#fff; }
.order_masters_list_a .line.busy { background:#ffd900; }
.order_masters_list_a .line.busy_control { background:#009933; }
.order_masters_list_a .line.busy_problem { background:#FF3333; }
.order_masters_list_a .line.busy_close { background:#0099FF; }
.order_masters_list_a .line.busy_other { background:#CC33CC; }
.order_masters_list_a .line.busy_prepay { background:#8bd100; }
.order_masters_list_a .line.busy_recheck { background:#ffdda6; }
.order_masters_list_a .line.technicalСontrol { background:#a6ffec; }
.order_masters_list_a .line.consult { background:#60b0b0; }

.order_masters_list_a .line .info { color:#000; }
.order_masters_list_a .line:hover, .order_masters_list .line:hover .time,
.order_masters_list_a .line.active, .order_masters_list .line.active .time
{ background:#ade6c9; color:#222222; }

.order_masters_list_b {width: 100%; height:95%; overflow-x: scroll; overflow-y: scroll; border: 1px solid #898989;}
.order_masters_list_b .item { margin: 0; padding: 0;}
.order_masters_list_b .item div:first-child {padding: 0 10px;}
.order_masters_list_b .item div {float: left; width: 100px; border: 1px solid #898989; height: 24px; border-left: none; border-top: none;} 
.order_masters_list_b .item:after{ content:''; display:block; width:100%; clear:both; } 
.order_masters_list_b .time_list  .title{ text-align: center; }
.order_masters_list_b .time_list  .title:first-child{ background:none; }
.order_masters_list_b .item .title { background:#898989; color:#fff; height:24px; line-height:24px; overflow:hidden; padding: 0; }
.order_masters_list_b .item .master { cursor: pointer;}
.order_masters_list_b .line { border-bottom: 1px solid #898989; border-right: 1px solid #898989; cursor:pointer; overflow: hidden; white-space: nowrap;}
.order_masters_list_b .line.busy { background:#ffd900; }
.order_masters_list_b .line.busy_control { background:#009933; }
.order_masters_list_b .line.busy_problem { background:#FF3333; }
.order_masters_list_b .line.busy_close { background:#0099FF; }
.order_masters_list_b .line.busy_other { background:#CC33CC; }
.order_masters_list_b .line.busy_prepay { background:#8bd100; }
.order_masters_list_b .line.busy_recheck { background:#ffdda6; }
.order_masters_list_b .line.technicalСontrol { background:#a6ffec; }
.order_masters_list_b .line.consult { background:#60b0b0; }

.order_masters_list_b .info { color:#000; line-height: 24px;}
.order_masters_list_b .line:hover, .order_masters_list .line:hover .time,
.order_masters_list_b .line.active, .order_masters_list .line.active .time
{ background:#ade6c9; color:#222222; }
.order_masters_list_b>div {width: 500%;}
.order_masters_list_b .line .edit_busy_link { display:inline-block; width:100%; height:100%; text-decoration:none; }


/* .add_busy_links { margin-left: 200px; position: absolute; top: -33px; } */
.add_busy_links { margin-left: 20px; position: absolute; top: 0px; }
.add_busy_links .item {margin-bottom:7px;}
.add_busy_links h2 {margin-bottom: 0.5em;}
.add_busy_links .column {float:left; margin-right: 20px;}
span.busy_status { display:inline-block; width:32px; height:16px; vertical-align: bottom;}
.busy_status.busy_control { background:#009933; }
.busy_status.busy_problem { background:#FF3333; }
.busy_status.busy_close { background:#0099FF; }
.busy_status.busy_other { background:#CC33CC; }
.busy_status.busy_prepay { background:#8bd100; }
.busy_status.busy_recheck { background:#ffdda6; }
.busy_status.technicalСontrol { background:#a6ffec; }

.client_form { position:relative; }
.client_form .phone span{border-bottom:1px dashed #333333; cursor: pointer;}
.client_form .phone:hover span{border-bottom:none; cursor: pointer;}
#client_result { position:absolute; border:1px solid #898989; background:#fafafa; padding:0.5em; top:2em; left:-600px; display:none; min-width:350px;} 
#client_result tr { cursor:pointer; }

.orders_list .master_info { background:#ffd900; font-size:1.1em; }
.orders_list .master_info .phone { margin:0 2em; }
.orders_list .w1 { width:35px; }
.orders_list .w2 { width:100px; text-align:center; }
.orders_list .delim { width:2px; padding:0; background:#898989; border-right:none; }
.orders_list td { position:relative; }
.order_info { position: absolute; bottom:0; right:0; font-size:1.5em; color:#d3d3d3; cursor:pointer; }
.orders_list tr:hover .order_info { color: #4a4848; }
.orders_list td { border-right:1px solid #898989; }
.orders_list td:last-child { border-right:none; }

table.list tr.today { background:#ebfcee; }
table.list tr.past { background:#f997e0; }
table.list tr.active { background:#ade6c9; }
table.list tr.in_work { background:#8feb8f; }

.orders_list .to_right_btm { position:absolute; right:10px; bottom:5px; text-align:right; }

.orders_list .status, span.status { display:inline-block; width:16px; height:16px; }
.input .status { display:inline-block; width:100%; padding:3px 10px; margin-bottom:3px; box-sizing:border-box; cursor:pointer; }

.status-new { background:#ffffff; }
.status-cancel0 { background:#f828c2; }
.status-rated { background:#e3e3e3; }
.status-discuss { background:#ffd900; }
.status-dogovor { background:#5cb85c; }
.status-canceled { background:#eea236; }
.status-work { background:#e3e3e3; }
.status-made { background:#46b8da; }
.status-cancel2 { background:#d43f3a; }

.input .status input { margin:0 15px 0 0; vertical-align:middle; width:15px; }
.input .disabled { background:#d3d3d3; padding-left:40px; cursor:default; }
.input input[readonly] {background:#d3d3d3;}

.beznal {background:#cbe9fe; }

tr.finanse_in { background: #8feb8f;}
tr.finanse_out { background: #ffff82;}

/* form */
.input_wrapper {margin: 0 0 0.5em; border:1px solid #898989; padding:10px;  }
.input {margin: 0 0 0.5em; border:1px solid transparent; }
.input:hover { background:#fdece4; }
.input:after { content:''; display:block; width:100%; clear:both; }
.input > label { width: 117px; margin: 0 5px 0 0; display:inline-block; vertical-align:top; /*padding-top:3px;*/ float:left; }
.input > div { margin-left:120px; }
label input { vertical-align:middle; margin: 0 3px 0 0; max-width: 98%; }
.radio_set > label { margin: 0 10px 0 0; white-space: nowrap; }
.form-actions { padding:0 10px 0 120px; }
.order_new_form .form-actions { padding-left:10px; }
.form-actions .goback { width:120px; display:inline-block; text-align:center; }
.prompt { display:block; font-size:0.83em; }
.input .prompt { padding-left:120px; }
.input div .prompt { padding-left:0; }
.input.error {border-color:#c00; color:#c00; }
span.error {border-color:#c00; color:#f00; /*font-size: 2em; */margin-left:2em;}
.control_panel span.error { color:#fff; }
.input.grey_input { color:#999; }
.input.grey_input input { border-color:#999; color:#999; }

.order-name-input > div { float:left; margin: 0 10px 0 0; }
.order-name-prompts span { border-bottom:1px dashed; cursor:pointer; display: inline-block; line-height: 1; margin: 0 3px 3px 0; }
.order-name-prompts span:hover { border-bottom:none; }

.order_utp_prompts span { border-bottom:1px dashed; cursor:pointer; display: inline-block; line-height: 1; margin: 0 3px 3px 0; }
.order_utp_prompts span:hover { border-bottom:none; }


.form-inline, .form-inline .form_wrapper, .form-inline input, .form-inline select { display:inline-block; margin-right:5px; }
.form-inline .input { display:inline-block; vertical-align:top; }
th form input[type=text] { width: 80px; }

input[type=text], input[type=password], textarea, select {border:1px solid #605f5f; height:22px; padding:2px 5px; width:130px; box-sizing:border-box; }
select { padding: 0 2px; }
select[multiple] { height:70px; }
textarea { height: 60px; width:250px; }
textarea.big { height: 120px; width:370px; }
input[type=submit], button { background:#605f5f; color:#a6a6a6; border:none; height:24px; line-height:24px; padding: 0 15px; text-align: center; text-transform: uppercase; cursor:pointer; }
input[type=submit]:hover, button:hover { background:#898989; color:#d3d3d3; }
input[type=submit][disabled], button[disabled] { background:#898989; color:#d3d3d3; cursor:default; }
input.noborder { border:none; }

form h3 { background:#ffd900; font-weight:normal; }
form .error { color:#c00; }

.order_master_input div { display:inline-block; margin:0 10px 0 0; vertical-align:top; }
.order_master_input .prompt { padding:0; }

.contractor_input div { display:inline-block; margin:0 10px 0 0; }
.contractor_input .prompt { padding:0; }

.supplier_input .input div { display:inline-block;width:130px; margin:0 10px 0 0; vertical-align:top;}
.supplier_input .prompt { padding:0; }


.orders_list th .form_wrapper, .list th .form_wrapper { white-space: nowrap; }
.orders_list th .form_wrapper input[type="submit"], .list th .form_wrapper input[type="submit"] 
{ height: 22px; line-height: 22px; padding: 0; vertical-align: top;}

/* phones */
.phone-item {margin-bottom: 5px;}
.phone-item input[type='text']{width: 90px;}
.phone-item select {width: 80px;}
.phone-item > div { display:inline-block; margin-right:10px; }
.phone-item:after {clear: both;content: ".";display: block;height: 0;visibility: hidden;}

/**/
.regime_table { /*overflow-x:scroll;*/ }
.regime_table > div { float:left; }
.regime_table:after { content:''; display:block; clear:both; }
.regime_table tr.day { }
.regime_table tr.weekend { background:#f4cccc; }
.regime_table tr.today { background:#85e6e6; }
.regime_table th { border: 1px solid #000000; }
.regime_table td { border-right: 1px solid #000000; border-left: 1px solid #000000; border-bottom: 1px solid #d8d8d8; border-top: 1px solid #d8d8d8; }
.regime_table div.day { width:35px; overflow:hidden; text-align:center; vertical-align:middle; }
.regime_table div.busy { text-align:center; background:#d9ead3; }
.regime_table div.work { background:#ffffff; }
.regime_table div.off { background:#f4cccc; }
.regime_table div.day > div { float:left; height:20px; line-height:20px; }
.regime_table div.day > div:hover .fa { color:#d84e4e; }
.regime_table div.day .green, .regime_table div.day .red { width:17px; text-align:center; }
.regime_table div.day .txt { width:17px; text-align: center; cursor: pointer;}
.regime_table div.day textarea { display:none; }
.regime_table div.day textarea:focus { display:block; position:absolute; width:150px; height:150px;  background:#fff; box-shadow: 0 0 4px rgba(13, 13, 14, 0.3); }
.regime_table div.work .green, .regime_table div.weekend .green, .regime_table div.off .red { cursor:pointer; }
.regime_table th > div { margin: 0 0 0.4em; }

.master_list .regime_item { width:160px; }
.master_list .regime_item:last-child{border-bottom: 1px solid #000;}

.regime_table {/*overflow: hidden;*/}
.date_list { width:161px; float:left; }
.regime_table .last {border-right: 1px solid #000;}
.regime_list {float:left; /*overflow: hidden;*/}
.regime_list .regime_item .day { height:100%; }
.scroll_horisont {/*overflow-x: auto;*/}
.scroll_vertical {/*max-height: 400px; overflow-y: auto;*/ }
.regime_block_header, .regime_block_content{float: none !important;}
.regime_block_header:after, .regime_block_content:after, .regime_line:after,
.date_list:after, .regime_list:after {clear: both;content: ".";display: block;height: 0;visibility: hidden;line-height:0; font-size:0;}
.regime_block_header .regime_item{height: 35px;}
.regime_block_content .regime_item{height: 20px;}
.regime_block_content{position: relative;}
.regime_item{float: left;width: 35px;border: 1px solid #000;border-right: none;border-bottom: none;}
.regime_line .regime_item:last-child{border-right: 1px solid #000;}
.regime_list .regime_line:last-child .regime_item{border-bottom: 1px solid #000;}
.regime_line{float: none !important;}
.regime_table .date{ width:160px;}
.regime_table .weekend {background-color: #85e6e6;}
.regime_table .today {background-color: rgb(244,204,204);}
.regime_table .calculation {background-color: #85e6e6;}
.solary_block .regime_block_content .regime_item{height: 40px;}
.date_list .regime_item{text-align: center;}

.regime_block_header .regime_item {text-align: center;}
.master-name{height: 30px;margin: 2px; text-align: center;}
.master-post{height: 30px; text-align: center;}
.master-phone{height: 20px; font-size: 12px; text-align: center;}
.master-status{height: 20px;font-size: 12px;text-align: center;}
.master-comment{height: 20px;font-size: 12px;text-align: center;}

.scroll_vertical .master-name, 
.scroll_vertical .master-post, 
.scroll_vertical .master-phone, 
.scroll_vertical .master-status, 
.scroll_vertical .master-comment { height:auto; }
.master_list .regime_item { overflow:hidden; }

.regime_block_header .date_list { width:auto; float:left; }
.regime_block_header .regime_item { height:20px; }
.regime_table .master_list { float: left; width: 161px; overflow: hidden;}
.regime_block_content .regime_item { height:35px; }


/* client_source */
.client_source thead th {background-color: #fff; color: #000;}
.client_source th, .client_source td {border-collapse: collapse;border: 1px solid #000; text-align: center;}
table th { font-weight:bold; } 

/* result-table */
.result-table {}
.result-table th { border: 1px solid #000000; }
.result-table td { border-right: 1px solid #000000; border-left: 1px solid #000000; border-bottom: 1px solid #d8d8d8; border-top: 1px solid #d8d8d8; }
.result-table .weekend {background-color: rgb(244,204,204);}

.post_groups .checkbox_set{display:inline-block; margin-right:10px; vertical-align:top;}
.post_groups .checkbox_set label{display:block;}

.row .col { display:inline-block; vertical-align:top; width:30%; margin: 0 3% 20px 0; }

.reportitog td, .reportitog th{border: 1px solid #898989;}
.reportitog .delim {background: #898989 none repeat scroll 0 0; border-right: medium none; padding: 0; width: 2px;}

/* debug - IMPORTANT */
.debug { position:absolute; bottom:0; right:10px; border:1px dotted #C1D2FB; padding: 15px; background:#fff; color:#000; z-index:50; }
.debug a { display:block; width:100%; text-align:right; }
.debug p { display:none; }
#sql_log  { max-height:500px; overflow: scroll; }


body { position:relative; }
#body_shadow { background: rgba(38, 38, 38, 0.8); width: 100%; min-height:100%; position:fixed; z-index:130; top:0; left:0; } 
#popup_window { position:absolute; background:#fafafa; border:1px solid #4a4848; z-index:150; }
#popup_window .inner { padding:15px; }
#popup_window .close { position:absolute; top:4px; right:4px; background:#4a4848; color:#d3d3d3; border-radius:50%; height:32px; width:32px; line-height:1; font-size:26px; font-weight:bold; text-align:center; cursor:pointer; }



.success { color: #398439; }
.info { color: #46b8da; }
.warning { color: #eea236; }
.danger { color: #d43f3a; }

.note {
    border-left: 3px solid #eee;
    margin: 0 0 1em;
    padding: 1em 2em 1em 1em;
}
.note-success {
    background-color: #ebfcee;
    border-color: #3cc051;
}
.note-info {
    background-color: #e8f6fc;
    border-color: #57b5e3;
}
.note-danger {
    background-color: #faeae6;
    border-color: #ed4e2a;
}
.note-warning {
    background-color: #fcf3e1;
    border-color: #fcb322;
}

.orders_list table { border-collapse: separate; }
.td-danger { background-color: #faeae6; }


.btn { display:inline-block; padding:5px 10px; background:#4a4848; color:#fff; opacity:0.8; }
.btn:hover { opacity:1; color:#fff; }
.btn-success { background:#3cc051; }
.btn-info { background:#57b5e3; }
.btn-danger { background:#ed4e2a; }
.btn-warning { background:#fcb322; }


.ui-dialog .ui-dialog-content { overflow: hidden !important; } /* всегда есть фрейм внутри */


@media print {
    .header, .control_panel, .footer, .debug, .help, .no_print { display:none; }
}

.uo-sneg{
    width:100%;height:100%;
    position:fixed;
    z-index:10;
    top:0;
    left:0;

    /* background-image: -webkit-linear-gradient(bottom, rgb(230, 230, 230) 0%, rgb(230, 230, 230) 84%);  */
    background-color: #eeeeee;

}


.uo_sneg_on{
    position: fixed;
    top: 30px;
    left: 5px;
    width: 50px;
    height: 45px;
    background: url(/img/snejinka.png);
    cursor: pointer;
    z-index:11;

}