@import url("https://fonts.googleapis.com/css?family=Oxygen");
@import url("https://fonts.googleapis.com/css?family=Battambang");
body{
	font-family:'Oxygen', 'Battambang';
	/* background:url(../images/commons/header-bg.png);
	background-repeat: no-repeat;
	background-position: top;
	background-origin: content-box; */
	width: 100%;
	margin: 0px;
	padding: 0px;
}
a{
	text-decoration: none;
	color: #333;
}
a:hover{
	text-decoration: none;
	color: #2a71c4;
}
.header-content{
	width: 100%;
	background: #126421;
}
.maff-logo{
	padding: 10px 0px 15px 0px;
}
.maff-logo img{
	width: 500px;
}
.langauge-button{
	float: right;
	margin: 0px 0px 10px 10px;
}
.langauge-button img{
	width: 25px;
	border-radius: 2px;
}
.navbar-inverse{
	border-radius:0px;
	border:0px;
	margin-bottom:0px;
	background: #0c581a;
}
.nav.navbar-nav li {
  	color:#fff;
}
.nav.navbar-nav li a {
  color:#fff;
	padding-left:15px;
	padding-right:15px;
	font-size:14px;
}
.nav.navbar-nav li:hover {
	text-decoration: underline;
}
.actives{
	text-decoration: underline;
}

.navbar-nav > li > .dropdown-menu {
   color: #000;
}
.dropdown-menu li a:hover{
   color: #000;
}


 .dropdown-toggle:active, .open .dropdown-toggle {
    background:#0c581a !important;
    color:#fff !important;
 }
 .navbar-inverse .navbar-header a:hover {
    color:#ff0000;
}
.navbar-nav > li > .dropdown-menu {
   background-color:#0c581a;
   color: #000;
}
.dropdown-menu li a:hover{
   background-color:#015db0;
   color: #aaff4f;
}



/* Search Button*/
input[type="text"] {
  height: 40px;
  border: none;
  outline: none;
  color: #555;
  padding: 3px;

  width: 0px;
  position: absolute;
  top: 0;
  right: 0;
	margin-right: 15px;
	margin-top: 5px;
	border-radius: 5px;
  background: none;
  z-index: 99;
  transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
  cursor: pointer;
}
input[type="text"]:focus:hover {
  border-bottom:none;
}
input[type="text"]:focus {
  width: 35%;
  z-index: 1;
  border-bottom: 1px solid #BBB;
  cursor: text;
  background: #fff;
  padding-left: 15px;
}
@media (min-width: 1600px) {
	input[type="text"]:focus{
		margin-right: 8%;
	}
}
input[type="submit"]{
	background:url(../images/commons/search-icon.png) center no-repeat;
	height: 50px;
	width: 50px;
	display: inline-block;
	color:red;
	float: right;
	text-indent: -10000px;
	border: none;
	position: absolute;
	top: 0;
	right: 0;
	margin-right: 18px;
	z-index: 2;
	cursor: pointer;
}
@media (min-width: 1600px) {
	input[type="submit"]{
		margin-right: 8%;
	}
}

.body-content{
	width: 100%;
	background: #fff;
	margin-top: 10px;
}
.main-title{
	width: 100%;
	border-bottom: 1px solid #ccc;
	float: left;
	margin: 15px 0px;
	padding: 5px 0px;
}
.main-title .title{
	font-size: 18px;
	color: #565656;
	float: left;
}
.see-more{
	font-size: 14px;
	float: right;
}
.see-more a{
	color: #2a71c4;
}
.see-more a:hover{
	color: #ff0000;
}
.news-box{
	width: 100%;
	box-shadow: 0px 5px 5px #cdcdcd;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-radius: 5px;
}
.news-box:hover{
	box-shadow: 0 10px 6px -6px #777;
}

.news-box img{
	width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 5px;
}

@media (min-width: 1600px) {
	.news-box img{
	  height: 230px;
	}
}
@media all and (max-width: 768px) {
	.news-box img{
	  height: 230px;
	}
}

.news-box h6{
	width: 100%;
	color: #9d9d9d;
	font-size: 11px;
	padding: 0px 10px 0px 10px;
}
.news-box h4{
   width: 100%;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 23px;
	padding: 5px 10px 0px 10px;
}
.news-box h4 a{
	color: #002975;
}
.news-box h4 a:hover{
	color: #ff0000;
}
.news-box text{
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-height: 22px;
	max-height: 43px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	padding: 0px 10px 10px 10px;
	color: #212121;
}

