html, body {
    position: relative;
    /* height: 100%; */
}
body {
    font-family: "Sarabun", sans-serif;
    font-size: 14px;
    line-height: 25px;
    /* background-color: rgba(14,77,202,0.1); */
    background-color: #f0f4e3;
    padding: 50px 0 50px 0;
}
.heading-main {
    font-size: 50px;
    line-height: 60px;
}
.heading-sub {
    font-size: 25px;
    line-height: 40px;
}

.text-upper {
    text-transform: uppercase;
}

.text-center {
    text-align: center !important;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right !important;
}

.topic-main-hl {
    font-family: "Mitr";
    font-size: 80px;
    line-height: 100px;
    font-weight: 500;
}
.topic-main {
    font-family: "Mitr";
    font-size: 24px;
    line-height: 35px;
    font-weight: 400;
}
small, .small {
    font-size: 12px !important;
    line-height: 20px !important;
    font-weight: 400;
}

/* --------------------------------------------------------------- */
/* ------------------------- font weight ------------------------- */
/* --------------------------------------------------------------- */

.font-light {
	font-weight: 300 !important;
}
.font-regular {
	font-weight: 400 !important;
}
.font-medium {
	font-weight: 500 !important;
}
.font-semi-bold {
	font-weight: 600 !important;
}
.font-bold {
	font-weight: 700 !important;
}
.font-extra-bold {
	font-weight: 800 !important;
}
.font-black {
	font-weight: 900 !important;
}

.card-container {
    position: relative;
    border-radius: 20px;
    padding: 40px;
    background-color: rgba(255,255,255,1);
}
.card-container+.card-container {
    margin-top: 20px;
}
.card-container.w-content {
    width: 800px;
    max-width: 100%;
}

/* --------------------------------------------------------------- */
/* ----------------------------- table --------------------------- */
/* --------------------------------------------------------------- */

.table,
.table>.tr,
.table>.td {
    position: relative;
}
.table {}
.table>.tr {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}
.table>.tr>.td {
    padding: 10px 15px;
}

.table>.tr>.td.col-index {
    width: 80px;
}
.table>.tr>.td.col-update {
    width: 200px;
    /* display: none; */
}
.table>.tr>.td.col-name {
    width: 150px;
}
.table>.tr>.td.col-surname {
    width: 150px;
}
.table>.tr>.td.col-age,
.table>.tr>.td.col-sex {
    width: 70px;
}
.table>.tr>.td.col-address {
    width: 200px;
}
.table>.tr>.td.col-location {
    flex: 1 0 0;
}
.table>.tr>.td.col-mobile {
    display: none !important;
}

.table>.tr {
    border-radius: 10px;
}
.table>.tr.row-head {
   /* background-color: rgba(0,0,0,1); */
   border-radius: 0 !important;
    border-bottom: 2px solid rgba(0,0,0,1);
    color: rgba(0,0,0,1);
    font-weight: 700;
} 

.table>.tr.row-list:nth-child(odd) {
    /* background-color: rgba(14,77,202,0.05); */
    background-color: rgba(39,172,109,0.1);
} 
.table>:not(caption)>*>* {
    background: none !important;
    padding: 0;
}

.form-control,
.form-select {
    height: 50px;
}
.form-control,
.form-select {
    border: 1px solid rgba(0,0,0,0.5) !important;
}
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 5px rgba(39,172,109,0.2);
}
.form-control::placeholder {
    color: rgba(0,0,0,0.2) !important;
}

.btn {
    height: 50px;
    background-color: #27ac6d !important;
    border-color: #27ac6d !important;
    box-shadow: none !important;
}
.btn:hover,
.btn:active {
   background-color: #1b8751 !important;
    border-color: #1b8751 !important;
}

#search-form {
    position: sticky;
    top: 100px;
    display: flex;
    flex-wrap: wrap;
}
#search-form>.col-topic,
#search-form>.col-input,
#search-form>.col-button {
    width: 100% !important;
}
#search-form>.col-topic {
    position: relative;
    text-align: center;
    margin-bottom: 10px;
}
/* #search-form>.col-input {
    flex: 1 0 0;
    width: calc(100% - 150px);
}
#search-form>.col-button {
    width: 150px;
    padding-left: 10px;
} */
 #search-form>.col-button {
    margin-top: 10px;
 }
#search-form>.col-button button {
    width: 100%;
    max-width: 100%;
}

