html, body { 
   height: 100%; /* ให้ html และ body สูงเต็มจอภาพไว้ก่อน */
   margin: 0;
   padding: 0;
}

#logo{
	max-height: 65px;
}

.navbar-nav>li {
    padding-bottom: 0px;
}
.navbar-nav {
    margin-top: 8px;
}

.navbar {
	background: #409243;
}

.top-bar {
	background: honeydew;
	border-bottom: none;
}

#footer {
	background: #409243;
}

#bottom {
	border-bottom: 5px solid #A1E953;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
	background-color: #F2F2F2;
	color: #445143;
	font-weight: bold;
}

.navbar-inverse .navbar-nav > li > a {
	font-weight: bold;
}

.navbar-inverse .navbar-nav > li > a:hover{
	background-color: #F2F2F2;
	color: #445143;
	font-weight: bold;
}

.navbar-inverse .navbar-nav .dropdown-menu {
	background-color: #409243;
	/*00AA00*/
}

.navbar-inverse .navbar-nav .dropdown-menu > li > a{
	font-weight: bold;
}

.navbar-inverse .navbar-nav .dropdown-menu > li:hover > a,
.navbar-inverse .navbar-nav .dropdown-menu > li:focus > a,
.navbar-inverse .navbar-nav .dropdown-menu > li.active > a {
  	background-color: #F2F2F2;
  	color: #445143;
	font-weight: bold;
}

.dropdown-menu {
	min-width: 300px;
}

ul.social-share li a {
	background: chocolate;
}

ul.social-share li a:hover {
  	background: brown;
  	color: #fff;
}

.navbar-nav>li {
	margin-left: 17px;
}

#slide-banner h2{
    margin: 0;     
    color: #666;
    padding-top: 90px;
    font-size: 52px;
    font-family: "trebuchet ms", sans-serif;    
}
#slide-banner .item{
    background: #FFFFFF;    
    text-align: center;
    max-height: 350px !important;
}
#slide-banner .carousel{
    margin-top: 20px;
}
#slide-banner .bs-example{
	margin: 20px;
}

#slide-banner, #list-content{
	padding: 0px 10px 0px 10px;
}

#middle{
	/*padding: 20px 0;*/
}

.list-content{
	display: inline-block;
	width: 100%;
	padding-bottom: 20px;
}

.list-content .header{
	height: 30px;
	margin-bottom: 15px;
}

.list-content .header .news-tag{
	float: left;
	height: 30px;
	background: #409243;
	position: relative;
	width: 100%;
	font-weight: bold;
}

/*
.list-content .header .news-tag:before{
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	left: 0;
	top: 15px;
	border-bottom: 14px solid transparent;
	border-top: 14px solid transparent;
	border-left: 12px solid #409243;
}
*/
.list-content .header .news-tag span.icon{
	margin-left: 5px;
	margin-right: 5px;
}

.list-content .header .news-tag span {
	float: left;
	line-height: 30px;
	color: #FFFFFF;
	font-size: 16px;
}

.list-content .more_all {
	width: 60px;
	float: right;
	height: 30px;
	background: #E84282;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	line-height: 30px;
}

.list-content .content-box .content-box-item{
	padding-top: 10px;
}
.list-content .content-box .content-box-item .content-box-img img{
	width: 100px;
	height: 100px;
}

@media (min-width: 768px){
	.bs-example {
		margin-right: 0;
		margin-left: 0;
		background-color: #fff;
		border-color: #ddd;
		border-width: 1px;
		border-radius: 4px 4px 0 0;
		-webkit-box-shadow: none;
		box-shadow: none;
	}
}

.list-content .bs-example {
	position: relative;
	padding: 0px 15px 15px;
	margin: 0 -15px 15px;
}

.list-content .media-left, .media-right, .media-body {
	display: table-cell;
	vertical-align: top;
}

.list-content .media-body{
	padding-left: 10px;
}

.media-body a{
	color: #2c8630;
}

.media-body a:hover{
	color: #4caf50;
}

.list-content .media-left img{
	width: 100px;
	height: 100px;
}

.list-content .content-box-item .bs-example .media{
	padding-top: 5px;
	float: left;
	min-height: 105px;
	width: 100%;
}

.list-content .read-more{
	float: right;
	margin-top: 10px;
	margin-bottom: 10px;
}

.list-content .read-more a{
	float: right;
}

#middle {
	background: none;
}

