

html {
    padding: 0;
    margin: 0;
}

#content {
    min-height: 80vh;
    position: relative;

}
body {
    font-family: 'Poppins', sans-serif;
    color: black;
    background-color: white;
    font-size: 0.9rem;

}

.sraf {
    height: 30px;
    background: repeating-linear-gradient( -65deg, black, black 1px, white 1px, white 6px );

}
.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: black;
}
a:hover {
    color: black;
    text-decoration: none;
}
img {
    width: 100%;
    height: auto;
}
h1 {
    font-size: 2.3rem;
    color: black;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 0.8;
    text-align: center;
    position: relative;
}

h2 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 5rem;
    text-align: center;
    text-transform: lowercase;
    position: relative;
}
h2:before {
    content: '';
    position: absolute;
    width: 180px;
    height: 4px;
    border-radius: 4px;
    background: black;
    bottom: -1.5rem;
    transform-origin: unset;
    transform: unset;
    left: 50%;
    transform: translateX(-50%);
}
.onas h2 {
    color: white;
    margin-bottom: 3rem;
}
.onas h2:before {
    background: white;

}
.kontakt h2:before {
    left: 0;
    transform: unset;
}
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: 0;
    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: lowercase;
    font-size: 1rem;
    padding: 1em 2em;
}
.dropdown-item {
    color: black;
    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: black;
}


#main-navbar .nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: black;
}

#main-navbar .nav-link.active, #main-navbar .dropdown-item.active {
    color: black;
    background-color: white;
}
#main-navbar .dropdown-item:hover{
    color: black;
    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: black;
}
.nav-item.active a {
    color: black;
}
#main-navbar .nav-link:focus, .nav-link:hover {
    color: black;
    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 {
    background-color: white;
    padding: 1rem 3rem;
    text-transform: lowercase;
    cursor: pointer;
    border: 1px solid black;
    color: black;
    -webkit-transition: all .3s;
    transition: all .3s;
}


.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    color: white;
    background-color: black;
    cursor: pointer;
    border: none;
}
.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;
}
.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(25,31,52,.5);
}
#content {
    margin-top: 5rem;
}
/*.real-img {*/
/*    height: 200px;*/
/*    background-position: center;*/
/*    background-size: cover;*/
/*}*/
#real-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    cursor:pointer;
    position: relative;
    transition: transform .2s;
}

#real-img :hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    z-index:1;
    display:none;
    padding-top:10px;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgb(0,0,0);
    background-color:rgba(0,0,0,0.8)
}

.modal-content{
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.modal-hover-opacity {
    opacity:1;
    filter:alpha(opacity=100);
    -webkit-backface-visibility:hidden
}

.modal-hover-opacity:hover {
    opacity:0.60;
    filter:alpha(opacity=60);
    -webkit-backface-visibility:hidden
}


.close {
    text-decoration:none;float:right;font-size:24px;font-weight:bold;color:white
}
.container1 {
    width:200px;
    display:inline-block;
}
.modal-content, #caption {

    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}


@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.onas {
    background-color: black;
    color: white;
    margin: 0 auto;
    padding: 4rem;
}
.onas h1{
    color: white;
    margin-bottom: 1.5rem;
}
.perex {

    margin: 1rem 0;
    text-align: center;
}

.sluzba {
    text-align: center;
}
.akce-vse {
    text-align: center;
    margin-top: 8rem;
}


#realizace, #galerie {
    margin-top: 5rem;
}
.pozadi {
    background-size: cover;
    background-position: center;
    height: 30rem;
    position: relative;
    background-attachment: fixed;
}
@media only screen and (max-device-width: 991px) {
    .pozadi {
        background-attachment: scroll;
    }
}
.vice {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
}
.vice .btn-primary {
    border: none;
}
.form {
    margin-top: 2rem;
}
.form p {
    font-size: 1rem;
    font-weight: 600;
}
.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 black;
    color: white;
    background: black;
}
.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 black;
}
.form-group:focus {
    border-bottom: 1px solid black;
}
.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: black;
}
.form-control::placeholder {
    color: black;
    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;
    margin-top: 5rem;
}
.info {

}
.kontakt {
    color: black;
    font-size: 1rem;

}
.kontakt h2 {
    text-align: left;
    text-transform: lowercase;
}
.link {
    margin-top: 1rem;
}
.link a {
     color: black;
 }
