html, body {
  background-image: url('images/pozadie.gif');
  margin: 0;
  padding: 0;
  font-family: verdana, helvetica, arial, sans-serif;
  color: #5b5b5b;
  text-align: center;
  font-size: 10pt;

}
#frame {
  	margin:0 auto;
  	width: 780px;

	-moz-box-shadow: 0 0 5px #CCCCCC;
	-webkit-box-shadow: 0 0 5px #CCCCCC;
	box-shadow: 0 0 5px #CCCCCC;
}

div#ram {
  border: 1px solid #cbe4a3;
  border-top: 0;
  background-color: #fff;
  text-align: left;

}

/* HORNY OBRAZOK */
#top {
	border-left: 1px solid #5b6648;
	border-right: 1px solid #5b6648;
  background: url('images/top.jpg') no-repeat;
  height: 163px;

}

#top a {
  height: 163px;
  width: 780px;
  display: block;
}

#top a:visited {
  border: 0 !important;
}

#top span, .tajna {
  display: none;
}

p {
  color: #5b5b5b;
}

h1,h2,h3,h4,h5,h6 {
  color: #7FA900;
}

h1 {
  font-size: 13pt;
  padding-left: 15px;
  margin: 0;
  padding-bottom: 3px;
  text-transform: uppercase;
}

h3 {
	font-size: 10pt;
}

.reset {
	clear: both;
	border:none;
	visibility: hidden;
}
a:link, a:visited {
	text-decoration: underline;
	color: #7FA900;
	outline: none;
}
a:hover {
	color: #3A7501;
}
a:focus {
	outline: 0;
}

/* CIARY */

div.line1 {
  background-image: url('images/line1.gif');
  background-repeat: repeat-x;
  height: 16px;

}

div.line2 {
  background-image: url('images/line2.gif');
  background-repeat: repeat-x;
  height: 1px;
}

div.line3 {
  background-image: url('images/line3.gif');
  background-repeat: repeat-x;
  height: 2px;
}

div.line4 {
  background: url('images/line4.gif') repeat-x;
  background-position: bottom left;
  width: 100%;
  margin-bottom: 20px;
}



/* MENU */
#menu {
  background-color: #fff;
  background-image: url('images/menu_bg.gif');
  background-repeat: no-repeat;
  background-position: bottom left;
  padding-left: 80px;
  height: 21px;
}

div#menu ul.main-menu {
  margin: 0; padding 0;
  list-style-type: none;
  background: url('images/menu_line.gif') repeat-y top left;
  padding-left: 1px;
  height: 21px;
}

div#menu li {
  padding: 0;
  margin: 0;
	display: block;
	float: left;
  background-image: url('images/menu_line.gif');
  background-repeat: repeat-y;
  background-position: top right;
  padding-top: 5px;
}

div#menu li:hover {
  background-color: #e0ff96;
}

div#menu a {
	display: block;
  background-image: url('images/menu_dot.gif');
  background-repeat: no-repeat;
  background-position: bottom left;
  color: #626262;
  font-size: 9pt;
  text-decoration: none;
  margin: 0;
    height: 16px;
  padding: 0 5px 0 40px;
  margin-left: 2px;
  text-align: right;
  
}

div#menu a:hover {
  text-decoration: none;
  background-image: url('images/menu_tri.gif');
  background-repeat: no-repeat;
  background-position: center left;
}

/* HLAVNA CAST STRANKY */

div#mn_fl {
/*
  width: 520px;
  float: left;
*/
}

div#mn {
  margin: 30px;
}

div#mn h2 {
  color: #5b5b5b;
  font-size: 12pt;
  margin-left: 25px;
}

div#mn p.main {
  margin: 0 35px 30px 35px;
  text-align: left;
}

div#mn ul.sluzby {
	margin: 0;
  padding: 7px 7px 7px 40px;
  list-style-type: none;
}
div#mn li {
  padding: 3px;
}

div#mn ul.main {
  color: #7FA900;
  font-weight: bold;
}
div#mn ul.main h2 {
	margin: 0; padding:0;
	color: #7FA900;
	font-size: 10pt;
	font-weight: bold;
}
div#mn ul.sub {
  color: #666;
  font-weight: normal;
  padding-left: 15px;
}
div#mn ul.sub li {
	background-image: url('images/proj_dot.gif');
  background-repeat: no-repeat;
  background-position: 0px 9px;
  _background-position: 0px 10px;
  padding-left: 10px;
}

