@font-face {
  font-family: "Anton";
  src: url("/themes/hamr/fonts/Anton.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/themes/hamr/fonts/Roboto.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

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: Roboto;
        background-color: #eee;
        background-size: cover;
        background-position: center top;
        background-attachment: fixed;
        opacity: 1;
        width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
        color: black;
        padding: 0;
        background-color: #EBECEC;
    }
}

@media (max-width: 1100px) {
    body {
        margin:0;
        font-size: 16px;
        font-family: Roboto;
        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: Roboto;
        background-color: white;
        background-size: 100% auto;
        background-repeat: no-repeat;
        background-position: center 200px;
        background-attachment: scroll;
        opacity: 1;
        width: 100vw;
        box-sizing: border-box;
        color: black;
    }
}

main {
    min-height: 40vh;
}

ul {
    line-height: 200%;
}

@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;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        height: auto;
        overflow: auto;
        padding-bottom: 1em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }

    #banner-hp {
        clear: both;
        width: 100%;
                background-image: url("/themes/hamr/images/background.jpg");
        background-size: cover;
        padding-top: 3em;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        min-height: 45em;
    }

    #banner-hp div {
        display: flex;
        flex-direction: column;
        margin-left: 20%;
        margin-right: 20%;
    }

    #banner-hp h1 {
        font-family: Anton;
        font-size: 4em;
        color: white;
        font-weight: normal;
        margin-top: 1em;
        margin-bottom: 0.2em;
    }

    #banner-hp h2 {
        font-family: Roboto;
        margin-top: 0 !important;
        color: white;
    }

    #banner-hp .rezervace {
        display: inline-block;
        background-color: #005392;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px #005392;
    }

    #banner-hp .rezervace:hover {
        background-color: #003055;
        border: solid 2px #003055;
    }

    #banner-hp .nase-vozy {
        display: inline-block;
        background-color: transparent;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }

    #banner-hp .nase-vozy:hover {
        display: inline-block;
        background-color: white;
        font-family: Anton;
        font-size: 2em;
        color: black;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }
}

@media (min-width: 1100px) and (max-width: 1400px) {
    header {
        clear: both;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        height: auto;
        overflow: auto;
        padding-bottom: 1em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }

    #banner-hp {
        clear: both;
        width: 100%;
                background-image: url("/themes/hamr/images/background.jpg");
        background-size: cover;
        padding-left: 5em;
        padding-right: 5em;
        padding-top: 3em;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        min-height: 45em;
    }

    #banner-hp h1 {
        font-family: Anton;
        font-size: 4em;
        color: white;
        font-weight: normal;
        margin-top: 1em;
        margin-bottom: 0.2em;
    }

    #banner-hp h2 {
        font-family: Roboto;
        margin-top: 0 !important;
        color: white;
    }

    #banner-hp .rezervace {
        display: inline-block;
        background-color: #005392;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px #005392;
    }

    #banner-hp .rezervace:hover {
        background-color: #003055;
        border: solid 2px #003055;
    }

    #banner-hp .nase-vozy {
        display: inline-block;
        background-color: transparent;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }

    #banner-hp .nase-vozy:hover {
        display: inline-block;
        background-color: white;
        font-family: Anton;
        font-size: 2em;
        color: black;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }
}

@media (max-width: 1100px) {
    header {
        clear: both;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        height: auto;
        overflow: visible;
        padding-bottom: 1em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }

    #banner-hp {
        clear: both;
        width: 100%;
                background-image: url("/themes/hamr/images/background.jpg");
        background-size: cover;
        padding-left: 5em;
        padding-right: 5em;
        padding-top: 3em;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        min-height: 45em;
    }


    #banner-hp h1 {
        font-family: Anton;
        font-size: 3em;
        color: white;
        font-weight: normal;
        margin-bottom: 0.2em;
    }

    #banner-hp h2 {
        font-family: Roboto;
        margin-top: 0 !important;
        color: white;
    }

    #banner-hp .rezervace {
        display: inline-block;
        background-color: #005392;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px #005392;
        margin-bottom: 0.5em;
    }

    #banner-hp .rezervace:hover {
        background-color: #003055;
        border: solid 2px #003055;
    }

    #banner-hp .nase-vozy {
        display: inline-block;
        background-color: transparent;
        font-family: Anton;
        font-size: 2em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }

    #banner-hp .nase-vozy:hover {
        display: inline-block;
        background-color: white;
        font-family: Anton;
        font-size: 2em;
        color: black;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }
}

