/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*,*:before,*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

@media (min-width: 1100px) {
    body {
        margin:0;
        font-size: 16px;
        font-family: Verdana,Geneva,sans-serif;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
        padding: 0;
    }
}

@media (max-width: 1100px) {
    body {
        margin:0;
        font-size: 16px;
        font-family: Verdana;
        background-color: white;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
    }
}

@media (max-width: 600px) {
    body {
        margin:0;
        font-size: 16px;
        font-family: Verdana;
        background-color: white;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center 200px;
        background-attachment: scroll;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
    }
}

main {
    min-height: 40vh;
}

@media (min-width: 1400px) {
    .container {
        width:100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1100px) and (max-width:1400px) {
    .container {
        width:100%;
        margin-left: auto;
        margin-right: auto;
    }
}

a {
    color: black;
    ;}

p {
    line-height: 150%;
}

article img {
    max-width: 100%;
    height: auto;
}

table {
    border-spacing: 0;
    width: 100%;
    color: black;
}

td {
    border: solid 1px #ddd;
    margin: 0;
    min-width: 30%;
    text-align: center;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 2em;
    padding-right: 2em;
}

td p {
    line-height: 130% !important;
}

tr:nth-of-type(odd) {
    background-color: white;
}

tr:nth-of-type(even) {
    background-color: #eee;
}

th {
    background-color: #12243e;
    line-height: 250%;
    color: white;
}

@media (max-width: 768px) {
    table {
        display:block;
        margin-top: 2em;
        max-width: -moz-fit-content;
        max-width: fit-content;
        margin: 0 auto;
        overflow-x: auto;
        white-space: reak-spaces;
    }

    td {
        border: solid 1px #ddd;
        margin: 0;
        min-width: 30%;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

#block-residence-primary-local-tasks {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    overflow: auto;
    margin-bottom: 1em;
}

div[role=contentinfo] {
    width: 76%;
    margin-left: auto;
    margin-right: auto;
    background-color: #e0ffb0;
    line-height: 300%;
    border: solid 2px #c6d081;
    padding-left: 2%;
    padding-right: 2%;
    font-weight: bold;
    color: #859852;
}

div[role=contentinfo] a {
    color: #859852;
}

#block-residence-primary-local-tasks h2 {
    display: none;
}

#block-residence-primary-local-tasks ul {
    overflow: auto;
    overflow-y: none;
    margin: 0;
    padding: 0;
    height: 3.5em;
}

#block-residence-primary-local-tasks ul li {
    float: left;
    list-style-type: none;
}

#block-residence-primary-local-tasks ul li a {
    display: block;
    height: 3em;
    line-height: 3em;
    padding-left: 1em;
    padding-right: 1em;
    background-color: #eee;
    border-bottom: solid 2px #eee;
    text-decoration: none;
    color: #333;
    border: solid 1px #ddd;
}

#block-residence-primary-local-tasks ul li a:hover {
    border-bottom: solid 2px #12243e;
    background-color: #dfdfdf;
    color: #12243e;
}

