/*
 * Main layout stylesheet for Dabsys CMS
 * (c) Petr Klement 2008
 */


/* globals *******************************************************************/

body, html {
	font-family: Verdana, Helvetica, sans-serif;
	color: #333333;
	background: transparent;
	padding: 0;
	margin: 0;
	margin: 0;
}
body {
	font-size: 70%;
}
body.program { background: #00adee; }
body.fotogalerie { background: #ec1c24; }
body.download { background: #fff100; }
body.registrace { background: #f6921e; }
body.partneri { background: #8c6eb3; }
body.kdo_jsme { background: #eb008b; }
body.aktualne { background: #80ed30; }


#CSSmainBlock a {
	color: #000000;
	text-decoration: underline;
	font-weight: bold;
}
#CSSmainBlock a:hover {
	color: #777777;
}
#CSSmainBlock a img {
	border: none;
}

#CSSmainBlock fieldset {
	border: 0 none;
	margin: 0;
	padding: 0;
}
#CSSmainBlock input {	
	float: left;
	margin: 0;
	padding: 4px;
	height: 16px;
	background: #ffffff;
	border: 1px solid #000000;
}
#CSSmainBlock input.button {
	height: 25px;
	text-transform: uppercase;
}

#CSSmainBlock h1 {	font-size: 1.6em;	}
#CSSmainBlock h2 {	font-size: 1.3em;	}
#CSSmainBlock h3 {	font-size: 1.2em;	}
#CSSmainBlock h4 {	font-size: 1.2em;	}
#CSSmainBlock h5 {	font-size: 1.1em;	}
#CSSmainBlock h6 {	font-size: 1.0em;	}

#CSSmainBlock p {
	margin: 8px 0;
}

/* main sections *************************************************************/

#CSSmainBlock {
	width: 960px;
	margin: 0px auto;
	padding: 0;
	text-align: left; /* IE */
}
#CSSsiteTop,
#ContentTop,
#CSSfooter {
	float: left;
	display: inline;
	clear: both;
	width: 960px;
	margin: 0 0px;
}

#CSSmainBlock {
	background: url('img/layout/main_block_bkg.gif') repeat-y top;
}

#CSSsiteTop {
	float: right;
	height: 220px;
	width: 295px;
	margin-top: 0px;
	margin-bottom: 0px;
	background: transparent no-repeat 75px top;
}
.program #CSSsiteTop { background-image: url('img/layout/program_menu_bkg.gif'); }
.fotogalerie #CSSsiteTop { background-image: url('img/layout/fotogalerie_menu_bkg.gif'); }
.download #CSSsiteTop { background-image: url('img/layout/download_menu_bkg.gif'); }
.registrace #CSSsiteTop { background-image: url('img/layout/registrace_menu_bkg.gif'); }
.partneri #CSSsiteTop { background-image: url('img/layout/partneri_menu_bkg.gif'); }
.kdo_jsme #CSSsiteTop { background-image: url('img/layout/kdo_jsme_menu_bkg.gif'); }
.aktualne #CSSsiteTop { background-image: url('img/layout/aktualne_menu_bkg.gif'); }

#ContentTop {
	float: none;
	display: block;
}
#ContentBox {
	float: left;
	width: 920px;
	clear: both;
	padding: 20px;
	background: #ffffff;
}
.registrace #ContentBox { background: #ffffff url('img/zaregistrujse_full.gif') no-repeat right center; }
#CSSfooter {
	margin-top: 10px;
}

/* top menu ******************************************************************/

#CSSsiteTop .menubox {
	position: relative;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#CSSsiteTop li,
#CSSsiteTop li a {
	position: absolute;
	height: 15px;
	text-indent: -9999px;
	background-position: center center;
}

