@import url('http://fonts.googleapis.com/css?family=Battambang');
body{
	font-family:"Lucida Sans Unicode", "Lucida Grande","Battambang", sans-serif;
	background:url("../images/commons/header-back.png");
	background-repeat: no-repeat;
	background-position: top;
	background-origin: content-box;
	width: 100%;
	margin: 0px;
	padding: 0px;
}


.btn-default {
    color: #fff;
    background-color: #2f8c48;
    border-color: #ccc;
}
.navbar-toggle{
	float: left;
	margin-left: 15px;
    border-color: white !important;
}
a{
	text-decoration: none;
	color: #333;
}
a:hover{
	text-decoration: none;
	color: #2a71c4;
}
.header-content{
	width: 100%;
	padding-top: 40px;
}
.navbar-inverse{
	border-radius:0px;
	border:0px;
	background: #04541c;
}
.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;
}

.navbar-inverse .navbar-nav > li > .dropdown-menu {
   color: #333;
}
.navbar-inverse .dropdown .dropdown-menu li a{
   color: #333;
   padding-left: 15px;
}
.navbar-inverse .dropdown .dropdown-menu li a:hover{
   color: #000;
}

.actives{
	text-decoration: underline;
}
.maff-logo{
	text-align: center;
	padding: 25px 0px 25px 0px;
}
.langauge-button{
	float: right;
	margin: 0px 0px 10px 10px;
	border: 1px #fff solid;
}
.slider-content{
	width: 100%;
}
.slider-content img{
	width: 100%;
}
.body-content{
	width: 100%;
	background: #fff;
	padding: 15px;
	float: left;
}
.body-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;
	padding-bottom: 10px;
	margin-bottom: 15px;

}
.news-box:hover{
	box-shadow: 0 10px 6px -6px #777;
}
.news-box img{
	width: 100%;
}
.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 p{
	width: 100%;
	padding: 0px 10px 10px 10px;
	color: #212121;
	word-wrap: break-word;
	word-break: break-all;
}

.news-box 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;
	color: #212121;
}

.image-box{
	width: 100%;
	box-shadow: 0px 5px 5px #cdcdcd;

}
.image-box img{
	width: 100%;
}
.image-box text{

	text-align: right;
	right: 10%;
	width: 100%;
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #000;
}

.img-box{
	width: 100%;
	box-shadow: 0px 5px 5px #cdcdcd;
}
.img-box:hover{
	box-shadow: 0 10px 6px -6px #777;
}
.img-box img{
	width: 100%;
	position: relative;
}
.img-box a{
	padding: 0px;
	margin: 0px;
}
.img-box p{
	text-align: center;
	width: 100%;
	color: #fff;
	font-size: 16px;
	background: #009531;

}

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

.news-thumb{
   position: relative;
   width: 100%;
   min-height:300px;
   overflow: hidden;
}
.news-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-box{
	width: 100%;
	box-shadow: 0px 5px 5px #cdcdcd;
	padding-bottom: 2px;

}
.video-box:hover{
	box-shadow: 0 10px 6px -6px #777;
}
.video-box img{
	width: 100%;
}
.video-box h4{
	width: 100%;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding: 0px 5px;
}

.video-play{
	width: 100%;
	padding: 0px 25px 20px 0px;
}

.page-detail{
	width: 100%;
	padding: 15px;
}
.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;
}
.footer-content{
	width: 100%;
	background:url("../images/commons/footer-bg.png");
	background-repeat: repeat-y;
	background-size: contain;
	color: #fff;
	padding: 20px 0px 10px 0px;
}
.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{
	width: 100%;
	background:#04541c;
	background-repeat: repeat-y;
	background-size: contain;
	color: #fff;
	text-align: center;
	padding: 15px 0px;
	box-shadow: 0px -2px 5px #0e501a;
}
.right-news{
	width: 100%;
	margin-top: 15px;
	float: left;
}
.right-news img{
	width: 30%;
	float: left;
	margin-top: 5px;
}
.right-news h5{
	width: 70%;
	float: left;
	padding-left: 10px;
	font-weight: bold;
}
.right-news p{
	width: 70%;
	float: left;
	padding-left: 10px;
}
.department-title{
	width: 100%;
	font-size: 22px;
	text-align: center;
	margin: 15px 0px;
}
.thumb{
   position: relative;
   width: 100%;
   min-height:160px;
   overflow: hidden;
}
.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%);
}