div#mn .popis {
	border-left: 1px dotted #666;
	background-color: #EEF8D8;
	margin: 5px 5px 5px 17px;
	padding: 7px;
}

div#mn li.bgimg {
  background-repeat: no-repeat;
  background-position: 0px 5px;
  padding: 3px 3px 3px 40px;
  display: block;
}

div#mn li.www {
  background-image: url('images/sluzby/html.gif');
}

div#mn li.grafika {
  background-image: url('images/sluzby/grafika.gif');
}

div#mn li.progr {
  background-image: url('images/sluzby/progr.gif');
}

div#mn ul a:hover {
  text-decoration: underline;
}

/* BOCNA CAST STRANKY */

div#lb_fl {
  float: right;
  width: 250px;
}
div#lb {
  margin: 30px;
  margin-left: 20px;
}

div#lb h2 {
  font-size: 12pt;
  padding-left: 15px;
  margin: 0;
  padding-top: 1px;
  padding-bottom: 3px;
}

/* NOVINKY  */
div#novinky {
	display: none;
}
div#novinky span, div#novinky p {
  font-size: 9pt;
  margin: 0; padding: 0;
  padding-left: 8px;
}

div#novinky span {
  background-image: url('images/novinky.gif');
  background-repeat: no-repeat;
  background-position: 0px 5px;
  padding-left: 14px;
}

div#novinky p {
  border-left: 1px solid #e0dcdd;
  margin-bottom: 20px;
}

div#novinky a {
  color: #7A9C3F;
  text-decoration: none;
}

div#novinky a:hover {
  text-decoration: underline;
}

/* REFERENCIE */

div#ref {
}
.wmimage {
	    display: block;
	    clear: right;
		float: right;
		width: 200px;
		height: 200px;
}
	
div#ref .wmimage {
	height: auto;
	display: block;
	width: 154px;
	clear: both;
	float: left;
	margin-right: 20px;
	margin-top: 20px;
}
div#ref a img {
	border: 1px solid #AAAAAA;
	-moz-box-shadow: 0 0 5px #AAAAAA;
	-webkit-box-shadow: 0 0 5px #AAAAAA;
	box-shadow: 0 0 5px #AAAAAA;
}

div#ref .info {
    float: left;
    width: 540px;
    margin-bottom: 20px;
    margin-top: 20px;
}

div#ref h2 {
  font-size: 11pt;
  color: #5b5b5b;
  padding: 0; margin: 0;
  margin-bottom: 5px;
}

div#ref p {
  padding: 0;
  margin: 0;
}

div#ref .info a {
	display: block;
	float: left;
	color: #7A9C3F;
	text-decoration: none;
	padding-left: 10px;
	background: transparent url('images/proj_dot.gif') no-repeat 0 8px;
}

div#ref .info a:hover {
  text-decoration: underline;
}

ul#odkazref {
  list-style-image: url('images/proj_dot.gif');
  padding: 0; margin: 0;
  margin: 10px;
}

ul#odkazref a {
  color: #7A9C3F;
  text-decoration: none;
}

ul#odkazref a:hover {
  text-decoration: underline;
}
/* COPYRIGHT */

div#copyright {
  background-image: url('images/copybg.gif');
  background-position: bottom left;
  background-repeat: repeat-x;
  background-color: #f4f4f4;
  font-size: 8pt;
  color: #888;
  text-align: center;
  padding-top: 3px;
  padding-bottom: 5px;
}

div#copyright a {
  color: #7A9C3F;
  text-decoration: none;
}

div#copyright a:hover {
  text-decoration: underline;
}



.thumb {
	text-align: center;
}
.thumb a {
	display: block;
	float: left;

	margin:15px;
	padding: 10px;
	padding-bottom: 0;
	text-decoration: none;
	border: 1px #c5c5c5 solid;
	background-color: #efefef;
}
.thumb p {
	margin-top: 10px;
	padding-top: 3px;
	/*border-top: 1px solid #dddddd;*/
}

