@font-face {
    font-family: 'BookmanOldStyle';
    src: url('../font/bookman-old-style.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'HelveticaNowDisplay';
    src: url('../font/HelveticaNowDisplay-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NotoSansThai';
    src: url('../font/NotoSansThai-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --layaisland: #866e4b;
    --layaResidences: #344b60;
}

::-moz-selection {
    background-color: #ebf0f4;
    color: #2172bd;
}

::selection {
    background-color: #ebf0f4;
    color: #2172bd;
}

body {
    padding: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #585655;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-family: 'HelveticaNowDisplay', 'NotoSansThai';
    overflow-x: hidden;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: inherit;
    transition: all 0.6s;
}

p {
    margin: 8px 0 15px;
}

select {
    -webkit-appearance: inherit;
    -moz-appearance: inherit;
    list-style: none;
}
figure {
    margin: 0;
}
/**************************/
/* HEADER */
/**************************/
header {
    position: relative;
    width: 100%;
    top: 0;
    background: #fff;
    padding: 12px 25px;
    height: 5vh;
    z-index: 9;
    border-bottom: 1px solid #eee;
    font-size: 12px;

}
header p {
    margin: 0;
}
header div {
    display: inline-block;
}
.box_lang {
    float: right;
    text-align: right;
}
.box_lang img {
    width: 16px;
    height: 16px;
    object-fit: cover;
}
.box_lang a {
    padding: 0 3px;
}
.box_lang a:last-child {
    padding: 0 0 0 3px;
}

/**************************/
/* LAYA RESORT PHUKET */
/**************************/
.main-body {
    position: relative;
    width: 100%;
    display: flow-root;
    overflow: hidden;
}

.our_hotel {
    position: relative;
    height: 95vh;
    overflow: hidden;
}

.layaisland {
    font-family: 'BookmanOldStyle', 'NotoSansThai';
}

.detail_hotel {
    position: relative;
    top: 0;
    width: 100%;
    padding: 25px 50px 0;
    text-align: center;
    z-index: 9;
    background: #fff;
}

.detail_hotel p {
    width: 100%;
    margin: 15px auto;
}

.detail_hotel p:last-child {
    margin: 15px auto 0;
}

.detail_hotel:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -99px;
    height: 100px;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.detail_hotel img {
    object-fit: cover;
}

.layaisland .detail_hotel > div:nth-child(1) {
    height: 100px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.layaisland .detail_hotel img {
    width: auto;
    height: 60px;
}

.layaresidences .detail_hotel img {
    width: auto;
    height: 95px;
}

.cover_hotel {
    /*position: relative;*/
    width: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    top: 100px;
    bottom: 0;
}


.cover_hotel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: all .5s;
}
.cover_hotel:hover img {
    transform: scale(1.03);
}

.about_hotel {
    position: absolute;
    bottom: 0;
    padding: 15px 50px 50px;
    text-align: center;
    width: 100%;
    background: #fff;
    font-size: 14px;
}
.about_hotel a {
    position: relative;
    padding: 0 10px;
    vertical-align: middle;
}
.about_hotel a:after{
    content: '';
    position: absolute;
    right: -3px;
    margin: auto;
    background: #d2d2d2;
    width: 1px;
    height: 15px;
    top: 0;
    bottom: 0;
}
.about_hotel div {
    position: relative;
    z-index: 2;
}

.about_hotel:after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 20px;
    height: 200px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 60%, rgba(255, 255, 255, 0) 100%);
}

.about_mobile {
    display: none;

}
.about_hotel .editable {
    display: none;
}

.about_mobile p {
    margin: 10px 0 0;
}


.about_mobile i {
    text-align: center;
}

.about_mobile a:last-child:after,
.about_hotel a:last-child:after {
    display: none;
}

.layaisland .about_hotel a:hover {
    color: var(--layaisland);
}

.layaresidences .about_hotel a:hover {
    color: var(--layaResidences);
}
.contact p {
    margin: 0;
}


/**************************/
/* WATERMARK */
/**************************/
.layaisland .detail_hotel:before,
.layaresidences .detail_hotel:before,
.layaresidences .pattern :before,
.layaisland .about_hotel:before,
.layaresidences .about_hotel:before,
.layaresidences .pattern_boottom:after {
    content: '';
    position: absolute;
    display: block;
    background-repeat: no-repeat !important;
}

.layaisland .detail_hotel:before,
.layaisland .about_hotel:before,
.layaresidences .about_hotel:before,
.layaresidences .pattern_boottom:after {
    opacity: .3;
}

.layaisland .detail_hotel:before {
    background: url("../images/icon/pattern_laya.svg");
    width: 200px;
    height: 265px;
    top: -100px;
    left: 0;
    transform: rotate(80deg);
    z-index: 2;
}

.layaresidences .detail_hotel:before {
    background: url("../images/icon/pattern_laya_residences.svg");
    width: 295px;
    height: 46px;
    top: 0;
    right: 0;
}

.layaresidences .pattern :before {
    background: url("../images/icon/pattern_laya_residences2.svg");
    width: 350px;
    height: 67px;
    top: -15px;
    left: 50px;
    opacity: .1;
}

.layaisland .about_hotel:before {
    background: url("../images/icon/pattern_laya.svg");
    width: 150px;
    height: 200px;
    bottom: -100px;
    right: 0;
    transform: scaleX(-1);
    z-index: 2;
}

.layaresidences .about_hotel:before {
    background: url("../images/icon/pattern_laya_residences2.svg");
    width: 250px;
    height: 48px;
    left: 50px;
    transform: scaleY(-1);
    bottom: -5px;
    z-index: 2;
}

.layaresidences .pattern_boottom:after {
    background: url("../images/icon/pattern_laya_residences2.svg");
    width: 350px;
    height: 67px;
    right: 0;
    transform: scaleY(-1);
    bottom: -5px;
    z-index: 2;
}


