
/*--------------------------------------------------------------
# Main Body
# น้ำเงิน: #2E3094
# เขียว: #5EC75E
# เหลือง: #FFE84A
# แดง: #F13C21
--------------------------------------------------------------*/
* {
  box-sizing:border-box;
}

html {
scroll-behavior: smooth;
}

@font-face {
    font-family: "Kanit";
    src: url("../stylesheet/Kanit-Regular.ttf");
}
@font-face {
    font-family: "Kanit Light";
    src: url("../stylesheet/Kanit-Light.ttf");
}
@font-face {
    font-family: "Kanit Medium";
    src: url("../stylesheet/Kanit-Medium.ttf");
}

body {
margin: 0;
font-size: 1rem;
font-family: 'Kanit', sans-serif; 
color: #4a4a4a;
line-height: 1.5;
font-weight: normal;
/* Med-Park
font-size: 1em;
color: #4a4a4a;
font-weight: 400;*/
/*letter-spacing: 1px;*/
}

h1,h2,h3,h4,h5,h6,b {
    font-family: 'Kanit Medium', sans-serif;
    /*color: #2E3094;*/
    letter-spacing: 0.2px;
}

pre{
    white-space: pre-wrap;
    font-size: 1.1em;
    font-family: 'Kanit', 'Noto Sans Myanmar'; 
}

.fontLogo {
    font-family: 'Mitr', sans-serif;
}

.fontSizeSmall {
    font-size: .875rem;
}

.fontHead {
    font-size: 2.0vw;
    font-weight: bold;
}

.webbeedev {
color: #2E3094;
}

.webbeedev_black {
color: #444;
}

.webbeedev_white {
color: #fff;
}

.webbeedev_grey {
color: #f2f2f2;
}

.webbeedev_green {
color: #5EC75E;
}

.webbeedev_red {
color: #F13C21;
}

.webbeedev_blue {
color: #0A81AB;
}

.webbeedev_light_blue {
color: #2196F3;
}

.webbeedev_gold {
color: #FFE84A;
}

.webbeedev_background {
background: #2E3094;
}

.webbeedev_background_green {
background: #5EC75E;
}

.webbeedev_background_red {
background: #F13C21;
}

.webbeedev_background_white {
background: #fff;
}

.webbeedev_background_gold {
background: #FFE84A;
}

.webbeedev_background_grey {
background: #eee;
}

a {
cursor:pointer;
text-decoration: none;
}
a:hover {
color: #5EC75E;
}
a::after{
color: #2E3094;
}

label {
   font-size: 14px;
   /*color: #2E3094;*/
   /*font-weight: bold;*/
}

/*disabled,read-only*/
/*input:disabled,input:read-only{
    background: #eee;
}*/

.inputText {
    width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: none;
    margin-top: 2px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif; 
}
.inputTextWhite {
    width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: white;
    margin-top: 2px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif; 
}
.inputTextGrey {
    width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 2px;
    border: 1px solid #eee;
    background: #eee;
    margin-top: 2px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif; 
}

.inputDigit {
    height:35px;
    width: 24px;
    text-align: center;
    padding: 0;
}

.inputSearch {
    width: 100px;
    height: 35px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 1rem;
    background-color: #fff;
    background-image: url('../image/icon/search.png');
    background-position: 5px 5px; 
    background-repeat: no-repeat;
    padding: 12px 10px 12px 30px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    font-family: 'Kanit', sans-serif; 
}

.inputSearch:focus {
  width: 100%;
}

.inputSearchNoIcon {
    width: 100px;
    height: 35px;
    padding: 5px;
    /*box-sizing: border-box;*/
    border: 1px solid #ddd;
    background: none;
    border-radius: 2px;
    font-size: 1rem;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    font-family: 'Kanit', sans-serif; 
    color: #eee;
    
   /* width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: none;
    margin-top: 2px;
    font-size: 1rem;
     -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
    font-family: 'Kanit', sans-serif; */
}

.inputSearchNoIcon:focus {
  width: 100%;
}

.head-font {
  font-size: 18px;
  font-weight:bold;
}

.large-font {
  font-size: 48px;
}

.xlarge-font {
  font-size: 64px
}

.textOverflow-1row {
  white-space: nowrap; 
  width: auto; 
  overflow: hidden;
  text-overflow: ellipsis;
}

.textOverflow-2row {
  width: 100%; 
  max-height: 49px;
  overflow: hidden;
  text-overflow: ellipsis;

}

.textOverflow-3row {
  width: 100%; 
  max-height: 79px;
  overflow: hidden;
  text-overflow: ellipsis;

}

.header {
display:block;
background-color: #2E3094;
padding: 5px;
text-align: left;
font-size: 1rem;
padding-left: 100px;
padding-right: 100px;
}

.header a {
color: #444;
padding: 0px 5px;
}

.header a:hover {
color: #fff;
}

.header2 {
display:block;
background-color: #2E3094;
padding: 5px;
text-align: left;
font-size: 1rem;
}

.header2 a {
color: #fff;
padding: 0px 5px;
}

.header2 a:hover {
color: skyblue;
text-decoration: none;
}