#search-form p {
    font-size: initial !important;
    margin: 0;
    padding: 0; 
}

#search-form .row-field,
#search-form .row-field>.col-field {
    position: relative;
}
#search-form .row-field {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    width: calc(100% + 20px);
    margin: 0 -10px;
}
#search-form .row-field>.col-field {
    padding: 0 10px;
}
#search-form .row-field>.col-field.this-col-location {
    width: calc(100% - 700px);
}
#search-form .row-field>.col-field.this-col-name,
#search-form .row-field>.col-field.this-col-surname {
    width: 250px;
}
#search-form .row-field>.col-field.this-col-button {
    width: 200px;
}
#search-form .row-field>.col-field.this-col-button button {
    width: 100%;
    max-width: 100%;
}

#result-section.off {
    display: none;
}

.info-row,
.info-row>.info-col {
    position: relative;
}

.info-row {
   display: flex;
    flex-wrap: wrap;
}
.info-row>.info-col.this-col-search,
.info-row>.info-col.this-col-table {
    width: 100%;
    max-width: 100%;
}
.info-row>.info-col.this-col-table {
    margin-top: 20px;
}
.spinner-border {
    margin: 0 auto !important;
}
.spinner-border.text-primary {
    color: #fff !important;
}

#loadingModal .modal-content {
    background: none !important;
    border: none !important;
    color: #fff !important;
}












/* xxl */
@media (min-width: 1400px) {}

/* xxl - 1 */
@media (min-width:1500px) and (max-width: 1599.98px) {}

/* xxl - 2 */
@media (min-width: 1400px) and (max-width: 1499.98px) {}

/* xl */
@media (min-width: 1200px) and (max-width: 1399.98px) {}

/* lg */
@media (min-width: 992px) and (max-width: 1199.98px) {

        body {
        font-size: 13px;
        line-height: 25px;
    }
    .topic-main {
        font-size: 20px;
        line-height: 25px;
    }


    .info-row {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .info-row>.info-col.this-col-search,
    .info-row>.info-col.this-col-table {
        width: 100% !important;
        padding: 0 !important;
    }
    .info-row>.info-col.this-col-table {
        margin-top: 20px;
    }

   #search-form .row-field {
        flex-wrap: wrap;
    }
    #search-form .row-field>.col-field {
        padding: 0 10px;
        width: 100% !important;
    }
    #search-form .row-field>.col-field+.col-field {
        margin-top: 20px;
    }

}

/* md */
@media (min-width: 768px) and (max-width: 991.98px) {

        body {
        font-size: 13px;
        line-height: 25px;
    }
    .topic-main {
        font-size: 20px;
        line-height: 25px;
    }


    .info-row {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .info-row>.info-col.this-col-search,
    .info-row>.info-col.this-col-table {
        width: 100% !important;
        padding: 0 !important;
    }
    .info-row>.info-col.this-col-table {
        margin-top: 20px;
    }

    #search-form .row-field {
        flex-wrap: wrap;
    }
    #search-form .row-field>.col-field {
        padding: 0 10px;
        width: 100% !important;
    }
    #search-form .row-field>.col-field+.col-field {
        margin-top: 20px;
    }

    .table>.tr>.td {
        display: none !important;
    }
     .table>.tr>.td.col-index,
    .table>.tr>.td.col-mobile {
        display: block !important;
    }

}

/* sm - xs */
@media (max-width: 767.98px) {

    body {
        font-size: 13px;
        line-height: 25px;
    }
    .topic-main {
        font-size: 20px;
        line-height: 25px;
    }


    .info-row {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .info-row>.info-col.this-col-search,
    .info-row>.info-col.this-col-table {
        width: 100% !important;
        padding: 0 !important;
    }
    .info-row>.info-col.this-col-table {
        margin-top: 20px;
    }

    #search-form .row-field {
        flex-wrap: wrap;
    }
    #search-form .row-field>.col-field {
        padding: 0 10px;
        width: 100% !important;
    }
    #search-form .row-field>.col-field+.col-field {
        margin-top: 20px;
    }

    .table>.tr>.td {
        display: none !important;
    }
     .table>.tr>.td.col-index,
    .table>.tr>.td.col-mobile {
        display: block !important;
    }


}

/* sm */
@media (min-width: 576px) and (max-width: 767.98px) {}

/* xs */
@media (max-width: 575.98px) {}

/* xs custom */
@media (max-width: 399.98px) {}