html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", sans-serif;
}

.containerone {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    /*padding: 0 20px;*/
}

a {
    text-decoration: none;
}

img {
    width: 100%;
}

.header-links img {
    width: 11%;
}

figure.No-data-found img {
    width: 35%;
    text-align: center;
    margin: 0 auto;
    display: block;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.col-100 {
    flex: 0 0 100%;
    width: 100%;
    padding: 15px;
}

img.w-sm-100.img-fluid {
    width: 20%;
    display: block;
}

.info {
    padding: 50px 0;
}

.main {
    width: 50%;
    margin: auto;
    margin-top: auto;
    margin-top: 40px;
}

section.nav-bar1 {
    padding: 35px 0px 30px 0px;
}

.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.search-input {
    flex: 1;
    height: 40px;
    font-size: 18px;
    padding: 10px 20px 10px 10px;
    border-radius: 7px;
}

.search-btn {
    height: 40px;
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-weight: bold;
    min-width: 120px;
}

button.btn.search {
    position: relative;
    left: 16px;
    border: unset;
    border-radius: unset;
    padding: unset;
    margin: unset;
    padding: 3px 32px;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 1px;
}

button.btn.btn-primary.search-btn.my-btn {
    position: relative;
    left: 10px;
    border: unset;
    border-radius: unset;
    border-radius: 5px;
    letter-spacing: 1px;
    font-weight: 300;
    font-size: 1.1rem;
}

.ip-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: unset;
    font-size: 40px;
    padding: 27px 0 20px 0;
}

p#ip-addressheading {
    margin: unset;
    font-size: 35px;
    font-weight: 500;
    margin-top: 12px;
}

footer.border-top.footer.text-muted {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 45px;
}

section.ip-location {
    padding: 45px 0px;
}

.logo img {
    width: 20%;
}
/*TABLE CSS */

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}

td img {
    width: 15px;
    margin-right: 12px;
}

td span {
    text-align: center;
    display: block;
}

#map {
    height: 400px;
    width: 100%;
}

section.logo {
    padding: 40px 0;
}


/*HEADER*/

.col-100x {
    flex: 0 0 100%;
    width: 100%;
    padding: 15px;
}

.col-50 {
    flex: 0 0 100%;
    width: 100%;
    padding: 15px;
}

section.header {
    background: white;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

ul.header {
    display: flex;
}

li.header_main {
    padding: 0px 12px;
}

.col-inner.header_main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_logo img {
    width: 50%;
}

.header_side_icons {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
}

.login {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    padding: 140px 0;
}

li.header_main {
    list-style: none;
}

span.img_header {
    display: block;
    width: 12%;
}

a.header {
    font-weight: 800;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
}

i.fa-solid.fa-bars {
    font-size: 24px;
    line-height: 15px;
    font-weight: 800;
    padding-right: 10px;
}

i.fa-thin.fa-bars {
    font-size: 30px;
}

i.fa-thin.fa-bars {
    font-size: 20px;
    font-weight: 300;
    line-height: 15px;
}

.close-btn {
    display: none;
}

.burger-btn {
    display: none;
}

a[b-hvf7z3rp5n] {
    color: #0077cc;
    color: unset;
    letter-spacing: .5px;
    font-size: 16px;
    font-family: "Kanit", sans-serif;
    font-weight: 600;
}

ul.header {
    margin: 0;
}

span.mobile-logo {
    /*    width: 30%;*/
}

.nav-link.text-dark:hover {
    color: #000000 !important;
    text-decoration: none;
    transition: .6s all !important;
}

a.nav-link.text-dark {
    color: unset;
    color: #8b8282 !important;
}

    a.nav-link.text-dark.page-nav-img {
        display: inline;
    }

.header-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*TERMS&CONDITIONS*/

.terms-content, .privacypolicyContent {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    text-align: justify;
}

section.terms-conditions, .privacypolicyContent {
    padding: 40px 0;
    font-weight: 300;
}

span.phone {
    color: #245bbf;
}

span.date {
    color: #000000;
    font-weight: 600;
}

p.enablesystems {
    font-weight: 400;
}
/*Documentation*/
.content-main {
    padding: 40px 0;
}

.content-main {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    font-weight: 300;
}

pre.generate-api {
    background: #192738;
    color: #fff;
}

span.key {
    color: #ffffff !important
}

span.value {
    color: rgb(162, 252, 162);
}

span.lat {
    color: rgb(211, 99, 99);
}

pre.generate-apii.m {
    background: #192738;
    color: #fff;
    padding: 10px;
}

span.newclass {
    color: #ffce54 !important;
}

tr.head {
    background: #283f59;
    color: #ffffff;
    letter-spacing: 1px;
}

.table-bordered {
    border: 1px solid #adadad;
}

.table > :not(caption) > * > * {
    box-shadow: inset 0 0 0 9999px rgb(173 158 158 / 5%) !important;
    padding: 1rem 1rem;
}

section.contact {
    padding: 0px 0px 40px 0px;
}

.main-contact {
    padding: 45px 0px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: #262626;
    color: #fff;
    background-image: url(/Images/globeback.jpeg);
    background-repeat: no-repeat;
    background-position: 100% 56%;
}

p.question {
    font-size: 30px;
    letter-spacing: 1px;
}

.my-btn-doc {
    display: flex;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    gap: 25px;
    font-size: 25px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

#sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
}

.side-nav a i {
    width: 30px;
    margin: 5px;
}

.side-nav.doc a i {
    width: 30px;
    margin: 5px;
}

.components a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    width: 100%;
    color: #333;
    text-decoration: none;
}

    .components a:hover {
        background: #ddd;
        color: #000;
    }

