@font-face {
	font-family: 'MEF1';
	src: url('/font/KHMERMEF1.ttf') format("truetype");
}
@font-face {
	font-family: 'MEF2';
	src: url('/font/KHMERMEF2.ttf') format("truetype");
}

@font-face {
	font-family: 'clock_font';
	src: url('/font/STENCIL.ttf') format("truetype");
}


html, body {
	height: 100%;
	touch-action: auto;
	background-color: #fafafa;
}
body{
	margin:0 0 0 0;
	padding:0px 0px 0px 0px;
	
}
body *{
	/*font-family: "Khmer MEF1";*/
	font-family: verdana;
	font-size:12px;
}

.khmer1{
	font-family: "MEF1";
}
.khmer2{
	font-family: "MEF2";
}

.bg-green1{
	background-color: #01bb2c;
}

.bg-green2{
	background-color: #005a0b;
}
.bg-green3{
	background-color: #037d1f
}

.blue3{
	color:#85C1E9;
}

.bg-default{
	background-color: #34495E;	
}

.loader{
	display: inline-block;
	border: 8px solid #f3f3f3;
	border-radius: 50%;
	border-top: 8px solid #3498db;
	width: 40px;
	height: 40px;
	-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); }
}

textarea,input{
	font-family: "MEF1";
}

ul.dropdown-menu li:not(:first-child) *{  /*bootstrap select picker set font to list items*/
	font-family: "MEF1";
}

h1.title{
	font-weight: bold;
	font-size: 16px;
	text-transform: uppercase;
	padding: 5px 20px;
}

div{
	box-sizing:border-box;
}

.cursor-pointer:hover{
	cursor: pointer;
}

.loading{
	width:100%;
	text-align:center;
}

.centerHorizontal {
    margin: auto;
}
a.nostyle{
	text-decoration: none;
}
a.black,a.black:hover{
	color: black;
	margin-top: 0px 0px 0px 0px;
}

a.white,a.white:hover{
	color: white;
	margin-top: 0px 0px 0px 0px;
}

a.grey,a.grey:hover{
	color: grey;
	margin-top: 0px 0px 0px 0px;
}

a.navy,a.navy:hover{
	color:navy;
	margin-top: 0px 0px 0px 0px;
}

.carousel-inner > .item > img, .carousel-inner > .item > a > img {
	width: 100%;
	margin: auto;
}
.carousel-inner{
	height:37vw;
	overflow-y:hidden;
}

ol.carousel-indicators {
	bottom: 0px;
}
ol.carousel-indicators li, .carousel-indicators li.active{
	margin-right:10px;
}

.slide-image-button{
	color: grey;
	padding:5px 5px;
	margin:5px 7px;
	border: solid 3px grey;
	border-radius: 100px;
}

.pageHeader{
	width: 100%;
	min-width: 320px;
	min-height:140px;
	padding: 5px 2vw;
	z-index: 9999;
	border-bottom:1px solid  rgba(0,0,0,.0975);
	padding:10px 10px;
}
.pageHeader, .pageHeader *{
	font-size: 2vw;
}

.menuWrapper{
	text-align: center;
	width: 100%;
	padding:10px;
	/*background: rgba(255, 255, 255, 0.75);*/
	background: -webkit-linear-gradient(#FDFEFE,#F7F9F9, #F0F3F4,#ECF0F1,#ECF0F1, #B3B6B7); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#FDFEFE,#F7F9F9, #F0F3F4,#ECF0F1,#ECF0F1, #B3B6B7); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#FDFEFE,#F7F9F9, #F0F3F4,#ECF0F1,#ECF0F1, #B3B6B7); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#FDFEFE,#ECF0F1, #B3B6B7); /* Standard syntax (must be last) */
}

.menuItem{
	display: inline-block;
	padding: 7px 5px;
	margin: 0px 2vw;
	cursor: pointer;
	border-width: 1px 6px;
	border-style: solid;
	border-color: black;
	border-radius: 8px;
	font-family: "MEF2";
}
.menuItem:hover{
	color: white;
	background-color: black;
}

.menuItem.active{
	color: white;
	background-color: black;
}

.commandButton {
	position: fixed;
	clear: both;
}

.commandButton.vertical *{
	display: inline-block;
}
.commandButton.vertical > *:nth-child(1){
	margin-right: 10px;
	color: white;
	margin-top: 10px;
}
.commandButton.vertical > *:nth-child(2){
	background:#FFFFFF;
	border-radius:50px;
	cursor:pointer;
	height:40px;
	width:40px;
	text-align:center;
	line-height:45px;'
}

.commandButton.horizontal{
	text-align: center;
}

.commandButton.horizontal > *:nth-child(1){
	background:lightgrey;
	border-radius:50px;
	cursor:pointer;
	height:40px;
	width:40px;
	line-height:45px;
	margin: 0 auto;
}

.commandButton.horizontal > *:nth-child(2){
	color: white;
	margin-top: 10px;
}

.delete-icon{
	cursor: pointer;
	float:left;
	margin-right:-7px;
	font-weight:bold;
	color:#CB4335;
	font-size:16px;
}

table.display-table{
	color:white;
}

table.display-table tr{
	border-bottom: 1px solid #ffffff;
}
table.display-table td, table.display-table th{
	padding: 15px 5px;
	vertical-align: top;
	font-size: 14px;
}
table.display-table td div{
	font-size: 14px;
}

table.display-table.tv td, table.display-table.tv th{
	font-size: 1.5vw;
}
table.display-table.tv td div{
	font-size: 1.5vw;
}
table.display-table td:nth-child(odd){
	background-color: #037d1f;
}
table.display-table td:nth-child(even){
	background-color: #005a0b;
}

#errMsg{
	display: none;
	color: #CB4335;
	position: fixed;
	top:0px;
	left: 0px;
	width:100%;
	text-align: center;
	background-color: lightgrey;
	padding:10px 0%;
	font-weight: bold;
}