/* CSS Document */
.table td {
	padding: 0.3rem;
}
.font-white {
	color: #fff;
}

form {
    margin-bottom: 0;
}
form label {
	margin-right:.5em;
}
.inline {
    display: inline-block;
}
.card-login .form-control {
    background: #ededed;
    border: none;
}
.btn_box {
	text-align: center;
	margin-top: 20px;
}
.star-color {
	color: #ffc107;
}
.search_box {
    background: #efefef;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
	 /*border: 1px solid #e5e5e5;*/
	 font-size: 14px;
}
.down_box {
    background: #E0E0E0;
    padding: 15px 20px;
    border-radius: 5px;
	 margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
	 font-size: 14px;
}
table.dataTable tbody tr:nth-child(2n) {
    background: #f5f5f5;
}
th a, th a:hover {
    color: #fff;
		text-decoration: none;
}


.table-bordered thead th.comp_, .table-bordered thead th.comp_1 {
    background: #4a90a3b5;
}

.table-bordered td, .table-bordered th {
    vertical-align: middle;
	font-size: 14px;
}
.table-bordered thead th {
    border-bottom: none;
    background: #4a90a3;
    color: #fff;
    vertical-align: middle;
    font-weight: 600;
	white-space: nowrap;
	text-align: center;
}
.table-bordered tbody td {
	white-space: nowrap;
	vertical-align: middle;
  padding: 0.5rem 0.5rem;
}


#date .form-inline .form-control {
	width: 43%;
}

.form-control {
	background: #fff;
	display: inline-block;
	font-size: 14px;
}

.comp_ {
	display: none;
}

.datepicker table tr td span {
	border: 1px solid #ddd;
}




/**** onoff button ***/
input#comp {
	display: none;
}
input+label,
input+label::before,
input+label::after {
	-webkit-transition: all .2s;
	transition: all .2s;
}
input#comp+label {
	display: inline-block;
	position: relative;
	width: 60px;
  height: 26px;
	border-radius: 15px;
	cursor: pointer;
}
input+label::before {
	display: block;
    content: attr(data-off-label);
    position: absolute;
    top: 1px;
    right: 8px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 18px;
}
input+label::after {
	content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
}
input:checked+label::before {
	content: attr(data-on-label);
    left: 7px;
    right: auto;
    color: #fff;
}
input:checked+label::after {
	left: 34px;
  background-color: #f7f7f7;
}



#comp+label {
	background-color: #8BC34A;
	color: #fff;
}
#comp+label::before {
	color: #fff;
}
#comp:checked+label {
	background-color: #F44336;
}
#comp:checked+label::before {
	color: #fff;
}

/****** set loding ******/
#loader {
  position: absolute;
    left:50%;
    top: 500px;
    z-index: 1;
    margin: -75px 0 0 -75px;
    border: 20px solid #c7c7c7;
    border-radius: 50%;
    border-top: 16px solid #2196F3;
    width: 200px;
    height: 200px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}

@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}

@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}
.fr {
    float: right;
}
.fl {
    float: left;
}
.pagination li {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: #333 !important;
    border: 1px solid transparent;
    border-radius: 2px;
}
.pagination li.active {
    border: 1px solid #979797;
    background-color: white;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #dcdcdc));
    background: -webkit-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -moz-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -ms-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: -o-linear-gradient(top, #fff 0%, #dcdcdc 100%);
    background: linear-gradient(to bottom, #fff 0%, #dcdcdc 100%);
	  padding: 0.25em 0.75em;
}
.pagination a, .pagination li.disabled {
		color: #333;
		display: block;
		padding: 0.25em 0.75em;
}
.pagination a:hover {
    color: white !important;
    /* border: 1px solid #111; */
    background-color: #585858;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: linear-gradient(to bottom, #585858 0%, #111 100%);
    text-decoration: none;
    border-radius: 2px;
}
.fa-star {
    color: #ffc107;
	  cursor: pointer;
}
.hidden  {
    display: none;
}
.tr_rate {
    background: #f5f5f5;
}
.tr {
    text-align: right;
}
.comp_ {
    display: none;
    color: #999;
}
.comp_1 {
	color: #999;
}
#elect_wrap {
    background: #fff;
} 
.card-body {
    padding-left: 0;
    padding-right: 0;
}
.container {
    padding-left: 0;
}
.card-login .card-body {
    padding-left: 60px;
    padding-right: 60px;
}
.form-inline .form-control.w_middle {
    max-width: 70px;
		width: 70px;
}
.w_middle {
    max-width: 70px;
		width: 70px;
}
.form-inline .form-control.w_small {
    max-width: 50px;
		width: 50px;
}
.w_small {
    max-width: 50px;
		width: 50px;
}
.max_w01 {
    width: 95px;
}
.page_box {
    margin-bottom: 1rem;
}
.clear_box  {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
	 /* text-align: right;*/
}
.btn-warning {
    background: none;
}
.btn-warning:hover,
.btn-warning:not(:disabled):not(.disabled).active, .btn-warning:not(:disabled):not(.disabled):active, .show>.btn-warning.dropdown-toggle{
    color: #212529;
    background: none;
}
.table {
    background: #fff;
}
.fa-calendar-alt {
    color: #fff;
}
.btn_r {
    margin-left: auto;
}
.comp_tit {
    margin-right: 8px;
}
.forget_pw {
    cursor: pointer;
}
.form-check {
    padding-left: 0;
}
.forget_pw, .form-check {
    font-size: 12px;
    color: #666;
    margin-top: 30px;
}
form .form-check  label {
    font-size: 13px;
		margin-right: 0;
}
.card-login form {
    margin-bottom: 50px;
}
.unit_data {
  display: none;
	text-align: right;
	background: #FFF8E1;
}
.unit_btn {
    margin-bottom: 1rem;
}
.kind01 {
    background: #FFC107;
    color: #fff;
    padding: 1px 7px;
    border-radius: 30px;
}
.kind02 {
    background: #fb5c45;
    color: #fff;
    padding: 1px 7px;
    border-radius: 30px;
}
.kind03 {
    background: #66d3e1;
    color: #fff;
    padding: 1px 7px;
    border-radius: 30px;
}
.btn {
    padding: 2px 8px;
    font-size: 14px;
}
.down_msg {
    font-size: 13px;
    margin-top: 10px;
}
.fa-info-circle,.fa-question-circle {
    color: #03A9F4;
}
/*tab*/
#tabs {
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

#tabs li {
  float: left;
  margin: 0 .5em 0 0;
}

