/* CSS Document */
body{
    background-color:#f5f1e4;
    font-family: 'DroidSansBold',Arial,sans-serif;
    display: flex;
    flex-direction: column;
}
header{
    background-image: url(zahlavi_2.png);
    background-repeat: no-repeat;
    position: relative;
    height: 356px;
    margin-bottom: 0px;
    width: 1235px;

}
section{
    background-color: white;
    padding: 20px;
    margin: 5px;
    margin-top: 5px;
}
.nadpis{
    text-align:center ;
}
#container{
    background-color:#e6e6e6;
    max-width: 1235px;
    margin: 20px auto;
}
#flex{
    display: flex; 
    background-color: white;
    width: 1235px;
}
.flex-section{
    display: flex;
}
.odkazy{
    display: flex;
    align-items: center;
    justify-content: center;
}
.odkazy ul{
    padding-inline-start: 0px;
}
.odkazy li a{
    line-height: 25px;
    display: block;
    text-decoration: none;
    color: black; 
    box-shadow: 0 1px 3px #474136;
    font-weight: bolder;
    padding: 10px 40px 10px 40px;
    white-space: nowrap;
    background-color: #F8F8F8;
    text-align: center;
    min-width: 310px;
}
.odkazy-video{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px;
}
.odkazy-video a{
    line-height: 25px;
    display: block;
    text-decoration: none;
    color: black; 
    box-shadow: 0 1px 3px #474136;
    font-weight: bolder;
    padding: 10px 40px 10px 40px;
    white-space: nowrap;
    background-color: #F8F8F8;
    text-align: center;
    min-width: 310px;
}
.odkazy-video a:hover{
    background-color:red;
    color:white;
    transition: all .5s;
}
.odkazy li a:hover{
    background-color:red;
    color:white;
    transition: all .5s;
}
#dropdown-products {
    display: block;
}
#menu-products:hover #dropdown-products {
    display: block;
}
#dropdown-products.show
{
  display: block;
}
#menu-products li a:hover{
    background-color: #f7bfbe;
    color: #141414;
}
#left-menu{
    list-style: none;
    flex-wrap: nowrap;
    padding-inline-start: 0px;
    margin-right: 30px;
}
#left-menu ul{
    border: black;
}
#left-menu li a{
    line-height: 25px;
    display: block;
    text-decoration: none;
    color: black; 
    box-shadow: 0 1px 3px #474136;
    font-weight: bolder;
    padding: 10px;
    padding-right: 30px;
    white-space: nowrap;
    background-color: #F8F8F8;
}
#left-menu li a:hover{
    background-color:red;
    color:white;
    transition: all .5s;
}
#left-menu li{
    /*border: black;
    border-style: solid;*/
    margin: 2px;
    text-align: left;
}
nav{
    font-size: 18px;
    width: 1235px;
    background-color: #e6e6e6;
    
}
#mainmenu{
    list-style: none;
    padding: 0px;
    margin-top: 0px;
    display:flex;
    flex-direction:row; 
    /*flex-wrap: nowrap; */
    align-items: stretch;
    background: #e6e6e6;
}   
#mainmenu ul{
    width: 1235px;
}
#mainmenu li{
    white-space: nowrap;
    width: 1200px;
    justify-content: flex-start;
    position: relative; 
  
}
#mainmenu li a{
    display:block;
    padding: 5px;
    line-height: 45px;
    text-align: center;
    transition: 0.3s;
    font-weight: bolder;
    color:black;
    text-decoration:none;
    background-color: #F8F8F8;
    margin-left: 3px;
    box-shadow: 0 1px 3px #474136; 
}
#mainmenu li a:hover{
    background-color:red;
    color:white;
    transition: all .5s;
}
#mainmenu li a:active{
    background-color:red;
    transition: all .3s;
    color:white;
}
.backbutton{
    position: fixed;
    right: 5rem;
    bottom: 5rem;
    font-size: 25px;
}
li{
    list-style: none;
}
.thumbnail {
    position: relative;
    z-index: 0;
}
.thumbnail:hover {
    background-color: transparent;
    z-index: 50;
}
  
.thumbnail span {
    /*CSS for enlarged image*/
    position: absolute;
    background-color: lightyellow;
    padding: 5px;
    left: -1000px;
    border: 1px dashed gray;
    visibility: hidden;
    color: black;
    text-decoration: none;
}
  
.thumbnail span img {
    /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
    width: 400px;
}
  
.thumbnail:hover span {
    /*CSS for enlarged image on hover*/
    visibility: visible;
    top: 0;
    left: 60px; /*position where enlarged image should offset horizontally */
}
footer{
    text-align: center;
    
}
.hide-me{ display: none}
.reveal::after {content: "+";}
.collapse::after {content: "-"}
@media screen and (max-width: 600px){
    #mainmenu{
        flex-direction: column;
    }
}
