

html {
    padding: 0;
    margin: 0;
    height:100%;
}

#content {
    min-height: 80vh;
    position: relative;

}
body {
    font-family: 'Red Hat Display', sans-serif;
    color: black;
    background-color: white;
    font-size: 0.9rem;
    height:100%;
}

a {
    color: #9C9B9B;
}
a:hover {
    color: #616E73;
    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;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    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: #616E73;
    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: #616E73;
}


#main-navbar .nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: #616E73;
}

#main-navbar .nav-link.active, #main-navbar .dropdown-item.active {
    color: #616E73;
    background-color: white;
}
#main-navbar .dropdown-item:hover{
    color: #616E73;
    background-color: white;
}

#main-navbar .navbar-brand img {
    width: 150px;
    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: #616E73;
}
.nav-item.active a {
    color: #616E73;
}
#main-navbar .nav-link:focus, .nav-link:hover {
    color: #616E73;
    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: #616E73;
    border: 1px solid #616E73;
    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;
    background-size: 100%;
    background-repeat: no-repeat;
}
.pozadi2 {
    height: 30rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}
.onas {
    margin-top: -13rem;
}
.onas h1{
    color: white;
    margin-bottom: -1.2rem;
}

.onas .popis {
    background-color: #616E73;
    font-size: 1.2rem;
    text-align: center;
}
#sluzby {
    margin: 5rem 0 3rem 0;
}
.sluzba {
    text-align: center;
    background-color: #616E73;
    width: 80%;
    margin: -22rem auto 0 auto;
    padding: 3rem 0;
    transition: margin 1s;
}
.sluzba .perex {
    color: white;
    margin-top: 1rem;
}
.seznam {
    width: 100%;
    margin: auto;
}
.seznam .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 2px;
    padding-right: 2px;
}
.seznam .col-12 {
    margin-bottom: 3rem;
}

.sluzba h2, .sluzba h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: unset;
}

.img-sluzba {
    width: 100%;
    height: 20rem;
    background-position: center;
    background-size: cover;
    transition: 1s ease;
}
.link-sluzba:hover .img-sluzba {
    -webkit-filter: blur(5px);
    transition: 1s ease;
}
.link-sluzba:hover .sluzba {
    margin: -14rem auto 0 auto;
}
.servis .popis {

    margin-top: -20rem;
}
.servis .popis .text {
    background-color: #3B312D;
    margin: -3.1rem auto 0 auto;
    padding: 2rem 1rem;
    font-size: 1.1rem;
    text-align: center;
}
.form p {
    font-size: 1rem;
}
.contact-form .btn-primary {
    border: 1px solid black;
    color: black;
    margin-top: 1rem;
}
.contact-form .btn-primary:hover, .contact-form .btn-primary:active {
    border: 1px solid #616E73;
    color: #616E73;
}
.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 #9C9B9B;
}
.form-group:focus {
    border-bottom: 1px solid #616E73;
}
.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: #616E73;
}
.form-control::placeholder {
    color: #9C9B9B;
    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;
}


#footer {
    background: white;
    font-size: 0.9em;
    line-height: 1.1;


}
.info {

}
#contact {
    background-color: #616E73;
    padding: 2rem 0;
    color: white;
    font-size: 1rem;
    text-align: center;
}

.link {
    margin-top: 1rem;
    font-weight: 600;
}
.kontakt a {
     color: white;
 }
.kontakt a:hover {
    color: black;
}


.info {
    background-color: #E5E5E5;
    color: #9C9B9B;
    padding: 0.5rem 0;
}
.gdpr {
    text-transform: uppercase;
    text-align: center;
}
.devel {
    text-align: center;
    font-size: 0.7rem;
}
.social {
    margin-top: 2rem;
}
.social a {
    padding: 0 5px;

}


.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 #616E73;
    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;

}
    .servis {

        position: relative;
    }
    .servis .popis {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-top: unset;
    }
}
@media only screen and (min-width: 600px) {
    .article-page .pozadi {
        height: 20rem;
        background-position: center;
        background-size: cover;

    }
}
@media only screen and (min-width: 992px) {


    .container {
        max-width: 900px;
    }
    .menu-wraper {
        /*margin: -3em 0 0 -2em;  */
        background: none;
    }

    #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 {
        margin: 0;
    }
    .popis {
        width: 60%;
    }


    .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;
    }

}
@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }


    .container {
        max-width: 1000px;
    }
    .pozadi {
        height: 25rem;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position:center;
        background-size: 100%;
    }
    .pozadi2 {
        height: 50rem;
    }
    .article-page .pozadi {
        height: 25rem;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;

    }
}
@media only screen and (min-width: 1500px) {
    .pozadi {
        height: 30rem;
        background-position: center bottom;
    }

    .article-page .pozadi {
        height: 30rem;
        background-position: center bottom;

    }
}

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; }