@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niramit:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
/* ROOT */
 /* ===========================================================================================*/

.main-body {
    /**font-family: 'Niramit', sans-serif;**/
font-family: 'Sarabun', sans-serif;
    font-size: 12pt;
    font-weight: 300;
    line-height: 1.428;
    background-color: #f8f9fa;
    overflow-y: overlay !important;
}

.sarabun {
    font-family: 'Sarabun', sans-serif;
}

button.btn {
    border-radius: 0px;
    width: 100%;
}

.decoration-red {
    font-size: 22px;
    font-weight: 800;
    padding: 0px 16px;
    position: relative;
    font-family: 'Niramit', sans-serif;
}

.decoration-red::before {
    position: absolute;
    content: "";
    color: #DE134B !important;
    background: #DE134B !important;
    width: 8px;
    height: 24px;
    border-radius: 2px;
    margin-right: 8px;
    left: 0;
    top: 4px;
}

.header1 {
    color: #3D2F51;
    font-weight: 800;
    font-family: 'Sarabun', sans-serif;
}

.header2 {
    font-size: 14pt;
    font-weight: 500;
}

.line-darkblue {
    background-color: #3D2F51;
    width: 60px;
    height: 4px;
    margin-bottom: 20px;
}

.seperator, .separator {
    background-color: #ad9e71;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    text-align: center;
    line-height: 1.2em;
    height: 3px;
}

.post-data-list, .post-data-list > a, .post-data-list > a:hover,
.post-title > a:hover {
    color: #9B1F41;
    font-size: 15px;
}

.post-title > a {
    color: #000000;
    font-size: 15px;
}

#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #252525;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

#snackbar.show {
    visibility: visible;
    animation: fadein .5s, fadeout .5s 2.5s;
    -webkit-animation: fadein .5s, fadeout .5s 2.5s;
    -moz-animation: fadein .5s, fadeout .5s 2.5s;
}

a.gaz-link {
    color: #039be5;
    text-decoration: none;
    font-family: 'Niramit', sans-serif;
}

a.gaz-link:hover {
    color: #039be5;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    font-family: 'Niramit', sans-serif;
}

/* Scrollbar */
/* ::-webkit-scrollbar {
    width: .45rem;
    position: relative;
    z-index: 999;
}
::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 4px;
  margin: 5px;
  width: 6px;
}
::-webkit-scrollbar-thumb {
  background-color: #9B1F41;
  border-radius: 4px;
  margin-right: 5px;
  padding-right: 5px;
} */

/* Scrollbar */
::-webkit-scrollbar {
    width: .45rem;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(27, 27, 27, .4);
    border-radius: 3px;
}
::-webkit-scrollbar-track{
    background: transparent;
}

div.share {
    display: inline-block;
    vertical-align: middle;
}

/* RIBBON */
.ui.label:last-child {
    margin-right: 0;
}
.ui.label:first-child {
    margin-left: 0;
}
a.ui.label {
    cursor: pointer;
}
a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}
.ribbon.label {
    cursor: default !important;
}
.ui.label, .ui.labels .label {
    font-size: .85714286rem;
}
.ui.label {
    display: inline-block;
    white-space: nowrap;
    line-height: 1;
    vertical-align: baseline;
    margin: 0 0.14285714em;
    background-color: #e8e8e8;
    border-color: #e8e8e8;
    background-image: none;
    padding: 0.5833em 0.833em;
    color: rgba(0,0,0,.6);
    text-transform: none;
    font-weight: 700;
    border-radius: 0.28571429rem;
    -webkit-transition: background .1s ease;
    transition: background .1s ease;
}

.ui.ribbon.label {
    position: relative;
    margin: 0;
    min-width: -webkit-max-content;
    min-width: -moz-max-content;
    min-width: max-content;
    border-radius: 0 .28571429rem .28571429rem 0;
    border-color: rgba(0,0,0,.15)
}

.ui.ribbon.label:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    background-color: transparent!important;
    border-style: solid;
    border-width: 0 1.2em 1.2em 0;
    border-color: transparent;
    border-right-color: inherit;
    width: 0;
    height: 0
}

