html, body {
    font-family: 'Kanit', sans-serif;
    color: #636b6f;
    font-weight: 100;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.card-body{
    font-size: 1.2rem;
}

.teko {
    font-family: 'Teko', sans-serif;
}

.navbar-toggler{
    outline: none;
}

/*
 * tabs (custom)
 */
.md-tabs {
    position: relative;
}

.md-tabs .nav-item {
    background-color: #fff;
    width: calc(100% / 4);
    text-align: center;
    margin-bottom: 0;
}

.md-tabs .nav-item .nav-link.active, .md-tabs .nav-item .nav-link.active:focus, .md-tabs .nav-item .nav-link.active:hover {
    color: #d4c031;
    border: none;
    background-color: transparent;
    border-radius: 0;
}

.md-tabs .nav-link:focus, .md-tabs .nav-link:hover {
    border: none;
}

@media only screen and (max-width: 1199px) {
    .md-tabs .nav-item a {
        padding: 15px 0 15px !important;
    }
}

.md-tabs .nav-item a {
    padding: 20px 0 !important;
}

.nav-item a.nav-link {
    color: #71bf2c;
}

.md-tabs .nav-link {
    border: none;
    color: #1b8bf9;
}

.md-tabs .nav-item .nav-link ~ .slide {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.md-tabs .nav-item .nav-link.active ~ .slide {
    opacity: 1;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.nav-tabs .slide {
    background: #d4c031;
    width: calc(100% / 4);
    height: 4px;
    position: absolute;
    -webkit-transition: left 0.3s ease-out;
    transition: left 0.3s ease-out;
    bottom: 0;
}

/*
 * toogle button round
 */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/*
 * tabs toogle button
 */
.tab-slider--nav {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

.tab-slider--tabs {
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    background: rgba(52, 95, 144, 0.07);
    height: 35px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.tab-slider--tabs:after {
    content: "";
    width: 50%;
    background: #345F90;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    border-radius: 35px;
}

.tab-slider--tabs.slide:after {
    left: 50%;
}

.tab-slider--trigger {
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    color: #345F90;
    text-transform: uppercase;
    text-align: center;
    padding: 11px 20px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    display: inline-block;
    -webkit-transition: color 250ms ease-in-out;
    transition: color 250ms ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    padding-left: 30px;
    padding-right: 30px;
}

.tab-slider--trigger.active {
    color: #fff;
}

.tab-slider--body {
    margin-bottom: 20px;
}

/*
 * Content
 */
.preview {
    /*-ms-flex:50%;*/
    /*flex: 50%;*/
    display: block;
    float: left;
    max-width: 720px;
    max-height: 480px;
    min-height: 480px;
}

.transform-down {
    transform: translate3d(0px, 30px, 0px);
    transition-delay: 0s;
    transition-duration: 0.5s;
}

.transform-up {
    transform: translate3d(0px, 0px, 0px);
    transition-delay: 0.1s;
    transition-duration: 600ms;
}

.thumb-index {
    /*-ms-flex:50%;*/
    /*flex: 50%;*/
    max-width: 363px;
}

@media only screen and (max-width: 1200px) {
    .preview {
        -ms-flex: 50%;
        flex: 50%;
    }

    .thumb-index {

    }

    .thumb-index img {
        height: 206px;
        width: auto;
    }

    .row-gallery {
        max-height: 450px;
    }
}

@media only screen and (max-width: 991px) {
    .thumb-index img {
        height: 153.3px;
        width: auto;
    }

    .row-gallery {
        max-height: 335px;
    }
}

@media only screen and (max-width: 767px) {
    .thumb-index img {
        height: 113px;
        width: auto;
    }

    .row-gallery {
        max-height: 250px;
    }
}

@media only screen and (max-width: 575px) {
    .preview {
        -ms-flex: 100%;
        flex: 100%;
        padding: 15px;
        max-height: 100%;
        min-height: 100%;
    }

    .thumb-index {
        max-width: 100%;
    }

    .thumb-index img {
        width: 100%;
        height: auto;
        padding: 15px;
    }

    .row-gallery {
        max-height: 100%;
    }
}

.one-option {
    position: absolute;
    bottom: 0;
}

.description-small {
    display: none;
}

@media only screen and (max-width: 803px) {
    .description-small {
        display: block;
    }

    .description-large {
        display: none;
    }
}

.slide {
    background-position: 50% 50%;
    background-size: contain;
    background-repeat: no-repeat;
}

.leaf {
    position: absolute;
    z-index: -1;
    background-size: cover;
    background-repeat: no-repeat;
}

.leaf1 {
    /*width: 180px;*/
    /*height: 103px;*/
    width: 240px;
    height: 138px;
    background-image: url('../static/imgs/leaf.png');
    margin-top: -1rem;
    margin-left: -1rem;
}

.leaf2 {
    width: 240px;
    height: 138px;
    background-image: url('../static/imgs/leaf2.png');
    right: 0;
    margin-top: -1rem;
    margin-left: -1rem;
}

@media only screen and (max-width: 567px) {
    .leaf1, .leaf2 {
        width: 150px;
        height: 86px;
    }
}

@media only screen and (max-width: 509px) {
    .leaf1, .leaf2 {
        width: 120px;
        height: 69px;
    }
}

@media only screen and (max-width: 414px) {
    .leaf1, .leaf2 {
        width: 100px;
        height: 57px;
    }
}

.main-topic {
    font-weight: bold;
    font-family: 'Teko', sans-serif;
    font-size: 58px;
    padding-top: 25px;
}

.main-content {
    font-size: 32px;
}

.main-content-row {
    font-size: 28px;
}

.see-more {
    position: absolute;
    right: 0;
    bottom: 0;
}

.see-more a{
    text-decoration: underline;
}

@media only screen and (max-width: 409px) {
    .see-more {
        position: static;
    }
}

.owl-two .owl-item {
    max-width: 575px !important;
}

#cardContent {
    /*padding: 2em;*/
    background-color: #f8fafc;
    /*background-image: url("../static/imgs/bed-bedroom-clean-775219.jpg");
    background-attachment: fixed;*/
}

.pg-slide-container{
    position: relative;
    width: 100%;
}

.pg-slide{
    height: auto!important;
    max-height: 768px!important;
}


@media only screen and (min-width: 1367px) {
    #home > div {
      /*max-width: 80%;*/
    }
    #overview > .overview-wrapper {
        background-color: white;
        max-width: 80%;
        position: relative;
        overflow: hidden;
        max-width: 1365.33px;
    }
    #home{
        background-color: #ddffcb;
    }

    #overview{
        background-color: #ddffcb;
        position: relative;
    }

    .leaf{
        z-index: 1;
        margin-top: 0.1px;
    }

    .hide-block-left, .hide-block-right{
        position: absolute;
        background-color: #ddffcb;
        width: 10%;
        height: 300px;
        z-index: 5;
        top: -200px;
    }
    .hide-block-left{
        left: 0;
    }
    .hide-block-right{
        right: 0
    }
  }