@media (min-width: 1100px) {
    input[type=text], input[type=number], input[type=email], input[type=password], select {
        height:3em;
        clear: both;
        float: none;
        font-size: 1em;
        border: 1px solid #bcc2c7;
        border-radius: 10px;
        padding-left: 1em;
        width: 100%;
        padding-right: 1em;
    }

    textarea {
        height: 10em;
        clear: both;
        float: none;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        padding-right: 1em;
        width: 100%;
    }

    input:focus {
        border: solid 2px #0f532e;
    }

    label {
        display: block;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    form .description {
        font-size: 0.8em;
    }

    .user-login-form {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1100px) {
    input[type=text], input[type=number], input[type=email], input[type=password], select {
        height:3em;
        clear: both;
        float: none;
        font-size: 1em;
        border: 1px solid #bcc2c7;
        border-radius: 10px;
        padding-left: 1em;
        width: 100%;
        padding-right: 1em;
    }

    textarea {
        height: 10em;
        clear: both;
        float: none;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        padding-right: 1em;
        width: 100%;
    }

    input:focus {
        border: solid 2px #0f532e;
    }

    label {
        display: block;
        margin-bottom: 0.5em;
    }

    form .description {
        font-size: 0.8em;
    }

        .user-login-form {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1000px) {
    h1 {
        font-size:2.5em;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
        text-align: center;
    }

    h2 {
        font-size: 3em;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    h3 {
        font-size: 1.5em;
        font-family: Verdana;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    h4 {
        font-size: 1.4em;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    h5 {
        font-size: 1.3em;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    h5 {
        font-size: 1.2em;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size:2em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
        margin-top: 0;
    }

    h2 {
        font-size: 1.8em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
    }

    h3 {
        font-size: 1.6em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
    }

    h4 {
        font-size: 1.4em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
    }

    h5 {
        font-size: 1.3em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
    }

    h5 {
        font-size: 1.1em;
        line-height: 120%;
        font-family: Verdana;
        font-weight: bold;
    }
}

@media (min-width: 1100px) {
    #block-residence-site-branding {
        width:12%;
        float: left;
    }
}

@media (max-width: 1400px) {
    #block-residence-site-branding {
        width:11%;
        float: left;
        margin-left: 10%;
    }
}

@media (max-width: 1100px) {
    #block-residence-site-branding {
        width:10%;
        float: left;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        margin-left: 10%;
    }
}

@media (max-width: 850px) {
    #block-residence-site-branding {
        width:10%;
        float: left;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        margin-left: 5%;
    }
}

@media (max-width: 1100px) {
    #block-residence-site-branding {
        float:left;
        width: 20%;
    }
}

@media (min-width: 1000px) {
    article {
        clear: both;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1000px) {
    article {
        width:90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    article .hlavni-fotka {
        float:right;
        width: 25%;
        margin-left: 4em;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    article .hlavni-fotka {
        width:100%;
    }
}

@media (min-width: 768px) {
    #block-residence-page-title {
        width:70%;
        font-family: Verdana;
        line-height: 400%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 6em;
        margin-bottom: 3em;
        text-align: center;
        color: black;
    }
}

@media (max-width: 1000px) {
    #block-residence-page-title {
        width:90%;
        font-family: Verdana;
        line-height: 400%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 3em;
        margin-bottom: 3em;
        text-align: center;
        color: black;
    }
}

#block-residence-content article footer {
    bottom: 0;
    display: block;
    width: 100%;
    background-image: none;
    color: #ccc;
    padding-top: 0;
    padding-bottom: 1em;
    margin-top: 0em;
    overflow: auto;
    bottom: 0;
}

#block-residence-branding img {
    width: 100%;
    float: left;
}

main[role=main] {
    width: 100%;
    margin-left: auto;
    margin-top: 0;
    margin-right: auto;
    border: 0;
    background-color: #ffffff;
    background-image: url("/themes/residence/images/bg.jpg");
    background-size: 30% auto;
    background-position: top center;
    background-repeat: repeat-x;
}

@media (min-width: 1000px) {
    footer {
        clear: both;
        background-color: #231f20;
        padding-bottom: 2em;
        text-align: center;
        color: white;
        font-size: 1em;
        line-height: 2em;
        overflow: auto;
        padding-top: 2em;
        position: relative;
        padding-left: 15%;
        padding-right: 15%;
        margin-top: 3em;
    }
}

@media (max-width: 1000px) {
    footer {
        clear: both;
        background-color: #231f20;
        padding-bottom: 2em;
        text-align: center;
        color: white;
        font-size: 1em;
        line-height: 2em;
        overflow: auto;
        padding-top: 2em;
        position: relative;
        padding-left: 10%;
        padding-right: 10%;
        margin-top: 3em;
    }
}

@media (min-width: 900px) {
    #block-residence-paticka {
        width:70%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1.2em;
        color: #A87A39;
    }
}

@media (max-width: 900px) {
    #block-residence-paticka {
        width:90%;
        margin-left: auto;
        margin-right: auto;
    }
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-family: Verdana;
}

footer a:hover {
    text-decoration: underline;
}

#block-residence-patickakontakt {
    padding-bottom: 1em;
    border-bottom: solid 1px #595959;
    padding-top: 1em;
}

#block-residence-patickakontakt p {
    line-height: 200%;
}

#block-residence-patickatlacitka {
    margin-top: 1em;
    margin-bottom: 1em;
    /* overflow: auto; */
}

@media (min-width: 1000px) {
    #block-residence-patickatlacitka .footer-buttons {
        display: flex;
        flex-direction: row;
        list-style-type: none;
    }

    #block-residence-patickatlacitka .footer-buttons li {
        flex-basis: 50%;
    }

    #block-residence-patickatlacitka .footer-buttons li a {
        border-radius: 5px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        color: #fff;
        font-weight: 700;
        border: 0;
        -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
        box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
        background: #5c2b02;
        padding: 0 25px;
        font-size: 0.9em;
        height: auto;
        text-decoration: none;
        margin-left: 2em;
        text-transform: none;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

