@import url("https://fonts.googleapis.com/css?family=Oxygen");
@import url("https://fonts.googleapis.com/css?family=Battambang");
@import url("https://fonts.googleapis.com/css?family=Angkor");
body{
	font-family:'Oxygen', 'Battambang','Angkor';
	width: 100%;
	margin: 0px;
	padding: 0px;
	background: #f3f3f3;
}
a{
	text-decoration: none;
	color: #333;
}
a:hover{
	text-decoration: none;
	color: #2a71c4;
}
.fa.fa-twitter{
	font-family:sans-serif;
}
.fa.fa-twitter::before{
	content:"𝕏";
	font-size:1.2em;
}

.header-content{
	background-image: url('../images/header.jpg');
	background-repeat: no-repeat;
	background-size:100%;
}
.maff-logo{
	padding: 10px 0px 15px 0px;
}
.maff-logo-img{
	background-image: url('../images/commons/maff-logo.png');
	background-repeat: no-repeat;
	width: 500px;
	height: 95px;
	background-size: contain;
	float: left;
}

.department-logo{
	width: 100%;
	text-align: center;
	margin-bottom: 15px;
}
.department-logo img{
	width: 70%;
}

.langauge-button{
	float: right;
	color: #fff;
	margin: 0px 25px 10px 0px;
}
.langauge-button a{
	color: #fff;
	font-weight: bold;
	padding: 3px;
}
.langauge-button a:hover{
	background: #fff;
	border-radius: 5px;
	color: #2f622a;
}
.langauge-button .active{
	background: #fff;
	border-radius: 5px;
	color: #2f622a;
}

.social-network{
	float: right;
	margin: 0px 25px 10px 10px;
	font-size: 22px;
	color: #fff;
}
.social-network a{
	color: #fff;
	margin-left: 10px;
}
.social-network a:hover{
	color: #ccc;
}
.navbar-inverse{
	border-radius:0px;
	border:0px;
	margin-bottom:0px;
	background: #0c581a;
}
.nav.navbar-nav li {
  	color:#fff;
}
.navbar-inverse .nav.navbar-nav li a {
	color:#fff;
	padding-left:15px;
	padding-right:15px;
	font-size:16px;
}
.navbar-inverse .nav.navbar-nav li:hover {
	text-decoration: underline;
}
.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;
   padding: 0px;
}
.dropdown-menu li a{
   padding: 7px 0px;
	 border-bottom: 1px solid #126421;
}
.dropdown-menu li a:hover{
   background-color:#126421;
	 color: #fff;
}

.navbar-default{
	border-radius:5px;
	border:0px;
	margin-bottom:0px;
	background: #ffffff;
	border-bottom: 1px solid #0e501a;
}

.navbar-default .navbar-brand{
	font-size: 20px;
	color: #000;
}
.navbar-default .nav.navbar-nav li a {
	color:#343434;
	padding-left:15px;
	padding-right:15px;
	font-size:14px;
}
.navbar-default .nav.navbar-nav li a:hover {
	text-decoration: underline;
	color: #0b7e1e;
}

/* Search Button*/
.mainsearch 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;
}
.mainsearch input[type="text"]:focus:hover {
  border-bottom:none;
}
.mainsearch 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) {
	.mainsearch input[type="text"]:focus{
		margin-right: 8%;
	}
}
.mainsearch 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) {
	.mainsearch input[type="submit"]{
		margin-right: 8%;
	}
}

.slider-content{
	width: 100%;
	margin-top: 15px;
}
.slider-content img{
	width: 100%;
	border: #0b7e1e 5px solid;
}

.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: 22px;
	color: #2f622a;
	float: left;
	font-weight: bold;
}
@media all and (max-width: 768px) {
	.main-title .title{
		font-size: 18px;
	}
}
.leader-head{
	text-align: center;
	font-size: 25px;
	font-weight: bold;
	color: #2f622a;
	padding-top: 30px;
}
.main-leader-box{
	width: 100%;
	background: #ddfde1;
	text-align: center;
	padding: 20px 0px;
	margin: 30px 0px 30px 0px;
}
.main-leader-box h3{
	font-size: 30px;
	color: #2f622a;
	font-family:'Angkor';
}
.main-leader-box img{
	width: 250px;
	height: 250px;
	border-radius: 50%;
	margin: 20px 0px;
}

.main-leader-box h4{
	font-size: 24px;
	color: #022585;
}
.main-leader-box p{
	font-size: 16px;
	color: #022585;
	padding: 20px 50px;
	text-align: justify;
}

.leader-box{
	width: 100%;
	text-align: center;
}
.leader-box h3{
	font-size: 30px;
	text-align: center;
	color: #2f622a;
	margin: 50px 0px 0px 0px;
	font-family:'Angkor';
}

