@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap'); @import url('https://fonts.googleapis.com/css?family=Pacifico&display=swap'); /* @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: Raleway;
        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: Raleway;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
        padding: 0;
    }
}

@media (max-width: 600px) {
    body {
        margin:0;
        font-size: 16px;
        font-family: Raleway;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
        padding: 0;
    }
}

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;
    }
}

@media (min-width: 1400px) {
    .header {
        clear: both;
        position: relative;
        top: 0;
        z-index: 2;
        width: 100%;
        padding-left: 15%;
        padding-right: 15%;
        margin-left: auto;
        margin-right: auto;
        background: #472613;
        height: 7em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }
}

@media (min-width: 1100px) and (max-width:1400px) {
    header {
        clear: both;
        position: relative;
        top: 0;
        z-index: 2;
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
        margin-left: auto;
        margin-right: auto;
        background: #472613;
        height: 7em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }
}

@media (max-width: 1100px) {
    header {
        clear:both;
        width: 100%;
        background-color: #472613;
        margin-left: auto;
        position: relative;
        margin-right: auto;
        height: 7em;
    }

    header img {
        height: 80px;
        margin-top: 0px;
        margin-left: 0px;
        width: auto;
    }
}

@media (max-width: 600px) {
    header {
        width:100%;
        background-color: #472613;
        margin-left: auto;
        margin-right: auto;
        height: 5em;
    }

    header img {
        height: 50px;
        margin-top: 0px;
        margin-left: 0px;
        width: auto;
    }
}

a {
    color: black;
    ;}

p {
    line-height: 150%;
}

article img {
    max-width: 100%;
    height: auto;
}

table {
    border-spacing: 0;
    width: 100%;
    color: black;
    border-collapse: collapse;
    margin-bottom: 2em;
}

tr {
    border-bottom: dotted 1px #472613;
    height: auto;
    line-height: 200%;
}

td:nth-of-type(odd) {
    margin: 0;
    width: 85%;
    text-align: left;
}

td:nth-of-type(even) {
    margin: 0;
    width: 10%;
    text-align: right;
}

@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=date], 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;
    }
}

@media (max-width: 1100px) {
    input[type=text], input[type=number], input[type=email], input[type=date],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;
    }
}

@media (min-width: 1000px) {
    h1 {
        font-size:2.5em;
        font-weight: normal;
        margin-top: 0;
    }

    h2 {
        font-size: 3.5em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
    }

    h3 {
        font-size: 2.7em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
    }

    h4 {
        font-size: 1.7em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
    }

    h5 {
        font-size: 1.4em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
    }

    h5 {
        font-size: 1.1em;
        font-weight: normal;
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size:2em;
        line-height: 120%;
        font-weight: normal;
        margin-top: 0;
    }

    h2 {
        font-size: 1.8em;
        line-height: 120%;
        font-weight: normal;
    }

    h3 {
        font-size: 1.6em;
        line-height: 120%;
        font-weight: normal;
    }

    h4 {
        font-size: 1.4em;
        line-height: 120%;
        font-weight: normal;
    }

    h5 {
        font-size: 1.3em;
        line-height: 120%;
        font-weight: normal;
    }

    h5 {
        font-size: 1.1em;
        line-height: 120%;
        font-weight: normal;
    }
}

@media (min-width: 1100px) {
    #block-residence-site-branding {
        width:6%;
        float: left;
        margin-top: 1%;
    }
}

@media (max-width: 1400px) {
    #block-residence-site-branding {
        width:7%;
        float: left;
        margin-left: 0%;
    }
}

@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;
        padding-bottom: 3em;
    }
}

@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%;
    }
}

article h3 {
    font-weight: bold;
    font-size: 1.3em;
    margin-bottom: 0.6em;
    margin-top: 1em;
    background-color: #472613;
    color: white;
    padding: 0.5em;
}

@media (min-width: 768px) {
    #block-residence-page-title {
        width:70%;
        font-family: Pacifico;
        font-weight: normal;
        line-height: 400%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 3em;
        margin-bottom: 3em;
        text-align: center;
        color: #472613;
        ; }
}

