/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
	-webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

html {
	overflow: hidden;
}

body {
	-webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
	-webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
	-webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
	background-color:#f7f7f7;
	background-attachment:fixed;
	font-family:'HelveticaNeue-Light', 'HelveticaNeue', Helvetica, Arial, sans-serif;
	font-size:12px;
	height:100%;
	height:100vh;
	margin:0px;
	padding:0px;
	width:100%;
	overflow: hidden;
	touch-action: none;
}

body {
	zoom: 1;
	height: 100vh;
	overflow: hidden;
}


.unselectable {
	-moz-user-select: none;
	-khtml-user-select: none;
	-o-user-select:none;
	-webkit-user-select: none;
	-ms-user-select: none;

	user-select: none;
}
.selectable {
	-moz-user-select: text;
	-khtml-user-select: text;
	-o-user-select: text;
	-webkit-user-select: text;
	-ms-user-select: text;

	user-select: text;
}

body,
html {
  position: fixed;
}

.hidden {
	display: none !important;
}

button:focus {
	outline:0 !important;
	box-shadow: none !important;
}

.btn-warning {
	color: #212529;
	background-color: #ffb307;
	border-color: #ffb307;
}

body .btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}
body .btn-default {
	color: #333;
	background-color: #d2d2d2;
	border-color: #d2d2d2;
}

body .btn-white {
    color: #333;
    background-color: #ffffff;
    border-color: #e2e2e2;
}

body .infoWall {
	background-color: #fbfbfb;
	padding: 20px;
	border-radius: 10px;
	max-width: 500px;
	margin: 20% auto;
}

body .infoWallWhite {
	background-color: #fff;
}

body h4 {
	color: #333;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle,
.btn-primary:hover {
	color: #fff;
	background-color: #0076f5 !important;
	border-color: #0076f5 !important;
}

body input.form-control,
body select.form-control {
	border-color: #dee0e2;
	padding: 0px 10px;
	height: 35px;
	font-size: 14px;
	line-height: 14px;
}
select.form-control:not([size]):not([multiple]) {
	height: 35px;
}

.inputComment {
	border: none;
	border-left: 1px solid #e6e6e6;
	border-radius: 0px;
	background-color: #f9f9f9;
}
.inputComment:focus {
	border: none;
	border-left: 1px solid #bdc1ec;
	border-radius: 0px;
	background-color: #f9f9f9;
}

input:focus, textarea:focus, button:focus, select:focus {
	outline:0 !important;
	box-shadow: none !important;
}

.form-control[readonly] {
	background-color: #ffffff;
	opacity: 1;
}

#app h2 {
	color: #3f4756;
}


.loadingPanel {
	position: absolute;
	z-index: 100100;
	left: 0p;
	left: 0px;
	right: 0px;
	opacity: 0.4;
	bottom: 50px;
	top: 0px;
	/*background-color: #373447;*/
}

.table-compact thead th {
	padding: 5px 0px;
	line-height: 15px;
	border-bottom: none;
	font-weight: normal;
}
.table-compact tbody td,
.table-compact tbody th {
	padding: 0px;
	line-height: 15px;
}
.table-vertical td,
.table-vertical th {
	vertical-align: middle;
}

.card-box {
	color: #333;
}

.iti-mobile .intl-tel-input.iti-container {
	z-index: 100000;
}

/*
 * Новая система диалогов
*/
.modal-backdrop {
	z-index: 10800;
}
.dialogEx .modal-backdrop {
	position: fixed;
	height: 100%;
	z-index: 10910;
	background-color: #E4E4E4;
	opacity: 1;
}
.dialogEx .dialogSubClass > .modal {
	z-index: 10910;
	display: block;

	max-width: 900px;
	margin: auto;
}
.dialogEx .modal-body {
	padding: 20px;
}

.dialogEx .modal-dialog {
	margin: 0px auto;
	max-width: 100%;
}

.dialogEx .dialogSubClass > .modal {
	padding: 0px;
}
.dialogEx .modal-dialog {
	margin: 0px;
	min-width: 100%;
}
.dialogEx .modal-body {
	padding: 10px;
	min-height: calc(100vh - 45px);
}

.dialogEx .modal-content {
	/*border-radius: 2px;*/
	padding: 0px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	border-color: #DDD;
	box-shadow: none;

	border: none;
}

.dialogEx .modal-body-no-padding .modal-body {
	padding: 0px;
}
.dialogEx .modal-body-no-padding .modal-content {
	border: none;
}
.dialogEx .modal-body-light-background .modal-content {
	background-color: #f5f5f5;
}