@media (max-width: 1000px) {
    #block-residence-patickatlacitka .footer-buttons {
        display: flex;
        flex-direction: column;
        list-style-type: none;
        margin: 0;
        gap: 10px;
        padding: 0
    }

    #block-residence-patickatlacitka .footer-buttons li {
        flex-basis: 100%;
    }

    #block-residence-patickatlacitka .footer-buttons li a {
        border-radius: 5px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        color: #fff;
        font-weight: 700;
        border: 0;
        -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
        box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
        background: #5c2b02;
        padding: 0 25px;
        font-size: 0.9em;
        height: auto;
        text-decoration: none;
        margin-left: 0em;
        text-transform: none;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
}

#block-residence-patickatlacitka .footer-buttons li a:hover {
    text-decoration: none;
    color: #ffffff;
    background: #c3443d;
}

#block-residence-patickagdpr {
    margin-top: 2em;
    margin-bottom: 2em;
    /* overflow-y: auto; */
}

@media (min-width: 768px) {
    #block-residence-patickagdpr .gdpr {
        list-style-type: none;
        display: block;
        margin: 0;
        padding: 0;
    }

    #block-residence-patickagdpr .gdpr li {
        display: inline-block;
        margin-right: 2em;
        margin-left: 2em;
        position: relative;
    }

    #block-residence-patickagdpr .gdpr li a {
        font-weight: normal;
        color: #929292;
        font-size: 0.9em;
    }

    #block-residence-patickagdpr .gdpr li:nth-child(odd)::after {
        content: " ";
        position: absolute;
        margin: auto;
        right: -32px;
        top: 0;
        bottom: 0;
        background: #5c2b02;
        border-radius: 2px;
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 768px) {
    #block-residence-patickagdpr .gdpr {
        list-style-type: none;
        display: block;
        margin: 0;
        padding: 0;
    }

    #block-residence-patickagdpr .gdpr li {
        display: block;
        margin-right: 2em;
        margin-left: 2em;
        position: relative;
    }

    #block-residence-patickagdpr .gdpr li a {
        font-weight: normal;
        color: #929292;
        font-size: 0.9em;
    }
}

@media (min-width: 768px) {
    #block-residence-patickamenu .odkazy-paticka {
        list-style-type: none;
        display: block;
        margin: 0;
        padding: 0;
    }

    #block-residence-patickamenu .odkazy-paticka li {
        display: inline-block;
        margin-right: 2em;
        margin-left: 2em;
        position: relative;
    }

    #block-residence-patickamenu .odkazy-paticka li a {
        font-weight: normal;
        color: #929292;
        font-size: 0.9em;
    }

    #block-residence-patickamenu .odkazy-paticka li::after {
        content: " ";
        position: absolute;
        margin: auto;
        right: -32px;
        top: 0;
        bottom: 0;
        background: #5c2b02;
        border-radius: 2px;
        width: 4px;
        height: 4px;
    }

    #block-residence-patickamenu .odkazy-paticka li:last-child::after {
        display: none;
    }
}

@media (max-width: 768px) {
    #block-residence-patickamenu .odkazy-paticka {
        list-style-type: none;
        display: block;
        margin: 0;
        padding: 0;
    }

    #block-residence-patickamenu .odkazy-paticka li {
        display: block;
        margin-right: 2em;
        margin-left: 2em;
        position: relative;
    }

    #block-residence-patickamenu .odkazy-paticka li a {
        font-weight: normal;
        color: #929292;
        font-size: 0.9em;
    }
}

#block-residence-patickacopyright {
    font-size: 0.9em;
    color: #929292;
}

@media (min-width: 768px) {
    .obrazek-text img {
        float:left;
        width: 30%;
        height: auto;
        margin-right: 2em;
        margin-bottom: 2em;
    }
}

@media (max-width: 768px) {
    .obrazek-text img {
        width:100%;
        height: auto;
        margin-right: 2em;
        margin-bottom: 2em;
    }
}

@media (min-width: 1000px) {
    #block-residence-webform .captcha {
        width:100%;
        margin-left: 0;
        margin-right: auto;
        margin-top: 1em;
        margin-bottom: 1em;
        border: 0px;
    }

    #block-residence-webform .captcha .recaptcha-processed div {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1000px) {
    #block-residence-webform .captcha {
        width:100%;
        margin-left: 0;
        margin-right: auto;
        margin-top: 1em;
        margin-bottom: 1em;
        border: 0px;
    }
}

#block-residence-webform .captcha .recaptcha-processed div {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
}

.img-button {
    text-decoration: none;
}

@media (min-width: 800px) {
    .img-button img {
        height:6em;
        width: auto;
        margin-right: 1em;
    }
}

@media (max-width: 800px) {
    .img-button img {
        height:3em;
        width: auto;
        margin-right: 1em;
    }
}

.layout-container {
    position: relative;
}

@media (min-width: 1600px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        align-items: center;
        list-style-type: none;
        margin: 0;
        margin-top: calc(5% - 10px);
        padding: 0;
    }

    .menu li:hover .menu {
        display: block;
        float: none;
        position: absolute;
        z-index: 999;
        top: 1em;
        color: white;
        background-color: white;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    }
}