@media (max-width: 1000px) {
    #block-residence-page-title {
        width:90%;
        font-family: Pacifico;
        font-weight: normal;
        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: #FCF8EE;
}

@media (min-width: 1300px) {
    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%;
    }
}

@media (max-width: 1300px) {
    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: 5%;
        padding-right: 5%;
    }
}

@media (min-width: 1000px) {
    footer #footer-menu {
        width: 25%;
        float: left;
        text-align: left;
    }

    footer #footer-nabidka {
        width: 25%;
        float: left;
        text-align: left;
    }

    footer #footer-kontakty {
        width: 25%;
        float: left;
        text-align: left;
    }

    footer #footer-otviracka {
        width: 25%;
        float: left;
        text-align: left;
    }
}

@media (max-width: 1000px) {
    footer #footer-menu {
        width: 100%;
        text-align: center;
    }

    footer #footer-nabidka {
        width: 100%;
        text-align: center;
    }

    footer #footer-kontakty {
        width: 100%;
        text-align: center;
    }

    footer #footer-otviracka {
        width: 100%;
        text-align: center;
    }
}

footer #footer-menu h5, footer #footer-otviracka h5, footer #footer-nabidka h5, footer #footer-kontakty h5 {
    text-transform: uppercase;
    font-weight: bold;
}

footer #footer-menu ul, footer #footer-nabidka ul {
    list-style-type: none;
    padding: 0;
}

@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: normal;
    font-family: Verdana;
}

footer a:hover {
    text-decoration: underline;
}

#block-residence-patickacopyright {
    clear: both;
    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: 1700px) {
    #block-residence-homepagebanner {
        background-color: #eee;
        border: 0;
        background-image: url("/themes/residence/images/banner-hp.webp");
        background-position: right 10em center;
        background-size: auto 80%;
        background-repeat: no-repeat;
        clear: both;
        position: relative;
        height: 35em;
    }

    #block-residence-homepagebanner h2 {
        font-family: Verdana;
        margin-top: 0em !important;
        margin-bottom: 0em !important;
        padding-top: 1em;
        margin-left: 10%;
        color: #000000;
        font-size: 6em;
    }

    #block-residence-homepagebanner p a {
        font-family: Verdana;
        margin-top: 0em !important;
        padding-top: 0em;
        width: auto;
        margin-left: 10%;
        color: white;
        font-size: 2em;
        font-weight: bold;
        text-decoration: none;
        text-transform: uppercase;
        display: inline-block;
        padding-left: 1em;
        padding-right: 1em;
        line-height: 2em;
        background-color: #e51a4b;
        box-shadow: 3px 3px 3px #b7b7b7;
    }

    #block-residence-homepagebanner a:hover {
        background-color: #9e0026;
    }
}

@media (min-width: 1200px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        align-items: center;
        list-style-type: none;
        margin: 0;
        margin-top: calc(6% - 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:1200px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        align-items: center;
        list-style-type: none;
        margin: 0;
        margin-top: calc(7% - 10px);
        padding: 0;
        margin-right: 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);
    }
}

.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: transparent;
        padding: 0 15px;
        font-size: 16px;
        line-height: 50px;
        height: 50px;
        text-decoration: none;
        margin-left: 2em;
        text-transform: none;
    }

    .menu > li:last-of-type a {
        border-radius: 5px;
        position: relative;
        display: inline-block;
        cursor: pointer;
        color: #472613;
        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: #ffffff;
        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: #472613;
        ; display: block;
        padding-left: 1em;
        background-color: #ffffff;
        ; padding-right: 1em;
        font-size: 1.2em;
        text-align: center;
        text-transform: uppercase;
        height: 3em;
        line-height: 3em;
        border-bottom: solid 1px #472613;
        ; }

    li .menu > li {
        border-bottom: 1px white;
    }
}

.menu > li a:hover {
    text-decoration: none;
    color: #ffffff;
    background: #80563e;
}

