* {
	outline: none;
}

.ui-tabs .ui-tabs-nav {
	padding: 0;
}

.ui-tabs .ui-tabs-nav li {
	margin: 0;
}

.ui-tabs .ui-tabs-panel {
	padding: 0;
}

.table td {
	vertical-align: middle;
}

.dataTables_filter {
	float: right;
	margin-right: 30px;
}

.dataTables_length {
	float: right;
	margin-right: 10px;
}

.dataTables_wrapper select {
	height: 28px;
}

.dataTables_length select {
	padding: 4px 3px;
}

#action_select {
	margin-left: 10px;
}

#action_select select {
    width: 320px;
}

.btn-sm {
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
	height: 28px;
	line-height: 28px;
}

.error {
	color: red;
}

.bold {
	font-weight: bold;
}

button.btn:active {
	left: 0;
	top: 0;
}

.create_invoice_btn,
.create_transfer_btn,
.add_connected_btn,
.create_contact_btn {
	margin-bottom: 15px;
	font-weight: bold;
}

.send_null_invoice_btn,
.send_no_prep_invoice_btn {
    margin-bottom: 15px;
    margin-left: 15px;
    font-weight: bold;
}

.add_connected_orders_btn {
	margin-left: 10px;
}

.create_invoice_btn i,
.create_transfer_btn i,
.add_connected_btn i,
.add_connected_orders_btn i,
.create_contact_btn i {
	position: relative;
	top: 2px;
}

#invoice_form td,
#transfer_form td,
#contact_form td,
.create_scan_form td {
	padding: 5px;
}

#invoice_form input, 
#invoice_form select,
#invoice_form textarea,
#transfer_form input,
#transfer_form select,
#transfer_form textarea,
#contact_form input, 
#contact_form select,
.create_scan_form input {
	margin-bottom: 0;
}

#transfer_form input#id_date {
	width: 179px;
}

#transfer_form .row_price {
	display: none;
}

#transfer_form .row_price.show {
    display: table-row;
}

#transfer_form .row_display_price.hide {
    display: none;
}

#transfer_form textarea {
	height: 50px;
}

.errorlist {
	margin-left: 0;
	padding: 0;
}

.errorlist li {
	list-style: none;
	color: red;
}

#transfer_date {
	margin-bottom: 0;
}

#transfer_date .icon-calendar {
	position: relative;
	top: 3px;
}

.depend_status_unsure {
	display: none;
}

.order_detail .icon-remove.checkval,
.customer_detail .icon-remove.checkval {
	color: #c3c3c3;
}

.order_detail .icon-ok.checkval,
.customer_detail .icon-ok.checkval {
	color: #8BBC67;
}

#connected_popup_wrap {
	padding: 10px;
}

.null_invoices_dialog .modal-footer,
.already_sent_dialog .modal-footer,
.remove_confirm_dialog .modal-footer,
.remove_transfer_dialog .modal-footer,
.unbind_connected_dialog .modal-footer,
.remove_contact_dialog .modal-footer,
.send_blank_dialog .modal-footer,
.invoice_disabled_dialog .modal-footer{
	padding-left: 15px;
}

.null_invoices_dialog .btn,
.already_sent_dialog .btn,
.remove_confirm_dialog .btn,
.remove_transfer_dialog .btn,
.unbind_connected_dialog .btn,
.remove_contact_dialog .btn,
.send_blank_dialog .btn {
	width: 100px;
}

.regular_customer {
	color: red;
	font-size: 10px;
	cursor: pointer;
	margin-left: 3px; 
}

.month_name {
	text-align: center;
}

#ocupancy .table td.date_td {
	text-align: center;
}

.weekend {
    color: red;
}

#ocupancy #table_div {
    overflow: scroll;
}

#ocupancy .table td.late_cell_td, 
#ocupancy .table td.early_cell_td {
	padding: 0;
}

#ocupancy .table .late_cell {
	height: 23px;
    line-height: 23px;
    width: 12px;
    text-align: center;
}

#ocupancy .table .early_cell {
	position: absolute;
    height: 23px;
    line-height: 23px;
    width: 11px;
    text-align: center;
    top: -5px;
    left: -17px;
}

#ocupancy .table .early_cell {
	float: right;
}

.grid_legend {
    margin-top: 50px;
}

.grid_legend_row {
    line-height: 23px;
    overflow: hidden;
}

.grid_legend_div {
    float: left;
    height: 23px;
    margin-bottom: 15px;
    margin-right: 15px;
    width: 50px;
}

a[class^="status"] {
	color: #000;
	padding: 3px 5px;
}

#choose_date_form_wrap {
	position: absolute;
	right: 35px;
	top: 55px;
}

