@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700);

body {
	background-color: #989898;
	background-image: url(../images/pozadi.jpg);
	background-repeat: repeat;
	margin: 0;
	padding: 0;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 0.9em;
	color: #999;
	font-weight: 200;
}

* {
	margin:0;
	padding:0;
}

p {
	line-height: 1.9em;
	margin-bottom: 20px;
}

a.button { 
    background-color: #5282BA;
    color: #B7D2F0;
    display: inline-block;
    border-bottom-width: 2px;
    border-bottom-color: #215DA1;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

a.button:hover {
	color: #fff;
}

a.button-reversed { 
    background-color: #ddd;
	border-bottom-color: #999;
	color: #666;
}

a.button-reversed:hover {
	color: #333;
}

fieldset {
	display: block;
	border: none;
	border-top: 1px solid #ccc;
}

fieldset legend {
	font-weight: bold;
	font-size: 0.9em;
	padding-right: 10px;
	color: #333;
}

fieldset form {
	padding-top: 15px;
}

fieldset p label {
	float: left;
	width: 150px;
}

span.required {
	color: #ff0000;
}

h1 {
	color: #000;
	font-size: 2.7em;
	text-transform: uppercase;
}

h2 {
	color: #5282BA;
	font-size: 2.5em;
	letter-spacing: -2px;
	font-weight: normal;
	padding: 0 0 5px;
	margin: 0;
}

h3 {
	color: #5282BA;
	font-size: 1.9em;
	font-weight: normal;
	margin-bottom: 10px;
	letter-spacing: -1px;
}

h4 {
    color: #555;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 10px;
}

h5 {
	padding-bottom: 10px;
	font-size: 1.1em;
	color: #999;
}

ul, ol {
	margin: 0 0 35px 35px;
}

li {
	padding-bottom: 5px;
}

li ol, li ul {
	font-size: 1.0em;
	margin-bottom: 0;
	padding-top: 5px;
}

.width {
	max-width: 1100px;
	margin: 0 auto;
}


#container {
	background-color: #fff;
	width: auto;
	margin: 10px auto;
}

#header {
  width: 1100px;
  height: 220px;
	background-color: White;
	background-image: url('../images/bg2.jpg');
	background-repeat: no-repeat;
	background-position: center;
}

#header_obec {
  text-align: left;
  color: white;
}

#header_chleny {
  text-align: left;
  color: white;
}



nav {
	height: 35px;
	margin-bottom: 0px;
	width: 100%;
	background-color: #79c8e8;
	background-image: linear-gradient(#79c8e8, #26a4d7);
	box-shadow: 0px 10px 20px #79c8e8;
	border-bottom: 1px solid #fff;
}

nav ul {
	list-style: none;
	margin: 0;
	padding: 10px 0 0;
	text-align: left;
}

nav ul li {
	display: inline;
	padding: 0px 15px;
}


nav ul li a {
  color: #262626;
	font-size: 13px;
	font-weight: bold;
  border-bottom: none;
  text-decoration: none;
  text-transform: none;
}


nav ul li a:hover {
	color: white;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

#body {
	background: none;
	margin: 20px 2%;
 	padding: 0;
	clear: both;
}

#content {
    float: left;
}

.two-column {
	width: 76%;
}

.with-right-sidebar {
	margin-right: 2%;
}

.with-left-sidebar {
	margin-left: 2%;
}


.three-column {
	width: 46%;
	margin: 0 2%;
}


article {
    padding: 10px 10px 20px 5px;
    color: black;
    font-size: 13px;
}

article a {
    color: black;
    text-decoration: underline;
}

article a:hover {
    color: #434343;
    text-decoration: none;
}

article h2 {
    padding-bottom: 0;
    color: #1b7ea6;
    font-size: 26px;
    font-weight: bolder;
}

article h3 {
    padding-bottom: 0;
    font-size: 20px;
    color: #2191bf;
}

article .article-info {
    color: #ccc;
    font-size: 0.9em;
    letter-spacing: -0.5px;
    padding: 0 0 10px 0;
}