.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: #ffffff;
    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;
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        height: auto;
        padding: 0em;
    }

    .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 .button {
    display: block;
    width: 20%;
    text-align: center;
    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;
}

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;
}

@media (min-width: 1000px) {
    #block-residence-webform, #block-residence-webform-2, #block-residence-webform-3 {
        width: 100%;
        background: #ece4df;
        text-align: left;
        padding-left: 20%;
        padding-right: 20%;
        padding-top: 3em;
        padding-bottom: 3em;
        border-radius: 10px;
    }

    #block-residence-webform h2, #block-residence-webform-2 h2, #block-residence-webform-3 h2 {
        font-family: Pacifico;
        font-weight: normal !important;
        font-size: 2.5em;
        text-align: center;
        color: #472613;
    }
}

@media (max-width: 1000px) {
    #block-residence-webform, #block-residence-webform-2, #block-residence-webform-3 {
        width: 100%;
        background: #ece4df;
        text-align: left;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3em;
        padding-bottom: 3em;
        border-radius: 10px;
    }

    #block-residence-webform h2, #block-residence-webform-2 h2, #block-residence-webform-3 h2 {
        font-family: Pacifico;
        font-weight: normal !important;
        font-size: 2.5em;
        text-align: center;
        color: #472613;
    }
}

#block-residence-webform .button, #block-residence-webform-2 .button, #block-residence-webform-3 .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: #472613;
    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: #816859;
}

#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: 2em;
    height: auto;
}

.layout-sidebar-second ul {
    margin: 0;
    padding: 0;
}

@media (min-width: 1500px) {
    #block-residence-kontaktniudajetop {
        margin-left: 15%;
        width: 50%;
        float: left;
        font-size: 0.9em;
        overflow: visible;
    }

    #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 #adress {
        background-image: url("/themes/residence/images/adress.png");
        background-position: left center;
        background-size: auto 60%;
        background-repeat: no-repeat;
        padding-left: 1.3em;
        margin-right: 2em;
        color: white;
        font-weight: normal;
        text-decoration: none;
        line-height: 200%;
    }

    #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;
    }
}

@media (min-width: 1000px) and (max-width: 1500px) {
    #block-residence-kontaktniudajetop {
        margin-left: 5%;
        width: 80%;
        float: left;
        font-size: 0.8em;
        line-height: 2em;
        overflow: visible;
    }

    #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 #adress {
        background-image: url("/themes/residence/images/adress.png");
        background-position: left center;
        background-size: auto 60%;
        background-repeat: no-repeat;
        padding-left: 1.3em;
        margin-right: 2em;
        color: white;
        font-weight: normal;
        text-decoration: none;
        line-height: 200%;
    }

    #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;
    }
}

@media (max-width: 1000px) {
    #block-residence-kontaktniudajetop {
        margin-left: 0%;
        width: 100%;
        float: none;
        font-size: 0.9em;
        text-align: center;
    }

    #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: 1em;
    }

    #block-residence-kontaktniudajetop #adress {
        background-image: url("/themes/residence/images/adress.png");
        background-position: left center;
        background-size: auto 60%;
        background-repeat: no-repeat;
        padding-left: 1.3em;
        color: white;
        font-weight: bold;
        text-decoration: none;
        line-height: 200%;
        margin-right: 1em;
    }

    #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;
    }
}

#block-residence-kontaktniudajetop .kontakty {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
}

#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: 1500px) {
    #block-residence-prepinacjazyka {
        margin-right: 15%;
        line-height: 200%;
        width: 20%;
        float: right;
    }

    #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=cs]:hover, #block-residence-prepinacjazyka ul li a[hreflang=en]:hover {
        opacity: 0.5;
    }
}

@media (min-width: 1000px) and (max-width: 1500px) {
    #block-residence-prepinacjazyka {
        margin-right: 5%;
        line-height: 200%;
        width: 10%;
        float: right;
    }

    #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=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=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) {
    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");
}

@media (min-width: 500px) {
    .banner-hp {
        height: 32em;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom;
        padding-top: 3em;
        padding-bottom: 4em;
    }
}