.ui.large.label, .ui.large.labels .label {
    font-size: 1rem;
}

.ui.ribbon.label {
    left: calc(-1rem - 1.2em);
    margin-right: -1.2em;
    padding-left: calc(1rem + 1.2em);
    padding-right: 1.2em;
}

.ui[class*="right ribbon"].label {
    left: calc(100% + 1rem + 1.2em);
    padding-left: 1.2em;
    padding-right: calc(1rem + 1.2em);
    text-align: left;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    border-radius: .28571429rem 0 0 .28571429rem
}

.ui[class*="right ribbon"].label:after {
    left: auto;
    right: 0;
    border-style: solid;
    border-width: 1.2em 1.2em 0 0;
    border-color: transparent;
    border-top-color: inherit
}

.ui.red.label,.ui.red.labels .label {
    background-color: #db2828!important;
    border-color: #db2828!important;
    color: #fff!important
}

.ui.labels .red.label:before,.ui.red.label:before,.ui.red.labels .label:before {
    background-color: #db2828!important
}

a.ui.red.label:hover,a.ui.red.labels .label:hover {
    background-color: #d01919!important;
    border-color: #d01919!important;
    color: #fff!important
}

.ui.labels a.red.label:hover:before,.ui.red.labels a.label:hover:before,a.ui.red.label:hover:before {
    background-color: #d01919!important
}

.ui.red.ribbon.label {
    border-color: #b21e1e!important
}

.ui.green.label,.ui.green.labels .label {
    background-color: #21ba45!important;
    border-color: #21ba45!important;
    color: #fff!important
}

.ui.green.label:before,.ui.green.labels .label:before,.ui.labels .green.label:before {
    background-color: #21ba45!important
}

a.ui.green.label:hover,a.ui.green.labels .label:hover {
    background-color: #16ab39!important;
    border-color: #16ab39!important;
    color: #fff!important
}

.ui.green.labels a.label:hover:before,.ui.labels a.green.label:hover:before,a.ui.green.label:hover:before {
    background-color: #16ab39!important
}

.ui.green.ribbon.label {
    border-color: #198f35!important;
}

.ui.orange.label,.ui.orange.labels .label {
    background-color: #FC6F3E!important;
    border-color: #FC6F3E!important;
    color: #fff!important
}

.ui.orange.label:before,.ui.orange.labels .label:before,.ui.labels .orange.label:before {
    background-color: #FC6F3E!important
}

a.ui.orange.label:hover,a.ui.orange.labels .label:hover {
    background-color: #EF551F!important;
    border-color: #EF551F!important;
    color: #fff!important
}

.ui.orange.labels a.label:hover:before,.ui.labels a.orange.label:hover:before,a.ui.orange.label:hover:before {
    background-color: #EF551F!important
}

.ui.orange.ribbon.label {
    border-color: #E83C00!important;
}


/* MENU BAR */
/* ===========================================================================================*/

nav.navbar {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}

.navbar-light .navbar-nav li.active > a.nav-link {
    color: #9B1F41;
}

.navbar-light .navbar-nav li a.nav-link {
    font-size: 16px;
    font-weight: 300;
    color: #000;
}

.navbar-light .navbar-nav li a:hover.nav-link {
    font-size: 16px;
    font-weight: 300;
    color: #9B1F41;
}

.navbar-light .navbar-nav .nav-item .dropdown-menu {
    transform: translate3d(0, 10px, 0);
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    display: block;
    padding: 0;
    margin: 0;
    transition: all 200ms linear;
}
.navbar-light .navbar-nav .nav-item.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 999px;
    transform: translate3d(0, 0px, 0);
}
.navbar-light .navbar-nav .dropdown-menu {
    padding: 10px!important;
    margin: 0;
    font-size: 14px;
    letter-spacing: 1px;
    color: #212121;
    background-color: #fcfaff;
    border: none;
    border-radius: 3px;
    box-shadow: 0 5px 10px 0 rgba(138, 155, 165, 0.15);
    transition: all 200ms linear;
}
.navbar-light .navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-light .navbar-nav .dropdown-item {
    padding: 3px 15px;
    color: #212121;
    border-radius: 2px;
    transition: all 200ms linear;
}
.navbar-light .navbar-nav .dropdown-item:hover, 
.navbar-light .navbar-nav .dropdown-item:focus {
    color: #fff;
    background-color: rgba(129,103,169,.6);
}

