* { margin: 0; padding: 0; }
table { border-collapse: collapse; }
ul, ol { padding-left: 1em;}
img { border: none; }
p {line-height: 1.7; padding: 8px 0;}
blockquote {
	padding: 10px 0 10px 30px;
}

html {
	background: url('../images/login/bg2.jpg')no-repeat center center fixed !important;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {
	background: rgba(0,0,0,0.2) !important;
	background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(209,209,209,0.1) 49%, rgba(219,219,219,0.1) 50%, rgba(226,226,226,0) 100%) !important;
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0.2)), color-stop(49%, rgba(209,209,209,0.1)), color-stop(50%, rgba(219,219,219,0.1)), color-stop(100%, rgba(226,226,226,0))) !important;
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(209,209,209,0.1) 49%, rgba(219,219,219,0.1) 50%, rgba(226,226,226,0) 100%) !important;
	background: -o-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(209,209,209,0.1) 49%, rgba(219,219,219,0.1) 50%, rgba(226,226,226,0) 100%) !important;
	background: -ms-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(209,209,209,0.1) 49%, rgba(219,219,219,0.1) 50%, rgba(226,226,226,0) 100%) !important;
	background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(209,209,209,0.1) 49%, rgba(219,219,219,0.1) 50%, rgba(226,226,226,0) 100%) !important;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#e2e2e2', GradientType=0 );
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

.nav-bar {
	display: flex;
	align-items: center;
	
	position: relative;
    z-index: 99;
    padding: 0 30px;
    background: #fff;
    height: 35px !important;
    box-shadow: 0 0 20px rgba(34,36,38,.45) !important;
}

.Aligner {
	display: flex;
	align-items: center;
	justify-content: center;

	height: 100%;
	margin-top: -43px;
}

.modal {
	width: 400px;
	border-radius: 5px;
    box-shadow: 0 0 10px rgba(34,36,38,.27) !important;
    overflow: hidden;
}

.modal .header {
	position: relative;
	z-index: 99;

	padding: 15px;
	text-align: center;
	background: #fff;
	border-bottom: solid 3px #2185d0 !important; 
    box-shadow: 0 0 10px rgba(34,36,38,.27) !important;
}

.modal .content {
	position: relative;
	padding: 25px;
	background: rgba(255,255,255,.9);
}

.modal .footer {
	z-index: 99;
	padding: 15px 25px;
	background: #fff;
	position: relative;
    box-shadow: 0 0 10px rgba(34,36,38,.27) !important;
}

#login_form .field {
	margin-bottom: 25px !important;
}

p {
	margin: 0 !important;
	padding-bottom: 0 !important;
}

/* loading */
#modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
}

/**/

.loader {
	position: absolute;
	margin: auto;
	width: 50px;
	height: 50px;
	z-index: 100;

	top: 0; bottom: 0;
	left: 0; right: 0;

	background: #fff;
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(34,36,38,.27) !important;
	display: none;
}

.loader:before {
	content: '';
	display: block;
	padding-top: 100%;
}

.circular {
	-webkit-animation: rotate 2s linear infinite;
	animation: rotate 2s linear infinite;
	height: 100%;
	-webkit-transform-origin: center center;
	-ms-transform-origin: center center;
	transform-origin: center center;
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}

.path {
	stroke-dasharray: 1, 200;
	stroke-dashoffset: 0;
	-webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
	animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
	stroke-linecap: round;
}

/*Animate*/

@-webkit-keyframes rotate { 
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes rotate {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@-webkit-keyframes dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35;
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -124;
	}
}

@keyframes dash {
	0% {
		stroke-dasharray: 1, 200;
		stroke-dashoffset: 0;
	}
	50% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -35;
	}
	100% {
		stroke-dasharray: 89, 200;
		stroke-dashoffset: -124;
	}
}

@-webkit-keyframes color {
	100%, 0% {
		stroke: #d62d20;
	}
	40% {
		stroke: #0057e7;
	}
	66% {
		stroke: #008744;
	}
	80%, 90% {
		stroke: #ffa700;
	}
}

@keyframes color {
	100%, 0% {
		stroke: #d62d20;
	}
	40% {
		stroke: #0057e7;
	}
	66% {
		stroke: #008744;
	}
	80%, 90% {
		stroke: #ffa700;
	}
}

/**/

.loginBox{
	position: fixed;
	width: 480px;
	height: 333px;
	left: 50%;
	top: 50%;
	margin-left: -240px;
	margin-top: -167px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	background-color: #fff;
	-webkit-box-shadow: 2px 2px 3px 0 rgba(0,0,0,.75);
	box-shadow: 2px 2px 3px 0 rgba(0,0,0,.75);
	overflow: hidden;
}

