

html {
    padding: 0;
    margin: 0;
}

#content {
    min-height: 80vh;
    position: relative;

}
body {
    font-family: 'Red Hat Display', sans-serif;
    color: black;
    background-color: white;
    font-size: 0.9rem;

}
.v-center {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack:end;
    justify-content:end;
    -ms-flex-flow: column;
    flex-flow: column;
}
a {
    color: #557898;
}
a:hover {
    color: #557898;
    text-decoration: none;
}
img {
    width: 100%;
    height: auto;
}
h1 {
    font-size: 3rem;
    color: black;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.8;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-align: center;

}
h3 {
    color: black;
    text-transform: uppercase;
    text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 0;
}
.page p {
    margin-bottom: 0.5rem;
}
ul {
    list-style-type: square;
}
.d-flex {
    display: -ms-flexbox !important;
    display: flex !important;
}
.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}
#myBtn {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99;
    font-size: 30px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: opacity 0.5s;
    opacity: 100%;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    -moz-box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    width: 50px;
    height: 50px;
    -webkit-transition: all .3s;
    transition: all .3s;

}
#Btnback {
    font-size: 30px;
    border: none;
    outline: none;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 50%;
    transition: opacity 0.5s;
    opacity: 100%;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    -moz-box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    box-shadow: 0px 0px 15px 2px rgba(166,159,166,1);
    width: 50px;
    height: 50px;
    -webkit-transition: all .3s;
    transition: all .3s;
    margin: 2rem 0;
}
.scale-up-center {
    -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
    animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

#myBtn:hover, #Btnback:hover {
    background-color: white;
    color: black;
}

.back-to-top:hover {
    opacity: 60%;
}

.navbar-toggler {
    padding: .25rem .75rem;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
}
.button:focus {
    outline: none;
}
.dropdown-toggle::after {
    font-family: FontAwesome !important;
    content: '\f107';
    border: none;
    vertical-align: unset;
}
#main-header {
    background-color: white;
}

#main-header.nav-up {
    top: -5em;
}

#main-navbar {
    padding: 0;
}

#main-navbar .nav-link, #main-navbar .dropdown-item  {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1rem;
    padding: 1em 2em;
}
.dropdown-item {
    color: #557898;
    margin-left: 1rem;
}
.nav-link {
    color: black;
}

#main-navbar .dropdown:hover > .dropdown-menu {
    display: block;

    /*margin-top: 0;*/
}

#main-navbar .nav-link, #main-navbar .dropdown-item {
    font-size: 1.2rem;
    line-height: 3;
    padding: 0;
}
.nav-item.active a, .fmenu .nav-link a {
    color: #557898;
}


#main-navbar .nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: #557898;
}

#main-navbar .nav-link.active, #main-navbar .dropdown-item.active {
    color: #557898;
    background-color: white;
}
#main-navbar .dropdown-item:hover{
    color: #557898;
    background-color: white;
}

#main-navbar .navbar-brand img {
    width: 200px;
    height: auto;
    margin: 1rem;
}

#main-header .navbar-toggler-icon {

    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(126, 126, 126, 0.9)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#main-navbar .dropdown-menu {
    background: white;
    border-radius: 0;
    border: none;
}
#main-navbar a:hover {
    color: #557898;
}
.nav-item.active a {
    color: #557898;
}
#main-navbar .nav-link:focus, .nav-link:hover {
    color: #557898;
    text-decoration: none;
}


#main-navbar .collapse.show .nav-item,
#main-navbar .collapsing .nav-item {
    /*background: rgba(0, 42, 77, 0.9);*/
    border: none;
}

#main-navbar .collapse.show .nav-item:last-child,
#main-navbar .collapsing .nav-item:last-child {
    border: none;
}

#main-navbar .navbar-collapse {
    /*margin: 48px -19rem 0 -1rem;*/
    padding: 0 1rem;
    z-index: 2;
}

.cursor {
    cursor: pointer;
}
.btn {
    border-radius: 0;
}
.btn-primary {
    font-size: 1rem;
    font-weight: 600;
    background-color: white;
    padding: 0.3rem 2rem;
    text-transform: uppercase;
    cursor: pointer;
}

