@import url("base.css"); /* zakladni styly */
@import url("pages.css"); /* stranky */
@import url("sIFR-screen.css"); 

a {
	color: #38766d;
}
a:hover {
	color: #6f3e39;
}
a.more {
	font-weight: bold;
	background: url("../images/iconset.png") no-repeat -900px center;
	padding-left: 13px;
	height: 1%;
}
a.external {
	background: url("../images/extlink.gif") no-repeat right 0.25em;
	padding-right: 14px;
}
h3 {
	color: #38766d;
	text-transform: none;
}
h3 span {
	font-weight: normal;
}
h4 {
	color: #38766d;
	font-size: 1.2em;
	text-transform: uppercase;
}

td,
th {
	border: 1px solid #d6e0de;
	text-align: left;
	padding: 7px 12px 10px 12px;
	background: url("../images/dot1.gif") repeat-x 0 bottom; 
}
th {
	background: #f1f5f4 url("../images/dot1.gif") repeat-x 0 bottom; 
}
tr:last-child td,
tr:last-child th,
td.blank {
	background-image: none!important;
	padding-bottom: 7px;
}
tr.summary td,
tr.summary th {
	font-size: 1.1em;
	text-transform: uppercase;
	font-weight: bold;
	padding-top: 9px;
	padding-bottom: 9px;
	background-image: none!important;
}
td.blank {
	border: none!important;
}

p.error {
	color: #6f3e39;
	font-weight: bold;
}
p.send, p.sent {
	color: #38766d;
}

body {
	background: #6f3e39 url("../images/texture.gif") 0 0;
	color: #7c7c7c;
}

div#wrapper0 {
	/*max-width: 1010px;
	_width: expression( document.body.clientWidth > 1010? "1010px": "auto"  );*/
}

div#wrapper1 {
	width: 940px;
	margin: 20px auto 0;/* 20px 0 0 auto;*/
	padding-top: 3em;
	position: relative;
}

div#header {
	background: #f7f6f6;
	padding: 1px 0 32px 0;
	height: 123px;
}
p#topLogo {
	margin: 32px 0 0 32px;
	_margin-left: 16px;
	float: left;
}
p#topMotto {
	float: right;
	text-transform: uppercase;
	font-size: 1.5em;
	color: #afafaf;
	margin: 33px 30px 0 0;
	_margin-right: 15px;
	width: 700px;
	text-align: right;
}
p#topMotto span {
	background: url("../images/text_motto.png") no-repeat right 0;
}


div#wrapper2 {
	background: White url("../images/sidebar.png") repeat-y right 0;
	/*padding: 289px 0 0px 0;*/
	position: relative;
	clear: both;
}

div#main {
	float: left;
	width: 652px;
	margin-top: 289px;
}

div#content {
	padding: 5px 30px 20px 30px;
	/*background: #fbfbfb;*/
	background: White url("../images/contentbg.png") repeat-x 0 0;
	text-align: justify;
	width: 592px;
	margin-top: -190px;
	min-height: 200px;
	_height: 200px;
	position: relative;
	z-index: 12;
}
div#content1 {
	width: 592px;
	overflow: hidden;
  height: auto;
}
div#content.index {
	margin-top: 0;
	padding-top: 10px;
}
div#content #topLine {
	position: absolute;
	width: 653px;
	height: 5px;
	background: White;
	top: -5px;
	left: 0;
	overflow: hidden;
	=filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=50); -moz-opacity: 0.5; opacity: 0.5;	
}
div#content #rightLine {
	width: 1px;
	height: 100%;
	position: absolute;
	right: -1px;
	top: 0;
	background: #d6e0de;
	_height: expression(this.parentNode.offsetHeight);
}
div#content h2 {
	color: #6f3e39;
	text-transform: uppercase;
	font-size: 1.9em;
	margin-top: 0;
	padding-top: 0.85em;
	margin-bottom: 0.9em;
}
.sIFR-active div#content h2 {
	font-size: 2em;
	margin-bottom: 0.6em;  
	padding-top: 0.7em;    
	visibility: hidden; font-family: Verdana; line-height: 1em;
}

