/*
* Template Name: Microsite
* Author: Laguna Property
* Designed & Coding by : Ton Sitewonders
*/

@import url("animate.css");

/*
* Font
* -----------------------------------------------------------------------
* Primary: font-family: 'EB Garamond', serif;
* Soft content: font-family: 'Nanum Myeongjo', serif;
*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&display=swap');

/*
* Reset HTML Format
* -----------------------------------------------------------------------
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
button,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    text-decoration: none;
    list-style: none;
}

body {
    font-size: 23px;
    line-height: 1.8em;
    font-style: normal;
    font-weight: normal;
    text-align: left;
    overflow-x: hidden;
    overflow-y: s croll;
    background: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

h1 {
    font-weight: 700;
    line-height: normal;
}

h2 {
    font-weight: 400;
    line-height: normal;
}

h3 {
    font-size: 20pt;
    font-weight: 300;
    line-height: normal;
}

h4 {
    font-size: 18pt;
    font-weight: 600;
}

h5 {
    font-size: 14pt;
    font-weight: 600;
}

h6 {
    font-size: 12pt;
    font-weight: 600;
}

p {
    font-size: 13px;
}

a,
a:visited,
a:hover,
a:active,
a:link {
    color: inherit;
    text-decoration: none !important;
    -moz-transition: all 0.3s ease !important;
    -ms-transition: all 0.3s ease !important;
    -o-transition: all 0.3s ease !important;
    -webkit-transition: all 0.3s ease !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    outline: 0 !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: 0 !important;
}

h1,
h2 {
    margin: 0 !important;
    padding: 0;
}

section.about-us,
section.grid {
    background: #f3f3f3;
}

header {
    z-index: 100 !important;
}

.clear-fix {
    display: block;
    clear: both;
}

.form-wrapper a {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 13px;
    line-height: 20px;
    vertical-align: middle;
    color: #000 !important;
}

#lbl_term::after {
    content: "|";
    margin: 0 3px 0 10px;
    font-size: 15px;
    color: #082b26;
}


/*
* Icon
* -----------------------------------------------------------------------
*/

.select-box::after {
    content: "\f0d7";
}

.adult::before {
    content: "\f183";
}

.child::before {
    content: "\f1ae";
}

.rooms::before {
    content: "\f236";
}


/*
* Sitewonders Preloader
* -----------------------------------------------------------------------
*/

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.mainpreloader {
    position: relative;
    width: auto;
    height: auto;
}

.mainpreloader img {
    display: block;
    margin: 0 auto;
    z-index: 999;
    max-width: 200px;
}

.mainpreloader span {
    display: block;
    font-size: 8pt;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 10px auto;
    color: #a9592e;
}

.bg-preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 999;
    background: #e1e1e1;
}

.logo-preloader {
    -webkit-animation: fadeimg 1s infinite linear;
    animation: fadeimg 1s infinite linear;
}

