.right-panel header.header {
    background-image: linear-gradient(to right, #ffffff, #3e73c3, #124694, #124694, #3e73c3);
}

.right-panel .navbar-header {
	background: transparent;
}

.right-panel .navbar-brand img {
	max-width: 200px;
    margin: 3px auto 0;
}
.nav-link:focus,
.nav-link:hover {
    text-decoration: none;
    color: #40abf3 !important;
}
.header-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.header-menu .dropdown {
	display: flex;
}

.font-12 {
    font-size: 12px;
}
.font-13 {
    font-size: 13px;
}
.font-14 {
    font-size: 14px;
}
.font-16 {
    font-size: 16px;
}
.font-18 {
    font-size: 18px;
}
.font-20 {
    font-size: 20px;
}
.font-22 {
    font-size: 22px;
}

@media screen and (max-width: 768px)
{
	.right-panel header.header .top-left {
		background-image: linear-gradient(to right, #5e90db, #ffffff, #ffffff, #7099d7, #124694);
	}
	a#menuToggle {
	    font-size: 20px;
	    transform: translateY(5px);
	}
	.right-panel header.header {
	    background-image: none;
    	padding-top: 6px;
    }
	aside.left-panel .navbar .navbar-nav li.menu-item-has-children {
	    overflow: hidden;
	}
	aside.left-panel .navbar .navbar-nav li.menu-item-has-children.show {
	    overflow: visible;
	}
}
.navbar .navbar-nav li > a .menu-icon {
    width: 1.3em;
    margin-right: 10px;
}
.navbar .navbar-nav li.menu-item-has-children .sub-menu .active a {
	color: #40aef3;
}
.navbar .navbar-nav li.menu-item-has-children .sub-menu .active i {
	color: #40aef3;
}
.navbar .navbar-nav li.menu-item-has-children.active .sub-menu {
    background: #fafafa;
    padding-bottom: 20px;
}

@media screen and (min-width: 769px)
{
	.navbar .navbar-nav li.menu-item-has-children .sub-menu li.subtitle {
		display: none;
	}
	div.dataTables_wrapper div.dataTables_paginate {
		transform: translateY(-30px);
	}
}

div.dataTables_wrapper div.dataTables_filter input {
	border: 1px solid #ccc;
    padding: 5px;
}
div.dataTables_paginate {
	display: inline-block;
    float: right;
}
div.dataTables_paginate .paginate_button {
	display: inline-block;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border: 1px solid #ccc;
    border-radius: 0px;
    border-right: none;
    text-align: center;
    cursor: pointer;
}
div.dataTables_paginate span {
    display: inline-block;
}
div.dataTables_paginate .paginate_button.current {
	background-color: #292b35;
	color: #fff;
    border: 1px solid #292b35;
}
div.dataTables_paginate .paginate_button:not(.current):last-child {
	border-right: 1px solid #ccc;
}

div.dataTables_paginate .paginate_button:hover {
    background-color: #4b506a;
    color: #fff;
    border-color: #4b506a;
}

.important_tip {
	font-size: 12px;
    color: #f44336;
}

.fas {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-weight: normal;
    font-stretch: normal;
    font-size: inherit;
    line-height: 1;
    font-family: FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.navbar {
    width: 100%;
}
.navbar .main-menu {
    width: 100%;
}
.navbar .navbar-nav {
    width: 100%;
}
#menuToggle > i {
    color: #fff;
    font-size: 21px;
    transform: translate(-10px,5px);
}


.cpcCircle {
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 180px;
    /*padding-top: 100%;*/
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    right: 0;
    background-position: center;
    border-radius: 100%;
    margin: 10px auto;
}
.cpcCircle.cpc98 {
  background-color: #d2a45a;
    border: 6px solid #d2a45a;
}
.cpcCircle.cpc95 {
  background-color: #729377;
    border: 6px solid #729377;
}
.cpcCircle.cpc92 {
  background-color: #839bad;
    border: 6px solid #839bad;
}
.cpcCircle.cpcdiesel {
  background-color: #908a90;
    border: 6px solid #908a90;
}
.cpcCircle > .top {
    position: absolute;
    background-color: #fff;
    top: 0;
    height: 50%;
    left: 0;
    right: 0;
    margin: auto;
    color: #d2a45a;
    text-align: center;
    line-height: 100px;
    font-size: 38px;
    font-weight: bold;
    font-family: sans-serif;
}
.cpcCircle.cpc98 > .top {
    color: #d2a45a;
}
.cpcCircle.cpc95 > .top {
    color: #729377;
}
.cpcCircle.cpc92 > .top {
    color: #839bad;
}
.cpcCircle.cpcdiesel > .top {
    color: #908a90;
}
.cpcCircle > .bottom {
    position: absolute;
    height: 50%;
    color: #fff;
    bottom: 0;
    line-height: 80px;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 30px;
    font-weight: bold;
    font-family: sans-serif;
}
.cpcCircle > .bottom:before {
    content: 'NT.';
    position: absolute;
    left: 10px;
    font-size: 16px;
    line-height: 30px;
}
.cpcCircle > .tip {
    position: absolute;
    height: 15%;
    color: #00ff5a;
    bottom: 0;
    line-height: 20px;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
}
.cpcCircle_tip {
    position: absolute;
    color: #fff;
    text-align: center;
    left: auto;
    right: 15%;
    margin: auto;
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
    width: 40px;
    background-color: #14bd1b;
    border-radius: 100%;
    height: 40px;
    line-height: 40px;
    bottom: 10%;
    z-index: 999999;
}
.cpcCircle_tip:before {
    content: "\f175";
    font-family: 'FontAwesome';
    padding: 0px 2px;
    margin-left: -2px;
    font-size: 12px;
}
.cpcCircle_tip.rise {
    background-color: #f44336;
}
.cpcCircle_tip.rise:before {
    content: "\f176";
    font-family: 'FontAwesome';
    padding: 0px 2px;
    margin-left: -2px;
    font-size: 12px;
}
.cpcupdatetime {
   font-size: 12px;
   color: #7f799c;
}

table.table-bordered.dataTable th,
table.table-bordered.dataTable td {
    vertical-align: middle;
}

/* MODAL START */
.modal-center {
    margin: auto;
    height: fit-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.modal-dialog {

}
.modal-content {
    border-radius: 0px;
    border: none;
    box-shadow: 8px 4px 10px #5e5e5e;
}
.modal-header {

}
.modal-header .modal-title {
    float: left;
    font-weight: bold;
}
.modal-header button.close {
    font-size: 34px;
    line-height: 24px;
}

#infomodal p {
    font-size: 14px;
    color: #333;
}
/*  MODAL END  */


.bcTarget {

}
.bcTarget > div {
    float: left;
    width: 100%;
    border: 1px solid #424242;
    margin: 2px;
    padding: 0 4px 5px;
    border-radius: 6px;
    box-shadow: 2px 2px 5px rgba(0,0,0,.5);
    background-color: #fff;
    user-select: none;
    height: 98px;
}
.bcTarget > div:hover {
    transform: scale(1.8);
    position: relative;
    z-index: 99999999;
}
.bcTarget svg {
    width: 100%;
    height: 60px;
}
.bcTarget svg text {
    font: bold 35px monospace !important;
    transform: translateY(10px);
    fill: #4c4c4c;
}
.bcTarget svg[data-value="null"] {
    display: none;
}
#plate {
    width: 86px;
    border: 2px solid #000;
    border-radius: 9px;
    box-shadow: 2px 2px 4px rgb(0,0,0,.5);
    padding: 2px;
    position: absolute;
    transform: translateY(-20px);
    background-color: #fff;
    margin: 0 auto;
    display: block;
    left: 0;
    right: 0;
}
#plate > p {
    text-align: center;
    margin: 0 auto;
    font-size: 14px;
    line-height: 16px;
    font-weight: bold;
    border: 1.25px solid #c5c5c5;
    border-radius: 6px;
    padding: 0px 2px 5px;
}
#plate > p:before {
    content: '車牌號碼';
    font-size: 12px;
    color: #858585;
    display: block;
    transform: scale(.9);
}