div#sidebar {
	margin-top: 289px;
	float: right;
	width: 288px;
	height: 1%;
	position: relative;
	background: url("../images/sidebar.png") repeat-y 0 0;
}
div#sidebarContent {
	background: url("../images/sidebar_cont.png") no-repeat 0 0;
	padding: 1px 24px;
}
div#sidebarContent h3 {
	color: #38766d;
	text-transform: uppercase;
	font-size: 1.4em;
	margin-top: 1.9em;
}
.sIFR-active div#sidebarContent h3 {
	font-size: 1.5em;
	margin-bottom: 0.4em; 
	margin-top: 1.5em;     
	visibility: hidden; font-family: Verdana; line-height: 1em;
}

ul#menu {
	list-style: none;
	position: absolute;
	right: 30px;
	top: 110px;
	margin-top: 3em;
	width: 582px;
	height: 56px;
	z-index: 10;
	margin: 0;
}
ul#menu li {
	float: left;
	margin: 0;
	position: relative;
	list-style: none;
	_behavior: url(/css/hover.htc);
	height: 56px;
	padding: 0;
	background: none;
}
ul#menu li a {
	display: block;
	position: relative;
	text-transform: uppercase;
	color: #38766d;
	font-weight: bold;
	height: 56px;
	overflow: hidden;
}
ul#menu li a span {
	background-image: url("../images/menu_cz.png");
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
li#m1 a { width: 110px;} li#m1 a span { background-position: 0px 0; }    li#m1 a:hover span,li#m1 a.act span,li#m1:hover a span,li#m1.hover a span { background-position: 0px -120px; }
li#m2 a { width: 110px;} li#m2 a span { background-position: -110px 0; } li#m2 a:hover span,li#m2 a.act span,li#m2:hover a span,li#m2.hover a span  { background-position: -110px -120px; }
li#m3 a { width: 120px;} li#m3 a span { background-position: -220px 0; } li#m3 a:hover span,li#m3 a.act span,li#m3:hover a span,li#m3.hover a span  { background-position: -220px -120px; }
li#m4 a { width: 140px;} li#m4 a span { background-position: -340px 0; } li#m4 a:hover span,li#m4 a.act span,li#m4:hover a span,li#m4.hover a span  { background-position: -340px -120px; }
li#m5 a { width: 102px;} li#m5 a span { background-position: -480px 0; } li#m5 a:hover span,li#m5 a.act span,li#m5:hover a span,li#m5.hover a span  { background-position: -480px -120px; }

ul#menu li ul {
	position: absolute;
	top: 56px;
	left: 0;
	background: #f7f6f6;
	padding: 0 0 6px 0;
	border-top: 11px solid #f7f6f6;
	overflow: hidden;
	width: 200px;
	margin: 0;
	margin-top: -2000em;
}
ul#menu li#m5 ul {
	right: -30px;
	left: auto;
}
ul#menu li:hover ul,
ul#menu li.hover ul {
	margin-top: 0;
}
ul#menu li ul li {
	margin: 0 auto;
	border-top: 1px solid #d2dddc;
	height: auto;
	position: relative;
	top: -1px;
	padding: 0;
	width: 166px;
	float: none;
}
ul#menu li ul li a {
	text-transform: none;
	font-size: 1.0em;
	height: auto;
	padding: 8px 0;
}
ul#menu li ul li a:hover {
	color: #6f3e39;
}

div#themeBox.theme_rpsn-kalkulacka,
div#themeBox.theme_uverova-kalkulacka {
	background-image: url("../images/theme_kalkulacky.jpg");
}
div#themeBox.theme_nasi-partneri,
div#themeBox.theme_pro-media,
div#themeBox.theme_rekli-o-nas,
div#themeBox.theme_profil-klienta  {
	background-image: url("../images/theme_nasi-partneri.jpg");
}
div#themeBox.theme_profil,
div#themeBox.theme_ke-stazeni  {
	background-image: url("../images/theme_profil-spolecnosti.jpg");
}
div#themeBox {
	background: url("../images/theme1.jpg") no-repeat 0 0;
	width: 940px;
	height: 289px;
	position: absolute;
	left: 0;
	overflow: hidden;
	
