@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@400;500&family=Kanit&display=swap');

body {
    padding: 0rem;
    background-color: #f8f9fb !important; /*#ebeff4 !important; /*#b4cdeb !important; */   
    /*
    background-image: url("/static/asset/petr-magera-unsplash.jpeg");
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: cover;
    */
}

.ibmplex_font {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
}

.kanit_font {
    font-family: 'Kanit', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-weight: 500;
}

table {
    margin: 0 0 1em 0;
}

th {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.15em;
    font-weight: 500;
}

td {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1em;
}

.main_side_bar {
    /* background-color: #82cfed !important; */
    background-color: #DBE2EB !important;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /*, 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.main_side_bar hr {
    border: 1px solid #5cabff !important;
}

.text-top-menu {
    color: #004fa3;
    font-weight: 500;
    font-family: 'Kanit', sans-serif;
}

.text-menu {
    color: #000000 !important;
    vertical-align: middle;
    margin: 0.5em 0;
}

.text-menu h4 {
    margin-bottom: 0;
    font-size: 0.75em;
}

.text-menu i {
    font-size: 0.75em;
}

.text-menu a {
    text-decoration: none;
    color: rgb(9,52,114,1) !important;
    font-weight: 500; 
}

.text-menu a:hover {
    text-decoration: none !important;
    color: #004fa3!important;
}

.main-link:hover {
    background-color: #95999F !important;
}

.gototop:hover {
    text-decoration: none;
}

.main-body .nav .active {
    /* background-color: #95999F !important;*/
    background-color: #b4cdec !important;
}

.main-body .nav .nav-link {
    color: rgb(9,52,114,1) !important;
    font-weight: normal;
}

.main-body .nav .nav-link:hover {
    /* background-color: #95999F !important;*/
    background-color: #b4cdec !important;
    font-weight: normal;
}

.main-link-active {
    background-color: #95999F !important;
}

.text-menu-danger {
    color: #000000 !important;
    vertical-align: middle;
    margin: 0.5em 0;
}

.text-menu-danger h4 {
    margin-bottom: 0;
    font-size: 0.75em;
}

.text-menu-danger i {
    font-size: 0.75em;
}

.text-menu-danger a {
    text-decoration: none;
    color: #000000 !important;
}

.text-menu-danger a:hover {
    text-decoration: none !important;
    color: #c0392b !important;
}

.card-header-dark {
    background-color: #2f3640 !important;
    color: #ffffff !important;
}

.main-record-template {
    padding: 3rem 0 3rem 0;
    margin: 0 auto auto 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.bg-clear {
    opacity: 80%;
}

.navbar-brand a {
    color: #000000;
}

.navbar-brand a:hover {
    text-decoration: none;
    color: #000000;
}

.datatables_filter {
    text-align: left !important;
}

.datatables_search {
    text-align: right !important;
}

.navbar-main {
    display: none;
}

.record_toolbar {
    text-align: right !important;
}

div.dataTables_info {
    display: block;
}

.signin-page {
    margin: 3rem auto 3rem auto;
    max-width: 450px;
}

.top-nav-border {
    border: 1px solid rgba(0,0,0,.125);
}

.main-card {
    position: relative;
    display: -ms-flexbox; display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    /* background-color: #fff; */
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /*, 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
}

.navigation-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color:  rgba(255, 255, 255,.5);
    border-bottom: 1px solid rgba(0,0,0,.125);
}

.navigation-header .nav-link {
    text-decoration: none;
    color: rgb(9,52,114,1) !important;
    font-weight: normal; 
    /* font-family: 'Kanit', sans-serif; */
}

.navigation-header .nav-link:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #004fa3!important;
    text-decoration: none !important;
}

.main-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
    /* border: 1px solid rgba(0,0,0,.125); */
    background-color: #fff;
}

.search_box_txt::placeholder {
    color: #17a2b8!important;
}

.modal-info-header {
	background-color: #b4e1e7 !important;
	border: 1px solid #b4e1e7; 
}

.modal-info-header a {
    text-decoration: none;
    color: rgb(9,52,114,1) !important;
    font-weight: normal; 
}

.modal .list-group .active {
	background-color: #b4e1e7 !important;
	border: 1px solid #b4e1e7;
    	color: rgb(9,52,114,1) !important;
}

@media (max-width: 1200px) {
    .container-wider {
        padding: 0 auto;
        max-width: 1100px;
    }

    .main-template {
        padding: 0rem 1.5em 1.5rem 1.5em;
        margin: 1em auto auto auto;
        width: 100%;
        /* max-width: 1100px; */
    }

    .table-auto {
        /* min-width: 800px; */
        width: 100%;
        margin: 0 0;
        padding: 0px;
    }

    .record_toolbar {
        text-align: right !important;
    }
}