@media (min-width: 1100px) and (max-width:1600px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        align-items: center;
        list-style-type: none;
        margin: 0;
        margin-top: calc(3.5% - 10px);
        padding: 0;
        margin-right: 10%;
    }

    .menu li:hover .menu {
        display: block;
        float: none;
        position: absolute;
        z-index: 999;
        top: 1em;
        color: white;
        background-color: white;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    }
}

.menu li .menu {
    display: none;
    margin-top: calc(5% - 0px);
}

@media (max-width: 1100px) {
    .menu {
        display:block;
        float: none;
        clear: both;
        position: relative;
        flex-direction: row;
        list-style-type: none;
        margin: 0;
        margin-top: 1em;
        padding: 0;
    }

    .menu li .menu {
        display: block;
        position: static;
        margin-top: 0;
    }

    .menu li:hover .menu {
        display: block;
        float: none;
        position: static;
        z-index: 999;
        top: 0em;
        color: white;
        background-color: white;
        box-shadow: 1px 1px 10px rgba(0,0,0,0.3);
    }
}

.menu li:hover .menu a {
    color: #283038;
}

.menu li:hover .menu > li a:hover {
    text-decoration: none;
    background-color: #283038;
    color: white;
}

@media (min-width: 1100px) {
    .menu > li {
        flex:1;
        text-align: center;
    }

    .menu > li:last-of-type {
        flex: 1.5;
        text-align: center;
    }

    .menu > li ul li {
        overflow: hidden;
        width: 100%;
        line-height: 3em;
    }

    .menu > li a {
        border-radius: 5px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        color: #fff;
        font-weight: 700;
        border: 0;
        -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
        box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
        white-space: nowrap;
        background: #5c2b02;
        padding: 0 25px;
        font-size: 16px;
        line-height: 50px;
        height: 50px;
        text-decoration: none;
        margin-left: 2em;
        text-transform: none;
    }

    .menu > li ul li a {
        text-decoration: none;
        color: black;
        display: block;
        text-wrap: wrap;
        font-size: 1em;
        padding-top: 0em;
        padding-bottom: 0em;
        padding-left: 1em;
        padding-right: 1em;
        text-align: center;
        text-transform: uppercase;
    }

    .menu li .menu li:last-of-type a:hover {
        background-color: #283038;
        color: white;
        line-height: 2em;
        padding-top: 0.5em;
    }
}

@media (max-width: 1100px) {
    .menu > li {
        overflow:hidden;
    }

    .menu > li a {
        text-decoration: none;
        color: white;
        display: block;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.2em;
        text-align: center;
        text-transform: uppercase;
        height: 3em;
        line-height: 3em;
        border-bottom: solid 10px transparent;
    }

    li .menu > li {
        border-bottom: 1px white;
    }
}

.menu > li a:hover {
    text-decoration: none;
    color: #ffffff;
    background: #c3443d;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

@media (max-width: 1100px) {
    .menu-button {
        margin-top:6.5em;
        margin-right: 0em;
    }
}

#block-residence-main-menu {
    position: relative;
    width: 60%;
    float: right;
}

@media (max-width: 600px) {
    .menu-button {
        margin-top:5em;
        margin-right: 0em;
    }
}

@media (max-width: 500px) {
    .menu-button {
        margin-top:4em;
        margin-right: 0em;
    }
}

.menu-button,.menu-button::before,.menu-button::after {
    display: block;
    background-color: black;
    position: absolute;
    height: 8px;
    width: 40px;
    transition: transform 400ms cubic-bezier(0.23,1,0.32,1);
}

li .menu-button,li .menu-button::before,li .menu-button::after {
    display: none;
}

.menu-button::before {
    content: '';
    margin-top: -12px;
}