.img-box{
	width: 100%;
	border-radius: 5px;
	box-shadow: 0px 5px 5px #cdcdcd;
	margin-bottom: 15px;
}
.img-box:hover{
	box-shadow: 0 10px 6px -6px #777;
}
.img-box img{
	width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 5px;
}

@media (min-width: 1600px) {
	.img-box img{
	  height: 230px;
	}
}
@media all and (max-width: 768px) {
	.img-box img{
	  height: 230px;
	}
}
.img-box p{
	position: absolute;
	bottom: 7%;
	text-align: right;
	right: 10%;
	width: 100%;
	color: #fff;
	font-size: 16px;
	text-shadow: 2px 2px 2px #000;
}

.news-detail{
	width: 100%;
	margin-bottom: 25px;
}
.news-detail h6{
	width: 100%;
	color: #9d9d9d;
	font-size: 11px;
	padding: 0px 10px 0px 30px;
}
.news-detail h4{
	width: 100%;
	font-size: 18px;
	padding: 0px 10px 0px 30px;
	color: #000;
	line-height: 28px;
}
.news-detail p{
	width: 100%;
	padding: 0px 10px 0px 30px;
	color: #212121;
	line-height: 25px;
}
.news-detail div{
	width: 100%;
	padding: 0px 10px 0px 30px;
	color: #212121;
	line-height: 25px;
}

.book-box{
	width: 100%;
}
.book-box img{
   width: 100%;
}
.book-box img:hover{
   opacity: 0.7;
}
.book-box p{
   width: 100%;
   text-align: center;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   line-height: 23px;
   padding: 10px 10px 0px 10px;
}

.book-box p:hover{
   color: #ff6c00;
}

.book-thumb{
   position: relative;
   width: 100%;
   min-height:260px;
   overflow: hidden;
	background: #f4f4f4;
}
.book-thumb img{
   position: absolute;
   left: 50%;
   top: 50%;
   width: 100%;
   border-radius: 0px;
   border: none;
   -webkit-transform: translate(-50%,-50%);
       -ms-transform: translate(-50%,-50%);
           transform: translate(-50%,-50%);
}

.video-play{
	width: 100%;
	padding: 0px 25px 20px 0px;
}
.page-detail{
	width: 100%;
	padding: 20px;
}
.page-description{
	width: 100%;
}
.page-description li{
	line-height: 30px;
}
.documents{
	width: 100%;
}
.documents h4{
	width: 100%;
	font-size: 18px;
	padding: 10px 10px 0px 20px;
	color: #000;
	line-height: 28px;
}

.documents img{
	width: 100%;
	box-shadow: 0px 5px 5px #cdcdcd;
	margin-bottom: 25px;
}
.documents img:hover{
	box-shadow: 0 10px 6px -6px #777;
}
.cambodia-map{
	width: 100%;
}
.cambodia-map img{
	width: 100%;
}
.social-icon{
	float: left;
	margin-right: 10px;
}
.h-menu{
	width: 100%;
	padding: 7px 10px;
	border-bottom: 1px dashed #31773c;
	color: #171717;
}
.h-menu:hover{
	background: #d4ffdb;
}

.detail-row{
	width: 98%;
	padding: 7px 10px;
	border-bottom: 1px solid #f3f3f3;
	color: #171717;
}
.detail-row:hover{
	background: #d4ffdb;
}

