body{
    background: url(images/bg_body.png);
}
#main{
    width:700px;
    height:500px;
    margin: auto;
    border: 3px ridge #a79d9d;
    border-radius: 5px;
    background: #f9f9f9;
    
}

#content{
    height:450px;
    display:flex;
    border: 1px solid #a79d9d;
    background: #090961;
}
#down{
    height:50px;
/*    background:  url("images/bottom_bg.png");*/
}
#left{
    background: url(images/intro.jpg);
    float: left;
    width: 500px;
    height: 450px;
    box-shadow: 2px 2px 3px inset;
    z-index: 2;
/*    background: #afafaf;*/
}
#right{
/*    position: absolute;*/
    float: left;
    width: 200px;
    height: 450px;
}
.but{
    width: 100px;
    height: 30px;
    margin: 20px 50px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.but:focus{
    outline-color: #090961;
}
#but2{
  
    margin-top: 20px; 
}
#lab2{
  width: 100px;
  height: 30px;
  margin: auto;
  margin-top: 70px;
  color: #dddddd;
  font-size: 28px;
  font-weight: bold;
}

#prevod{
  width: 300px;
  height: 300px;
  margin: 20px; 
  display: none;
}
#prevod_vstup{
  width: 300px;
  height: 50px;
  font-size: 30px;
  text-align: center;
  font-weight: bold; 
  line-height: 50px;
  box-shadow: 2px 2px 3px black;
}
#prevod_vystup{
  width: 300px;
  height: 50px;
  border: 1px solid; 
  background: #fff;
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 50px;
  box-shadow: 2px 2px 3px black;
}
#but5{
  margin-left: 290px;  
}

#pravidla{
 position: relative;
    width: 500px;
  height: 400px;
  margin: 20px; 
  display: none;
  background: #f9f9f9; 
 z-index: 3;
padding: 10px;
box-shadow: 2px 2px 3px black;
}
#pravidla>ul{
    font-size: 15px;
    font-weight: bold;
}
#kriz{
   float:right;
   margin:5px;
    cursor: pointer;
}
#test{
  width: 450px;
  height: 400px;
  margin: 20px; 
  display:flex ;
/*  background: #fff;*/
  display: none;
}
#test1 {
    flex:2;
    height: 350px;
/*    background: white;*/
    width: 165px;
    float: left;
font-weight: bold;
    font-size: 25px;
    margin: 10px;
}
#test2 {
    flex: 1;
    margin: auto;
    float: left;
    width: 50px;
    height: 30px;
    
    margin-top: 13px;
}
#test3 {
    flex:2;
     height: 350px; 
/*    background: white;*/
    width: 165px;
    float: left;
/*    border: 1px solid;*/
    margin: 10px;
    
}
td{
    border: 1px solid;
    background: white;
    box-shadow: 2px 2px 3px black;
    text-align: center;
}

.c_vstup{
    width: 100%;
    height: 100%;
    font-size: 20px;
    font-weight: bold;
    background: none;
    border: 0;
}
.c_vstup:focus{
    outline-color: #090961;
}
#but6{
  margin-left: 290px;  
}
#zprava{
    width: 650px;
    height: 40px;
/*    border: 1px solid;*/
    margin: auto;
    margin-top: 3px;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}
#sipka{
    background: url(images/sipka.png);
    background-size: cover;
    height: 30px;
}
