@import url('https://fonts.googleapis.com/css?family=Amatic+SC&display=swap'); @import url('https://fonts.googleapis.com/css?family=Raleway&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Condensed:wght@800;900&family=Raleway:wght@900&display=swap'); /* Zakladni prvky webu */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-size: 16px;
    font-family: Raleway;
    background-color: #F5F5F5;
    ; opacity: 1;
    background-size: 9px 9px;
    width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

@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: 1100px) {
    header {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        overflow: auto;
        padding-bottom: 8em;
    }

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

@media (min-width: 600px) and (max-width: 1100px) {
    header {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        overflow: auto;
        padding-bottom: 2em;
    }

    header img {
        width: 100%;
        float: left;
    }
}

@media (max-width: 600px) {
    header {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        overflow: auto;
        padding-bottom: 2em;
    }

    header img {
        width: 100%;
    }
}

a {
    color: #12243e;
}

p {
    line-height: 200%;
}

article img {
    max-width: 100%;
    height: auto;
}

table {
    border-spacing: 0;
    width: 100%;
}

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;
        padding-bottom: 0;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }
}

/* Ovladaci panely administrace */
#block-ziba-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-ziba-primary-local-tasks h2 {
    display: none;
}

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

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

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

/* Inputy, labely, formulare */
@media (min-width: 1100px) {
    input {
        height: 3em;
        clear: both;
        float: none;
        border-radius: 0.5em;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        width: 40%;
        padding-right: 1em;
    }

    textarea {
        height: 10em;
        clear: both;
        float: none;
        border-radius: 0.5em;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        padding-right: 1em;
        width: 40%;
    }

    input:focus {
        border: solid 2px #0f532e;
    }

    label {
        display: block;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    form .description {
        font-size: 0.8em;
    }

    .button {
        margin-top: 1em;
        cursor: pointer;
        background-color: #07487D;
        color: white;
        font-weight: bold;
    }

    .button:hover {
        background-color: #0d3f67;
    }
}

@media (max-width: 1100px) {
    input {
        height: 3em;
        clear: both;
        float: none;
        border-radius: 0.5em;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        width: 70%;
        padding-right: 1em;
    }

    textarea {
        height: 10em;
        clear: both;
        float: none;
        border-radius: 0.5em;
        border: solid 1px #ddd;
        font-size: 1em;
        padding-left: 1em;
        padding-right: 1em;
        width: 70%;
    }

    input:focus {
        border: solid 2px #0f532e;
    }

    label {
        display: block;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }

    form .description {
        font-size: 0.8em;
    }

    .button {
        margin-top: 1em;
        cursor: pointer;
        background-color: #07487D;
        color: white;
        font-weight: bold;
    }

    .button:hover {
        background-color: #0d3f67;
    }
}

/* Nadpisy */
h1 {
    font-size: 2.5em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

h2 {
    font-size: 2.3em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

h3 {
    font-size: 2em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

h4 {
    font-size: 1.7em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

h5 {
    font-size: 1.4em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

h5 {
    font-size: 1.1em;
    font-family: Encode Sans Condensed;
    font-weight: bold;
}

@media (min-width: 1100px) {
    #block-ziba-site-branding {
        width: 15%;
        float: left;
        padding: 2em;
        box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2);
        position: absolute;
        left: 10%;
        z-index: 2;
        background-color: white;
    }
}

@media (min-width: 600px) and (max-width: 1100px) {
    #block-ziba-site-branding {
        width: 30%;
        float: left;
        padding: 2em;
        box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2);
        left: 10%;
        z-index: 2;
        background-color: white;
    }
}

@media (max-width: 600px) {
    #block-ziba-site-branding {
        width: 40%;
        float: left;
        padding: 2em;
        box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2);
        left: 10%;
        z-index: 2;
        background-color: white;
    }
}

#block-ziba-content,#block-ziba-page-title {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

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