@media (max-width: 500px) {
    .banner-hp {
        height: 34em;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center bottom;
        padding-top: 1em;
        padding-bottom: 4em;
    }
}

.banner-hp .views-row {
    display: grid;
    padding-left: 15%;
    padding-right: 15%;
    grid-template-columns: 1fr;
    gap: 1em;
}

@media (min-width: 1300px) {
    .banner-hp .views-row .views-field-field-nadpis {
        width: 40%;
    }

    .banner-hp .views-row .views-field-field-nadpis img {
        width: 100%;
        height: auto;
    }

    .banner-hp .views-row .views-field-body {
        width: 50%;
        color: white;
        font-family: Raleway;
        font-size: 1.5em;
    }

    .banner-hp .views-row .views-field-field-odkaz {
        width: 50%;
        color: white;
        font-family: Raleway;
        font-size: 1.5em;
    }

    .banner-hp .views-row .views-field-field-odkaz a {
        background-color: white;
        padding-left: 2em;
        padding-right: 2em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        text-decoration: none;
        font-weight: bold;
        border-radius: 10px;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    .banner-hp .views-row .views-field-field-nadpis {
        width: 60%;
    }

    .banner-hp .views-row .views-field-field-nadpis img {
        width: 100%;
        height: auto;
    }

    .banner-hp .views-row .views-field-body {
        width: 100%;
        color: white;
        font-family: Raleway;
        font-size: 1.5em;
    }

    .banner-hp .views-row .views-field-field-odkaz {
        width: 80%;
        color: white;
        font-family: Raleway;
        font-size: 1.5em;
    }

    .banner-hp .views-row .views-field-field-odkaz a {
        background-color: white;
        padding-left: 2em;
        padding-right: 2em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        text-decoration: none;
        font-weight: bold;
        border-radius: 10px;
    }
}

@media (max-width: 1000px) {
    .banner-hp .views-row .views-field-field-nadpis {
        width: 100%;
        text-align: center;
    }

    .banner-hp .views-row .views-field-field-nadpis img {
        width: 80%;
        height: auto;
    }

    .banner-hp .views-row .views-field-body {
        width: 100%;
        color: white;
        font-family: Raleway;
        font-size: 1.4em;
        text-align: center;
        text-shadow: 5px 5px 10px black;
    }

    .banner-hp .views-row .views-field-field-odkaz {
        width: 100%;
        color: white;
        font-family: Raleway;
        font-size: 1.5em;
        text-align: center;
    }

    .banner-hp .views-row .views-field-field-odkaz a {
        background-color: white;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        text-decoration: none;
        font-weight: bold;
        border-radius: 10px;
    }
}

.banner-hp .views-row .views-field-field-odkaz a:hover {
    background-color: #472613;
    color: white;
}

@media (min-width: 768px) {
    #homepage-zalozky {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2em;
        list-style-type: none;
        padding-left: 0;
        padding-right: 0;
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

@media (max-width: 768px) {
    #homepage-zalozky {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2em;
        list-style-type: none;
        padding-left: 0;
        padding-right: 0;
        padding-top: 2em;
        padding-bottom: 2em;
    }
}

#homepage-zalozky li {
    padding-top: 6em;
    background-image: url("/themes/residence/images/logo_farma_hnede.png");
    background-size: auto 4em;
    background-position: top left;
    background-repeat: no-repeat;
    color: #472613;
    line-height: 1.5em;
}

#homepage-zalozky li strong {
    display: block;
    font-size: 2em;
    font-family: Pacifico;
    color: #472613;
    font-weight: normal;
    line-height: 150%;
}

#block-residence-mistoprovasiakci h2 {
    font-family: Pacifico;
    font-weight: normal;
    text-align: center;
    font-size: 3em;
}

@media (min-width: 1000px) {
    #block-residence-mistoprovasiakci {
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
    }

    #block-residence-mistoprovasiakci .vase-akce {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3em;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1000px) {
    #block-residence-mistoprovasiakci {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
    }

    #block-residence-mistoprovasiakci .vase-akce {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2em;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

