@import url("https://fonts.googleapis.com/css?family=Kanit&display=swap");

/* @font-face {
    font-family: 'RSU';
    src: url('../fonts/RSU.eot');
    src: url('../fonts/RSU.eot?#iefix') format('embedded-opentype'),
        url('../fonts/RSU.woff2') format('woff2'),
        url('../fonts/RSU.woff') format('woff'),
        url('../fonts/RSU.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RSU';
    src: url('../fonts/RSU-Bold.eot');
    src: url('../fonts/RSU-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/RSU-Bold.woff2') format('woff2'),
        url('../fonts/RSU-Bold.woff') format('woff'),
        url('../fonts/RSU-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'RSU';
    src: url('../fonts/RSU-Light.eot');
    src: url('../fonts/RSU-Light.eot?#iefix') format('embedded-opentype'),
        url('../fonts/RSU-Light.woff2') format('woff2'),
        url('../fonts/RSU-Light.woff') format('woff'),
        url('../fonts/RSU-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
} */

.profile-pic {
    max-width: 200px;
    max-height: 200px;
    display: block;
}

.file-upload {
    display: none;
}
.circle {
    border-radius: 1000px !important;
    overflow: hidden;
    width: 128px;
    height: 128px;
    border: 8px solid rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 72px;
}
.p-image {
    position: absolute;
    top: 167px;
    right: 30px;
    color: #666666;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.p-image:hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.upload-button {
    font-size: 1.2em;
}

.upload-button:hover {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #999;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* body {font-family: 'RSU'; font-weight: normal; font-style: normal; font-size: 1.1rem;} */
body {
    font-weight: normal;
    font-style: normal;
    font-size: 0.9em;
    font-family: "Kanit", sans-serif !important;
}
a {
    transition: all 250ms ease;
    text-decoration: none !important;
}
a.top-nav-btn {
    border: 1px solid #ffffff;
    color: #ffffff;
    min-width: 120px;
    text-align: center;
}
a:hover.top-nav-btn {
    border: 1px solid #ffffff;
    color: #000000;
    background: #ffffff;
    text-decoration: none;
}
a.top-nav-post {
    border: 1px solid #e66d15;
    color: #ffffff;
    min-width: 120px;
    text-align: center;
    background: #e66d15;
}
a:hover.top-nav-post {
    color: #000000;
    text-decoration: none;
}
.user--text {
    font-size: 28px;
}
.main-bg {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)),
        url(../images/bg-2.jpg) center top no-repeat;
    background-size: cover;
}
.main-bg2 {
    background: url(../images/bg2.png) center top no-repeat;
    background-size: cover;
}

.shareBtn {
    background: url(../images/icons8-share-64.png) center top no-repeat;
    background-size: cover;
}

.land-bg {
    background: url(../images/land.png) center top no-repeat;
    background-size: cover;
    min-height: 640px;
}
.house-bg {
    background: url(../images/house.png) center top no-repeat;
    background-size: cover;
    min-height: 640px;
}
.more-bg {
    background: url(../images/bpnpic.jpg) no-repeat;
    background-size: cover;
}
.ads-bg {
    background: url(../images/sayhi.jpg) no-repeat;
    background-size: 100%;
}
.intrend-bg {
    background: url(../images/intrend-bg.jpg) no-repeat;
    background-size: cover;
    min-height: 354px;
}
.footer-color {
    background: #17366c;
}
.tab-active {
    text-decoration: underline !important;
}
.txt-xxl {
    font-size: 5rem;
}
.new--proj .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: #ffffff;
    color: #333333;
    font-size: 19px;
    border-bottom: 5px #5f65af solid;
    border-radius: 0px;
}
.new--proj .nav-pills .nav-link {
    border-radius: 0.25rem;
    font-size: 19px;
    color: #777777;
    font-weight: 100;
}
.bg-pop {
    background: url(../images/popup-bg.png) center top no-repeat;
    background-size: cover;
    height: 890px;
}
.new--proj .nav-pills .nav-link:hover {
    color: #333333;
}
a.room-img {
    background: url(../images/room-ex.jpg) top center no-repeat;
    display: block;
    background-size: cover;
}
a:hover.room-img {
    background: url(../images/room-ex.jpg) top center no-repeat;
    display: block;
    transform: scale(0.95);
    background-size: cover;
}
.box-card {
    width: 100%;
    min-height: 100px;
}
.reg-box {
    background: #bd9d77;
    min-height: 355px;
}
.ads-box {
    background: #ffffff;
    min-height: 355px;
}
.reg-box .btn-outline-secondary {
    color: #ffffff;
    border-color: #ffffff;
}
.reg-box .btn-outline-secondary:hover {
    background: #6b4d29;
}
.trend-text {
    text-shadow: rgba(51, 51, 51, 0.41) 0 0 8px;
}
a.tag-btn {
    border: 1px #168eb3 solid;
    padding: 2px 10px;
    display: inline-block;
    color: #333333;
    border-radius: 5px;
    text-decoration: none;
    margin: 5px;
}
a:hover.tag-btn {
    background: #168eb3 !important;
    color: #ffffff;
}
.locat a {
    color: #333333;
}
.footer-list li {
    list-style: none;
}
.footer-list li a {
    color: #ffffff;
    font-size: 22px;
}
a.white-link {
    color: #ccc;
    text-decoration: none;
}
a:hover.white-link {
    color: #dddddd;
}
.md-size {
    font-size: 22px;
}
a.media-sec-a {
    background: url(../images/img-1.jpg) center top no-repeat;
    background-size: cover;
}
a:hover.media-sec-a {
    transform: scale(0.98);
    box-shadow: #333333 0px 0px 10px;
}
a.media-sec-b {
    background: url(../images/img-2.jpg) center top no-repeat;
    background-size: cover;
}
a:hover.media-sec-b {
    transform: scale(0.98);
    box-shadow: #333333 0px 0px 10px;
}
a.media-sec-c {
    background: url(../images/img-2.jpg) center top no-repeat;
    background-size: cover;
}
a:hover.media-sec-c {
    transform: scale(0.98);
    box-shadow: #333333 0px 0px 10px;
}
a.media-sec-d {
    background: url(../images/img-2.jpg) center top no-repeat;
    background-size: cover;
}
a:hover.media-sec-d {
    transform: scale(0.98);
    box-shadow: #333333 0px 0px 10px;
}
a.media-sec-e {
    background: url(../images/img-2.jpg) center top no-repeat;
    background-size: cover;
}
a:hover.media-sec-e {
    transform: scale(0.98);
    box-shadow: #333333 0px 0px 10px;
}
.und-line {
    text-decoration: underline;
}
.login--lb .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: #ffffff;
    color: #333333;
    border-bottom: 5px #007bff solid;
    border-radius: 0px;
}
.not-alert {
    position: relative;
    top: -15px;
    right: -60px;
}
#userDet.dropdown-toggle::after {
    display: none;
}
.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