.footer-content{
	background: #126421;
	width: 100%;
	color: #fff;
	padding: 0px 0px 10px 0px;
	position:relative;
	margin-top: 70px;
}
.download-app{
	width: 100%;
	color: #000;
	padding: 10px 0px;
	position:relative;
	top: -60px;
	font-size: 24px;
	text-align: center;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 10px;
}
.download-app a{
	margin-left: 10px;
}
.download-app img{
	margin-top: 10px;
}
.download-app .link{
	font-size: 14px;
	margin-top: 10px;

}
.app-text{
	width: 100%;
	height: 500px;
	padding: 0px 20px;
}
.app-text .text{
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	text-align: center;
}
.app-text a{
	margin-left: 10px;
}
.app-text img{
	margin-top: 10px;
}
.app-text h1{
	font-size: 50px;
	margin-bottom: 24px;
}
.app-text p{
	font-size: 22px;
	line-height: 35px;
}
.footer-title{
	width: 100%;
	font-size: 16px;
}
.footer-content li{
	margin-top: 10px;
}
.footer-content li a{
	color: #fff;
}
.footer-content li a:hover{
	text-decoration: underline;
}
.footer-bottom{
	background: #126421;
	width: 100%;
	color: #fff;
	text-align: center;
	padding: 15px 0px 20px 0px;
	margin-bottom: 40px;
	box-shadow: 0px -2px 5px #0e501a;
}
.hot-news{
	background: #0c581a;
	width: 100%;
	color: #fff;
	font-size: 15px;
	padding: 5px 0px;
	border-top: 1px solid #0b7e1e;
	line-height: 25px;
}
/* back to top */
#return-to-top {
   position: fixed;
   bottom: 55px;
   right: 20px;
   background: rgb(0, 0, 0);
   background: rgba(0, 0, 0, 0.7);
   width: 50px;
   height: 50px;
   display: block;
   text-decoration: none;
   -webkit-border-radius: 35px;
   -moz-border-radius: 35px;
   border-radius: 35px;
   display: none;
   -webkit-transition: all 0.3s linear;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top:hover {
   background: rgba(0, 0, 0, 0.9);
}
#return-to-top i {
   color: #fff;
   margin: 0;
   position: relative;
   left: 16px;
   top: 13px;
   font-size: 19px;
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
   -ms-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}
#return-to-top:hover i {
   color: #fff;
   top: 5px;
}
.right-news{
	width: 100%;
	margin-top: 15px;
}
.right-news h5{
	width: 100%;
	font-weight: bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 20px;
	padding: 0px 10px 0px 0px;
}
.right-news text{
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	line-height: 22px;     /* fallback */
	max-height: 43px;      /* fallback */
	-webkit-line-clamp: 2; /* number of lines to show */
	-webkit-box-orient: vertical;
	word-wrap: break-word;
	padding: 0px 10px 10px 0px;
}
.department-title{
	width: 100%;
	font-size: 22px;
	text-align: center;
	margin: 15px 0px;
}
.hotnew{
	padding-top: 5px;
	padding-bottom: 5px;
}
.hotnew a{
	color: #fff;
}
.hotnew a:hover{
	color: #ccc;
	text-decoration: underline;
}

.subcategory_thumb{
   position: relative;
   width: 100%;
   min-height:150px;
   overflow: hidden;
}
.subcategory_thumb img{
   position: absolute;
   left: 50%;
   top: 50%;
   width: 100%;
   border-radius: 0px;
   border: none;
   -webkit-transform: translate(-50%,-50%);
       -ms-transform: translate(-50%,-50%);
           transform: translate(-50%,-50%);
}

@media all and (max-width: 1600px) {
	.subcategory_thumb{
	   min-height:120px;
	}
}
@media all and (max-width: 1280px) {
	.subcategory_thumb{
		min-height:100px;
	}
}
@media all and (max-width: 1024px) {
	.subcategory_thumb{
		min-height:80px;
	}
}
@media all and (max-width: 990px) {
	.maff-logo{
		padding: 10px 0px;
	}
	.maff-logo img{
		width: 70%;
	}
	.subcategory_thumb{
		min-height:100px;
	}
	input[type="text"]:focus {
	  width: 70%;
	}
}

/* mobile */
@media all and (max-width: 768px) {
	.maff-logo{
		padding: 10px 0px;
	}
	input[type="text"]:focus {
	  width: 100%;
	}
	.subcategory_thumb{
		min-height:200px;
	}
}
/* small mobile */
@media all and (max-width: 568px) {
	.subcategory_thumb{
		min-height:140px;
	}
}

.sliderthumb{
   width: 100%;
}
.sliderthumb img{
	width: 100%;
	height: 400px;
	object-fit: cover;
	margin: 0px 0px 20px 0px;
}

@media (min-width: 1600px) {
	.sliderthumb img{
	  height:400px;
	}
}

@media (max-width: 1280px) {
	.sliderthumb img{
	  height:320px;
	}
}

@media (max-width: 768px) {
	.sliderthumb img{
	  height:120px;
	}
}

.news-thumb{
	width: 100%;
}
.news-thumb img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin: 0px 0px 20px 0px;
}

@media (min-width: 1600px) {
	.news-thumb img{
	  min-height:250px;
	}
}

/* container customize  */
@media (min-width: 1600px) {
	.container-fluid{
		width: 85%;
	}
}