@-webkit-keyframes fadeimg {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeimg {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*
* Theme style
* -----------------------------------------------------------------------
*/

header,
footer {
    position: fixed;
    z-index: 200;
    background: none;
}

header {
    top: 0;
}

main {
    position: fixed;
    z-index: 200;
}

footer {
    bottom: 0;
}

header .site-logo {
    width: 152px;
    height: 95px;
    position: fixed;
    top: 0;
    left: 10px;
    margin: 0;
    z-index: 610;
    display: block;
    background: left center no-repeat;
    background-size: 100%;
}

.header-tab {
    position: fixed;
    width: calc(100% - 280px);
    top: 0;
    left: 0;
    background: #fff;
    font-size: 20px;
    z-index: 200;
    font-weight: 300;
    text-align: center;
    height: 95px;
}

.header-tab::after {
    content: '';
    display: none;
    width: 100px;
    height: 285px;
    background: url(../images/award-ribbon.png) top center no-repeat;
    background-size: 80%;
    position: absolute;
    right: 310px;
    top: 0;
    z-index: 20;
}

.header-tab .text-wrapper {
    position: relative;
    left: 10px;
    width: calc(100% - 40vw);
}

.header-tab h1 {
    padding-top: 0px;
    margin: auto !important;
    width: 100%;
    text-align: center;
    display: block;
    color: #522112;
    font-weight: 300;
    font-size: 18px;
    font-family: 'EB Garamond', serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 95px;
    padding-left: 40px;
}

@media (max-width: 1200px) {
    .header-tab h1 {
        line-height: 23px;
        padding: 1.8vh 0 0 0;
        position: relative;
        left: 240px;
        width: calc(100% - 400px);
        margin: 0 !important;
    }
}

@media (max-width: 990px) {
    .header-tab h1 {
        padding: 1.4vh 0 0 0;
        width: calc(100% - 260px);
        left: 180px;
        font-size: 16px;
    }
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}


/*
* Intro Text
* -----------------------------------------------------------------------
*/
.intro-text {
    position: absolute;
    top: 120px;
    left: 0;
    z-index: 100;
    padding: 0;
    width: 100%;
    height: fit-content;
}
.intro-text > div {
    width: 100%;
    padding: 0 5%;
    position: absolute;
    top: 0;
    text-align: center;
}
.intro-text .content-left {
    left: 0;
    border-right: solid 1px #fff;
}
.intro-text .content-right {
    right: -50px;
    margin: auto;
}
.intro-text h4 {
    font-family: "Optima";
    font-size: 18px;
    line-height: 20px;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 0 15px rgba(0,0,0,1);
    margin: 0 0 10px 0 !important;
}

@media (max-width: 768px) {
    .intro-text {
        top: 155px;
    }
    .intro-text > div {
        width: 100%;
        padding: 0;
    }
    .intro-text h4 {
        font-size: 14px;
        line-height: 15px;
        text-shadow: 0 0 10px rgba(0,0,0,1);
    }
    .intro-text .content-right {
        right: auto; 
        left: 0;
    }
}

/*
* Navigation Language Drop-down
* -----------------------------------------------------------------------
*/
.language {
    position: fixed;
    right: 340px;
    top: 25px;
    width: auto;
    height: auto;
    z-index: 900;
    cursor: pointer;
}

.language,
.language ul,
.language ul li {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    border-left: solid 1px transparent;
}

.language span.lang-active::before {
    content: "";
    display: block;
    position: relative;
    top: 0;
    width: 20px;
    height: 14px;
    -webkit-box-shadow: 0px 0px 50px blur rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 50px blur rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 50px blur rgba(0, 0, 0, 0.2);
}

.language span.lang-active.en::before,
.language ul li.en::before {
    background: url("../images/flag-en.png") center center no-repeat;
    background-size: 100%;
}

.language span.lang-active.ru::before,
.language ul li.ru::before {
    background: url("../images/flag-ru.png") center center no-repeat;
    background-size: 100%;
}

.language span.lang-active.zh::before,
.language ul li.zh::before {
    background: url("../images/flag-zh.png") center center no-repeat;
    background-size: 100%;
}

.language span.lang-active.th::before,
.language ul li.th::before {
    background: url("../images/flag-th.png") center center no-repeat;
    background-size: 100%;
}

.language .dropdown {
    width: auto !important;
    height: auto !important;
    padding: 0px !important;
    border-radius: 5px;
    left: -150px !important;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.language ul li {
    width: 100%;
    line-height: auto;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    padding: 0 10px;
    position: relative;
}

.language ul li:hover {
    background: #ffffff;
    border-bottom: solid 1px #ffffff;
}

.language ul li::before {
    content: "";
    display: inline-block;
    position: relative;
    width: 20px;
    height: 14px;
    margin-right: 10px;
    top: 0px;
}

.language ul li a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 12px !important;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-indent: 40px;
}

.language ul li a {
    text-transform: none !important;
    font-weight: 200 !important;
}

.language ul li.en a {
    font-size: 12px !important;
}

.language ul li.th a {
    font-family: SukhumvitSet_Medium !important;
    font-size: 14px !important;
}

.language ul li.ru a {
    text-transform: lowercase !important;
    font-size: 14px !important;
}

/*
* Slider
* -----------------------------------------------------------------------
*/
.background-slider {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 80%;
    height: 100%;
    overflow: hidden;
}

@media (min-width: 1900px) {
    .background-slider {
        width: calc(100% - 300px);
    }
}

@media (max-width: 1900px) {
    .background-slider {
        width: calc(100% - 300px);
    }
}

.background-slider .header-overlay,
.background-slider .slide-overlay::before,
.background-slider .slide-overlay::after {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 120;
    transition: all 0.5s;
}

.background-slider .header-overlay {
    display: none;
    top: auto;
    bottom: 0;
    height: 40%;
    background: rgba(16, 52, 75, 0);
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
}

.background-slider .slide-overlay {
    display: none;
    height: 40%;
    background: rgba(16, 52, 75, 0);
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0));
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(0, 0, 0, 0));
}

