@media screen and (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

@media screen and (max-width: 767.9px) {
    #b-accessibility {
        display: block !important;
        padding: 0px 10px !important;
    }

    .carousel-caption h3,
    .carousel-caption p {
        display: none !important;
    }

    #b-accessibility .b-ministryname {
        text-align: center !important;
    }

    .b-acc-ministry {
        text-align: left !important;
    }

    .b-acc-icons {
        text-align: center;
        display: block !important;
    }

    .b-emblem-image {
        width: 40px;
    }

    .b-footer-icons {
    }
}

@media screen and (min-width: 576px) {
    .b-nav-mobile {
        display: none !important;
    }
}

@media screen and (max-width: 575.9px) {
    .b-acc-goi {
        padding-right: 0.25rem !important;
    }

    .b-navdropdown.hide {
        display: none !important;
    }

    .b-nav-mobile {
        height: 51px;
    }

        .b-nav-mobile button {
            height: 40px;
        }

    .b-loginbut {
        margin-left: 0px !important;
    }

    .main-menu li a {
        margin-right: 0px !important;
        text-align: center !important;
        margin-bottom: 20px;
    }

    .main-menu {
        padding: 5px 0px;
    }

    .navbar-dark .navbar-toggler {
        color: rgba(255,255,255,1);
        border: none;
    }

    .b-btn-toggler:focus {
        outline: none !important;
    }

    .b-btn-login {
        border: none;
    }

        .b-btn-login.focus, .b-btn-login:focus {
            box-shadow: 0 0 0 0.2rem rgba(248,249,250,0);
        }

    .main-menu li a:hover, .main-menu li a.active {
        border-bottom: none !important;
        text-decoration: none;
        background-color: #FFF !important;
        color: #212529 !important;
    }

    .main-menu li a {
        padding: 5px 1px;
        border-bottom: none !important;
    }
}

@media screen and (max-width: 400px) {
    .b-acc-icons .d-inline-block {
        padding: 0px 12px !important;
    }
}



















/* ----------------
Responsive
 ---------------------*/

@media (min-width: 1200px) {
    .container {
        max-width: 1176px;
    }
}

/* Medium screen : 992px. */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .section-title h2,
    .about-text h2 {
        font-size: 65px;
    }

    .main-menu li a {
        margin-right: 20px;
    }

    .about-widget {
        margin-right: 15px;
    }

    .search-result-map {
        height: 600px;
    }

    .search-results {
        padding: 55px 30px 90px;
    }

    .offer-btn {
        min-width: 205px;
    }

    .contact-text {
        padding-right: 40px;
    }

    .blog-item.feature-blog .blog-text {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .blog-item.feature-blog h4 {
        margin-bottom: 15px;
    }
}

/* Tablet :768px. */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .header-section {
        padding: 0 15px;
    }

    .main-menu {
        padding-right: 15px;
    }

        .main-menu li a {
            margin-right: 15px;
        }

    .header-right .register {
        min-width: 110px;
        margin-left: 10px;
    }

    .about-text {
        margin-top: 40px;
    }

    .hero-warp {
        padding: 25px 30px 29px;
    }

    .search-type label {
        margin-right: 5px;
    }

    .search-type .st-item input:checked + label {
        padding: 11px 15px;
    }

    .section-title h2,
    .about-text h2 {
        font-size: 55px;
    }

    .loan-form {
        display: block;
        text-align: center;
        padding: 0 50px;
    }

        .loan-form input {
            margin-bottom: 30px;
        }

    .about-widget {
        border-right: none;
    }

        .about-widget .aw-text {
            max-width: 100%;
        }

    .footer-widger h2 {
        padding-top: 0;
    }

    .page-top-section {
        height: auto;
        padding-bottom: 80px;
    }

    .sell-section {
        padding: 0 20px;
    }

    .search-result-map {
        height: 600px;
    }

    .sidebar {
        padding-top: 50px;
    }

    .contact-text {
        padding-right: 0;
    }
}

/* Large Mobile :480px. */