/*------- Hover -----------*/
.view {
   max-width: 245px;
   max-height: 180px;
   margin: 10px;
   float: left;
   border: 10px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
}
.view img{
	width: 230px;
   	height: 160px;
}
.view .mask,.view .content {
   width: 225px;
   height: 160px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.view img {
   display: block;
   position: relative;
}
.view h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 12px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.7);
   margin: 20px 0 0 0;
}
.view p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 15px;
   position: relative;
   color: #fff;
   padding: 10px 20px 0px;
   text-align: center;
}
.view a.info {
	font-size: 12px;
   display: inline-block;
   text-decoration: none;
   padding: 7px 14px;
   background: rgba(0, 0, 0, 0.7);
   color: #fff;
   /*text-transform: uppercase;*/
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.view a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}

.view-first img {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   background-color: rgba(0,0,0,0.2);
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
}
.view-first h2 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-first p {
   -webkit-transform: translateY(100px);
   -moz-transform: translateY(100px);
   -o-transform: translateY(100px);
   -ms-transform: translateY(100px);
   transform: translateY(100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first:hover img {
   -webkit-transform: scale(1.1,1.1);
   -moz-transform: scale(1.1,1.1);
   -o-transform: scale(1.1,1.1);
   -ms-transform: scale(1.1,1.1);
   transform: scale(1.1,1.1);
}
.view-first a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-first:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
}
.view-first:hover p {
   -webkit-transition-delay: 0.1s;
   -moz-transition-delay: 0.1s;
   -o-transition-delay: 0.1s;
   -ms-transition-delay: 0.1s;
   transition-delay: 0.1s;
}
.view-first:hover a.info {
   -webkit-transition-delay: 0.2s;
   -moz-transition-delay: 0.2s;
   -o-transition-delay: 0.2s;
   -ms-transition-delay: 0.2s;
   transition-delay: 0.2s;
}

.top-number{
	color: #2c8630;
	text-align: right;
	font-weight: bold;
	margin-top: 18px;
}

.navbar {
	padding:0px;
}

.navbar-nav>li {
	padding-bottom: 8px;
}

.social {
	margin-top: 6px;
}

#footer {
	padding-top: 18px;
	padding-bottom: 18px;
	margin-top: 20px;
	width: 100%;
	float: left;
	bottom: 0;
	z-index: 99;
}

#footer a:hover {
  color: #4caf50;
}

.thumbnail{
	display: inline-flex;
	float: left;
}

.thumbnail > img, .thumbnail a > img {
	min-width: 100px;
	max-width: 100px;
	min-height: 100px;
	max-height: 100px;
}

.breadcrumb{
	margin-bottom: 0;
}

.breadcrumb-content{
	padding: 0;
	padding-top: 15px;
}

.breadcrumb span h2{
	color: #007700;
}

.breadcrumb li a{
	color: #005500;
	font-weight: bold;
}

.breadcrumb li.active{
	color: #696969;
}

.box-content-inpage{
	padding: 0;
}

.box-content-inpage .title span h2{
	color: #2c8630;
}
/*
.box-content-inpage .detail p{
	text-indent:35px;
	padding-left: 15px;
}
*/
/*
.box-content-inpage .title , .box-content-inpage .detail .feesstadium{
	padding-left: 15px;
}*/

.mission-vision{
	padding: 5px 0px 15px 15px;
}

.mission-vision span{
	font-weight: bold;
}

.box-content-inpage .detail .structure{
	text-align: center;	
}

.box-content-inpage .detail .structure img{
	width: 90%;
}

.box-content-inpage .detail .personnel{
	margin-top: 50px;
	text-align: center;	
}

.box-content-inpage .detail .table-personnel{
	width: 90%
}

.box-content-inpage .detail .table-personnel td.personnel-td-1 ,
.box-content-inpage .detail .table-personnel td.personnel-td-5{
	width: 5%;
}

.box-content-inpage .detail .table-personnel td.personnel-td-2 ,
.box-content-inpage .detail .table-personnel td.personnel-td-3 ,
.box-content-inpage .detail .table-personnel td.personnel-td-4{
	width: 30%;
}

.box-content-inpage .detail .table-personnel img{
	width: 55%;
}

.box-content-inpage .detail .table-personnel .personnel-name{
	font-weight: bold;
	padding-top: 10px;
}

.box-content-inpage .detail .table-personnel .personnel-position{
	padding-bottom: 10px;
}

.box-content-inpage .detail .box-item-content{
	margin-top: 30px;
}

.box-item-content .item-title{
	font-weight: bold;
	font-size: 15px;
	background: #C1FFC1;
	padding: 5px 5px 5px 5px;
	margin-bottom: 15px;
	margin-left: 15px;
	/*max-width: 200px;*/
}

.box-item-content .item-detail .show-sport{
	padding-left: 15px;
}

.item-detail .show-sport img{
	width: 50px;
	height: 50px;
}

.item-detail .show-sport .sport{
	padding: 10px;
}

.item-detail .show-sport .sport span{
	padding-left: 15px;
}

.box-content-inpage .center{
	text-align: center;	
	padding: 0px;
}

