@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: 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;
    }

    /* section1 */
    .banner {
        margin-top: 60px;
        height: 100vh;
        width: 100%;
        background-image: url("/sustainability/img/bgtest.png");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right;
        position: relative;
    }

    .header-info {
        display: flex;
        justify-content: center;
    }

    .header-title {
        margin-top: 130px;
        font-family: 'MuangthaicapModern-Medium';
        color: white;
        font-size: 3rem;
        text-align: center;
    }

    ::-webkit-scrollbar {
        width: 9px;
        /* กำหนดความกว้างของ scrollbar */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #00a2e5;
        /* สีของ thumb (ตำแหน่งที่ใช้เลื่อน) */
    }

    ::-webkit-scrollbar-track {
        background-color: #c4ebfb;
        /* สีของ track (พื้นหลังของ scrollbar) */
    }

    /* section2 */
    .sus-index {
        width: 100%;
        background-color: #fff;
        position: relative;
        padding-bottom: 96px;
    }

    .sus-overall {
        margin-left: 205px;
        margin-right: 205px;
        margin-top: 50px;
        text-align: center;
    }


    .sus-header {
        font-size: 2.5rem;
        color: #221f20;
        text-align: center;
        font-family: 'MuangthaicapModern-Medium';
    }

    .bar-sus-overall {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        column-gap: 5%;
        padding: 10px 0 10px 0;
        font-size: 1.125rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #4d4d4f;
    }

    .bar-sus-overall a {
        padding-bottom: 10px;
        color: #4d4d4f;
        border-bottom: 3px solid #00a2e5;
        /* text-decoration: underline;
    text-decoration-color: #00a2e5;
    text-decoration-thickness: 2px; */
    }

    .sus-bar {
        text-align: center;
        margin-top: 10px;
        display: flex;
        font-size: 1.125rem;
        font-family: 'Muangthaicaptext-Regular';
        color: #4d4d4f;
        font-weight: lighter;
    }


    .wrapper {
        margin-top: 110px;
        margin-left: 205px;
        margin-right: 205px;
        display: flex;
        justify-content: space-between;
        font-family: 'MuangthaicapText-Medium';
    }

    .card1 {
        background-color: #dcffd2;
        width: 31.5%;
        height: auto;
        position: relative;
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
        padding-bottom: 30px;
    }

    .resize-piccard {
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
        border: 5px solid #e6ffe6ec;
    }

    .e-header {
        padding-top: 10px;
        text-align: center;
        font-size: 1.4375rem;
        color: #221f20;
        font-family: 'MuangthaicapModern-Medium';
    }

    .e-con {
        width: 90%;
        margin-top: 10px;
        margin-left: 5%;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
        font-size: 0.875rem;
        text-align: center;
    }

    .pic-card {
        width: 100%;
        z-index: 4;
        border-radius: 100%;
        margin-top: -5vw;
        text-align: center;
    }

    .btn img.aa {
        width: 10%;
        /* ควบคุมตามความกว้างของรูปภาพต้นฉบับ */
        height: auto;
        background-color: #00a2e5;
        border-radius: 100%;
        border: 10px solid #00a2e5;
        margin-left: 45%;
        margin-top: 30px;
    }

    .card2 {
        background-color: #ffedd3f1;
        width: 31.5%;
        height: auto;
        position: relative;
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
        padding-bottom: 30px;
    }

    .card2 .pic-card {
        width: 100%;
        z-index: 4;
        border-radius: 100%;
        margin-top: -5vw;
        text-align: center;
    }

    .card2 .resize-piccard {
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
        border: 5px solid #ffedd3f1;
    }


    .card3 {
        background-color: #e7f8ffec;
        width: 31.5%;
        height: auto;
        position: relative;
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
        padding-bottom: 30px;
    }

    .card3 .pic-card {
        width: 100%;
        z-index: 4;
        border-radius: 100%;
        margin-top: -5vw;
        text-align: center;
    }

    .card3 .resize-piccard {
        width: 10vw;
        height: 10vw;
        border-radius: 50%;
        border: 5px solid #e7f8ffec;
    }




    /*section3*/
    .sss {
        position: relative;
        background-image: url(/sustainability/img/result-new.png);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left;
        padding-left: 100px;
        padding-right: 100px;
        padding-bottom: 30px;
    }

    .right::-webkit-scrollbar {
        width: 5px;
        /* ปรับขนาดของ scrollbar สำหรับ WebKit browsers (Chrome, Safari, etc.) */
    }

    .result-header {
        font-size: 2.5rem;
        color: #221f20;
        padding-top: 30px;
        font-family: 'MuangthaicapModern-Medium';
        text-align: center;
    }

    .inner {
        display: grid;
        grid-template-columns: 32% 32% 32%;
        column-gap: 2%;
    }

    #gs22 {
        font-weight: bold;
        font-size: 1.8rem;
        color: #00d0ff;
        text-align: right;
    }

    .inner-box2 {
        margin-top: 15px;
        width: 100%;
        padding: 20px;
        background-color: #ffffffdc;
        font-family: 'MuangthaicapModern-Regular';
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
        text-align: center;
    }

    .inner-box3 {
        display: grid;
        grid-template-columns: 50% 50%;
        margin-top: 30px;
    }

    .inner-box4 {
        display: grid;
        grid-template-columns: 50% 50%;
        margin-top: 30px;
    }

    .inner-box5 {
        display: grid;
        grid-template-columns: 49% 49%;
        column-gap: 2%;
    }

    .box1 {
        border-right: 2px dashed rgb(248, 226, 102);
    }

    .box2 {
        margin-top: 30px;
    }

    .box3 {
        margin-top: 30px;
    }

    .box4 {
        border-right: 2px dashed rgb(248, 226, 102);
        margin-top: 30px;
    }

    .box5 {
        margin-top: 30px;
    }


    .pg1 {
        width: 100%;
    }

    .pg2 {
        width: 100%;
    }

    .pg3 {
        width: 80%;
    }

    .pg4 {
        width: 100%;
    }

    .pg5 {
        width: 70%;
    }

    .pg6 {
        width: 65%;
    }

    .pg7 {
        width: 95%;
    }

    .pg8 {
        width: 102%;
    }

    .ib2-head {
        font-size: 1.4375rem;
        font-weight: bold;
        color: #221f20;
        text-align: center;
    }

    .s-show1 {
        display: grid;
        grid-template-columns: auto auto auto;
        font-family: 'Muangthaicaptext-Regular';
        align-items: baseline;
    }

    #ss11 {
        font-size: 1rem;
    }

    #ss12 {
        font-size: 1.8rem;
        font-weight: bold;
        color: #ffa837;
    }

    #ss13 {
        font-size: 1rem;
        text-align: right;
    }

    #more-text {
        font-size: 0.875rem;
        color: #05fc1e;
    }

    .s-show2 {
        display: flex;
        margin-left: 30px;
        font-family: 'Muangthaicaptext-Regular';
    }

    #ss21 {
        margin-top: 17px;
        font-size: 1rem;
    }

    #ss21-hidden {
        margin-left: 5px;
        margin-right: 10px;
        font-size: 1rem;
        margin-top: 17px;
    }

    #ss22 {
        font-weight: bold;
        font-size: 1.8rem;
        color: #FF9900;
    }

    #ss23 {
        margin-top: 17px;
        margin-left: 10px;
        font-size: 1rem;
    }

    .es-show-all {
        display: flex;
        padding-bottom: 5px;
    }

    #es2 {
        font-weight: bold;
        font-size: 1.8rem;
        color: #05fc1e;
    }


    #text-e {
        color: #05fc1e;
    }


    /*section4*/

    .csr-block {
        position: relative;
    }

    .csr-header {
        text-align: center;
        padding-top: 100px;
        font-size: 2.5rem;
        color: #221f20;
        font-family: 'MuangthaicapModern-Medium';
    }

    .csr-index {
        display: flex;
        /* background-color: rgb(250, 182, 182)!important; */
        align-items: center;
        justify-content: center;
        padding-bottom: 100px;
        padding-left: 205px;
        padding-right: 205px;
    }

    .container {
        width: 100%;
        overflow: hidden;
    }

    .slide-container {
        margin: 50px 10px;
    }

    .slide-container.mobile {
        display: none;
    }

    .card {
        background-color: white;
        border-radius: 10px;
        border: 1px solid rgb(192, 192, 192);
        box-shadow: 0 4px 8px #00000026;
    }

    .card .image-box {
        height: 15vw;
    }

    .card .image-box img {
        width: 100%;
        height: 100%;
        border-radius: 10px 10px 0 0;
    }

    .card .img-content {
        width: 90%;
        margin-left: 5%;
        display: flex;
        flex-direction: column;

    }

    .date {
        padding-top: 0.8vw;
        padding-bottom: 0.3vw;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
        text-align: left;
        font-size: 0.875rem;
    }


    .name {
        font-family: 'MuangthaicapModern-Regular';
        text-align: left;
        font-size: 1.3rem;
        width: 90%;
    }

    .description {
        padding-top: 0.8vw;
        padding-bottom: 0.8vw;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
        text-align: left;
        font-size: 1vw;
    }

    .button1 {
        font-family: 'MuangthaicapText-Medium';
        font-size: 1vw;
        display: flex;
        width: 8vw;
        color: #00a2e5;
        margin-top: 0.5vw;
        margin-bottom: 25px;
    }

    .button {
        font-family: 'MuangthaicapText-Medium';
        font-size: 1vw;
        display: flex;
        width: 8vw;
        color: #00a2e5;
        margin-bottom: 25px;
    }

    .right-arrow {
        width: 22%;
        margin-left: 0.5vw;
    }

    .swiper-navBtn {
        color: #00a2e5;
        background-color: #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .swipper-navBtn::before,
    .swipper-navBtn::after {
        font-size: 18px;
    }

    /* section-5 awards */
    .awards {
        padding-left: 205px;
        padding-right: 205px;
        text-align: center;
    }

    .aws-header {
        margin-top: 2vw;
        font-size: 2.5rem;
        color: #221f20;
        font-family: 'MuangthaicapModern-Medium';
    }


    .img-aws {
        width: 80%;
        padding-bottom: 50px;

    }

    .langg {
        display: flex;
    }

    .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;
        font-size: 0.875rem;
        line-height: 2.1rem;
        color: white;

    }

    .col12 ul li a {
        color: white;
        text-decoration: none;
    }

    .col2 ul li a:visited {
        color: white;
    }

    .col12 ul li a:active {
        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: centerfont-sizpi;
        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;
    }

    #company-info {
        color: inherit;
        text-decoration: none;
    }

    .box-alert {
        font-family: 'Muangthaicaptext-Regular';
        font-size: 1rem;
        padding: 10px;
        border-radius: 10px;
        background-color: rgb(239, 239, 238);
        box-shadow: 0 4px 8px #00000026;
        z-index: 10;
        position: fixed;
        top: 120px;
        right: 5px;
        color: #4d4d4f;
    }

    .text-alert {
        color: #4d4d4f;
        text-align: center;
    }

    .close {
        position: absolute;
        color: #4d4d4f;
        /* สีของไอคอนปุ่ม close */
        font-size: 20px;
        /* ขนาดของไอคอนปุ่ม close */
        font-weight: bold;
        /* ความหนาของไอคอนปุ่ม close */
        margin-left: 215px;
        margin-top: -10px;
        cursor: pointer;
    }

    .close:hover {
        color: #f00;
        /* เปลี่ยนสีเมื่อมีการเม้าส์ชี้ */
    }

}