@font-face {
    font-family: 'THSarabunPSK';
    src: url('../font/THSarabunPSK.eot');
    src: url('../font/THSarabunPSK.eot?#iefix') format('embedded-opentype'),
         url('../font/THSarabunPSK.woff') format('woff'),
         url('../font/THSarabunPSK.ttf') format('truetype'),
         url('../font/THSarabunPSK.svg#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'THBangna';
    src: url('');
    src: url('../font/bangna/bangna-new.ttf?#iefix') format('embedded-opentype'),
         url('../font/bangna/bangna-new.ttf') format('woff'),
         url('../font/bangna/bangna-new.ttf') format('truetype'),
         url('../font/bangna/bangna-new.ttf#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'THkit';
    src: url('');
    src: url('../font/kit45f.ttf?#iefix') format('embedded-opentype'),
         url('../font/kit45f.ttf') format('woff'),
         url('../font/kit45f.ttf') format('truetype'),
         url('../font/kit45f.ttf#WebSymbolsRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
#showPOP{
  position:absolute;
  text-align: right;
  right: 6px;
  top:110px;
  width: 80%;    
}

.ca-menu{
    padding: 0;
    margin: 0px auto;
	font-family: "THSarabunPSK";
    /*width: 500px;*/
}
.ca-menu li{
    width: 220px;
    height: 33px;
    overflow: hidden;
    display: block;
    /*background: #fff;*/
    -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin-bottom: 4px;
    /*border-left: 10px solid #000;*/
    -webkit-transition: all 300ms ease-in-out;
	-moz-transition: all 300ms ease-in-out;
	-o-transition: all 300ms ease-in-out;
	-ms-transition: all 300ms ease-in-out;
	transition: all 300ms ease-in-out;
}
.ca-menu li:last-child{
    margin-bottom: 10px;
}
.ca-menu li a{
    text-align: left;
    display: block;
    width: 100%;
    height: 100%;
    color: #FFF;
    position:relative;
}
.ca-content{
	position: absolute;
    left: 45px;
    width: 370px;
    height: 60px;
}
.ca-icon{
    font-size: 15px;
    text-shadow: 0px 0px 1px #333;
    line-height: 35px;
    position: absolute;
    width: 30px;
	background-color: black;
    left: 5px;
    text-align: center;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.ca-menu li:hover .ca-icon{
    font-size: 30px;
    text-shadow: 0px 0px 1px #333;
}


/* ป้ายแรก */
.ca-li-first{
	background-color: #838bd6;
	border-color: #838bd6;
}
.ca-li-first a:hover{
	background-color: #FFF;
	color: #838bd6;
}
.ca-main-first{
	padding-top: 4px;
    font-size: 20px;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

/*จบ ป้ายแรก
-------------------------------------
ป้ายสอง */
.ca-li-second{
	background-color: #0c8db1;
	border-color: #0c8db1;
}
.ca-li-second a:hover{
	background-color: #FFF;
	color: #0c8db1;
	font-weight:700;
}
.ca-main-second{
    font-size: 20px;
	font-family: "THBangna";
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
/*จบ ป้ายสอง
-------------------------------------
ป้ายสาม */
.ca-li-third{
	background-color: #006bca;
	border-color: #006bca;
}
.ca-li-third a:hover{
	background-color: #FFF;
	color: #006bca;
	font-weight:700;
}
.ca-main-third{
    font-size: 20px;
	font-family: "THBangna";
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
/*จบ ป้ายสาม*/
/*
first
second
third
fourth
*/

.hFont{
	font-family: "THkit";
	font-size: 22px;
}
.row {
    display: -webkit-flex;
    display: flex;
}
.column{
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 10px;
    height: 100px;
	-webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    -moz-box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 4px;
}
.column a{
    text-align: left;
    display: block;
    width: 100%;
    height: 100%;
    position:relative;
	background-color: #FFF;
}
.col-icon{
	left: 20px;
    position: absolute;
    text-align: center;
}
.col-icon img{
    line-height: 35px;
    position: absolute;
    width: 100px;
}
.col-content{
	position: absolute;
    left: 135px;
	margin-top: 5px;
    width: 370px;
}
.col-First{
	font-family: "THkit";
	color:#0E7BB0;
	font-size: 50px;
}
.col-second{
	font-family: "THkit";
	color:#A2671D;
	font-size: 50px;
}
.lDept li{
    float:left
    width: 30%;
    text-align: left;
    padding-left: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
    border: 1px solid #ccc;
    background-color: white;
    box-shadow: 0.1em 0.1em 0.02em #333;
}
.lDept li:hover{
    background-color: #f0e7f7;
}
.lDept a{
    text-decoration: none;
    color: black;
    font-family: "THkit";
    font-size: 1.6em;
}
.lDept a:hover{
    color: #290947;
}

.g_btn {
  display: inline-block;
  outline: none;
  font-family: inherit;
  font-size: 0.8em;
  box-sizing: border-box;
  border: none;
  height: 2em;
  line-height: 1.8em;
  text-transform: uppercase;
  padding: 0 1em;
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
              inset 0 -2px 5px 1px rgba(139,66,8,1),
              inset 0 -1px 1px 3px rgba(250,227,133,1);
  background-image: linear-gradient(140deg, #b47e00, #b47e00, #fef1a2, #b47e00, #b47e00);
  border: 1px solid #b47e00;
  color: rgb(120,50,5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  cursor: pointer;
  transition: all .2s ease-in-out;
  background-size: 100% 100%;
  background-position:center;
}
.g_btn:focus,
.g_btn:hover {
  background-size: 150% 150%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23),
                inset 0 -2px 5px 1px #b47e00,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
  border: 1px solid rgba(165,93,7,.6);
  color: rgba(120,50,5,.8);
}
.g_btn:active {
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
              inset 0 -2px 5px 1px #b47e00,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
}
.g_border{
  border: 3px solid;
  border-image-slice: 1;
  border-width: 3px;
  border-image-source: linear-gradient(to left, #b47e00, #fecb34);
}

.sky_btn {
  letter-spacing: 0.1em;
  cursor: pointer;
  font-weight: 400;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
}
.sky_btn:hover {
  text-decoration: none;
  color: #00BFFF;
}

/*btn_background*/
.effect01 {
  color: #FFF;
  border: 4px solid #00BFFF;
  box-shadow:0px 0px 0px 1px #65b9ff inset;
  background-color: #00BFFF;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease-in-out;
}
.effect01:hover {
  border: 4px solid #00BFFF;
  background-color: #FFF;
  box-shadow:0px 0px 0px 4px #EEE inset;
  color: #00BFFF;
}

/*btn_text*/
.effect01 span {
  transition: all 0.2s ease-out;
  z-index: 2;
}
.effect01:hover span{
  letter-spacing: 0.13em;
  color: #00BFFF;
}

/*highlight*/
.effect01:after {
  background: #FFF;
  border: 0px solid #00BFFF;
  content: "";
  height: 155px;
  left: -75px;
  opacity: .8;
  position: absolute;
  top: -50px;
  -webkit-transform: rotate(35deg);
          transform: rotate(35deg);
  width: 50px;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);/*easeOutCirc*/
  z-index: 1;
}
.effect01:hover:after {
  background: #FFF;
  color: #00BFFF;
  border: 20px solid #00BFFF;
  opacity: 0;
  left: 120%;
  -webkit-transform: rotate(40deg);
          transform: rotate(40deg);
}
.sky_border{
  border: 6px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to left, #008FFF, #FFF);
}

.p_btn {
  display: inline-block;
  outline: none;
  font-family: inherit;
  font-size: 0.8em;
  box-sizing: border-box;
  border: none;
  height: 2em;
  line-height: 1.8em;
  text-transform: uppercase;
  padding: 0 1em;
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
              inset 0 -2px 5px 1px rgba(139,66,8,1),
              inset 0 -1px 1px 3px rgba(250,227,133,1);
  background-image: linear-gradient(140deg, #b47e00, #b47e00, #fef1a2, #b47e00, #b47e00);
  border: 1px solid #b47e00;
  color: rgb(120,50,5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  cursor: pointer;
  transition: all .2s ease-in-out;
  background-size: 100% 100%;
  background-position:center;
}
.p_btn:focus,
.p_btn:hover {
  background-size: 150% 150%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23),
                inset 0 -2px 5px 1px #b47e00,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
  border: 1px solid rgba(165,93,7,.6);
  color: rgba(120,50,5,.8);
}
.p_btn:active {
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
              inset 0 -2px 5px 1px #b47e00,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
}