@media (max-width: 600px) {
    header {
        clear: both;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        background-color: white;
        height: 6em;
        overflow: visible;
        padding-bottom: 1em;
    }

    header img {
        width: 100%;
        z-index: 2;
    }

    #banner-hp {
        clear: both;
        width: 100%;
                background-image: url("/themes/hamr/images/background.jpg");
        background-size: cover;
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 3em;
        padding-bottom: 3em;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        min-height: auto;
    }


    #banner-hp h1 {
        font-family: Anton;
        font-size: 3em;
        color: white;
        font-weight: normal;
        margin-top: 0em;
        margin-bottom: 0.2em;
    }

    #banner-hp h2 {
        font-family: Roboto;
        margin-top: 0 !important;
        color: white;
    }

    #banner-hp .rezervace {
        display: inline-block;
        background-color: #005392;
        font-family: Anton;
        font-size: 1.5em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px #005392;
        margin-bottom: 0.5em;
    }

    #banner-hp .rezervace:hover {
        background-color: #003055;
        border: solid 2px #003055;
    }

    #banner-hp .nase-vozy {
        display: inline-block;
        background-color: transparent;
        font-family: Anton;
        font-size: 1.5em;
        color: white;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }

    #banner-hp .nase-vozy:hover {
        display: inline-block;
        background-color: white;
        font-family: Anton;
        font-size: 2em;
        color: black;
        text-decoration: none;
        line-height: 200%;
        padding-left: 2em;
        padding-right: 2em;
        border: solid 2px white;
    }
}

a {
    color: #ffffff;
}

footer a {
    color: white;
}

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-hamr-primary-local-tasks {
    width: 100%;
    padding: 2em;
    margin-top: 1em;
    background-color: white;
    border-left: solid 1em #005392;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 1%;
    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-hamr-primary-local-tasks h2 {
    display: none;
}

#block-hamr-primary-local-tasks ul {
    overflow: auto;
    overflow-y: none;
    margin: 0;
    padding: 0;
    height: 3.5em;
}

#block-hamr-primary-local-tasks ul li {
    float: left;
    list-style-type: none;
}

#block-hamr-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-hamr-primary-local-tasks ul li a:hover {
    border-bottom: solid 2px #12243e;
    background-color: #dfdfdf;
    color: #12243e;
}

@media (min-width: 1000px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2.3em;
    }

    h3 {
        font-size: 2em;
    }

    h4 {
        font-size: 1.7em;
    }

    h5 {
        font-size: 1.4em;
    }

    h5 {
        font-size: 1.1em;
    }
}

@media (max-width: 1000px) {
    h1 {
        font-size: 2em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
        margin-top: 0;
    }

    h2 {
        font-size: 1.8em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
    }

    h3 {
        font-size: 1.6em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
    }

    h4 {
        font-size: 1.4em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
    }

    h5 {
        font-size: 1.3em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
    }

    h5 {
        font-size: 1.1em;
        line-height: 120%;
        font-family: Roboto;
        font-weight: bold;
    }
}

@media (min-width: 1400px) {
    #block-hamr-site-branding {
        width:5%;
        float: left;
        margin-left: 10%;
        margin-top: 1em;
        margib-bottom: 1em;
    }
}

@media (max-width: 1400px) {
    #block-hamr-site-branding {
        width:10%;
        float: left;
        margin-top: 2em;
        margin-left: 10%;
    }
}

@media (max-width: 1100px) {
    #block-hamr-site-branding {
        width:10%;
        float: left;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        margin-left: 10%;
    }
}

@media (max-width: 850px) {
    #block-hamr-site-branding {
        width:10%;
        float: left;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
        margin-left: 5%;
    }
}

@media (max-width: 1100px) {
    #block-hamr-site-branding {
        float:left;
        width: 15%;
        z-index: 2;
        margin-top: 1em;
    }
}

@media (min-width: 1000px) {
    article {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: auto;
        padding-bottom: 1em;
    }
}

@media (max-width: 1000px) {
    article {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    article .hlavni-fotka {
        float: right;
        width: 45%;
        margin-left: 3em;
    }

    article .hlavni-fotka-2 {
        clear: both;
        float: right;
        width: 35%;
        margin-left: 4em;
    }
}

@media (max-width: 768px) {
    article .hlavni-fotka {
        width: 100%;
    }

    article .hlavni-fotka-2 {
        clear: both;
        width: 100%;
    }
}

@media (min-width: 768px) {
    #block-hamr-page-title {
        width: 70%;
        font-family: Roboto;
        line-height: 400%;
        margin-left: auto;
        margin-right: auto;
        text-transform: uppercase;
        padding-top: 3em;
        margin-bottom: 3em;
        text-align: center;
        color: #51606F;
    }
}