.btn-primary:hover,.btn-primary:active {
    color: #557898;
    border: 1px solid #557898;
    background-color: white;
    cursor: pointer;
}
.popis {
    margin: 0 auto;
    padding: 2rem;
    color: white;
}
.uvod {
    background-image: url("../img/titulka.jpg");
    background-size: cover;
}

.pozadi {
    height: 20rem;
    background-position: center;
}
.onas {
    margin-top: -13rem;
}
.onas h1{
    color: white;
    margin-bottom: 1.5rem;
}

.onas .popis {
    background-color: #557898;
}
#akce {
    margin: 3rem 0;
}
.sluzba {
    text-align: center;
}
.btn-primary {
    border: 1px solid #557898;
    color: #557898;
    margin-top: 1rem;
}
.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: white;
    border: 1px solid #557898;
    background-color: #557898;
    cursor: pointer;
}
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show > .btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}
.akce-vse {
    text-align: center;
    margin-top: 2rem;
}
.sluzba h2 {
    color: #557898;
}
.row.equal-height-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap; /* We don't want all columns to be in 1 line though, they can break into new lines if there is not enough space to show all. */
}
.row.equal-height-row > [class*='col-'] {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    padding: 0.5rem; /* prevent the columns to overlap each other */
}
.row.equal-height-row > [class*='col-'] > .card {
    padding: 1rem;
}
@media (min-width: 992px) {
    /* We only need the columns to be equal on desktop devices, for mobile devices columns will break so no matter */
    .row.equal-height-row > [class*='col-'] > .card {
        height: 100%;
    }
.card {
    border: none}
}

.akce-info h2 {
    text-align: left;

}
.akce-list {
    margin: 3rem 0;
}
.akce-info {
    margin-bottom: 1rem;
}
.servis {
    margin-top: 3rem;
}

.servis .popis {
    background-color: #557898;
    margin-top: -10rem;
}
.form p {
    font-size: 1rem;
}
.contact-form .btn-primary {
    border: 1px solid #557898;
    color: #557898;
    margin-top: 1rem;
}
.contact-form .btn-primary:hover, .contact-form .btn-primary:active {
    border: 1px solid #557898;
    color: white;
    background: #557898;
}
.contact-form {
    margin: 0 0 30px 0;
    padding: 5px 0;
    border: 1px solid white;
}
.contact-form-wrapper {
    text-align: left;
    color: white;
    background-color: white;
}

.contact-form .action {
    text-align: right;
}
.contact-form .row {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.form-group {
    border-bottom: 1px solid #557898;
}
.form-group:focus {
    border-bottom: 1px solid #557898;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: white;
    background-color: inherit;
    background-clip: padding-box;
    border: none;
    border: unset;
    border-radius: 0;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
    border-bottom: 1px solid;
    box-shadow: none;
    border-color: #557898;
}
.form-control::placeholder {
    color: #557898;
    opacity: 1;
}
.zprava::placeholder {
    padding-top: 60px;
}
.recaptcha-container {
    text-align: center;
}
.g-recaptcha {
    display: inline-block;
}

.eu-cookies {
    position: fixed;
    left:0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    color: white;
    background-color: black;
    padding: 20px 0;
}

.eu-cookies .btn {
    border: none;
    background-color: white;
    color: #262626;
    padding: 10px 30px;
}
.eu-cookies .btn:hover {
    background-color:#EEEEEE;
    color: black;
}
.eu-cookies a:hover {
    color: white;
}

#footer {
    background: white;
    font-size: 0.9em;
    line-height: 1.1;
    font-weight: 600;
}
.info {

}
.kontakt {
    color: #557898;
    font-size: 1rem;

}
.kontakt h2 {
    text-align: left;
    text-transform: lowercase;
}
.link {
    margin-top: 1rem;
}
.link a {
     color: black;
 }
.link a:hover {
    color: #E5E5E5;
}
.info {
    background-color:  #557898;
    color:#E5E5E5;
    padding: 0.5rem 0;
}
.info a {
    color: white;
}
.info a:hover {
    color: black;
}
.gdpr {
    text-transform: uppercase;
    text-align: center;
}
.devel {
    text-align: right;
    font-size: 0.7rem;
}
.social {
    margin-top: 2rem;
    color: black;

}
.social a {
    padding: 0 5px;
    color: black;
}
.social a:hover {
    color:#557898;
}


.article {
    margin-bottom: 5rem;
}
.clanek h1 {
    margin-top: -11rem;
    color: white;
    margin-bottom: 11rem;
}