/* ////////////////side/////////////// menu */
.sidenav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 100px;
    left: 0;
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 20px;
    border-right: 1px #e8e8e8 solid;
}
.sidenav p {
    font-size: 20px;
}

.sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 18px;
    color: #1674ba;
    display: block;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
}

.sidenav a:hover {
    background: #1f3d71;
    color: #ffffff;
}

.sidenav a.active {
    background: #1f3d71;
    color: #ffffff;
}

.main {
    margin-left: 236px;
    font-size: 18px;
    padding: 0px 10px;
    margin-top: 82px;
}

.acc--user .nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background: #ffffff;
    color: #1674ba;
    font-size: 18px;
    border-bottom: 5px #1674ba solid;
    border-radius: 0px;
}
.acc--user a {
    color: #333333;
}
.mb-me {
    margin-top: 100px !important;
}
.lity-login {
    background: #ffffff;
    width: 640px;
}

/* toggle btn */
.checkbox label .toggle,
.checkbox-inline .toggle {
    margin-left: -20px;
    margin-right: 5px;
}
.toggle {
    position: relative;
    overflow: hidden;
}
.toggle input[type="checkbox"] {
    display: none;
}
.toggle-group {
    position: absolute;
    width: 200%;
    top: 0;
    bottom: 0;
    left: 0;
    transition: left 0.35s;
    -webkit-transition: left 0.35s;
    -moz-user-select: none;
    -webkit-user-select: none;
}
.toggle.off .toggle-group {
    left: -100%;
}
.toggle-on {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 50%;
    margin: 0;
    border: 0;
    border-radius: 0;
}
.toggle-off {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    right: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
}
.toggle-handle {
    position: relative;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    width: 0;
    border-width: 0 1px;
}
.toggle.btn {
    min-width: 59px;
    min-height: 34px;
}
.toggle-on.btn {
    padding-right: 24px;
}
.toggle-off.btn {
    padding-left: 24px;
}
.toggle.btn-lg {
    min-width: 79px;
    min-height: 45px;
}
.toggle-on.btn-lg {
    padding-right: 31px;
}
.toggle-off.btn-lg {
    padding-left: 31px;
}
.toggle-handle.btn-lg {
    width: 40px;
}
.toggle.btn-sm {
    min-width: 50px;
    min-height: 30px;
}
.toggle-on.btn-sm {
    padding-right: 20px;
}
.toggle-off.btn-sm {
    padding-left: 20px;
}
.toggle.btn-xs {
    min-width: 35px;
    min-height: 22px;
}
.toggle-on.btn-xs {
    padding-right: 12px;
}
.toggle-off.btn-xs {
    padding-left: 12px;
}
span.toggle-handle.btn.btn-default {
    background: #ffffff !important;
}

@media (max-width: 768px) {
    .sidenav {
        display: none !important;
    }
    .main {
        margin-left: 0px;
        margin-top: 0px !important;
    }
    .land-bg {
        background-size: cover;
        min-height: 40px;
    }
    .house-bg {
        background-size: cover;
        min-height: 40px;
    }
    .lity-login {
        background: #ffffff;
        width: 100%;
    }
}
@media (max-width: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
    td:nth-child(2) {
        display: none;
    }
    a.pr-3.pl-3.p-2.rounded.m-2.top-nav-post {
        width: 100% !important;
    }
    a.pr-3.pl-3.p-2.rounded.m-2.top-nav-btn {
        width: 100% !important;
    }
}

#overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

#overlaySearch {
    display: none;
    /* position:   fixed; */
    position: fixed;

    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

#overlayExt {
    display: none;
    /* position:   fixed; */
    position: fixed;

    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

#overlayApprove {
    display: none;
    /* position:   fixed; */
    position: fixed;

    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

#overlayEmail {
    display: none;
    /* position:   fixed; */
    position: fixed;

    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

#overlayPwd {
    display: none;
    /* position:   fixed; */
    position: fixed;

    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.8) url("../images/loading.gif") 50% 50%
        no-repeat;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