table {
	border-collapse: collapse;
	padding: 0;	margin: 10px 0;
	border-width: 0;
}
td, th {
	padding: 2px 10px; margin: 0;
	vertical-align: top;
	text-align: left;
}
th {
	text-align: left;
	font-weight: normal;
	font-style: italic;
	background: transparent;
}
th.title {
	padding-top: 10px;
	font-weight: bold;
	font-style: normal;
}
th.title span {
	font-style: normal;
	font-weight: normal;
}
table caption {
	text-align: center;
	font-weight: bold;
	font-size: 12pt;
}

table.kontakt {
	margin-top: 15px;
	margin-bottom: 0;
}
table.kontakt caption {
	font-size: 9pt;

}
table.kontakt th {
	text-align: left;
	font-style: normal;
	padding: 0 3px 0 0;
}
table.kontakt td {
	padding: 0 3px !important;
}

/* FORM */
#novinky form {
  margin: 0px;
  padding: 0px;
}
#novinky input, #novinky select, #novinky textarea {
  width: 100%;
  padding: 1px;
  margin-top: 2px;
  margin-bottom: 5px;
  border: 1px solid #666666;
  background-color: #EEF8D8;
}
#novinky .submit {
	width: 80px;
	margin-top: 10px;
	margin-left: 20px;
}

#novinky textarea {
  overflow: auto;
}
#novinky label {
	margin:0;
	padding:0;
	text-align: left;
	width: auto;
}

/* FORM */
form {
	clear: both;
	margin: 0px;
	text-align: left;
}
form fieldset {
	border: 0;
	padding: 0px;
	margin: 0px;
}

form fieldset legend {
	font-size: 12pt;
	font-weight: normal;
	padding-bottom: 10px;
}

textarea, input, button, select, option {
	padding: 1px;
	margin: 1px;
	color: #404040;
	background-color: #F8F7F1;
	border: 1px solid #a6a6a6;
	font-size: 9pt;
}
.button {
	padding: 5px;
	margin: 1px;
	color: #404040;
	background-color: #F8F7F1;
	border: 1px solid #a6a6a6;
	font-size: 9pt;
	text-decoration: none !important;
}

.checkbox {
	display: block;
	float: left;
	padding: 1px;
	margin: 1px;
	margin-right: 10px;
	color: #404040;
	background-color: #F8F7F1;
	border: 1px solid #a6a6a6;
	font-size: 9pt;

}

input:focus, input:hover, textarea:focus, textarea:hover {
	background-color: #FFFFFF;
}
label {
	margin:0;
	padding:0;
	display: block;
	width: 120px;
	float: left;
	text-align: right;
	padding-top: 3px;
	padding-right: 5px;
}
form br {
	clear: both;
}
button.submit,
input.submit {
	margin-left: 125px;
}
.skryt {
	display: none;
}
.maxsize
{
	width: 360px;
}
.midsize
{
	width: 200px;
}

.form-search label {
	width: 100%;
	text-align: left;
}
.form-search input {
	width: 120px;
}
.form-search input.submit {
	margin-left: 10px;
	width: 100px;
}

/* CENNIK */
table#cennik {
	padding: 0px;
}
table#cennik .cena {
	width: 120px;
	text-align: right;
}
table#cennik tr:hover {
    background-color: #EEF8D8;
}


.response {

	position: absolute;

	top: -1px;
	left: 50%;
	margin-left: -100px;

/*	margin: 0 auto; */

	width: 300px;
	padding: 4px;
	margin-bottom: 10px;
	background-color: #fff8cc;
	border: 1px solid #ffd03f;
	font-weight: bold;
	text-align: center;
	display: none;
}

/* AUTH */
#top-line {
	color: #fff;
	position: absolute;
	right: 5px;
	top: 5px;
	text-align: right;
}
#top-line a:hover {
}

a.auth {
	float: right;
	display: block;
	width: 16px;
	height: 16px;
	margin-left: 5px;
	background: transparent url(images-admin/lock.png) no-repeat left top;
}
a.auth span {
	display: none;
}
a#login {
	background: transparent url(images-admin/lock.png) no-repeat left top;
}
a#logout {
	background: transparent url(images-admin/lock_open.png) no-repeat left top;
}
/* /AUTH */