.feesstadium{
	margin-top: 30px;
	margin-bottom: 30px;
}

.feesstadium .note{
	margin-top: 30px;
}

.feesstadium .note span{
	font-weight: bold;
	text-decoration: underline;
}

.feesstadium table thead tr th{
	background: #f5f5f5;
}

.gmap-area{
	background: none;
	padding: 40px 0px;
}

.box-item-content .item-detail a{
	color: #2c8630;
}

.box-item-content .item-detail a:hover{
	color: #4caf50;
}

.detail .media .media-body p{
	text-indent: 0px;
	padding: 0px;
}

.detail .fitness_img , .detail .guidelines_img , .detail .knowledge_img{
	text-align: center;
	padding: 20px;
}

.detail .fitness_detail span{
	font-weight: bold;
	font-size: 15px;
}

.detail .fitness_detail p{
	padding: 0px;
}

.detail .fitness_detail , .detail .guidelines_detail{
	padding-left: 15px;
}

.box-content-inpage .guidelines ol {
  	list-style-type: none;
  	counter-reset: item;
  	margin: 0;
  	padding: 0;
}

.box-content-inpage .guidelines ol > li {
  	display: table;
  	counter-increment: item;
  	margin-bottom: 0.6em;
}

.box-content-inpage .guidelines ol > li:before {
  	content: counters(item, ".") ". ";
  	display: table-cell;
	padding-right: 0.6em;    
}

.box-content-inpage .guidelines li ol > li {
	margin: 0;
}

.box-content-inpage .guidelines li ol > li:before {
	content: counters(item, ".") " ";
}

.navbar-nav > li:first-child {
	margin-left: 0px;
}

@media (max-width: 767px){
	.navbar-nav > li:first-child {
		margin-left: 17px;
	}
}

.fluid_container {
	margin: 0 auto;
	display: inline-block;
	width: 100%;
	padding-left: 16px;
}

.gallery_camera{
	padding-top:30px;
	padding-bottom:30px;
	text-align: center;
}
/*
.gallery_camera .camera_caption , .slide_camera .camera_caption{
	text-align: left;
}

.camera_thumb{
	width: 100px !important;
	height: 70px !important;
}

.home_slide_camera{
	padding-left: 0px;
}
*/
#carousel{
	padding-top:30px;
	padding-bottom:15px;
	text-align: center;
	margin-bottom: 25px;
}

.carousel-caption{
	font-size: 18px;
}

.guidelines .guidelines_detail a{
	color: #2c8630;
}

.guidelines .guidelines_detail a:hover{
	color: #4caf50;
}

.img-responsive {
	display: inline-block;
}

.knowledge span{
	padding-left: 15px;
}

.map-content h3{
	font-weight: bold;
}

.text-menu{
	padding-left: 5px;
}

.pgwSlideshow_images{
	padding: 30px 15px 30px 15px;
}

.detail .gallery{
	padding: 20px 15px 20px 15px;
}

.detail .gallery .gallery_jssor{
	display: inline-block;
}

@media (max-width: 500px){
	.show-sport .col-sm-3 {
		width: 100%;
	}
}

.sport-icon .show-sport img{
	width: 30px !important;
	height: 30px !important;
}

@media (max-width: 767px){
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, 
	.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus {
		color: #445143;
		font-weight: bold;
		background-color: #F2F2F2;
	}	
	
	.navbar-inverse .navbar-nav .open .dropdown-menu>li>a {
		color: #FFF;
	}
	
	.main-link-web , #link_button{
		display: none;
	}
}

.authoritiesscope span , .authoritiesscopegroup span{
	padding-left: 15px;
	font-weight: bold;
}

@media (min-width: 767px){
	.new-padding-right{
		padding-right: 0px;
	}
}

.box-link{
	margin-bottom: 15px;
	text-align: center;
}

.box-link img{
	width: 100%;
}

select.ui-datepicker-month{
	margin-right: 1px !important;
}
select.ui-datepicker-year{
	margin-left: 1px !important;
}
.ui-datepicker .ui-datepicker-header {
	background: #409243;
}
.ui-state-default, .ui-widget-content .ui-state-default{
	font-weight: bold;
	color: #4876FF;
}
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
	color: #1C1C1C;
}
.ui-state-default, .ui-widget-content .ui-state-active {
	background: #33CC66;
}
.ui-datepicker th {
	padding: .7em .0em;
}
.ui-widget-header .ui-state-hover , .ui-widget-content .ui-state-hover{
	background: #99CC99;
}
.ui-priority-secondary:HOVER{
	background: #FCF6CF;
}
.ui-widget-header .ui-icon {
	background-image: url(../images/ui/ui-icons_ffffff_256x240.png);
}
.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon {
	background-image: url(../images/ui/ui-icons_ef8c08_256x240.png)/*{iconsHover}*/;
}
.ui-datepicker-close{
	color: #1C1C1C !important;
}
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
	opacity: 1;
}