.link a:hover {
    text-decoration: underline;
}
.info {
    background-color:  black;
    color:#E5E5E5;
    padding: 0.5rem 0;
}
.info a {
    color: white;
}
.info a:hover {
    color: black;
}
.gdpr {
    text-transform: lowercase;
    text-align: right;
}
.devel {
    text-align: right;
    font-size: 0.7rem;
}
.social {
    margin-top: 2rem;
    color: black;

}
.social a {
    padding: 0 5px;
    color: black;
}
.social a:hover {
    border: 1px solid black;
}


.article {
    margin-bottom: 5rem;
}

.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;
        display: block;
        text-align: center;
    }
    #main-navbar .navbar-collapse {
        padding: 0;
        display: block;
    }
    .navbar {
        display: block;

        margin: 0 auto;
    }
    .navbar-expand-lg .navbar-collapse {
        display: block !important;
    }
    .navbar-nav {
        justify-content: center;
    }
    .nav-item {
        padding: 0 20px;
    }
    .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 a:hover {
        color: black;
    }
    #main-navbar .dropdown-item {
        font-size: 1.1rem;
        line-height: 1.4;
        padding: 0;
    }
    #main-navbar .navbar-brand img {
        width: 300px;
        margin: 0;
    }
    .nav-item a {
        position: relative;
    }
    .nav-item.active a, .nav-item.hover a, .nav-item.focus a {
        color: black;

    }
    #main-navbar .nav-item .nav-link:hover::before {

        transform-origin: left;

        transform: scaleX(1);

    }
    #main-navbar .nav-item.active .nav-link::before, #main-navbar .nav-item .nav-link::before {

        content: '';

        position: absolute;

        width: 100%;

        height: 3px;

        border-radius: 4px;

        background: black;

        bottom: -0.8rem;

        transform-origin: unset;

        transform: unset;



    }

    #main-navbar .nav-item .nav-link::before {



        transform: scaleX(0);

        transition: transform .0s;

    }
    .onas {
        width: 60%;
    }



    .img-list a {
        width: 33%;
        aspect-ratio : 1 / 1;
    }
    .img-list a:nth-child(4n+4) {
        width: 100%;
        aspect-ratio : unset;
        height: 25rem;
    }
    .realizace-seznam, .realizace-komplet {
        display: flex;
        display: -ms-flex;
        display: -moz-flex;
        display: -webkit-flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .realizace-seznam {
        position: relative;
    }
    .zaznam {
        width: 33%;
        /*flex: 1 1 33%;*/
        padding: 0.5rem;
        flex-grow: 1;
        flex-shrink: 1;

    }
    .realizace-seznam .zaznam:first-of-type .perex {
        text-align: right;
        position: absolute;
        right: 1rem;
    }
    .realizace-seznam .zaznam:nth-of-type(2) .perex {
        text-align: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .realizace-seznam .zaznam:last-of-type .perex {
        text-align: left;
        position: absolute;
        left: 1rem
    }
    .realizace-komplet .zaznam:nth-child(3n - 2) .perex {
        text-align: right;
    }
    .realizace-komplet .zaznam:nth-child(3n - 1) .perex {
        text-align: center;
    }
    .realizace-komplet .zaznam:nth-child(3n - 3) .perex {
        text-align: left;
    }
    .realizace-seznam .perex {
        width: 40%;
    }
    .vypln {
        position: relative;
        padding-bottom: 3rem;
    }
    .vypln:after, .vypln:before {
        content:' ';
        position: absolute;
        width:100%;
        height:50%;
        z-index: -1;
    }

    .vypln:after {
        top: 0px;
        background: white;
    }
    .vypln:before {
        bottom: 0px;
        background: repeating-linear-gradient( -65deg, black, black 1px, white 1px, white 6px );
    }

    .pozadi {
        width: 70%;
        margin: 0 auto;
        background-size: 100%;
        background-repeat: no-repeat;
        background-color: transparent;
    }
    .form {
        margin-top: 0;
    }


}
@media only screen and (min-width: 1200px) {

    #main-header {
        width: 70%;
    }


    .container {
        max-width: 1200px;
    }
    .real-img {
        height: 250px;
    }

}

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; }