article .article-info a { 
	color: #999;
	border-bottom: none;
}

.sidebar {
	margin-top: 10px;
}

.small-sidebar { 
   width: 25%;
}

.big-sidebar {
	width: 20%;
}

.left-sidebar { 
	float: left;
}

.right-sidebar {
	float: right;
}

.sidebar h4 {
    font-size: 15px;
    color: #1a7296;
    padding: 6px 0px;
    font-weight: bold;
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar ul li {
	margin-bottom: 20px;
	line-height: 2em;
	padding: 10px;
	color: #54514f;
}

.sidebar li ul {
    list-style: none outside none;
    margin: 0px;
}

.sidebar li ul li {
	display: block;
	border-top: none;
	padding: 7px 2px;
	margin: 0;
	line-height: 1.5em;
	font-size: 13px;
}

.sidebar ul.blocklist {
	border-top: 1px solid #ddd;
}

.sidebar ul.blocklist li {
	border-bottom: 1px solid #ddd;
	padding: 0;
}

.sidebar ul.blocklist li a {
	border-bottom: 0;
	display: block;
	padding: 12px 10px;
}

.sidebar ul.newslist li {
	padding: 20px 5px;
	border-bottom: 1px solid #ddd;
}

.sidebar ul.newslist p {
	margin-bottom: 0;
}

.sidebar ul.newslist span.newslist-date { 
	background-color: #5282BA;
	color: #fff;
	padding: 5px 10px;
}

.sidebar li ul li.text { 
	border-bottom: none;
}

.sidebar .odkaz_menu a { 
	font-size: 16px;
	font-weight: bold;
	text-decoration: none;
}

.sidebar .odkaz_menu a:hover { 
	font-size: 18px;
}



.sidebar li ul li a {
	color: #666;
}

.sidebar li ul li a:hover {
	color: #666;
}


.sidebar li ul li a.readmore {
   font-weight: bold;
}

.clear {
	clear: both;
}

footer {
	margin:20px auto 0;
	border-top: 2px solid white;
}

footer p {
	text-align: left;
	color: #ccc;
	font-size: 0.8em;
	margin: 0;
	padding: 0;
}

footer p a {
	color: #ccc;
	font-weight: bold;
}

.footer-content {
	padding: 20px 2% 20px;
	border-top: 10px solid #111;
}

footer .footer-content ul {
	width: 25%;
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
}

footer .footer-content li {
	padding: 3px 3px;
 	color: #505050;
 	font-size: 0.8em;
}

footer .footer-content li a, footer .footer-content h4 {
}

footer .footer-content li a {
 color: #505050;

   
}

footer .footer-content li a:hover { 
	color: #909090;
	border-bottom-color:#909090;
}


footer .footer-bottom {
	padding: 1px;
	text-align: center;
	background-color: #50b6e0;
	background-image: linear-gradient(#50b6e0, #239ecf);
	border-top: 1px solid #1f799e;
}

footer .footer-bottom p {
	text-align: center;
}

footer .footer-bottom p, footer .footer-bottom p a {
	color: white;
	font-size: 10px;
	text-decoration: none;
}



@media screen and (max-width: 740px) {

	body { font-size: 0.8em; }	

	header h1 a, header h1 a:hover { padding: 5px 10px; }

	div#container { width: auto; margin-top: 0; margin-bottom: 0; }

	footer .footer-content ul { margin-bottom: 15px; }

	footer .footer-content ul.endfooter { margin-bottom: 0px; }

	.width { width:auto; }
	
	#content, aside.sidebar { float: none; width: auto; }

	footer .footer-content ul { width: auto; float: none; }
}


@media screen and (max-width: 540px) {

	body { font-size: 0.8em; }

	header, header h1 a, header h1 a:hover { text-align: center; padding: 10px 0; font-size: 1.1em; }

	header { padding: 20px 0; }

	nav ul { margin-top: 0; padding: 10px; }
	
	nav ul li { float: none; text-align:center;  }

	nav ul li a { margin-top: 0; }

	nav { height: auto; position: relative; }

}