.chevron {
    float: right;
    transition: transform 0.3s;
}

    .chevron.up {
        transform: rotate(180deg);
    }

.dropdown-toggle::after {
    display: none;
}

footer.border-top.footer.text-muted {
    text-align: center;
}


.side-nav {
    height: 100vh;
    background: white;
    margin-top: 25px;
    border: 1px solid rgba(0, 0, 0, .125) !important;
}

.side-nav {
    /*height: 100%;*/
    background: white;
    border: 1px solid;
    margin-top: 25px;
}

.list-group-item {
    padding: unset;
}

.list-group-item {
    background: unset;
}

.col-3 .col-inner {
    height: 100%;
}

u.login-here {
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

button.btn.btn-primary.btn-block.api-btn {
    margin-top: 10px !important;
}

label.des {
    margin-bottom: 10px;
}
/*TOP_BUTTON*/
#scrollToTop {
    position: fixed;
    bottom: 90px;
    right: 3rem;
    display: flex;
    font-family: "Arial";
    align-items: center;
    justify-content: center;
    margin-bottom: -12rem;
    cursor: pointer;
    transition: margin-bottom 0.2s;
    &.active;
}

div#scrollToTop span i {
    font-size: 30px;
    color: #212529;
}

.side-nav .list-group-item.active {
    background-color: #007bff;
    color: #fff;
}

.side-nav .list-group-item:hover {
    background-color: #0056b3;
    color: #fff;
}


/*LOGIN*/
.login-btn {
    display: flex;
    align-items: center;
    color: #000;
    padding: 0px 5px;
    transition: .5s ease-in;
}

.btn-login a:hover {
    color: #000;
}

.login-btn:hover {
    transform: translateY(-2px);
    transition: .5s all;
    cursor: pointer;
}


button#generateApiKeyButton {
    margin-top: 20px;
}

.btn-login a {
    color: #000;
}

.form-main form {
    padding: 50px 0px;
}

.icon-main i {
    color: #aaabab;
    font-size: 25px;
    margin-right: 10px;
}

.login-main-card {
    margin: 0 auto;
    padding: 40px 50px;
    width: 500px;
    /*box-shadow: rgba(0, 0, 0, 0.35) 0px 4px 15px;*/
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: 10px;
}

.col-12.col-md-9.col-lg-7.col-xl-6.reg {
    display: flex;
    justify-content: center;
}

.login-btn-one {
    background: black;
    display: flex;
    width: fit-content;
}

.login-btn-one {
    display: none;
}

span.mobile-logo-login a img {
    width: 50%;
    margin: 0 auto;
    display: block;
}

button.btn.btn-primary.btn-block.mb-4.log {
    width: 100%;
}
/*logout*/

.login-btn.mobile {
    display: none;
}
/*REGISTER*/
.card {
    width: 500px;
}

button.btn.btn-success.btn-block.btn-lg.gradient-custom-4.text-body.reg {
    color: #fff !important;
    background-color: #0d6efd;
    border-color: #0d6efd;
    width: 100%;
    padding: 6px 12px;
    font-size: 16px;
}

