/**/
@charset "UTF-8";

#secB {
    background-color: transparent;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 0;
}

.placewrap {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 100px;
    z-index: 999;
}

.placedflexswap {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.placeflexcolume {
    display: flex;
    flex-direction: column;
    width: 90%;
    padding: 0;
    flex-wrap: nowrap;
    align-items: flex-start;

}

.placeflexcolume h1,
.placeflexcolume h2,
.placeflexcolume h3,
.placeflexcolume h4,
.placeflexcolume p {
    color: #FFF;
    transition: all ease-in-out .35s;
    white-space: normal !important;
}

.placeflexcolume h4 {
    /* Place Title  */
    font-family: var(--thaifont);
    font-size: 1.2em;
    line-height: 1em;
    padding: 0;
}

.placeflexcolume h2 {
    /* Place EN name */
    font-family: var(--dmfont);
    font-size: 4em;
    line-height: .9em;
    letter-spacing: 1px;
    margin: 0;
}

.placeflexcolume h3 {
    /* Place TH name */
    font-family: var(--thaifont);
    font-size: 2em;
    line-height: 1.2em;
    margin: 10px 0;
    width: 100%;

}

.placeflexcolume p {
    font-family: var(--thaifont);
    font-size: 1.2em;
    line-height: 1.5em;
    font-weight: 300;
}

/**/
.btnmore {
    display: flex;
    border-radius: 30px;
    padding: 10px 20px;
    color: #FFF;
    background-color: #9f4f24;
    border: none;
    width: auto;
}

/* Slider */
.placeslider {
    position: absolute;
    width: 100%;
    height: 100%;

}

.placeslider {
    width: 100%;
    height: 100%;

}

.placeslider .placebg img {
    width: 100%;
    height: 100%;
    filter: brightness(.4);
    object-fit: cover;
}

.floatleft {
    align-items: flex-start;
}
.floatright {
    align-items: flex-end;
}
/* thumbnail Slider */
.thumbplaceslider {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
}

.thumbplaceslider .placecard {
    cursor: pointer;
    height: 300px;
    width: auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    filter: brightness(.4);

}

.thumbplaceslider .placecard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all ease-in-out .35s;
}

/*.thumbplaceslider .placecard:hover img,
.thumbplaceslider .placecard:focus img {
    transform: scale(1.2);

}*/
.thumbplaceslider .swiper-slide-active {
    filter: brightness(1);
}

.fade {
    opacity: 0;
    animation: fadeIn .5s ease-in 1 forwards;
}

.elementToFadeInAndOut {
    animation-play-state: paused;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/**/
.navigation {
    margin: 30px 0 0 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.navigation button {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 0;
    margin: 0;

}

.navigation .linedec {
    width: 70%;
    height: 1px;
    border-top: 1px solid rgba(255, 255, 255, .8);
}

.navigation button:hover {
    opacity: 0.8;
}

.navigation button i {
    font-size: 3em;
    font-weight: 100;
}

.navigation button img {
    width: 60px;
    height: auto;
}

.navigation .current-slide {
    font-size: 2.5em;
    font-family: var(--numberfont);
    font-weight: 100;
    color: var(--white);
    vertical-align: baseline;
    transition: all ease-in-out 2.5s;
}

.swiper-slide {
    border: none;
}

.swiper-slide-active {
    /*    border: 5px solid var(--white);*/
}

@media(max-width:992px) {
    .placeslider .placebg img {
        object-position: 40% 50%;
    }
}