html {
    overflow-y:scroll;
}

 body 
  {font:20px font-family: 'Tahoma', sans-serif; letter-spacing:1px;color:#ccc;background:#78430e url(/backtile.png) fixed;}

footer {
    padding: 10px;
    background: black;
}

#warn {
        color: red;
        background-color: transparent;
}

a:link {
  color: red;
        background-color: transparent;
        text-decoration: underline;
}
a:visited {
        color: orange;
        background-color: transparent;
        text-decoration: underline;
      }
a:hover {
        color: white;
        background-color: transparent;
        text-decoration: underline;
      }
      
a:active {
        color: white;
        background-color: transparent;
        text-decoration: underline;
      }

#tbl a {
        color: white;
        background-color: transparent;
        text-align: left;
        float: left;
}

h1 {
    font-size:1.8em;
}

h2 {
    font-size:1.4em;
}

header {
    height:125px;
    border-style: double;
    background:black;
}

#img1 {
	display: inline;
	width: 19%;
  float: left;
}

#img2 {
	display: inline;
	width: 73%;
  padding-left: 25px;
  padding-top: 33px;
}

#nav{
    padding: 10px 15px 0px 15px;
    background:black;
    border-style: double;
    height: 30px;
}

#nav a {
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  color:white;
}

header h1 {
  display: block;
  font-size:2.7em;
  float: left;
  margin-top: 41.9px;
  margin-left: 12%;
}

nav h2 {
  color:#ffffff;
  margin:0;
  padding:7px 15px;
  font-size:1.2em;
}

table {
  width: 100%;
}

table, th, td {
  border: 1px double white;
  
}

th, td {
  padding: 12px;
}

#main_block{
  padding: 20px;
  background:black;
  font-size:14px;
}

@media screen and (max-width: 680px) {
  header {
    height: 50%;
    border-style: double;
    background:black;
  }
  
  img {
  height: auto;
  max-width: 100%;
  }
  
  #img2 {
	display: inline;
	width: 73%;
  padding: 4.1% 4%;
  }
  
  #nav a {
    padding: 14px 0.5px;
    font-size:18px;
  }
  
  #tbl {
  max-width: 100%;
  float: left;
  padding-bottom: 5%;
  }
  
  table thead {
    display: none;
  }
  table td {
    display: flex;
    float: inherit;
  }
  
  body {
    width: 97.5%;
    
  

  }
}

@media screen and (max-width: 545px) {
    header {
    height: 50%;
    border-style: double;
    background:black;
  }
  
  img {
  max-width: 100%;
  height: auto;
  }
  
  #nav a {
    padding: 14px 0.5%;
    font-size:15px;
  }  
  
  header img {
	  display: none;
  }
  
  header h1 {
    margin:40px 50px 50px 50px;
    text-align: left;
    float:none;
  }
  
  #tbl {
  max-width: 100%;
  float: left;
  padding-bottom: 5%;
  }
  
  table thead {
    display: none;
  }
  table td {
    display: flex;
    float: inherit;
  }
}

@media screen and (max-width: 440px) {
  #nav{
    padding: 10px 10px 0px 10px;
  }
  
  #nav a {
    font-size: 11px;
  } 
}