/* #Media
================================================== */

@media (max-width: 767px) { 
    .navbar-light .navbar-nav .dropdown-toggle::after {
        position: absolute;
        display: block;
        top: 10px;
        left: -23px;
        width: 1px;
        height: 11px;
        content: "";
        border: none;
        background-color: #000;
        vertical-align: 0;
        transition: all 200ms linear;
    }
    .navbar-light .navbar-nav .dropdown-toggle[aria-expanded="true"]::after{
        transform: rotate(90deg);
        opacity: 0;
    }
    .navbar-light .navbar-nav .dropdown-menu {
        padding: 0 !important;
        background-color: transparent;
        box-shadow: none;
        transition: all 200ms linear;
    }
    .navbar-light .navbar-nav .dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
        margin-top: 10px !important;
        margin-bottom: 20px !important;
    }
}


/* .searchBar {
    left: 0;
    width: 100%;
    margin-left: 0;
    background: #9B1F41;
    z-index: 900;
    overflow: hidden;
    border-radius: 20px 0 0 0;
}

.searchBar input, .searchBar select {
    margin-right: 1px;
    background: #A76178;
    border-radius: 0px;
    color: #fff;
    height: 60px;
    border: 0;
    line-height: 60px;
}

.searchBar select {
    border-right: 4px solid #9B1F41;
    margin-right: 4px;
}

.searchBar input.form-control:hover,
.searchBar input.form-control:focus,
.searchBar select.form-control:hover,
.searchBar select.form-control:focus {
    margin-right: 1px;
    background: #A76178;
    border-radius: 0px;
    color: #fff;
    height: 60px;
    border: 1px dashed #fff;
    box-shadow: none;
}

.searchBar select.form-control:hover,
.searchBar select.form-control:focus {
    margin-right: 4px;
}

.searchBar input::placeholder,
.searchBar select::placeholder {
    color: #fff;
    line-height: 60px;
}

.searchBar .inner {
    float: left;
    color: #FFF;
    margin-top: 20px;
}

.searchBar button.action {
    width: 60px;
    height: 60px;
    padding: 0;
    background: #DE134B;
} */

/* END MENU BAR */


/* FOOTER BAR */
/* ===========================================================================================*/
.footer {
    padding: 4rem 0 2rem 0;
    background: #DE134B;
    font-size: 14px;
    color: #fff;
    background-image: url('/img/bg-footer.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.footer h3 {
    font-size: 1.5rem;
}

.cc-reconsent {
    position: fixed;
    left: 8px;
    bottom: 16px;
    border-radius: 999px;
    padding: 4px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    box-shadow: rgb(204 204 204 / 50%) 0 2px
    10px 0;
    border: 1px solid #e8e8e8;
    background-color: #fff;
}
/* END FOOTER BAR */


/* INDEX.PHP */
/* ===========================================================================================*/

.issueInfo {
    /* float: left; */
    width: 100%;
    margin-top: 10px;
}

.issueInfo .browse-issues-container {
    /* padding-top: 35px; */
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.issueInfo .browse-issues-container .browse-issues-svg {
    float: left;
}

.issueInfo .browse-issues-text {
    float: left;
    width: 75%;
    top: 25px;
}

.issueInfo .browse-issues-title {
    padding-top: 35px;
    color: #DE134B;
    font-weight: bold;
    text-decoration: none;
    font-size: 16px;
}

.issueInfo .browse-issues-title:hover {
    text-decoration: underline;
}

.issueInfo .browse-issues-content {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: default;
}

a.link-site,a.link-site:hover  {
    color: #DE134B;
    text-decoration: none;
}

a.link-site:hover  {
    color: #9B1F41;
    text-decoration: none;
}

a.link-site u.link {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #DE134B;
}

a.link-site:hover u.link {
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: #9B1F41;
}

/* END INDEX.PHP */


/* catagory.php */
/* ===========================================================================================*/
.show-catagory td {
    display: block;
    padding: 15px 10px;
    background-color: #eee;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
}
/* END catagory.php */


/* RESULT -search_result */
/* ===========================================================================================*/

/* table#result_table thead,
table#cat_result thead {
    background-color: #eee;
    border: 1px solid #ffffff;
}

table.result td {
    border-bottom: 1px solid #dee2e6;
} */

table.result tr.content_column {
    height: 20px;
}

/* END RESULT -search -search_result */


/* /APP/ publish.php */
/* ===========================================================================================*/
table#result_table{
    font-size: 11pt;
}
table#result_table thead {
    background-color: #eee;
    border: 1px solid #ffffff;
}

