
@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100..700&display=swap');



body {
    font-family: "Anuphan", sans-serif;
    text-align: center;
    margin: auto;
    height: 100%;
    max-width: 1200px;
    font-size: 16px;
}

.w_box_90{
    width: 90%;
    margin: auto;
}
.w_box_80{
    width: 80%;
    margin: auto;
}

.w_box_95{
    width: 95%;
    margin: auto;
}
.width_30{
    width: 30%;
    margin: auto;
}
a {
    text-decoration: none;
    color: black;
}

.box_footer{
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: left;
    font-size: 16px;
    background-color: #cce0ff;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    z-index: 99;
    color: #000;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;

}

.menu .box_nenu{
    top: 10;
    left: 0;
    text-align: left;
    margin-top: 25px;
    border-radius: 50px;
    padding-top: 17px;
    padding-bottom: 17px;
    height: 35px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 5px;
    background-color: #fff;
    color: black;
    z-index: 98;
    background-color: #cce0ff


}
.menu .bt{
    margin-top: 7px;
    width: 14.28%;
    float: left;
    text-align: center;
}

.menu img{
    margin-top: -15px;
}
.p_l_15{
    padding-left: 25px;
}

.t_l{
    text-align: left;
}
.t_r{
    text-align: right;
}
.f_c_w{
    color: #fff;
}
.f_s_18{
    font-size: 18px;
}
.f_s_14{
    font-size: 14px;
}
.f_s_20{
    font-size: 20px;
}
.f_s_25{
    font-size: 25px;
}
.f_s_30{
    font-size: 30px;
}
.f_s_50{
    font-size: 50px;
}
.f_w_300{
    font-weight: 300;
}
.f_l_1{
    line-height: 1.6;
}

.slides .mySlides {display: none}
img {vertical-align: middle;}


.slides .slideshow-container {
  max-width: 100%;
  margin: auto;
  border-radius: 50px;
}

.slides img{
    border-radius: 25px;
}

.slides .prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.slides .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slides .prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


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

.slides .active, .dot:hover {
  background-color: #717171;
}

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

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

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}


.box_news_1 {
    width: 48%;
    float: left;
    margin-right: 2%;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
}
.box_profile {
    width: 200px;
    float: left;
    margin-right: 2%;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
}
.box_profile2 {
    width: 180px;
    float: left;
    margin-right: 2%;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
}
.m_r_3p{
    margin-right: 3%;
}
.m_l_3p{
    margin-left: 3%;
}

li{
    padding-top: 10px;
}

.box_news_3 {
    width: 31%;
    float: left;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
}


