/* block elements */ 
article, aside, footer, header, hgroup, nav, section, audio, video {
  display: block;
}

/* css reset */
* {
  padding: 0;
  margin: 0; 
} 

/* float reset */
.clearfix:before,.clearfix:after{content:"";display:table;}
.clearfix:after{clear:both;}
.clearfix{zoom:1;} 

body * {	
	font-family: 'Calibri', sans-serif;
}

body { min-width: 850px;}

frame {
	height: 1000px;
	width: 100%;
	margin: 0 auto;
}

#logo {
	margin-top: 15px;
	margin-left: 30px;
	float: left;
	width: 250px;
}

#pozadi {
	min-width: 800px;
	width: 100%;
	height: 280px;
	position: absolute;
	top: 120px;
	background: url('../img/pozadi.png');
	background-repeat: no-repeat;
	background-size: cover;
	border-top: 3px solid rgba(0,0,0,.3);
	border-bottom: 3px solid rgba(0,0,0,.3);
}


#pozadi #text {
	position: relative;
	top: 25px;
	width: 550px;
	background: rgba(255,255,255,.75);
	margin: 0 auto;
	padding: 10px;
}


#pozadi p {
	text-align: center;
	font-size: 18px;
}

#pozadi h1 {
	padding: 0 10px;
	text-align: center;
	font-weight: normal;
	letter-spacing: 3px;
	margin-top: 20px;
}

#pozadi h1 span {
	font-weight: bold;
}

#pozadi hr {
	width: 400px;
    border: 0;
    border: 1px solid #437ea3;
    background: #437ea3;
    margin: 0 auto;
    margin-bottom: 10px;
}


#menu {
	margin-top: 50px;
	width: 550px;
	float: right;
	height: 25px;
}

#menu ul li {
	display: inline;
	padding: 5px;
	padding-left: 15px;
	line-height: 25px;
}

#menu a:after {
	content: '▼';
	color: #437ea3;
	padding-left: 5px;
}

#menu ul li a {
	padding-bottom: 5px;
	font-size: 17px;
	text-decoration: none;
	color: black;
	font-weight: normal;
}

#menu ul li a:active, #menu ul li a:hover, {
	font-weight: bolder;
	color: #437ea3;
	-webkit-transition: all 200ms ease-in-out;
  	-moz-transition: all 200ms ease-in-out;
  	-o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

#menu ul li a.checked {
	font-weight: bolder;
	color: #437ea3;
}

.tlacitko {
	-moz-box-shadow: 0px 9px 14px -7px #276873;
	-webkit-box-shadow: 0px 9px 14px -7px #276873;
	box-shadow: 0px 9px 14px -7px #276873;
	background-color:#437ea3;
	-moz-border-radius:20px;
	-webkit-border-radius:20px;
	border-radius:20px;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:18px;
	padding:5px 26px;
	text-decoration:none;
	text-shadow:0px 1px 0px #3d768a;
	margin-top: 30px;
}
.tlacitko:hover {
	background-color:#408c99;
	-webkit-transition: background-color 200ms ease-in-out;
  	-moz-transition: background-color 200ms ease-in-out;
  	-o-transition: background-color 200ms ease-in-out;
    transition: background-color 200ms ease-in-out;
    
}
.tlacitko:active {
	position:relative;
	top:1px;
}

#schuze {
	height: 400px;
	width: 100%;
	position: absolute;
	top: 430px;
	min-width: 800px;
}

#schuze #mesice {
	margin-left: 2%;
	width: 10%;
	float: left;
	padding: 1%;
}

#schuze ul li {
 	list-style: none;
}

#schuze .posun {
	margin-left: 20px;
}

#schuze #zapis {
	width: 83%;
	float: left;
	background-color: #e6e6e6;
	padding: 1%;
}

h2 {
	font-weight: bolder;
	color: #437ea3;
}

#schuze p {
	padding-top: 20px;
}

#aktuality {
	height: 400px;
	width: 100%;
	position: absolute;
	top: 430px;
}

#aktuality #zpravy {
	margin-left: 2%;
	width: 80%;
	float: left;
	padding: 1%;
	background-color: #e6e6e6;
}

#aktuality #zpravy h3 {
	font-weight: normal;
}

#aktuality #zpravy h3 span {
	font-weight: bold;
	color: #437ea3;
}

#aktuality #zpravy hr, #stanovy hr, #kontakty hr {
	width: 99.8%;
    border: 0;
    border: 1px solid #437ea3;
    background: #437ea3;
    margin-bottom: 10px;
}

#aktuality #zpravy h3 {
	margin-top: 15px;
	margin-bottom: 10px;
}

#aktuality #zpravy p {
	line-height: 25px;
}

#aktuality #foto {
	width: 170px;
	position: absolute;
	top: 0px;
	left: 85%;
	background-color: #e6e6e6;
	padding: 10px;
	margin-left: 10px;
}

#aktuality #foto img {
	width: 100%;
	border: 1px solid #000;
}

#stanovy {
	height: 300px;
	width: 100%;
	position: absolute;
	top: 430px;
	margin-left: 2%;
	width: 95%;
	padding: 1%;
	background-color: #e6e6e6;
}

#stanovy h3 {
	text-align: center;
	margin-bottom: 10px;
	font-size: 16px;
}

#stanovy p {
	margin-top: 10px;
}

#kontakty {
	height: 1000px;
	width: 100%;
	position: absolute;
	top: 430px;
	margin-left: 2%;
	width: 95%;
	padding: 1%;
	background-color: #e6e6e6;
}

#kontakty #druzstvo {
	width: 100%;
}

#kontakty .sloupce {
	width: 30%;
	margin: 10px;
	float: left;
	text-align: center;
}

#kontakty .sloupce2 {
	width: 61%;
	margin: 10px;
	float: left;
}

iframe {
	float: left;
	margin-bottom: 20px;
}

#kontakty #vedlemapy {
	width: 300px;
	float: left;
	margin-left: 20px;
}

#kontakty h3 {
	color: #437ea3;
	font-size: 16px;
}

#foto img{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale"); /* Firefox 10+, Firefox on Android */
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(100%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */}

#foto a:hover img{
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    filter: none ; /* IE6-9 */
    zoom:1;
    -webkit-filter: grayscale(0%); /* Chrome 19+, Safari 6+, Safari 6+ iOS */
    }


.pdf:before {
    content: "";
    display: inline-block;
    background: url("../img/pdf.png") no-repeat top right;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.word:before {
    content: "";
    display: inline-block;
    background: url("../img/word.png") no-repeat top right;
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

