body {
    background-color: #f9f9fa
}

.flex {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto
}

@media (max-width:991.98px) {
    .padding {
        padding: 1.5rem
    }
}

@media (max-width:767.98px) {
    .padding {
        padding: 1rem
    }
}

.padding {
    padding: 5rem
}

h3.device-name {
	margin-left: 10px;
}

.rounded-left {
    border-top-left-radius: 0.25rem!important;
    border-bottom-left-radius: 0.25rem!important;
}

.btn.btn-primary {
	background: #ff9800 !important;
	border: 1px solid #7c4a00 !important;
	color: #fff !important;
}
.btn.btn-primary:hover {
	color: #7c4a00 !important;
}

/* ######## Forms ########### */
.form-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-control {
    height: 48px;
    background: rgba(0,0,0,.05);
    color: #000;
    font-size: 16px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid transparent;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 0.25rem;
}

.input-group-text {
		background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    margin-left: 0px !important;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
}

.checkmark:after{
	content:"\f0c8";
	font-family:"FontAwesome";
	position:absolute;
	color:rgba(0,0,0,.1);
	font-size:20px;
	margin-top:-4px;
	-webkit-transition:.3s;
	-o-transition:.3s;
	transition:.3s
}
/*@media (prefers-reduced-motion:reduce){.checkmark:after{-webkit-transition:none;-o-transition:none;transition:none}}*/
.checkbox-wrap input:checked ~ .checkmark:after {display:block;content:"\f14a";font-family:"FontAwesome";color:rgba(0,0,0,.2)}

.checkbox-primary {
    color: #7c4a00;
}

.checkbox-primary input:checked ~ .checkmark:after {
    color: #7c4a00;
}

.checkbox-wrap {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-wrap input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}


.form-group .submit {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* ######## Layout ########### */
.card {
    background: #fff;
    border-width: 0;
    border-radius: .25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    margin-bottom: 1.5rem
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(19, 24, 44, .125);
    border-radius: .25rem
}

.card {
    display: inline-block;
    position: relative;
    width: 514px;
    border-radius: 2px;
    color: rgba(0,0,0,.87);
    background: #fff;
    -webkit-box-shadow: 0 8px 17px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
    box-shadow: 0 8px 17px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
}

.card[data-item-type] {
	margin-left: 10px;
}

.card.hidden {
	display: none;
}

.card-overlay {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(235 163 163 / 42%);;
  z-index: 2;
  cursor: pointer;
  display: 'flex';
}

.card-header {
    padding: .25rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(19, 24, 44, .03);
    border-bottom: 1px solid rgba(19, 24, 44, .125)
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0
}

card-footer,
.card-header {
    background-color: transparent;
    border-color: rgba(160, 175, 185, .15);
    background-clip: padding-box
}

.card-body {
    padding: 0.5rem 1rem;
		/*height: 150px;*/
}

/* enable auto-scroll in non-mobile device */
@media (max-width: 768px) {
	.card-body {
		height: auto;
		margin-bottom: 5px;
	}
}

@media (max-width: 576px) {
	.card {
		width: 95%;
	}
	.card-body {
		width: 95%;
	}
}

.nav-tabs .nav-link {
	padding-top: 0px;
	padding-bottom: 0px;
}
	
.ct-chart .ct-series.ct-series-a .ct-line {
	stroke: orange;
}
.ct-chart .ct-series.ct-series-b .ct-line {
	stroke: blue;
}

.ct-series-a .ct-point {
    stroke: #d70206;
}
.ct-point {
    stroke-width: 2px;
}

.login-wrap .icon {
    width: 80px;
    height: 80px;
    background: #ff9800;
    border-radius: 50%;
    font-size: 30px;
    margin: 0 auto;
    margin-bottom: 10px;
}
