h1 {
    font-size: 30px;
    font-family: 'Merriweather', serif;
    text-align: center;
    color: white;
}
p {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #717171;
    margin-bottom: 15px;
}
li {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #717171;
    margin-bottom: 10px;
}
.header nav{
    height: 115px;
}
.navbar {
    padding: 0;
}
.navbar-brand {
    margin-right: 0;
}
.navbar-toggler {
    margin-right: 15px;
}
.logo {
    background-color: #9DBF4D;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 115px;
}
.nav-item {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.nav {
    justify-content: space-around;
}
.nav-item>a {
    font-family: 'Roboto', sans-serif;
    color: #717171;
    font-weight: 400;
    font-size: 22px;
    position: relative;
    text-align: center;
}
.pripoj-se {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #717171;
    margin-bottom: 15px;
}
/*
.nav-item > a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #717171;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}
.nav-item > a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
*/
.footer {
    background: url("../img/footer.png");
    padding-top: 107px;
    padding-bottom: 107px;
    margin-top: 0px;
}
.f-contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-right: 3px solid white;
}
.f-contact>p {
    color: white;
    font-family: 'Merriweather', serif;
    font-size: 25px;
    text-align: center;
}
.f-FB {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-left: 25px;
}
.f-FB a img{
    height: 100px;
}
.intro {
    background: url("../img/intro.png");
    height: 665px;
}
.h-register {
    background-color: rgba(255, 255, 255, 0.5);
    height: 665px;
    padding: 0 70px;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 665px;
}
h2 {
    font-size: 45px;
    font-family: 'Merriweather', serif;
    color: #717171;
}
.h-register>h2 {
    margin-bottom: 50px;
}
.r-button {
    background-color: #9DBF4D;
    width: 230px;
    padding: 15px 0;
    margin: 0 auto;
    font-size: 26px;
    font-family: 'Merriweather', serif;
    color: #ffffff;
    border: none;
}
.r-button:hover {
    color: white;
    text-decoration: none;
}
.image {
    max-height: 390px;
    background-position: center;
    background-size: 100%;
}
.description {
    padding: 65px 110px;
    background-color: #E5E5E5;
}
.description h3 {
    margin-top: 15px;
}
h3 {
    font-size: 35px;
    font-family: 'Merriweather', serif;
    color: #717171;
}
h4 {
    font-size: 35px;
    font-family: 'Merriweather', serif;
    color: white;
    text-align: center;
    margin-bottom: 0px;
    line-height: 158px;
}
.title {
    background-color: #8D8C8C;
    height: 158px;
}
.title-g {
    background-color: #9DBF4D;
    height: 158px;
}
.description-g {
    padding: 65px 110px;
    background-color: #9DBF4D;
}
.description-g>p {
    color: white;
}
.bigimage {
    max-height: 505px;
    background-position: center;
}
.bigimage2 {
    max-height: 505px;
    background-position: center;
}
.bigimage > img, .bigimage2 > img {
    height: 100%;
    margin: 0 auto;
    display: block;
}
.pagetitle {
    background: url("../img/pagetitle.png");
    background-position: center;
    background-size: cover;
}
.pagetitle>h2 {
    color: white;
    font-size: 80px;
    font-family: 'Merriweather', serif;
    margin: 0 auto;
    padding: 150px 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
    font-weight: 900;
}
.katalog a.image {
    height: 434px;
    background-size: auto 100%;
    background-repeat: no-repeat;
}
.katalog .description-g{
    padding: 69px;
}
p>a {
    color: #717171;
}
a:hover {
    text-decoration: none;
}
.registration {
    background-color: #E5E5E5;
    padding: 60px 90px;
    text-align: center;
}
.registration>p {
    color: #717171;
    font-size: 33px;
    margin-bottom: 40px;
}
.registration>a {
    background-color: #9DBF4D;
    color: white;
    font-size: 35px;
    padding: 10px 20px;
    font-family: 'Merriweather', serif;
}
.kontakty h4 {
    font-size: 28px;
}
.kontakty h3 {
    margin-bottom: 30px;
}
.kontakty .image {
    background-position: center;
}
.bold {
    font-weight: 400;
}
.p-image>img {
    max-height: 450px;
    max-width: 450px;
    display: block;
    width: 100%;
    margin: 0 auto;
}
.p-image{
    max-height: 450px;
}
.image>img {
    height: 100%;
    max-height: 390px;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}
