* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	--color-primary: #009579;
    --color-primary-dark: #007f67;
    --color-secondary: #252c6a;
    --color-error: #cc3333;
    --color-success: #4bb544;
    --border-radius: 4px;

	font-family: Arial, Helvetica, sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-height: 100vh;
	background: #4070f4;
	background-size: cover;
	background-position: center
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 15px 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 99;
}

.logo {
	user-select: none;
}

.nav-bar {
	display: inline-block;
}

.nav-bar a {
	position: relative;
	font-size: 1rem;
	color: #fff;
	text-decoration: none;
	margin-left: 15px
}

.nav-bar a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -6px;
	width: 100%;
	height: 3px;
	background: #ffffff;
	border-radius: 4px;
	transform-origin: right;
	transform: scaleX(0);
	transition: transform .5s;
}

.nav-bar a:hove::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-bar .volt-popup {
	width: 35px;
	height: 35px;
	background: transparent;
	border: 1px solid #ffffff;
	outline: none;
	border-radius: 50%;
	cursor: pointer;
	margin-left: 30px;
}

.nav-bar .volt-popup:hover {
	background: #ffff;
}

.nav-bar .cca-popup {
	width: 35px;
	height: 35px;
	background: transparent;
	border: 1px solid #ffffff;
	outline: none;
	border-radius: 50%;
	cursor: pointer;
	margin-left: 30px;
}

.nav-bar .cca-popup:hover {
	background: #ffff;
}

.nav-bar .indicator-popup {
	width: 35px;
	height: 35px;
	background: transparent;
	border: 1px solid #ffffff;
	outline: none;
	border-radius: 50%;
	cursor: pointer;
	margin-left: 30px;
}

.nav-bar .indicator-popup:hover {
	background: #ffff;
}

.nav-bar .login-popup {
	width: 35px;
	height: 35px;
	background: transparent;
	border: 1px solid #ffffff;
	outline: none;
	border-radius: 50%;
	cursor: pointer;
	margin-left: 30px;
	transition: .5s;
}

.nav-bar .login-popup:hover {
	background: #ffff;
}

@media all and (max-width: 720px) {
	.button-menu {
		margin-top: 10px;
	}

	.search-box {
		margin-top: 40px;
	}

	.indicator {
		width: 100%;
		font-size: 0.8em;
		margin-top: 45px;
	}

	.box-cca {
		width: 100%;
		font-size: 0.8em;
		margin-top: 45px;
	}

	.box-volt {
		width: 100%;
		font-size: 0.8em;
		margin-top: 45px;
	}

	.wapper {
		margin-top: 50px;
	}

	.tb-box {
		overflow-x: auto;
	}

	.list-box {
		width: 100%;
		border-collapse: collapse;
		font-size: 0.8em;
	}
}

@media all and (max-width: 1366px) {
	.wapper {
		margin-top: 200px;
	}
}

/*Hydrometer*/
.indicator {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 90%;
	font-size: 0.9em;
	border: 1px solid #fff;
	border-radius: 4px;
	padding: 10px;
	top: 155px;
	margin-bottom: -120px;
	transform: scaleX(0);
	transition: transform .5s ease, height .2s ease;
}

.indicator.open-indic {
	transform: scaleX(1);
}

.indicator .meter.hydrometer {
    transition: transform .18s ease;
    transform: translateX(0);
}


.indicator h2 {
	color: #ffffff;
	font-weight: 600;
	text-align: center;
}

.indicator h3 {
	color: #ffffff;
}

.indicator p {
	color: #ffffff;
	text-indent: 30px;
}

.all-indicator {
	width: 100%;
	margin: 8px 0 0 0;
}

.indicator .indic-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	font-size: 0.9em;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-left-radius: 4px;
	cursor: pointer;
	z-index: 1;
}

.indicator .indic-close:hover {
	background: #cc3333;
}

/*CCA Box*/
.box-cca {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 90%;
	border: 1px solid #fff;
	border-radius: 4px;
	padding: 10px;
	top: 155px;
	margin-bottom: -120px;
	transform: scaleX(0);
	transition: transform .5s ease, height .2s ease;
}

.box-cca.open-cca {
	transform: scaleX(1);
}

.box-cca .ccaAh.cca_ah {
    transition: transform .18s ease;
    transform: translateX(0);
}


.box-cca h2 {
	color: #ffffff;
	font-weight: 600;
	text-align: center;
}

.box-cca h3 {
	color: #ffffff;
}

.box-cca p {
	color: #ffffff;
	text-indent: 30px;
}

.box-cca .cca-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	font-size: 1em;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-left-radius: 4px;
	cursor: pointer;
	z-index: 1;
}

.box-cca .cca-close:hover {
	background: #cc3333;
}

/* Volt Box */
.box-volt {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	width: 80%;
	border: 1px solid #fff;
	border-radius: 4px;
	padding: 15px;
	top: 155px;
	margin-bottom: -120px;
	transform: scaleX(0);
	transition: transform .5s ease, height .2s ease;
}

.box-volt.open-volt {
	transform: scaleX(1);
}