.dialogEx .dialogBoxed .modal-body {
	min-height: 100px;
}
.dialogEx .dialogBoxed .modal-dialog {
	min-width: 200px;
	width: calc(100vw - 50px) !important;
	margin: 50px auto;
	box-shadow: 0px 0px 30px #ddd;
}
.dialogEx .dialogBoxed .modal-content {
	background-color: #fff;
}

.dialogEx .dialogBoxed-2 .modal {
	max-width: max-content;
}

.dialogEx .dialogBoxed-2 .modal-body {
	min-height: 100px;
}
.dialogEx .dialogBoxed-2 .modal-dialog {
	min-width: 200px;
	margin: 50px auto;
	box-shadow: 0px 0px 30px #ddd;
}
.dialogEx .dialogBoxed-2 .modal-content {
	background-color: #fff;
}
.dialogEx .dialogBoxed-3 .modal-dialog {
	margin: 20px auto;
}

.dialogEx .dialogPage .modal {
	max-width: max-content;
}

.dialogEx .dialogPage .modal-dialog {
	margin: 30px auto;
	min-width: 100px;
}

.dialogEx .dialogPage2 .modal-body {
    min-height: auto;
}

.dialogEx .dialogPage2 .modal {
	max-width: max-content;
}

.dialogEx .dialogPage2 .modal-dialog {
	margin: 50px auto 0px;
	min-width: 100px;
}

.dialogEx .dialogPage2NoPadding .modal-body {
	padding: 0px;
}

.dialogEx .dialogPage .modal-body {
    min-height: calc(100vh - 60px);
}

@media all and (max-width:900px) {
	.dialogEx .dialogPage .modal-dialog {
		margin: 0px auto;
		padding: 20px;
	}
	.dialogEx .dialogPage .modal-body {
		min-height: calc(100vh - 40px);
	}
	.dialogEx .dialogPage2 .modal-dialog {
		margin: 0px auto;
	}
	.dialogEx .dialogPage2 .modal-body {
		min-height: 100vh;
		padding: 10px 0px 0px;
	}
	.dialogEx .dialogPage2Padding .modal-body {
		padding: 10px;
	}
	.dialogEx .dialogPage2NoPadding .modal-body {
		padding: 0px;
	}
	.hidden-mobile {
		display: none;
	}
}


.dialogEx .dialogTransparent .modal-content {
	background-color: transparent;
}
.dialogEx .dialogTransparent .modal-body {
	height: 100vh;
}

.dialogEx .dialogDocViewer .modal {
	max-width: 1100px;
}
.dialogEx .dialogFullWidth .modal-body {
	padding: 0px;
}
.dialogEx .dialogFullWidth .modal-dialog {
	width: 100%;
	margin: 0px;
	height: 100%;
	background-color: #fff;
}

.dialogEx .modal-noMinSize .modal-body {
	min-height: 0px;
}

.modal-backdrop.in {
	opacity: 0;
}

.modal-header {
	display: block;
	text-align: right;
	text-transform: none;
}

.otherPage {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 20;
	background-color: #3a3749;
	overflow-y: auto;
	max-height: calc(100vh - 50px);
}

.modal {
	text-transform: none;
}

#app {
	overflow: hidden;
	height:100vh;
	max-width: 1000px;
	margin: 0px auto;
	background-color: #fcfcfc;
}

#app.desktopMode {
	max-width: 1700px;
}

@media all and (min-width:900px) {
	#app {
		max-height: calc(100vh - 60px);
		margin-top: 30px;
		border-radius: 5px;
		box-shadow: 0px 0px 10px #f2f2f2;
	}
}

.appPage {
	overflow: hidden;
}

.alert-msmall {
	padding: 5px;
	margin-bottom: 0px;
	text-align: center;
}

/* Portrait layout (default) */
.app {
	text-align:center;
}

.defLogo {
	background-color: #ddd;
	color: #fff;
	display: inline-block;
	font-size: 22px;
	border-radius: 20px;
	text-align: center;
	
	width: 60px;
    line-height: 60px;
}


.noConnectionLabel {
	/*box-shadow: 10px 10px 100px 0px rgba(0,0,0,0.75);*/
	position: absolute;
	border-radius: 0px 0px 20px 20px;
	left: 0px;
	right: 0px;
	top: 0px;
	padding: 2px;
	z-index: 100000;
	color: #fff;
	text-align: center;
	background-color: #00000096;
	max-width: 200px;
	margin: auto;
}

.helpLabel {
	color: #585757;
	line-height: 16px;
}