@media (max-width: 1000px) {
    #block-hamr-page-title {
        width: 90%;
        font-family: Roboto;
        line-height: 200%;
        margin-left: auto;
        margin-right: auto;
        text-transform: uppercase;
        padding-top: 2em;
        margin-bottom: 1em;
        text-align: center;
        color: #51606F;
    }
}

#block-hamr-page-title::before {
    content: " ";
    display: block;
    background-color: #51606F;
    height: 0.3em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    width: 10%;
    margin-bottom: 0.5em;
}

#block-hamr-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-hamr-branding img {
    width: 100%;
    float: left;
}

@media (min-width: 1100px) {
    main[role=main] {
        width: 100%;
        background-color: #EBECEC;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1100px) {
    main[role=main] {
        clear: both;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 700px) {
    main[role=main] {
        width: 100%;
        padding: 0em;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Paticka */
footer {
    clear: both;
    background-color: #2B2A29;
    padding-bottom: 4em;
    text-align: center;
    color: white;
    font-size: 1em;
    line-height: 2em;
    overflow: auto;
    padding-top: 4em;
    padding-left: 10%;
    padding-right: 10%;
    margin-top: 3em;
    position: relative;
}

@media (min-width: 1000px) {
    #paticka-menu {
        width: 33%;
        float: left;
        text-align: left;
    }

    #paticka-menu ul {
        margin-left: 1em;
        font-weight: bold;
        line-height: 200%;
    }

    #paticka-menu ul li a {
        color: white;
        text-decoration: none;
    }

    #paticka-menu ul li a:hover {
        color: white;
        text-decoration: underline;
    }

    #kontakt-paticka {
        width: 33%;
        float: left;
        text-align: left;
    }

    #kontakt-paticka p {
        margin-left: 1em;
        font-weight: bold;
        line-height: 200%;
    }

    #paticka-mapa {
        width: 33%;
        float: left;
        text-align: left;
        overflow: hidden;
    }

    #paticka-dole {
        clear: both;
        padding-top: 1em;
    }

    #leaflet-map-view-mapa-paticka-block-1 {
        height: 350px;
    }

    footer h2 {
        font-family: Anton;
        font-weight: normal;
        font-size: 1.8em;
        margin: 0;
        margin-bottom: 1em;
    }

    footer .sloupec1 a, footer .sloupec2 a, footer .sloupec3 a, footer .sloupec4 a {
        color: white;
        text-decoration: none;
    }

    footer .sloupec1 a:hover, footer .sloupec2 a:hover, footer .sloupec3 a:hover, footer .sloupec4 a:hover {
        color: white;
        text-decoration: underline;
    }
}

@media (max-width: 1000px) {
    #paticka-menu {
        width: 100%;
        text-align: left;
    }

    #paticka-menu ul {
        margin-left: 0em;
        font-weight: bold;
        line-height: 200%;
    }

    #paticka-menu ul li a {
        color: white;
        text-decoration: none;
    }

    #paticka-menu ul li a:hover {
        color: white;
        text-decoration: underline;
    }

    #kontakt-paticka {
        width: 100%;
        text-align: left;
    }

    #kontakt-paticka p {
        margin-left: 1em;
        font-weight: bold;
        line-height: 200%;
    }

    #paticka-mapa {
        width: 100%;
        text-align: left;
        overflow: hidden;
    }

    #paticka-dole {
        clear: both;
        padding-top: 1em;
    }

    #leaflet-map-view-mapa-paticka-block-1 {
        height: 350px;
    }
}

footer h2 {
    font-family: Anton;
    font-weight: normal;
    font-size: 1.8em;
    margin: 0;
    margin-bottom: 1em;
}

@media (min-width: 768px) {
    .more-link a {
        display:block;
        clear: both;
        margin-top: 1em;
        width: 30%;
        border: dotted 2px #12243e;
        color: #12243e;
        ;text-decoration: none;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        line-height: 3em;
        font-weight: bold;
    }
}

@media (max-width: 768px) {
    .more-link a {
        display:block;
        clear: both;
        margin-top: 1em;
        width: 50%;
        border: dotted 2px #12243e;
        color: white;
        ;text-decoration: none;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        line-height: 3em;
        font-weight: bold;
    }
}

.more-link {
    width: 100%;
}