table.compact td {
    border: 1px solid #ffffff;
}

table.compact tr.content_column {
    height: 20px;
    background-color: rgb(208, 236, 231);
}

table.compact tr.content_column:hover {
    background-color: #b6ceff;
}
/* END /APP/ add_result.php */



/* desktop */
@media screen and (min-width: 992px) {

    .to {
        position: relative;
        margin: 10px 0;
        text-align: center!important;
    }

    .site-logo img {
        width: auto !important;
        height: 40px !important;
    }

    /* viewcontent */
    div.card-export {
        margin-top: 20px;
    }

    #cite-info {
        background:#ffffff;
        /* background-image:url('/img/flower_graphic.svg'); */
        background-image:url('/img/songkarn_graphic2.svg');
        background-repeat: no-repeat;
        background-position: right;
        background-size: cover;
    }

    .navbar-light .navbar-nav li a.nav-link.login {
        font-size: 16px;
        font-weight: 300;
        color: #fff;
        /* background-color: #009698; */
        background-color: #DE134B;
        border-radius: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
}

/* mobile */
@media screen and (max-width: 992px) {
    .to {
        position: relative;
        margin: 10px 0;
        text-align: left!important;
    }

    .site-logo img {
        display: none;
    }
 
    /* viewcontent */
    /* div.card-export {
        margin-top: 20px;
        margin-bottom: 20px;
    }


    .information, .service, #search_img {
        margin-bottom: 35px;
    }

    header .fullHeader.hide {
        display: none;
    }

    header .fullHeader .inner img {
        display: none;
    } */

    /* Footer */
    /* footer .bottomNav {
        height: auto;
    }

    footer .bottomNav .nav-footer {
        margin: 0;
    }

    footer .bottomNav ul.nav-footer li.link {
        float: none;
    }

    footer .bottomContent div.govtnz-link {
        margin-left: 0;
        text-align: center;
    }

    footer .bottomContent .govtnz-link span {
        color: #fff;
        margin: 10px 0px;
    }

    body div.notice {
        width: auto;
    }

    body div.notice .title-panel {
        margin-left: 0;
    }

    body div.notice .content-panel {
        width: 100%;
    }

    body div.notice .meta-panel {
        width: 100%;
    }

    body div.notice .meta-panel .date {
        margin-top: 20px;
    }

    body div.notice .meta-panel .block {
        float: left !important;
        margin-left: 20px;
        max-width: 100% !important;
        text-align: left;
    }

    body div.notice .meta-panel .pdf-link {
        text-align: left !important;
    }

    body div.notice .meta-panel .pdf-link a {
        background-position: left !important;
    }

    table.result td[name=contenttype] {
        display: none;
    }

    table.result th[name=contenttype] {
        display: none;
    } */

    #cite-info {
        background:#ffffff;
    }

    .navbar-light .navbar-nav li a.nav-link.login {
        font-size: 16px;
        font-weight: 300;
        color: #fff;
        background-color: #DE134B;
        border-radius: 20px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }
}  