/* in wrapper2	
	margin-top: 3em;
	top: 156px;*/
	z-index: 9;
	
/* in main */	
	margin-top: 0;
	top: 0;

}
div#themeBox ul {
	margin: 30px 30px 0 auto;
	float: right;
	background: #38766d;
	color: #91bcb6;
	list-style: none;
	font-size: 1.2em;
	padding: 10px 0;
	width: 236px; 
	_margin-right: 15px;
}
div#themeBox li {
	border-top: 1px solid #558881;
	width: 176px;
	height: 69px;
	padding: 0;
	overflow: hidden;
	display: block;
	margin: 0 auto;
}
div#themeBox li.first {
	border-top: 0;
}
div#themeBox ul a {
	color: White;
	font-weight: bold;
	display: block;
	width: 201px;
	height: 29px;
	padding: 20px 0;
	position: relative;
	overflow: hidden;
}
div#themeBox ul a:hover {
	color: White;
}
div#themeBox ul a span {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 69px;
	display: block;
	background-image: url("../images/thememenu2_cz.png");
	cursor: pointer;
	width: 176px;
}
a#tb1 span { background-position: 0 0; } a#tb1:hover span { background-position: 100% 0; }
a#tb2 span { background-position: 0 -71px; } a#tb2:hover span { background-position: 100% -71px; }
a#tb3 span { background-position: 0 -142px; } a#tb3:hover span { background-position: 100% -142px; }

div#themeBox ul.active a#tb1 span { background-position: 100% 0; } div#themeBox ul.active  a#tb1.not span { background-position: 0 0; }
div#themeBox ul.active a#tb2 span { background-position: 100% -71px; } div#themeBox ul.active a#tb2.not span { background-position: 0 -71px; }
div#themeBox ul.active a#tb3 span { background-position: 100% -142px; } div#themeBox ul.active a#tb3.not span { background-position: 0 -142px; }

div#themeBox.index  ul{
	width: 261px;
}
div#themeBox.index li {
	width: 201px;
}
div#themeBox.index ul a span {
	background-image: url("../images/thememenu_cz.png");
	width: 100%;
}

p#controlsTop {
	position: absolute;
	top: 4px;
	left: 9px;
}
p#controlsTop a {
	color: White;
	float: left;
	text-transform: uppercase;
	font-size: 0.9em;
	overflow: hidden;
	height: 20px;
	margin-right: 9px;
}
a#ctHome {
	width: 44px;
}
a#ctHome span {
	background: url("../images/controls_top.png") no-repeat 0 0;
}
a#ctFavorite {
	width: 129px;
}
a#ctFavorite span {
	background: url("../images/controls_top.png") no-repeat 0 -50px;
}
a#ctMap {
	width: 83px;
}
a#ctMap span {
	background: url("../images/controls_top.png") no-repeat 0 -95px;
}

form#search {
	position: absolute;
	right: 0;
	top: -5px;
	width: 292px;
	text-align: right;
}
form#search p {
	margin: 0;
	padding-top: 2px;
	background: url("../images/controls_top.png") no-repeat -3px -128px;
}
input#searchText {
	background: #5b2f2a;
	border: none;
	color: White;
	font-size: 0.9em;
	padding: 3px 4px;
	width: 177px;
	margin-right: 3px;
}
input#searchSubmit {
	margin-left: 0;
	color: White;
	background: #814b44;
}

div#footer {
	width: 652px;
	background: #623530;
	padding: 10px 0;
	color: #cab5b2;
	float: left;
	clear: both;
	overflow: hidden;
}
div#footer p {
	margin: 0.5em 30px;
}
div#footer span {
	margin: 0 4px;
	color: #814b44;
}
div#footer a {
	color: #cab5b2;
}
p.footerLinks a {
	background: url("../images/iconset.png") no-repeat -1800px center;
	padding-left: 18px;
}

p#sign {
	float: right;
	margin: 30px;
	_margin-right: 15px;
}
p#sign a {
	color: White;
}