/* Paticka */
@media (min-width: 1000px) {
    footer {
        border-top: 0.3em solid #07487D;
        clear: both;
        background-color: #261e1e;
        padding-top: 1em;
        padding-bottom: 1em;
        text-align: center;
        color: white;
        font-size: 1em;
        line-height: 2em;
    }
}

@media (max-width: 1000px) {
    footer {
        border-top: 0.3em solid #07487D;
        clear: both;
        background-color: #261e1e;
        padding-top: 1em;
        padding-bottom: 1em;
        text-align: center;
        color: white;
        line-height: 2em;
    }
}

footer h2 {
    font-family: Encode Sans Condensed;
    font-size: 1.5em;
    color: white;
}

@media (min-width: 1600px) {
    footer #block-ziba-hlavnimenu {
        width: 20%;
        margin-left: 20%;
        float: left;
        color: white;
    }

    footer #block-ziba-hlavnimenu ul {
        list-style-type: none;
        margin-left: 0 !important;
        left: 0 !important;
        padding-left: 0;
    }

    footer #block-ziba-hlavnimenu ul li {
        list-style-type: none;
        margin-left: 0;
        line-height: 200%;
    }

    footer #block-ziba-hlavnimenu ul li a {
        color: white;
    }

    footer #block-ziba-deti {
        width: 40%;
        margin-left: 0%;
        float: left;
        color: white;
        text-align: center;
    }

    footer #block-ziba-deti img {
        width: 80%;
        height: auto;
    }

    footer #block-ziba-kontaktniudaje {
        width: 20%;
        margin-right: 20%;
        float: right;
        text-align: right;
        color: white;
        line-height: 100%;
    }

    footer #block-ziba-footer {
        clear: both;
        overflow: auto;
        width: 100%;
        text-align: center;
        color: white;
        padding-top: 2em;
    }
    #block-ziba-paticka img {
    height: 8em;
    width: auto;
    margin-left: 2em;
    margin-right: 2em;
}
}

@media (min-width: 1100px) and (max-width: 1600px) {
    footer #block-ziba-hlavnimenu {
        width: 20%;
        margin-left: 10%;
        float: left;
        color: white;
    }

    footer #block-ziba-hlavnimenu ul {
        list-style-type: none;
        margin-left: 0 !important;
        left: 0 !important;
        padding-left: 0;
    }

    footer #block-ziba-hlavnimenu ul li {
        list-style-type: none;
        margin-left: 0;
        line-height: 200%;
    }

    footer #block-ziba-hlavnimenu ul li a {
        color: white;
    }

    footer #block-ziba-deti {
        width: 40%;
        margin-left: auto;
        margin-right: auto;
        float: left;
        color: white;
        text-align: center;
    }

    footer #block-ziba-deti img {
        width: 100%;
        height: auto;
    }

    footer #block-ziba-kontaktniudaje {
        width: 20%;
        margin-right: 10%;
        float: right;
        text-align: right;
        color: white;
        line-height: 100%;
    }

    footer #block-ziba-footer {
        clear: both;
        overflow: auto;
        width: 100%;
        text-align: center;
        color: white;
        padding-top: 2em;
    }
    #block-ziba-paticka img {
    height: 8em;
    width: auto;
    margin-left: 2em;
    margin-right: 2em;
}
}

@media (max-width: 1100px) {
    footer #block-ziba-hlavnimenu {
        width: 100%;
        margin-left: 10%;
        color: white;
    }

    footer #block-ziba-hlavnimenu ul {
        list-style-type: none;
        margin-left: 0 !important;
        left: 0 !important;
        padding-left: 0;
    }

    footer #block-ziba-hlavnimenu ul li {
        list-style-type: none;
        margin-left: 0;
        line-height: 200%;
    }

    footer #block-ziba-hlavnimenu ul li a {
        color: white;
    }

    footer #block-ziba-deti {
        display: none;
    }

    footer #block-ziba-deti img {
        width: 70%;
        height: auto;
    }

    footer #block-ziba-kontaktniudaje {
        width: 100%;
        margin-left: 10%;
        text-align: left;
        color: white;
        line-height: 100%;
    }

    footer #block-ziba-footer {
        clear: both;
        overflow: auto;
        width: 100%;
        text-align: center;
        color: white;
        padding-top: 2em;
    }
    #block-ziba-paticka img {
    height:5em;
    width: auto;
    margin-left: 2em;
    margin-right: 2em;
}
}