#choose_date_form .field_wrap {
	float: left;
	margin-right: 10px;
}

#choose_date_form label {
    float: left;
    line-height: 30px;
    margin-bottom: 0;
    margin-right: 5px;
}

#choose_date_form input {
	width: 65px;
}

#choose_date_form button,
#choose_date_year_form button {
    height: 30px;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 5px;
}

#choose_date_form i {
    left: -1px;
    position: relative;
    top: 3px;
}

#choose_date_form_wrap.date_sales #choose_date_form i {
    top: 0;
    cursor: pointer;
}

.loading,
.table td.loading {
	text-align: center;
	font-size: 20px;
	color: grey;
}

.table td.loading {
	height: 30px;
}

.field_wrap.error input {
	background-color: #ff9191;
}

.display_none {
	display: none;
}

.ui-tabs-anchor {
	text-align: center;
}

.move_from_to_node {
	color: red;
}

tr.child {
	color: grey;
}

tr.child > td a {
	background-color: transparent;
	font-weight: normal;
	color: grey;
}

.download_agreement_btn,
.search_agreement_btn,
.download_invoice_btn,
.confirm_payback_btn,
.create_full_invoice_btn,
.confirm_transfer_btn,
.del_transfer_btn {
	border-width: 0;
    height: 30px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    width: 30px;
}

.btn.download_agreement_btn > [class*="icon-"],
.search_agreement_btn > [class*="icon-"],
.btn.download_invoice_btn > [class*="icon-"],
.confirm_payback_btn > [class*="icon-"],
.create_full_invoice_btn > [class*="icon-"],
.confirm_transfer_btn > [class*="icon-"],
.del_transfer_btn > [class*="icon-"] {
	margin: 0;
}

.add_sum_agreement {
	width: 65px;
	margin-bottom: 0;
}

.week_arrivals_agreement_td {
	width: 100px;
	min-width: 100px;
}

#cash_forcast #empty_head_category {
	min-width: 40px;
}

#ocupancy_rate {
	width: 810px;
}

#ocupancy_rate #indicator {
	width: 110px;
}

#ocupancy_rate #num_rooms {
    width: 120px;
}

#ocupancy_rate #report_days {
    width: 65px;
}

#ocupancy_rate #base_room_days {
    width: 90px;
}

#ocupancy_rate #occupied_room_days {
    width: 90px;
}

#ocupancy_rate #calculation {
    width: 140px;
}

.delim_ocupancy_rate {
    height: 40px;	
}

.total_sum {
	font-weight: bold;
	color: #892E65;
}

.icon-plus-circle:before {
	content: "";
	color: green;
}

.icon-minus-circle:before {
    content: "";
    color: red;
}

.reminder_body li a {
	color: #4F99C6;
}

.dropdown-navbar > li:last-child > a:hover {
	color: #555555;
}

.reminder {
	min-width: 56px;
	display: none;
}

.sidebar-shortcuts-large > .btn > [class*="icon-"].exchange_rate_btn, 
.sidebar-shortcuts-large > .btn > [class*="icon-"].calculator_btn,
.sidebar-shortcuts-large > .btn > [class*="icon-"].scans_btn {
	font-size: 18px;
	position: relative;
	top: 2px;
}

/*START: month colors for ocupancy grid*/
.month_col_1 {
    background-color: #89feff;
}

.month_col_2 {
    background-color: #89b8ff;  
}
    
.month_col_3 {
    background-color: #b0ff89;  
}

.month_col_4 {
    background-color: #feff89;  
}

.month_col_5 {
    background-color: #ff9189;  
}

.month_col_6 {
    background-color: #fb685d;  
}

.month_col_7 {
    background-color: #ff3627;  
}

.month_col_8 {
    background-color: #ff7200;  
}

.month_col_9 {
    background-color: #ffb400;  
}

.month_col_10 {
    background-color: #f8e511;  
}
    
.month_col_11 {
    background-color: #f89911;  
}

.month_col_12 {
    background-color: #11bff8;  
}
/*END: month colors for ocupancy grid*/

/* START: Status colors for ocupancy grid */
.status_col_accepted {
    background-color: #c0c0c0;
}

.status_col_processed {
    background-color: yellow;
}

.status_col_wait_prepayment,
.status_col_wait_full_payment,
.status_col_main_wait_prepayment,
.status_col_main_wait_full_payment {
    background-color: orange;
}

.status_col_confirmed,
.status_col_prepaid,
.status_col_main_prepaid {
    background-color: #11d839;
}

.status_col_unsure {
    background-color: #4d2c09;
}

.status_col_blocked {
    background-color: #80600b;
}