@media only screen and (max-width: 600px) {
    .pg-slide, .pg-slide-container {
      max-height: 233!important;
    }
  }

@media only screen and (max-width: 1366px) and (min-width: 768px) {
    .card-size {
        max-width: 33.33333333% !important;
        flex: 0 0 100% !important;
    }
}

#information {
    position: relative;
    bottom: 50px;
    background-color: red;
    color: #0000F0;
    text-align: center;
    height: 120px;
}

#top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    background-color: rgba(110, 116, 141, 0.67);
    outline: none;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 30%;
}

.about-us strong {
    border-bottom: #e3bb1c solid 6px;
    padding-bottom: 10px;
    font-family: 'Prompt', sans-serif;
}

.details {
    font-size: 20px;
}

/*
 * Carousel
 */
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    /*min-height: 100%;*/
}

.item {
    /*max-height: 25em;*/
    width: auto;
}

.owl-one .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    margin: 0 auto;
}

#topic-in-slide {
    position: absolute;
    top: 40%;
    left: 0;
    z-index: 1;
}

#topic-in-slide #topic {
    border-bottom: #FFFFFF solid 5px;
    font-size: 60px;
}

#topic-in-slide h1 {
    margin-bottom: 30px;
}

.slide-up-fade-in {
    animation: slide-up-fade-in ease 1s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    animation-fill-mode: forwards; /*when the spec is finished*/
    -webkit-animation: slide-up-fade-in ease 1s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
    -moz-animation: slide-up-fade-in ease 1s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -moz-animation-fill-mode: forwards; /*FF 5+*/
    -o-animation: slide-up-fade-in ease 1s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -o-animation-fill-mode: forwards; /*Not implemented yet*/
    -ms-animation: slide-up-fade-in ease 1s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
    -ms-animation-fill-mode: forwards; /*IE 10+*/

    opacity: 0;
    opacity: 1 \9;

}

@keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        transform: translate(0px, 40px);
    }
    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@-moz-keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        -moz-transform: translate(0px, 40px);
    }
    100% {
        opacity: 1;
        -moz-transform: translate(0px, 0px);
    }
}