#CSSsiteTop .menubox a.program {
	top: 98px;
	left: 16px;
	width: 60px;
	background: url('img/layout/program_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.program.active,
#CSSsiteTop .menubox a.program:hover { background: url('img/layout/program_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.fotogalerie {
	top: 152px;
	left: 4px;
	width: 86px;
	background: url('img/layout/fotogalerie_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.fotogalerie.active,
#CSSsiteTop .menubox a.fotogalerie:hover { background: url('img/layout/fotogalerie_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.download {
	top: 193px;
	left: 36px;
	width: 69px;
	background: url('img/layout/download_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.download.active,
#CSSsiteTop .menubox a.download:hover { background: url('img/layout/download_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.registrace {
	top: 208px;
	left: 142px;
	width: 79px;
	background: url('img/layout/registrace_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.registrace.active,
#CSSsiteTop .menubox a.registrace:hover { background: url('img/layout/registrace_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.partneri {
	top: 164px;
	left: 231px;
	width: 63px;
	background: url('img/layout/partneri_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.partneri.active,
#CSSsiteTop .menubox a.partneri:hover { background: url('img/layout/partneri_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.kdo_jsme {
	top: 118px;
	left: 217px;
	width: 65px;
	background: url('img/layout/kdo_jsme_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.kdo_jsme.active,
#CSSsiteTop .menubox a.kdo_jsme:hover { background: url('img/layout/kdo_jsme_menuitem_active.png') no-repeat; }

#CSSsiteTop .menubox a.aktualne {
	top: 58px;
	left: 193px;
	width: 67px;
	background: url('img/layout/aktualne_menuitem.png') no-repeat;
}
#CSSsiteTop .menubox a.aktualne.active,
#CSSsiteTop .menubox a.aktualne:hover { background: url('img/layout/aktualne_menuitem_active.png') no-repeat; }

/* contentTop ****************************************************************/

#ContentTop .sectionTitle {
	float: left;
	display: inline;
	height: 18px;
	padding: 14px 0;
	margin: 0 0 0 0px;
	text-indent: -9915px;
	width: 100%;
	background: #f1f3de;
	color: #e36502;
}
.program #ContentTop .sectionTitle { background: url('img/layout/program_section_title.png') no-repeat left center; }
.fotogalerie #ContentTop .sectionTitle { background: url('img/layout/fotogalerie_section_title.png') no-repeat left center; }
.download #ContentTop .sectionTitle { background: url('img/layout/download_section_title.png') no-repeat left center; }
.registrace #ContentTop .sectionTitle { background: url('img/layout/registrace_section_title.png') no-repeat left center; }
.partneri #ContentTop .sectionTitle { background: url('img/layout/partneri_section_title.png') no-repeat left center; }
.kdo_jsme #ContentTop .sectionTitle { background: url('img/layout/kdo_jsme_section_title.png') no-repeat left center; }
.aktualne #ContentTop .sectionTitle { background: url('img/layout/aktualne_section_title.png') no-repeat left center; }

/* text **********************************************************************/

.item {
	float: left;
	width: 30%;
	padding-left: 25px;
}
.item ul,
.item li {
	list-style-type: none;
	line-height: 1.8;
	padding: 0;
}
.item h2 {
	margin-top: 8px;
}

.registrace .item {
	margin-top: 100px;
}
.registrace label {
	clear: both;
	float: left;
	padding-top: 10px;
}
.registrace label,
.registrace input {
	width: 170px;
	clear: both;
}
.registrace #CSSmainBlock input.submit {
	margin-top: 24px;
	width: 180px;
	height: 26px;
	color: #ffffff;
	font-weight: bold;
	background: #f6921e;
}

.news.item {
	width: 100%;
	padding: 0;
	position: relative;
}
.news.item img {
	height: 380px;
	float: right;
	display: inline;
	margin-left: 20px;
}

.news.item a.prev,
.news.item a.next {
	color: #000000;
	float: left;
	margin-top: 10px;
}
.news.item a.next {
	float: right;
}

#CSSnews .item {
	padding: 0;
	height: 90px;
	overflow: hidden;
}

#CSSnews .item .image {
	width: 90px;
	height: 90px;
	text-align: center;
	float: left;
}
#CSSnews .item .image img {
	width: 80px;
}


.fotogalerie .image {
	height: 150px;
	padding: 0 0 15px 0;
}
.fotogalerie .image .description {
	margin-bottom: -15px;
}
	
/* listLink ******************************************************************/

#CSSmainBlock .listLink {
	width: 100%;
	float: left;
	padding: 1px 0 0 0;
	background: #ffffff;
}
#CSSmainBlock .listLink .left,
#CSSmainBlock .listLink .right {
	width: 12%;
	margin: 0;
	float: right;
	display: inline;
}
#CSSmainBlock .listLink .left {
	float: left;
}
#CSSmainBlock .listLink .center {
	float: left;
	width: 76%;
	line-height: 22px;
	text-align: center;
}
	
#CSSmainBlock .listLink a {
	Xwidth: 15px;
	height: 16px;
	padding: 3px 1px;
	font-size: 1.2em;
	text-align: center;
	color: #000000;
	font-weight: normal;
	text-decoration: underline;
}
#CSSmainBlock .listLink a.active {
	font-weight: bold;
}
#CSSmainBlock .listLink .arrowLeft,
#CSSmainBlock .listLink .arrowRight {
	float: left;
}
#CSSmainBlock .listLink .arrowLeft { background: url('img/layout/ico_left.gif') no-repeat; }
#CSSmainBlock .listLink .arrowRight { float: right; background: url('img/layout/ico_right.gif') no-repeat; }

/* footer ********************************************************************/

#CSSfooter {
}
#CSSfooter .credits {
	float: left;
}
#CSSfooter .credits a { float: left; clear: left; }
#CSSfooter .copyright {
	float: right;
}
#CSSfooter .copyright a { float: right; padding: 0 0 0 15px; }
#CSSfooter a {
	text-decoration: none;
	color: #000000;
}

/* tools and helpers *********************************************************/
.vaOuter { display: table; #position: relative; overflow: hidden; float: left; width: 100%; }
.vaOuter .vaInner { #position: absolute; #top: 50%;display: table-cell; vertical-align: middle; width: 100%; text-align: center !important; }
.vaOuter .vaInner .vaItem { #position: relative; #top: -50%; }