.menu-button::after {
    content: '';
    margin-top: 12px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255,255,255,0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media (max-width: 1100px) {
    .menu-button-container {
        position:relative;
        display: flex;
        float: right;
        width: 30%;
        margin-left: auto;
        margin-right: 0;
    }

    li .menu-button-container {
        display: none;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 6em;
        right: 0;
        z-index: 9999;
        flex-direction: column;
        width: 100vw;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        height: auto;
        padding: 0em;
        border-bottom: solid 0.5px white;
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        height: auto;
        padding: 0em;
        border-bottom: solid 0.5px white;
    }

    .menu > li {
        display: block;
        justify-content: center;
        margin: 0;
        padding: 0em 0;
        line-height: 100%;
        font-size: 1em;
        width: 100%;
        color: white;
        background-color: #000000;
    }

    li .menu > li {
        display: block;
        justify-content: center;
        margin: 0;
        padding: 0em 0;
        line-height: 100%;
        font-size: 1em;
        width: 100%;
        color: white;
        background-color: #51606F;
    }

    .menu > li:not(:last-child) {
        border-bottom: 1px solid none;
    }

    .menu > li a:hover {
        text-decoration: none;
        color: white;
    }
}

@media (max-width: 600px) {
    .menu-button-container {
        position:relative;
        display: flex;
        float: right;
        width: 30%;
        margin-left: auto;
        margin-right: 0;
    }

    li .menu-button-container {
        display: none;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 4em;
        right: 0;
        z-index: 9999;
        flex-direction: column;
        width: 100wv;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        height: auto;
        padding: 0em;
        border-bottom: solid 0.5px white;
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        height: auto;
        padding: 0em;
        border-bottom: solid 0.5px white;
    }

    .menu > li {
        display: block;
        justify-content: center;
        margin: 0;
        padding: 0em 0;
        line-height: 100%;
        font-size: 1em;
        width: 100%;
        color: white;
        background-color: black;
    }

    li .menu > li {
        display: block;
        justify-content: center;
        margin: 0;
        padding: 0em 0;
        line-height: 100%;
        font-size: 1em;
        width: 100%;
        color: white;
        background-color: #51606F;
    }

    .menu > li:not(:last-child) {
        border-bottom: 1px solid none;
    }

    .menu > li a:hover {
        text-decoration: none;
        color: white;
    }
}

.messages {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    color: black;
    font-weight: bold;
    background-color: #eef7c1;
    border: solid 1px #7cbf35;
}

article ul {
    }

article li {
    /* clear: both; */
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    margin-bottom: 1em;
}

article .button {
    border-radius: 5px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    border: 0;
    -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    background: #5c2b02;
    padding: 0 25px;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    text-decoration: none;
    text-transform: none;
}

article .button:hover {
    background-color: #8f0123;
}

.more-link a {
    display: block;
    width: 20%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    background-color: #e51a4b;
    line-height: 300%;
    color: white;
    height: auto;
    font-family: Verdana;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    box-shadow: 3px 3px 3px #b7b7b7;
}

.more-link a:hover {
    background-color: #8f0123;
}

#block-residence-residencehubgrid {
    width: 70%;
    margin-left: auto;
    margin-top: 2em;
    margin-right: auto;
}

@media (min-width: 1000px) {
    #block-residence-kontakty {
        width: 30%;
        float: left;
        margin-left: 15%;
        background-image: url("/themes/residence/images/sipka.png");
        padding-bottom: 1em;
        margin-bottom: 2em;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 50% auto;
    }

    #block-residence-darkovypoukaz {
        width: 30%;
        float: left;
        margin-left: 15%;
        background-image: url("/themes/residence/images/sipka.png");
        padding-bottom: 5em;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 50% auto;
    }
}

@media (max-width: 1000px) {
    #block-residence-kontakty {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 5em;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 50% auto;
    }

    #block-residence-darkovypoukaz {
        width: 80%;
        margin-left: 10%;
        padding-bottom: 5em;
        background-position: bottom right;
        background-repeat: no-repeat;
        background-size: 50% auto;
    }
}

#block-residence-darkovypoukaz img {
    width: 100%;
    height: auto;
}

#block-residence-kontakty h3 {
    text-align: left;
    margin-bottom: 1em;
}

#block-residence-kontakty ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 3em;
}

#block-residence-kontakty ul li {
    padding: 10px 40px;
    font-size: 22px;
    line-height: 31px;
    position: relative;
}

#block-residence-kontakty .button {
    border-radius: 5px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    border: 0;
    -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
    background: #5c2b02;
    padding: 0 25px;
    font-size: 16px;
    height: auto;
    text-decoration: none;
    margin-left: 2em;
    text-transform: none;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

#block-residence-kontakty .button:hover {
    text-decoration: none;
    color: #ffffff;
    background: #c3443d;
}

#block-residence-kontakty ul li:before {
    background-image: url(/themes/residence/images/check.svg);
    content: " ";
    display: block;
    background-repeat: no-repeat;
    height: 1.5em;
    width: 1.5em;
    background-size: 100% auto;
    float: left;
    margin-right: 0.6em;
}

@media (min-width: 1000px) {
    #block-residence-webform, #block-residence-webform-2 {
        width: 30%;
        float: right;
        margin-right: 15%;
        background: #f5f5f5;
        border: 1px solid #e2e5e8;
        text-align: left;
        padding-left: 3%;
        padding-right: 3%;
        padding-top: 3em;
        padding-bottom: 3em;
        margin-bottom: 3em;
        border-radius: 10px;
    }
}