.leader-box img{
	width: 200px;
	height: 200px;
	border-radius: 50%;
	text-align: center;
	margin: 50px 0px 15px 0px;
}
.leader-box {
	font-size: 20px;
	width: 100%;
	text-align: center;
	color: #022585;
	padding-bottom: 50px;
}

.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;
}

.sys-box{
	width: 100%;
	height: 220px;
	border: 1px #ccc solid;
	text-align: center;
	padding: 20px;
	margin: 10px 0px 20px 0px;
}
.sys-box:hover{
	border: 1px #089d03 solid;
}
.sys-box img{
	width: 50%;
}

.sys-box h4{
	font-size: 20px;
	margin-top: 15px;
}
.sys-detail{
	width: 100%;
	float: left;
}
.sys-detail img{
	width: 40%;
	float: left;
	margin: 5px 20px 20px 0;
}
.ser-box{
	width: 100%;
	height: 220px;
	border: 1px #ccc solid;
	text-align: center;
	padding: 20px;
	margin: 10px 0px 20px 0px;
}
.ser-box:hover{
	border: 1px #089d03 solid;
}
.ser-box h4{
	font-size: 20px;
	margin-top: 15px;
}
.ser-box a{
	font-size: 16px;
	margin-top: 15px;
	color: #2a71c4;
}
.ser-box a:hover{
	text-decoration: underline;
}
@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:#2f622a;
}
.news-box h4 a:hover{
	color:#0b7e1e;
}
.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;
}

.btn-seemore {
  width: 200px;
  color: #fff;
  display: block;
  text-align: center;
  margin: 0px auto;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background-color: #2f622a;
  transition: .3s;
  margin-top: 10px;
  font-size: 14px;
}
.btn-seemore:hover {
  color: #075322;
  background-color: #fff;
  border: 1px solid #075322;
  text-decoration: none;
}

.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%;
	background: #f1f1f1;
	border: 1px solid #e1e1e1;
	margin: 10px 0px;
	border-radius: 6px;
}
.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-box img{
	width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
}

.book-box img:hover{
   opacity: 0.7;
}

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

.document-box{
	width: 100%;
	background: #f1f1f1;
	border: 1px solid #e1e1e1;
	margin: 10px 0px;
	border-radius: 6px;
}
.document-box h6{
	width: 100%;
	color: #9d9d9d;
	font-size: 11px;
	padding: 0px 10px 0px 10px;
}
.document-box p{
   width: 100%;
   text-align: center;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   line-height: 23px;
   padding: 0px 10px 0px 10px;
}

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

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

.document-box img:hover{
   opacity: 0.7;
}

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

.video-box{
	width: 100%;
	background: #f1f1f1;
	border: 1px solid #e1e1e1;
	margin: 10px 0px;
	border-radius: 6px;
}
.video-box p{
   width: 100%;
   text-align: center;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
   line-height: 23px;
   padding: 10px 10px 0px 10px;
}

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

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

.video-box img:hover{
   opacity: 0.7;
}

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


.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 iframe{
	width: 100%;
	height: 600px;
	pointer-events: none;
}


/* news slider */
.tns-nav{
	text-align: center;
	margin-top: 15px;
	margin-bottom: 15px;
  }
  .tns-nav button{
	height: 12px;
	width: 10px;
	background-color: #a5a5a5;
	border: none;
	margin-left: 7px;
	border-radius: 50%;
  }
  .tns-nav .tns-nav-active{
	background-color: black;
  }
  .my-slider{
	padding-left:11px;
  }


@media (min-width: 1600px) {
	.cambodia-map iframe{
	  height: 600px;
	}
}
@media all and (max-width: 768px) {
	.cambodia-map iframe{
	  height: 400px;
	}
}

.cambodia-map img{
	width: 100%;
}
.social-icon{
	float: left;
	margin-right: 10px;
}

.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;
	padding-top: 30px;
}
.footer-content ul{
	margin: 15px 0px 0px 0px;
	padding: 0px;
}
.footer-content li{
	margin: 0px;
	list-style-type: none;
	margin-top: 5px;
}

