﻿.list-star {
    font-size: 13px;
    color: #000;
    font-weight: 600;
    padding-bottom: 7px;
}
.list-star:before {
    content: "★";
    margin-right: 6px;
    color: #E26102;
}
.list-star-sub {
    font-size: 13px;
    color: #424242;
    font-weight: 500;
    padding-bottom: 5px;
}
.list-star-sub:before {
    content: "➜";
    margin-right: 6px;
    color: #424242;
    margin-left: 30px;
}

a.fontsubhead-blue,
a.fontsubhead-blue:link,
a.fontsubhead-blue:hover,
a.fontsubhead-blue:visited,
.fontsubhead-blue > span {
    color: #000;
}

.esg > .fontsubhead-blue {
    margin: 15px;
}

.k-grid-content { overflow-y: hidden !important; }
 .txt-tab{ font-size: 15px;font-weight: 600;  padding-left: 12px;}
    .color-all {color:#1a869f !important;}
   .color-green{color: #007d38 !important;}
   .color-yellow{color: #694900 !important;}
   .color-blue{color: #003265 !important;}
   .color-dark-green {color:#3db600 !important;}
   .color-pink{color: #663366 !important;}
   .color-org {color: #eb8833 !important;}
   .color-ranktab {color: #2390dd !important;}
   .txt01{color: #663366 !important; font-style: italic; }
   .bg-yellow-light{ background-color: #fffcd9 !important;}
   .bg-blue-light{ background-color: #e5f5ff !important;}
   .bg-dark-green-light {background-color:#daf6cd !important;}
   .bg-green-light{ background-color: #e9ffd9 !important;}
   .bg-green-blue{ background-color: #e9fdf4 !important;}
   .bg01{color: #4a4a4a;font-size: 14px; line-height: 28px;padding: 14px; margin: 10px 0px;border-radius: 7px;font-weight: 600; /*text-indent: 33px;*/}
   .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {color: #c12d00;background-color: #ffd168;} 
   .nav-pills > li > a {     font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    text-decoration: none;
    background-color: #eeeeee;
    margin-bottom: 0px;
    color: #545252;
    background-color: #d6d6d6;
    padding: 8px 10px;}
    
    .page-header2 {
       background-color: #f5f5f5;
    color: #8e3c00;
    padding: 5px 5px 5px 15px;
    margin: 5px 0px;
    font-size: 18px;
    font-weight: 600;
                }
   .page-subheader2 {
    background-color: #ffffff;
        color: #545454;
    padding: 5px;
    margin: 5px 0px;
    font-size: 17px;
    font-weight: 600;
                }

 .page-header3 {
    background-color: #ffffff;
    color: #000000;
    padding: 2px;
    margin: 0px 0px;
    font-size: 14px;
    font-weight: 400;
                  }

.tb-esgb2 {
    width: 98%;
    margin-bottom: 20px;
}
.tb-esgb2 thead th {
    font-weight: 400;
    font-size: 16px;
    border: 1px solid #eee;
    padding: 2px;
    background-color: #d2e2d2;
    border-bottom: 0px solid #339900;
    text-align: center;
}
.tb-esgb2 tbody td {
   padding: 5px 5px 5px 15px;
    text-align: left;
    color: #222;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-right-style: solid;
    border-bottom-style: solid;
    border-right-color: #eee;
    border-bottom-color: #eee;
    border: 1px solid #eee;
    /* font-family: "Kanit",'tahoma',sans-serif; */
    font-size: 16px;
    font-weight: 500;
    vertical-align: middle;
}
.tb-esgb2 tbody td:first-child {
    width: 15%;
}
.bg-green-light02 {
    background-color: #defbeb !important;
}
        .nav > li > a {
    position: relative;
    display: block;
    padding: 8px 7px;
}
.tab-content img {
     /*  padding-bottom: 10px;*/
   /* background-color: #fff;*/
    color: #3c3c3c;
    font-size: 15px;
}
.tab-content-article img {
    padding-bottom: 10px;
}
.tab-header200{
  background-color: #f1f1f1 !important;
    border-bottom: 4px solid #e5e5e5;
    color: #484848;
    padding: 5px 4px 5px 5px;
    margin: 0px 0px 15px 0px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    border-top: 4px solid #e5e5e5;
}

        .subhead01
        {
            font-size: 17px;
            color: #08b38b;
            margin-bottom: 15px;
            margin-top: 20px;
            font-weight: 600;
        }
        .subhead011
        {
            font-size: 18px;
            color: #c97800;
            margin-bottom: 15px;
            margin-top: 20px;
            font-weight: 600;
            background: #fff9ed;
            padding: 6px 7px;
            border-top: 2px solid #ffe9d5;
            border-bottom: 2px solid #ffe9d5;
        }
/****************************** add 30032023 ****************************************/
.header-rank-01 {
    font-size: 20px;
    font-weight: 500;
    border-bottom: 3px solid #d6dbe1;
    color: #222;
    padding: 5px;
    margin-bottom: 20px;
    padding-bottom: 2px;
    border-bottom: 2px solid #ffa218;
    
}
.header-rank-01 .red { color: #6a6a6a;
}
.header-rank-02 {
    font-size: 14px;
    font-weight: 600;
    color: #9b4800;
    font-family: "Open sans";
    margin-bottom: 15px;
}
.header-rank-02 .red { color: #c57a44;}
.rank-textright{text-align: right;}    
.rank-date-asof{text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: #5e5e5e !important;}    
    
    /****************************** add 30032023 ****************************************/
.header-rank-01 {
    font-size: 20px;
    font-weight: 500;
    border-bottom: 3px solid #d6dbe1;
    color: #222;
    padding: 5px;
    margin-bottom: 20px;
    padding-bottom: 2px;
    border-bottom: 2px solid #ffa218;
    
}
.header-rank-01 .red { color: #6a6a6a;
}
.header-rank-02 {
    font-size: 14px;
    font-weight: 600;
    color: #9b4800;
    font-family: "Open sans";
    margin-bottom: 15px;
}
.header-rank-02 .red { color: #c57a44;}
.rank-textright{text-align: right;}    
.rank-date-asof{text-align: right;
    font-size: 13px;
    font-weight: 500;
    color: #5e5e5e !important;}    
#chart-container {
    width: 100% !important;
    position: relative;
    min-height: 400px;
}

.stackchart-container{
    min-height: 400px;
}

    .row-asof {
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        gap: 10px; /* Optional: space between elements */
    }
 .chart-container {
    position: relative;
  }

 .chart-flex{
     display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering (optional) */
  flex-direction: column;  /* Stack chart and label vertically */
  text-align: center;
 }

.donut-chart {
  width: 100%;
    height: 320px;
    text-align: left;
    margin: 0 auto;
}

.donut-total-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "inter";
    font-size: 18px;
    font-weight: bold;
    color: #333;
    pointer-events: none;
    text-align: center;
    max-width: 90%;
    white-space: normal;
    z-index: 2;
}

  .donut-total-underline {
    margin: 8px auto 0 auto;
    width: 40px;
    border-bottom: 2px solid #333;
}

 .esg-content{
     margin-top: -15px;
 }

 .esg-chart-content{
    margin-top: -20px;
    display: flex; align-items: flex-end;
 }

 .label-select{
    display: flex; 
    align-items: center;
    justify-content: flex-end;
 }

 .controller-select{
    display: flex; 
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 10px;
 }

 .badge.badge-orange {
    margin-right: 8px;
    background-color: #ffeacb !important;
    padding: 10px 11px;
    font-size: 13px;
    color: #451a00;
    font-weight: 600;
    border-radius: 5px;
}

.badge.badge-orange:hover{color: #df840f;}

.cell-base {
    background-color: rgb(213 236 255);
    color: #383f79 !important;
    /* border-left: 1px solid #ffffff !important; */
    /* border-right: 1px solid #ffffff !important; */
}
.cell-target {
    background-color: rgb(195 249 214);
    color: #0f7b4f !important;
    /* border-left: 1px solid #ffffff !important; */
    /* border-right: 1px solid #ffffff !important; */
}

.kpi-spt-header{
    background-color: #cdcdcd !important;
}

.kpi-header{
    vertical-align: text-top !important;
}
.kpi-detail{
    padding-bottom: 10px;
}

.kpi-result{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    word-wrap: break-word;
}

.kpi-header{
    padding-top: 10px;
    padding-left: 10px;
    font-weight: bold;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.kpi-buttom{
    padding-left: 10px;
    font-weight: bold;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding-bottom: 10px;
}

.kpi-issuer-total{
    text-align: right;
    font-weight:bolder;
}

.no-border-top{
    border-top: 1px #6a6a6a !important;
}

.tab-content {
    min-height: 47vh;
}

.search-chart{
    margin-top: 20px;
}

.btn-esg-kpi{
    justify-content: flex-end;
    margin-top:5px;
}

.k-grid-header{
    padding-right: 1px  !important;
}

.kpi-star{
    color: #c40000;
    padding-right: 5px;
}

.chart-empty {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

.chart-loading {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  .spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.4em solid #ccc;
    border-top: 0.4em solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  @media (max-width: 1024px) {
    .chart-container {display: block; margin: auto; width: 66%;}}