/*
Theme Name: Cape Smokey
Author: aboutblank - Martin Macke
Description: Original theme developed for Cape Smokey
Version: 1.0
*/
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html {
    scroll-behavior: smooth;
  }
:root {
    --textcolor: #333333;
    --gold: #C0A16B;
    --blue: #002A73;
    --darkblue: #273546; 
    --lightblue: #24C6DC;
    --altblue: #1B98A8;
    --lightgray: #f0f4f4;
    --darkgray: #A7ADB4;
    --gray: #FBFCFC;
    --gap: 2em;
    /* Fluid typography */
    --base-font-size: 14px;
    --fluid-typography-ratio: 0.2;
    --rem: calc(var(--base-font-size) + var(--fluid-typography-ratio) * 1vw);
}
body {
    color: var(--textcolor);
    font-size: var(--rem);
    line-height: 1.55;
    font-family: var(--wp--preset--font-family--din-2014);
    font-weight: 400;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
a:not(.wp-element-button) {
    color: inherit;
}
#header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 1em 0;
    color: white;
    transition: all 0.5s;
}
#header.sticky {
    position: sticky;
    background: rgba(255,255,255,0.95);
    color: var(--textcolor);
    border-bottom: 1px solid whitesmoke;
    padding: 0.25em 0;
}
#header.sticky #logo {
    width: 70px;
    min-width: 70px;
}
.page-template-nohero #header {
    color: var(--textcolor);
}
body.admin-bar #header {
    top: 32px;
}
@media only screen and (max-width: 782px) {
    body.admin-bar #header {
        top: 46px;
    }
}
img {
    max-width: 100%;
    height: auto;
}
ul.menu {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 1.75em;
    row-gap: 0.25em;
    font-weight: 500;
}
ul.menu li.current-menu-item,
ul.menu li.current-menu-ancestor,
ul.menu li:hover {
    border-bottom: 1px solid;
}
ul.menu li a {
    text-decoration: none;
}
.gold {
    color: var(--gold);
}
h2, h3, h4, h5, h6 {
    margin-bottom: 1em;
    font-weight: bold;
}
.grid {
    display: grid;
}
.grid.onas {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}
.grid.onas > div {
    margin-block-start: 0;
}
#logo {
    position: relative;
    z-index: 20;
    width: 12vw;
    min-width: 95px;
    max-width: 185px;
}
#header .lang-switch {
    width: 185px;
    text-align: right;
}
#hero {
    position: relative;
    height: 75vh;
    background: whitesmoke;
    z-index: 0;
    padding: 0 2em;
}
#hero h1 {
    font-weight: 700;
    position: relative;
    z-index: 100;
    color: white;
    text-shadow: 0px 1px 1em rgba(0,0,0,0.6);
    margin-top: 0;
}
#hero h5 {
    text-transform: uppercase;
    position: relative;
    z-index: 101;
    text-shadow: 0px 1px 1em rgba(0,0,0,0.6);
    color: var(--gray);
    letter-spacing: 2px;
    font-size: 80%;
}
#hero .slick-slider {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 10;
    margin-bottom: 0;
}
#hero .slick-slider img {
    width: 100%;
    height: 80vh;
    object-fit: cover;
}
#hero.subpage {
    height: 50vh;
    min-height: 400px;
}
#hero.subpage:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 20;
  }