@media screen and (max-width: 800px) 
{
    .inputText,.inputTextGrey,.inputTextWhite,.inputSearch {
        font-size: 0.8rem;
    }
    pre{
        font-size: 1em;
    }
    
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #2E3094;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #2E3094;
  border-top-color: #f6f9fe;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# START: Top Bar and Side Bar
--------------------------------------------------------------*/
/* Top Bar 1 : right */
.topnav {
overflow: hidden;
background-color: #444;
padding-left: 100px;
padding-right: 100px;
z-index: 99;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.topnav a {
float: right;
display: block;
color: #fff;
font-size: 17px;
text-align: center;
padding: 15px 15px;
padding-top:25px;
}

.topnav a:hover {
color: #2E3094;
border-bottom: 2px solid #2E3094;
}

.topnav a.active {
color: #2E3094;
}

.topnav a.icon {
display: none;
border-bottom: none;
}

/* Top Bar 2 : left*/
.topnav2 {
overflow: hidden;
background-color: #fff;
z-index: 99;
}

.topnav2 a {
float: left;
display: block;
font-size: 1rem;
/*font-weight: bold;*/
text-align: center;
padding: 5px 15px;
padding-top:10px;
}

/* Top Bar 3 : center */
.topnav3 {
  display: flex;
  overflow: hidden;
  justify-content: center;
  background: #fff;
  z-index: 99;
  padding:10px;
}

.topnav3 a {
font-size: 1rem;
padding: 15px 15px;
}

.topnav3 a.icon {
display: none;
float:right;
}

/* Side Bar */
.sidenav {
height: 100%;
width: 0;
position: fixed;
top: 0;
right: 0;
background-color: #444;
overflow-x: hidden;
transition: 0.5s;
padding-top: 0px;
z-index: 100;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
opacity: 0.8;
/*color: #fff;*/
}

.sidenav a,.dropdown-btn {
    padding: 6px 6px 6px 32px;
    text-decoration: none;
    /*font-size: 20px;*/
    /*color: #fff;*/
    display: block;
    transition: 0.5s;
    border-bottom: 1px solid #ddd;
    width: 100%;
    text-align: left;
    padding: 10px;
}

.sidenav a:hover, .dropdown-btn:hover {
    font-weight: bold;
    color: #5EC75E;
}

/* Add an active class to the active dropdown button */
.dropdown-btn-active {
    font-weight: bold;
    color: #5EC75E;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #f2f2f2;
  padding-left: 10px;
  padding-right: 10px;

}

.sticky {
position: fixed;
top: 0;
right:0;
width: 100%;
}

.sticky + .content {
padding-top: 60px;
}

.navbar {
  overflow: hidden;
  /*background-color: #5EC75E;*/ 
}

/*Header*/
.navbar a {
  float: left;
  font-size: 0.85em;/*14px;*/
  color: #fff;
  text-align: center;
  padding: 4px 12px;
  text-decoration: none;
}

.subnav {
  float: left;
  overflow: hidden;
}

.subnav .subnavbtn {
  font-size: 0.85em;/*14px;*/
  border: none;
  outline: none;
  color: #fff;
  padding: 4px 12px;
  background-color: inherit;
  font-family: inherit;
  transition: .3s ease-in-out;
}

.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: #2E3094;
  color: #5EC75E;
  /*border-bottom: 2px solid #5EC75E;*/
  /*border-top-left-radius: 8px;
  border-top-right-radius: 8px;*/
  /*border-radius: 50px;*/
}

.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  padding: 37px;
  padding-left: 100px;
  padding-right: 100px;
  background-color: #fff;
  width: 100%;
  z-index: 1;
  
}

.subnav-content a {
  float: left;
  color: #2E3094;
  text-decoration: none;
  /*font-size: 1em;*/
}

.subnav-content a:hover {
  background: none;
  color: #5EC75E;
  border-bottom: 2px solid #FFE84A;
  border-radius: 2px;
}