.status_col_no_prep {
    background-color: #f082f0;
}

.status_col_insider {
    background-color: blue;
}

.status_col_canceled {
    background-color: red;
}
/* END: Status colors for ocupancy grid */

.order_detail,
.customer_detail {
	width: auto;
}

/* START: Inplaceedit */
.inplaceedit.enable {
	background: none;
}

.inplaceeditform .input-append {
	margin-bottom: 0;
}

.inplaceeditform .input-append .add-on {
	height: 18px;
	min-width: 14px;
	padding: 2px 2px;
	font-size: 14px;
}

.inplaceeditform .input-append .add-on i {
	line-height: 19px;
}

.inplaceeditform input,
.dataTables_wrapper .inplaceeditform input[type="text"] {
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 0;
	margin-right: 0;
	padding: 2px 5px;
	height: auto;
	width: auto;
	position: relative;
	color: #393939;
}

.inplaceeditform select {
	padding: 1px 5px;
	height: 24px !important;
	margin-bottom: 0;
} 

.inplaceeditform textarea {
    margin-bottom: 0;
    padding: 2px 5px;
    height: auto;
    width: auto;
}

.inplaceeditform button {
	margin: 0;
	padding: 0;
	height: 24px;
	width: 24px;
	text-align: center;
}

.inplaceeditform .btn-small > [class*="icon-"] {
	margin-right: 0;
} 

.bootbox.modal.invoice_dialog {
	width: 370px;
	margin-left: -180px;
}

.bootbox.modal.contact_dialog {
    width: 340px;
    margin-left: -170px;
}

.bootbox.modal.transfer_dialog {
    width: 370px;
    margin-left: -180px;
}

.bootbox.modal.send_blank_dialog {
    width: 370px;
    margin-left: -180px;
}

.table-striped tbody tr td.invoice_btns,
.table-striped tbody tr td.transfer_btns,
.table-striped tbody tr td.connected_btn {
    text-align: center;
}

/*.invoice_btn {
	width: 150px;
}*/

.invoice_btn,
.transfer_btn,
.connected_btn,
.contact_btn,
.blank_btn,
.scan_btn {
    width: 26px;
    height: 25px;
    line-height: 14px;
    border: 0;
    padding: 0;
    text-align: center;
}

.btn.invoice_btn i,
.btn.transfer_btn i,
.btn.connected_btn i,
.btn.contact_btn i,
.btn.blank_btn i,
.btn.scan_btn i {
	margin: auto;
}


/* END: Inplaceedit */

/*START: Bootstrap*/
input, button, select, textarea {
    font-family: 'Open Sans';
    font-size: 13px;	
}

textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
	font-size: 13px;
}

form {
	margin: 0;
}

.modal-footer {
	text-align: left;
	padding-left: 80px;
}

.sidebar {
	width: 240px;
}

.sidebar:before {
	width: 240px;
}

.main-content {
	margin-left: 240px;
}

.menu-min .nav-list > li > .submenu {
	width: 240px;
}

.menu-min .nav-list > li > a.dropdown-toggle > .menu-text {
	width: 228px;
}

.dataTables_wrapper input[type="text"], .dataTables_wrapper select {
	margin-top: -3px;
}

.dataTable th[class*="sort"]:after {
	display: inline;
	float: none;
	margin-right: 0;
	margin-left: 4px;
}

.dataTable th:first-child:after {
	margin-left: 0;
}

.dataTable th[class*="sorting_disabled"]:after {
    content: '';
}

.dataTable th.sorting_disabled {
	color: #555555;
}

#ocupancy .table {
	width: auto;
	margin: 0;
}

#ocupancy .table tr {
	height: 13px !important;
}

#ocupancy .table td,
#customer_qty td,
#cash_forcast td {
	padding: 5px;
	line-height: 13px;
	height: 13px;
	width: 14px;
	min-width: 14px;
	max-width: 14px;
	font-size: 11px;
	text-align: center;
}

#cash_forcast td,
#customer_qty td {
	max-width: none;
}

#customer_qty #empty_head_category {
	min-width: 100px;
}

#ocupancy .table td.room_category {
    width: 200px;
    max-width: none;
    font-size: 13px;
    text-align: left;
}

#ocupancy .table td.room_number {
    font-size: 13px;
}

#ocupancy td {
	padding: 0;
}

#ocupancy #firstcol_td {
	vertical-align: top;
}

#ocupancy #month_header_table td, 
#customer_qty .month_name_td {
	line-height: 9px;
}

#ocupancy #divHeader,
#ocupancy #firstcol {
	overflow: hidden;
}