#tabs a {
  position: relative;
  background: #f5f5f5;
  /*background-image: linear-gradient(to bottom, #fff, #ddd);  */
  padding: .7em 1.5em;
  float: left;
  text-decoration: none;
  color: #444;
  text-shadow: 0 1px 0 rgba(255,255,255,.8);
  border-radius: 5px 0 0 0;
  box-shadow: 0 2px 2px rgba(0,0,0,.4);
}

#tabs a:hover,
#tabs a:hover::after,
#tabs a:focus,
#tabs a:focus::after {
  background: #f8f8f8;
}

#tabs a:focus {
  outline: 0;

}

#tabs a::after {
  content:'';
  position:absolute;
  z-index: 1;
  top: 0;
  right: -.5em;  
  bottom: 0;
  width: 1em;
  background: #f5f5f5;
  /*background-image: linear-gradient(to bottom, #fff, #ddd);  */
  box-shadow: 2px 2px 2px rgba(0,0,0,.4);
  transform: skew(10deg);
  border-radius: 0 5px 0 0;  
}

#tabs #current a,
#tabs #current a::after {
  background-image: linear-gradient(to bottom,#d4d4d4, #efefef);  
 /*background: #fff;*/
  z-index: 3;
}
.search_box.tlb, .insert_box.tlb {
    border-top-left-radius: 0;
}
/*.tab*/
.breadcrumb {
	position: relative;
}
.help{
	display: none;
	cursor: pointer;
	position: absolute;
   right: 0;
}
.help_des {
 	display: none;
   margin: .75rem 1rem;
    background: #ffda0763;
    border-radius: 4px;
    padding: 10px 10px 10px 30px;
	list-style: square;
}
.disk {
    list-style: disc;
}
.page_box {
	display: flex;
}
.page_box > label {
	line-height: 34px;
	padding-right: 10px;
}
.page_box > select {
	height: 34px;
}
.nav-link {
    background: inherit;
    border: none;
    cursor: pointer;
    color: #007bff;
}	

@media (min-width: 1200px){
	.container {
			max-width: 1400px;
	}
}



@media (max-width: 768px){
	.container-fluid {
    padding: 0;
    margin: 0 2%;
    width: auto;
	}
	body {
			font-size: 14px;
	}	
	.form-group {
    margin-bottom: 1rem !important;
	}
	div#layout {
			width: 100%;
	}	
	.form-control, form label {
			font-size: 14px;
	}	
	#login {
		width: 100%;
    margin-bottom: 40px;
	}
	.ml-auto {
    background: #efefef;
    padding: 5px 20px;
    text-align: center;
    border-radius: 4px;
    line-height: 100%;
	}
	.user_data {
			margin: auto;
			float: none;
	}	
	#header .logo {
			float: none;
			margin: 0;
			padding: 15px;
	}
	.user_data {
			float: none;
	}	
	.container {
			display: inline-block;
			padding-right: 0;
			text-align: center;
	}	
	nav.global-nav li {
			margin: 0;
			padding: 0 10px;
	}
	.breadcrumb {
			margin-bottom: 0;
	}	
	.form-inline {
  	  display: block;
	}
	.search_box label, .insert_box label {
			min-width: 70px;
			margin-right: 0;
	}	
	.mr-3, .mx-3 {
			margin-right: 0 !important;
	}	
	.search_box {
			padding: 15px 12px;
			border: 0;
	}	
	#loader {
			top: 230px;
			left: 44%;
	}
	.keyword {
			width: calc(100% - 75px);
	}	
	.ml75 {
			margin-left: 75px;
	}	
	input:checked+label::after {
			left: 45px;
	}	
	.page_box.fr {
			float: none;
	}	
	.comp_tit {
			float: left;
			min-width: 70px;
	}	
	.clear_box .btn,.down_box .btn {
			width	:100%;
		}
	.btn {
			padding: 2px 10px;
	}
}