.img-list a {
    line-height: 1.42857143;
    padding: 4px;
    text-align: center;
    width: 100%;
    display: inline-block;

}

@media only screen and (min-width: 768px) and (max-width: 991px){

    .img-list a {
        width: 49.7%;
        aspect-ratio : 1 / 1;
    }
    .img-list a:nth-child(5n+5) {
        aspect-ratio : unset;
        width: 100%;
        height: 20rem;
    }

}
.img-list a:hover img,
.img-list a:focus img,
.img-list a:active img {
    border: 1px solid #557898;
    background: none;
}

.img-list img {
    padding: 2px;
    width: 100%;
    height: 100%;
    border: 1px solid #ddd;
    background-color: #fff;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    object-fit: cover;

}

.galery {
    margin-bottom: 50px;
}


@media only screen and (min-width: 500px) {

    .social {
        width: 100%;
    }

.form-group {
    margin-bottom: 0;
}

.form-control {
    padding: 10px;
}

.contact-address {
    display: flex;
    flex-direction: row;

}
}


@media only screen and (min-width: 992px) {


    .container {
        max-width: 900px;
    }
    .menu-wraper {
        /*margin: -3em 0 0 -2em;  */
        background: none;
    }
    #main-header {
        margin: 0 auto;
        width: 80%;
    }
    #main-navbar .navbar-collapse {
        margin: 1rem;
        z-index: 2;
        padding: 0;
    }
    .navbar-expand-lg .navbar-nav {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
    .navbar-nav {
        text-align: right;
    }
    .nav-item {
        padding-left: 30px;
    }
    .dropdown-menu {
        padding-left: 30px;
        padding-top: 0;
        margin-top: 0;
    }

    #main-navbar .dropdown:hover > .dropdown-menu {
        display: block;
        background-color: transparent;
        /*margin-top: 0;*/
    }
    #main-navbar .dropdown-item:hover {
        background-color: transparent;
    }
    #main-navbar .nav-link {
        font-size: 1.2rem;
        line-height: 1;
        padding: 0;
    }
    #main-navbar .dropdown-item {
        font-size: 1.1rem;
        line-height: 1.4;
        padding: 0;
    }
    #main-navbar .navbar-brand img {
        width: 250px;
        margin: 0;
    }
    .popis {
        width: 60%;
    }

    .row .col-lg-4 {
        border-left: 1px solid #557898;
    }
    .row .col-lg-4:first-child {
        border-left: none;
    }
    .galery {
        width: 800px;
    }

    .img-list a {
        width: 33%;
        aspect-ratio : 1 / 1;
    }
    .img-list a:nth-child(4n+4) {
        width: 100%;
        aspect-ratio : unset;
        height: 20rem;
    }

    .akce-info {
        display: flex;
        align-items: center;
        margin-bottom: 0;

    }

    .akce-info .pinfo {
        width: 60%;
        margin-top: 0;

    }
    .akce-info .media {
        width: 40%;
        height: auto;
    }


    .akce-list .akce-info:nth-child(odd) .media {
        order: 1;

    }
    .akce-list .akce-info:nth-child(odd) .pinfo {
        order: 2;
        padding-left: 1rem;
        padding-right: 10rem;
    }
    .akce-list .akce-info:nth-child(even) .pinfo {
        order: 1;
        padding-left: 10rem;
        padding-right: 1rem;
    }
    .akce-list .akce-info:nth-child(even) .media {
        order: 2;

    }
}
@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
    #main-header {
        width: 70%;
    }
    .pozadi {

        background-position: center;
        background-size: 100%;
    }

    .container {
        max-width: 1000px;
    }
    .pozadi {
        height: 30rem;
    }
}

div.flash {
    color: #000;
    background: #FFF9D7;
    border: .1rem solid #E2C822;
    padding: 1.5em 1em;
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    font-size: 1.25rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0.9; }
div.flash.success {
    background: #E6EFC2;
    color: #264409;
    border-color: #C6D880; }
div.flash.info {
    background: #FFF6BF;
    color: #514721;
    border-color: #FFD324; }
div.flash.error {
    background: #FBE3E4;
    color: #8a1f11;
    border-color: #FBC2C4; }
div.flash .close-flash {
    border: none;
    background: none;
    position: relative;
    float: right;
    padding-left: 20px; }