.sliderthumb{
   position: relative;
   width: 100%;
   min-height:370px;
   overflow: hidden;
}
.sliderthumb 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%);
}
.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%);
}

/* Search Button*/
/*input[type="text"] {
  height: 50px;
  border: none;
  outline: none;
  color: #555;
  padding: 3px;
  padding-right: 60px;
  margin-right: 7%;
  width: 0px;
  position: absolute;
  top: 0;
  right: 0;
  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: 1px solid #BBB;
}
input[type="text"]:focus {
  width: 50%;
  z-index: 1;
  border-bottom: 1px solid #BBB;
  cursor: text;
  background: #fff;
  padding-left: 15px;
}
input[type="submit"] {
  height: 50px;
  width: 50px;
  display: inline-block;
  color:red;
  float: right;
  background:url("../images/commons/search-icon.png") center no-repeat;
  text-indent: -10000px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  margin-right: 7%;
}

input[type="submit"]:hover {
  opacity: 1;
}
*/

/* back to top */
#return-to-top {
   position: fixed;
   bottom: 20px;
   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;
}

@media all and (max-width: 1360px) {
	input[type="text"] {
		margin-right: 5%;
	}
	input[type="submit"] {
		margin-right: 5%;
	}
}

@media all and (max-width: 1280px) {
	input[type="text"] {
		margin-right: 3%;
	}
	input[type="submit"] {
		margin-right: 3%;
	}
}

@media all and (max-width: 1200px) {
	input[type="text"] {
		margin-right: 8%;
	}
	input[type="submit"] {
		margin-right: 8%;
	}
}

@media all and (max-width: 1120px) {
	input[type="text"] {
		margin-right: 5%;
	}
	input[type="submit"] {
		margin-right: 5%;
	}
}

@media all and (max-width: 1080px) {
	input[type="text"] {
		margin-right: 4%;
	}
	input[type="submit"] {
		margin-right: 4%;
	}
}

@media all and (max-width: 1024px) {
	input[type="text"] {
		margin-right: 2%;
	}
	input[type="submit"] {
		margin-right: 2%;
	}
	.sliderthumb{
      min-height:350px;
   }
}

@media all and (max-width: 990px) {
	.maff-logo{
		padding: 15px 0px 15px 0px;
	}
	.maff-logo img{
		width: 70%;
	}
	input[type="text"]:focus {
	  width: 70%;
  }
  input[type="text"] {
	  margin-right: 9%;
  }
  input[type="submit"] {
	  margin-right: 9%;
  }
  .sliderthumb{
     min-height:300px;
  }
}

@media all and (max-width: 900px) {
	input[type="text"] {
		margin-right: 5%;
	}
	input[type="submit"] {
		margin-right: 5%;
	}
}

@media all and (max-width: 800px) {
	input[type="text"] {
		margin-right: 3%;
	}
	input[type="submit"] {
		margin-right: 3%;
	}
}

/* mobile */
@media all and (max-width: 768px) {
	.maff-logo{
		padding: 5px 0px 5px 0px;
	}
	input[type="text"]:focus {
	  width: 100%;
	}
	input[type="text"] {
 	  margin-right: 2%;
   }
   input[type="submit"] {
 	  margin-right: 2%;
   }
	.sliderthumb{
      min-height:220px;
   }
}

/* small mobile */
@media all and (max-width: 568px) {
	.maff-logo{
		padding: 0px;
	}
	.sliderthumb{
      min-height:170px;
   }
}

/* ----------- iPhone 5 and 5S ----------- */
@media only screen
and (min-device-width: 320px)
and (max-device-width: 568px)
and (-webkit-min-device-pixel-ratio: 2) {

}