.heading{
	overflow: hidden;
	height: 52px;
	background: url('../images/login/box_head.png') repeat-x left top;
}

.logo{
	width: 239px;
	height: 50px;
	float: left;
	background: url('../images/login/flag.gif') no-repeat 92px 8px,url('../images/login/logo.png') no-repeat left top;
}

.contact{
	width: 164px;
	height: 45px;
	display: block;
    padding-left: 50px;
    padding-top: 5px;
    margin-right: 5px;
	background: url('../images/login/customer_icon.png') no-repeat left bottom;
    float: right;
    font-family: "Calibri";
    font-weight: bold;
    font-size: 18px;
    color: #ffffff;
    font-style: italic;
    line-height: 19px;
}

.bottom{
	height: 37px;
    line-height: 37px;
	background: url('../images/login/box_bottom.png') repeat-x left top;
    color: #ffffff;
}

.body {
	height: 245px;
	background: #efefef;
    position: relative;
}
.box {
	position: relative;
	line-height: 22px;
}
.locked_key {
	background: url("../images/login/locked_key.png") no-repeat scroll left top rgba(0, 0, 0, 0);
    height: 150px;
    left: 30px;
    position: absolute;
    top: 45px;
    width: 120px;
}

.inp_form.error {
	border-color: red !important;
}

.inp_btn{
	display: block;
	width: 129px;
	height: 34px;
	border: none;
	background-color: transparent;
	background: url('../images/login/login_btn.png') no-repeat left top;
	float: right;
	margin: 20px 0 0 0;
	cursor: pointer;

}

#box_message {
	text-align: center;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 20px;
	margin-top: -44px;
	transition: all 0.2s ease;
}

#box_message.red{
	color: #db2828;
	margin-top: 0;
}

#clock {
    width: 218px;
    height: 102px;
    display: block;
	font-size: 48px;
	font-weight: 700;
	line-height: 60px;
	text-align: center;
    margin: 23px auto 0;
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 0 3px rgba(34,36,38,.27) !important;
}

#clock .clock-con {
	display: flex;
	display: flex;
	align-items: center;
	justify-content: center;

	background: #eee;
	height: 62px;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0,0,0,0.08) inset, 0 1px 1px #fafafa;
}

#clock span  {
	display: block;
	float: left;
}

#clock span.min { color: #272e38; }
#clock span.sec { color: #272e38; }

#clock .blink  {
	color: #272e38;
	margin-top: -5px;
	margin-left: 5px;
	margin-right: 5px;
}
 .blink {
  -moz-animation-duration: 500ms;
  -moz-animation-name: blink;
  -moz-animation-iteration-count: infinite;
  -moz-animation-direction: alternate;
  
  -webkit-animation-duration: 500ms;
  -webkit-animation-name: blink;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  
  animation-duration: 500ms;
  animation-name: blink;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@-moz-keyframes blink {
  from {
    opacity: 1;
  }
  
  to {
    opacity: 0;
  }
}

@-webkit-keyframes blink {
  from {
    opacity: 1;
  }
  
  to {
    opacity: 0;
  }
}

@keyframes blink {
  from {
    opacity: 1;
  }
  
  to {
    opacity: 0;
  }
}

@media screen and (max-width: 450px) {
	
	body{
		min-width: 320px;
		min-height: 333px;
	}
    .loginBox{
		width: 320px;
		height: 333px;
		margin-left: -160px;
		margin-top: -167px;
	}
	
	.locked_key {
		display: none;
	}
	
	#box_message {
		min-height: 36px;
		line-height: 19px;
		text-align: center;
		font-family: 'Calibri';
		font-weight: bold;
		font-size: 14px;
		color: rgba(90,116,0, 0.8);
	}
}
.languages_switch {
    display: none;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    box-sizing: border-box;
}
.lngKhmer {
    top: 100px;
    position: relative;
    left: 50%;    
    margin-left: -65px;
    height: 35px;
    width: 129px;
    background: url("../images/login/languages.png") no-repeat scroll left top rgba(0, 0, 0, 0);
    cursor: pointer;
}
.lngEnglish {
    top: 120px;
    position: relative;
    left: 50%;    
    margin-left: -65px;
    height: 35px;
    width: 129px;
    background: url("../images/login/languages.png") no-repeat scroll left bottom rgba(0, 0, 0, 0);
    cursor: pointer;
}