

html {
    padding: 0;
    margin: 0;
}

#content {
    min-height: 50vh;
    position: relative;

}
.page {
    margin-top: 7rem;
}
body {
    font-family: "Open Sans", sans-serif;
    color: black;
    background-color: white;
    font-size: 1rem;

}
table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

table th,
table td {
    padding: .625em;
    text-align: center;
}

table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}


a {
    color: #A0A0A0;
}
a:hover {
    color: black;
    text-decoration: underline;
}
img {
    width: 100%;
    height: auto;
}
h1 {
    font-family: "Playfair", serif;
    font-size: 3rem;
    color: black;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.8;
    text-align: center;
}
.article H1 {
    margin-bottom: 3rem;
}
h2 {
    font-family: "Playfair", serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    text-align: center;

}
h3 {
    font-family: "Playfair", serif;
    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  {
    font-family: "Playfair", serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1rem;
    padding: 1em 2em;
}
.dropdown-item {
    color: #A0A0A0;
    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: #A0A0A0;
}


#main-navbar .nav-link:focus, .nav-link:hover {
    text-decoration: none;
    color: #A0A0A0;
}

#main-navbar .nav-link.active, #main-navbar .dropdown-item.active {
    color: #A0A0A0;
    background-color: white;
}
#main-navbar .dropdown-item:hover{
    color: #A0A0A0;
    background-color: white;
}

#main-navbar .navbar-brand img {
    width: 200px;
    height: auto;
    margin: 1rem;
}

#main-navbar .navbar-brand {
    font-family: "Playfair", serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: 3px;
}
#main-navbar .navbar-brand a:hover {
    color: black;
}
#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: #A0A0A0;
}
.nav-item.active a {
    color: #A0A0A0;
}
#main-navbar .nav-link:focus, .nav-link:hover {
    color: #A0A0A0;
    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: #A0A0A0;
    border: 1px solid #A0A0A0;
    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: 80vh;
    background-position: right;
    background-repeat: no-repeat;
}


.slogan {
    position: relative;
    top: 10%;
    right: -5%;
    width: 95vw;
    height: 95vw;
    font-size: 2rem;
    color: black;
    text-align: center;
    padding: 3rem;
    line-height: 1.2;
}
.text-slogan {
    position: absolute;
    top: 35%;
    right: 13%;
}
.arte {
    font-family: "Playfair", serif;
    letter-spacing: 3px;
    font-size: 2rem;
    text-transform: uppercase;
}
#onas {
    margin: 7rem 0;
    font-size: 1.2em;
    text-align: center;
    line-height: 1.8;
}

#sluzby {
    margin: 5rem 0;
    width: 100%;
    position: relative;
}
.sluzby-seznam {
    width: 95vw;
    background-color: transparent;
    margin: 0 auto;
}
.sluzba {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #C7EEF3;
    border-radius: 1.5rem;
    padding: 20px;
    margin-bottom: 1rem;

}
.img-sluzba {
    width: 85%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    border-radius: 50%;
    border: 5px solid #F4EFE6;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}
.cara {
    width: 30%;
    margin: 0 auto 2rem auto;
    border-top: 2px solid #004D61;
}

.text-sluzba {
    text-align: center;
    margin: 1rem auto;
}
.text-sluzba h2 {
    min-height: 5rem;
}
.text-sluzba .perex {
    width: 80%;
    margin: 0 auto 1rem auto;
}
.sluzba .btn {
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    background-color: #004D61;
    width: 70%;
    border-radius: 2rem;
    padding: 10px 20px;
}
.sluzba .btn a::after {
    content: "⟶";
    display: inline-block;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.sluzba .btn a:hover::after {
    transform: translateX(10px);
    font-weight: bold;
}
.sluzba a {
    color: white;
    text-decoration: none;
}
.sluzba .btn:hover, .sluzba .btn:active {
    background-color: #C7EEF3;
    border: 1px solid #00D8F9;
}
.sluzba .btn:hover a, .sluzba .btn:active a {
    color:  #004D61;
}

.ostatni-sluzby {
    margin: 0 auto;
    text-align: center;
    border-radius: 50%;
    border: 2px solid black;
    height: 30rem;
    width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dale {
    margin-top: 1rem;
}
#contact {
    margin-bottom: 2rem;
}
.kontakt-info {
    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 #A0A0A0;
    color: #A0A0A0;
}
.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 #A0A0A0;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    color: black;
    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: #A0A0A0;
}
.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 {
    margin-top: 5rem;
    background: white;
    font-size: 0.9em;
    line-height: 1.1;
    font-weight: 600;
}
.info {

}
.kontakt {
    color: #9C9B9B;
    font-size: 1rem;
    text-align: center;

}
.kontakt h2 {
    text-transform: lowercase;
}
.link {
    margin-top: 1rem;
}


.info {
    background-color: #E5E5E5;
    color: #9C9B9B;
    padding: 0.5rem 0;
}
.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:#A0A0A0;
}

.img-clanek {
    height: 30rem;
    background-position: center;
    background-size: 100%;
    border-radius: 50%;
}
.article {
    margin: 5rem 0;
}
.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 #A0A0A0;
    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) {


.form-group {
    margin-bottom: 0;
}

.form-control {
    padding: 10px;
}

    .sluzby-seznam {
        width: 75vw;
    }


}
@media only screen and (min-width: 768px) {
.slogan {

    position: relative;
    right: -45%;
    width: 50%;
    height: 0;
    padding: 25% 0;

}
.text-slogan {
    position: absolute;
    top: 35%;

}
}

@media only screen and (min-width: 992px) {


    .container {
        max-width: 900px;
    }
    .menu-wraper {
        /*margin: -3em 0 0 -2em;  */
        background: none;
    }
    #main-header {
        margin: 0.1rem 0;
    }
    #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%;
    }
    .slogan {

        right: -45%;
        width: 35rem;
        height: 35rem;
        padding: 3rem;
        font-size: 4rem;

    }


    .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;
    }
    #form {
        width: 60%;
        margin: 6rem auto;
    }
    #sluzby {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        position: relative;
    }
    .sluzby-seznam {
        width: 100%;
        flex: 1 1 100%;
        word-break: break-word;
        display: flex;
        flex-wrap: wrap;
        background-color: transparent;
    }


    .img-clanek {

        border-radius: 0 45rem 45rem 0;
        width: 24rem;
        background-size: cover;
        height: 45rem;

    }

}
@media only screen and (min-width: 1200px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
    .pozadi {

        background-repeat: no-repeat;
        background-position: top center;
        background-size: cover;
    }

    .container {
        max-width: 1200px;
    }



}
@media only screen and (min-width: 1800px) {
    .container {
        max-width: 1600px;
    }
    .pozadi {
        width: 1800px;
        margin: auto;
        background-size: 100%;
    }


}
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; }