@import url('https://fonts.googleapis.com/css?family=Maitree:500&subset=thai');

#zone_admin{
	font-family:  'Maitree', serif;
    
}

* {
  box-sizing: border-box;
}

.wd_button {
    background-image: -moz-linear-gradient(top, #008dad, #007b9d);
    background-image: -webkit-linear-gradient(top, #008dad, #007b9d);
    background-image: -ms-linear-gradient(top, #008dad, #007b9d);
    background-image: linear-gradient(top, #008dad, #007b9d);
    display: inline-block;
    padding: 12px 24px 12px 24px;
    background-color: #007b9d;
    border-radius: 10px;
    text-transform: lowercase;
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    letter-spacing: -1px;
    border: solid 1px #006e8b;
    box-shadow: inset 0px 0px 0px 1px #18a8c8;
}
.wd_button:hover {
    background-image: -moz-linear-gradient(top, #1b9fbe, #118eb1);
    background-image: -webkit-linear-gradient(top, #1b9fbe, #118eb1);
    background-image: -ms-linear-gradient(top, #1b9fbe, #118eb1);
    background-image: linear-gradient(top, #1b9fbe, #118eb1);
    background-color: #118eb1;
    box-shadow: inset 0px 0px 0px 1px #3ecceb;
	 color: #FF0;
	 text-shadow:1px 1px 1px #033;
}
.wd_button_login {
    background-image: -moz-linear-gradient(top, #008dad, #007b9d);
    background-image: -webkit-linear-gradient(top, #bb349e, #31072e);
    background-image: -ms-linear-gradient(top, #008dad, #007b9d);
    background-image: linear-gradient(top, #008dad, #007b9d);
    display: inline-block;
    padding: 12px 24px 12px 24px;
    background-color: #d666bf;
    border-radius: 10px;
    text-transform: lowercase;
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    letter-spacing: -1px;
    border: solid 1px #d61ba5;
    box-shadow: inset 0px 0px 0px 1px #fbce4f;
}
.wd_button_login:hover {
    background-image: -moz-linear-gradient(top, #1b9fbe, #118eb1);
    background-image: -webkit-linear-gradient(top, #e0700f, #330d04);
    background-image: -ms-linear-gradient(top, #1b9fbe, #118eb1);
    background-image: linear-gradient(top, #1b9fbe, #118eb1);
    background-color: #f4f724;
    box-shadow: inset 0px 0px 0px 1px #fff472;
    color: #FF0;
    text-shadow: 1px 1px 1px #033;
}
/* Center website */
.wd_main {
 background-color: #f9f9f980;
  /* background-color: rgba(167, 167, 167, 0.2); /* Black w/ opacity */
  padding:10px;
  margin: auto;
}
.wd_ligth{
  background-color: rgba(255,255,255,0.3); /* Black w/ opacity */
}

/* Create four equal columns that floats next to each other */
.wd_column {
  float: left;
  width: 24%;
  margin-left:5px;
}

/* Clear floats after rows */ 
.wd_row{
	background-color:#FFF;
	border-top:#b77c24  5px solid;
}
.wd_row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.wd_content {
  background-color: #f9f9f9;
  padding: 10px;
}

/*  modal -- wd_content */

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.wd_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal wd_content (image) */
.wd_modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* wd_caption of wd_modal Image */
#wd_caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.wd_modal-content, #wd_caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  bottom: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
  .wd_mobile{
	 /* border-top:#00339970 2px solid;*/
	  margin-top:15px;
	  margin-bottom:10px;
	  padding-top:10px;
  }
   .wd_hover_img{
		  border-radius: 15px;
   }
    .wd_hover_img:hover{
		  border-radius: 5px;
		  cursor: pointer;
		  transition: 0.3s;
			opacity:0.7;
			border:#F30 2px dashed;
	}
	
/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .wd_modal-content {
    width: 100%;
  }
  .wd_button, .wd_button_login {
 	padding: 12px 20px 12px 20px;
	font-size: 0.7em;
	}

}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
  .wd_column {
    width: 50%;
	margin-left:inherit;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
	.wd_row{
		background-color:inherit;
		border-top: inherit; /* #666 3px solid;*/
		border-radius: 10px;
	}
  .wd_column {
    width: 100%;
	margin-left:inherit;
	 border-radius: 10px;
  }
  .wd_mobile{
	  border-top: inherit;
	  border-bottom:#F64 2px solid;
	  margin-bottom:5px;
	 border-radius: 10px;
  }
  .wd_content{
	  border-bottom:#FC0 2px dashed;
	  margin-bottom:2px;
	  border-radius: 10px;
  }
	.wd_main {
	 /* background-color: #f9f9f9;*/
	  background-color:rgba(78, 145, 160, 0.5); /* Black w/ opacity */
	  padding:10px;
	  margin:  inherit;
	  border-radius:1px;
	}  
}