@media (max-width: 1000px) {
    #block-residence-webform, #block-residence-webform-2 {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        background: #f5f5f5;
        border: 1px solid #e2e5e8;
        text-align: left;
        padding-left: 3%;
        padding-right: 3%;
        padding-top: 3em;
        padding-bottom: 3em;
        margin-bottom: 3em;
        border-radius: 10px;
    }
}

#block-residence-webform .button, #block-residence-webform-2 .button {
    border-radius: 5px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    border: 0;
    -moz-box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.05);
    box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    background: #5c2b02;
    padding: 0 25px;
    font-size: 16px;
    line-height: 50px;
    height: 50px;
    text-decoration: none;
    text-transform: none;
}

#block-residence-webform .button:hover {
    text-decoration: none;
    color: #ffffff;
    background: #c3443d;
}

#block-residence-webform-2 .js-form-type-checkbox {
    width: 100%;
    margin-top: 1em;
    font-size: 0.9em;
    padding: 0;
}

#block-residence-webform .form-item-markup, #block-residence-webform-2 .form-item-markup {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    font-size: 0.9em;
}

.layout-sidebar-second {
    background-color: black;
    /* overflow: auto; */
    width: 100%;
    min-height: 2.5em;
    height: auto;
}

.layout-sidebar-second ul {
    margin: 0;
    padding: 0;
}

@media (min-width: 1000px) {
    #block-residence-kontaktniudajetop {
        margin-left: 15%;
        width: 50%;
        float: left;
        font-size: 0.9em;
        overflow: visible;
        padding-top: 0.2em;
    }
}

@media (max-width: 1000px) {
    #block-residence-kontaktniudajetop {
        margin-left: 0%;
        width: 100%;
        float: none;
        font-size: 0.9em;
        text-align: center;
    }
}

#block-residence-kontaktniudajetop .kontakty {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
    padding-top: 0.3em;
}

#block-residence-kontaktniudajetop #phone {
    background-image: url("/themes/residence/images/phone.png");
    background-position: left center;
    background-size: auto 60%;
    background-repeat: no-repeat;
    padding-left: 1.3em;
    margin-right: 2em;
}

#block-residence-kontaktniudajetop #mail {
    background-image: url("/themes/residence/images/mail.png");
    background-position: left center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    padding-left: 2em;
    margin-right: 2em;
}

#block-residence-kontaktniudajetop #fb {
    background-image: url("/themes/residence/images/fb.png");
    background-position: left center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    padding-left: 1.5em;
    margin-right: 2em;
}

#block-residence-kontaktniudajetop #ig {
    background-image: url("/themes/residence/images/ig.png");
    background-position: left center;
    background-size: auto 50%;
    background-repeat: no-repeat;
    padding-left: 1.5em;
    margin-right: 2em;
}

#block-residence-kontaktniudajetop .kontakty li {
    display: inline-block;
    position: relative;
}

#block-residence-kontaktniudajetop .kontakty li a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    line-height: 200%;
}

#block-residence-kontaktniudajetop .kontakty li a:hover {
    text-decoration: underline;
}

@media (min-width: 1000px) {
    #block-residence-prepinacjazyka {
        margin-right: 15%;
        line-height: 200%;
        width: 20%;
        float: right;
        padding-top: 0.3em;
    }

    #block-residence-prepinacjazyka .links {
        list-style-type: none;
        display: flex;
        justify-content: right;
    }

    #block-residence-prepinacjazyka .links li {
        display: list-item;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=en] {
        background-image: url("/themes/residence/images/en-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=cs] {
        background-image: url("/themes/residence/images/cz-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=de] {
        background-image: url("/themes/residence/images/ge-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=cs]:hover, #block-residence-prepinacjazyka ul li a[hreflang=en]:hover {
        opacity: 0.5;
    }
}

@media (max-width: 1000px) {
    #block-residence-prepinacjazyka {
        margin-right: 0;
        line-height: 200%;
        width: 100%;
        float: none;
        text-align: center;
    }

    #block-residence-prepinacjazyka .links {
        list-style-type: none;
        display: flex;
        justify-content: center;
    }

    #block-residence-prepinacjazyka .links li {
        display: list-item;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=en] {
        background-image: url("/themes/residence/images/en-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=cs] {
        background-image: url("/themes/residence/images/cz-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=de] {
        background-image: url("/themes/residence/images/ge-flag.jpg");
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
        color: transparent;
    }

    #block-residence-prepinacjazyka ul li a[hreflang=cs]:hover, #block-residence-prepinacjazyka ul li a[hreflang=en]:hover, #block-hamr-prepinacjazyka ul li a[hreflang=de]:hover {
        opacity: 0.5;
    }
}