.register-btn {
    display: none;
}


.btns {
    display: flex;
    gap: 20px;
}

.header-links a img {
    width: 55%;
}

.btn-login a {
    padding: 0 !important;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}

div#home-error {
    text-align: center;
    padding-top: 20px;
}

    div#home-error  i {
        font-size: 100px;
        color: cornflowerblue;
        padding-bottom: 25px;
    }

    div#home-error p {
        font-size: 25px;
    }

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    width: fit-content !important;
    margin: 0 auto;
}

@media(max-width:992px) {
    span .mobile-logo {
        width: 50%;
    }

    ul {
        padding-left: unset;
    }

    .list-group.list-group-flush a {
        font-size: 10px;
    }
}


@media (max-width: 768px) {
    img.w-sm-100.img-fluid {
        width: 80%;
    }

    .side-bar {
        position: relative;
        width: 100%;
        max-width: none;
    }

    .main-content {
        margin-left: 0;
    }

    .icon-main i {
        font-size: unset;
    }

    .side-nav a i {
        width: 15px;
        margin: 5px;
    }
}


@media (max-width: 576px) {
    .search-bar {
        flex-direction: column;
        margin-top: 30px;
    }

    .search-input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .search-btn {
        border-radius: 8px;
        width: 100%;
    }

    button.btn.btn-primary.search-btn.my-btn {
        position: unset;
    }

    .search-input {
        font-size: 20px;
        padding: 5px 20px 5px 10px;
    }

    img.w-sm-100.img-fluid {
        width: 50%;
    }

    .logo-ip.w-sm-100 img {
        margin: 0 auto;
    }

    .ip-heading {
        flex-direction: column;
    }

    .ip-heading {
        padding: 10px 0;
        gap: unset;
    }

    p#ip-addressheading {
        margin: unset;
    }

    ul.header {
        background: white;
        color: black;
        display: flex;
        flex-direction: column;
        padding: 10px;
        width: 300px;
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
    }

        ul.header li {
            padding: 20px;
        }

            ul.header li a {
                color: black;
            }

    .header_ul_main {
        position: fixed;
        top: 0;
        left: 0px;
        width: 110%;
        background: rgba(0, 0, 0, 0.2);
        height: 100vh;
        transform: translateX(-100%);
        transition: 0.5s;
        visibility: hidden;
        opacity: 0;
        z-index: 999;
    }

    .active {
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }

    .burger-btn {
        display: block;
        color: black;
        position: absolute;
        right: -11px;
        top: 0;
    }

    .close-btn {
        color: black;
        font-size: 42px;
        position: absolute;
        top: 55px;
        z-index: 200;
        display: block;
        left: 313px;
    }

    .burger-btn i {
        font-size: 30px;
    }

    .burger-btn {
        display: block;
        color: black;
        position: absolute;
        right: 20px;
        top: 25px;
    }

    button.burger-btn {
        border: none;
        background: transparent;
    }

    .col-100x {
        width: 100%;
        flex: 0 0 100%;
    }

    section.header {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
        padding: 16px 0;
    }

    i.fa-thin.fa-bars {
        font-size: 15px;
    }

    span.mobile-logo {
        width: 60%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .leaflet-top.leaflet-left {
        z-index: -1;
    }

    .leaflet-bottom.leaflet-right {
        z-index: -1;
    }

    section.side-bar .row .col-3 {
        display: none;
    }

    section.side-bar .row .col-9 {
        width: 100%;
    }

    .form-main form {
        width: unset;
    }

    .login-btn {
        display: none;
    }

    .login-btn-one {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        top: 100px;
        position: relative;
        border-radius: 50px;
    }


    .icon-main span i {
        color: #fff;
    }

    .login-main-card {
        width: unset;
    }

    .btn-login a {
        color: #fff;
    }

    .register-btn {
        border: 1px solid #000;
        border-radius: 50px;
        display: block;
        position: relative;
        top: 140px;
        background: black;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-btn.mobile {
        display: block;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .card {
        width: unset;
    }
}

@media (max-width:500px ) {

    .table > :not(caption) > * > * {
        padding: 0px 1px;
    }
    .header-links a img {
        width: 30%;
    }
    .burger-btn {
        top: 40px;
    }
}