.background-slider .slide-overlay::before,
.background-slider .slide-overlay::after {
    content: "";
    display: block;
}

.background-slider .slide-overlay::before {
    height: 70%;
    background: rgba(16, 52, 75, 0);
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
    background: -o-linear-gradient(rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
    background: -moz-linear-gradient(rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(0, 0, 0, 0));
}

.background-slider .slide-overlay::after {
    height: 40%;
    top: auto;
    bottom: 0;
    background: rgba(28, 64, 88, 0);
    background: -webkit-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background: -moz-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
}

.background-slider .slide-content {
    position: fixed;
    bottom: 17px;
    height: auto;
    width: 75%;
    left: 0;
    margin: 0 auto;
    z-index: 200;
    text-align: left;
    animation-name: fadeIn;
    animation-duration: 1.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-timing-function: ease-in-out;
    animation-delay: 0s;
    padding: 5px 0 5px 15px;
}

.background-slider .slide-content h1 {
    font-weight: 600;
    letter-spacing: 0em;
    line-height: auto;
    text-shadow: 0 0 10px rgb(255 255 255 / 47%);
    color: #fbf4e3;
}

.slide-content p {
    margin-top: 0;
    color: #fbf4e3;
    font-family: 'Nanum Myeongjo', serif;
    font-style: italic;
}

.background-slider .slide-content span.caption {
    width: auto;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 13px rgba(0, 0, 0, 1);
    text-transform: inherit;
    position: relative;
    z-index: 240;
    letter-spacing: 0.03em;
}

.background-slider .slide-content span.comp-f,
.background-slider .slide-content span.comp-s {
    position: relative;
    top: -10px;
}

.background-slider .maximage.th .slide-content span.caption {
    font-family: 'Nanum Myeongjo', serif;
}

.banner {
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 50;
    color: #fff;
    padding: 25px 20px;
    width: calc(100vw - 20vw);
    text-align: center;
}

.banner span.caption {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.03em;
    font-family: 'EB Garamond', serif;
    text-shadow: 0 0px 10px rgb(0 0 0);
    position: relative;
    z-index: 400;
    letter-spacing: 0.03em;
}

.slide-content img.award {
    position: absolute;
    bottom: 0;
    max-width: 420px;
    z-index: 500;
    margin-top: 20px;
    left: 0;
}


/*
* Navigation
* -----------------------------------------------------------------------
*/
nav {
    width: 330px;
    height: 100px;
    position: fixed;
    bottom: 120px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

nav a {
    position: absolute;
    bottom: 0;
    display: inline-block;
    border: solid 12px rgba(255, 255, 255, 0.4);
    width: 120px;
    height: 60px;
    transition: all 0.3s;
    transform: scale(1, 1);
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
}

nav a:hover {
    transform: scale(1.1, 1.1);
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.5);
}

nav a.left {
    left: 0;
}

nav a.right {
    right: 0;
}

nav a span {
    position: absolute;
    width: 100%;
    overflow: hidden;
    text-align: center;
    text-transform: uppercase;
    font-family: Termina_Bold;
}

nav a span.locate {
    top: 0;
    height: 35px;
    background: #ffffff;
    font-size: 18px;
    color: #a2a7a7;
    line-height: 35px;
    transition: all 0.3s;
}

nav a:hover span.locate {
    color: #22b15d;
}

nav a span.btn-caption {
    bottom: 0;
    height: 25px;
    background: #13a1d5;
    font-size: 14px;
    color: #ffffff;
    line-height: 25px;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif !important;
    text-transform: none !important;
    font-weight: 500;
    letter-spacing: 0.01em;
}

nav a:hover span.btn-caption {
    background: #22b15d;
}

main.th nav a span.locate {
    font-family: SukhumvitSet_Medium;
    font-size: 22px;
}

/*
* Video
* -----------------------------------------------------------------------
*/

.video-button {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90px;
    height: 90px;
    background: url("../images/video-icon.png") center center no-repeat;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.3s;
    transform: scale(1, 1);
    border-radius: 50%;
    z-index: 800;
    opacity: 0.8;
}

.video-button:hover {
    background-size: 100%;
    transform: scale(1.1, 1.1);
    opacity: 1;
}

.video-button:active {
    opacity: 1;
    background-size: 100%;
    transform: scale(1.1, 1.1);
    box-shadow: 0px 0px 40px rgba(255, 255, 255, 0.8);
}

.video-button::after {
    content: "";
    width: 60%;
    height: 60%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: block;
    box-shadow: 0px 0px 40px rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s;
    opacity: 0;
    transform: scale(1, 1);
}

.video-button:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.video-button:active::after {
    transform: scale(10, 10);
    transition: all 0.3s;
    box-shadow: 0px 0px 40px rgba(255, 255, 255, 0);
    opacity: 0;
}

.video-popup .uk-modal-dialog {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    z-index: 9000;
    padding: 20px 10%;
}

.video-popup .video-wrapper {
    width: 70%;
    height: 600px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 5%;
    margin: auto;
}

.video-popup video {
    position: absolute;
    left: 0;
    top: 50px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: auto;
}

#uk-video-tab {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
}

