@font-face {
    font-family: freehand;
    src: url(KhmerOSfreehand.woff);
}
@font-face {
    font-family: moullight;
    src: url("KhmerOSMoulLight.woff");
}
@font-face {
    font-family: siemreap;
    src: url(KhmerOSsiemreap.woff);
}
@font-face {
    font-family: tactieng;
    src: url("tactieng.woff");
}

body, .post-content{
    font-family: 'siemreap', serif !important;
    font-size: 19px !important;
}

.bar-line{
	border-top: 1px solid #DDDDDD;
	border-bottom: 1px solid #AAAAAA;
}
.bar-vspace{
	height: 10px;
}
.h-space{
	margin-top: 60px !important;
	border-top: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
	background-color: #F5F5F5 !important;
}
.text-link{
	color: #4361ee !important;
}
.text-link:hover{
	color: red !important;
}
/* ************************************************** */
/* begin top menu */
/* ************************************************** */
.top-menu-list ul{
	padding: 0px;
	margin: 0px;
	list-style: none;
}
.top-menu-list ul li{
	display: inline-block;
	font-weight: bold;
	padding: 0px 10px 0px 10px;
}

.top-menu-search{
	background-color: blue;
	text-align: right;
}

.main-menu ul{
	padding: 0px;
	margin: 0px;
	list-style: none;
	text-align: center;
}
.main-menu ul li{
	font-family: moullight;
	font-size: 22px;
	display: inline-block;
	font-weight: bold;
	padding: 0px 10px 0px 10px;
}
/* ************************************************** */
/* begin navigate bar menu */
/* ************************************************** */
.nav-item{
	font-family: 'moullight', serif !important;
    font-size: 24px !important;
}
.nav-item:hover a{
	/*color: #2e3489;*/
	color: red;
	text-decoration: underline;
}
.navbar-nav .active{
	color: red !important;
}

/* ************************************************** */
/* title */
/* ************************************************** */
.title-cateogory{
	/*background-color: #f1f2f3;*/
	background-color: #eaeaec;
	font-family: moullight;
	font-size: 22px;
}
.title-cateogory span{
	color: #2e3489;
}
.text-title{
	font-size: 20px;
	font-weight: bold;
}
.text-title-read{
	font-family: moullight;
	font-size: 26px;
	line-height: 1.5;
	color: #3b3f5c !important;
}

.post-content{
	line-height: 2;
	color: #2e3489;
}

/* ***********************************
 * for the screen size Extra small xsm
 * ***********************************/
@media (max-width: 576px) { /* xsm */
	/* body::before{
		content: "xsm";
	} */
	.right-sidebar{
		display: none;
	}
	.current-date span{
		font-size: 15px;
	}
	.logo{
		width: 100px !important;
		height: 100px;
	}

	.navbar{
		text-align: center;
	}
	.nav-item:hover{
		background-color: #eaeaec;
	}
	.nav-item{
		padding-top: .25em;
		padding-bottom: .25em;
	}

	.carousel-caption{
		display: block;
		margin-top: 270px;
	}
}

/* ****************************
 * for the screen size Small sm
*  ****************************/
@media (min-width: 576px) { /* sm */
	/* body::before{
		content: " SM";
	} */
	.current-date span{
		font-size: 15px;
	}
	.logo{
		width: 120px !important;
		height: 120px;
	}

	.navbar{
		text-align: center;
	}
	.nav-item:hover{
		background-color: #eaeaec;
	}
	.nav-item{
		padding-top: .25em;
		padding-bottom: .25em;
	}

	.carousel-caption{
		display: block;
		margin-top: 320px;
	}
	.nodrug div{
		text-align: center;
	}
}

/* *****************************
 * for the screen size Medium md
*  *****************************/
@media (min-width: 768px) {	/* md */
	/* body::before{
		content: " MD";
	} */
	.current-date span{
		font-size: 18px;
	}
	.carousel-caption{
		display: block;
		margin-top: 200px;
	}

	.title-cateogory{
		font-size: 18px;
	}
	.nodrug div{
		text-align: left;
	}
}

/* ****************************
 * for the screen size Large lg
*  ****************************/
@media (min-width: 992px) {	/* lg */
	/* body::before{
		content: " LG Desktops, 992px and up";
	} */

	.current-date span{
		font-size: 16px;
	}
	
	.navbar-nav .nav-item .nav-link{
		font-size: 16px !important;
	}
	.nav-item:hover{
		background-color: #eaeaec;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}

	.title-cateogory{
		font-size: 22px;
	}
}

/* **********************************
 * for the screen size Extra large xl
*  **********************************/
@media (min-width: 1200px) { /* xl */
	/* body::before{
		content: " XL Large desktops, 1200px and up";
	} */

	.current-date span{
		font-size: 20px;
	}
	.logo{
		width: auto !important;
	}

	.navbar-nav .nav-item .nav-link{
		font-size: 20px !important;
	}

	.carousel-caption{
		display: block;
		margin-top: auto;
	}
	
}
/* *****************************************
 * for the screen size Extra Extra large xxl
*  ****************************************/
@media (min-width: 1400px) {	/* xxl */
	/* body::before{
		content: " XXL Larger desktops, 1400px and up";
	} */
	
	.current-date span{
		font-size: 20px;
	}
	.logo{
		width: auto !important;
	}

	.navbar-nav .nav-item .nav-link{
		font-size: 28px !important;
	}
}