.p-name h4{
    color: #717171;
    font-size: 45px;
    font-weight: 400;
    line-height: 50px;
    font-family: 'Merriweather', serif;
}
.produkty a:nth-child(n+3) {
    margin-top: 70px;
}

.produkty .registration {
    margin: 150px 0;
}

.items, .vyrobky .registration, .akce .registration {
    margin-bottom: 170px;
}

.cost {
    margin-bottom: 0;
}
.admin h1 {
    color: #717171;
}
.moznosti {
    width: 150px;
}
.cena{
    width: 80px;;
}
.login form {
    margin-top: 250px;
}
.login form input{
    margin: 20px auto;
    padding: 5px 10px;
    border: none;
    background: none;
    display: block;
    border-bottom: 2px solid black;
}
.login div {
    text-align: center;
    margin: 0 auto;
}
.logout {
    text-align: right;
    font-size: 22px;
    margin-right: 15px;
}
.add-item{
    font-size: 22px;
    margin-right: 15px;
}
.update form input, .update img, .update textarea, .add form input, .add img, .add textarea, SELECT {
    margin-bottom: 30px;
    padding: 5px 10px;
    display: block;
}
label {
    font-weight: 400;
    font-size: 22px;
}
.update form input, .add form input {
    width: 450px;
}
.update form, .add form {
    margin-top: 50px;
}
.update form textarea, .add form textarea {
    min-width: 600px;
    max-width: 600px;
    min-height: 150px;
    max-height: 150px;
}
td img {
    height: 100px;;
}
.o-farmasi {
    margin: 50px 0;
}
.o-farmasi img {
    display: block;
    width: 100%;
    max-width: 623px;
    margin: 35px auto;
}
.kariera {
    text-align: center;
    margin: 50px 0;
}

.custom-input label {
    font-size: 1rem;
    color: #494b4b;
    margin-bottom: 0;
    margin-top: 10px;
}

.custom-input input {
    border: 1px solid #9fa2a2;
    border-radius: 5px;
}

@media (max-width: 575px) {
    .h-register h2{
        font-size: 40px;
    }
    .registration, .h-register{
        padding: 35px 15px;
    }
    .description, .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .katalog .description, .katalog .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .f-contact {
        border: 0;
    }
    .f-contact p {
        font-size: 19px;
    }
    .f-FB {
        text-align: center;
        margin: 0;
    }
    .navbar {
        background-color: #9DBF4D;
    }
    .navbar-collapse {
        background-color: white;
    }
    .pagetitle h2{
        font-size: 50px;
    }
    .produkty .registration {
        margin: 50px 0 0 0;
    }
    .kontakty .description p {
        font-size: 20px;
    }
}


@media (max-width: 767px) {
    .h-register h2{
        font-size: 40px;
    }
    .registration, .h-register{
        padding: 35px 15px;
    }
    .description, .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .katalog .description, .katalog .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .f-contact {
        border: 0;
    }
    .f-contact p {
        font-size: 19px;
    }
    .f-FB {
        text-align: center;
        margin: 0;
    }
    .navbar {
        background-color: #9DBF4D;
    }
    .navbar-collapse {
        background-color: white;
    }
    .pagetitle h2{
        font-size: 50px;
    }
    .produkty .registration {
        margin: 50px 0 0 0;
    }
    .kontakty .description p {
        font-size: 20px;
    }
    .footer{
        background-image: url("../img/footer_sm.png");
    }
    .pagetitle{
        background-image: url("../img/pagetitle_sm.png");
    }
}


@media (max-width: 991px) {
    .h-register h2{
        font-size: 40px;
    }
    .registration, .h-register{
        padding: 35px 15px;
    }
    .description, .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .katalog .description, .katalog .description-g{
        padding: 35px 25px;
        text-align: center;
    }
    .f-contact {
        border: 0;
    }
    .f-contact p {
        font-size: 19px;
    }
    .f-FB {
        text-align: center;
        margin: 0;
    }
    .navbar {
        background-color: #9DBF4D;
    }
    .navbar-collapse {
        background-color: white;
    }
    .pagetitle h2{
        font-size: 50px;
    }
    .produkty .registration {
        margin: 50px 0 0 0;
    }
    .kontakty .description p {
        font-size: 20px;
    }
    .image>img {
        width: 80%;
    }
    .bigimage > img, .bigimage2 > img {
        height: auto;
        width: 100%;
        margin: 0 auto;
        display: block;
    }
}


@media (min-width: 992px) { ... }


@media (min-width: 1200px) { ... }
