@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;
    }

    ::-webkit-scrollbar {
        width: 9px;
        /* กำหนดความกว้างของ scrollbar */
    }

    ::-webkit-scrollbar-thumb {
        background-color: #00a2e5;
        /* สีของ thumb (ตำแหน่งที่ใช้เลื่อน) */
    }

    ::-webkit-scrollbar-track {
        background-color: #c4ebfb;
        /* สีของ track (พื้นหลังของ scrollbar) */
    }


    .content-box {
        width: 100%;
        padding: 0 205px 0 205px;
    }

    .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 {
        width: 100%;
        padding-bottom: 96px;
    }

    .content-1 {
        width: 100%;
        margin-top: 30px;
        text-align: center;
        /* align-items: center; */
    }

    .indent {
        text-indent: 25px;
    }

    .content-2{
        width: 100%;
        display: grid;
        grid-template-columns: 60% 40%;
    }

    .content-3{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 2px solid #a4ff5e;
        background-color: #EEFEE2;
        border-radius: 10px;
        padding: 20px;
    }

    .con2{
        border-right: 2px solid green;
        padding-right: 30px;
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .oil-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 20px;
    }

    .oil-info-g {
        display: grid;
        grid-template-rows: 35% 1fr;
        justify-items: center;
        row-gap: 15px;
    }
    
    .oil-info-g2 {
        display: grid;
        grid-template-rows: 35% 1fr;
        justify-items: center;
    }

    #oil-info-t{
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        padding: 10px;        
    }

    .oil-image {
        width: 45px;
    }

    table {
        width: 100%;
        color: #10aa22;
        border-collapse: collapse;
        font-size: 0.85vw;
    }

    tr:nth-child(even) {
        background-color: #ddffe1; /* สีพื้นหลังของแถวที่เป็นเลขคู่ */
    }
    
    tr:nth-child(odd) {
        background-color: #ffffff; /* สีพื้นหลังของแถวที่เป็นเลขคี่ */
    }

    .ps {
        font-size: 0.8rem;
        /* margin-top: ; */
    }

    #margin-result {
        margin-top: 3vw;
    }

    .result-info {
        width: 100%;
        padding: 10px 0px 0px 30px;
        align-items: center;
        border-radius: 10px;
        
    }

    .result-goal {
        width: 100%;
    }

    .result-style{
        margin-top: 20px;
        width: 100%;
        display: grid;
        grid-template-columns: 40% 1% auto;
        padding: 30px 20px 30px 0px;
        border-radius: 10px;
        box-shadow: 0 4px 8px #00000014;
        background-color: #d6f3d9;

    }

    .box-img-top{
        display: flex;
        justify-content:center;
        width: 100%;
        margin-top: 20px;
        /* justify-items: end; */
        /* height: fit-content; */
    }

    .result-goal2 {
        width: 100%;
        padding-left: 15px;
    }

    .lg-con{
        width: 100%;
        flex-wrap: wrap;
        padding-right: 15px;
    }

    .goal-head {
        width: 100%;
        font-size: 1.4735rem;
        text-align: right;
        font-family: 'MuangthaicapModern-Medium';
    }

    .goal-head2 {
        width: 100%;
        font-size: 1.4735rem;
        text-align: left;
        font-family: 'MuangthaicapModern-Medium';
    }

    .goal-content {
        text-align: right;
        width: 100%;
        color: #6f6b6b;
        font-family: 'MuangthaicapText-Regular';
        font-size: 1rem;
    }

    .goal-content2 {
        text-align: left;
        color: #6f6b6b;
        font-size: 1rem;
        font-family: 'MuangthaicapText-Regular';
    }
    
    .number-goal {
        width: 100%;
        text-align: right;
        font-size: 2.5rem;
        color: #10aa22;
        font-family: 'MuangthaicapModern-Medium';
    }

    .line-goal-result {
        height: 100%;
        border-right: 2px solid rgb(12, 162, 17);
        padding-left: 5px;
        /* padding: 0px; */
        /* margin: 0 10px 0 10px; */
    }

    .goal-content3 {
        font-size: 1.5vw;
        color: #10aa22;
    }

    #unit {
        font-size: 0.875rem;
        color: #3f3e3e;
        font-family: 'MuangthaicapText-Medium';
    }

    .line-result {
        width: 90%;
        border: 0.05vw solid rgb(12, 162, 17);
        margin-top: 0.5vw;
    }

    .result-flex {
        display: flex;
        align-items: center;
    }

    .high-up {
        line-height: 0.6vw;
        font-size: 2vw;
        color: #6f6b6b;
        margin-top: 0.7vw;
    }

    #up {
        color: #FF0000;
    }

    #down {
        color: #009900;
    }

    .abr {
        font-size: 0.8rem;
        text-align: center;
        font-family: 'MuangthaicapText-Medium';
        color: #6f6b6b;
    }

    .half {
        display: grid;
        grid-template-columns: 49% 49%;
        column-gap: 2%;
    }

    .high-down {
        line-height: 0.6vw;
        font-size: 2vw;
        color: #6f6b6b;
        margin-bottom: 0.8vw;
    }

    .number4 {
        font-size: 1.3rem;
        color: #10aa22;
        margin-left: 5px;
        font-family: 'MuangthaicapModern-Medium';
        
    }

    #unit2 {
        font-size: 1.2rem;
        color: #444343;
        font-family: 'MuangthaicapText-Medium';
    }

    #number5 {
        color: #10aa22;
        font-size: 1.2rem;
        font-family: 'MuangthaicapModern-Medium';
    }

    #detail {
        font-size: 0.8vw;
    }

    #text-detail{
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #6c6c6c;
    }

    #text-ps{
        font-size: 0.7rem;
        font-family: 'MuangthaicapText-Regular';
        color: #4d4d4f;
    }

    .content-4{
        width: 100%;
        display: grid;
        grid-template-columns: 50% 50%;
        padding: 20px 0px 20px 0px;
    }

    .content-waste{
        width: 100%;
        display: grid;
        grid-template-columns: 49% 49%;
        column-gap: 2%;
        padding: 20px 0px 0px 10px;
    }

    .box-content-4{
        width: 100%;
        padding-top: 30px;
    }

    .content-bottom{
        width: 100%;
        padding-bottom: 96px;
    }

    .col-info{
        width: 100%;
        display: grid;
        grid-template-columns: 10% auto;
        row-gap: 30px;
        line-height: 20px;
    }

    .col-info-waste{
        width: 100%;
        display: grid;
        grid-template-columns: 25% auto;
        column-gap: 15px;
        line-height: 20px;
        text-align: justify;
        /* text-indent: 10%; */
        /* padding: 10px; */
    }

    .box-img{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        align-items: center;
    }

    .box-img5 {
        text-align: center;

    }

    .c-pic {
        width: 350px;
    }

    .box-waste{
        display: flex;
        flex-direction: row;
        padding: 20px 20px 96px 20px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    .box-waste-2{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 20px 20px 0px 20px;
        align-items: center;
        /* justify-content: center; */
        width: 100%;
    }

    .content-bottom{
        width: 100%;
        padding-bottom: 96px;
    }

    .header-content-1{
        font-size: 1.475rem;
        font-family: 'MuangthaicapModern-Medium';
        text-align: left;
        color: #221f20;
    }

    .header-content-2 {
        font-size: 1.275rem;
        font-family: 'MuangthaicapModern-Medium';
        text-align: left;
    }

    #hcon-1{
        text-align: center;
    }
    #hcon-2{
        text-align: center;
        padding-bottom: 20px;
    }
    #hcon-3{
        padding: 10px 0;
    }

    #hcon-4{
        text-align: left;
    }

    .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{
        width: 100%;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
        padding-left: 30px;
        /* text-indent: 5%; */
        color: #4d4d4f;
        text-align: justify;
    }

    .titletext{
        width: 100%;
        text-align: justify;
        margin: 15px 0px 20px 0px;
        font-size: 0.875rem;
        color: #6c6c6c;
        font-family: 'MuangthaicapText-Regular';
        /* text-indent: 5rem; */
    }

    .titletext-2{
        width: 100%;
        margin: 20px 0px 20px 0px;
        font-size: 1rem;
        color: #4d4d4f;
        font-family: 'MuangthaicapText-Regular';
        line-height: 35px;
        padding-left: 15px;
    }
    
    .oil-info-2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        /* margin-top: 1vw; */
        margin-top: 20px;
    }

    #oil-info-t{
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        padding: 10px;        
    }

    #co2-con {
        font-weight: bold;
        font-size: 0.85vw;
        color: #414141;
    }
    

    .img-con{
        display: flex;
        padding:10px;
        width: 100%;
        justify-content: center;
    }
    .con-oil-con {
        margin-left: 10px;
        font-family: 'MuangthaicapText-Regular';
        font-size: 0.875rem;
    }

    .img-award{
        width: 100%;
    }

    .img-content-2{
        width: 80%;
    }
    .img-content-3{
        width: 50%;
    }

    .co2-img {
        width: 100%;
        padding: 10px;
     }
     .co3-img{
        /* display: flex; */
        width: 15%;
        /* justify-items: center; */
    }


    /* table */

    table {
        width: 100%;
        border-collapse: collapse;
        margin: 15px 0px 30px 0px;
      }
  
      th, td {
        /* border: 1px solid #ddd; */
        text-align: left;
      }

      .tr-top {
        font-weight: bold;
        border-bottom: solid 2px #0a9c16;
      }
  
      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 black;
      }

      #td-htext{
        text-align: center;
        font-size: 1rem;
        font-family: 'MuangthaicapModern-Medium';
        color: white;
        background-color: #009900;
      }
      
      #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';
    }



      td{
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #009900;
      }

      .td-top{
        font-size: 0.875rem;
        font-family: 'MuangthaicapText-Regular';
        color: #009900;
      }

      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;
    }

    #company-info {
        color: inherit;
        text-decoration: none;
      }


}