.video-popup .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 40px;
    height: 50px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    color: #00a0dd;
}

.video-popup .btn-close:hover {
    color: #02a94f;
}

.video-popup video:active,
.video-popup video:focus,
.video-popup .btn-close:active,
.video-popup .btn-close:focus {
    outline: none !important;
    border: none !important;
}

.uk-subnav-pill li.uk-active a {
    background-color: #00a1dd;
}

.uk-subnav-pill li a:hover {
    background-color: #02a850 !important;
    color: #ffffff;
}

.uk-subnav-pill li.uk-active a:hover {
    background-color: #00a1dd !important;
}

.uk-subnav-pill li a,
.uk-subnav-pill li.uk-active a {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    letter-spacing: 0.02em;
}

.uk-subnav-pill li {
    padding-left: 0px;
    float: left !important;
    display: inline-block !important;
}

/*.uk-subnav-pill li:first-child{*/
/*margin-left: 4.9%;*/
/*}*/
.uk-subnav-pill li span.tab-icon svg {
    display: none;
}

.uk-subnav-pill li.uk-active span.tab-icon svg {
    display: inline-block;
    width: 30px;
    height: 30px;
}

.uk-subnav-pill li.uk-active span.tab-icon {
    text-align: center;
}

.uk-subnav-pill li span.tab-icon {
    position: relative;
}

.uk-subnav-pill li span.tab-icon::before,
.uk-subnav-pill li span.tab-icon::after {
    content: "";
    /*display: block;*/
    position: absolute;
    left: 5px;
    top: 2px;
    bottom: 0;
    width: 2px;
    height: 14px;
    background-color: #999999;
    transition: all 0.3s;
    display: none;
}

.uk-subnav-pill li span.tab-icon::after {
    left: 10px;
}

.uk-subnav-pill li.uk-active span.tab-icon::before,
.uk-subnav-pill li.uk-active span.tab-icon::after {
    display: none;
}

.uk-subnav-pill li a:hover span.tab-icon::before,
.uk-subnav-pill li a:hover span.tab-icon::after {
    background-color: #ffffff;
}

/*
* Footer
* -----------------------------------------------------------------------
*/

footer {
    position: fixed;
    bottom: 0;
    right: 0;
    width: auto;
    height: auto;
    z-index: 500;
}

footer .copyright {
    position: fixed;
    bottom: 11px;
    left: 15px;
    width: auto;
    text-align: right;
    font-family: 'Roboto', sans-serif !important;
    letter-spacing: 0.01em;
    font-weight: 500;
    font-size: 12px;
    color: #ffffff;
    margin: 0 15px;
    line-height: 12px !important;
}


/*
* Form Wrapper
* -----------------------------------------------------------------------
*/

