@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;
    }

    .header2 {
        font-size: 1.3rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #221f20;
        padding-top: 30px;
    }

    .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;
    }

    ::-webkit-scrollbar {
        width: 9px;
        /* กำหนดความกว้างของ scrollbar */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #00a2e5;
        /* สีของ thumb (ตำแหน่งที่ใช้เลื่อน) */
    }

    ::-webkit-scrollbar-track {
        background-color: #c4ebfb;
        /* สีของ track (พื้นหลังของ scrollbar) */
    }

    .g-resize2 {
        width: 450px;
    }

    /* templete gird for ผลการประเมินความเสี่ยงคู่ค้า ในปี 2568 */
    .content-grid-risk {
        display: grid;
        grid-template-columns: 450px 1fr;
        gap: 1.5rem;
        align-items: start;
        margin: 20px 0;
        align-items: start;
    }
    
    .grid-col-image img {
        width: 100%;
        height: auto;
        border-radius: 0.5rem;
    }

    .grid-col-text .titletext5 {
        margin-bottom: 0.5rem;
    }

    .grid-col-text p {
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

    .text-content-desc {
        width: 100%;
        max-width: 800px;

    }

    .text-content-desc>.indent-note {
        text-align: start;
        margin-top: 1rem;
    }

    .indent-note {
        text-indent: 0;        
        padding-left: 1.5rem;  
        box-sizing: border-box;
        line-height: 1.5;
    }

    /* END */

    .content-box {
        width: 100%;
        padding: 0 205px 0 205px;
    }

    .indent {
        text-indent: 25px;
    }

    .header-topp {
        padding-top: 168px;
        text-align: center;
        font-size: 2.5rem;
        font-weight: 500;
        color: #221f20;
        font-family: 'MuangthaicapModern-Medium';

    }

    .line-box {
        background-color: #00a2e5;
        border-radius: 4px;
        text-align: 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';
    }

    .line-box a {
        text-decoration: none;
        color: #fff;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    .yellow {
        color: yellow;
    }

    .yellow2 {
        color: yellow;
        padding: 0 5px 0 5px;
    }

    .content-col-r {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 0 130px;
        text-align: center;
    }

    .content-img {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        width: 100%;
    }

    /* container-main */
    /* c5 c4*/

    .content {
        width: 100%;
        margin-bottom: 96px;
    }

    /* container-main */

    .content-1 {
        width: 100%;
        text-align: center;
    }

    .content-2 {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        align-items: center;
    }

    .content-6 {
        width: 100%;
        align-items: center;
    }

    .content-3 {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 2px solid #a4ff5e;
        background-color: #EEFEE2;
        border-radius: 10px;
    }

    .content-4 {
        width: 100%;
        display: grid;
        grid-template-columns: 40% auto;
    }

    /* c5 */
    .content-5 {
        width: 100%;
        display: grid;
        grid-template-columns: 50% 50%;
    }

    #col-5 {
        column-gap: 30px;
    }

    /* c5 c4*/
    .content-w100 {
        width: 100%;
        /* padding-right: 20px; */
    }

    /* table c3 */
    /* .content-10 */


    .content-table {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding-bottom: 20px;
        padding-top: 15px;
        justify-items: center;
    }

    .content-list-incol {
        width: 90%;
        padding: 20px 60px 20px 60px;
        border: 2px dashed rgb(223, 94, 14);
        border-radius: 10px;
        background-color: #FFF2CC;
    }

    .content-list-incol2 {
        width: 90%;
        padding: 20px 60px 20px 60px;
        border: 2px dashed #00a2e5;
        border-radius: 10px;
        background-color: #e7f8ffec;
    }

    .content-list-incol ol li {
        list-style: disc;
        padding: 5px 0;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    /* flex-content */
    /* c3 */
    .content-flex {
        display: flex;
        width: 100%;
        flex-direction: row;
        /* justify-items: center; */
    }

    .content-flex-2 {
        display: flex;
        width: 100%;
        flex-direction: row;
    }

    .box-conflex {
        width: 100%;
        padding: 15px 40px 0px 40px;
        text-align: center;
    }

    .box-conflex p {
        color: #6c6c6c;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    /* flex-content */


    .content-left {
        display: grid;
        grid-template-rows: auto auto;
        width: 100%;
        align-items: center;
        padding-right: 15px;
        justify-items: center;
    }

    .content-list-2col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        /* padding-left: 20px; */
    }

    .content-icon-col {
        width: 100%;
        align-items: center;
        text-align: center;
        color: #6c6c6c;
        font-size: 1rem;
        font-family: 'MuangthaicapText-Regular';
    }

    .content-icon-col-8 {
        margin-top: 10px;
        display: grid;
        grid-template-columns: auto 10%;
        width: 60%;
        align-items: center;
        color: #6c6c6c;
    }

    .underline {
        text-decoration: underline solid #C45911;
    }

    .content-icon-col-5 {
        display: grid;
        grid-template-rows: 80px auto;
        row-gap: 2%;
        width: 100%;
        align-items: center;
        justify-items: center;
    }

    .content-icon-col-3 {
        display: grid;
        grid-template-columns: 15% auto;
        width: 100%;
        margin-top: 20px;
    }

    .content-icon-col-3 span {
        color: rgb(0, 90, 194);
    }

    .content-icon-col-3 p {
        padding-left: 20px;
        line-height: 25px;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
    }

    .content-icon-col-2 {
        display: grid;
        grid-template-columns: 50px 50% 10%;
        width: 100%;
        align-items: center;
    }



    .content-6 ol li {
        text-align: left;
        padding-left: 10px;
        line-height: 25px;
        font-size: 1rem;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;

    }

    .content-6 ol {
        text-align: left;
        padding-left: 15px;
    }




    .content-list-incol2 ol li {
        list-style: disc;
        padding: 10px 0;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #6c6c6c;
    }


    /* c5 */
    .header-content-1 {
        font-size: 1.475rem;
        font-family: 'MuangthaicapModern-Medium';
        padding-top: 30px;
        text-align: left;
    }

    .header-content-2 {
        margin-top: 15px;
        font-size: 1.4rem;
        font-family: 'MuangthaicapText-Medium';
        text-align: left;
        color: #221f20;
    }

    .header-content-2 span {
        font-size: 1.475rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #C45911;
    }

    /* id container */
    /* id container */
    /* id container */

    #section-line {
        padding-top: 20px;
    }

    #padding-top {
        padding-top: 30px;
    }

    /* text */
    /* text */
    /* text */

    /* c5 */
    #list-padding {
        margin-left: 15px;
    }

    #textcenter {
        text-align: center;
    }

    #subheader-inbox {
        padding: 10px 0px 15px 0px;
        text-align: left;
        font-family: 'MuangthaicapText-Regular';
        font-size: 1.25rem;

    }

    #subheader-inbox2 {
        padding: 10px 0px 0 0px;
        text-align: left;
        font-family: 'MuangthaicapText-Regular';
        font-size: 1.2rem;
        color: #FE8D00;

    }

    #subheader-inbox3 {
        padding: 10px 0px 0 0px;
        text-align: left;
        font-family: 'MuangthaicapText-Regular';
        font-size: 1.2rem;
        color: #00a2e5;

    }

    #text-l {
        text-align: left;
    }

    /* c5 */
    #subheader {
        font-size: 1rem;
        padding-top: 15px;
    }

    #text-side {
        padding-right: 20px;
    }

    #t-col {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        padding-right: 20px;
    }

    #unit-col {
        font-size: 1.2rem;
        color: #C45911;
        font-family: 'MuangthaicapModern-Medium';
    }

    .head-content {
        width: 15%;
        font-family: 'MuangthaicapModern-Medium';
        /* border: 2px solid black; */
        /* padding: 15px 0px 25px 0px; */
        color: #00a2e5;
        font-size: 1.2rem;
        text-align: left;
    }

    .col-content {
        display: grid;
        grid-template-columns: 15% 1fr;
        /* row-gap: 30px; */
        width: 100%;
        align-items: center;
        /* padding-bottom: 20px; */
    }

    .text-content-1 {
        width: 100%;
        /* padding: 0px 50px; */
    }

    .text-content {
        width: 100%;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #4d4d4f;
        text-align: justify;
    }

    .titletext {
        width: 100%;
        text-align: justify;
        font-size: 0.875rem;
        color: #6c6c6c;
        font-family: 'MuangthaicapText-Regular';

    }

    .titletext5 {
        width: 100%;
        text-align: justify;
        font-size: 0.875rem;
        color: #6c6c6c;
        font-family: 'MuangthaicapText-Regular';
        margin-top: 15px;

    }

    .titletext ol li {
        list-style: disc;
        padding: 5px 0;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    .titletext-3 {
        width: 100%;
        text-align: justify;
        font-size: 0.875rem;
        color: #6c6c6c;
        font-family: 'MuangthaicapText-Regular';
        padding-top: 15px;
    }

    .titletext-3 .order ol {
        list-style-type: decimal;
        padding-left: 20px;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    .titletext-3 .order ol li {
        list-style-type: decimal;
        padding: 5px;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    .titletext-2 {
        width: 100%;
        font-size: 1rem;
        color: #4d4d4f;
        font-family: 'MuangthaicapText-Regular';
        padding-top: 10px;
    }

    .titletext-2 ol {
        padding-top: 10px;
        padding-left: 20px;
        font-size: 0.875rem;
        color: #6c6c6c;
    }

    /* c5 */
    .img-con {
        display: grid;
        padding: 10px;
        width: 100%;
        align-items: center;
        justify-items: center;
    }

    /* c5 */
    .img-award {
        width: 400px;
    }

    .img-award2 {
        width: 800px;
        margin-top: 20px;
    }


    .img-award3 {
        width: 80%;
        border-radius: 10px;

    }

    .img01 {
        width: 100px;
    }

    .pic-s {
        text-align: center;
        width: 100%;
    }

    .pic-s2 {
        text-align: left;
        width: 100%;
    }

    .img-content-1 {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
    }

    .img-content-50 {
        width: 100px;
    }

    .img-content-3 {
        width: 100px;
    }

    .img-content {
        margin-top: 20px;
        width: 500px;
    }

    .img-content2 {
        margin-top: 20px;
        width: 750px;
    }

    .img-content3 {
        padding: 30px 0 30px 0;
        width: 700px;
    }

    .img-content4 {
        width: 400px;
    }

    .img-content5 {
        width: 450px;
        padding-top: 20px;
    }

    .img-award4 {
        width: 650px;
        padding: 20px;
    }

    .img-award5 {
        width: 750px;
        padding-top: 20px;
    }

    .img-award6 {
        width: 150px;
    }


    .orange {
        color: #FE8D00;
        font-weight: bold;
    }

    /* .img-content-4 */
    .img-content-70 {
        margin-top: 15px;
        width: 60%;
    }

    /* .img-content-2  */
    .img-content-80 {
        width: 80%;
    }

    .img-content-100 {
        width: 350px;
        padding-top: 40px;
    }

    #img-border {
        border-radius: 10px;
    }

    .pic-s {
        width: 100%;
        text-align: center;
    }




    /* table */

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 30px 0px 0px 0px;
    }

    th,
    td {
        /* border: 1px solid #ddd; */
        padding: 10px;
        text-align: center;
        /* text-wrap: nowrap; */
    }

    th {
        background-color: #f2f2f2;
    }

    th[colspan="2"] {
        text-align: center;
    }

    td.row-span {
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        width: 10px;
        text-align: center;
        background-color: #00a2e5;
    }

    #th-r1 {
        background-color: white;
    }

    #tb1 {
        border-bottom: 2px solid red;
    }

    #bdb-row {
        border-bottom: 1px solid #896B14;
    }

    #bdb-right {
        border-right: 1px solid #896B14;
    }

    #bdb-left {
        border-left: 1px solid #896B14;
    }

    .th-head {
        text-align: center;
        font-size: 1rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #896B14;
        background-color: #FFF2CC;
        /* border-right: 1px solid #896B14; */
    }

    #td-htext {
        text-align: center;
        font-size: 1rem;
        font-family: 'MuangthaicapModern-Medium';
        color: #896B14;
        background-color: #FFF2CC;
    }

    #td-htext1 {
        text-align: center;
        font-size: 1rem;
        font-family: 'MuangthaicapModern-Medium';
        color: white;
        border-bottom: 1px solid black;
        background-color: #009900;
    }

    #td-ttext {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    #td-ttext-1 {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        text-align: center;
        border-bottom: 1px solid black;
    }

    #td-ttext-2 {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        text-align: center;
        /* border-bottom: 1px solid black; */
    }

    #td-color1 {
        background-color: #E2EFD9;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    #td-color2 {
        background-color: #C5E0B3;
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
    }

    #tb-textleft {
        text-align: left;
    }

    td {
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
    }

    td ol {
        /* color: red; */
        padding-left: 15px;
        line-height: 40px;
    }

    td ol li {
        /* color: red; */
        list-style: disc;
    }




    /* //////////////////////////////////// */




    .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-decoration: none; */
    }

    .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;
    }

    .gridtrain {
        display: grid;
        grid-template-columns: 50% 50%;
        text-align: left;
    }

    .gridtrain2 {
        display: grid;
        grid-template-columns: 50% 50%;
        text-align: center;
    }

    .grid50 {
        display: grid;
        grid-template-columns: 49% 49%;
        column-gap: 2%;
    }

    #company-info {
        color: inherit;
        text-decoration: none;
    }
}