﻿:root {
    --primary-color: #003767;
    --bs-primary-rgb: 0, 55, 103;
    --secondary-color: #E91E63;
    --bs-secondary-rgb: 57, 69, 80;
    --bs-info-rgb: 0, 153, 203;
    --bs-warning-rgb: 246, 226, 45;
    --bs-danger-rgb: 238, 46, 36;
    /*#ee2e24  warning hex*/
    /*#0099cb  info hex*/
}
@font-face {
    font-family: 'Kanit';
    font-weight: 300; /* Light */
    src: url('../fonts/Kanit-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit';
    font-weight: 500; /* Medium */
    src: url('../fonts/Kanit-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Kanit';
    font-weight: 800; /* Bold */
    src: url('../fonts/Kanit-Bold.ttf') format('truetype');
}
html, body, body * {
    font-family: 'Kanit', sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

#map {
    height:500px;
}

.btn:focus {
    box-shadow: 0 0 0 0;
}

/*Button Primary*/
.btn-primary {
    background-color: #004B8D !important;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #003767 !important;
}

.btn-primary {
    background-color: #004B8D !important;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #003767 !important;
}

.btn-outline-primary {
    color: #003767;
    border-color: #003767;
}

    .btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:visited {
        color: #003767;
        border-color: #003767;
        background-color: #0099cb7F;
    }

.btn-outline-primary {
    color: #003767;
    border-color: #003767;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:visited {
    color: #003767;
    border-color: #003767;
}

/*button success */
.btn-success {
    background-color: #004B8D !important;
    border-color: #90D467;
}

.btn-success:hover, .btn-success:active, .btn-success:visited {
    background-color: #90D467 !important;
}

.btn-success {
    background-color: #90D467 !important;
}

.btn-success:hover, .btn-success:active, .btn-success:visited {
    background-color: #90D467 !important;
}

html {
  /*position: relative;*/
  /*min-height: 100%;*/
}

body {
    color: #003767;
    /*margin-bottom: 60px;*/
}
.warpper-layout{
    max-width: 768px;
    margin: 0 auto;
}
.wrapper-body{
    margin-bottom: 180px;
}
.section-content{
    margin-top:1em;
}

.footer {
    background-color: white;
    z-index: 999;
    /*position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 768px;*/
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
}
.footer-menu {
}

.footer-menu ul {
    padding: 0px 0px 0px 0px;
    display: flex;
}

.footer-menu li {
    border: 1px solid #003767;
    flex-grow: 1;
    display: flex;
}

.footer-menu li:not(:last-child) {
    border-right: 0px solid #003767;
}

.footer-menu li a {
    color: #003767;
    text-decoration: none;
    min-height: 96px;
    flex-grow: 1;
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

.footer-menu li img {
    display: inline-block;
    width: 40px; /* Adjust the width of the icon */
    height: 40px; /* Adjust the height of the icon */
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.stuck {
    position: fixed;
    top: 0;
    z-index: 1030;
}

.main-content-header {
    font-size: 36px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding-top: 0.75em; 
}

.header-title {
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.main-content-header-underline {
    height: 3px !important;
    margin-right: 2rem;
    margin-left: 2rem;
}

.sub-content-header {
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding-top: 0.75em;
}

.content-title {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    word-wrap:break-word;
}

.content-text {
    font-size: 20px;
    font-weight: 300;
    line-height: normal;
    word-wrap: break-word;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-title {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    word-wrap: break-word;
}

.upload-text {
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    word-wrap: break-word;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-table {
    /*max-width: 768px;*/
    color: #003767;
    border-color: #003767;
    vertical-align: middle;
}

    .custom-table tbody tr td {
        max-width: 200px;
        word-wrap: break-word;
        /*white-space: nowrap;*/
        /*overflow: hidden;*/
        text-overflow: ellipsis;
        color: #003767;
        border-color: #003767;
        vertical-align: middle;
    }

.col100 {
    min-width: 100px !important;
    width: 100px !important;
    max-width: 100px !important;
    word-wrap: break-word !important;
    /*text-align: center !important;*/
}
.col150 {
    min-width: 150px !important;
    width: 150px !important;
    max-width: 100px !important;
    word-wrap: break-word !important;
    /*text-align: center !important;*/
}
.col200 {
    min-width: 200px !important;
    width: 200px !important;
    max-width: 100px !important;
    word-wrap: break-word !important;
    /*text-align: center !important;*/
}


.three-line-truncate {
    height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content-text {
    font-size: 16px;
    font-weight: 300;
    line-height: normal;
    word-wrap: break-word;
    /*white-space: nowrap;*/
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-ss-img-card {
    width: 100%;
    height: 300px;
    object-fit: inherit;
}

.news-ss-img {
    width: 100%;
    max-height: 768px;
    object-fit: inherit;
}

.access-denied-section{
    height:50vh;
}

.the-table {
    table-layout: fixed;
    word-wrap: break-word;
}

.input-title {
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    word-wrap: break-word;
}

.icon-md{
    font-size: 24px;
}

.left-icon{
    padding-right:0.5em;
}

.pp-border {
    border-radius: 10px 0px 0px 0px !important;
}

.form-control {
    color: #003767;
}

.visitor-info > div{
    margin-top: 10px;
}

.image-h-m{
    max-height:200px;
}

.image-h-xl {
}

.ss-50-img {
    width: 100%;
    height: 50px;
    object-fit: contain;
}

.ss-75-img {
    width: 100%;
    height: 75px;
    object-fit: contain;
}

.ss-100-img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.ss-150-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

.ss-200-img {
    width: 100%;
    height: 200px;
    object-fit: fill;
}



.imt-cover {
    object-fit: cover;
}

.imt-fill {
    object-fit: fill;
}

.disable {
    background-color: #e9ecef;
    opacity: 1;
}

.form-control {
    border-radius: 10px 0px 0px 0px !important;
    border: 1px solid #003767;
}


.transaction-button div:not(:last-child){
    padding-right:1em;
}

    .transaction-count-number {
        font-size: 52px;
        font-weight: 500;
        line-height: normal;
        word-wrap: break-word;
    }

.transaction-text-button {
    font-size: 20px;
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    /*width:80px;*/
    /*width:100%;*/
}



    @media (min-width: 1023px) {
        .info-layout {
            width: 33.33% !important;
            /*background-color: red !important;*/
        }
        /*.hidden-llg {
        display: none !important;
    }*/
    }
    @media (min-width: 768px) {
        .info-layout {
            width: 44.44% !important;
            /*background-color: green !important;*/
        }
        .main-content-header-underline {
            height: 3px !important;
            margin-right: 5rem;
            margin-left: 5rem;
        }
    }

    @media (min-width: 320px) and (max-width: 768px) {
        .info-layout {
            width: 75.00% !important;
            /*background-color: blue !important;*/
        }
        html{
            width:100%;
        }
    }

    @media (min-width: 200px) {
        /*.warpper-layout {
            max-width: 768px;
            margin: 0 auto;
            width: 768px;
        }*/
        html {
            font-size: 16px;
        }
        .header-title {
            font-size: 24px;
            font-style: normal;
            font-weight: 300;
            line-height: normal;
        }

        .content-title {
            font-size: 16px;
            font-weight: 500;
            line-height: normal;
            word-wrap: break-word;
        }
        .header-content {
            position: relative;
            background: #fff;
            width: 100%;
            max-width: 768px;
            box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
            z-index:1030;
        }

        .header-content.stuck {
            position: fixed;
            background: #fff;
            width: 100%;
            max-width: 768px;
            box-shadow: 0 3px 3px rgba(0, 0, 0, 0.1);
        }

        .navbar-collapse.show .navbar-nav.menu-center {
            display: flex;
        }

        .navbar-nav.menu-center {
            display: none;
        }


        .navbar-toggler:focus, .navbar-toggler:hover {
            text-decoration: none;
        }

        .navbar-toggler:focus {
            text-decoration: none;
            outline: 0;
            box-shadow: 0 0 0 0rem;
        }

        .navbar-toggler {
            display: block;
            font-size: 26px;
            color: white;
            z-index: 1;
        }

        .navbar-toggler {
            font-size: 18px;
        }

        .navbar-toggler:not(.collapsed) {
            font-size: 28px;
        }

        .navbar-toggler:not(.collapsed) {
            font-size: 18px;
        }

        .navbar-toggler:not(.collapsed) .icon-menu:before {
            content: '\e937';
            position: relative;
            top: -2px;
        }

        .noScroll {
            overflow: hidden !important;
        }

        .hamburger {
            display: block;
            width: 36px;
            height: 36px;
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23003767' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .nav-item {
            background-color: #003767;
        }

        .navbar-collapse {
            background: #fff;
            overflow-y: auto;
        }

            .navbar-collapse .nav-item > .nav-link {
                font-size: 18px;
                line-height: 24px;
                padding-top: 10px;
                padding-bottom: 10px;
            }
        
    }

.ucol {
    float: left;
    width: 25%;
    padding: 10px;
    /*height: 300px;*/ /* Should be removed. Only for demonstration */
}
.ucol-auto {
    float: left;
    width: 50%;
    padding: 10px;
    /*height: 300px;*/ /* Should be removed. Only for demonstration */
}

/* Clear floats after the columns */
.urow {
    content: "";
    display: table;
    clear: both;
    width: 100%;
}