/* General */
body {
    font-size: .875rem;
    background: #e4e5e6;
}
.btn {
    font-size: .875rem;
    cursor: pointer;
}
.btn-success {
    color: #fff !important;
}
.form-control {
    height: calc(2.0625rem + 2px);
    padding: .375rem .75rem;
    font-size: .875rem;
    line-height: 1.5;
}
textarea.form-control {
    height: auto;
}
.app-header .navbar-brand {
    padding: 20px;
}
.app-header .navbar-brand img {
    display: block;
    max-width: 100%;
}
.sidebar .nav-link.active .nav-icon {
    color: #50a4ff;
}
.sidebar .nav-link:hover {
    background: #007bff;
}
.breadcrumb {
    background: #fff;
}
.app-footer {
    background: none;
}
.error-page {
    align-items: center;
    height: calc(100vh - 105px);
    text-align: center;
}
.table td, 
.table th {
    padding-top: .4rem;
    padding-bottom: .4rem;
}
.kv-panel-after,
.kv-panel-before {
    border: none;
}
.main .fa-check-circle {
    color: #28a745;
}
.main .fa-times-circle {
    color: #ff1932;
}
.main .fa-arrows-alt-v {
    color: #a1a3aa;
}

.ui-tooltip {
	-webkit-box-shadow:none !important;
	box-shadow:none !important;
	font-size:9px;
	padding:3px !important;
	border:1px solid #ccc !important;
}

#order-grid-container table td:nth-child(2) {
	width:60px;
}

.btn-toolbar .btn {
    border: none !important;
    border-radius: .25rem !important;
    margin-left: 4px !important;
}
.btn-toolbar .btn-outline-secondary {
    background: #f0f3f5;
}
.btn-toolbar .btn-outline-secondary:hover {
    background: #c8ced3;
}
.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 1px;
}
.table thead th {
    font-weight: 600;
    line-height: 1.2;
}
.kv-editable-link {
    text-align: left;
    color: #007bff;
    line-height: 1.2;
}

.error-summary {
    font-size: 13px;
    color: #dc3545;
    background: #fdf7f7;
    border-left: 3px solid #fee2e1;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}
.error-summary p {
    margin-bottom: 8px;
}
.error-summary > *:last-child {
    margin-bottom: 0;
}
.has-error .help-block {
	font-size: 13px;
    color: #dc3545;
}
.nav-tabs {
    font-size: 1.05rem;
    font-weight: 600;
}
.form-group label {
    font-weight: 600;
}
.fileinput .img-thumbnail img {
    display: block;
    max-width: 100%;
}
.help-img {
    padding: 20px;
}
.table-info, .table-info > td, .table-info > th {
    background: none !important;
}
.table-info tbody + tbody, .table-info td, .table-info th, .table-info thead th {
    border-color: #dee2e6;
}
.fade.in {
    opacity: 1;
}
.fileupload-progress {
    margin-top: 10px;
}
.fileupload-buttonbar .btn {
    color: #fff !important;
}

.sortable li .page_row {
	border:1px solid #DEE2E9;
    padding: 0;
    background: #f7f7f7;
}
.sortable li .page_row table td {
	padding:6px 0;
}
.tree-view table {
	margin-bottom:0;
}
.tree-view table td {
	padding-left:0 !important;
}
.tree-view table td:nth-child(1) {
    width: 35px;
	padding-left:10px !important;
}
.page_row table td:nth-child(2) {
	font-size:14px;
}
.tree-view table td:nth-child(3) {
    width: 52px;
}
.tree-view table td:nth-child(4) {
    width: 52px;
}
.tree-view table td:nth-child(5) {
    width: 52px;
}
.tree-view table td:nth-child(6) {
    width: 52px;
}
.tree-view table td:nth-child(7) {
    width: 350px;
}
.tree-view table td:nth-child(8) {
    width: 80px;
}



a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}
*/
a.asc:after {
    content: /*"\e113"*/ "\e151";
}
a.desc:after {
    content: /*"\e114"*/ "\e152";
}
.sort-numerical a.asc:after {
    content: "\e153";
}
.sort-numerical a.desc:after {
    content: "\e154";
}
.sort-ordinal a.asc:after {
    content: "\e155";
}
.sort-ordinal a.desc:after {
    content: "\e156";
}
ol.sortable {
    margin: 1em 0 2em;
}



.select2-container--default .select2-selection--single {
    border-color: #d2d6de;
    border-radius:0;
	height:34px;
}
.select2-dropdown {
    border-color: #d2d6de;
    min-width: 150px;
}
.select2-results__option {
    padding: 3px 6px;
}
.attr-select + .select2 {
	width: 100% !important;
}


.ui-state-disabled.date-blocked {
    cursor: pointer !important;
    pointer-events: auto !important;
}
.ui-datepicker .date-blocked a {
	position:relative;
}
.ui-datepicker .date-blocked a:before {
    content: '\2573';
    color: #ff002d;
    position: absolute;
    left: 50%;
    margin-left: -9px;
    top: 1px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}



