

@font-face {
    font-family: 'ThaiSansNeue-ExtraLight';
    src: url('FONT/ThaiSansNeue-ExtraLight/thaisansneue-extralight-webfont.woff2') format('woff2'),
         url('FONT/ThaiSansNeue-ExtraLight/thaisansneue-extralight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html,body{
	background-color: #ffffff;
	font-family: 'ThaiSansNeue-ExtraLight';
    font-weight: Bold;
	font-size: 100%;
    width: 100%;
}

a:link {
color: rgb(0, 0, 0);
text-decoration: none; 
}


/* div dropdown - main menu */
.dropdown_main, .dropdown_btmain{

	text-align: center;   
	font-size: 20px;
	white-space: nowrap;    
	text-decoration: none;
	color: #ffffff;
	display: block;
	position: relative;
	border: 1px solid rgba(0,0,0,0.21);
	border-bottom: 4px solid rgba(0,0,0,0.21);
	border-radius: 4px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
	width: 100%;
	height: 20px;
	padding-top: 10px;
	padding-bottom: 20px;
	margin-bottom: 1px;
	background: #dce2ff;  /*สีเมนูข้างซ้าย #67a272   #7b8fff, #2d1a80*/
	background: -moz-linear-gradient(top, #7287ff 0%, #7287ff 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #7287ff ), color-stop(100%, #7287ff  ));
	background: -webkit-linear-gradient(top, #7287ff 0%, #4d63e0 100%);
	background: -o-linear-gradient(top, 	 #7287ff 0%, #4d63e0  100%);
	background: -ms-linear-gradient(top,  	 #7287ff 0%, #4d63e0  100%);
	background: linear-gradient(to bottom,   #7287ff 0%, #4d63e0  100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6698cb', endColorstr='#5c8ab8', GradientType=0 );
}

.dropdown_btmain a{
	color: #ffffff;
}

.dropdown_btmain:hover, .dropdown_main:hover, .dropdown:hover, .dropdown-button:hover{

	text-align: center;     
	text-decoration: none;
	color: #4d63e0;
	display: block;
	position: relative;
	border: 1px solid rgba(0,0,0,0.21);
	border-bottom: 4px solid #fed470;
	border-radius: 4px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
	width: 100%;
	height: 20px;
	padding-top: 10px;
	padding-bottom: 20px;
	margin-bottom: 1px;
	background: #ffffff;  /*สีเมนูข้างซ้าย*/
	background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%  );
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
	background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
	background: -o-linear-gradient(top, 	 #ffffff 0%, #ffffff 100%);
	background: -ms-linear-gradient(top,  	 #ffffff 0%, #ffffff 100%);
	background: linear-gradient(to bottom,   #ffffff 0%, #ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6698cb', endColorstr='#5c8ab8', GradientType=0 );
}
 .dropdown-button:hover a{
	color: #181c56;
}
.dropdown_btmain:hover a{
	color: #4d63e0;
}


.dropdown_main:hover .dropdown_main-content {
    display: block;

}

.dropdown_main-content {
	display: none;
	position: absolute;
	font-size: 20px;  /* เมนูหลัก*/
	background-color: #ffffff;
	width: auto;
	min-width: 100%;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index:99;
	text-align: left;
	margin-top:6%;
	list-style: none;
	border-top: 5px solid #fed470;
	color: #4d63e0;


}
.dropdown_main-content a{

	color: #4d63e0;
}
.dropdown_main-content ul {

	padding: 0;
	margin: 0;
}
.dropdown_main-content ul li{
	font-size: 20px;   /* เมนูย่อย*/
	height: 10px;
	position: relative; 
	list-style: none;
	align-items: left;
	border-bottom: 1px solid #4d63e0;
	padding: 10px 0px 20px 10px;
	
}
.dropdown_main-content ul li:hover a{
	color: #4d63e0;
}
.dropdown_main-content ul li:hover {
	background-color: #fff8e8;
}

.dropdown-sub {
    display: none;
	position: absolute; 
	width: 400px;
    padding: 5px 10px;
	text-align: left;
	font-size: 18px;
	background-color: #fff8e8 ;  /*เมนูย่อยซ้าย)*/
	font-size: 1rem;
	z-index: 99;
	border: 0.5px solid rgb(201, 201, 201)  ;
	right: 100%;


}
.dropdown_main-content ul li:hover .dropdown-sub {
    display: block;
}
.dropdown-sub:hover  li:hover{

	background-color: #ffffff ;

}



/* div dropdown - side menu */
.dropdown, .dropdown-button{
	font-size: 16px;
	white-space: nowrap;    
	text-decoration: none;
	color: #ffffff;
	display: block;
	position: relative;
	border: 1px solid rgba(0,0,0,0.21);
	border-bottom: 4px solid rgba(0,0,0,0.21);
	border-radius: 4px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
	width: 100%;
	height: 20px;
	padding-top: 20px;
	padding-bottom: 10px;
	margin-bottom: 1px;
	background: #dce2ff;  /*สีเมนูข้างซ้าย #67a272   #7b8fff, #2d1a80*/
	background: -moz-linear-gradient(top, #7287ff 0%, #7287ff 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #7287ff ), color-stop(100%, #7287ff  ));
	background: -webkit-linear-gradient(top, #7287ff 0%, #4d63e0 100%);
	background: -o-linear-gradient(top, 	 #7287ff 0%, #4d63e0  100%);
	background: -ms-linear-gradient(top,  	 #7287ff 0%, #4d63e0  100%);
	background: linear-gradient(to bottom,   #7287ff 0%, #4d63e0  100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6698cb', endColorstr='#5c8ab8', GradientType=0 );
}

.dropdown-button a{
	color: #ffffff;
}
/*.dropdown a{
	color: #ffffff;
}*/
/*.dropdown a:active{ 
	color: #3a0073;
}*/
.sidemenu-span {
	color: #ffffff;
	float: left;

}
.sidemenu-span:hover a{
	color: #181c56;
}
.dropdown:hover .sidemenu-span {
	color: #181c56;
}


.dropdown-content {
    display: none;
	position: absolute; 
	width: 400px;

	text-align: left;
	left: 100.5%;
	margin-top:-7%;
	background-color: #fef6d4 ;  /*เมนูย่อยซ้าย)*/
	font-size: 1rem;
	z-index: 99;
	border: 0.5px solid rgb(201, 201, 201)  ;

}

.dropdown-content ul {
	padding: 0;
	margin: 0;

}


.dropdown-content ul li {
	position: relative; 
	list-style: none;
	padding: 10px 0px 10px 5px;
	align-items: center;
	border-bottom: 0.5px solid #ffcf5e ;

}
.dropdown-content ul li a {
	color: #602800;
}
.dropdown-content ul li:hover{
background-color: #ffffff;

}
.dropdown-content ul{
	padding: 0;
}

.dropdown:hover .dropdown-content{
    display: block;
}



 .dropdown:hover, .dropdown-button:hover{
	font-size: 16PX;
	text-align: center;     
	text-decoration: none;
	color: #181c56;
	display: block;
	position: relative;
	border: 1px solid rgba(0,0,0,0.21);
	border-bottom: 4px solid #ffcf5e;
	border-radius: 4px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.15);
	width: 100%;
	height: 20px;
	padding-top: 20px;
	padding-bottom: 10px;
	margin-bottom: 1px;
	background: #ffffff;  /*เธชเธตเน€เธกเธเธนเธเนเธฒเธเธเนเธฒเธข*/
	background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
	background: -webkit-gradient(left top, left bottom, color-stop(0%, #ffffff ), color-stop(100%, #ffffff));
	background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
	background: -o-linear-gradient(top, 	 #ffffff 0%, #ffffff 100%);
	background: -ms-linear-gradient(top,  	 #ffffff 0%, #ffffff 100%);
	background: linear-gradient(to bottom,   #ffffff 0%, #ffffff 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6698cb', endColorstr='#5c8ab8', GradientType=0 );
}

.btn img:hover{
	
	border-bottom: 2px solid #252525;

}

/* Tab Boss*/

@media only screen and (min-width: 768px) { 
	.Menubar{width: 100%; }
    .wrapper{width: 100%; }
	.wrapper nav label{font-size: 30px;} 
	h1.toppic_1,h1.toppic_2{width: 30%;}
	h1.toppic{width: 15%;}
	h1.toppic_3{width: 25%;}
	h1.toppic_4{width: 40%;}
	.footer{width: 100%; font-size: 30px;}
	.dropdown_main,.dropdown_btmain,.dropdown_main-content{font-size: 30px;} 


}

@media only screen and (max-width: 780px) { 
	.Menubar,.footer{width: 320%; }
	.footer{font-size: 25px;}
    .wrapper{width: 300%; }
	.wrapper nav label{font-size: 25px;}  
	.toppic_1{width: 60%;}
	.toppic{width: 30%;}
	.toppic_3{width: 50%;}
	.toppic_2{width: 65%;}
	.toppic_4{width: 85%;}
	.dropdown_main,.dropdown_btmain,.dropdown_main-content{font-size: 25px;} 
}

.wrapper{
    height: auto;
    margin: 0.5% auto;
    padding: 25px 30px 30px 30px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
  }
  .wrapper header{
    font-size: 30px;
    font-weight: 600;
    padding-bottom: 20px;
  }
  .wrapper nav{

    position: relative;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
  }
  .wrapper nav label{
    display: block;

    width: 100%;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    color: #e00083;
    border-radius: 5px;
  }
  .wrapper nav label:hover{
    background: #ff69b454;
  }
  #Y1:checked ~ nav label.Y1,
  #Y2:checked ~ nav label.Y2,
  #Y3:checked ~ nav label.Y3,
    #N1:checked ~ nav label.N1,
  #N2:checked ~ nav label.N2,
  #N3:checked ~ nav label.N3{
    color: #ffffff;
  }
  nav label i{
    padding-right: 0px;
  }
  nav .slider{
    position: absolute;
    height: 100%;
    width: 33.3%;
    left: 0;
    bottom: 0;
    z-index: 0;
    border-radius: 5px;
    background: #FF69B4; /*#FF69B4*/
    transition: all 0.3s ease;
  }
  input[type="radio"]{
    display: none;
  }
  #Y1:checked ~ nav .slider{
    left: 0%;
  }
  #Y2:checked ~ nav .slider{
    left: 33.3%;
  }
  #Y3:checked ~ nav .slider{
    left: 66.6%;
  }
    #N1:checked ~ nav .slider2{
      left: 0%;
    }
    #N2:checked ~ nav .slider2{
      left: 20%;
    }
    #N3:checked ~ nav .slider2{
      left: 40%;
    }
  
      
  section .content{
    display: none;
    background: #fff;
  }
  #Y1:checked ~ section .content-1,
  #Y2:checked ~ section .content-2,
  #Y3:checked ~ section .content-3,
  #N1:checked ~ section .content-1,
  #N2:checked ~ section .content-2,
  #N3:checked ~ section .content-3{
    display: block;
  }
  section .content .title{
    font-size: 21px;
    font-weight: 500;
    margin: 30px 0 10px 0;
  }
  section .content p{
  text-align: justify;
  }
  /* unvisited link */
  a.two:link {
    color: rgb(0, 0, 0);
    text-decoration: none;
  }
  
  /* visited link */
  a.one:visited {
    color: rgba(0, 0, 0, 0.363);
    text-decoration: none;
  }
  
  /* mouse over link */
  a.one:hover {
    color: rgb(255, 255, 255);
    text-decoration: none;
  }
  /* mouse over link */
  a.two:hover {
    color: rgb(55, 0, 255);
    text-decoration: none;
  }
  
  /* selected link */
  a:active {
    color: rgb(0, 68, 255);
    text-decoration: none;
  }

  .wrapper img {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 100px;
  }

h1.toppic , h1.toppic_3, h1.toppic_2,.toppic_4 {
	color: black; 
	border-radius: 25px; 
	font-size:28px;
	background-color: #FFB6C1;
}

h1.toppic_1 {
	color: black;   
	background-color: #FFB6C1;
	border-radius: 25px; 
	font-size:35px;

}