.more-link a:hover {
    border: solid 2px white;
    color: white;
    background-color: #12243e;
    ;}

@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;
    }
}

.galerie {
    clear: both;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 3em;
}

.galerie div {
    flex: 1 1 auto;
    height: 10em;
    overflow: hidden;
}

.galerie div img {
    object-fit: cover;
    width: 100%;
    height: 10em;
}

.galerie div img:hover {
    opacity: 0.7;
    transition: opacity 1s;
}

.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;
    }
}

@media (min-width: 1200px) {
    .video {
        width:48% !important;
        float: left;
        margin-right: 1em;
        margin-bottom: 2em;
    }
}

@media (max-width: 1200px) {
    .video {
        width:100% !important;
    }
}

.layout-container {
    position: relative;
}

@media (min-width: 1400px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        list-style-type: none;
        font-family: Anton;
        width: 60%;
        margin: 0;
        margin-top: 1.5em;
        gap: 1em;
        padding: 0;
        margin-right: 10%;
    }

.menu > * {
  flex: 0 0 auto;
}

    .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: 1400px) {
    .menu {
        display:flex;
        float: right;
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        list-style-type: none;
        font-family: Anton;
        font-size: 1.7em;
        width: 60%;
        margin: 0;
        margin-top: 2.5em;
        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: 1400px) {
    .menu > li {
        text-align: center;
    }

    .menu > li:last-of-type {
        text-align: center;
    }

    .menu > li ul li {
        overflow: hidden;
        width: 100%;
        line-height: 3em;
    }

    .menu > li a {
        text-decoration: none;
        color: #005392;
        display: block;
        text-wrap: wrap;
        font-size: 1.7em;
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 1em;
        padding-right: 1em;
        text-align: center;
        text-transform: uppercase;
    }

    .menu > li ul li a {
        text-decoration: none;
        color: white;
        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;
    }
}

@media (min-width: 1100px) and (max-width:1400px) {
    .menu li {
        flex-basis: 20%;
        text-wrap: wrap;
    }

    .menu > li a {
        text-decoration: none;
        color: #005392;
        display: block;
        padding-left: 0.5em;
        padding-right: 0.5em;
        font-size: 0.9em;
        text-align: center;
        text-transform: uppercase;
        height: auto;
        line-height: 1.4em;
        border-bottom: solid 1px transparent;
    }

    .menu > li ul li a {
        overflow: hidden;
        width: 100%;
        line-height: 3em;
        padding-left: 1em;
        padding-right: 1em;
    }
}

@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: #c7c9cb;
}

.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:10em;
        margin-right: 0em;
    }
}

#block-hamr-main-menu {
    position: relative;
}

@media (max-width: 600px) {
    .menu-button {
        margin-top: 7em;
        margin-right: 0em;
    }
}

@media (max-width: 500px) {
    .menu-button {
        margin-top: 6em;
        margin-right: 0em;
    }
}

.menu-button,.menu-button::before,.menu-button::after {
    display: block;
    background-color: #000000;
    position: absolute;
    height: 8px;
    width: 40px;
    transition: transform 400ms cubic-bezier(0.23,1,0.32,1);
    border-radius: 2px;
}

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: 100%;
        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: #283038;
    }

    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: 100%;
        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: #283038;
    }

    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;
}

@media (min-width: 1400px) {
    #top-lista {
        background-color: #434242;
        height: 3em;
        text-align: right;
        padding-right: 17em;
        line-height: 3em;
        color: #B2B3B3;
    }
}

@media (min-width: 1100px) and (max-width:1400px) {
    #top-lista {
        background-color: #434242;
        height: 3em;
        text-align: right;
        padding-right: 10em;
        line-height: 3em;
        color: #B2B3B3;
    }
}

@media (min-width: 768px) and (max-width:1100px) {
    #top-lista {
        background-color: #434242;
        height: 3em;
        text-align: center;
        line-height: 3em;
        color: #B2B3B3;
    }
}

@media (max-width: 768px) {
    #top-lista {
        display: none;
    }
}

#top-lista p {
    line-height: 3em;
    padding: 0;
    margin: 0;
}
#top-lista a {
    color: #B2B3B3;
}

#top-lista .city {
    background-image: url("/themes/hamr/images/place.png");
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 1.5em;
    margin-right: 2em;
}

#top-lista .email {
    background-image: url("/themes/hamr/images/mail.png");
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 2.2em;
    margin-right: 2em;
}