@media only screen and (max-width: 767px) {
    .header-section {
        padding: 0 15px;
    }

    .site-logo {
        padding: 26px 0;
    }

    .header-nav {
        display: none;
    }

    .slicknav_menu {
        padding: 0;
        display: block;
        background: transparent;
    }

        .slicknav_menu .header-right-warp {
            padding: 10px 0;
            padding-right: 10px;
            border-bottom: 1px solid #111;
            text-align: right;
        }

        .slicknav_menu .header-right .login {
            border-bottom: none;
        }

        .slicknav_menu .header-right .register {
            margin-left: 0;
        }

        .slicknav_menu .header-right a:hover {
            background: transparent;
            color: #fff;
        }

    .slicknav_btn {
        background: #616161;
        margin-top: 29px;
    }

    .slicknav_nav {
        background: #22242b;
        margin-bottom: 30px;
    }

        .slicknav_nav a {
            margin: 0;
            padding: 10px 20px;
            border-bottom: 1px solid #111;
        }

            .slicknav_nav a:hover {
                color: #ff000a;
                border-radius: 0;
                background: #0b0e25;
            }

        .slicknav_nav .slicknav_row {
            padding: 10px 20px;
            margin: 0;
        }

    .slicknav_row a {
        border-bottom: none;
    }

    .slicknav_nav .slicknav_row:hover {
        border-radius: 0;
        background: #0b0e25;
    }

    .slicknav_parent.slicknav_open {
        background: #0b0e25;
        color: #ff000a;
    }

    .hero-section {
        height: auto;
        padding-top: 250px;
        padding-bottom: 100px;
    }

    .hero-warp {
        padding: 25px 20px 29px;
    }

    .about-text {
        margin-top: 40px;
    }

    .search-type label {
        margin-right: 5px;
    }

    .search-type .st-item input:checked + label {
        padding: 11px;
    }

    .search-input {
        display: block;
    }

        .search-input input,
        .search-input.si-v-2 input {
            width: 100%;
            padding: 0 20px;
            margin-bottom: 20px;
        }

    .section-title h2,
    .about-text h2 {
        font-size: 45px;
    }

    .loan-section {
        padding: 0 15px;
    }

    .loan-form {
        display: block;
        text-align: center;
        padding: 0 15px;
    }

        .loan-form input {
            margin-bottom: 30px;
        }

    .about-widget {
        border-right: none;
    }

        .about-widget .aw-text {
            max-width: 100%;
        }

    .footer-widger h2 {
        padding-top: 0;
    }

    .copyright {
        text-align: center;
    }

    .page-top-section {
        height: auto;
        padding-bottom: 80px;
    }

    .search-input.si-v-2 {
        margin-bottom: 0;
    }

        .search-input.si-v-2 .site-btn {
            margin: 0 25px 25px 0;
        }

    .search-results {
        padding: 55px 30px 90px;
    }

        .search-results .filter-btn li {
            margin-right: 10px;
        }

    .search-result-map {
        height: 500px;
    }

    .sidebar {
        padding-top: 50px;
    }

    .contact-text {
        padding-right: 0;
    }

    .sell-section {
        padding: 0 15px;
    }
}

/* Small Mobile :320px. */

@media only screen and (max-width: 479px) {
    .section-title h2,
    .about-text h2 {
        font-size: 38px;
    }

    .search-type label:after {
        display: none;
    }

    .section-title p {
        padding: 25px 0 10px;
    }

    .about-widget {
        margin-right: 0;
    }

    .site-btn.sb-big {
        padding: 21px 25px;
    }

    .search-results {
        padding: 55px 15px 90px;
    }

        .search-results .filter-btn li {
            margin-right: 0;
        }

    .property-info-bar {
        padding: 11px 15px 13px;
    }

    .loan-calculator {
        padding: 30px 15px 25px;
    }

    .contact-form {
        padding: 50px 20px;
    }

        .contact-form .site-btn {
            min-width: auto;
        }
}







/*Add Table Grid Responsive*/


.sttable > thead > tr > th {
    background-color: #223759 !important;
    color: white !important;
    font-weight: bold;
}
/* Pagination. */
.pagination {
    background-color: #223759 !important;
    padding: 10px;
    margin-bottom: 1rem;
    text-align: center;
    display: flex;
    justify-content: left;
    color: white !important;
    font-weight: bold;
}

#numbers {
    padding: 0;
    margin: 0 2rem;
    list-style-type: none;
    display: flex;
}

    #numbers li a {
        color: #fff;
        padding: .5rem 1rem;
        text-decoration: none;
        opacity: .7;
    }

        #numbers li a:hover {
            opacity: 1;
        }

        #numbers li a.active {
            opacity: 1;
            background: #fff;
            color: #333;
        }

#lazy-grid .dataTables_length {
    display: none;
}