.box_news_1_l {
    width: 50%;
    float: left;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.box_news_1_l2 {
    width: 100%;
    float: left;
    border-radius: 25px;
    padding-bottom: 0px;
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.bg_shadow_g {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 5px;
}

.image-container {
    width: 100%;
    height: 250px; /* 50% ของความสูงหน้าจอ */
    overflow: hidden; /* ตัดส่วนเกินของรูปภาพ */
    position: relative;
}

  .image-container2 {
    width: 100%;
    height: 175px; /* 50% ของความสูงหน้าจอ */
    overflow: hidden; /* ตัดส่วนเกินของรูปภาพ */
    position: relative;
  }

  .image-container2 img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
  }



.image-container img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

.image-container3 {
    width: auto;
    height: 100px; /* 50% ของความสูงหน้าจอ */
    overflow: hidden; /* ตัดส่วนเกินของรูปภาพ */
    position: relative;
    margin-right: 15px;
}
.image-container3 img {
    width: auto;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
}

.image-container4 {
    width: 100%;
    height: 250px; /* 50% ของความสูงหน้าจอ */
    overflow: hidden; /* ตัดส่วนเกินของรูปภาพ */
    position: relative;
    margin-right: 15px;
}
.image-container4 img {
    width: 100%;
    height: 250px;
    position: absolute;
    top: 0;
    left: 0;
}


.img_news{
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;

}

.img_news_2{
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;

}

.img_news_3{

    border-radius: 25px;

}


.w_img_new{
    width: 30%;
    float: left;
}
.w_img_new2{
    width: 15%;
    float: left;
}
.row_2:after {
    content: "";
    display: table;
    clear: both;
}


.login .box {
    
    margin-top: 10%;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 20px;
    width: 550px;
    background-color: #FFF;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    border-radius: 15px;
    margin: auto;

}
.login .box2 {
    
    margin-top: 10%;
    padding: 50px;
    padding-top: 40px;
    padding-bottom: 20px;
    width: 550px;
    background-color: #ebf3ff;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    border-radius: 15px;
    margin: auto;

}

.login .w_75 {
    width: 75%;
}

.login input[type=text] {
    width: 98%;
    height: 35px;
    font-size: 16px;
    padding-left: 2%;
    background: transparent;
    color: #3D7DDB;
    border: 0px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #dadada;
    background-color: #f4f4f4;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    font-family: "Anuphan", sans-serif;
}

.login input[type=text]:focus {
    outline: none;
    box-shadow: rgba(164, 209, 255, 0.475) 0px 3px 3px;
    background-color: #fff;

}

.login input[type=password] {
    width: 98%;
    height: 35px;
    font-size: 16px;
    padding-left: 2%;
    background: transparent;
    color: #3D7DDB;
    border: 0px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #dadada;
    background-color: #f4f4f4;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    font-family: "Anuphan", sans-serif;
}
.login input[type=password]:focus {
    outline: none;
    box-shadow: rgba(164, 209, 255, 0.475) 0px 3px 3px;
    background-color: #fff;
}

 ::-webkit-input-placeholder {
    color: #bbbbbb;
    font-weight: 300;
}


.login input[type=submit] {
    margin-top: 25px;
    width: 40%;
    height: 40px;
    font-size: 16px;
    background-color: #3D7DDB;
    border: 0px;
    margin-bottom: 20px;
    border-radius: 25px;
    color: #FFF;
    border: 1px solid #dadada;
    font-family: "Anuphan", sans-serif;
}

.login input[type=submit]:hover {
    outline: none;
    color: #3D7DDB;
    border: 1px solid #3D7DDB;
    background: #FFF;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 5px;
}

input[type="file"]::file-selector-button { 
    background: #3D7DDB;
    color: white;
    border: 1px solid #3D7DDB;
    border-radius: 10px;
    padding: 0.5rem 3rem;
}

.image-container6 {
    width: 200px;
    height : 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
  }
  


  .bt_1 {
    padding: 2px;
    padding-left: 15px;
    padding-right: 15px;
    background-color: #fff;
    border-radius: 50px;
    font-family: "Anuphan", sans-serif;
    border: 1px solid #3D7DDB;
    color: #3D7DDB;
    text-align: center;
    float: left;
    font-weight: 300;
    margin-right: 5px;
}

.img2 {
    border-radius: 50%;
}

.b_4{

    width: 23%;
    float: left;
    padding: 1%;
}
.b_1{
    
    width: 25%;
    margin: auto;
}
.b_2{
    
    width: 50%;
    margin: auto;
    float: left;
}
.hid2 {
    display: none;
}

.hid3 {
    display: block;
}

@media screen and (max-width:480px) {
    .hid2 {
        display: block;
    }
    .hid3 {
        display: none;
    }
    body {
        max-width: 100%;
        font-size: 12px;
    }
    .f_s_30{
        font-size: 20px;
    }
    .f_s_25{
        font-size: 16px;
    }
    .f_s_20{
        font-size: 16px;
    }
    .f_s_14{
        font-size: 10px;
    }
    .f_m{
        font-size: 10px;
    }
    .f_m_i{
        font-size: 16px;
    }
    .box_news_1 {
        width: 100%;
        margin-right: 2%;
        padding-bottom: -10px;
        margin-bottom: 5%;
    }
    .box_news_1_l {
        width: 100%;
        margin-right: 2%;
        padding-bottom: -10px;
        margin-bottom: 5%;
    }
    .box_news_3 {
        width: 100%;
        margin-right: 2%;
        padding-bottom: -10px;
        margin-bottom: 5%;
    }
    .w_img_new2{
        width: 35%;
        float: left;
    }
    .box_footer{
        font-size: 8px;
    
    }
    .b_4{

        width: 48%;
        float: left;
        padding: 1%;
    }
    .b_1{
        width: 100%;
    }
    .width_30{
        width: 100%;
        margin: auto;
    }
    .login .box {
    
        margin-top: 10%;
        padding: 15px;
        padding-top: 40px;
        padding-bottom: 20px;
        width: 80%;
        margin: auto;
    
    }
}