@font-face {
    font-family: 'MuangthaicapModern-Medium';
    src: url("../fonts/MuangthaicapModern-Medium.ttf");
}
  
@font-face {
    font-family: 'MuangthaicapModern-Regular';
    src: url("../fonts/MuangthaicapModern-Regular.ttf");
}

@font-face {
    font-family: 'MuangthaicapText-Regular';
    src: url("../fonts/MuangthaicapText-Regular.ttf");
}

@font-face {
    font-family: 'MuangthaicapText-Medium';
    src: url("../fonts/MuangthaicapText-Medium.ttf");
}

@font-face {
    font-family: 'MuangthaicapModern-Blod';
    src: url("../fonts/MuangthaicapModern-Bold.ttf");
}

@media (min-width: 900px){

* {
    margin:0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
}

#wrapper {
    overflow-x: hidden;
}

/* menu */
.menu_bar {
    color: #221f20;
    font-size: 0.875;
    position: fixed;
    width: 100%;
    z-index: 10;
    font-family: 'MuangthaicapModern-Medium';
    font-weight: lighter;
    background-color: white;
    transition: top 0.3s;
    box-shadow: 0 4px 8px #00000035;
    
}
          
nav {
    padding-top: 1.18rem ;
    position: sticky;
    background: #ffffff;
    margin-left: 205px;
    margin-right: 205px;
}

.header-top {
    position: relative;
    display: flex;
}

.header-top-block1{
    position: absolute;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-top a {
    text-decoration: none;
    color: #221f20;
}

.box-main-org {
    width: 15px;
    height: 10px;
    color: #221f20;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 30px;
    background-color: #e9f5fb;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-out;
    min-width: 150px;
    min-height: 35px;
    outline: 5px solid white
}

.box-main-org:hover{
    background-color: #294049;
    outline: 5px solid  #c0e9ff;
}


a .all{
    display: flex;
    align-items: center;
}


.img-go-org {
    width: 16px;
    height: 16px;
}

.box-main-org p {
    margin-left: 5px;
}

.box-main-org:hover .img-go-org {
    filter: invert(100%) brightness(100%);
}

.box-main-org:hover p {
    color: white;
}

nav ul {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
}

nav ul li {
    display: inline-block;
    line-height: 50px;
}

nav ul li a {
    color: #221f20;
    font-size: 0.875rem;
    text-decoration: none;
}

#invis {
    display: none;
}

nav ul li a:not(.nothover):hover{
    background: #ffffff;
    transition: 0.5s;
    color: #00a2e5;
}

.running-underline {
    position: relative;
    text-decoration: none;
}

.running-underline::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00a2e5; /* สีของเส้นใต้ */
    bottom: -14px;
    left: 0;
    transition: all 0.5s ease; /* เพิ่ม transition เพื่อให้มีการเคลื่อนไหวเนื่องจากความเร็วที่กำหนด */
}

.running-underline:hover::before {
    width: 100%;
    background-color: #00a2e5;
}

.checkbtn {
    margin-top: -8px;
    color: white;
    float: right;
    line-height: 60px;
    margin-right: 40px;
    cursor:pointer;
}

.logo{
    width: 50%;
    margin-left: 25%;
    text-align: center;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}
.image-resize {
    margin-top: -6px;   
}  

.icon-bar {
    display: none;
}

.close-menu {
    display: none;
}

#check {
    display: none;
}
  
.white-box {
    background-color: rgb(255, 255, 255) ;
    text-align: center;
    margin-left: 205px;
    margin-right: 205px;
    padding-top: 170px;
    padding-bottom: 100px;
    text-decoration: none;
}

.header {
    color: #221f20;
    font-family: 'MuangthaicapModern-Medium';
    font-weight: 500;
    font-size: 2.5rem;
}

.line-box{
    background-color: #00a2e5;
    border-radius: 4px;
    justify-content: center;
    width: 100%;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    padding: 0.5rem 0;
    margin-top: 15px;
}

.line-box  a {
    text-decoration: none;
    color: #fff;
    font-size: 0.875rem;
    font-family: 'MuangthaicapText-Regular'; 
}

.yellow2{
    color: yellow;
    padding: 0 5px 0 5px;
}

.contact {
    padding-top: 50px;
    display: flex;
}

#bd {
    width:50%;
    border-radius: 10px;
    
}


.address3 {
    width: 100%;
    padding: 0 0 0 50px;
}

.ad1 {
    width: fit-content;
    padding: 0 20px;
    background-color: rgb(244, 244, 67);
    font-size: 1.5rem;
    border-radius: 10px;
    font-family: 'MuangthaicapModern-Medium';
    color: #221f20;
    text-align: center;
}

.ad1 p {
    padding-top: 10px;
    padding-bottom: 8px;
}