#lazy-grid .dataTables_info {
    display: none;
}



#lazy-grid > .dataTables_wrapper {
    background-color: #f2ffcf;
    padding-top: 5px;
}


.dt-button {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
    margin-right: unset;
    margin-bottom: unset;
    cursor: pointer;
    font-size: unset;
}


.dataTables_wrapper .dataTables_filter input {
    background-color: white !important;
    padding: 3px !important;
}


.buttons-copy {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.buttons-csv {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
}

.buttons-excel {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.buttons-print {
    color: #fff;
    background-color: #1c1f23;
    border-color: #1a1e21;
}



.sttable > thead > tr > th:after {
    font-family: "Font Awesome 5 Pro";
    content: "\f07d";
    display: inline-block;
    padding-left: 5px;
    vertical-align: middle;
    font-weight: 900;
    cursor: pointer;
    font-size: 13px;
}

@media screen and (max-width: 600px) {


    .table-bordered > :not(caption) > * > * {
        border-width: inherit;
    }

    .sttable > thead {
        display: none;
    }



        .sttable > thead > tr > th {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

    .sttable tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .sttable td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

        .sttable td::before {
            content: attr(data-label);
            float: left;
            font-weight: bold;
            text-transform: uppercase;
        }

        .sttable td:last-child {
            border-bottom: 0;
        }
}







@keyframes blink {
    0% {
        color: white;
    }

    25% {
        color: red;
    }

    50% {
        color: yellow;
    }

    75% {
        color: greenyellow;
    }

    100% {
        color: yellow;
    }
}

@-webkit-keyframes blink {
    0% {
        color: white;
    }

    25% {
        color: red;
    }

    50% {
        color: yellow;
    }

    75% {
        color: greenyellow;
    }

    100% {
        color: yellow;
    }
}

._BlinkMenuTextA {
    -webkit-animation: blink 1s linear infinite;
    -moz-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite;
    font-weight: bold;
}



.counterboxEMP {
    font-family: 'Sarabun', sans-serif;
    width: 100%;
    padding: 7px 0;
    border-radius: 12px;
    position: relative;
    text-align: center;
    margin: 0 auto;
    z-index: 1;
}

    /*.counterboxEMP:before,*/
    /* .counterboxEMP:after {
        content: "";
        background: var(--main-color);
        width: 100%;
        height: 70px;
        border-radius: 20px 20px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -2;
    }*/

    .counterboxEMP:after {
        top: auto;
        bottom: 0;
    }

    .counterboxEMP .counterboxEMP-icon {
        color: #fff;
        background: var(--main-color);
        font-size: 30px;
        line-height: 50px;
        height: 50px;
        width: 80px;
        border-radius: 0 0 15px 15px;
        margin: 0 auto 20px;
    }

    .counterboxEMP h3 {
        color: #514949;
        font-size: 18px;
        font-weight: 600;
        text-transform: capitalize;
        margin: 0 10px 22px;
        line-height: 1.5;
    }

        .counterboxEMP h3:before {
            content: "";
            background: #fff;
            width: calc(100% - 15px);
            height: calc(100% - 15px);
            border-radius: 12px;
            transform: translateX(-50%) translateY(-50%);
            position: absolute;
            top: 50%;
            left: 50%;
            box-shadow: 0 0 10px rgba(0,0,0,0.8);
            z-index: -1;
        }

    .counterboxEMP .counterboxEMP-value {
        color: var(--main-color);
        /*background-color: var(--main-color);*/
        font-size: 25px;
        font-weight: 600;
        line-height: 55px;
        height: 55px;
        width: 192px;
        display: block;
        border-radius: 10px 10px 0 0;
        margin: 0 auto;
        border-top: 5px solid var(--main-color);
    }

    .counterboxEMP.yellow {
        --main-color: #EEBE60;
    }

    .counterboxEMP.danger {
        --main-color: #EA8585;
    }

    .counterboxEMP.blue {
        --main-color: #67a5d5;
    }

    .counterboxEMP.primary {
        --main-color: #92c67f;
    }

@media screen and (max-width:990px) {
    .counterboxEMP {
        margin-bottom: 40px;
    }

        .counterboxEMP h3 {
            font-size: 15px;
            font-weight: unset !important;
        }

        .counterboxEMP .counterboxEMP-value {
            
            font-size: 25px; 
            width: 143px !important;
          
        }

    .bFM {
        font-size:small;
    }
}