@media (max-width: 992px) {
    .container-wider {
        padding: 0 auto;
        max-width: 900px;
    }

    .main-template {
        padding: 0 1.5em 1.5rem 1.5em;
        margin: 1em auto auto auto;
        width: 100%;
        /* max-width: 900px; */
    }

    .table-auto {
        /* min-width: 800px; */
        width: 100%;
        margin: 0 0;
        padding: 0px;
    }

    .datatables_filter {
        text-align: left !important;
    }

    .datatables_search {
        text-align: right !important;
    }

    .navbar-main {
        display: block;
    }

    .record_toolbar {
        text-align: right !important;
        margin-top: 0.5em;
    }

    .table-area {
        overflow-x: scroll;
    }
}

@media (max-width: 768px) {
        
    .signin-page {
        margin: 1rem auto;
        max-width: 450px;
    }

    .container-wider {
        padding: 0 auto;
        max-width: 600px;
    }

    .main-template {
        padding: 0.5em 1.5em 1rem 1.5em;
        margin: 1em auto auto auto;
        width: 100%;
        /* max-width: 600px; */
    }

    .table-auto {
        /* min-width: 800px; */
        width: 100%;
        margin: 0 0;
        padding: 0px;
    }

    .datatables_filter {
        text-align: left !important;
    }

    .datatables_search {
        text-align: left !important;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: flex-start !important;
        margin: 1em 0;
    }

    div.dataTables_info {
        display: none;
    }

    .navbar-main {
        display: block;
    }

    .record_toolbar {
        text-align: left !important;
        margin-top: 0.5em;
    }

    .table-area {
        overflow-x: scroll;
    }
}

@media (min-width: 1200px) {
    .container-wider {
        padding: 0 auto;
        max-width: 1360px;
    }

    .main-template {
        padding: 0 0 1.5rem 0;
        margin: 1em auto auto auto;
        width: 100%;
        /* max-width: 1360px; */
    }

    .table-auto {
        width: 100%;
        margin: 0 0;
        padding: 0px;
    }

    .datatables_filter {
        text-align: left !important;
    }

    .datatables_search {
        text-align: right !important;
    }

    .navbar-main {
        display: none;
    }

    .record_toolbar {
        text-align: right !important;
    }
}

@media (min-width: 1600px) {
    .container-wider {
        padding: 0 auto;
        max-width: 1700px;
    }

    .main-template {
        padding: 0 0 1.5rem 0;
        margin: 1em auto auto auto;
        width: 100%;
        /* max-width: 1650px; */
    }

    .table-auto {
        /* max-width: 1500px; */
        width: 100%;
        margin: 0 0;
        padding: 0px;
    }

    .datatables_filter {
        text-align: left !important;
    }

    .datatables_search {
        text-align: right !important;
    }

    .navbar-main {
        display: none;
    }

    .record_toolbar {
        text-align: right !important;
    }
}
  
.small-template {
    padding: 3rem 0 0 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    width: 100%;
}

.login-container {
    display: -ms-flexbox;
    display: flex;

    /*
    -ms-flex-align: center;
    align-items: center;
    margin: auto;
    */

    background-color: #ffffff; /* #f5f5f5; */
}


.sidebar-title {
    padding: 0 0 0.5em 0;
    margin: 0 0 1em 0;
    border-bottom: 1px solid #b2bec3;
}

.sidebar-title:not(:first-child) {
    padding: 0 0 0.5em 0;
    margin: 1em 0 1em 0;
}

.member-card {
    padding: 0em;
    margin: 0 0 1em 0;
}

.inside-area {
    padding: 0;
    margin: 0;
    min-height: 300px;
}

.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 30px;
    margin: auto;
    background-color: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #c7ecee;
}

.form-signin input[type="email"] {
    margin-bottom: 1em;
    border-radius: 1px;
}

.form-signin input[type="password"] {
    margin-bottom: 1em;
    border-radius: 1px;
}

.table-template td {
    vertical-align: middle;
}

.main-form-area {
    padding: 20px;
    border: 1px solid #c7ecee;
    background-color: #ffffff;
}

.error_text {
    color: #e74c3c;
}

.larger_modal {
    text-align: center;
    width: 900px;
    margin: auto;
}

.record_indicator {
    margin: 1rem 0 1rem 0;
}

.logo-area {
    padding: 0 1em 1em 0;;
}

a {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.25em;
}

button {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.25em;
}

input, select, label {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.25em;
}

.ibmplex_font_medium {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.25em;
}

.ibmplex_font_large {
    font-family: 'IBM Plex Sans Thai Looped', sans-serif;
    font-size: 1.25em;
}