#top-lista .phone {
    background-image: url("/themes/hamr/images/phone.png");
    background-size: auto 100%;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 1.6em;
}

#form-hp,#rezervace-auta,#rezervace {
    background-color: white;
    border-left: solid 1em #005392;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    padding-bottom: 2%;
}

#rezervace-auta {
    margin-top: 2em;
}

#form-hp h2,#rezervace-auta h2,#rezervace h2 {
    margin-top: 0;
    font-family: Anton;
    font-weight: normal;
    text-align: center;
}

#form-hp h2::before,#rezervace-auta h2::before {
    margin-top: 0;
    font-family: Anton;
    font-weight: normal;
    text-align: center;
    content: "Rezervujte si ";
    color: #005392;
    ; }

#form-hp .webform-submission-rezervace-homepage-form,#rezervace-auta .webform-submission-rezervace-auta-form,#rezervace .webform-submission-rezervace-homepage-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (min-width: 800px) {
    #form-hp .form-item, #form-hp .form-actions, #rezervace-auta .form-item, #rezervace-auta .form-actions, #rezervace .form-item, #rezervace .form-actions {
        flex: 0 1 32%;
    }
}

@media (max-width: 800px) {
    #form-hp .form-item, #form-hp .form-actions, #rezervace-auta .form-item, #rezervace-auta .form-actions, #rezervace .form-item, #rezervace .form-actions {
        flex: 0 1 100%;
    }
}

#form-hp .form-item input,#rezervace-auta .form-item input,#rezervace .form-item input, .user-login-form input {
    width: 100%;
    height: 4em;
    padding-left: 1em;
    padding-right: 1em;
    color: black;
    font-size: 1em;
    border: solid 1px #c1c1c1;
}

input[type="date"]:before {
    color: #878787;
    content: attr(placeholder) !important;
    margin-right: 0.5em;
}

#form-hp .form-item select,#rezervace .form-item select {
    width: 100%;
    height: 4em;
    padding-left: 1em;
    padding-right: 1em;
    color: black;
    font-size: 1em;
    border: solid 1px #c1c1c1;
}

#form-hp .form-actions #edit-actions-submit, #form-hp .form-actions #edit-actions-submit--2,#rezervace-auta .form-actions #edit-actions-submit, #rezervace-auta .form-actions #edit-actions-submit--2,#rezervace .form-actions #edit-actions-submit, #rezervace .form-actions #edit-actions-submit--2, .user-login-form .button {
    width: 100%;
    height: 4em;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 1em;
    display: block;
    background-color: #005392;
    border: 0;
    font-weight: bold;
    color: white;
}

#form-hp .form-actions #edit-actions-submit:hover, #form-hp .form-actions #edit-actions-submit--2:hover,#rezervace-auta .form-actions #edit-actions-submit:hover, #rezervace-auta .form-actions #edit-actions-submit--2:hover,#rezervace .form-actions #edit-actions-submit:hover, #rezervace .form-actions #edit-actions-submit--2:hover {
    background-color: #003055;
    cursor: pointer;
}

#form-hp #edit-processed-text, #rezervace-auta #edit-processed-text, #rezervace #edit-processed-text {
    flex: 3 1 auto;
    width: 100%;
    clear: both;
    color: #323232c1;
    text-align: center;
}
@media (min-width: 1400px) {
    #clearfix {
        height: 6em;
    }
    #block-hamr-content {
        background-color: #005392;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left: 15%;
        margin-right: 15%;
        margin-top: -5em;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

        #co-nabizime {
        background-color: #ffffff;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left:15%;
        margin-right: 15%;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }

        #proc-s-nami {
        background-color: #005392;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left: 15%;
        margin-right: 15%;
        margin-top: 3em;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

            #formular {
        background-color: #ffffff;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left:15%;
        margin-right: 15%;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }
}

@media (min-width: 1100px) and (max-width: 1400px) {
        #clearfix {
        height: 6em;
    }
    
    #block-hamr-content {
        background-color: #005392;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: -5em;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

        #co-nabizime {
        background-color: #ffffff;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left:10%;
        margin-right: 10%;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }

    
        #formular {
        background-color: #ffffff;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left:10%;
        margin-right: 10%;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }

        #proc-s-nami {
        background-color: #005392;
        border-top: solid 5px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left: 10%;
        margin-right: 10%;
        margin-top: 3em;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }
}