.box-volt .volt-tage.volt_tage {
    transition: transform .18s ease;
    transform: translateX(0);
}


.box-volt h2 {
	color: #ffffff;
	font-weight: 600;
	text-align: center;
}

.box-volt h3 {
	color: #ffffff;
}

.box-volt p {
	color: #ffffff;
	text-indent: 30px;
}

.box-volt .volt-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	font-size: 1em;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-left-radius: 4px;
	cursor: pointer;
	z-index: 1;
}

.box-volt .volt-close:hover {
	background: #cc3333;
}

/* Register PHP */
.wapper-1 {
	position: relative;
	width: 400px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	box-shadow: rgba(242, 250, 250, 0.3) 20px 20px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.error {
	font-size: 1.2rem;
	color: #ffffff;
	text-align: center;
	margin-top: 10px;
	border-bottom: 2px solid #cc3333;
}

.success {
	font-size: 1.2rem;
	color: #ffffff;
	text-align: center;
	margin-top: 10px;
	border-bottom: 2px solid #ffffff;
}

/*Wrapper Container*/
.wapper {
	position: relative;
	width: 400px;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, .5);
	border-radius: 20px;
	backdrop-filter: blur(20px);
	box-shadow: rgba(242, 250, 250, 0.3) 20px 20px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	transform: scale(0);
	transition: transform .5s ease, height .2s ease;
}

.wapper.active-popup {
	transform: scale(1);
}

.wapper.active {
	height: 520px;
}

.wapper .icon-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 35px;
	height: 35px;
	font-size: 1em;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	border-bottom-left-radius: 20px;
	cursor: pointer;
	z-index: 1;
}

.wapper .form-box {
	width: 100%;
	padding: 40px;
}

.form-box h2 {
	font-size: 2em;
	color: #ddd;
	text-align: center;
}

.input-box {
	position: relative;
	width: 100%;
	height: 50px;
	border-bottom: 2px solid #ddd;
	margin: 30px 0;
}

.wapper .form-box.login {
	transition: transform .18s ease;
	transform: translateX(0);
}

.wapper.active .form-box.login {
	transition: none;
	transform: translateX(-400px);
}

.wapper .form-box.register {
	position: absolute;
	transition: none;
	transform: translateX(400px);
}

.wapper.active .form-box.register {
	transition: transform .18s ease;
	transform: translateX(0);
}

.input-box label {
	position: absolute;
	top: 50%;
	left: 5px;
	transform: translateY(-50%);
	font-size: 1em;
	color: #fff;
	font-weight: 500;
	pointer-events: none;
	transition: .5s;
}

.input-box input {
	width: 100%;
	height: 100%;
	background: transparent;
	border: none;
	outline: none;
	font-size: 1em;
	letter-spacing: 1px;
	color: #ffffff;
	padding: 0 35px 0 5px;
}

.input-box input:focus~label,
.input-box input:valid~label {
	top: -5px;
}

.input-box .icon {
	position: absolute;
	right: 8px;
	font-size: 1.2em;
	color: #fff;
	line-height: 57px;
}

.remember-forgot {
	font-size: 0.9em;
	color: #fff;
	font-weight: 500;
	margin: -15px 0 15px;
	display: flex;
	justify-content: space-between;
}

.remember-forgot label input {
	accent-color: #162938;
	margin-right: 3px;
}

.remember-forgot a {
	color: #ffffff;
	text-decoration: none;
}

.remember-forgot a:hover {
	text-decoration: underline;
}

.btn {
	width: 100%;
	height: 45px;
	background: var(--color-primary);
	border: none;
	outline: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 1em;
	color: #fff;
	font-weight: 500;
}

.btn:hover {
	background: var(--color-primary-dark);
}

.login-register {
	font-size: 0.9em;
	color: #fff;
	text-align: center;
	font-weight: 500;
	margin: 25px 0 10px;
}

.login-register p a {
	color: #fff;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
}

.login-register p a:hover {
	text-decoration: underline;
	color: var(--color-success);
}

/* Search Box */
.search-box {
	position: absolute;
	top: 70px;
	width: 100%;
	text-align: center;
	padding: 5px;
}

.search-box .text-1 {
	color: #ffffff;
	font-size: 1rem;
	letter-spacing: 1px;
}

#key_word {
	width: 300px;
	height: 35px;
	margin-top: 9px;
	outline: none;
	border: none;
	border-radius: 4px;
	padding: 0 7px 0 28px;
	font-size: 0.9em;
	background: url('svg/search.svg') no-repeat left #fff;
}

/* Table List */
.tb-list {
	width: 100%;
	margin: 10px;
}

.list-box {
	width: 100%;
	background-color: #ddd;
	border: 2px solid #ffffff;
	border-radius: 4px;
}

.box-th {
	text-align: center;
	font-size: 1rem;
	padding: 5px;
}

.list-box td {
	font-size: 0.9em;
}

.model {
	text-align: left;
}

.list-box .table-row td {
	padding: 10px;
	background-color: #FDFDFD;
	vertical-align: top;
}

.error-text {
	font-size: 1.1rem;
	color: #ffffff;
}