.point {
    display: inline-block;
    width: 20px;
    background-color: #ffa000;
    text-align: center;
    height: 20px;
    margin-right: 5px;
    border-radius: 100%;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    font-family: serif;
    padding: 0px 0px 0px 2px;
    transform: translateY(-1.5px);
}

.radio-switch {
    display: block;
    width: 300px;
    list-style: none;
    float: left;
    margin: 0 auto;
    background-color: #f0f0f0;
    border-radius: 100px;
    padding: 5px;
}
.radio-switch .radio-switch__item {
    float: left;
    display: inline-block;
    width: 25%;
    text-align: center;
}
.radio-switch .radio-switch__item > input {
    
}
.radio-switch .radio-switch__item > label {
    margin-bottom: 0px;
    width: 100%;
    border-radius: 100px;
    padding: 5px;
}
.radio-switch .radio-switch__item > input:checked + label::after {
    content: attr(data-info) " ";
    background-color: #e64a19;
    color: #fff;
    width: 73px;
    height: 35px;
    border-radius: 100px;
    float: left;
    position: absolute;
    transform: translate(-52px, -5.5px);
    line-height: 35px;
}
.radio-switch .radio-switch__item:first-child > input:checked + label::after {
    background-color: #4caf50;
}
.radio-switch .radio-switch__item:nth-child(2) > input:checked + label::after {
    background-color: #3f51b5;
}
.radio-switch .radio-switch__item:nth-child(3) > input:checked + label::after {
    background-color: #f44336;
}
.radio-switch .radio-switch__item:nth-child(4) > input:checked + label::after {
    background-color: #795548;
}