@media (max-width: 1100px) {
    
    #block-hamr-content {
        background-color: #005392;
        border-left: solid 10px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-left: 0%;
        margin-right: 0%;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }

        #co-nabizime {
        background-color: #ffffff;
        border-left: solid 10px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }

            #formular {
        background-color: #ffffff;
        border-left: solid 10px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-top: 3em;
        padding-left: 3em;
        color: #005392;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/blue-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
            overflow: auto;
    }

        #proc-s-nami {
        background-color: #005392;
        border-left: solid 10px #E31E24;
        padding-top: 4em;
        padding-bottom: 5em;
        margin-top: 3em;
        padding-left: 3em;
        color: white;
        padding-right: 3em;
        background-image: url("/themes/hamr/images/white-back.png");
        background-position: center bottom 3em;
        background-repeat: no-repeat;
        background-size: 100% auto;
    }
}

@media (min-width: 768px){
#co-nabizime .views-field-field-image {
    width: 40%;
    float: left;
}#co-nabizime .views-field-body {
    width: 55%;
    float: right;
}}

@media (max-width: 768px){
#co-nabizime .views-field-field-image {
    width: 100%;
}#co-nabizime .views-field-body {
    width: 100%
}}

#co-nabizime .views-field-field-image img {
    width: 100%;
    height: auto;
}



#co-nabizime h3, #proc-s-nami h3 {
        margin: 0;
    text-align: left;
    display: inline-block;
    font-family: Anton;
    font-weight: normal;
}

#proc-s-nami .button {
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
}

#co-nabizime ul {
    padding: 0 !important;
}

#co-nabizime li {
    clear: both;
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    margin-bottom: 1em;
}

@media (min-width: 1400px) {
#proc-s-nami #proc-seznam {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2em;
}#proc-s-nami #proc-seznam  li {
    text-align: center;
    background-color: white;
    color: #005392;;
    padding: 2em;
    padding-top: 8em;
    background-image: url("/themes/hamr/images/benefit.png");
    background-size: auto 5em;
    background-repeat: no-repeat;
    background-position: center top 2em;
}
}

@media (min-width: 1000px) and (max-width:1400px) {
#proc-s-nami #proc-seznam {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2em;
}#proc-s-nami #proc-seznam  li {
    text-align: center;
    background-color: white;
    color: #005392;;
    padding: 2em;
    padding-top: 8em;
    background-image: url("/themes/hamr/images/benefit.png");
    background-size: auto 5em;
    background-repeat: no-repeat;
    background-position: center top 2em;
}
}

@media (max-width:1100px) {
#proc-s-nami #proc-seznam {
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
}#proc-s-nami #proc-seznam  li {
    text-align: center;
    background-color: white;
    color: #005392;;
    padding: 2em;
    padding-top: 8em;
    background-image: url("/themes/hamr/images/benefit.png");
    background-size: auto 5em;
    background-repeat: no-repeat;
    background-position: center top 2em;
}
}

#co-nabizime li::before {
    background-image: url("/themes/hamr/images/bullet.png");
    content: " ";
    display: block;
    background-repeat: no-repeat;
    height: 3.5em;
    width: 1.5em;
    background-size: 100% auto;
    float: left;
    margin-right: 0.6em;
}

#block-hamr-content .button, #proc-s-nami .button {
    background-color: white;
    color: #005392;;
}

#block-hamr-content .button:hover {
    background-color: #d4d4d4;
    color: #005392;;
}

#block-hamr-content h2 {
    margin: 0;
    text-align: left;
    display: inline-block;
    font-family: Anton;
    font-weight: normal;
}

@media (min-width: 768px) {
    .button {
        width: 15em;
        text-align: center;
        line-height: 3em;
        height: 3em;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.1em;
        display: block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }
}

@media (max-width: 768px) {
    .button {
        width: auto;
        text-align: center;
        line-height: 3em;
        height: 3em;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.1em;
        display: block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }
}

.button:hover {
    background-color: #003055;
}