.footer-content li a{
	color:#fff
}
.footer-content li a:hover{
	text-decoration: underline;
}
.footer-content li i{
	width: 15px;
	font-size: 15px;
}
.footer-content li span{
	width: 20px;
	font-size: 16px;
}
.footer-content .footer-social-network{
	float: left;
	font-size: 24px;
	color: #fff;
	margin-top: 10px;
}
.footer-content .footer-social-network a{
	color: #fff;
	margin-right: 10px;
}
.footer-content .footer-social-network a:hover{
	color: #ccc;
}
/* .download-app{
	width: 100%;
	color: #000;
	padding: 10px 0px;
	position:relative;
	font-size: 24px;
	text-align: center;
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 10px;
	margin-bottom: 30px;
}
.download-app img{
	margin-top: 10px;
} */
.download-app{
	width: 100%;
	color: #000;
	margin-bottom: 30px;
}
.download-app img{
	width: 100%;
	border-radius: 15px;
}
.download-app .link{
	width: 100%;
}
.app-row{
	margin-bottom: 20px;
}
.app-text{
	width: 100%;
	padding-top: 10px;
	margin-bottom: 30px;
	text-align: center;
}
.app-text img{
	width: 120px;
}
.app-text .text{
	text-align: center;
}
.app-text .text img{
	margin: 10px 5px 0px 5px;
	width: 150px;
}
.app-text h4{
	font-size: 18px;
	margin-top: 10px;
	font-weight: bold;
}
.app-text p{
	font-size: 18px;
	margin-top: 10px;
}
.app-image{
	padding: 5px;
}
.app-image img{
	width: 100%;
	border-radius: 15px;
	box-shadow: 1px 1px 5px #888888;
}
.footer-title{
	width: 100%;
	font-size: 18px;
	font-weight: bold;
}

.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:#0b7e1e;
   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:#20bc3a;
}
#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: 26px;
	text-align: center;
	margin: 20px 0px 0px 0px;
}
.department-title a{
	color: #2f622a;
	font-weight: bold;
}
.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) {
	.header-content{
		background-image: url('../images/header.jpg');
		background-repeat: no-repeat;
		background-size: cover;
	}
	.maff-logo{
		padding: 10px 0px;
	}
	.subcategory_thumb{
		min-height:100px;
	}
	input[type="text"]:focus {
	  width: 70%;
	}
}

/* mobile */
@media all and (max-width: 768px) {
	.header-content{
		background-image: url('../images/header.jpg');
		background-repeat: no-repeat;
		background-size: cover;
		padding-bottom: 10px;
	}
	.maff-logo{
		padding: 10px 0px;
	}
	.maff-logo-img{
		background-image: url('../images/commons/maff-logo-only.png');
		background-repeat: no-repeat;
		width: 70px;
		height: 70px;
		background-size: contain;
		float: left;
	}
	input[type="text"]:focus {
	  width: 100%;
	}
	.subcategory_thumb{
		min-height:200px;
	}
	
	/* .slider-content{
		display:none;
	} */
}
/* 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:125px;
	}
}



.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%;
	}
}

.h-menu{
	width: 100%;
	background: #fff;
}
.well{
   padding:0px;
   border:none;
}
#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu {
  width: 100%;
  border: 1px #dddddd solid;
  border-bottom: none;
  margin-bottom: 20px;
}
#cssmenu ul ul {
  display: none;
}
#cssmenu > ul > li.active > ul {
  display: block;
}
.align-right {
  float: right;
}
#cssmenu > ul > li > a {
  padding: 14px 0px 14px 15px;
  cursor: pointer;
  z-index: 2;
  text-decoration: none;
  color: #434343;
  border-bottom: 1px #dddddd solid;
}
#cssmenu > ul > li > a:hover {
  background: #f5f5f5;
}
#cssmenu ul > li.has-sub > a:after {
  position: absolute;
  right: 26px;
  top: 19px;
  z-index: 5;
  display: block;
  height: 10px;
  width: 2px;
}
#cssmenu ul > li.has-sub > a:before {
  position: absolute;
  right: 22px;
  top: 23px;
  display: block;
  width: 10px;
  height: 2px;
}

#cssmenu ul ul li a {
  padding: 14px 0px 14px 30px;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px #dddddd solid;
  color: #434343;
}
#cssmenu ul ul ul li a {
  padding-left: 45px;
}
#cssmenu ul ul li a:hover {
 background: #f5f5f5;
}
#cssmenu ul ul > li.has-sub > a:after {
  top: 16px;
  right: 26px;
}
#cssmenu ul ul > li.has-sub > a:before {
  top: 20px;
}
#cssmenu .focused{
   background: #f5f5f5;
}
.partner-title{
	width: 100%;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	margin: 25px 0px;
	color: #2f622a;
}

.organiclist{
	margin-top: 10px;
}
.servicelist{
	margin-top: 15px;
	float: left;
	width: 100%;
}

.servicelist .table{
	width: 100%;

}

.servicelist .table .text{
	width: 350px;
}

.servicelist .table .text-right{
	width: 350px;
	word-break:keep-all;
}