.subnav:hover .subnav-content {
  display: block;
  animation: fade-in 1.5s;
}
@keyframes fade-in {
  from {
    opacity: 0.8;
  }
  to {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# END: Top Bar and Side Bar
--------------------------------------------------------------*/

.container1 { 
background-color: #fff;
}

.container2 { 
background-color: #F0F8FF;
}

.containerGold { 
background-color: #5EC75E;
}

.containerBlue { 
background-color: #2E3094;
}

.containerLightBlue { 
background-color: #2196F3;
}

.containerDark { 
background-color: #444;
}

.containerCalcLeft { 
    background: url('../image/backgound/bg-med-left.jpg');
    /*background-image: linear-gradient(to bottom right,#F0F8FF,#eee);*/
    background-repeat: no-repeat;
    background-position: left;
    background-size: calc(55%) calc(100%);
}

.containerCalcRight { 
    background: url('../image/backgound/bg-med-right.jpg');
    /*background-image: linear-gradient(to bottom right, #F0F8FF, #eee);*/
    background-size: calc(50%) calc(100%);
    background-repeat: no-repeat;
    background-position: right;
    border-bottom-left-radius: 50px;
}

.containerCalcRightHide { 
    background: url('../image/backgound/bg-med-right.jpg');
    background-size: calc(55%) calc(100%);
    background-repeat: no-repeat;
    background-position: right;
}

.containerCalcPageLeft { 
    background-image: linear-gradient(to right,#2E3094,#2196F3);
    background-size: calc(30%) 45%;
    background-repeat: no-repeat;
}
.containerCalcPageLeftAll { 
    background: url('../image/backgound/cover_head_page_7.jpg');
    min-height: 360px;
    /*width: calc(100% - 100px);*/
    width: calc(100%);
    border-bottom-right-radius: 50px;
    background-repeat: no-repeat;
}
.containerCalcPageLeft100 { 
    background-image: linear-gradient(to right, #2E3094, #2196F3);
    /*background: url('../image/backgound/bg_page_top_2.jpg');
    min-height: 100px;
    width: calc(100% - 100px);*/
    border-bottom-right-radius: 50px;
    background-repeat: no-repeat;
}

.containerCalcPageLeftAcc { 
    background: url('../image/backgound/bg_page_top_4.jpg');
    min-height: 100px;
    width: calc(100% );
    border-bottom-right-radius: 50px;
}

.imgPageDesc{
    /*border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 50px;*/
    border-radius: 8px;
    width: 100%;
    height: auto;
    /*box-shadow: rgba(0,0,0,0.2) 0px 60px 30px -7px;*/
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px;
}

.containerLightGray { 
    background-color: #eee;
}

.containerGray { 
    background-image: linear-gradient(to bottom left,#eee,#F0F8FF);
}

.containerPaperWhite { 
    position: relative;
    font-size: 1rem;
    text-decoration: none;
    transition: all ease .5s;
    border:none;
    background-color: #fff;
    /*box-shadow: rgba(0,0,0,0.2) 0px 15px 30px -7px;*/
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px;
    border-radius: 4px;
    min-height: 400px;
}

.containerPaper { 
    position: relative;
    font-size: 1rem;
    text-decoration: none;
    transition: all ease .5s;
    border:none;
    background-color: #fff;
    /*box-shadow: rgba(0,0,0,0.5) 0px 60px 30px -7px;*/
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px;
    min-height: 400px;
    border-radius: 2px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*paper fold corner*/
.containerPaper:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-style: solid;
  border-width: 0 0px 0px 0;
  border-color: #ccc #eee;
  transition: all ease .5s;
}

/*on li hover make paper fold larger*/
.containerPaper:hover:before {
  border-width: 0 30px 30px 0;
  border-color: #ccc #eee;
}

.containerFoot { 
background-color: #2E3094;
color: #666;
font-size:14px;
}

.content50 {
padding: 50px;
text-align:center;
}

.content20 {
padding: 20px;
}

.content100 {
padding: 100px;
padding-top:50px;
padding-bottom:50px;
text-align:center;
}

.contentPaper {
padding-top:50px;
padding-bottom:50px;
padding-left: 200px;
padding-right: 200px;
text-align:center;
}

.content200 {
padding-top:50px;
padding-bottom:50px;
padding-left: 200px;
padding-right: 200px;
text-align:center;
}

.content300 {
padding-top:50px;
padding-bottom:50px;
padding-left: 300px;
padding-right: 300px;
text-align:center;
}

.contentHeadLeft{
width: 5rem;
background: #FFE84A;
height: 5px;
bottom: 0px;
border-radius: 4px;
/*left: 50%;
margin: 0 auto;
transform: translate(-50%, -50);*/
}

.contentHead{
width: 5rem;
background: #FFE84A;
height: 5px;
bottom: 0px;
left: 50%;
margin: 0 auto;
transform: translate(-50%, -50);
border-radius: 4px;
}

.contentTitle {
/*padding-left:200px;
padding-right:200px;
font-weight:bolder;*/
padding: 20px
}

.contentText {
text-align:left;
}

.btnTopPage {
display: none;
position: fixed;
bottom: 10px;
right: 10px;
z-index: 99;
font-size: 30px;
color: #5EC75E;
cursor: pointer;
padding: 10px;
border-radius: 50px;
opacity: 0.3;
}

.btnTopPage:hover {

opacity: 1;
}

blockquote {
/*font-family: Georgia, serif;*/
position: relative;
margin: 0.5em;
padding: 1.5em 2em 0.5em 2em;
font-size: 2.0vw;

}
/* Thanks: http://callmenick.com/post/styling-blockquotes-with-css-pseudo-classes */
blockquote:before {
font-family: Georgia, serif;
position: absolute;
font-size: 2.5em;
line-height: 1;
top: 0;
left: 0;
content: "\201C";
}
blockquote:after {
font-family: Georgia, serif;
position: absolute;
/* display: block; don't use this, it raised the quote too high from the bottom - defeated line-height? */
float:right;
font-size:2.5em;
line-height: 1;
right:0;
bottom:-0.5em;
content: "\201D";
}
blockquote footer {
padding: 0 2em 0 0;
text-align:right;
}
blockquote cite:before {
content: "\2013";
}

.hide-big {
  display: none;
}

.hide-small {
  display: block;
}

.copyright {
	text-align: left;
}

.credits {
	text-align: right;
}

/* Responsive layout 
    320px — 480px: Mobile devices
    481px — 768px: iPads, Tablets
    769px — 1024px: Small screens, laptops
    1025px — 1200px: Desktops, large screens
    1201px and more —  Extra large screens, TV
*/
@media screen and (max-width: 1920px) 
{
    .containerCalcPageLeft100,.containerCalcPageLeftAll { 
        width: calc(100%);
        border-radius: 0;
    }
}

@media screen and (max-width: 1200px) 
{
	
    .hide-big {
        display: block;
    }

    .hide-small {
        display: none;
    }

    .topnav {
        padding: 0px;
    }

    .topnav3 {
        display: block;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    }

    .topnav a, .topnav3 a {
        display:none;
    }

    .topnav a.icon, .topnav3 a.icon {
        display: block;
    }


    .header {
            /*padding: 7px;*/
    }

    .header2 {
        display:none;
    }

    .content50,.content20 {
        padding: 10px;
    }
    .contentPaper{
        padding: 0;
    }

    .content100, .content200 , .content300 {
        padding: 10px;
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .contentTitle {
        /*padding: 5px;*/
    }

    .copyright, .credits {
        text-align: center;
    }
    
    .containerCalcLeft, .containerCalcRight { 
        background-size: calc(100%) calc(100%);
        border-radius: 0px;
    }
    
    .containerCalcRightHide{
         background-size: calc(0%) calc(0%);
    }
    
    .containerCalcPageLeft { 
        background-size: calc(80%) 30%;
    }
    
    .containerCalcPageLeftAll { 
        /*width: calc(100% - 20px);*/
        width: calc(100%);
    }
    .containerCalcPageLeft100 { 
        width: calc(100%);
        border-radius: 0;
    }
    

}

@media screen and (max-width: 450px) 
{
    blockquote {
        font-size: 4vw;
    }

}


/*--------------------------------------------------------------
# Image
--------------------------------------------------------------*/
.containerImage {
position: relative;
text-align: center;
/*color: white;*/
}

.imgHeight600 {
height:auto;
width:100%;
object-fit:cover;
opacity:0.5;
}

.imgHeight500 {
width:100%;
height:500px;
object-fit:cover;
border-radius: 8px;
}

.imgHeight35 {
    width: auto;
    height: 35px;
    vertical-align: middle
}

.imgWidth100 {
    width:100%;
    height: auto;
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2);
} 

.imgListGrid {
    width:100%;
    height: 250px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.imgWidth50px {
    width: 50px;
    height: auto;
    vertical-align: middle;
}

.bottom-left {
position: absolute;
bottom: 10px;
left: 15px;
}

.bottom-right {
position: absolute;
bottom: 10px;
right: 15px;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered1 {
    position: absolute;
    top: 240px;
    left: 100px;
    font-size: 50px;
    font-weight: bold;
    color:#444;
    text-align:left;
}

.centered2 {
    position: absolute;
    top: 50%;/*300px;*/
    left: 0;
    font-size: 24px;
    color:#444;
    text-align:left;
    opacity:0.8;
}

.centered3 {
    position: absolute;
    top: 380px;
    left: 100px;
    font-size: 1rem;
    color:#444;
    text-align:left;
}

.top-center {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translate(-50%, -50%);
}

.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

.top-right {
  position: absolute;
  top: 8px;
  right: 12px;
}

.bottom-center {
    position: absolute;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, -50%);
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 5px;
}

.buttonAuto {
    border: 1px solid #ddd;
    background: #F0F8FF;
    width: 100%;
    text-align: center;
    padding: 10px;
}
.buttonAuto:hover {
    background-color:#2E3094;
    color: #fff;
}

.buttonAll {
    color: #5EC75E;
    font-size: initial;
    font-weight: normal;
}
.buttonAll:hover {
    color: #2E3094;
}
.buttonAll span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.3s;
}

.buttonAll span:after {
    content: '\203A';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.buttonAll:hover span {
    padding-right: 25px;
}

.buttonAll:hover span:after {
    opacity: 1;
    right: 0;
}

.button {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #2E3094;
    padding: 12px 32px;
    cursor: pointer;
    background: none;
    border:2px solid #2E3094;
    /*border-left: 3px solid #2E3094;
    border-right: 3px solid #2E3094;
    border-radius: 50px;
    font-weight: bold;*/
    border-radius: 50px;

    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px,rgba(0, 0, 0, 0.3) 0px 7px 13px -3px;
}

.button:hover {
    background-color:#2E3094;
    color: #fff;
}

.button.active {
    background-color: #2E3094;
    color: white;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button span:after {
    content: '\203A';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span:after {
    opacity: 1;
    right: 0;
}

.buttonWhite {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    /*color: #fff;*/
    padding: 12px 32px;
    cursor: pointer;
    background: #fff;
    border:2px solid #fff;
    /*border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    border-radius:50px;
    font-weight: bold;*/
    border-radius: 50px;

}

.buttonWhite:hover {
    background-color:#fff;
    color: #2E3094;

}

.buttonWhite span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.buttonWhite span:after {
    content: '\203A';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.buttonWhite:hover span {
    padding-right: 25px;
}

.buttonWhite:hover span:after {
    opacity: 1;
    right: 0;
}

.buttonOff {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    padding: 12px 32px;
    cursor: pointer;
    background-color: #5EC75E;
    border:2px solid #fff;
    /*border-left: 3px solid #5EC75E;
    border-right: 3px solid #5EC75E;
    border-radius:50px;
    font-weight: bold;*/
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px,rgba(0, 0, 0, 0.3) 0px 7px 13px -3px;
}

.buttonOff:hover {
    background: none;
    color: #5EC75E;
}

.buttonOff span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.buttonOff span:after {
    content: '\203A';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.buttonOff:hover span {
    padding-right: 25px;
}

.buttonOff:hover span:after {
    opacity: 1;
    right: 0;
}

.buttonDark {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    padding: 12px 32px;
    cursor: pointer;
    background-color: #2E3094;
    border:2px solid #fff;
    /*border-left: 3px solid #2E3094;
    border-right: 3px solid #2E3094;
    border-radius:50px;
    font-weight: bold;*/
    border-radius: 50px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 25px -20px,rgba(0, 0, 0, 0.3) 0px 7px 13px -3px;
}

.buttonDark:hover {
    background: #fff;
    color: #2E3094;
    border:2px solid #2E3094;
}

.buttonDark span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.buttonDark span:after {
    content: '\203A';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.buttonDark:hover span {
    padding-right: 25px;
}

.buttonDark:hover span:after {
    opacity: 1;
    right: 0;
}


.button2 {
    border: none;
    color: #666;
    padding: 12px 16px;
    cursor: pointer;
    background-color: #fff;
}

.button2:hover {
    color: #2E3094;
}

.button2.active2 {
    color: #2E3094;
    border-bottom:2px solid #2E3094;
    font-weight: bold;
}

.inputButton {
    width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 4px;
    border:1px solid #2E3094;
    background: #2E3094;
    color: #fff;
    margin-top: 2px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Kanit', sans-serif; 
}

.inputButton:hover{
    background: #fff;
    color: #2E3094;
}

.inputButtonWhite {
    width: 100%;
    height: 35px;
    padding: 5px;
    border-radius: 4px;
    border:1px solid #2E3094;
    background: #fff;
    color: #2E3094;
    margin-top: 2px;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Kanit', sans-serif; 
}

.inputButtonWhite:hover{
    background: #2E3094;
    color: #fff;
}

.textbox40 {
    width:100%;
    height: 40px;
}
.textbox50 {
    width:100%;
    height: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #eee;
    padding: 10px
}

.roundBoxShadow {
  /*background-color:#2E3094;*/
  text-align:center;
  width:60px;
  height:60px;
  padding-top:14px;
  /*margin:10px;*/
  border-radius:50px;
  color:#fff;
  box-shadow: 2px 2px 4px #fff;
}

/* Featured */
.containerFeatured {
position: relative;
width: 100%;
}

.imageFeatured {
width: 100%;
height: 300px;
border-radius: 8px;
box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2);
object-fit:cover;
}

.overlayFeatured {
position: absolute;
bottom: 5px;
left: 0;
right: 0;
background-color: #444;
overflow: hidden;
width: 100%;
height: 23.5%;
transition: .5s ease;
/*border-radius: 8px;*/
opacity: 0.8;
}

.containerFeatured:hover .overlayFeatured {
height: 50%;
}

.containerProduct {
  position: relative;
  width: 100%;
  cursor:default;
  padding-top:30px;
}

.imageProduct {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

.overlayProduct {
  position: absolute; 
  bottom: 0; 
  background: rgba( 0, 0, 0 , 0.7);
  color: #fff; 
  width: 100%;
  transition: .5s ease;
  opacity:0;
  font-size: 1rem;
  padding: 10px;
  text-align: center;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-transform:uppercase;
}

.containerProduct:hover .overlayProduct {
  opacity: 1;
}

.textFeatured {
color: #fff;
text-align: left;
padding:20px;
padding-top: 10px;
/*text-align:justify;*/

/*font-size: 20px;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);*/

}

/* Cards */
.card1 {
  /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
  padding: 15px;
  text-align: center;
  background-color: #f6f9fe;
  color: #2E3094;
  border-radius: 10px
}

.card1:hover {
  color: #0A91AB;
}

.card2 {
  padding: 20px;
  text-align: center;
  /*color: #0A91AB;*/
  border:1px solid #f6f9fe;
  border-radius: 8px;
  height:400px;
}

.card2:hover {
  color: #2E3094;
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.5);
  transition: .5s ease;
}

.card3 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
  border:1px solid #f6f9fe;
  border-radius: 8px;
}

.card4 {
  padding: 10px;
  text-align: center;
  /*color: #0A91AB;*/
  border:1px solid #ddd;
  border-radius: 8px;
  height:300px;
}

.card4:hover {
  color: #2E3094;
  border:1px solid #5EC75E;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);

}
	
.iconHover{
	/*background-color:#f6f9fe;
	border:1px solid #f6f9fe;
        border-radius: 8px;
	padding:10px;*/
        padding:20px 0 10px 0;
	color:#fff;
        cursor: pointer;
        background-image: linear-gradient(to top right,#fff,#444);
}
.iconHover:hover {
	background-color:#2E3094;
	border:1px solid #2E3094;
	color: #2E3094;
}

.iconHoverGold{
	color:#fff;
        background-color:#fff;
	border:1px solid #fff;
        cursor: pointer;
}
.iconHoverGold:hover {
	background-color:#5EC75E;
	border:1px solid #5EC75E;
        color:#5EC75E;
}

.textHover:hover{
    color: #2E3094;
}


@media screen and (max-width: 800px) 
{
	.imgHeight600 {
	  height:600px;
	  width:100%;
	}

	.imgHeight500 {
	  height:auto;
	}

	.imgWidth100 {
	  padding-bottom:15px;
	}
        
        .imgListGrid {
            height: 180px;
        }

	.centered1 {
	  left: 0;
	  padding: 15px;
	  padding-bottom:0px;
	  font-size: 26px;
	}

	.centered2 {
            top: 55%;
            left: 0;
            padding: 0;
            padding-top:0px;
            padding-bottom:0px;
            font-size: 16px;
	}

	.centered3 {
	  left: 0px;
	  padding: 15px;
	}

        .overlayFeatured {
            height: 23.5%;
            bottom: 5px;
        }

	.imageFeatured {
            height: 220px;
	}

	.textFeatured {
	  padding:10px;
	  padding-top:10px;
	  font-size:12px;
	}

	.card2 {
	  height:auto;
	}
	
	.containerProduct{
		padding-top:10px;
	}
	.button2 {
		padding: 4px 8px;
	}
        
        .iconHover{
                /*padding:0;*/
        }

}

/*--------------------------------------------------------------
# Image Slider
--------------------------------------------------------------*/
/*--- Auto Slider ---*/
.mySlides {
display: none
}

/* Slideshow container */
.slideshow-container {
position: relative;
margin: auto;
}

/* Next & previous buttons */
.prev, .next {
cursor: pointer;
position: absolute;
/*top: 50%; center position*/
bottom: 40px;
right: 50px;
width: auto;
padding: 10px;
/*margin-top: -22px;*/
color: #4a4a4a;
font-weight: bold;
font-size: 18px;
transition: 0.5s ease;
border-radius: 3px 0 0 3px;
/*user-select: none;*/
}

/* Position the "next button" to the right */
.next {
right: 15px;
border-radius: 0 3px 3px 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
/*background-color: rgba(0,0,0,0.8);
color: #2E3094;*/
}

.imgLogo {
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
border-radius:50px;
width:80px;
height:80px;
box-shadow: 0px 0px 0px 8px rgba(0,0,0,0.3);
background-color:#ddd;
padding:2px;
}

.textCom {
position: absolute;
top: 45%;
width: 100%;
text-align: center;
color: #fff;
font-weight: bolder;
}

.textTitle {
position: absolute;
top: 50%;
width: 100%;
text-align: center;
color: #ddd;
font-size: 1rem;
padding:10px;
}

/* Caption text */
.text {
position: absolute;
top: 70%;
width: 100%;
text-align: center;
/*font-style: italic;*/
padding-left:200px;
padding-right:200px;
}

.textTopLeft {
  position: absolute;
  top: 10%;
  text-align: center;
  padding-left:100px;
  font-size: 2vw;
}

.textBottomRight {
  position: absolute;
  top: 85%;
  right: 0;
  text-align: center;
  padding-right:100px;
}

.textBottomLeft {
  position: absolute;
  bottom: 0;
  left: 10px;
  text-align: left;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  border:1px solid #ddd;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.5s ease;
  cursor: pointer;
}

.activeDot, .dot:hover {
  background-color: #fff;
}


.imgSlideshow {
    width:100%;
    /*height: 500px;*/
    /*object-fit: cover;*/
    filter: brightness(90%);
}

.parallax {
    /*background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)) , url('../image/backgound/bg_concentrated.jpg');
    background-image: url('../image/backgound/bg_kayaking.jpg');*/
    background-image: linear-gradient(rgba(0, 0, 0, 0.1),rgba(0, 0, 0, 0.1)) , url('../image/backgound/green_560.jpg');

    /* Background Size */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    /* Set a specific height */
    min-height: 550px; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed; /*Not Working on ISO*/
    background-position: center;
    background-repeat: no-repeat;

}

/* Fading animation*/
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}

@-webkit-keyframes fade {
from {opacity: .8} 
to {opacity: 1}
}

@keyframes fade {
from {opacity: .8} 
to {opacity: 1}
}

.container-slider-pro {
position: relative;
}

/*--- Product Slider ---*/
.slider-pro {
display: flex;
max-height: auto;
overflow-y: hidden;
overflow-x: hidden;/*scroll !important;*/
padding: 0px;
/*transform: scroll(calc(var(--i,0)/var(--n)*-100%));*/
scroll-behavior: smooth;
}

.img-slider-pro {
height: 200px;
width: 250px;
margin: 0px;
border-radius: 8px;
transition: .5s ease-in-out;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
cursor:pointer;
/*object-fit:cover;*/
}

.control-prev-btn {
position: absolute;
top: 50%;
left: 0;
transform: translate(-50%, -50%);
background-color: rgba(255,255,255,0.55);
height: 50px;
line-height: 50px;
width: 50px;
text-align: center;
box-shadow: 0 1px 3px #888;
user-select: none;
color: #2E3094;
cursor: pointer;
border-radius: 50%;
}
.control-next-btn {
position: absolute;
top: 50%;
right: 0;
transform: translate(50%, -50%);
background-color: rgba(255,255,255,0.55);
height: 50px;
line-height: 50px;
width: 50px;
text-align: center;
box-shadow: 0 1px 3px #888;
user-select: none;
color: #2E3094;
cursor: pointer;
border-radius: 50%;
}
.control-prev-btn:hover,.control-next-btn:hover {
background-color: #0A91AB;
color: white;
opacity:0.8;
}

/* On smaller screens, decrease text size */
/*Full HD*/
@media only screen and (max-width: 1920px) {
    .textTopLeft {
        top:10%;
        padding-left:15px;
        /*left: 50%;
        transform: translate(-50%, -50%);*/
        font-size: 1.3vw;
        padding-left:100px;
    }
}


@media only screen and (max-width: 1170px) {
    .fontHead {
        font-size: 3vw;
    }
    .textTopLeft {
        top:10%;
        padding-left:15px;
        /*left: 50%;
        transform: translate(-50%, -50%);*/
        font-size: 2vw;
    }
}

@media only screen and (max-width: 600px) {
    /*.prev, .next,.text {font-size: 11px}*/
    /*.text{
	padding:0px;
	padding-left:20px;
	padding-right:20px;
    }*/
    .fontHead {
        font-size: 6vw;
    }
    .textTopLeft {
        top:22%;
        padding-left:15px;
        /*left: 50%;
        transform: translate(-50%, -50%);*/
        font-size: 4vw;
    }
    .textBottomRight {
        top: 80%;
        padding-right: 20px;
        /*left: 50%;
        transform: translate(-50%, -50%);*
        padding: 0;*/
    }
    /*.imgSlideshow {
        height: 200px;
    }*/
}

.control-prev-btn {
	transform: translate(-30%, -50%);
}
.control-next-btn {
	transform: translate(30%, -50%);
}

/*--------------------------------------------------------------
# Table Row Column
--------------------------------------------------------------*/

/* Table*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    /*border: 1px solid #ddd;*/
    background-color:#fff;
}

th, td {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even){background-color: #F0F8FF}

tr:hover {
    background-color: #eee;
    /*color: #2E3094;*/
}

.noHover {
    pointer-events: none;
}

td img {
    height: 50px;
    width: 100%;
}

/* Display Table */
/*เพิ่มใหม่
.row {
  display: -ms-flexbox; //IE10 
  display: flex;
  -ms-flex-wrap: wrap; //
  flex-wrap: wrap;
  padding: 0 4px;
}*/
.row:after {
  content: "";
  display: table;
  clear: both;
}
.column{
  float: left;
  padding: 15px;
}
.column-16,.column-16-50 {
  float: left;
  width: 16.66%;
  padding: 15px;
  cursor:pointer;
}
.column-16-33 {
  float: left;
  width: 16.66%;
  padding: 10px;
  cursor:pointer;
}
.column-20,.column-20-50 {
  float: left;
  width: 20%;
  padding: 15px;
  cursor:pointer;
}
.column-80 {
  float: left;
  width: 80%;
  padding: 15px;
  cursor:pointer;
}
.column-25,.column-25-50,.column-25-100 {
  float: left;
  width: 25%;
  padding: 15px;
  cursor:pointer;
}
.column-75 {
  float: left;
  width: 75%;
  padding: 15px;
  cursor:pointer;
}
.column-50,.column-50-50,.column-50-100 {
  float: left;
  width: 50%;
  padding: 15px;
  padding-bottom: 0;
  cursor:pointer;
}
.column-40 {
  float: left;
  width: 40%;
  padding: 10px;
  cursor:pointer;
}
.column-60 {
  float: left;
  width: 60%;
  padding: 10px;
  cursor:pointer;
}
.column-66,.column-66-50,.column-66-100 {
  float: left;
  width: 66.66666%;
  padding: 15px;
  cursor:pointer;
}
.column-33,.column-33-50,.column-33-100  {
  float: left;
  width: 33.33333%;
  padding: 15px;
  cursor:pointer;
}
.column-33-33 {
  float: left;
  width: 33.33333%;
  padding: 10px;
  cursor:pointer;
}

.column-100,.column-100-50 {
  float: left;
  width: 100%;
  padding: 15px;
  padding-bottom: 0;
  cursor:pointer;
}

.column-none {
  display: none;
}

.column-show {
  display: block;
}

.newspaper {
  column-count: 3;
  /*column-gap: 40px;
  column-rule: 1px solid lightblue;*/
}

.ul {
  list-style-type: none;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #fff;
  text-align: center;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  color: #444;
}

.ul:hover {
  color: #0A91AB;
}

.ul .header {
  background-color: #0A91AB;
  padding: 20px;
  color: #fff;
  font-weight:bolder;
}

.ul li {
  border-bottom: 1px solid #f6f9fe;
  padding: 5px;
  text-align: center;
  font-size: 1rem;
}

.ul .grey {
  background-color: #f6f9fe;
  padding: 20px;
  font-size: 20px;
  color: #2E3094;
}

.ul .advanced {
	width: 200px;
	position: absolute;
	top: 18px;
	right: -68px;
	transform: rotate(45deg);
	z-index: 1;
	font-size: 1rem;
	padding: 1px 0 3px 0;
	background: #2E3094;
	color: #fff;
}

.ul .na {
  color: #ccc;
  text-decoration: line-through;
}

/* Responsive layout 
    320px — 480px: Mobile devices
    481px — 768px: iPads, Tablets
    769px — 1024px: Small screens, laptops
    1025px — 1200px: Desktops, large screens
    1201px and more —  Extra large screens, TV
*/

/*Small screens, laptops*/
@media screen and (max-width: 1170px) {
    .column-16,.column-25,.column-50{
        width: 50%;
        padding: 5px;
        /*padding-bottom: 15px;*/
    }
    .column-16-33,.column-33,.column-33-33 {
      width: 50%;
      padding: 5px;
    }
    .column-16-50,.column-20-50,.column-25-50,.column-50-50,.column-100-50,.column-66-50,.column-33-50 {
        width: 50%;
        padding: 5px;
    }
    .column-100,.column-25-100,.column-50-100,.column-33-100,.column-66-100,.column-40,.column-60{
        width: 100%;
        padding: 5px;
    }
    
    
}

/*iPads, Tablets*/
@media screen and (max-width: 768px) {
    .column-16,.column-25,.column-50,.column-66,.column-33 {
          width: 50%;
          padding: 5px;
          /*padding-bottom: 15px;*/
    }
    .column-16-50,.column-20-50,.column-25-50,.column-50-50,.column-100-50,.column-66-50,.column-33-50 {
          width: 50%;
          padding: 5px;
    }
    .column-100,.column-25-100,.column-33-100,.column-66-100,.column-40,.column-60{
          width: 100%;
          padding: 5px;
    }
    th, td {
        padding: 5px;
        font-size: 0.5em;
    }

}

/*Mobile devices*/
@media screen and (max-width: 480px) {
    .column-16,.column-25,.column-50,.column-66,.column-33 {
          width: 100%;
          padding: 5px;
          /*padding-bottom: 15px;*/
    }
    .column-16-50,.column-20-50,.column-25-50,.column-50-50,.column-100-50 {
          width: 50%;
          padding: 5px;
    }
    .column-100,.column-25-100,.column-33-100,.column-66-100,.column-40,.column-60,.column-66-50,.column-33-50{
          width: 100%;
          padding: 5px;
    }
    th, td {
        padding: 5px;
        font-size: 0.5em;
    }
}



/*--------------------------------------------------------------
# Progress Bar 3 Column Layout
--------------------------------------------------------------*/
.side {
float: left;
width: 15%;
margin-top:10px;
font-size:14px;
font-weight:bolder;
}

.middle {
margin-top:10px;
float: left;
width: 70%;
}

/* Place text to the right */
.right {
text-align: right;
}

/* The bar container */
.bar-container {
width: 100%;
/*background-color: #5EC75E;*/
background-image: linear-gradient(to right,#2E3094,#2196F3);
text-align: center;
color: white;
font-size: 11px;
}

/* Individual bars */
.bar-100 {width: 100%; height: 14px; background-color: #2E3094;}
.bar-95 {width: 95%; height: 14px; background-color: #2E3094;}
.bar-90 {width: 90%; height: 14px; background-color: #2E3094;}
.bar-85 {width: 85%; height: 14px; background-color: #2E3094;}
.bar-80 {width: 80%; height: 14px; background-color: #2E3094;}
.bar-75 {width: 75%; height: 14px; background-color: #2E3094;}
.bar-70 {width: 70%; height: 14px; background-color: #2E3094;}
.bar-60 {width: 60%; height: 14px; background-color: #2E3094;}
.bar-50 {width: 50%; height: 14px; background-color: #2E3094;}
.bar-40 {width: 40%; height: 14px; background-color: #2E3094;}
.bar-30 {width: 30%; height: 14px; background-color: #2E3094;}
.bar-20 {width: 20%; height: 14px; background-color: #5EC75E;}
.bar-10 {width: 10%; height: 14px; background-color: #5EC75E;}

/* Responsive layout - make the columns stack on top of each other instead of next to each other */
@media (max-width: 800px) {
    .side, .middle {
        width: 90%;
        padding-top: 0px;
    }
    .right {
        width: 10%;
    }
}

/*--------------------------------------------------------------
# Acordion
--------------------------------------------------------------*/
.accordion {
  /*background-color: #f6f9fe;*/
  color: #444;
  cursor: pointer;
  padding-top: 15px;
  padding-bottom: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.3s;
}

.activeAcc, .accordion:hover {
  /*background-color: #ccc;*/ 
  color: #2E3094;
  border-bottom:1px solid #2E3094;
}

.panel {
  display: none;
  overflow: hidden;
  text-align: left;
  font-size: 1rem;
  line-height: 30px;
  padding-left:15px;
  padding-top:15px;
}

.accordionMenu {
  cursor: pointer;
  padding-bottom: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  border-radius: 8px;
  border: 1px solid #2E3094;
  color: #5EC75E;
  padding: 15px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
}

.activeAccMenu, .accordionMenu:hover {
  color: #fff;
  /*border-bottom:1px solid #2196F3;*/
  background: #5EC75E;
  /*font-weight: bold;*/
  border: none;
}

.accordionMenu:after {
   /*font-family: 'FontAwesome'; V.4*/
  font-family: 'Font Awesome 5 Free';
  content: "\f107";/*'\002B';*/
  color: #5EC75E;
  font-weight: bold;
  font-size: 1rem;
  /*margin-left: 5px;*/
  float:  right;

}

.activeAccMenu:after {
  content: "\f106";/*"\2212";*/
  color: #fff;
}

.panelMenu {
  font-size:100%;
  text-align:left;
  /*text-indent: 10px;*/
  letter-spacing: 0;
  /*line-height: 30px;*/
  margin: 5px;
  /*margin-left: 10px;
  margin-right: 10px;*/
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  /*padding-left: 5px;
  padding-right: 5px;*/
  /*box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);*/
}

.accordion2 {
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  padding: 20px;
  font-size: 1.2em;
  /*border-radius: 8px;
  border: 1px solid #2E3094;
  color: #2E3094;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 9px, rgba(0, 0, 0, 0.1) 0px 3px 3px;*/
  border-bottom: 2px solid #2E3094;
  transition: 0.5s;
}

.activeAcc2, .accordion2:hover {
  color: #fff;
  background: #2E3094;
  /*
    border-bottom:1px solid #2E3094;
  font-weight: bold;
  border: none;*/
  transition: 0.5s;

}

.accordion2:after {
  /*font-family: 'FontAwesome'; V.4*/
  font-family: 'Font Awesome 5 Free';
  content: "\f107";/*'\002B';*/
  color: #2E3094;
  font-weight: bold;
  font-size: 1rem;
  /*margin-left: 5px;*/
  float:  right;

}

.activeAcc2:after {
  content: "\f106";/*"\2212";*/
  color: #fff;
}

.panel2 {
  font-size:100%;
  text-align:left;
  /*text-indent: 10px;*/
  /*letter-spacing: 0.5px;*/
  /*line-height: 30px;*/
  /*margin-left: 10px;
  margin-right: 10px;*/
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  /*background: #F0F8FF;
  padding-left: 10px;
  padding-right: 10px;*/
  /*box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);*/
}

.imgAccordion{
    height: 50px;
    width: 100px;
    vertical-align: middle;
    object-fit: cover;
}

.imgAccordion2{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    border:1px solid #fff;
    border-radius: 50px;
    background: #fff;
}

.btnAccordion2 {
    background: green;
    color: #fff;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.accordion22 {
  cursor: pointer;
  padding-bottom: 10px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;

}

.activeAcc22,.accordion22:hover {
  color: #2E3094;
  border-bottom: 3px solid #2E3094;
}

.activeAcc22:after {
  color: #2E3094;
}

.panel22 {
  /*font-size:15px;*/
  text-align:left;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/*--------------------------------------------------------------
# Dropdown
--------------------------------------------------------------*/
.dropdownHome {
    padding: 15px;
    border:1px solid #fff;
    border-radius: 50px;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    background: none;
    color: #5EC75E;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    float: left;
}

.dropdownHome:hover {
    background: #fff;
    color: #2E3094;
}

/*--------------------------------------------------------------
# Tab : Style tab links
--------------------------------------------------------------*/
.tablink {
    font-family: 'Kanit', sans-serif;
    background-color: #666;
    color: #fff;
    float: left;
    border: none;
    border-bottom: 4px solid #5EC75E;
    /*border-top-left-radius: 8px;
    border-top-right-radius: 8px;*/
    outline: none;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 2vw;
    opacity:1;
}

.tablink:hover {
    opacity:0.8;
}

.tabcontent {
    display: none;
    /*padding: 80px 20px;*/
    height: 100%;
}

@media (max-width: 800px) {
  /*.tabcontent {
    padding: 50px 5px;
  }*/
  .tablink {
        padding: 15px 0px;
        font-size: inherit;
  }
  
  .accordion2 {
    padding: 10px;
    font-size: 1em;
  }


}

/*--------------------------------------------------------------
# Pagination  : Table
--------------------------------------------------------------*/
.pagination a {
    float: left;
    padding: 4px 12px;
    text-decoration: none;
    border-radius: 2px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    transition: background-color .5s;
    color: #5EC75E;
}

.pagination a.activePage {
    background: #5EC75E;
    color: #fff;
}

.pagination a:hover:not(.activePage) {
    background: #ddd;
}

/*--------------------------------------------------------------
# Tooltip : Text,Image
--------------------------------------------------------------*/
/* Tooltip Text */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 5px ;
  position: absolute;
  z-index: 999;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.5s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* Tooltip Image */
.tooltipimage {
  visibility: hidden;
  position: absolute;
  width: 400px;
  top: 120%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
  filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.161));
}

.tooltipLeft {
  left: 0;
}

.tooltipRight {
  right: -160%;
}

.tooltip:hover .tooltipimage {
  visibility: visible;
  opacity: 1;
}

.imgScaleUp{
    /*width: 100%;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;*/
}
.imgScaleUp:hover{
    -ms-transform: scale(1.01); 
    -webkit-transform: scale(1.01); 
    transform: scale(1.01);
    transition: 0.3s;
}
.imgScaleDown{
    /*width: 100%;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 1px, rgba(0, 0, 0, 0.07) 0px 2px 2px, rgba(0, 0, 0, 0.07) 0px 4px 4px, rgba(0, 0, 0, 0.07) 0px 8px 8px, rgba(0, 0, 0, 0.07) 0px 16px 16px;*/
    box-shadow: rgba(0, 0, 0, 0.5) 0px 30px 28px -20px,rgba(0, 0, 0, 0.3) 0px 7px 13px -3px;
    margin: 12px;margin-bottom: 50px;
}
.imgScaleDown:hover{
    -ms-transform: scale(0.99); 
    -webkit-transform: scale(0.99); 
    transform: scale(0.99);
    transition: 0.3s;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px;
}

.imgMoveUp:hover{
    transition: all .5s;
    transform : translateY(-5px);
}

.imgMoveDown:hover{
    transition: all .5s;
    transform : translateY(5px);
}

@media screen and (max-width: 800px) 
{
    .tooltip .tooltipimage {
        width: 300px;
    }
}

/*--------------------------------------------------------------
# Star Rate : border,color change
--------------------------------------------------------------*/
.checked {
  color: orange;
}
.borderChange {
  animation: border-change 5s infinite;
}

@keyframes border-change {
  0% { border: 2px solid #5EC75E; }
  50% { border: 2px solid #2E3094; }
}

.colorChange {
  animation: color-change 3s infinite;
}

@keyframes color-change {
  0% { color: #fff; }
  50% { color: orange; }
}

/*--------------------------------------------------------------
# Checkbox : 
--------------------------------------------------------------*/
/* The container */
.containerCheckbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.containerCheckbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background: #ddd;
}

/* On mouse-over, add a grey background color */
.containerCheckbox:hover input ~ .checkmark {
  background: #ccc;
}

/* When the checkbox is checked, add a blue background */
.containerCheckbox input:checked ~ .checkmark {
  background: #2E3094;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.containerCheckbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.containerCheckbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*--------------------------------------------------------------
# VDO : Responsive Iframe 
--------------------------------------------------------------*/
.container-vdo {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  border-radius: 8px;
  /*border-bottom-left-radius: 50px;
  border-top-right-radius: 0;*/
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media screen and (max-width: 800px) 
{
    .container-vdo {
        border-radius: 8px;
    }
}

/*--------------------------------------------------------------
# More Text : span
--------------------------------------------------------------*/
#moreText {display: none;}

/*--------------------------------------------------------------
# Google : Chart
--------------------------------------------------------------*/
.chartBig {
    width: 100%; 
    min-height: 500px;
}
.chartSmall {
    width: 100%; 
    min-height: 300px;
}
@media screen and (max-width: 800px) {
    .chartBig,.chartSmall {
        width: 100%; 
        min-height: 300px;
    }
}

/*--------------------------------------------------------------
# Print : 
--------------------------------------------------------------*/
.inputTextDot {
    width: auto;
    height: 20px;
    padding: 4px;
    border: none;
    border-bottom: 2px dotted #444;
    margin: 0;
    background: none;
    /*font-size: 14px;*/
    font-family: 'Kanit', sans-serif; 
}

input[type=radio] {
    padding: 0.5em;
    /*-webkit-appearance: none;
    appearance: none;*/
    outline: 0.1em solid #444;
    outline-offset: 0.2em;
    margin-top: 5px;
    margin-bottom: 5px;
}

input[type=radio]:checked {
    display: inline-block;
    background-color: #D49B54;
}


.tableORG tr{
    background: #fff;
}

.tableORG td,.tableORG th{
    width:16.66%;
    border:1px solid #fff;
    padding: 5px;
}

#printable { 
    display: block; 
    padding: 200px;
    padding-top: 50px;
    padding-bottom: 30px;
    font-size: 14px;
}

@media print 
{ 
     #non-printable { display: none; } 
     #printable { 
         display: block;
         padding: 2px;
         font-size: 14px;
     } 

    .inputTextDot {
        border-bottom: 1px dotted #444;
    }

} 
@media screen and (max-width: 800px) 
{
    #printable { 
        padding: 5px;
    } 
}

/*--------------------------------------------------------------
# Cursor : ให้อยู่ด้านล่างสุดเสมอ
--------------------------------------------------------------*/
.cursorDefault{
  cursor: default;
}

.cursorPointer{
  cursor: pointer;
}