@media (min-width: 1000px) {
    .prehled-aut .views-row {
        background-color: white;
        border-left: solid 1em #005392;
        padding-left: 0;
        margin-top: 2em;
        padding-right: 5%;
        padding-top: 0;
        padding-bottom: 0;
        overflow: auto;
    }

    .prehled-aut .views-field-field-image {
        width: 50%;
        height: 20em;
        float: left;
        overflow: hidden;
        margin-right: 5em;
    }

    .prehled-aut .views-field-field-image img {
        object-fit: cover;
        height: 20em !important;
        width: 100%;
    }

    .prehled-aut .views-field-title {
        font-family: Anton;
        font-size: 2.5em;
        padding-top: 1em;
    }

    .prehled-aut .views-field-title a {
        text-decoration: none;
    }

    .prehled-aut .views-field-field-pujcovne-od {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 0.5em;
        color: #005392;
        ; }

    .prehled-aut .views-field-field-pujcovne-od .views-label {
        float: left;
        margin-right: 0.5em;
        color: black;
    }

    .prehled-aut .views-field-field-motor {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 0.5em;
        color: #005392;
        ; }

    .prehled-aut .views-field-field-motor .views-label {
        float: left;
        margin-right: 0.5em;
        color: black;
        font-weight: normal;
    }

    .prehled-aut .views-field-field-palivo {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 0.5em;
        color: #005392;
        ; }

    .prehled-aut .views-field-field-palivo .views-label {
        float: left;
        margin-right: 0.5em;
        color: black;
        font-weight: normal;
    }

    .prehled-aut .views-field-view-node a {
        width: 20%;
        text-align: center;
        line-height: 3em;
        height: 3em;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.1em;
        margin-top: 1em;
        display: inline-block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

    .prehled-aut .views-field-view-node a:hover {
        background-color: #003055;
    }

    .prehled-aut .views-exposed-form {
        background-color: white;
        border-left: solid 1em #005392;
        padding-left: 0;
        margin-top: 0em;
        padding-right: 5%;
        padding-left: 5%;
        padding-top: 0;
        padding-bottom: 0;
        overflow: auto;
        padding-bottom: 2em;
    }

    .prehled-aut .views-exposed-form .form-item {
        width: 33%;
        float: left;
        padding-left: 1em;
        padding-right: 1em;
    }

    .prehled-aut .views-exposed-form .form-item label {
        width: 100%;
        float: left;
        font-weight: bold;
        margin-bottom: 0.5em;
    }

    .prehled-aut .views-exposed-form .form-item select {
        width: 100%;
        float: left;
        height: 4em;
        line-height: 4em;
        text-align: center;
        font-size: 1em;
        border: solid #c1c1c1 1px;
    }

    .prehled-aut .views-field-view-node a:hover {
        background-color: #003055;
    }

    .mapa-kontakt {
        width: 50%;
        float: right;
    }
}

@media (max-width: 1000px) {
    .prehled-aut .views-row {
        background-color: white;
        border-left: solid 1em #005392;
        padding-left: 0;
        margin-top: 2em;
        padding-right: 5%;
        padding-top: 0;
        padding-bottom: 0.5em;
        ; overflow: visible;
    }

    .prehled-aut .views-field-field-image {
        width: 100%;
        height: 20em;
    }

    .prehled-aut .views-field-field-image img {
        object-fit: cover;
        height: 20em !important;
        width: 100%;
    }

    .prehled-aut .views-field-title {
        font-family: Anton;
        font-size: 2.5em;
        text-align: left;
        margin-left: 1.4em;
        padding-top: 0.5em;
    }

    .prehled-aut .views-field-title a {
        text-decoration: none;
    }

    .prehled-aut .views-field-field-pujcovne-od {
        font-size: 1.2em;
        clear: both;
        font-weight: bold;
        margin-top: 0.5em;
        margin-left: 3em;
        color: #005392;
    }

    .prehled-aut .views-field-field-pujcovne-od .views-label {
        margin-right: 0.5em;
        color: black;
        float: left;
    }

    .prehled-aut .views-field-field-motor {
        font-size: 1.2em;
        font-weight: bold;
        margin-top: 0.5em;
        margin-left: 3em;
        clear: both;
        color: #005392;
    }

    .prehled-aut .views-field-field-motor .views-label {
        float: left;
        margin-right: 0.5em;
        color: black;
        font-weight: normal;
    }

    .prehled-aut .views-field-field-palivo {
        font-size: 1.2em;
        font-weight: bold;
        margin-left: 3em;
        margin-top: 0.5em;
        color: #005392;
        ; }

    .prehled-aut .views-field-field-palivo .views-label {
        float: left;
        margin-right: 0.5em;
        color: black;
        font-weight: normal;
    }

    .prehled-aut .views-field-view-node a {
        width: 20%;
        text-align: center;
        line-height: 3em;
        height: 3em;
        padding-left: 1em;
        margin-left: 3em;
        padding-right: 1em;
        font-size: 1.1em;
        margin-top: 1em;
        display: inline-block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

    .prehled-aut .views-field-view-node a:hover {
        background-color: #003055;
    }

    .prehled-aut .views-row {
        background-color: white;
        border-left: solid 1em #005392;
        padding-left: 0;
        margin-top: 2em;
        padding-right: 5%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .prehled-aut .views-field-view-node a {
        width: 20%;
        text-align: center;
        line-height: 3em;
        height: 3em;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.1em;
        margin-top: 1em;
        display: inline-block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

    .prehled-aut .views-exposed-form {
        background-color: white;
        border-left: solid 1em #005392;
        padding-left: 0;
        margin-top: 0em;
        padding-right: 5%;
        padding-left: 5%;
        padding-top: 2%;
        padding-bottom: 0;
        overflow: auto;
        padding-bottom: 2em;
    }

    .prehled-aut .views-exposed-form .form-item {
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }

    .prehled-aut .views-exposed-form .form-item label {
        width: 100%;
        float: left;
        font-weight: bold;
        margin-bottom: 0.5em;
    }

    .prehled-aut .views-exposed-form .form-item select {
        width: 100%;
        float: left;
        height: 4em;
        line-height: 4em;
        text-align: center;
        font-size: 1em;
        border: solid #c1c1c1 1px;
    }

    .prehled-aut .views-field-view-node a:hover {
        background-color: #003055;
    }

    .mapa-kontakt {
        width: 100%;
    }
}

.pujcovna,.motor,.palivo,.karoserie,.prevodovka {
    overflow: auto;
    margin-bottom: 0.5em;
    background-size: auto 70%;
    background-position: 1em center;
    background-repeat: no-repeat;
    padding-left: 5em;
    line-height: 200%;
    background-color: #eee;
    padding-top: 1em;
    padding-bottom: 1em;
}

.pujcovna div:first-of-type,.motor div:first-of-type,.palivo div:first-of-type,.karoserie div:first-of-type,.prevodovka div:first-of-type {
    float: left;
    margin-right: 0.5em;
}

.pujcovna div:nth-of-type(2),.motor div:nth-of-type(2),.palivo div:nth-of-type(2),.karoserie div:nth-of-type(2),.prevodovka div:nth-of-type(2) {
    margin-right: 0.5em;
    color: #005392;
    font-weight: bold;
}

.pujcovna {
    background-image: url("/themes/hamr/icons/pujcovne.png");
    margin-top: 2em;
}

.karoserie {
    background-image: url("/themes/hamr/icons/karoserie.png");
}

.prevodovka {
    background-image: url("/themes/hamr/icons/prevodovka.png");
}

.palivo {
    background-image: url("/themes/hamr/icons/palivo.png");
}

.motor {
    background-image: url("/themes/hamr/icons/motor.png");
}

#proc-nas, #chcete-poradit {
    background-color: white;
    border-left: solid 1em #005392;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    margin-top: 2em;
}

#chcete-poradit p {
    font-size: 1.3em;
}

#chcete-poradit a {
    color: #005392;
    font-weight: bold;
}

article li::before, #proc-nas li::before {
    background-image: url(/themes/hamr/icons/check.png);
    content: " ";
    display: block;
    background-repeat: no-repeat;
    height: 1.5em;
    width: 1.5em;
    background-size: 100% auto;
    float: left;
    margin-right: 0.6em;
}