.ad2 {
    display: flex;
    margin-top: 20px;
}

.ad2 p {
    font-size: 0.875rem;
    font-family: 'Muangthaicaptext-Regular';
    color: #221f20;
    padding-left: 10px;
    font-size: 1rem;
    font-family: 'Muangthaicaptext-Regular';
    color: #221f20;
    padding-left: 10px;
}

.ad3  {
    display: flex;
    margin-top: 20px;
}

.ad3 p {
    font-size: 1rem;
    font-family: 'Muangthaicaptext-Regular';
    color: #221f20;
    padding-left: 10px;
    margin-top: -5px;

}

.map {
    width: 100%;
    padding-top: 30px;
    display: flex;
    padding-bottom: 30px;
}

.map1 {
    padding: 0 0 0 50px;
    text-align: left
    ;
}

.ad12 {
    width: 225px;
    background-color: rgb(244, 244, 67);
    font-size: 1.5rem;
    border-radius: 10px;
    font-family: 'MuangthaicapModern-Medium';
    color: #221f20;
    text-align: center;
}

.map iframe {
    width: 50%;
    border-radius: 10px;
}

.add-flex{
    text-align: left;
    width: 50vw;
    line-height: 1vw;
}

.text {
    margin-top: -2vw;  
}

.lang-th {
    width: 1.5vw;
    margin-right: 0.2vw;
}

.footer{
    padding-left: 205px;
    padding-right: 205px;
    background-color: #00a2e5;
    position: relative;
    
}

.top-inform{
    display: flex;
    width: 100%;
    padding-top: 45px;
    justify-content: space-between;
}

.col1{
    font-family: 'Muangthaicaptext-Regular';
    color: #fff;
}

.footer-header1 {
    font-family: 'MuangthaicapModern-Medium';
    font-size: 1.4375rem;
}

.member p{
    font-size: 1rem;
    margin-top: 15px;
}

.button-member{
    text-decoration: none;
    color: #00a2e5;
    font-size: 0.875rem;
    font-family: 'Muangthaicaptext-Medium';
}
.bm-content{
    margin-top: 15px;
    border-radius: 30px;
    width: 210px;
    padding: 8px;
    display: flex;
    background-color: #fff;
    align-items: center;
    justify-content: space-around;
}

.arrow-right-img {
    width: 20%;
}

.followme{
    font-family: 'Muangthaicaptext-Medium';
    font-weight: 600;
    margin-top: 25px;
    font-size: 0.875rem;
}

.button-followme{
    display: flex;
    flex-direction: row;
    margin-top: 8px;
}

.youtube {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.facebook {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-left: 10px;
}

.youtube-img{
    width: 34%;
}

.col2{
    margin-left: -7vw;
}

.col2 ul{
    font-family: 'Muangthaicaptext-Regular';
    list-style: none;
    color: #fff;
    font-size: 0.875rem;
    line-height:2.1rem;
    text-decoration: none;
}

.col2 ul li a:visited {
    color: white;
}

.col3{
    color: #fff;
    font-family: 'Muangthaicaptext-Regular';
}
.col3 .address-header{
    font-family: 'Muangthaicaptext-Medium';
    margin-top: 10px;
    font-size: 0.875rem;
    font-weight: 600;
}

.location {
    font-size: 0.875rem;
    margin-top: 5px;
}

.location ul{
    list-style: none;
}

.location ul li a{
    text-decoration: none;
    color: white;
    font-size: 0.875rem;
}

.location ul li a:visited{
    color: white;
}

.line1 {
    margin-top: 10px;
    width: 100%;
    border-top: 1px solid yellow;
}
.tel-text{
    font-family: 'Muangthaicaptext-Medium';
}

.tel-number{
    font-size: 0.875rem;
    font-family: 'Muangthaicaptext-Regular';
    font-weight: 400;
}

.bottom-inform{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    font-family: 'Muangthaicaptext-Regular';
    color: white;
    padding-top: 45px;
    padding-bottom: 45px;
}

.text-inform2{
    width:600px;
    display: flex;
    justify-content: space-between;
}

.text-inform2 a{
    color: #fff;
    
}

.yellow{
    color: yellow;
}

.running-underline2 {
    position: relative;
    text-decoration: none;
  }

  .running-underline2::before {
    content: "";
    position: absolute;
    width: 0px;
    height: 1px;
    background-color: #ffffff; /* สีของเส้นใต้ */
    bottom: -8px;
    left: 0;
    transition: all 0.5s ease; /* เพิ่ม transition เพื่อให้มีการเคลื่อนไหวเนื่องจากความเร็วที่กำหนด */
  }

  .running-underline2:hover::before {
    width: 250px;
    background-color: #ffffff;
  }

}