#block-residence-mistoprovasiakci .vase-akce a {
    height: 10em;
    padding-top: 7em;
    font-family: Pacifico;
    text-decoration: none;
    font-size: 2em;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    text-shadow: 5px 5px 15px black;
    border-radius: 10px;
}

#block-residence-mistoprovasiakci .vase-akce #narozeniny {
    background-image: url("/themes/residence/images/narozeninove-oslavy.jpg");
}

#block-residence-mistoprovasiakci .vase-akce #firemni {
    background-image: url("/themes/residence/images/firemni-vecirky.jpg");
}

#block-residence-mistoprovasiakci .vase-akce a:hover {
    opacity: 0.8;
}

#block-residence-mistoprovasiakci .button {
    display: inline-block;
    margin-top: .25rem;
    background-color: #472613;
    padding-left: 2em;
    color: #ffffff;
    padding-right: 2em;
    line-height: 250%;
    border-radius: 10px;
    text-decoration: none;
}

#block-residence-mistoprovasiakci .button:hover {
    background-color: #80563e;
    color: white;
}

#block-residence-customerreviews h2 {
    font-family: Pacifico;
    font-weight: normal;
    text-align: center;
    font-size: 3em;
    color: #ffffff;
}

@media(min-width: 1000px) {
    #block-residence-views-block-galerie-hp-block-1 {
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 3em;
        padding-bottom: 3em;
    }

    #block-residence-customerreviews {
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
        background-color: #472613;
    }
}

@media(max-width: 1000px) {
    #block-residence-views-block-galerie-hp-block-1 {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3em;
        padding-bottom: 3em;
    }

    #block-residence-customerreviews {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
        background-color: #472613;
    }
}

@media (min-width: 1300px) {
    #block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1em;
        list-style-type: none;
        padding: 0;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    #block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1em;
        list-style-type: none;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    #block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        list-style-type: none;
        padding: 0;
    }
}

@media (max-width: 768px) {
    #block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1em;
        list-style-type: none;
        padding: 0;
    }
}

#block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul li {
    height: 15em;
    position: relative;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}

#block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul li img {
    object-fit: cover;
    width: 100%;
    height: 15em;
}

#block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul li a:after {
    display: block;
    position: absolute;
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 1) 100%);
    content: "";
    height: 15em;
    top: 0;
    left: 0;
    width: 100%;
}

#block-residence-views-block-galerie-hp-block-1 .views-field-field-fotky ul li:hover a:after {
    display: block;
    position: absolute;
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 30%, rgb(84 84 84) 100%);
    content: "";
    height: 15em;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

@media (min-width: 1000px) {
    #block-residence-conabizimedale {
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
        background-color: #472613;
    }
}

@media (max-width: 1000px) {
    #block-residence-conabizimedale {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 2em;
        padding-bottom: 4em;
        text-align: center;
        overflow: auto;
        background-color: #472613;
    }
}

#block-residence-conabizimedale h2 {
    font-family: Pacifico;
    font-weight: normal;
    text-align: center;
    font-size: 3em;
    color: #ffffff;
}

@media (min-width: 1500px) {
    #block-residence-conabizimedale #rozcestnik {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1em;
    }
}

@media (min-width: 1000px) and (max-width: 1500px) {
    #block-residence-conabizimedale #rozcestnik {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
    }
}

@media (max-width: 1000px) {
    #block-residence-conabizimedale #rozcestnik {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1em;
    }
}

#block-residence-conabizimedale #rozcestnik a {
    height: 15em;
    border-radius: 10px;
    background-size: cover;
    background-position: center bottom;
    backgroun-repeat: no-repeat;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 1em;
}

#block-residence-conabizimedale #rozcestnik a:hover {
    opacity: 0.8;
}

#block-residence-conabizimedale #rozcestnik a span {
    font-family: Pacifico;
    displaY: block;
    font-weight: normal;
    text-align: center;
    font-size: 1.8em;
    color: #ffffff;
    margin-top: 3.5em;
    margin-bottom: 0em;
}

