:root {
    --h-bg-grey: #F2F2F2;
    --h-border-grey: #cccccc;
    --h-bronze: #CE7329;
    --h-green: #008e00;
}

body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    line-height: 150%;
    margin: 0px;
    padding: 0px;
    top: 0px;
    text-align: left;
    height: 100%;
    color: black;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

/*-------------------------------------------------------------------------*/

#main {
    min-height: calc(100vh - 248px);
}

#header {
    position: relative;
    top: 0;
}

.box {
    width: 100%;
    position: relative;
}

.box.grey {
    background-color: var(--h-bg-grey);
}

.box_content {
    width: 95%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
}

#header .box_content {
    display: flex;
    padding: 20px 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--h-bronze);
}

#footer .box_content{
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid var(--h-bronze);
    text-align: center;
}

#top-img .box_content{
    padding: 0;
    height: 400px;
    background-image: url("/images/graphics/vinohrad.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

#top-img .box_content .predstaveni {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,.90);
    padding: 40px 8%;
}

#top-img .box_content .predstaveni img {
    width: 170px;
}

#top-img .box_content .predstaveni div {
    margin-left: 80px;
}

#top-img .box_content .predstaveni div p {
    max-width: 340px;
    margin-bottom: 0;
}

#top-img .box_content .predstaveni div p:last-of-type {
    margin-top: 10px
}

#content .box_content {
    padding: 40px 0 20px 0;
    box-sizing: border-box;
    max-width: 600px;
}

#content {
    margin-bottom: 0;
}

#content p {
    text-align: justify;
}

/*----------------------------------------------------------------------------*/
/* menu & header */

#logo_in_header {
    width: 120px;
    display: flex;
}

#logo_in_header img {
    width: 100%;
    align-items: center;
}

#nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.show_menu {
    display: none;
    background-color: white;
    color: var(--h-bronze);
    border-radius: 3px;
    padding: 15px;
    margin-right: 0px;
    font-size: 25px;
    margin-left: 30px;
    cursor: pointer;
}

.main_menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style-type: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 13px 0px 10px 0px;
    z-index: 10;
}

.main_menu a {
    font-family: 'Saira Semi Condensed', sans-serif;
    padding: 0 16px;
    display: block;
    text-decoration: none;
    font-size: 18px;
}

.main_menu li:first-of-type {
    font-weight: bold;
}

.main_menu li:last-of-type a, .main_menu li:nth-last-of-type(2) a {
    font-family: 'Font Awesome 5 Brands';
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.main_menu li:last-of-type a{
    font-size: 19px;
}

.main_menu li:last-of-type a:before {
    content: "\f16d";
}

.main_menu li:nth-last-of-type(2) a{
    font-size: 17px;
}

.main_menu li:nth-last-of-type(2) a:before {
    content: "\f39e";
}

.main_menu a:hover {
    transition: 0.5s;
    color: var(--h-bronze);
}

.main_menu .active a {
    color: var(--h-bronze);
}

.shop-link {
    position: relative;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 8px;
    margin-right: -8px;
    text-decoration: none;
    transition: 0.5s;
    border-radius: 30px;
    background-color: white;
    border: 1px solid var(--h-bronze);
    padding: 7px 13px 7px 13px;
    transition: 0.5s;
}

.cart-link {
    font-family: 'Saira Semi Condensed', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-left: 14px;
    text-decoration: none;
    transition: 0.5s;
    border-radius: 30px;
    background-color: var(--h-bronze);
    padding: 11px 10px 9px 8px;
    transition: 0.5s;
}

.cart-link:hover {
    transform: scale(1.03);
}

.cart-link i {
    color: white;
}

#cartCount {
    font-family: 'Saira Semi Condensed', sans-serif;
    font-size: 11px;
    position: absolute;
    top: -7px;
    right: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-weight: bold;
    background-color: var(--h-border-grey);
    border-radius: 50%;
}

/*----------------------------------------------------------------------------*/

#category-nav button {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    border-radius: 2px;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    display: none;
    margin-bottom: 30px;
}

#category-nav button i {
    font-size: 15px;
    margin-left: 10px;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    padding: 20px 0;
}

.category-nav li{
    margin: 0 4px;
    display: inline-block;
}

.category-nav li a {
    border: 1px solid var(--h-bronze);
    display: block;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.5s;
    font-family: 'Saira Semi Condensed', sans-serif;
    font-size: 16px;
    text-transform: lowercase;
}

.category-nav li.active a, .category-nav li:hover a {
    background-color: var(--h-bronze);
    color: white;
}

/*----------------------------------------------------------------------------*/

.card {
    display: flex;
    align-items: center;
}

#vinarstvi .card .img {
    background-image: url('/images/graphics/vinohrad-list.jpg');
    transform: scaleX(-1);
    position: relative;
    z-index: -10;
}

#nase-vino .card .img {
    background-image: url('/images/graphics/sedmicky_vinohrad.jpg');
}

#nase-vino .card {
    flex-direction: row-reverse;
}

.card .img{
    width: 50%;
    height: 330px;
    background-position: center;
    background-size: cover;
}

.card .text {
    background-color: var(--h-bg-grey);
    padding: 50px;
    width: 60%;
}

.card .text h2 {
    margin-top: 0;
    margin-bottom: 15px;
}

.card .text p {
    margin-bottom: 0;
}

.card .text a {
    display: inline-block;
    margin-top: 15px;
}

#nase-vino .text a {
    font-size: 16px;
    font-weight: normal;
    margin-top: 30px;
    padding: 8px 16px;
}

#nase-vino .text a i {
    font-size: 14px;
}

.card .text a i {
    margin-right: 15px;
}

#nase-vino .card .text{
    margin-right: -10%;
}

#vinarstvi .card .text{
    margin-left: -10%;
}

/*----------------------------------------------------------------------------*/

#kontakty .box {
    display: flex;
    justify-content: center;
}

#kontakty .box_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 350px;
    background-color: var(--h-bg-grey);
    margin-top: 20px;
    padding-bottom: 50px;
}

#kontakty img {
    display: block;
    margin: 30px 0 20px 0;
    width: 90%;
    max-width: 220px;
}

#mail-tel {
    display: inline-block;
}

#mail-tel div {
    margin-bottom: 10px;
}

#mail-tel a {
    text-decoration: none;
}

#mail-tel i {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    color: rgb(120, 120, 120);
}

#firma {
    text-align: center;
}

/*----------------------------------------------------------------------------*/
/* other styles */

/*img {
    max-width: 100% !important;
    height: auto !important;
    border-style: none;
}*/

hr {
    width: 100%;
    max-width: 180px;
    margin-top: 40px;
    margin-bottom: 40px;
    height: 1px;
    border-width: 0;
    background-color: rgb(180,180,180);
    clear: left;
}

a, a:hover, a:visited{
    color: black;
}

a:hover {
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Saira Semi Condensed', sans-serif;
    line-height: 150%;
}

h1, h2 {
    text-decoration: none;
    color: var(--h-bronze);
    font-weight: bold;

}

h1 {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 15px;
}

h2 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 30px;
}

h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}

h1, h2, h3 {
    line-height: 150%;
}

p, li {
    line-height: 180%;
}

p {
    margin: 20px 0;
}

table {
    border-collapse: collapse;
}