.ui-datepicker {
	width: 100%;
}

.ui-datepicker table {
	font-size: 0.7em;
}

.ui-datepicker td a{
	padding: 0;
	line-height: 18px;
}

/* COUNTER */
.counter-web{
	width:180px;
	border: 1px solid #CCC;
	font-size: 13px;
}

.counter-web .counter-head{
	text-align: left;
	padding: 5px;
	background: #409243;
	color: #FFFFFF;
}

.counter-web .counter-head span{
	font-weight: bold;
}

.counter-web .counter-content{
	height: 120px;
}

.counter-web .counter-content .counter-item{
	width: 100%;
	float: left;
	padding: 10px;
}
.counter-web .counter-content .counter-item .title{
	width: 60%;
	float: left;
}

.counter-web .counter-content .counter-item .title img{
	width: 20px;
	height: 20px;
	margin-right: 5px;
	float: left;
}

.counter-web .counter-content .counter-item .title span{
	line-height: 20px;
	float: left;
}

.counter-web .counter-content .counter-item .detail{
	width: 40%;
	float: left;
}

.ui-corner-all{
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 0px;
}

.sports-calendar{
	background: #409243;
	padding: 5px;
	color: #FFFFFF;
	font-weight: bold;
	border-radius: 0px 0px 5px 5px;
}

.sports-calendar a{
	color: #FFFFFF;
	padding-left: 5px;
	padding-right: 5px;
}

.sports-calendar a:hover{
	color: #FFFF66;
}

.sports-calendar img{
	width: 20px;
	height: 20px;
}

.calendar-detail{
	padding-left: 15px;
}

#link_button{
	margin-top: 15px;
}

#accordion{
	margin-top: 30px;
}

.calendar-detail .panel-default>.panel-heading{
	background-color: #C1FFC1;
}

#accordion a img{
	width: 25px;
	height: 25px;
	margin-right: 10px;
}

.box-header{
	float: right;
}

#login button{
	margin-left: 15px;
	margin-top: 7px;
	width: 110px;
	height: 47px;
	color:#FFFFFF;
	background: #409243;
}

#fancybox_popup{
	min-width: 500px;
	max-height: 500px;
}

#fancybox_popup .title{
	padding: 10px;
	font-weight:bold;
	color: #FFFFFF;
	border-bottom: solid 1px #cccccc;
	background: #409243;
}

#fancybox_popup .title .panel-title{
	padding-right: 30px;
	width: 800px;
}

#fancybox_popup .content{
	padding: 10px;
}

#fancybox_popup .title span{
	font-size: 16px;
}

.fancybox-inner .panel {
	margin-bottom: 0px;	
}

.dropdown-login{
	margin-left: 15px;
	margin-top: 7px;
}

.dropdown-login button{
	width: 200px;
	height: 47px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow:ellipsis;
	
	color:#FFFFFF;
	background: #409243;
}

.dropdown-login .btn .caret {
	margin-left: 5px;
}

.dropdown-login .dropdown-menu{
	min-width: 200px !important;
	overflow: hidden;
}

.dropdown-login .dropdown-menu li a:hover{
	background: #F5F5F5;
}

.search{
	width: 100%;
	text-align: center;
	margin-bottom: 40px;
}

.search button span{
	color: #444444;
}

.search form input{
	min-width: 400px;
}

.gallery a.fancybox img{
	width: 200px;
	height: 150px;
	margin-right: 10px;
}

.fancybox-close {
	top: -10px;
	right: -10px;
}

label.error {
    color: red;
    font-size: 11px;
}

.pgwSlideshow {
    background: #F9F9F9 !important;
}

.athlete .image img{
	width: 100%;
	height: 165px;
}

.athlete .image{
  padding: 4px;
  margin-bottom: 5px;
  line-height: 1.428571429;
  background-color: #fff;
  border: 1px solid #ddd;
 }
 
 .athlete .name{
 	font-weight: bold;
 }
 
 .athlete .athlete-center{
 	text-align: center;
 	margin-bottom: 10px;
 }
 
 .athlete .athlete-detail{
		border: 1px solid #ccc;
 }
 
.athlete a {
    color: #2c8630;
}

.fancybox-title-float-wrap .child {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.fancybox-title-float-wrap {
    margin-bottom: 0px;
}

table.athlete{
	width: 100%;
}

table.athlete td{
	vertical-align: top;
}

table.athlete td ol{
	margin-left: -25px;	
}

table.athlete ul{
	padding-left: 18px;
}

.media .media-body a{
	line-height: 20px;
}