.form-wrapper {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 200;
    background: #cb6d4f;
    background: linear-gradient(132deg, #cb6d4f 60%, #dad4c6 100%);
    width: 300px;
    height: 100%;
    padding: 20px 10px 30px 10px;
    overflow: auto;
}

.form-wrapper .form-container {
    background-color: #dfddd587;
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 5px 10px;
    border-radius: 20px;
    border: solid 1px #ffffff63;
}

.form-wrapper .languages ul {
    padding: 0;
    width: fit-content;
    margin: -20px auto 0 auto;
}

.form-wrapper .languages ul li {
    display: inline-flex;
    margin: 0;
    border-right: solid 1px #fff3;
}
.form-wrapper .languages ul li:last-child {
    border-right: none !important;
}

.form-wrapper .languages ul li a {
    color: #fff !important;
    font-weight: 600;
    padding: 2px 10px;
    text-transform: capitalize;
    border-radius: 10px;
}

.form-wrapper .languages ul li a:hover {
    background-color: #2c6443;
}

.form-wrapper .languages ul li:last-child:after {
    display: none;
}

.form-wrapper h2,
.form-wrapper h3,
.form-wrapper h4,
.form-wrapper h5 {
    font-family: 'Nanum Myeongjo', serif;
    font-weight: 600;
    font-size: 15px;
    font-weight: 15px;
    text-align: center;
    letter-spacing: 0;
    padding: 0;
    margin-top: 15px !important;
    color: #fff;
}

.form-wrapper h6 {
    font-family: 'EB Garamond', serif;
    font-size: 13px;
    color: #000;
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 20px;
    margin: 10px 0;
}

.form-wrapper span svg {
    color: #2a160b;
}

.form-wrapper .uk-width-1-1 {
    margin-top: 6px;
}

input,
select {
    border: none;
    -webkit-appearance: none !important;
}

input,
select,
textarea {
    font-weight: 600;
    color: #0f191f !important;
    letter-spacing: 0;
    background-color: rgba(255, 255, 255, 0.8);
    border-color: #fff;
    transition: all 0.3s;
    border-radius: 10px;
    font-size: 13px;
    padding: 10px 10px 0 10px;
}

textarea {
    width: calc(100% - 20px) !important;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-family: 'Nanum Myeongjo', serif;
    padding-top: 15px !important;
}

input {
    width: calc(100% - 20px) !important;
    height: calc(40px - 10px) !important;
}

select {
    width: 100%;
    height: 40px;
}

input:focus,
select:focus,
textarea:focus,
input:valid,
select:valid,
textarea:valid,
input:-internal-autofill-selected,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:valid,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:valid {
    background-color: #ffdbdb !important;
}

button,
.uk-button {
    width: 100%;
    height: auto;
    padding: 0;
    cursor: pointer;
    text-align: center;
    border-radius: 20px;
    border: solid 1px #f6f4ef;
    background-color: #3e4543 !important;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    font-size: 15px;
    font-family: 'Nanum Myeongjo', serif;
    color: #f6f4ef !important;
    text-transform: uppercase;
}

button:hover,
.uk-button:hover {
    background-color: #cb6d50 !important;
}

button span {
    position: relative;
    z-index: 10;
    transition: all 0.3s;
}

.form-item {
    position: relative;
}

div.form-item label {
    position: absolute;
    top: 13px;
    left: 10px;
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    color: #5b5138;
    background: transparent;
    transition: all 0.4s;
    transform: scale(1, 1);
    font-family: 'Nanum Myeongjo', serif;
}

div.form-item input:focus~label,
div.form-item input:valid~label,
div.form-item select:focus~label,
div.form-item select:valid~label,
div.form-item textarea:focus~label,
div.form-item textarea:valid~label {
    top: 0;
    transform: scale(0.9, 0.9);
    color: #5b5138;
}

input:valid~label,
select:valid~label,
textarea:valid~label {
    color: #41930e !important;
}

input:valid,
select:valid,
textarea:valid {
    background-color: #d4ffe2 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: 0 0;
}

.uk-modal-body {
    text-align: left;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 16px;
}

.uk-button {
    width: 150px !important;
}

.uk-button:after {
    display: none !important;
}

.uk-button:hover {
    background-color: #E7E6E2 !important;
}

.uk-modal-dialog {
    border-radius: 20px;
    overflow: hidden;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 7px;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(0, 0, 0, .5);
    box-shadow: 0 0 1px rgba(255, 255, 255, .5);
}

/*
* Responsive Resize
* -----------------------------------------------------------------------
*/
@media (max-width:1980px) {
    .video-popup .video-wrapper {
        width: 70%;
        height: 85%;
        bottom: 0;
    }
}

@media (max-width: 1400px) {
    .header-tab .text-wrapper {
        width: calc(100vw - 45vw);
    }
}

@media (max-width:1200px) {
    .video-popup .video-wrapper {
        width: 75%;
        height: 500px;
        bottom: 5%;
    }

    .background-slider {
        width: 80%;
    }
    .header-tab .text-wrapper {
        left: 200px;
    }
}

@media (max-width:1024px) {
    .video-popup .video-wrapper {
        width: 75%;
        height: 500px;
        bottom: 5%;
    }

    .header-tab h1 {
        max-width: 400px;
        text-align: left;
    }

    .banner {
        width: calc(60vw);
        text-align: left;
    }

    .background-slider .slide-content span.caption {
        font-size: 20px;
    }

    .header-tab::after {
        top: 95px;
    }
}

@media (max-width: 800px) {
    .cookieConsentContainer .cookieDesc p {
        display: inline-block;
        line-height: 15px;
        font-size: 13px;
        padding: 5%;
    }

    .cookieConsentContainer .cookieButton {
        float: left;
    }

    .header-tab h1 {
        font-size: 17px;
    }

    .header-tab .text-wrapper {
        position: relative;
        left: 200px;
        top: 8px;
    }

    .banner {
        width: calc(40vw);
    }

    .banner span.caption {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    body {
        background-color: #989898;
    }
    .header-tab {
        width: 100%;
        height: auto;
    }
    header .site-logo {
        width: 152px;
        height: 75px;
        z-index: 9999;
        margin: auto;
        left: 0;
        right: 0;
    }
    .language {
        right: 20px;
    }

    .background-slider {
        width: 100%;
    }

    .background-slider .slide-content span.caption {
        font-size: 16px;
        width: calc(100% - 60px);
        display: flex;
    }

    header,
    .form-wrapper,
    .background-slider {
        position: relative;
    }

    .background-slider,
    #img-background,
    #img-background div.mc-image {
        top: 0;
        left: 0;
        height: 550px !important;
    }

    #img-background,
    #img-background div.mc-image,
    .slide-prev-button,
    .slide-next-button,
    .pagination,
    .background-slider .slide-content,
    .background-slider .header-overlay {
        position: absolute !important;
    }

    #img-background div.mc-image {
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-attachment: inherit !important;
    }

    .background-slider .slide-content {
        width: 100%;
        top: auto;
        bottom: 50px;
    }

    .form-wrapper {
        margin: 0 auto;
        padding: 30px 0 40px 0;
        background-color: transparent;
        z-index: 0 !important;
        width: auto;
    }
    .form-wrapper h2, .form-wrapper h3, .form-wrapper h4, .form-wrapper h5 {
        color: #fff;
        font-size: 18px;
    }

    .slide-prev-button {
        right: 46px !important;
    }

    .slide-next-button {
        right: 5px !important;
    }

    .background-slider .header-overlay {
        top: 200px;
        bottom: auto;
        height: 60%;
    }

    .header-tab h1,
    .header-tab h1.ru {
        padding: 80px 0 10px 10px;
        left: auto;
        margin: 0 !important;
        text-align: center;
        width: 100%;
        max-width: calc(100% - 20px);
        font-size: 15px;
        line-height: 17px !important;
        background-color: transparent;
    }

    .form-wrapper .languages {
        width: 100%;
        position: absolute;
        bottom: 0;
        right: 0;
        background: transparent;
        z-index: 99999999;
    }

    .form-wrapper .languages ul {
        margin: 0 auto 10px auto;
    }

    .form-wrapper .languages ul li {
        line-height: 15px;
    }
    .form-wrapper .languages ul li a {
        background-color: transparent;
        color: #fff !important;
    }
    .header-tab::after {
        width: 47px;
        height: 200px;
        right: 0;
        top: 0;
        background-size: 100%;
    }

    .header-tab .text-wrapper {
        width: 100%;
        left: 0;
        text-align: center;
        top: 0;
    }

    .banner {
        width: calc(100vw - 100px);
        top: 140px;
        line-height: 15px;
        padding: 25px 10px;
    }

    .banner span.caption,
    .banner h1 {
        font-size: 13px;
        line-height: 20px !important;
        letter-spacing: 0;
    }

    .slide-content img.award {
        width: 70%;
    }
    .g-recaptcha {
        transform: scale(1);
        transform-origin: 0 0;
    }
    .form-wrapper .form-container {
        margin: 20px auto !important;
        max-width: 400px;
    }


    #cycle-nav {
        padding: 0 0 0 15px !important;
        right: inherit !important;
        bottom: 40px !important;
        left: 0 !important;
    }

    .lighttext {
        top: 165px !important;
        right: -50px !important;
        left: inherit !important;
        padding: 2px 55px 7px !important;
        rotate: 35deg !important;
        font-size: 11px !important;
    }
}

.lighttext {
    position: fixed;
    top: 135px;
    left: -70px;
    background: #03A9F4;
    padding: 2px 85px 7px;
    rotate: -35deg;
}
.lighttext > span {
    text-transform: uppercase;
    background-image: linear-gradient(-225deg,#ffffff 0%,#ffffff 35%,#5fccff 50%,#ffffff 65%,#ffffff 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    text-fill-color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 2s linear infinite;
    display: inline-block;
    text-shadow: none;
}
@keyframes textclip {
    100% {
        background-position: -200% center;
    }
}

.g-recaptcha {
    display: block;
    width: fit-content;
    margin: -20px auto 0 auto;
}