@-webkit-keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        -webkit-transform: translate(0px, 40px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(0px, 0px);
    }
}

@-o-keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        -o-transform: translate(0px, 40px);
    }
    100% {
        opacity: 1;
        -o-transform: translate(0px, 0px);
    }
}

@-ms-keyframes slide-up-fade-in {
    0% {
        opacity: 0;
        -ms-transform: translate(0px, 40px);
    }
    100% {
        opacity: 1;
        -ms-transform: translate(0px, 0px);
    }
}

@media only screen and (max-width: 1024px) {
    #topic-in-slide {
        top: 20%;
    }

    #topic-in-slide #topic {
        font-size: 40px;
    }
}

@media only screen and (max-width: 520px) {
    #topic-in-slide {
        top: 10%;
    }
}

@media only screen and (max-width: 415px) {
    #topic-in-slide #topic {
        font-size: 30px;
    }

    #topic-in-slide p {
        font-size: 10px;
    }
}

/*
 * Gallery
 */
/* Create four equal columns that sits next to each other */
#gallery {
    background-image: url("../static/imgs/home.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.protrait {
    max-height: 26.5em;
}

@media only screen and (max-width: 1199px) {
    .protrait {
        max-height: 22.2em;
    }
}

@media only screen and (max-width: 991px) {
    .protrait {
        max-height: 16.6em;
    }
}

@media only screen and (max-width: 768px) {
    .protrait {
        max-height: 12.5em;
    }
}

@media only screen and (max-width: 600px) {
    .protrait {
        max-height: 60%;
    }
}

.gallery-hide-ipad {

}

@media only screen and (max-width: 800px) {
    .gallery-hide-ipad {
        display: none;
    }
}