input[type="checkbox"] + .lbl:before, input[type="radio"] + .lbl:before {
	margin-right: 5px;
}

button.multiselect {
	height: 54px;
}

.multiselect-container.dropdown-menu label {
	padding-left: 0;
}

#ocupancy_rate.table td,
#ocupancy_rate.table th {
    vertical-align: middle;
}

#choose_year select {
	width: 65px;
}

#choose_year .field_wrap {
	float: left;
	margin-right: 5px;
}

#choose_year label {
    float: left;
    line-height: 30px;
    margin-bottom: 0;
    margin-right: 5px;
}

#month_sales th, 
#month_sales td {
	text-align: center;
}

#month_sales th.month_sales_name {
	text-align: left;
}

#choose_year button {
    height: 30px;
    line-height: 20px;
    padding-left: 5px;
    padding-right: 5px;
}

/*END: Bootstrap*/

/*START: Jquery UI*/
ul.ui-autocomplete {
	background-color: #F5F5F5;
}

ul.ui-autocomplete a {
	color: #000;
}

ul.ui-autocomplete a.ui-state-focus {
	cursor: pointer;
}

#ocupancy_categories .category_title_sub {
	max-width: 60px;
	text-align: center;
}

#ocupancy_categories .category_title {
	text-align: center;
}

#ocupancy_categories td {
	text-align: center;
}
/*END: Jquery UI*/

#cboxTitle {
    display: none !important;
}

#cboxLoadedContent {
	margin-bottom: 0;
}

.user-menu {
	min-width: 134px;
}

#login_form .errorlist {
	list-style: none;
	margin-left: 0;
}

#emergency_form {
    width: 350px;
    margin: auto;
    text-align: center;
}

.emergency_btn {
    width: 150px;
    height: 146px;
    background-color: transparent;
    background-position: 0 0;
    background-repeat: no-repeat;
    border: 0;
    cursor: pointer;
}

#emergency_off {
    background-image: url('./img/emergency_off.png');
}

#emergency_on {
    background-image: url('./img/emergency_on.png');
}

#ocupancy .table td .first_cell {
	white-space: nowrap;
}

#ocupancy .table td .first_cell a {
	color: #003366;
}

#ocupancy .table td .first_td_inner {
	position: relative;
}

#order_list_processing {
	text-align: center;
	font-size: 18px;
	color: green;
	position: absolute;
	width: 100%;
}

#order_list_wrapper {
	position: relative;
}

.menu-toggler > .menu-text:after {
	content: "МЕНЮ";
}

table#order_list.scans_list tr td:first-child {
	text-align: left;
}

.create_scan_btn {
	line-height: 20px;
}

.required {
	color: red;
}

.bootbox.modal.create_scan_dialog,
.bootbox.modal.edit_scan_dialog {
    width: 410px;
    margin-left: -230px;
}

.bootbox.modal.create_scan_dialog .modal-footer,
.bootbox.modal.edit_scan_dialog .modal-footer {
	padding-left: 20px;
}

table#order_list tr td:first-child.dataTables_empty {
	text-align: center;
}

a.customer_link {
	color: #393939;
}

#month_invoices td, 
#month_invoices th {
	text-align: center;
}

#month_invoices th.month_sales_name {
	text-align: left;
}

#choose_date_year_form_wrap {
	position: absolute;
    top: 56px;
    right: 20px;	
}

#choose_date_year_form .start_date,
#choose_date_year_form .end_date,
#choose_date_year_form .year {
	float: left;
}

#choose_date_year_form #id_start_day,
#choose_date_year_form #id_start_month,
#choose_date_year_form #id_end_day,
#choose_date_year_form #id_end_month {
	width: 50px;
}

#choose_date_year_form .start_date,
#choose_date_year_form .end_date,
#choose_date_year_form .year {
	margin-right: 20px;
}

#choose_date_year_form #id_year {
	width: 65px
}

#choose_date_year_form .caret {
	margin-top: 8px;
}

.current_rate {
	line-height: 19px;
	padding: 4px 10px 3px;
    color: #fff;
}

.week_arivals.nav-tabs {
	float: left;
}

.week_arrivals.tab-content {
	clear: both;
}

.week_arrivals_search {
	float: right;
	margin-right: 5px;
}

#agreement_search_order_id {
	margin-bottom: 0;
	width: 50px;
}

.table thead tr th.transfer_bosses_date {
	text-align: center;
	color: #2679B5;
}

#check_invoice_table {
	width: 400px;
}

#check_invoice_table thead td {
	text-align: center;
	font-weight: bold;
}

#check_invoice_table .amount {
	text-align: right;
}

#check_invoice_table .difference {
	text-align: right;
	font-weight: bold;
}