/* Menu */
.menu > li {
    overflow: hidden;
}

@media (min-width: 1400px) {
    .menu {
        display: flex;
        float: right;
        flex-direction: row;
        list-style-type: none;
        margin-top: 0;
        margin-right: 10%;
        margin-bottom: 0;
        padding: 0;
    }

    #block-ziba-main-menu {
        width: 100%;
        float: right;
        margin-top: 3%;
        position: relative;
        top: 2.2em;
        z-index: 1;
        background-color: #07487D;
    }

    .menu > li a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        background-color: #07487D;
        display: block;
        padding-left: 2em;
        padding-right: 2em;
        font-size: 1.3em;
        text-align: center;
        text-transform: uppercase;
        height: 5em;
        line-height: 5em;
        border-right: solid 1px white;
    }
}

@media (min-width: 1100px) and (max-width:1400px) {
    .menu {
        display: flex;
        float: right;
        flex-direction: row;
        list-style-type: none;
        margin-top: 0;
        margin-right: 10%;
        margin-bottom: 0;
        padding: 0;
    }

    #block-ziba-main-menu {
        width: 100%;
        float: right;
        margin-top: 3%;
        position: relative;
        top: 1em;
        z-index: 1;
        background-color: #07487D;
    }

    .menu > li a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        background-color: #07487D;
        display: block;
        padding-left: 2em;
        padding-right: 2em;
        font-size: 1.2em;
        text-align: center;
        text-transform: uppercase;
        height: 5em;
        line-height: 5em;
        border-right: solid 1px white;
    }
}

@media (max-width: 1100px) {
    .menu {
        display: flex;
        float: right;
        flex-direction: row;
        list-style-type: none;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0;
    }

    #block-ziba-main-menu {
        margin-top: 10%;
        float: right;
    }

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

.menu > li a:hover {
    text-decoration: none;
    color: #;
    yxcv; background-color: #0d3f67;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button {
    margin-top: 3.5em;
}

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