#block-residence-conabizimedale #rozcestnik .roz-nasefarma {
    background-image: url("/themes/residence/images/roz-nasefarma.jpg");
}

#block-residence-conabizimedale #rozcestnik .roz-residence {
    background-image: url("/themes/residence/images/roz-residence.jpg");
}

#block-residence-conabizimedale #rozcestnik .roz-safari {
    background-image: url("/themes/residence/images/roz-safari.jpg");
}

@media (min-width: 1000px) {
    #polednimenu-hp {
        margin: 1rem 0;
        background-color: #472613;
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 3em;
        padding-bottom: 3em;
        color: white;
    }

    #polednimenu {
        margin: 1rem 0;
        background-color: #fcf8ee;
        padding-left: 15%;
        padding-right: 15%;
        padding-top: 3em;
        padding-bottom: 3em;
        color: #472613;
    }
}

@media (max-width: 1000px) {
    #polednimenu-hp {
        margin: 1rem 0;
        background-color: #472613;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3em;
        padding-bottom: 3em;
        color: white;
    }

    #polednimenu {
        margin: 1rem 0;
        background-color: #fcf8ee;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 3em;
        padding-bottom: 3em;
        color: #472613;
    }
}

#polednimenu-hp .lm-footer .button {
    display: inline-block;
    margin-top: .25rem;
    background-color: white;
    padding-left: 2em;
    color: #472613;
    margin-top: 2em;
    padding-right: 2em;
    line-height: 250%;
    border-radius: 10px;
    text-decoration: none;
}

#polednimenu-hp .lm-footer .button:hover {
    background-color: #80563e;
    color: white;
}

#polednimenu .lm-footer .button {
    display: inline-block;
    margin-top: .25rem;
    background-color: #472613;
    padding-left: 2em;
    margin-top: 2em;
    color: white;
    padding-right: 2em;
    line-height: 250%;
    border-radius: 10px;
    text-decoration: none;
}

#polednimenu .lm-footer .button:hover {
    background-color: #80563e;
    color: white;
}

@media (min-width: 1300px) {
    .galerie {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 1em;
        margin-bottom: 2em;
    }
}

@media (min-width: 1000px) and (max-width: 1300px) {
    .galerie {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1em;
        margin-bottom: 2em;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .galerie {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1em;
        margin-bottom: 2em;
    }
}

@media (max-width: 768px) {
    .galerie {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1em;
        margin-bottom: 2em;
    }
}

.galerie div {
    height: 15em;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.galerie div img {
    width: 100%;
    height: 15em;
    object-fit: cover;
}

.galerie div:after {
    display: block;
    position: absolute;
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 1) 100%);
    content: "";
    height: 15em;
    top: 0;
    left: 0;
    width: 100%;
}

.galerie div:hover a:after {
    display: block;
    position: absolute;
    background: #000000;
    background: linear-gradient(180deg,rgba(0, 0, 0, 0) 30%, rgb(84 84 84) 100%);
    content: "";
    height: 15em;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

.lm-empty {
    text-align: center;
}


@media (min-width:1000px) {
.user-login-form {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    padding:2em;
    margin-bottom: 2em;
}}


@media (max-width:1000px) {
.user-login-form {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-color: #eee;
    padding:2em;
    margin-bottom: 2em;
}}
.user-login-form input[type=password], .user-login-form input[type=text] {
        height:3em;
        clear: both;
        float: none;
        font-size: 1em;
        border: 1px solid #bcc2c7;
        border-radius: 10px;
        padding-left: 1em;
        width: 100%;
        padding-right: 1em;
    }

.user-login-form input[type=submit] {
        height:3em;
        clear: both;
        float: none;
        font-size: 1em;
        border: 1px solid #bcc2c7;
        border-radius: 10px;
        padding-left: 1em;
        width: 100%;
        padding-right: 1em;
    margin-top: 1em;
    background-color: black;
    color: white;
    cursor: pointer;
    }