article li, #proc-nas li {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.5em;
    margin-bottom: 1em;
}

input {
    width: 100%;
    height: 4em;
    margin-bottom: 0.5em;
    font-size: 1em;
    padding: 1em;
    border: solid 1px #aaa;
}
label {
    display: block;
    margin-bottom:0.5em;
}

textarea {
    width: 100%;
    height: 10em;
    margin-bottom: 0.5em;
    font-size: 1em;
    padding: 1em;
    border: solid 1px #aaa;
}

#edit-actions input {
        width: auto;
        text-align: center;
        line-height: 3em;
        height: 3em;
    padding-top: 0;
    cursor: pointer;
    padding-bottom: 0;
        padding-left: 1em;
        padding-right: 1em;
        font-size: 1.1em;
        display: block;
        background-color: #005392;
        border: 0;
        font-weight: bold;
        color: white;
        text-decoration: none;
    }

#edit-actions input:hover {
        background-color: #012d4f;
    }



@media (min-width: 1000px) {
    footer .logo-footer {
        display: inline-block;
        width: 10%;
        background-image: url("/themes/hamr/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/hamr/images/llweb.png");
        height: 5em;
        background-size: 100% auto;
        background-repeat: no-repeat;
        color: transparent;
    }
}

footer .logo-footer:hover {
    background-image: url("/themes/hamr/images/llweb_hover.png");
}