body{
  font-family: arial;
  font-size: 20px;
  margin: 0px;
  padding: 0px;
  background-color: #eeeeee;
}
nav li {
  list-style-type: none;
}
footer{
  text-align: center;
  font-size: medium;
  clear: both;
}
footer a {
    color: #eee;
}
footer a:hover {
    color: #6ebaf9;
}
a {
  color: #000099;
  text-decoration: none;
}
header a  {
    color: #eee;
    text-decoration: none;
}
a:hover, a:focus{
  color: #003663;
  text-decoration: underline;
}
header a:hover, header a:focus{
  color: #aac7ff;
  text-decoration: none;
}
article{
  text-align: justify;
}
article a:hover img {
  background-color: #fff;
}
.inventory {
  border-collapse: collapse;
}
.inventory th, .inventory td{
  border: 1px solid #003663;
}
.inventory th{
	font-weight: normal;
	background-color: #FFF;
  padding: 10px;
  margin: 0px;
}
.inventory td{
	text-align: right;
	background-color: #ccc;
	padding: 10px;
  margin: 0px;
}

nav li a{
  display: block;
  padding: 10px;
  margin: 10px 0px;
  text-decoration: none;
  background-color: #eee;
  color: #000;
  width: 170px;
}
nav li a:hover, nav li a:focus, nav li a.outer2 {
  background-color: #aac7ff;
  color: #009;
  text-decoration: none;
}
header h1, footer {
    display: block;
    padding: 8px 0px 10px 0px;
    background-color: #003663;
    margin: 0px;
    text-align: center;
  }
.hideCounterImage {
    display: none;
}
nav table{
  font-size: small;
  width: 100%;
  background-color: rgb(255,255,255);
  margin: 10px 0px;
}
nav table th{
  background-color: #aac7ff;
  color: #000;
}
a.webknihovny {
 color: red;
}
.left{
  text-align: left;
}
.right{
  text-align: right;
}
footer{
  color:#fff;
  background-color: #003663;
  padding: 8px 0px;
}
.icons a {
    display:inline-block;
    padding:10px;
}

.icons a:hover {
    -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.85);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.85);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.85);
}
.icons a img {
    border: 0px;
}


@media screen and (min-width: 900px){
  body{
  /*
    background-image: url('letters.jpg');
    background-attachment: fixed;
    background-repeat: no-repeat;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: right top;
   */
    }
  nav{
    float: right;
    padding: 0px 10px;
    background-position: right;
    text-align: center;
  }
  nav ul{
    margin: 0px;
    padding: 0px;
  }
  nav ul li:first-child a{
    margin-top: 0px;
  }
  article{
    padding: 1% 4% 3% 4%;
    margin: 0px 200px 0px 0px;

    background-position: left;
  }
  #outtardis{
    min-width:870px;
    max-width:1200px;
    margin: 0px auto;
    padding: 0px;
    background-image: url(file.png);
    background-repeat: repeat-y;
    background-position: right;
    -webkit-box-shadow: 0px 0px 15px 3px rgba(0, 0, 0, 0.85);
    -moz-box-shadow:    0px 0px 15px 3px rgba(0, 0, 0, 0.85);
    box-shadow:         0px 0px 15px 3px rgba(0, 0, 0, 0.85);
  }
  header img, footer img{
    width: 100%;
  }
  .welcome{
    margin-top: -20%;
  }
  nav .icons{
    display: block;
    text-align: center;
    width: 190px;
    background-color: white;
    margin: 10px 0px;
    padding: 10px 0px;
  }
  nav .icons :first-child{
    padding: 5px 0px;
  }
}

@media screen and (max-width: 899px){
  header img, footer img  {
    display:none;
  }
  nav {
    background-color: #003663;
    display: inline-block;
}
  nav ul{
    padding: 0px;
    margin: 0px;
  }
  nav li {
    float: left;
  }
  nav li a{
    display: inline-block;
    max-width: 270px;
    min-width: 230px;
    margin: 0px 0px 10px 10px;
    text-decoration: none;
    background-color: #eee;
    color: #000;
  }
  article{
    clear: both;
    padding: 3%;
    background-color: white;
  }
  nav .icons, nav table{
    display: none;
  }
}
@media print{

  header img, footer img, nav, .icons  {
    display:none;
  }
  header h1, header, footer, body  {
    display:block;
    background-color: transparent;
    color: black;
  }

}