@media (min-width: 1000px) {
    .hpbanner {
        height: 30em;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
    }
}

@media (max-width: 1000px) {
    .hpbanner {
        height: 20em;
        background-position: bottom center;
        background-size: cover;
        background-repeat: no-repeat;
        text-align: center;
    }
}

@media (min-width: 1000px) {
    .hpbanner .views-row {
        display: flex;
        height: 100%;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        width: 50%;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        text-shadow: 1px 1px 10px black;
    }
}

@media (max-width: 1000px) {
    .hpbanner .views-row {
        display: flex;
        height: 100%;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        width: 90%;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        text-shadow: 1px 1px 10px black;
    }
}

@media (min-width: 1000px) {
    .hpbanner .views-row .views-field-title {
        font-size: 3em;
        color: #fff;
        line-height: 1.1;
        margin-top: 20px;
        font-weight: bold;
    }
}

@media (max-width: 1000px) {
    .hpbanner .views-row .views-field-title {
        font-size: 2em;
        color: #fff;
        line-height: 1.1;
        margin-top: 20px;
        font-weight: bold;
    }
}

@media (min-width: 1000px) {
    .hpbanner .views-row .views-field-field-odkaz {
        background: #5c2b02;
        padding: 0 2em;
        font-size: 2em;
        line-height: 250%;
        text-transform: none;
        text-shadow: 0 0 0;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 700;
        border: 0;
    }
}

@media (max-width: 1000px) {
    .hpbanner .views-row .views-field-field-odkaz {
        background: #5c2b02;
        padding: 0 2em;
        font-size: 1em;
        line-height: 250%;
        text-transform: none;
        text-shadow: 0 0 0;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 700;
        border: 0;
    }
}

.hpbanner .views-row .views-field-field-odkaz a {
    color: white;
    text-decoration: none;
}

.hpbanner .views-row .views-field-field-odkaz:hover {
    background: #361900;
}

.bannerpokoje {
    height: 30em;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

@media (min-width: 1000px) {
    .bannerpokoje .views-row {
        display: flex;
        height: 100%;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        width: 70%;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        text-shadow: 1px 1px 10px black;
    }

    .bannerpokoje .views-row .views-field-title {
        font-size: 52px;
        color: #fff;
        line-height: 1.1;
        margin-top: 20px;
        font-weight: bold;
    }

    .bannerpokoje .views-row .views-field-nothing a {
        background: #5c2b02;
        display: inline-block;
        padding: 0 45px;
        font-size: 20px;
        line-height: 50px;
        height: 50px;
        text-transform: none;
        text-shadow: 0 0 0;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 700;
        border: 0;
        color: white;
        text-decoration: none;
    }
}

@media (max-width: 1000px) {
    .bannerpokoje .views-row {
        display: flex;
        height: 100%;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        width: 90%;
        gap: 30px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        text-shadow: 1px 1px 10px black;
    }

    .bannerpokoje .views-row .views-field-title {
        font-size: 2em;
        color: #fff;
        line-height: 1.1;
        margin-top: 20px;
        font-weight: bold;
    }

    .bannerpokoje .views-row .views-field-nothing a {
        background: #5c2b02;
        display: inline-block;
        padding: 0 45px;
        font-size: 1em;
        line-height: 50px;
        height: 50px;
        text-transform: none;
        text-shadow: 0 0 0;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        text-transform: uppercase;
        font-weight: 700;
        border: 0;
        color: white;
        text-decoration: none;
    }
}

.bannerpokoje .views-row .views-field-nothing a:hover {
    background: #361900;
}

.split-nav__item a:hover {
    text-decoration: underline;
}

article p iframe {
    width: 100%;
    height: 750px;
    margin-top: 2em;
    margin-bottom: 2em;
}

@media (min-width: 1200px) {
    .galerie {
        clear: both;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding-top: 2em;
    }
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .galerie {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .galerie {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .galerie {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }
}

.galerie div {
    height: 15em;
    overflow: hidden;
}

.galerie div img {
    height: 15em;
    width: 100%;
    object-fit: cover;
}

.galerie div:hover {
    opacity: 0.5;
}

@media (min-width: 1300px) {
    .apartmany {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2em;
        display: grid;
        gap: 30px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    .apartmany {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2em;
        display: grid;
        gap: 30px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .apartmany {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2em;
        display: grid;
        gap: 30px;
        grid-template-columns: 1f;
    }
}

.apartmany .views-row {
    overflow: hidden;
    border: solid 1px #eee;
    padding-bottom: 1em;
}

.apartmany .views-row img {
    width: 100%;
    height: 15em;
    object-fit: cover;
}

.apartmany .views-row .views-field-title {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
    font-weight: bold;
    font-size: 1.23em;
    line-height: 150%;
}

.apartmany .views-row .views-field-title a {
    text-decoration: none;
}

.apartmany .views-row .views-field-title a:hover {
    text-decoration: underline;
}

.apartmany .views-row .views-field-view-node {
    text-align: center;
}

.apartmany .views-row .views-field-view-node a {
    background: #5c2b02;
    display: inline-block;
    font-size: 1em;
    line-height: 300%;
    padding-left: 2em;
    padding-right: 2em;
    margin-left: auto;
    margin-right: auto;
    text-transform: none;
    text-shadow: 0 0 0;
    cursor: pointer;
    font-weight: 700;
    border: 0;
    color: white;
    text-decoration: none;
}

.apartmany .views-row .views-field-view-node a:hover {
    background: #361900;
}

.apartmany .views-row .views-field-body {
    padding-left: 2em;
    padding-right: 2em;
    text-align: center;
}

@media (min-width: 1000px) {
    #block-residence-views-block-video-blok-block-1 {
        width: 70%;
        margin-left: auto;
        margin-top: 2em;
        margin-bottom: 2em;
        margin-right: auto;
    }

    #block-residence-views-block-sluzby-blok-block-1 {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1000px) {
    #block-residence-views-block-video-blok-block-1 {
        width: 90%;
        margin-left: auto;
        margin-top: 2em;
        margin-bottom: 2em;
        margin-right: auto;
    }

    #block-residence-views-block-sluzby-blok-block-1 {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

#block-residence-views-block-video-blok-block-1 iframe {
    width: 100%;
    height: 650px;
}

#block-residence-views-block-sluzby-blok-block-1 .views-field-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

#block-residence-views-block-sluzby-blok-block-1 ul {
    line-height: 150%;
}

@media (min-width: 1000px) {
    .hlavni-foto img {
        width: 30%;
        float: right;
        margin-left: 2em;
        margin-bottom: 2em;
    }
}

@media (max-width: 1000px) {
    .hlavni-foto img {
        display: none;
    }
}

form#previa-booking-form input {
    background-color: #ccc;
    border-radius: 5px;
}

#block-residence-content {
    margin-bottom: 3em;
}