.column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column.big {
    max-width: 50.5%;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        /* -ms-flex: 50%;
         flex: 50%;
         max-width: 50%;*/
    }

    .column.big {
        max-width: 100%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

/*
 * Common
 */
.hide {

}

@media screen and (max-width: 767px) {
    .hide {
        display: none;
    }
}

a.dropdown-item:hover {
    color: orangered !important;
}

ul {
    list-style: none;
}

.fade-in {
    animation: fadein 2s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

.animate-top {
    position: relative;
    animation: animatetop 0.8s
}

.kanit {
    font-family: 'Kanit', sans-serif;
}

@keyframes animatetop {
    from {
        top: -200px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.animate-opacity {
    animation: opac 0.8s
}

@keyframes opac {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.img-border {
    border: 5px solid white;
}

.relative {
    position: relative;
}

.img-card {
    height: 350px;
    width: 350px;
}

.badge-corner:empty {
    display: inline-block;
}

.badge-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 66px solid #888;
    border-top-color: forestgreen;
    border-left: 66px solid transparent;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

.badge-corner span {
    position: absolute;
    top: -52px;
    left: -28px;
    font-size: 16px;
    color: #fff;
}

.padding-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.padding-20 {
    padding: 20px 0px;
}

.border-radius {
    border-radius: 26px;
}

.img-room-info {
    background-image: url("../images/simple-bg.jpg");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-moz-keyframes fadein { /* Firefox */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@-o-keyframes fadein { /* Opera */
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content {
    text-align: center;
    width: 100%;
}

.round {
    border-radius: 12px;
}

.sub-title p {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .sub-title p {
        margin-bottom: 0;
    }
}

/*
 * Navbar
 */
.ads {

}

@media (max-width: 970px) {
    .ads {
        margin-top: 2%;
    }
}

@media (max-width: 767px) {
    .ads {
        margin-top: 4%;
    }
}

@media (max-width: 557px) {
    .ads {
        margin-top: 10%;
    }
}

@media (max-width: 400px) {
    .ads {
        margin-top: 15%;
    }
}

.navbar {
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #d4c031 !important;
    /*border-bottom: solid #fff 3px;*/
}

.bg-soft-green {
    background: #71bf2c;
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

header.sticky {
    /* background: rgba(255, 255, 255, 0.5) none repeat scroll 0 0; */
    /*background: #444;*/
    /*background: #d1eeb8;*/
    background: #71bf2c;

    position: fixed;
    transition: all 0.4s ease 0s;
    color: #fff;
    /*color: white;*/
}

header img, .header-img {
    width: 130px;
    height: 40px
}

header.sticky img {
    width: 120px;
    height: 37px
}

header a.nav-link, header .navbar-brand {
    color: #fff !important;
    font-weight: 500;
    font-size: 20px;
}

header ul li a.nav-link {
    padding: 20px 50px;
}

header.sticky ul li a.nav-link {
    padding: 5px 50px;
}

.dropdown:hover .dropdown-menu {
    /*display: block;*/

}

@media (max-width: 991.98px) {
    header.sticky ul li a.nav-link {
        padding: 20px 0px;
    }
}

/*
 * Footer
 */
footer {
    /*position: fixed;*/
    bottom: 0;
}

@media (max-height: 800px) {
    footer {
        position: static;
    }
}

.footer-distributed {
    background-color: #292c2f;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px Kanit;

    padding: 55px 50px;
    /*margin-top: 80px;*/
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
    display: inline-block;
    vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
    width: 40%;
}

/* The company logo */

.footer-distributed h3 {
    color: #ffffff;
    font: normal 36px 'Cookie', cursive;
    margin: 0;
}

.footer-distributed h3 span {
    color: #5383d3;
}

/* Footer links */

.footer-distributed .footer-links {
    color: #ffffff;
    margin: 20px 0 12px;
    padding: 0;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer-distributed .footer-company-name {
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
    width: 35%;
}

.footer-distributed .footer-center i {
    background-color: #33383b;
    color: #ffffff;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #ffffff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

@media (max-width: 991.98px) {
    .footer-distributed .footer-center p span {
        font-size: 8px;
    }
}

.footer-distributed .footer-center p a {
    color: #5383d3;
    text-decoration: none;;
}

/* Footer Right */

.footer-distributed .footer-right {
    width: 20%;
}

.footer-distributed .footer-company-about {
    line-height: 20px;
    color: #92999f;
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed .footer-icons {
    margin-top: 25px;
}

.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #33383b;
    border-radius: 2px;

    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;

    margin-right: 3px;
    margin-bottom: 5px;
}

/* If you don't want the footer to be responsive, remove these media queries */

@media (max-width: 880px) {

    .footer-distributed {
        font: bold 14px Kanit;
    }

    .footer-distributed .footer-left,
    .footer-distributed .footer-center,
    .footer-distributed .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .footer-distributed .footer-center i {
        margin-left: 0;
    }

}

@media only screen and (max-width: 767px) {
    .none {
        display: none;
    }
}

@media only screen and (max-width: 576px) {
    #information {
        bottom: 0px;
    }
}

.fa-line{
    color: #00b900
}

/*
 * Gallery 2 (tz-gallery)
 */
/*.container.gallery-container {*/
/*background-color: #fff;*/
/*color: #35373a;*/
/*min-height: 100vh;*/
/*padding: 30px 50px;*/
/*}*/

/*.gallery-container h1 {*/
/*text-align: center;*/
/*margin-top: 50px;*/
/*font-family: 'Droid Sans', sans-serif;*/
/*font-weight: bold;*/
/*}*/

/*.gallery-container p.page-description {*/
/*text-align: center;*/
/*margin: 25px auto;*/
/*font-size: 18px;*/
/*color: #999;*/
/*}*/

/*.tz-gallery {*/
/*padding: 40px;*/
/*}*/

/*!* Override bootstrap column paddings *!*/
/*.tz-gallery .row > div {*/
/*padding: 2px;*/
/*}*/

/*.tz-gallery .lightbox img {*/
/*width: 100%;*/
/*border-radius: 0;*/
/*position: relative;*/
/*}*/

/*.tz-gallery .lightbox:before {*/
/*position: absolute;*/
/*top: 50%;*/
/*left: 50%;*/
/*margin-top: -13px;*/
/*margin-left: -13px;*/
/*opacity: 0;*/
/*color: #fff;*/
/*font-size: 26px;*/
/*font-family: 'Glyphicons Halflings';*/
/*content: '\e003';*/
/*pointer-events: none;*/
/*z-index: 9000;*/
/*transition: 0.4s;*/
/*}*/

/*.tz-gallery .lightbox:after {*/
/*position: absolute;*/
/*top: 0;*/
/*left: 0;*/
/*width: 100%;*/
/*height: 100%;*/
/*opacity: 0;*/
/*background-color: rgba(46, 132, 206, 0.7);*/
/*content: '';*/
/*transition: 0.4s;*/
/*}*/

/*.tz-gallery .lightbox:hover:after,*/
/*.tz-gallery .lightbox:hover:before {*/
/*opacity: 1;*/
/*}*/

/*.baguetteBox-button {*/
/*background-color: transparent !important;*/
/*}*/

/*@media (max-width: 768px) {*/
/*body {*/
/*padding: 0;*/
/*}*/
/*}*/



