/*  layout  */

* {
	font-family: Helvatica, Arial;
	color: #ababab;
}

body {
	text-align: center;
	background: #333333;
}
div {
	text-align: left;
}
a {
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
img {
	border: none;
}
h1 {
	font-size: 26px;
	background: url('../images/bg_h1.gif') no-repeat;
	background-position: left 20px ;
	padding: 0 0 20px 18px;
	margin: 0;
}
h2 {
	margin-left: 38px;
	_margin-top: 25px;
	color: #dd0000;
}
p, input, textarea {
	font-size: 13px;
}

#page {
	margin: 0 auto 40px auto;
	background: transparent;
}

#page,
#top,
#menubar,
#middle,
#footer {
	width: 870px;
	clear: both;

}

#home {
	background: #333333;
	width: 870px;
	height: 123px;
	float: left;
	margin-right: 0px;
	_margin-right: 0px;
}

#banner {
vertical-align:bottom;
	text-align:left;
	background: #333333;
	width: 870px;
	height: 123px;
	float: left;
	margin-right: 0px;
	_margin-right: 0px;
}
#topmenu-home {
	text-align: left;
	padding-left: 0;
	margin-bottom: 20px;
	padding-top:5px;

}


#topmenu {
	text-align: left;
	padding-left: 0;
	margin-bottom: 50px;
	padding-top:5px;

}
#topmenu-home a, #topmenu a {
	color: #ababab;
	text-decoration: none;
	/*font-weight: bold;*/
}
#topmenu-home a:hover,
#topmenu a:hover, h1 {
	color: #dd0000;
}
#topmenu-home .separator,
#topmenu .separator {
	margin:0px 2px;
	width: 48px;
	display: inline;

}
#topmenu-home a#active,
#topmenu a#active {
	color: #dd0000;
}
#content {
	float: right;
	width: 620px;
	min-height: 550px;
	_height: 550px;
	/*border-top: 1px solid #676767;
	border-left: 1px solid #676767;*/
	padding: 0 0 15px 0;
	position: relative;
}

#content-home {
	float: right;
	width: 870px;
	padding-right:261px;
	/*min-height: 400px;
	border-top: 1px solid #dd0000;*/
	border:0;
	padding:0;
	position: relative;
}


#footer {
	width: 870px;
	border-top: 1px solid #676767;
}


#footer-home {
	width: 609px;
	border-top: 1px solid #676767;
	margin-top: 0;

}
#footer, footer a {
	font-size: 12px;
	text-decoration:none;
}

#footer-home, 
#footer-home a,
#footer-home div a  {
	color:#676767;
	font-size: 10px;
	text-decoration:none;
}


#contactint {
	float: right;
}

#contactint-home {
	float: right;

}


#footertext,
#footertext a,
#footertext div a,
#footertext-home,
#footertext-home a,
#footertext-home div a {
	
	color: #676767;
	text-decoration:none;
	font-family:Tahoma, Arial;

}
#footertext {
	padding: 3px 0;
}

/** SIDEBOX (levý sloupec vedle obsahu) **/

#sidebox {
	width: 220px;
	height: 550px;
	margin-right: 40px;
}
#sidebox ul li a {
	text-decoration: none;
	display: block;
	padding: 3px 0;
	font-size: 13px;
}
#sidebox ul li a:hover, #sidebox ul li a#active {
/*	background: #ababab;
	color: #636363;
	font-weight: bold;*/
	color: #dd0000;

}
#sidebox ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #ababab;
	margin-top: 0px;
}
#sidebox li {
	border-top: 1px solid #ababab;
	padding: 0;
}
#sidebox a img {
	border-top: 1px solid #ababab;
	border-bottom: 1px solid #ababab;
}
#sidebox div.kontakt {
	padding: 10px 0;
	margin: 0;

}
#sidebox div.kontakt p {
font-size: 12px;
}


#documents a img {
	border: none;
	float: left;
	margin-right: 5px;
}
#documents {
	border: none;
	border-top: 1px solid #676767;
	padding-top: 15px;
	padding-left: 0px;
	min-height: 550px;
	vertical-align:middle;
	_height: 550px;

}
#documents a {
	color: #ababab;
	font-size: 13px;
	display: block;
	margin-bottom: 7px;
	_margin-bottom: 0;
	_clear: both;
	padding-top: 5px;
	text-decoration:none;
}
#documents a:hover {
	background: transparent;
	font-weight: normal;
	text-decoration:underline;
}
#documents strong {
	font-size: 13px;
	color: #ababab;
}

/** TYM **/
#tym {
	width: 100%;
	min-height: 400px;
	border-top: 1px solid #676767;
	padding:0;
	position: relative;
}