/* Landscape layout (with min-width) */
@media screen and (min-aspect-ratio: 1/1) and (min-width:400px) {
	.app {
		background-position:left center;
		padding:75px 0px 75px 170px;  /* padding-top + padding-bottom + text area = image height */
		margin:-90px 0px 0px -198px;  /* offset vertical: half of image height */
									  /* offset horizontal: half of image width and text area width */
	}
}

h1 {
	font-size:24px;
	font-weight:normal;
	margin:0px;
	overflow:visible;
	padding:0px;
	text-align:center;
}

.event {
	border-radius:4px;
	-webkit-border-radius:4px;
	color:#FFFFFF;
	font-size:12px;
	margin:0px 30px;
	padding:2px 0px;
}

.event.listening {
	background-color:#333333;
	display:block;
}

.event.received {
	background-color:#4B946A;
	display:none;
}

@keyframes fade {
	from { opacity: 1.0; }
	50% { opacity: 0.4; }
	to { opacity: 1.0; }
}
 
@-webkit-keyframes fade {
	from { opacity: 1.0; }
	50% { opacity: 0.4; }
	to { opacity: 1.0; }
}

.datepicker-fullwidth {
	font-size: 15px;
}

.datepicker-fullwidth .datepicker-inline {
	width: 100%;
}
.datepicker-fullwidth .datepicker-days {
	width: 100%;
}
.datepicker-fullwidth .table-condensed {
	width: 100%;
}

.blink {
	animation:fade 3000ms infinite;
	-webkit-animation:fade 3000ms infinite;
}

.topWrapper {
	height: calc(100vh - 50px);
	text-transform: none;
}

.mainContent {
	min-height: calc(100vh - 50px);
	padding: 0px;
}

.bottomMenuHidden .mainContent {
	/*height: 100%;*/
}

.bottomMenuHidden .bottomMenu {
	display: none;
}
.bottomMenuHidden .bottomMenuContent {
	display: none;
}
.bottomMenuHidden .topWrapper {
	height: 100vh;
}

.bottomMenu {
	height: 25px;
	background-color: #373447;
	/*background-color: #fff;*/
	z-index: 1000;
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 25px;
	/*opacity: 0.3;*/
	display: none;
}

.bottomMenuContent {
	background-color: #373447;
	/*border-top: 1px solid #3f3c50;*/
	border-top: 1px solid #373447;
	height: 50px;
	position: fixed;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1100;
	padding: 0px 5px 0px;
	line-height: 50px;
}

.bottomMenuContent .menuItem {
	font-size: 20px;
	color: #fff;
	padding: 0px 10px;
	display: inline-block;
	margin: 0px 5px;
	cursor: pointer;
}

.bottomMenuContent .menuItemDisabled {
	color: #ddd;
	display: none;
}

.bottomMenuContent .menuItemInfo {
	color: #ddd;
	float: right;
}

.bottomMenuContent .menuItemActive {
	color: #fff;
	background-color: #2f2c3e;
	border-radius: 5px;
}

#wrapper {
	color: #333;
	/*overflow: hidden;*/
	overflow-y: auto;
}
/*#scroller {
	position: fixed;
	z-index: 1;
	top: 0px;
	left: 0px;
	right: 0px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	width: 100%;
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}*/

.iScrollWrapper {
	position: relative;
	width: 100%;
	height: 500px;
	overflow: hidden;

	/* Prevent native touch events on Windows */
	-ms-touch-action: none;

	/* Prevent the callout on tap-hold and text selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/* Prevent text resize on orientation change, useful for web-apps */
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}
.iScrollScroller {
	position: absolute;
	width: 100%;

	/* Prevent elements to be highlighted on tap */
	-webkit-tap-highlight-color: rgba(0,0,0,0);

	/* Put the scroller into the HW Compositing layer right from the start */
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
}

.iScrollWrapperHorizontal {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;

	/* Prevent native touch events on Windows */
	-ms-touch-action: none;

	/* Prevent the callout on tap-hold and text selection */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;

	/* Prevent text resize on orientation change, useful for web-apps */
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}
.iScrollScrollerHorizontal {
	position: absolute;
	width: 5000px;
	height: 100%;

	/* Prevent elements to be highlighted on tap */
	-webkit-tap-highlight-color: rgba(0,0,0,0);

	/* Put the scroller into the HW Compositing layer right from the start */
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
}

.marketItem {
	padding: 5px;
	background-color: #ddd;
	margin-bottom: 10px;
}
.marketItem .marketCel {
	display: inline-block;
	margin-right: 10px;
	width: 70px;
}