@media (min-width: 1000px) {
    #block-residence-logakudyznudy {
        text-align: center;
        clear: both;
    }

    #block-residence-virtualniprohlidka, #block-residence-videoblok {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

     #block-residence-virtualniprohlidka iframe, #block-residence-videoblok iframe {
        width: 100%;
         height: 650px;
    }

    #block-residence-dalsivyhodyapartmany {
                width: 70%;
        margin-left: auto;
        margin-right: auto;
    }


    #block-residence-logakudyznudy img {
        width: 10%;
        height: auto;
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2em;
    }

    .ostatnibyty {
                        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1000px) {
    #block-residence-logakudyznudy {
        text-align: center;
        clear: both;
    }

        #block-residence-dalsivyhodyapartmany, #block-residence-videoblok {
                width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    #block-residence-virtualniprohlidka {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

     #block-residence-virtualniprohlidka iframe, #block-residence-videoblok iframe {
        width: 100%;
         height: 450px;
    }


    #block-residence-logakudyznudy img {
        width: 30%;
        height: auto;
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2em;
    }
}

@media (min-width: 1200px) {
    .ostatnibyty .views-field-field-fotky ul {
        clear: both;
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding-top: 2em;
    }
}

@media (min-width: 1000px) and (max-width: 1200px) {
    .ostatnibyty .views-field-field-fotky ul {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .ostatnibyty .views-field-field-fotky ul {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ostatnibyty .views-field-field-fotky ul {
        display: grid;
        gap: 10px;
        grid-template-columns: 1fr;
    }
}

.ostatnibyty .views-field-field-fotky ul li {
    height: 15em;
    overflow: hidden;
}

.ostatnibyty .views-field-field-fotky ul li img {
    height: 15em;
    width: 100%;
    object-fit: cover;
}

.ostatnibyty .views-field-field-fotky ul li:hover {
    opacity: 0.5;
}


@media (min-width: 1000px) {
    footer .logo-footer {
        display: inline-block;
        width: 10%;
        background-image: url("/themes/residence/images/llweb.png");
        height: 4em;
        background-size: 100% auto;
        background-repeat: no-repeat;
        color: transparent;
    }
}

@media (max-width: 1000px) {
    footer .logo-footer {
        display: inline-block;
        width: 25%;
        background-image: url("/themes/residence/images/llweb.png");
        height: 5em;
        background-size: 100% auto;
        background-repeat: no-repeat;
        color: transparent;
    }
}

footer .logo-footer:hover {
    background-image: url("/themes/residence/images/llweb_hover.png");
}