/* Login */
.login-wrapper {
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background-color: #222;
}
.login-form .logo {
	background:url(../img/logo.png) no-repeat center / contain;
	width: 250px;
	height: 55px;
	margin: 15px auto 10px;
	opacity:0;
	-webkit-transform:scale(.7,.7);
	transform:scale(.7,.7);
	-webkit-transition:.3s .5s;
	transition:.3s .5s;
}
.loaded .login-form .logo {
	opacity:1;
	-webkit-transform:scale(1,1);
	transform:scale(1,1);
}
.login-form {
	padding:20px 35px 25px;
	color:#111;
	background:#fff;
	text-align:center;
	border-radius:12px;
	box-shadow: 0 30px 80px rgba(0,0,0,.6);
	width:320px;
	height:450px;
	position:absolute;
    z-index: 2;
	top:50%;
	margin-top:-225px;
	left:50%;
	margin-left:-160px;
	opacity:0;
	-webkit-transform:translateY(-30px);
	transform:translateY(-30px);
	-webkit-transition:.3s .2s;
	transition:.3s .2s;
}
.loaded .login-form {
	opacity:1;
	-webkit-transform:translateY(0);
	transform:translateY(0);
}
.login-form h3 {
	padding-top:15px;
	font-size:26px;
	margin:0 0 30px;
}
.login-form .form-group {
    margin-bottom: .6rem;
}
.login-form .form-control {
	text-align:center;
	border-radius:12px;
    border: none;
    border-bottom: 1px solid #363b6e;
	color:#111;
	height:40px;
	line-height:40px;
}
.login-form .has-error .form-control {
    border-color: #fb1445;
}
.login-form .btn {
	padding:12px 0;
	width:100%;
	background: #082744 !important;
	color: #fff !important;
	border:none !important;
	border-radius:15px;
	font-size: 14px;
	font-weight: bold;
    text-transform: uppercase;
}
.login-form .help-block {
	display:none !important;
}
.login-form .control-label {
    font-size: 14px;
	font-weight: normal;
    margin-bottom: 5px;
}
.login-form .has-error .control-label {
    color: #fb1445;
}



/* Login animation */
@keyframes move_wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1)
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55)
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1)
    }
}
.waveWrapper {
    overflow: hidden;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    -webkit-transition:.3s .7s;
	transition:.3s .7s;
    opacity: 0;
}
.loaded .waveWrapper {
    opacity: 1;
}
.waveWrapperInner {
    position: absolute;
    width: 100%;
    overflow: hidden;
    height: 100%;
    bottom: -1px;
}
.bgTop {
    z-index: 15;
    opacity: .3;
}
.bgMiddle {
    z-index: 10;
    opacity: .65;
}
.bgBottom {
    z-index: 5;
}
.wave {
    position: absolute;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat no-repeat;
    background-position: 0 bottom;
    transform-origin: center bottom;
}
.waveTop {
    background-size: 50% 100px;
}
.waveAnimation .waveTop {
  animation: move-wave 3s;
   -webkit-animation: move-wave 3s;
   -webkit-animation-delay: 1s;
   animation-delay: 1s;
}
.waveMiddle {
    background-size: 50% 120px;
}
.waveAnimation .waveMiddle {
    animation: move_wave 10s linear infinite;
}
.waveBottom {
    background-size: 50% 100px;
}
.waveAnimation .waveBottom {
    animation: move_wave 15s linear infinite;
}



/* Print order */
.page-order-print {
	font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;
	font-size: 13px;
}
.page-order-print h2 {
	font-size: 20px;
	margin:0 0 20px;
}
.page-order-print h3 {
	font-size: 15px;
	margin:0 0 10px;
}
.page-order-print .table {
	border-collapse:collapse;	
	margin-bottom: 15px;
	min-width:600px;
}
.page-order-print .table td,
.page-order-print .table th {
	border:1px solid #bbb;
	padding:3px 5px;
	vertical-align:top;
	text-align:left !important;
}
.page-order-print button {
	display: inline-block;
	padding: 10px 25px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.4;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 40px;
	background: #ff7a40;
	color: #fff;
}


/* Charts */
.chart-tabs > li > a span {
	color:#3c8dbc;
}
.graph-chart {
	width:100%;
	height:300px;
}
.graph-chart canvas {
	width:100% !important;
	height:100% !important;
	background:#fff;
}

.doughnut-chart {
	margin:15px 0;
}
.doughnut-chart-placeholder {
	height:360px;
	width:360px;
	float:left;
	margin:0 50px 0 40px;
}
.doughnut-chart-placeholder canvas {
	height:100%;
	width:100%;
}
.doughnut-chart-legend {
	overflow:hidden;
}
.doughnut-chart-legend ul {
	margin:0;
	padding:0;
	list-style:none;
	font-size:12px;
}
.doughnut-chart-legend ul li span {
	display:inline-block;
	width:10px;
	height:10px;
	border-radius:10px;
	position:relative;
	margin-right:8px;
}
.doughnut-chart-legend ul li span:before {
	content:'';
	display:block;
	position:absolute;
	z-index:1;
	width:4px;
	height:4px;
	border-radius:4px;
	background:#fff;
	left:3px;
	top:3px;
}

@media (max-width:1600px) {
	.doughnut-chart-placeholder {
		height:300px;
		width:300px;
		margin:0 25px 0 15px;
	}
}
@media (max-width:1400px) {
	.doughnut-chart-placeholder {
		height: 230px;
		width: 230px;
		margin: 0 20px 0 5px;
	}
}
@media (max-width:1199px) {
	.doughnut-chart-placeholder {
		float:none;
		height: 280px;
		width: 280px;
		margin: 0 auto 25px;
	}
}
@media (max-width:767px) {
	.doughnut-chart-placeholder {
		height: 220px;
		width: 220px;
	}
}