.intl-tel-input {
	width: 100%;
}
.intl-tel-input input {
	height: 40px;
}
.intl-tel-input-min .intl-tel-input {
	width: auto;
}
.input-group .intl-tel-input {
	width: auto;
	width: calc(100% - 100px);
}

/*
 * CHomePage
*/

.homePage {
}
.homePage .homePageLeftMenu {
	display: block;
	width: 100%;
}
.homePage .homePageCenterMenu {
	display: block;
	width: 100%;
	vertical-align: top;
}
.homePage .homePageRightMenu {
	display: inline-block;
	width: calc(100% - 180px);
	padding-left: 10px;
	vertical-align: top;

	border: 1px solid #e8e8e8;
	background-color: #e8e8e8;
	padding: 10px;
	border-radius: 10px;
}
.topList {
	padding-top: 10px;
	margin-bottom: 10px;
	overflow-x: auto;
	height: 40px;
	white-space: nowrap;
}
.topList .topListItem {
	background-color: #e8e8e8;
	padding: 7px 10px;
	text-align: center;;
	display: inline;
	margin-right: 10px;
	width: 40px;
	text-decoration: none;
	border-radius: 5px;
	color: #353535;
}
.topList .topListItem:active {
	text-decoration: none;
}

.topList .topListItemActive {
	background-color: #007bff;
	color: #fff;
}

.topListWidthAuto .topListItem {
	width: auto;
}

.roomsList {
	font-size: 12px;
}

.roomsList .roomItem {
	padding: 10px;
	margin-bottom: 10px;
	text-align: left;
	background-color: #ddd;
	position: relative;

	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
}
.roomsList .roomItem:last-child {
	margin-bottom: 0px;
}

.roomsList .roomItem .stateLabel {
}

.roomsList .roomItem .itemAction {
}

.roomsList .roomItem .roomItemBottom {
	color: #444;
	font-size: 9px;
	margin-top: 3px;
}

.roomsList .roomItem .leftPanel {
	margin-top: 0px;
	overflow: hidden;

	-webkit-flex: auto;
	flex: auto;
}

.roomsList .roomItem .rightPanel {
	display:  inline-block;
	white-space: nowrap;
	position: relative;
	right: 0px;
	margin-top: -5px;
}

.list-group-item {
	padding: 10px;
	font-size: 15px;
	line-height: 15px;
}

.cardBoxItems .card-box:last-child {
	margin-bottom: 0px !important;
}
.cardBoxItemsNoRB .card-box {
	border-right: none;
}