#hero h1.title {
    font-weight: bold;
    font-size: 400%;
    margin-bottom: 1em;
    margin-top: 0;
    text-shadow: 0px 1px 1em rgba(0,0,0,0.6);
}
h2 {
    font-size: 200%;
}
h3 {
    font-size: 160%;
}
h4 {
    font-size: 140%;
}
h5 {
    font-size: 120%;
}
h6 {
    font-size: 110%;
}
#breadcrumbs {
    color: white;
    font-weight: 500;
    position: relative;
    z-index: 80;
}
#breadcrumbs a {
    color: white;
}
#footer {
    padding: 6em 0 6em 0;
    background: var(--blue);
    color: #fff;
}
#footer img.logo {
    width: 200px;
    padding: 2em;
}
#footer a {
    text-decoration: none;
}
.bg-gray {
    background: var(--lightgray);
}
.bg-blur {
    -webkit-backdrop-filter: blur(40px);
            backdrop-filter: blur(40px);
    background-color: rgba(255,255,255,0.6) !important;
}
.wp-block-media-text__content {
    padding-top: var(--gap) !important;
    padding-bottom: var(--gap) !important;
}
.wp-block-image figcaption {
    margin-bottom: 1em;
    margin-top: 1em;
    text-align: center;
    color: var(--darkgray);
    font-size: 90%;
}
.wpforms-container textarea.wpforms-field-medium {
    max-width: 60%;
}
button.wpforms-submit {
    font-weight: bold !important;
}
div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: none;
    border: none;
    font-size: 1.6em;
    padding: 0;
}
div.wpforms-container-full .wpforms-form textarea.wpforms-field-large {
    height: 6em;
}
.d-flex {
    display: flex;
}
.justify-content-center {
    justify-content: center;
}
.align-items-center {
    align-items: center;
}
.text-center {
    text-align: center;
}
.align-items-end {
    align-items: flex-end;
}
.justify-content-between {
    justify-content: space-between;
}
.mapster_tooltip {
    background: white;
    border: 1px solid var(--gold);
    padding: 2em;
    font-size: 80%;
    transform: translate(-2em, -2em);
}
.mapster_tooltip p {
    margin-bottom: 0;
}
.popover-title {
    margin-top: 0;
}
.popover-title span {
    opacity: 0.4;
    margin-right: 4px;
}
.popover-content {
    max-width: 360px;
}
#land {
    overflow: hidden;
}
.vyhody .icon-container {
    height: 48px;
}
.wp-element-button {
    box-shadow: 0px 1px 2px rgba(0,0,0,0.15);
    transition: background-color 0.25s, border-color 0.25s;
}
.wpml-ls-menu-item .wpml-ls-flag, .sidr-class-wpml-ls-flag {
    margin-right: 0.5em;
}
ul .wpml-ls-menu-item a {
    align-items: baseline;
}
#header li {
    list-style: none;
}
#header a {
    text-decoration: none;
}


/* Sidr */
.sidr,
#sidr-main {
  height: 100%;
  background: white;
  -webkit-backdrop-filter: blur(40px);
            backdrop-filter: blur(40px);
  background-color: rgba(255,255,255,0.6) !important;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 50px 0px;
}
.sidr .sidr-inner {
  padding: 0;
}
.sidr .sidr-inner a {
  display: block;
  padding: 0 1.5em;
  border-bottom: none;
  margin-bottom: 0;
  line-height: 1;
  color: black;
  text-decoration: none;
}
.sidr ul {
  margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-flow: column;
            flex-flow: column;
    flex-direction: column;
    gap: 0;
}
.sidr li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: 3em;
    list-style: none;
    flex-wrap: wrap;
    min-height: unset;
    padding: 0.75em 0;
    font-size: 1em;
}

.sidr li.menu-item-has-children {
    flex-direction: column;
    align-items: flex-start;
}

.sidr li.menu-item-has-children > a {
    width: 100%;
}

.sidr li ul.sub-menu,
.sidr li ul.sidr-class-sub-menu {
    width: 100%;
    padding-left: 0;
    gap: 0;
    margin-top: 0.75em;
    margin-left: 1em;
    margin-bottom: -0.75em;
}

.sidr li ul.sub-menu li,
.sidr li ul.sidr-class-sub-menu li {
    font-size: 1em;
    padding: 0.75em 0;
}

#mobilenav {
    display: flex;
    gap: 2em;
}
#navtoggle {
    font-size: 150%;
    margin-top: -2px;
}
@media only screen and (max-width: 900px) {
    #mobilenav {
        display: flex;
    }
    #menu-main-menu, #menu-menu-en {
        display: none;
    }
}
@media only screen and (min-width: 901px) {
    #navtoggle {
        display: none;
    }
    #menu-main-menu, #menu-menu-en {
        display: inline-flex;
    }
}
.wpforms-container .wpforms-recaptcha-container.wpforms-is-turnstile.wpforms-is-turnstile-invisible {
    height: auto !important;
}

/* Dropdown menu styles */
ul.menu li {
    position: relative;
}

ul.menu .sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 5px);
    left: -1em;
    min-width: 220px;
    background: white;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
    gap: 0;
    transition: all 0.2s ease-in-out;
    transform: translateY(5px);
}

ul.menu .sub-menu li {
    width: 100%;
    border-bottom: none !important;
}

ul.menu .sub-menu li a {
    display: block;
    padding: 0.5em 1em;
    width: 100%;
    background: none;
}

ul.menu .sub-menu li:hover {
    background-color: rgba(0,0,0,0.05);
}

ul.menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#header.sticky ul.menu .sub-menu {
    background: rgba(255,255,255,0.95);
}

/* When header is transparent (not sticky) */
#header:not(.sticky) ul.menu .sub-menu {
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

#header:not(.sticky) ul.menu .sub-menu a {
    color: white;
}

.column-vertical {
    display: flex;
    flex-direction: column;
}
.column-vertical .wp-block-buttons {
    margin-top: auto !important;
}