/*
    Client: Park Hotell Viljandi
    Developer: Edream Management
    Cleaned & Refactored
*/

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
@import url("https://hello.myfonts.net/count/3673db");

@font-face {
    font-family: 'TTKnickerbockers-Grotesk';
    src: url('webfonts/3673DB_0_0.eot');
    src: url('webfonts/3673DB_0_0.eot?#iefix') format('embedded-opentype'),
         url('webfonts/3673DB_0_0.woff2') format('woff2'),
         url('webfonts/3673DB_0_0.woff') format('woff'),
         url('webfonts/3673DB_0_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* --------------------------
    BASE & RESET
-------------------------- */

*, *:before, *:after { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
}

html, body, button, input, select, textarea { color: #736964; }
html, body { background-color: #fff; }
html * { 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
}

body { 
    font: 400 15px/1.6 'Source Sans 3', Arial, sans-serif; 
}

img { vertical-align: middle; }
fieldset { border: 0; margin: 0; padding: 0; }
textarea { resize: vertical; }

menu, ol, ul { padding: 0; margin: 0; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    color: #736964;
    font-family: 'Playfair Display', Georgia, serif;
}

h1, h2, h3 {
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .2px;
    text-transform: uppercase;
}

h1 { font-size: 36px; }
h2 { font-size: 25px; }
h3 { font-size: 20px; line-height: 1.2; }
h4 { font-size: 17px; font-weight: 600; line-height: 1.3; }

.caps { text-transform: uppercase; }
b, strong, .bold { font-weight: 700; }
.black { font-weight: 900; }

a { 
    color: #fe6406;
    text-decoration: none;
    transition: all 0.3s ease; 
}
a:hover { color: #000; }
a:focus, a:active, a:hover { outline: 0; }

.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

#loadingDiv {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0; left: 0; bottom: 0; right: 0;
    background: #000 url('../img/loader.gif') no-repeat 50% 50%;
    z-index: 99999;
}

#wrapperDiv {
    position: relative;
    z-index: 97;
}

/* --------------------------
    GRID & UTILITIES
-------------------------- */

.container, .container_full { 
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto; 
}
.container:before, .container:after,
.container_full:before, .container_full:after,
.row:before, .row:after { 
    display: table;
    content: " "; 
}
.container:after, .container_full:after, .row:after { 
    clear: both; 
}

.row { 
    margin-right: -15px;
    margin-left: -15px; 
}

.cols_16, .cols_20, .cols_23, .cols_25, .cols_30, .cols_33, 
.cols_35, .cols_40, .cols_45, .cols_50, .cols_60, .cols_66, 
.cols_70, .cols_75, .cols_80, .cols_85, .cols_100 {
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}
.cols_100 { width: 100%; }

.pull-right { float: right; }
.pull-left { float: left; }
.small { font-size: 12px; }
.text-center { text-align: center; }
.margintop50 { margin-top: 50px; }
.checkbox { display: block; }

img.static-width {
    width: auto !important; 
    display: block !important; 
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --------------------------
    BUTTONS & FORMS
-------------------------- */

.btn,
.gform_wrapper .gform_footer input.button, 
.gform_wrapper .gform_footer input[type=submit], 
.gform_wrapper .gform_page_footer input.button, 
.gform_wrapper .gform_page_footer input[type=submit] {
    background-color: transparent;
    border: 2px solid #736964;
    color: #736964;
    display: inline-block;
    outline: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    padding: 8px 20px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
}

.btn:hover,
.gform_wrapper .gform_footer input.button:hover, 
.gform_wrapper .gform_footer input[type=submit]:hover, 
.gform_wrapper .gform_page_footer input.button:hover, 
.gform_wrapper .gform_page_footer input[type=submit]:hover { 
    border-color: #fe6406;
    color: #fe6406;
    text-decoration: none; 
}

.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-uus { width: 33%; margin: 1px; }
.btn + a { margin-left: 20px; }

.btn-orange {
    background-color: transparent;
    border: 2px solid #fe6406 !important;
    color: #fe6406 !important;
    display: inline-block;
    outline: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    padding: 8px 20px;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
}
.btn-orange:hover {
    border-color: #736964 !important;
    color: #736964 !important;
}

.form-group { margin: 15px 0; }
.form-control,
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.gform_wrapper textarea {
    display: block;
    width: 100%;
    padding: .7rem 1rem;
    font-size: .875rem;
    line-height: 1.4;
    color: #736964;
    height: 40px;
    background-color: #f2f3f4;
    border: 1px solid #f2f3f4;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', Arial, sans-serif;
}
.form-control:focus,
.gform_wrapper input:focus,
.gform_wrapper textarea:focus { 
    background-color: #eee;
    border-color: #eee; 
}
textarea.form-control, .gform_wrapper textarea { height: 115px; }

.gform_wrapper form li, .gform_wrapper li {
    padding: 0 15px 0 0 !important;
}

/* --------------------------
    HEADER & NAVIGATION
-------------------------- */

.header_container { 
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 25px 40px;
    z-index: 99;
    transition: all 0.3s ease; 
}
.subpage .header_container, 
.header_container.smaller { 
    position: fixed;
    background: #736964;
    box-shadow: 0 0 30px rgba(0,0,0,.5);
    padding: 20px 40px; 
}

.header_container .logo { 
    display: none;
    width: 260px;
    height: 44px;
    text-indent: -9000px;
    background: url('../img/logo.png') no-repeat 0 0 / 260px auto; 
}
.header_container.smaller .logo, 
.subpage .header_container .logo { 
    display: block;
    float: left; 
}

/* Language Switcher */
.language { position: absolute; top: 50px; right: 40px; }
.language ul { position: relative; text-align: center; }
.language li { display: inline-block; font-size: 13px; text-transform: uppercase; }
.language li a { padding: 5px; color: #c8c3af; }
.language li a:hover, .language li.active a { color: #fe6406; }
.smaller .language, .subpage .header_container .language { top: 30px; }

/* Mobile Trigger Button */
.nav_trigger { 
    position: absolute;
    top: 25px; right: 40px;
    z-index: 9;
    color: #c8c3af;
    display: none; 
}
.nav_trigger span { font-size: 10px; font-weight: 700; text-transform: uppercase; margin-left: 10px; }
.nav_trigger .icon { vertical-align: middle; line-height: 1; font-size: 40px; }
.nav_trigger:hover { color: #fe6406; }

/* Main Menu */
.mainmenu { 
    text-align: center;
    padding: 7px;
    border-top: 2px solid rgba(254, 100, 6, 0.5); 
}
.mainmenu li { 
    display: inline-block;
    font-size: 28px;
    letter-spacing: 0;
    text-transform: uppercase;
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif; 
}
.mainmenu li a { padding: 10px 14px 8px; color: #d6d0c0; display: block; }
.mainmenu li a:hover, .mainmenu li.active a { color: #fe6406; }

.smaller .mainmenu, .subpage .header_container .mainmenu { 
    border: 0; padding: 0; float: left; margin-left: 42px; 
}
.smaller .mainmenu li, .subpage .header_container .mainmenu li { 
    font-size: 24px; letter-spacing: 1px; 
}

/* Mobile Fixed Bottom Links */
.mobile_links {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    text-align: center;
    display: none;
    margin: 0;
    padding: 0;
}

/* Works whether .mobile_links is the UL itself or a wrapper around a UL. */
ul.mobile_links,
.mobile_links ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile_links li {
    width: 33.33333%;
    opacity: .9;
    margin: 0;
    padding: 0;
}

.mobile_links a {
    display: block;
    width: 100%;
    padding: 10px;
    min-height: 30px;
    color: #fff;
    font-size: 36px;
    font-weight: normal;
    line-height: 12px;
    background-color: #726963;
    text-align: center;
}
.mobile_links a:hover { background-color: #fe6406; color: #fff; }
.mobile_links span { font-size: 11px; text-transform: uppercase; }
.mobile_links .icon { display: block; line-height: 1; }

/* --------------------------
    HERO / INTRO SECTION
-------------------------- */

.intro { 
    position: relative;
    text-align: center;
    display: table;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
}
.intro-inner { 
    color: #c8c3af;
    display: table-cell;
    vertical-align: middle;
    background: rgba(27, 26, 25, 0.5);
    padding: 30px 19%; 
}
.subpage .intro { height: auto; }
.subpage .intro-inner { padding: 180px 19% 120px; }

.intro-inner h1 { text-transform: uppercase; font-size: 80px; line-height: 1.1; letter-spacing: 0; font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif; }
.intro-inner h1 em { color: #fe6406; font-style: normal; }
.intro-inner h2 { margin: 0; text-transform: uppercase; font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif; }
.intro-inner img { margin-bottom: 20px; }

/* Booking Bar */
.booking { 
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 9;
    text-align: center;
    display: none; 
    justify-content: center;
    align-items: center; 
}
.booking.active { display: flex; }

.booking-block { position: relative; margin: 0 10px; flex-basis: 150px; }
.booking-block:last-child { flex-basis: auto; }
.booking-block .icon { position: absolute; top: 12px; left: 5px; font-size: 20px; color: #c9c3af; line-height: 1; }
.booking-block:last-child small { margin-left: 10px; }
.booking-block:last-child small a { color: #c8c3af; border-bottom: 1px solid #c8c3af; }

.booking-block .btn,
button[title="Vaata saadavust"] {
    background-color: #fe6406;
    border: 0;
    color: #fff;
    font-size: 24px;
    font-weight: normal;
    text-transform: uppercase;
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif;
    letter-spacing: 2px;
}
.booking-block .btn:hover { background: #fff; color: #fe6406; }

.booking-block input, .booking-block select {
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #c8c3af;
    border-radius: 0 !important;
    box-shadow: none;
    color: #c8c3af;
    font-family: 'Source Sans 3', Arial, sans-serif;
    height: 44px;
    line-height: 22px;
    padding: 7px 10px 7px 28px;
    width: 100%;
    -webkit-appearance: none;
}

.booking-block input::placeholder { color: #fff; }
.booking-block input::-webkit-input-placeholder { color: #c8c3af; }
.booking-block input::-moz-placeholder { color: #c8c3af; opacity: 1; }

.trigger_booking { 
    display: block;
    position: fixed;
    top: 50%; right: -75px;
    text-align: center;
    width: 200px;
    transform: translate(0,-50%) rotate(-90deg);
    background: #fe6406;
    padding: 10px 0;
    z-index: 99;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1;
    color: #fff;
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif;
    letter-spacing: 0;
}
.trigger_booking:hover { background: #736964; color: #fff; }

/* --------------------------
    CONTENT AREA
-------------------------- */

.content { padding: 50px 0; }
.home_content { text-align: center; padding: 10% 20%; }
.home_content p { font-size: 16px; line-height: 1.7; }

.content h1, .content h2 { color: #736964; }
.content p { font-size: 15px; line-height: 1.7; }
.content h1 { margin: 10px 0 25px; line-height: 1.25; }
.content h2, .content h3, .content ul { margin: 20px 0; }

/* Split-feature heading level can be H1/H2/H3 without changing its visual size. */
.content .split_feature_heading { font-size: 25px; margin: 20px 0; }

.content li { 
    position: relative;
    margin: 5px 0;
    padding: 0 0 0 20px;
    font-weight: 400;
    line-height: 1.55;
    font-size: 15px;
    color: #736964; 
}
.content li::before { 
    font-family: "Ionicons";
    content: "\f125";
    font-size: 12px;
    position: absolute;
    left: 0; top: 2px;
    color: #736964; 
}

.content img { 
    width: 100%;
    height: auto;
    transition: all 0.3s ease; 
}
.content img:hover { transform: scale(1.03); }
.content img.not_responsive { width: auto; box-shadow: none; }
.content img.alignleft { float: left; margin: 0 1.5em 1em 0; }
.content img.alignright { float: right; margin: 0 0 1em 1.5em; }

blockquote { 
    position: relative;
    padding: 15px 70px;
    margin: 10px 0;
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: #c8c3af; 
}
blockquote::before { 
    content: '{';
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 76px;
    line-height: 1.2;
    position: absolute;
    left: 0; top: 10px;
    color: #c8c3af;
    font-style: normal; 
}
blockquote p { margin: 0; }

.content p a, .content ul a { font-weight: 700; }

/* Rooms Block */
.rooms_blocks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.room_block {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 5%;
    margin-bottom: 50px;
    position: relative;
}
.room_block img { width: 100%; height: auto; }
.content .room_block h2 { font-size: 34px; color: #fe6406; border-bottom: 2px solid #736964; padding: 15px 20px 0; }
.content .room_block h3 { text-transform: uppercase; padding: 0 20px; font-size: 22px; letter-spacing: .3px; margin: 20px 0 0; }
.room_block p { padding: 0 20px; font-size: 14px; margin: 15px 0 0; }
.room_block p .icon { font-size: 16px; }

.room_price { 
    position: absolute;
    top: 0; left: 20px;
    background: #fe6406;
    padding: 10px;
    z-index: 2;
    font-size: 36px;
    line-height: 1;
    color: #fff;
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif; 
}
.room_price span { 
    font-size: 13px;
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    color: #000;
    margin-left: 7px; 
}

/* Features Icons */
.features-icons { text-align: center; padding: 100px 50px 80px; }
.features-icons.normal { text-align: left; padding: 20px 0; }

.content .features-icons-inner ul li { 
    display: inline-block;
    vertical-align: top;
    margin: 10px 50px 0 0;
    background: none;
    padding: 0;
    font-size: 18px;
    line-height: 1; 
}
.content .features-icons-inner ul li::before { content: ""; }
.features-icons-inner ul li img { width: auto; height: 47px; box-shadow: none; }
.features-icons.normal .features-icons-inner ul li img { height: 80px; }
.content .features-icons-inner ul li img:hover { transform: scale(1.05); }
.features-icons-inner ul li span { display: block; font-size: 12px; text-transform: uppercase; font-weight: 700; margin-top: 20px; }

/* Accordion */
.accordion { position: relative; overflow: hidden; margin: 20px 0; }
.accordion h3, .subpages_content .accordion h3 { 
    position: relative;
    padding: 15px 40px 15px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    margin: 0;
    color: #736964; 
}
.accordion h3::after { 
    font-family: "Ionicons";
    content: "\f123";
    font-size: 18px;
    position: absolute;
    right: 10px; top: 17px;
    font-weight: normal;
    color: #bfbbb9; 
}
.accordion h3.active::after { content: "\f126"; color: #fe6406; }
.accordion h3.active { color: #fe6406; }
.accordion .acc_txt { position: relative; padding: 5px 20px; border-bottom: 1px solid #eee; }

/* Tables */
.table {
    width: 100%;
    text-align: left;
    overflow-x: auto;
    border-collapse: collapse;
}
.table td, .table th {
    padding: 16px 25px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    text-align: left;
    transition: all .3s ease;
}
.table td { font-size: 14px; }
.table tr:hover td, .table tr:focus td { background-color: #f3f3f3; }
.table thead th { vertical-align: bottom; }
.table .btn { margin-right: 10px; }
.table .btn:last-child { margin-right: 0; }

/* Media Embeds & Misc Elements */
.videoWrapper { position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0; margin-top: 15px; }
.videoWrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.separator { width: 100%; height: 90px; margin: 40px 0 10px; background: url('../img/separator.png') no-repeat 50% 0 / auto 50px; }

.map_wrapper { padding: 10px 0; }
#map { height: 360px; width: 100%; z-index: 7; }

/* Lightgallery */
.lg-backdrop { background-color: #fff; }
.lg-toolbar { background-color: rgba(255, 255, 255, 0.45); }
.lg-toolbar .lg-icon { color: #736964; }
.lg-toolbar .lg-icon:hover { color: #000; }
.lg-sub-html { background-color: rgba(255, 255, 255, 0.8); color: #000; }
.lg-sub-html h4 { font-size: 24px; font-weight: 700; color: #736964; }
.lg-sub-html p { font-size: 15px; }
.lg-actions .lg-next, .lg-actions .lg-prev { background-color: rgba(255, 255, 255, 0.7); color: #736964; }
.lg-actions .lg-next:hover, .lg-actions .lg-prev:hover { color: #000; }
.lg-outer .lg-thumb-outer { background-color: #736964; }
.lg-outer .lg-toogle-thumb { background-color: #736964; color: #fff; }
.lg-outer .lg-thumb-item { border-radius: 0; }
.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover { border-color: #000; }

/* Gallery */
.gallery { padding: 10px; position: relative; text-align: center; }
.gallery a { display: inline-block; max-width: 204px; margin: 1px 0; }
.gallery a img { width: 100%; height: auto; }
.gallery .caption { display: none; }
.gallery-wrap { position: relative; }

.gallery .btn, .gallery-wrap .btn { 
    position: absolute;
    bottom: 30px; left: 50%;
    padding: 20px;
    transform: translate(-50%, 0);
    border: none;
    color: #fff;
    background-color: #fe6406;
}
.gallery .btn:hover, .gallery-wrap .btn:hover { color: #fe6406; background-color: #fff; }

/* Submenu Navigation */
.subnav_container { position: relative; background-color: #ebe5dc; text-align: center; border-top: 1px solid rgba(115,105,100,.10); border-bottom: 1px solid rgba(115,105,100,.10); }
.subnav_container li { display: inline-block; margin: 0; padding: 0; text-transform: uppercase; font-size: 24px; letter-spacing: 0; font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif; }
.subnav_container a { display: block; padding: 14px 20px; }
.subnav_container a:hover { color: #736964; }
.subnav_container li.active a { color: #736964; border-bottom: 1px solid #736964; }
.subnav_container .current-menu-item a { color: #736964 !important; }

/* --------------------------
    SLIDERS
-------------------------- */

.swiper-container { width: 100%; padding: 0 0 5rem; }
.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    height: 100%;
    background: #fff;
}
.swiper-pagination { bottom: 0; }
.swiper-button-next, .swiper-button-prev { background-size: 18px auto; }
.swiper-pagination-bullet-active { background: #0f3800; }

/* Big Hero Slider */
.swiper-container.bigslider { width: 100%; padding: 0; height: 66vh; }
.bigslider-content {
    text-align: left;
    color: #fff;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8rem;
}
.bigslider .swiper-button-next, 
.bigslider .swiper-button-prev { 
    background-image: url(../img/arrow_right_white.svg);
    background-size: 20px auto; 
}
.bigslider .swiper-button-prev { transform: rotate(180deg); }

/* --------------------------
    FOOTER & AWARDS
-------------------------- */

.footer_container { 
    position: relative;
    background-color: #e5ded4;
    color: #333;
    padding: 40px 0; 
}

.footer_content { 
    padding-right: 150px;
    display: flex; 
}
.footer_block { 
    padding: 0 8% 30px 0;
    color: #736964;
    vertical-align: top;
}
.footer_block h3 { text-transform: uppercase; }
.footer_block ul { margin: 15px 0; }
.footer_block li { text-transform: uppercase; font-size: 14px; margin-bottom: 5px; }

.footer_container .social { position: absolute; right: 0; top: 5px; }
.footer_container .social a { 
    display: inline-block;
    width: 44px; height: 44px;
    border-radius: 50px;
    color: #736964;
    border: 1px solid #736964;
    text-align: center;
    line-height: 44px;
    font-size: 24px;
    margin: 0 10px 10px 0; 
}
.footer_container .social a:hover { border-color: #fff; color: #000; }
.footer_container .copy { font-size: 12px; color: #736964; }

/* Cleaned Award Container - Flexbox solution prevents badge wrapping */
.award { 
    position: relative;
    left: 0;
    margin-top: 10px;
}
.award_media { 
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.award_media a { 
    position: relative;
    display: inline-block;
    top: auto;
    left: auto;
}

/* --------------------------
    MOBILE OVERLAY NAVIGATION
-------------------------- */

.nav_overlay { 
    position: fixed;
    width: 290px;
    top: 20px; right: 20px;
    padding: 40px 30px 30px;
    background: #736964;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    box-shadow: 0 0 35px rgba(0,0,0,.2); 
}
.nav_overlay.active { display: block; }

.overlay_close { 
    position: absolute;
    right: 20px; top: 6px;
    font-size: 55px;
    line-height: 1; 
}

.nav_overlay ul.mobilenav { list-style: none; position: relative; }
.nav_overlay ul.mobilenav li { 
    display: block;
    letter-spacing: 1px;
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif;
    font-size: 24px;
    text-transform: uppercase; 
}
.nav_overlay ul.mobilenav li a { display: block; color: #fff; }
.nav_overlay ul.mobilenav li a:hover, 
.nav_overlay ul.mobilenav li.active a { color: #fe6406; }

/* Cleaned Mobile Submenu Rules */
.nav_overlay ul.mobilenav ul { 
    padding: 5px 10px;
    border-bottom: 1px solid #a09791;
    border-top: 1px solid #a09791; 
}
.nav_overlay ul.mobilenav ul li { 
    font-size: 20px;
    display: block;
    width: 100%;
    clear: both;
    float: none;
}
.nav_overlay ul.mobilenav li.active ul a { color: #fff; }
.nav_overlay ul.mobilenav li.active ul a:hover, 
.nav_overlay ul.mobilenav li.active ul li.active a { color: #fe6406; }

.lang_nav { display: none; }
.nav_overlay ul.mobilenav.lang_nav { 
    text-align: center;
    margin: 20px 0 0;
    padding: 7px;
    background: #58504a; 
}
.nav_overlay ul.mobilenav.lang_nav li { display: inline-block; font-size: 18px; letter-spacing: 2px; }
.nav_overlay ul.mobilenav.lang_nav li a { padding: 7px; border: 0; }

/* Fullscreen Mobile Map */
.map_overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: none;
    text-align: center;
    background: #fff;
}
.map_overlay.active { display: block; }
.map_overlay .map_close {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 60px;
    line-height: 1;
    color: #fe6406;
    z-index: 99;
}
.map_overlay .map_close:hover { color: #000; }

.map_mobile { position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.map_mobile .btn {
    position: absolute;
    bottom: 20px; left: 20px; right: 20px;
    background: #fe6406;
    color: #fff;
    border: 0;
}
.map_mobile .btn:focus { background: #000; }
.map_mobile iframe { width: 100%; height: 100%; }

/* --------------------------
    DATEPICKER
-------------------------- */

.ui-datepicker { padding: 0; box-shadow: 0 0 10px rgba(0, 0, 0, .5); z-index: 1000 !important; }
.ui-widget-header {
    font-family: 'Source Sans 3', Arial, sans-serif;
    border: 0; background: #736964;
    font-weight: normal; color: #000;
}
.ui-widget-content {
    border: 0; background: #f5f5f5; color: #000;
    font-family: 'Source Sans 3', Arial, sans-serif;
}
.ui-widget.ui-widget-content { border: 0; }
.ui-datepicker table { margin: 0; }
.ui-datepicker th { font-weight: normal; color: #000; }
.ui-datepicker td { padding: 0; }

.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br,
.ui-corner-left, .ui-corner-bl, .ui-corner-tr, .ui-corner-top, .ui-corner-tl { border-radius: 0; }

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #e5e5e5;
    background: transparent;
    color: #333;
    text-align: center;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-state-hover, .ui-widget-content .ui-state-hover {
    border: 1px solid #736964;
    background: #736964;
    color: #fff;
}
.ui-datepicker .ui-datepicker-prev-hover { left: 2px; }
.ui-datepicker .ui-datepicker-next-hover { right: 2px; }
.ui-datepicker-title { color: #fff; }

.resp-container { position: relative; overflow: hidden; padding-top: 80%; }
.resp-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------
    MEDIA QUERIES
-------------------------- */

@media only screen and (min-width: 768px) {
    .cols_16 { width: 16.66666667%; }
    .cols_20 { width: 20%; }
    .cols_23 { width: 23%; }
    .cols_25 { width: 25%; }
    .cols_30 { width: 30%; }
    .cols_33 { width: 33.3333333%; }
    .cols_35 { width: 35%; }
    .cols_40 { width: 40%; }
    .cols_45 { width: 45%; }
    .cols_50 { width: 50%; }
    .cols_60 { width: 60%; }
    .cols_66 { width: 66.66666667%; }
    .cols_70 { width: 70%; }
    .cols_75 { width: 75%; }
    .cols_80 { width: 80%; }
    .cols_16, .cols_20, .cols_25, .cols_30, .cols_33, .cols_35, 
    .cols_40, .cols_45, .cols_50, .cols_60, .cols_66, .cols_70, 
    .cols_75, .cols_80, .cols_100 { float: left; }
}

@media only screen and (min-width: 1200px) {
    .container { width: 1100px; margin: 0 auto; }
}

@media only screen and (max-width: 1599px) {
    .intro-inner h1 { font-size: 55px; }
    .mainmenu li a { padding: 13px 12px 0; }
}

@media only screen and (max-width: 1350px) {
    .table td, .table th { padding: 10px 15px; }
}

@media only screen and (max-width: 1270px) {
    .subpage .header_container nav { display: none; }
    .subpage .nav_trigger { display: block; }
    .subpage .language { right: 145px; top: 30px; }
    .footer_block { padding: 0 5% 30px 0; }
}

@media only screen and (max-width: 1150px) {
    .mainmenu { text-align: left; }
}

@media only screen and (max-width: 1024px) {
    .intro-inner h1 { font-size: 65px; }
    .footer_container { text-align: center; }
    .footer_content { display: block; }
    .footer_block { display: inline-block; width: 33%; padding: 0 0 30px; }
    .footer_block:last-child { display: block; width: 100%; }
    .footer_container .social { margin: 20px 0; position: relative; }
}

@media only screen and (max-width: 990px) {
    .header_container nav { display: none; }
    .nav_trigger { display: block; }
    .language { right: 145px; top: 30px; }
}

@media only screen and (max-width: 900px) {
    .intro-inner h1 { font-size: 66px; }
    .intro-inner h2 { font-size: 28px; }
    .footer_container { text-align: center; }
    .footer_content { display: block; }
    .footer_block { display: inline-block; width: 45%; padding: 0 0 30px; }
    .footer_block:last-child { display: block; width: 100%; }
    .footer_container .social { margin: 20px 0; position: relative; }
}

@media only screen and (max-width: 768px) {
    .cols_25, .cols_30, .cols_33, .cols_35, .cols_40, 
    .cols_45, .cols_50, .cols_60, .cols_66 {
        float: left;
        width: 50%;
        margin-bottom: 20px;
    }
    .cky-revisit-bottom-left { margin-bottom: 65px !important; left: 6px !important; }
}

@media only screen and (max-width: 730px) {
    .cols_25, .cols_30, .cols_33, .cols_35, .cols_40, 
    .cols_45, .cols_50, .cols_60, .cols_66 {
        float: none;
        width: 100%;
    }
    .header_container.smaller, .subpage .header_container { padding: 20px; }
    .header_container .logo { background-size: 225px auto; }
    .nav_trigger { right: 20px; }
    .language { right: 120px; }
    .home_content { padding: 0 10%; }
    .footer_content { padding-right: 0; background-image: none; }
    .footer_container .social { position: relative; right: auto; top: auto; }
    .subnav_container { display: none; }

    /* Responsive Tables */
    .table, .table thead, .table tbody { display: block; }
    .table thead tr { position: absolute; top: -9999px; left: -9999px; }
    .table td, .table th {
        display: block;
        padding: 6px 10px;
        font-size: 12px;
    }
    .table td {
        border: none;
        position: relative;
        padding-left: 130px;
    }
    .table td:before {
        position: absolute;
        top: 6px; left: 6px;
        width: 110px;
        padding-right: 10px;
        white-space: nowrap;
        text-align: right;
        font-weight: 700;
        content: attr(data-title);
    }
    .table tr { display: block; border-bottom: 1px solid #ccc; padding: 10px 0; }
    .table tr:hover td { border-bottom: 0; background-color: #f3f3f3; }
    .table .text-right { text-align: right; margin-top: -30px; }
}

@media only screen and (max-width: 650px) {
    .footer_container { text-align: center; }
    .footer_content { display: block; }
    .footer_block { display: inline-block; width: 45%; padding: 0 0 30px; }
    .footer_block:last-child { display: block; width: 100%; }
    .footer_container .social { margin: 20px 0; }
    .award { left: 0; }
}

@media only screen and (max-width: 600px) {
    .intro-inner { padding: 30px; }
    .rooms_blocks { display: block; }
    .room_block { flex: none; max-width: 100%; padding: 0; margin-bottom: 40px; }
    .table td { padding-left: 40%; }
    .table td:before { width: 35%; }
    .table .text-right { text-align: left; margin-top: 0; }
}

@media only screen and (max-width: 560px) {
    .header_container .language { display: none; }
    .lang_nav { display: block; }
    .booking { display: none; }
    .mobile_links { display: block; }

    /* Force the action list itself into one horizontal row. */
    ul.mobile_links,
    .mobile_links ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .mobile_links li {
        float: none !important;
        flex: 1 1 0 !important;
        width: 33.33333% !important;
        max-width: 33.33333% !important;
    }

    .trigger_booking { display: none !important; }
    .subpage .intro-inner { padding: 150px 30px 50px; }
    .intro-inner h1 { font-size: 50px; }
    blockquote { padding: 15px 15px 15px 60px; font-size: 16px; }
    .features-icons { padding: 40px 0; }
    .footer_container { padding: 40px 0 90px; }
}

@media only screen and (max-width: 430px) {
    h1 { font-size: 34px; }
    h2 { font-size: 26px; }
    .content .split_feature_heading { font-size: 26px; }
    .nav_overlay { 
        width: 100vw;
        top: 0; left: 0; right: 0; bottom: 0;
        box-sizing: border-box;
    }
    .nav_trigger { top: 20px; }
    .nav_trigger span { display: none; }
    .home_content { padding: 0; }
    .accordion h3, .subpages_content .accordion h3 { padding: 15px 30px 15px 0; }
    .accordion h3::after { right: 0; }
}

@media only screen and (max-width: 400px) {
    .gallery a { margin: 0; }
    .gallery { padding: 0; }
}

@media only screen and (max-width: 390px) {
    .header_container .logo, 
    .header_container.smaller .logo, 
    .subpage .header_container .logo { 
        background-size: 185px auto;
        height: 37px;
        width: 185px; 
    }
}

/* Refined navigation treatment */
.mainmenu li a,
.subnav_container a {
    transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}

.subnav_container li + li {
    margin-left: 2px;
}


/* Refined selected top-level navigation state */
.mainmenu li.active > a,
.mainmenu li.current-menu-item > a,
.mainmenu li.current_page_item > a,
.mainmenu li.current-menu-parent > a,
.mainmenu li.current-menu-ancestor > a {
    color: #fe6406 !important;
}


/* -------------------------------------------------
   TYPOGRAPHY SYSTEM
   Brand: TTKnickerbockers-Grotesk
   Editorial headings: Playfair Display
   Body/UI copy: Source Sans 3
------------------------------------------------- */

.mainmenu li,
.intro-inner h1,
.intro-inner h2,
.booking-block .btn,
button[title="Vaata saadavust"],
.trigger_booking,
.subnav_container li,
.nav_overlay ul.mobilenav li,
.room_price {
    font-family: 'TTKnickerbockers-Grotesk', Arial, sans-serif;
}

.content h1,
.content h2,
.content h3,
.content h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

.content h1,
.content h2,
.content h3 {
    line-height: 1.2;
}

blockquote,
blockquote::before,
.room_price span {
    font-family: 'Playfair Display', Georgia, serif;
}


/* Hero heading colors: warm champagne/gold brand tone */
.intro-inner h1,
.intro-inner h2,
.intro-inner h3,
.intro-inner h4 {
    color: #d6d0c0;
}

.intro-inner h1 em {
    color: inherit;
}
