/* CSS Document */
html, body {
color: white;
background-color: #292929;
font-family: Calibri,Arial,sans-serif;
}

body {
margin: 0px 0px 0px 0px;
text-align: center;

}

a {
cursor: pointer;
text-decoration: none;
color:inherit;
}

.preload {
display: none;
}

h1 {
display: none
}

#header {
background-color: white;
/*background-image: url("img/nyoj_bg.png");*/
/*background-repeat: repeat-x;*/
width: 100%;
height: 496px;
display: block;
}

#nadheader{
background-color: #292929;
width: 900px;
height: 36px;
line-height: 36px;
margin: auto;
}

#inheader {
width: 900px;
height: 50px;
line-height: 50px;
margin: auto;
}

#inheader div {
display: block;
float: left;
display: inline;
}

#menu {
background-color: white;
color: #383838;
height: 100%;

}

#menu div{
font-family: 'Open Sans Condensed', sans-serif;
height: 100%;
font-size: 101%;
cursor: pointer;
padding: 0px 11px 0px 11px;
margin:auto;
border-left: 1px solid #BCBCBC
}

#menu div:hover {
color: white;
background: rgb(109,109,109); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(109,109,109,1) 0%, rgba(23,23,23,1) 32%, rgba(23,23,23,1) 87%, rgba(221,103,0,1) 87%, rgba(221,103,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(109,109,109,1)), color-stop(32%,rgba(23,23,23,1)), color-stop(87%,rgba(23,23,23,1)), color-stop(87%,rgba(221,103,0,1)), color-stop(100%,rgba(221,103,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(109,109,109,1) 0%,rgba(23,23,23,1) 32%,rgba(23,23,23,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(109,109,109,1) 0%,rgba(23,23,23,1) 32%,rgba(23,23,23,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(109,109,109,1) 0%,rgba(23,23,23,1) 32%,rgba(23,23,23,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(109,109,109,1) 0%,rgba(23,23,23,1) 32%,rgba(23,23,23,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6d6d6d', endColorstr='#dd6700',GradientType=0 ); /* IE6-9 */

}

#menu div:last-child {
border-right: 1px solid #BCBCBC
}

#formenu, #aftermenu {
font-family: 'Special Elite', cursive;
color: black;
background-color: white;
width: 170.5px;
height: 100%;
margin: auto;
}
/*
#aftermenu {
border-right: 1px solid #BCBCBC
}
#formenu {
border-left: 1px solid #BCBCBC
}
*/

#formenu div {
float: left;
display: inline;
background: rgb(242,242,242); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(242,242,242,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 87%, rgba(221,103,0,1) 87%, rgba(221,103,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(242,242,242,1)), color-stop(20%,rgba(255,255,255,1)), color-stop(87%,rgba(255,255,255,1)), color-stop(87%,rgba(221,103,0,1)), color-stop(100%,rgba(221,103,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(242,242,242,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(242,242,242,1) 0%,rgba(255,255,255,1) 20%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#dd6700',GradientType=0 ); /* IE6-9 */

}

#formenu div:nth-child(1) {
font-size: 220%;
width: 70%;
}
#formenu div:nth-child(2) {
line-height: 22px;
font-size: 90%;
width: 30%;
height: 50px;
}


#aftermenu div img {
vertical-align: middle;
margin: 0px 5px 0px 5px;
}

#aftermenu div {
cursor: pointer;
width: 20%;
height: 100%;
float: right
}

#podheader {
position: relative;
background-color: black;
margin: auto;
width: 900px;
height: 350px;
/*overflow: hidden;*/
}

#aftermenu > div:hover {
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 1%, rgba(255,255,255,1) 87%, rgba(221,103,0,1) 87%, rgba(221,103,0,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(255,255,255,1)), color-stop(87%,rgba(255,255,255,1)), color-stop(87%,rgba(221,103,0,1)), color-stop(100%,rgba(221,103,0,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  rgba(255,255,255,1) 1%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* IE10+ */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 1%,rgba(255,255,255,1) 87%,rgba(221,103,0,1) 87%,rgba(221,103,0,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dd6700',GradientType=0 ); /* IE6-9 */


}

#container {
color: black;
background-color: white;
width: 100%;

display: block;
}

#contentX {
background-color: #fbfbf2;
border: 1px solid #d3d3d3;
width: 898px;
height: 1050px;
margin: auto; 
margin-bottom: 30px;
}


#content01 {
background-color: #fbfbf2;
border: 1px solid #d3d3d3;
width: 898px;
height: 200px;
margin: auto;
margin-bottom: 30px;
}

#nadpis {
color: white;
background-color: #292929;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 250%;
width: 900px;
height: 60px;
margin: auto;
}

#nadpis div {
margin-left: 60px;
text-align: left;
}

#content02, #content {
font-family: 'Open Sans Condensed', sans-serif;
overflow: auto;
background-color: #ffffff;
border: 1px solid #d3d3d3;
width: 898px;
margin: auto;

}

#content02 {
background-color: #fbfbf2;
}

#rozvrh {
width:898px;
text-align: left;
}

#rozvrh th {
text-align: right;
background-color: #fbfbf2;
width: 148px;
border-right: 1px solid #d3d3d3;
border-bottom: 1px solid #d3d3d3;
padding-right: 10px;
}
#rozvrh td {
background-color: #d5e5e5;
width: 250px;
border-right: 1px solid #d3d3d3;
border-bottom: 1px solid #d3d3d3;
padding-left: 10px;
}


#content > div {
height: 324px;
border-bottom: 1px solid #d3d3d3;
}

#content div div{
float: left;
display: inline;
width: 50%;
margin-top: 20px;
}

#content div:nth-child(even) div div{
width: 100%;
text-align: left;
}

#content div:nth-child(odd) div div{
width: 100%;
text-align: left;
margin-left: 100px;
}

#lektor div:nth-child(1) {
font-size: 200%;
}
#lektor div:nth-child(2) {
font-size: 130%;
}

#content02 > div {
text-align: left;
margin-left: 60px;
}

#content02 > div:last-child {
margin-bottom: 20px;
}

#program td {
float: left;
display: inline;
}
#program td:nth-child(1) {  /*datum*/
font-weight: bold;
width: 70px;
}
#program td:nth-child(2) {  /*text*/ 

}

#content03 {
width: 900px;
margin: auto;
margin-top: 10px;
}

#content02, #content03, #content {
color: black;
}

#content01menu>div {
float: left;
display: inline;
width: 230px;
height: 300px;
margin: 34px 34px 0px 34px;
}
#text_name{
font-weight: bold;
margin: 0px 0px 0px 0px;
}

#footer {
background-color: #292929;
width: 100%;
height: 100px;

}

#footer div {
width: 900px;
margin: auto;
}

#footer div div {
font-family: 'Open Sans Condensed', sans-serif;
float: left;
display: inline;
width: 50%;
height: 100px;
margin: auto;
}

#footer>div>div:nth-child(1) {
font-size: 80%;
text-align: left;
}

#footer>div>div:nth-child(2) {
font-size: 120%;
text-align: right;
}

#footer div div div {
float: right;
display: inline;

}








 /* Style the Image Used to Trigger the Modal */
#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 90; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 550px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
} 