.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 {
        display: flex;
        margin-left: auto;
        margin-right: 0;
    }

    .menu {
        position: absolute;
        top: 0;
        margin-top: 10em;
        right: 0;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    #menu-toggle ~ .menu li {
        height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle:checked ~ .menu li {
        z-index: 9999;
        border: 1px solid #3d0d5;
        height: 3.5em;
        padding: 0em;
        transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu > li {
        display: flex;
        justify-content: center;
        margin: 0;
        padding: 0em 0;
        line-height: 100%;
        font-size: 1em;
        width: 100%;
        color: white;
        background-color:#07487D;
    }

    .menu > li:not(:last-child) {
        border-bottom: 1px solid #3d0d55;
    }
}

/* Return link */
@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: 1600px) {
    .view-aktuality {
        display:table;
        width: 100%;
    }

    .view-aktuality .views-field-field-nahledovy-obrazek {
        float: left;
        margin: 1em;
        height: 100%;
    }

    .view-aktuality .views-field-field-nahledovy-obrazek img {
        width: 20em;
        height: 20em;
        object-fit: cover;
    }

    .view-aktuality .views-field-title span {
        font-family: Encode Sans Condensed;
        margin-top: 1em;
        font-size: 2em;
        font-weight: bold;
        width: 65%;
        float: right;
    }

    .view-aktuality .views-field-title span a {
        text-decoration: none;
    }

    .view-aktuality .views-field-created {
        width: 65%;
        float: right;
    }

    .view-aktuality .views-field-body {
        font-family: raleway;
        margin-top: 1em;
        font-size: 1em;
        width: 65%;
        float: right;
    }

    .view-aktuality .views-field-view-node {
        width: 65%;
        float: right;
    }

    .view-aktuality .views-field-view-node a {
        display: inline-block;
        background-color: #12243e;
        margin-top: 1em;
        padding: 1em;
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

    .view-aktuality .views-field-view-node a:hover {
        background-color: #105328;
    }

    .view-aktuality .views-row {
        overflow: auto;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        border-bottom: solid 1px #dadada;
        padding-bottom: 1em;
    }
}

@media (min-width: 1000px) and (max-width:1600px) {
    .view-aktuality .views-field-field-nahledovy-obrazek {
        float: left;
        margin: 1em;
        height: 100%;
    }

    .view-aktuality .views-field-field-nahledovy-obrazek img {
        width: 20em;
        height: 20em;
        object-fit: cover;
    }

    .view-aktuality .views-field-title {
        margin-top: 1em;
        font-size: 1em;
    }

    .view-aktuality .views-field-body {
        margin-top: 1em;
        font-size: 1em;
    }

    .view-aktuality .views-field-title span {
        font-family: Encode Sans Condensed;
        font-size: 2em;
        font-weight: bold;
    }

    .view-aktuality .views-field-title span a {
        text-decoration: none;
    }

    .view-aktuality .views-field-body p {
        font-family: raleway;
        font-size: 1em;
    }

    .view-aktuality .views-field-view-node a {
        display: inline-block;
        background-color: #12243e;
        margin-top: 1em;
        padding: 1em;
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

    .view-aktuality .views-field-view-node a:hover {
        background-color: #105328;
    }

    .view-aktuality .views-row {
        overflow: auto;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        border-bottom: solid 1px #dadada;
        padding-bottom: 1em;
    }
}

@media (max-width: 1000px) {
    .view-aktuality .views-field-field-nahledovy-obrazek {
        width: 100%;
        height: 100%;
    }

    .view-aktuality .views-field-field-nahledovy-obrazek img {
        width: 100%;
        height: auto;
    }

    .view-aktuality .views-field-title {
        margin-top: 1em;
        font-size: 1em;
    }

    .view-aktuality .views-field-body {
        margin-top: 1em;
        font-size: 1em;
    }

    .view-aktuality .views-field-title span {
        font-family: Encode Sans Condensed;
        font-size: 2em;
        font-weight: bold;
    }

    .view-aktuality .views-field-title span a {
        text-decoration: none;
    }

    .view-aktuality .views-field-body {
        font-family: raleway;
        font-size: 1em;
    }

    .view-aktuality .views-field-view-node a {
        display: inline-block;
        background-color: #12243e;
        margin-top: 1em;
        text-decoration: none;
        padding: 1em;
        color: white;
        font-weight: bold;
    }

    .view-aktuality .views-field-view-node a:hover {
        background-color: #105328;
    }

    .view-aktuality .views-row {
        overflow: auto;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        border-bottom: solid 1px #dadada;
        padding-bottom: 1em;
    }
}

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

#block-ziba-webform {
    background-color: #E3E6F1;
    border-top: 0.3vw solid #07487D;
    text-align: center;
    margin-top: 3em;
    padding-bottom: 3em;
    padding-top: 1vw;
}

@media (min-width: 1100px) {
    #block-ziba-webform .captcha {
        width: 40%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
        margin-bottom: 1em;
        border: 0px;
    }
}

@media (max-width: 1100px) {
    #block-ziba-webform .captcha {
        width: 70%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 1em;
        margin-bottom: 1em;
        border: 0px;
    }
}

@media (min-width: 1100px) {
    .views-field-title {
        width: 50%;
        float: left;
        
    }

.views-field-body {
        width: 50%;
    clear: left;
        float: left;
    }

.views-field-field-souradnice {
        width: 50%;
        float: right;
    }
    .views-row {
        clear: both;
        overflow: auto;
        margin-bottom: 2em;
    }
}