/*
 * loader
*/
@keyframes lds-eclipse {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@-webkit-keyframes lds-eclipse {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	50% {
		-webkit-transform: rotate(180deg);
		transform: rotate(180deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
.lds-center {
	position:  absolute;
	top: 30%;
	right:  0px;
	left:  0px;
	top: calc(100vh/2 - 260px/2);
	z-index: 1;
}
.lds-css {
	display: inline-block;
}
.lds-eclipse {
	position: relative;
}
.lds-eclipse div {
	position: absolute;
	-webkit-animation: lds-eclipse 1s linear infinite;
	animation: lds-eclipse 1s linear infinite;
	width: 160px;
	height: 160px;
	top: 20px;
	left: 20px;
	border-radius: 50%;
	box-shadow: 0 4px 0 0 #21b7f7;
	-webkit-transform-origin: 80px 82px;
	transform-origin: 80px 82px;
}
.lds-eclipse {
	width: 200px !important;
	height: 200px !important;
	-webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
	transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}

.color-success {
	color: #0f0;
}

.color-danger {
	color: #f00;
}

.pull-left {
	float: left;
}
.pull-right {
	float: right;
}

/*
 * CAuthPage
*/
.authPage {
	min-height: 100vh;
	padding-bottom: 20px;
}
.authPage .authContent {
	max-width: 300px;
	margin: auto;
	color: #111;
}
.authPage .authLogo {
	padding-top: 120px;
	min-height: 320px;
	text-align: center;
	opacity: 0.7;
}
.authPage .authLogo h4 {
	font-weight: 100;
	font-style: italic;
	font-size: 1.3em;
}
.authPage .logoTxt {
	font-size: 50px;
	font-style: italic;
	font-weight: 100;
}
.authPage .errorInfo {
	text-align: right;
	margin-top: 3px;
	opacity: 0;
	color: #e21a2d;
}

.authPage .intl-tel-input {
	width: 100%;
}

/*
 * lineInput
*/
.lineInput, .lineInput:focus {
	border: none;
    background-color: transparent;
    color: #333;
    border-bottom: 1px solid #e4e4e4;
    border-radius: 0px;
    text-align: left;
    font-size: 12px;
    padding: 0px;
    padding-bottom: 5px;
}
.lineInput:focus {
	outline: 0;
	box-shadow: none;
}
.lineInput::-webkit-input-placeholder { /* Chrome/Opera/Safari */
	color: #333;
}
.lineInput::placeholder {
	color: #333;
	text-transform: none;
}
.lineInputCentered {
	text-align: center;
}
.lineInputCentered:focus {
	text-align: center;
}


.authPage button {
	background-color: #312e3f;
	border: none;
	padding: 15px;
	color: #ddd;
}
.authPage .subDesc {
	margin-top: 20px;
}
.authPage .verifyBlock {
	/*text-align: center;*/
	white-space: nowrap;
}
.authPage .verifyBlock input {
	width: 32px;
	padding: 3px;
	display: inline-block;
	margin-right: 10px;
	text-align: center;

}
.authPage .verifyBlock input:last-child {
	margin-right: 0px;
}
.authPage .verifyBlock .verifyBlockPrefix {
	font-size: 14px;
	margin-right: 10px;
	font-weight: normal;
}
.authPage .verifyBlock .verifyBlockDl {
	display: inline-block;
	margin-right: 10px;
}

/*
 * CBillsHome
*/
.CBillsHome .acceptLine {
    padding: 10px 15px;
    border-bottom: solid 1px #ddd;
    overflow: auto;
    white-space: nowrap;
    font-size: 0px;
    padding-left: 11px;
}
.CBillsHome .acceptLine::-webkit-scrollbar {
    display: none;
}
.CBillsHome .acceptLine .acceptItem {
	display: inline-block;
	margin-right: 5px;
	position: relative;
	vertical-align: top;
	font-size: 12px;
}
.CBillsHome .acceptLine .acceptItem:last-child {
	margin-right: 0px;
}
.CBillsHome .acceptLine .acceptItem .defLogo {
	width: 45px;
	line-height: 45px;
	clip-path: circle(25px at center);
}
.CBillsHome .acceptLine .acceptItem .acceptLabel {
	position: absolute;
	right: 2px;
	top: 2px;
	background-color: #5cc981;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
}
.CBillsHome .acceptLine .acceptItem .colorLabel {
	position: absolute;
	left: 6px;
	top: 6px;
	background-color: #757575;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 6px;
	height: 6px;
	text-align: center;
}
.CBillsHome .acceptLine .acceptItem .waitLabel {
	position: absolute;
	right: 2px;
	top: 2px;
	background-color: #949494;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
}
.CBillsHome .acceptLine .acceptItem .rejectLabel {
	position: absolute;
	right: 2px;
	top: 2px;
	background-color: #ffb307;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
}
.CBillsHome .acceptLine .acceptItemSplit {
	border-left: solid 1px #ddd;
	display: inline-block;
	width: 1px;
	height: 40px;
	vertical-align: top;
	margin-right: 10px;
	margin-left: 5px;
	margin-top: 5px;
}
.CBillsHome .listItem .billColorLabel {
	position: absolute;
	right: 7px;
	top: 7px;
	background-color: #949494;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 6px;
	height: 6px;
	text-align: center;
}
.CBillsHome .billComment {
	font-size: 11px;
	color: #656161;
	background-color: #f6f4f4;
	padding: 2px 7px;
	margin-top: 3px;
	border-radius: 3px;
}

.CBillsHome .billsList {
	height: calc(100vh - 160px);
	overflow: auto;
}

.CBillsHome .billsBottom {
	padding: 15px 10px 10px;
	font-size: 0px;
	border-top: solid 1px #f5f5f5;
}
.CBillsHome .billsBottom .btn {
	transition: none;
}
.CBillsHome .fileLoaded {
	color: #333;
	font-size: 12px;
}
.CBillsHome .loadPanel {
	width: 100%;
	min-height: 31px;
	text-align: center;
}
.CBillsHome .loadSuccess {
	height: auto;
	background-color: #f9f9f9;
	margin-bottom: 0px;
	border-radius: 10px;
	padding: 0px 0px;
}
.CBillsHome .fileLoaderPanel {
	font-size: 13px;
}

.CFileUploader {
	font-size: 13px;
	color: #333;
}

@media all and (display-mode: fullscreen), all and (display-mode: standalone) {
	.CBillsHome .billsList {
		height: calc(100vh - 110px);
		overflow: auto;
	}
}
@media screen and (min-width:700px) {
	.CBillsHome .billsList {
		height: calc(100vh - 110px);
		overflow: auto;
	}
}
@media all and (display-mode: standalone) {
	.toggleFullScreen {
		display: none;
	}
}

@media screen and (max-width:700px) {
	::-webkit-scrollbar {
	    width: 0px;  /* Remove scrollbar space */
	    background: transparent;  /* Optional: just make scrollbar invisible */
	}
	.element::-webkit-scrollbar {
	    -webkit-appearance: none;
	}
	.billsList::-webkit-scrollbar {
	    -webkit-appearance: none;
	}
	.toggleFullScreen {
		display: none;
	}
}
@media all and (min-width:900px) {
	.CBillsHome .billsList {
		height: calc(100vh - 170px);
		padding: 0px 10px;
	}
}

.CBillsHome .menuItem {
	padding: 5px 0px;
}

.CBillsHome .menuItem span {
	font-size: 11px;
	display: inline-block;
	vertical-align: top;
	margin-top: 4px;
	margin-left: 5px;
}

.CBillsHome .menuItem i {
	display: none;
}

@media screen and (max-width:700px) {
	.CBillsHome .menuItem span {
		display: none;
	}
	.CBillsHome .menuItem i {
		display: inline-block;
	}
}

/*
 * CBillsHome
*/

.billsList .listItem {
	padding: 0px;
	position: relative;
	box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.05);
	margin-bottom: 10px;
}
.billsList .listItem:first-child {
	margin-top: 10px;
}
.billsList .listItem:last-child {
	margin-bottom: 10px;
}

.billsList .listItem .card-box {
	border-left: 4px solid transparent;
}

.billsList .waitCard .card-box {
	border-left: 4px solid #007bff;
}

.billsList .waitInit .card-box {
	border-left: 4px solid #929292;
}

.billsList .listItem .boxWrapper {
	padding: 0px;
	margin: 0px;
}
.billsList .listItem .topLine {
	border-bottom: solid 1px #ddd;
	padding: 10px 10px;
	padding-left: 11px;
}
.billsList .listItem .topLine .billPrice {
	float: right;
}
.billsList .listItem .otherDocTypeAcceptLine {
	border-bottom: solid 1px #ddd;
}
.billsList .listItem .bottomLine {
	padding: 10px 15px;
	display: flex;
	min-height: 40px;
	padding-right: 55px;
	flex-direction: row;
	flex-wrap: nowrap;
	position: relative;
	padding-left: 11px;
}
.billsList .listItem .bottomLine .lineButton {
	flex: 1;
	min-width: 100px;
}
.billsList .listItem .bottomLine button {
	padding: .25rem .5rem;
	font-size: .875rem;
	line-height: 1.5;
	border-radius: .2rem;
}
.billsList .listItem .sideLine {
	border-top: solid 1px #ddd;
	padding: 10px;
}
.billsList .listItem .openSide,
.billsList .listItem .closeSide  {
	position: absolute;
	right: 10px;
	top: 10px;
}

@media all and (min-width:900px) {
	.billsList .listItem {
		width: calc(100%/2 - 10px);
		display: inline-block;
		margin-right: 10px;
		vertical-align: top;
	}
}

.COtherDocAcceptLine {
	overflow-x: auto;
	white-space: nowrap;
}

.COtherDocAcceptLine::-webkit-scrollbar {
  display: none;
}

.COtherDocAcceptLine .docAcceptLineItem {
	display: inline-block;
	vertical-align: top;
	position: relative;
	margin-right: 5px;
}
.COtherDocAcceptLine .docAcceptLineItemTop {
	background-color: #f7f7f7;
	border-radius: 5px;
	padding: 5px 10px;
}
.COtherDocAcceptLine .docAcceptLineItem:last-child {
	margin-right: 0px;
}

.COtherDocAcceptLine .docAcceptLineItem span {
	margin-right: 5px;
}

.COtherDocAcceptLine .docAcceptLineItem .acceptLabel {
	background-color: #5cc981;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
	display: inline-block;
}
.COtherDocAcceptLine .docAcceptLineItem .waitLabel {
	background-color: #949494;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
	display: inline-block;
}
.COtherDocAcceptLine .docAcceptLineItem .rejectLabel {
	background-color: #ffb307;
	border-radius: 30px;
	padding: 0px 3px;
	color: #fff;
	z-index: 1;
	width: 18px;
	height: 18px;
	text-align: center;
	display: inline-block;
}
.COtherDocAcceptLine .docAcceptLineItem .userLogoItem {
	position: relative;
	display: inline-block;
	vertical-align: top;
}
.COtherDocAcceptLine .docAcceptLineItem .userLogoItem .checkLabel {
	position: absolute;
	right: -3px;
	top: -3px;
}

.imageContainer {
  width: 100%;
  height: 100%;
  z-index: 10000;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.imageContainer > img {
  display: block;
  max-width:100%;
  max-height:100%;
  cursor: move;
  touch-action: none;
}

#hud {
  background: rgba(0,0,0,0.6);
  position: absolute;
  padding: 10px 20px;
  color: #FFF;
  font-family: sans-serif;
  font-size: 1.2em;
  pointer-events: none;
}

#app .btn-outline-danger:not(:disabled):not(.disabled):active,
#app .btn-outline-danger:not(:disabled):not(.disabled):hover {
	color: #dc3545;
	background-color: transparent;
	background-image: none;
	border-color: #dc3545;
}

.CBillsView .inputComment {
	background-color: #f9f7ff;
	border: none;
	border-left: solid 1px #ddd;
	border-radius: 0px;
	outline: none !important;
	box-shadow: none;
}
.CBillsView .inputComment:focus {
	outline: none !important;
	border-left: solid 1px #8ea1d4;
}

.CBillsView .saveCommentLabel {
	font-size: 10px;
	margin-top: 2px;
}

.CBillsView .actionRow {
	display: flex;
	overflow-x: auto;
}
.CBillsView .actionRow .actionCol {
	display: inline-block;
	flex: 1;
	margin-right: 10px;
}
.CBillsView .actionRow .actionCol:last-child {
	margin-right: 0px;
}
.CBillsView .bottomPanel {
	background-color: #f0eff5;
	padding-bottom: 20px;
}
.CBillsView .billShortView .bottomPanel {
}

@media all and (max-width:700px) {
	.CBillsView .actionRow {
		flex-flow: column;
	}
	.CBillsView .actionRow .actionCol {
		margin-right: 0px;
		margin-bottom: 10px;
	}
	.CBillsView .bottomPanel {
		min-height: calc(100vh - 45px);
	}
}

.pageTitle {
	max-width: calc(100% - 100px);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	margin-left: 90px;
	padding-top: 3px;
	text-align: left !important;
	font-size: 14px;
}

.CBillsImageView .topToolbox {
	position: absolute;
	right: 0px;
	top: 15px;
	z-index: 10010;
	text-align: right;
	padding: 0px 20px;
}

@media all and (min-width: 1000px) {
	.CBillsImageView .topToolbox {
		background-color: #65656552;
		padding: 15px;
		border-radius: 10px;
	}
}

/*
 * CDateSelector
*/

.CDateSelector .datepickex-inline {
	width: 100%;
}
.CDateSelector .datepickex {
	width: 100%;
	border: none;
}

.typeBox {
	white-space: nowrap;
	overflow-x: auto;
	position: relative;
}
.typeBox .typeBoxItem {
	display: inline-block;
	margin-right: 10px;
	
}
.typeBox .typeBoxItem:last-child {
	margin-right: 0px;
}
.typeBox .typeBoxItem .btn {
	border: 1px solid #edefff;
	padding:  5px 10px;
	text-align:  center;
	border-radius: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
	text-decoration: none;
}
.typeBox .typeBoxItemActive .btn {
	background-color: #007bff;
	border: 1px dashed #007bff;
	color: #fff;
}

/*
 * CPriceTableEditor
*/
.CPriceTableEditor input {
	line-height: 10px;
	height: 25px;
	border: navy;
	border-bottom: 1px solid #ddd;
	border-radius: 0px;
	padding: 0px 0px 10px;
	text-align: center;
}
.CPriceTableEditor .form-control:disabled,
.CPriceTableEditor .form-control[readonly] {
	background-color: #fff;
}

/*
 * CSearchCompany
*/
.CSearchCompany .searchItem,
.CSearchObject .searchItem {
	padding: 10px;
	background-color: #fbfbfb;
	border-radius: 0px;
	border-bottom: solid 1px #ddd;
	cursor: pointer;
}

.CSearchCompany .searchItem:hover,
.CSearchObject .searchItem:hover {
	background-color: #fcfcfc;
}

/*
 * CHomePage
*/
.CHomePage {
}
.CHomePage .leftFilter {
	min-height: 45px;
	white-space: nowrap;
	overflow: hidden;
	max-width: 70%;
}

.CHomePage .leftFilter .btn {
	max-width: 170px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.CHomePage .topFilter {
	min-height: 45px;
}
.CHomePage .activeHeaders {
	white-space: nowrap;
	overflow-x: auto;
}
.CHomePage .activeHeaders .headerColumn {
	background-color: #fcfcfc;
	width: 350px;
	display: inline-block;
	vertical-align: top;
	margin-right: 20px;
	margin-bottom: 15px;
	/*height: calc(100vh - 140px);*/
	border-radius: 5px;
	overflow: hidden;
}
.CHomePage .activeHeaders .headerColumn:last-child {
	margin-right: 0px;
}
.CHomePage .activeHeaders .headerTitle {
	padding: 10px;
	background-color: #bababa;
	text-align: center;
	color: #fff;
}

.CHomePage .activeHeaders .headerTitle.header-primary {
	background-color: #66c281;
}

.CHomePage .billsList .listItem {
	width: 100%;
	display: block;
	margin-right: 0px;
}

.CHomePage .billsList {
	height: calc(100vh - 250px);
	padding: 0px 10px;
}

.CHomePage .billsList .listItem .bottomLine {
	padding-right: 10px;
}

.desktopPage .content {
	padding: 15px 20px;
}

/*
 * CMenuLine
*/
.CMenuLine {
	background-color: #556dc3;
	padding-top: 5px;
	padding-bottom: 5px;
}
.CMenuLine .menuItemX {
	width: 100px;
	display: inline-block;
	text-align: center;
	background-color: #556dc3;
	color: #fff;
	cursor: pointer;
	border-right: solid 1px #ccc;
}
.CMenuLine .menuItemX:hover {
	background-color: #526abf;
}

.CMenuLine .menuItemX a {
	line-height: 40px;
	display: inline-block;
	width: 100%;
}

.CMenuLine .menuItemX a,
.CMenuLine .menuItemX a:focus {
	color: #fff;
	text-decoration: none;
}

/*
 * CTableHistory
*/
.CTableHistory .list {
	max-height: calc(100vh - 140px);
	overflow: auto;
}
#app.desktopMode .CTableHistory .list {
	max-height: calc(100vh - 200px);
	overflow: auto;
}

/*
 * CTableStatistics
*/
.CTableStatistics .topFilterMenu {
	background-color: #fafafa;
	padding: 15px 20px;
	border-radius: 5px;
	margin-bottom: 20px;
}
.CTableStatistics table tr {
	cursor: pointer;
}
.CTableStatistics table td.active {
	background-color: #fafafa;
}
.CTableStatistics table td.noActive {
	background-color: #fff !important;
}
.CTableStatistics table td.subActive {
	background-color: #f0fff0;
}
.CTableStatistics table .subInfo {
	font-size: 9px;
	color: #858585;
}

.tableFixHead {
	overflow: auto;
	height: 700px;
	height: calc(100vh - 250px);
}
.tableFixHead thead .row0 th {
	position: sticky;
	top: 0px;
	z-index: 1;
}
.tableFixHead thead .row1 th {
	position: sticky;
	top: 34px;
	z-index: 1;
}
.tableFixHead .table thead th {
	border-bottom: none;
}

/* Just common table stuff. Really. */
.tableFixHead table  {
	border-collapse: collapse;
	width: 100%;
}
.tableFixHead th, td {
	padding: 8px 16px;
}
.tableFixHead th     {
	background: #eee;
}

/*
 * CViewPDF
*/
.CViewPDF .wrapperPanel {
	height: calc(100vh - 160px);
	transition: opacity 0.3s ease-in-out;
}

@media all and (max-width: 900px) {
	.CViewPDF .wrapperPanel {
		height: calc(100vh - 70px);
	}
}

.CViewPDF .docPanel {
	text-align: center;
}

.CViewPDF .topToolbox {
	text-align: right;
	padding: 10px 20px;
	background-color: #f7f7f7;
	margin-bottom: 10px;
}
@media all and (max-width: 900px) {
	.CViewPDF .topToolbox {
		padding: 10px 15px;
	}
}

/*
 * .select2
*/
.select2-container {
	z-index: 100000;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #495057;
}
.select2-container--default .select2-selection--single {
	background-color: #fff;
	border: 1px solid #dee0e2;
	border-radius: 4px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0px 15px;
}
.select2-container .select2-selection--single {
	height: 35px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #444;
	line-height: 35px;
	font-size: 14px;
}
.select2-search input {
	border: 1px solid #e3e3e3 !important;
	border: none !important;
	border-bottom: 1px solid #e3e3e3 !important;
	margin-bottom: 5px;
}
.select2-selection:focus {
	outline: none !important;
	border-color: #80bdff;
}