#tym ul {
	margin-left: 0;
	list-style: none;
	padding: 0;
	margin-top: 15px;
}

#tym li {
padding: 5px 0;
}

#tym p {
padding: 15px 0;
font-size: 12px;
}





/** KONTAKT (?page=3 - kontakt) **/

#kontakt {
border-top: 1px solid #676767;
width:590px;
margin-right:0px;
float:right;
}

#formular {
color: #ababab;
margin-left:0;
padding-left:0;
margin-top: 20px;
font-size: 16px; 

}

form p {
	margin: 20px 0 4px 0px;
	font-size: 12px; 
}
form input, form textarea {
	margin-left: 0px;
	background: #3c3c3c;
	border: 1px solid #ababab;
	color: #fff;
	padding: 2px;
	width: 590px;
	_width: 589px;
}
form textarea {
	height: 258px;
}
form input.but {
	width: 150px;
	text-align: right;
	padding-right: 5px;
	background: #ababab;
	float: right;
	clear: both;
	color: #333333;
	font-weight: bold;
	margin-top: 10px;
	_margin-right: -2px;
}
div.message {
	margin: 10px 0 0 38px;
	font-weight: bold;
}
div.message h4 {
	margin-bottom: 0;
	text-decoration: underline;
}
div.message ul {
	padding: 0 0 0 20px;
	margin: 0;
}
div.message ul li {
	list-style: disc;
	padding: 0;
	font-weight: normal;
}


/** PORTFOLIO (?page=1 - portfolio) **/

/* portfolio seznam projektu */

#content.page1 {
	border: none;
}
a.portfoliolist {
	text-decoration: none;
	cursor: pointer;
		clear:both;
}



a:hover.portfoliolist div.popis, 
a:hover.portfoliolist div.obrazek {
	text-decoration: none;

	border-color: #dd0000;
	background: #3c3c3c;
}

div.odkaz {
	width: 620px;
	height:120px;
	position:relative;
	margin-bottom:0px;
}

div.obrazek {
	border-top: 1px solid #ababab;
	margin:0;
	padding:0;
	}
	
div.obrazek img {
margin:0px;
padding:0px;
width:120px;
height:120px;
border: none;
vertical-align:top;

}

div.popis {
	width: 500px;
	height:120px;
	position:absolute;
	top:0px;
	left:121px;
	margin:0px;
	border-top: 1px solid #ababab;
}
 div.realizace {
	position:absolute;
	bottom:10px;
	right:0px;
	padding-right:15px;
	text-align: right;
	font-weight: bold;
	font-size: 18px;
	color: #808080;
}
div.popis p {
	padding-left:15px;
	width: 420px;
	font-size: 11px;
	margin:0px;
}
div.popis p.p1 {
	font-weight: bold;
	font-size: 15px;
	padding-top:10px;
	margin-bottom:5px;

}
div.popis p.p2 {
	/*font-weight: bold;*/
	font-size: 12px;
	padding-top:10px;
}
/* portfolio detail projektu */

#detail {
border-top: 1px solid #676767;
/*border-left: 1px solid #676767;*/
min-height: 570px;
	_height: 570px;
}
#detail img {
	float: left;
	margin-right: 25px;
}
#detail p.p1 {
	margin-top: 15px;
	font-weight: bold;
	font-size: 16px;
	color: #ababab;
}

#detail p.podrobny_popis {
text-align:justify;
}

#detail p.podrobny_popis span a {
text-align:left;

}
#detail p.podrobny_popis img {
margin-right:5px;
}
#detail td, #detail p {
	font-size: 12px;
}
#detail table, #detail td {
	margin: 0;
	padding: 0;
	border-collapse: collapse;
}
#detail #detail2 {
	clear: both;
	padding-top: 86px;
	_padding-top: 35px;
}
#detail2 {
	margin:0;
	padding:0;
	width:100%;

}

#popis{
width:230px; 
position:absolute; 
top: 0; 
right:5px; 
padding-left:5px;
}



#mainphoto {
	float: left;
	padding-left: 0px;
	width:620px;
	text-align:left;
}

#mainphoto img {
margin-right: 10px;;
margin-bottom:10px;
}


#nextphoto {
	float: left;
	height:120px;
	width:120px;
	padding: 5px 0; 
}
#back {
position:static;
height:40px;
padding: 10px 10px 0 0px;
}


#back a {
	/*top: 2px;
	left: 586px;
	_left: 584px;*/
	color: #ababab;
	text-decoration: none;
	font-weight: bold;
}


#back a:hover {
	/*top: 2px;
	left: 586px;
	_left: 584px;*/
	color: #dd0000;
	text-decoration: none;
	font-weight: bold;
}
