<?php
/*
+--------------------------------------+
| txrCMS					           |
+--------------------------------------+
|                                      |
| main.css.php                         |
|                                      |
+--------------------------------------+
| hajduch@create.sk                    |
+--------------------------------------+
*/

ob_start ();

$_REQUEST['go'] = $_GET['go'] = $_POST['go'] = '1';//toto je haluz, pravdepodobne sa _GET a _POST a _REQUEST neda len tak definovat

require_once("../../connections/config.php"); //config
require_once("../../connections/functions.php"); //config
require_once("../../connections/global_vars.php"); //register GET, POST, COOKIES, basic category, article, module settings
require_once("../../connections/cssFunctions.php"); //config


if(!isset($_REQUEST['tinyMCE']) || !(bool)$_REQUEST['tinyMCE'])
{
?>
html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, head { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; vertical-align: baseline; background: transparent;}
blockquote, q {	quotes: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through;}
table {	border-spacing: 0; }
body { font: 12px/2em  Helvetica,Arial,sans-serif;  }

<?php
}
?>
html
{
	height:100%;
}
body
{
	height:100%;
	<?php echo (((isset($_REQUEST['tinyMCE']) && (bool)$_REQUEST['tinyMCE']) || isset($_REQUEST['extWin']) && (bool)$_REQUEST['extWin'])
		? "background: #fff;"
		: "background: #000 url(design/body_back.jpg) repeat-x scroll center top;") ?>
	margin: 0;
	padding: 0;
	color: #444;
}
.pristupnost
{
	position: absolute;
	top: -1000px;
}
#pageWrapper
{
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 0 -160px 0;
}
legend
{
	color : #929292;
	background: #FFF;
	padding: 5px 7px;
	border: 1px solid #C4C4C4;
	font-size: 0.9em;
	position: relative;
}
fieldset
{
	padding: 6px;
	border: 1px solid #E4E4E4;
	background: #fff;
	position: relative;
	margin-top: 10px;
}
fieldset fieldset
{
	background: #d9d9d9;
}


a:link
{
	color: #444;
	text-decoration: underline;
}
a:visited
{
	color: #444;
	text-decoration: underline;
}
a:hover
{
	color: #000;
	text-decoration: none;
}
a img
{
	border: 0;
}
a.dotted:link, a.dotted:visited, a.dotted:hover
{
	text-decoration: none;
	border-bottom: 1px dotted;
}


a.ext
{
	background-image: url("design/ext.gif");
	background-repeat: no-repeat;
	background-position: right 3px;
	padding-right: 14px;
}

h1, h1 a:link, h1 a:visited
{
	font-size : 1em;
	margin : 0;
}
h2
{
	font-size : 17px;
	color: #481665;
	margin: 10px 0;
}
h3
{
	color: #6F3B90;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 10px;
}
h4
{
	font-size : 1.2em;
	margin: 0.5em 0;
	color: #6F3B90;
}
h4 a:link, h4 a:visited
{
	color: #6F3B90;
}
h3 a:link, h3 a:visited, h4 a:link, h4 a:visited
{
	text-decoration: underline;
}
h4 a:hover, h3 a:hover
{

}
h5
{
	font-size: 1.1em;
	margin: 0.3em 0;
	padding: 0;
	color: #6F3B90;
}
h6
{
	font-size: 1em;
	margin: 0.3em 0 0.3em 0;
	padding: 0;
}
h6 a:link, h6 a:visited
{
	color: #666;
	text-decoration: underline;
}
h6 a:hover
{
	text-decoration: none;
	background: #666;
	color: #fff;
}
small
{
	font-size: 0.8em;
}
blockquote
{
	margin-left : 20px;
	border-left: 1px solid #929292;
}
table
{
    width: 98%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}
td, th
{
    padding: 5px 10px 5px 0;
    text-align: left;
    vertical-align: middle;
}

th
{
    border-bottom: 1px solid #CCC;
    font-weight: bold;
    text-align: center;
}

td.header, th.header
{
	padding: 0 1em;
	height: 30px;
	line-height: 30px;
	background: transparent;
	font-weight: bold;
}
th.predmet
{
	width: 19em;
	text-align: left;
}
th.forum
{
	width: 11em;
}

hr
{
	height: 1px;
	padding: 5px 0;
	margin: 0 0 5px 0;
	border: none;
	border-bottom: 1px solid #E4E4E4;
	overflow: hidden;
}
br.clearAll

{
	line-height: 0;
}
ul, ol
{
	margin: 20px 0;
	padding: 0 0 0 25px;
}
li
{
	color: #3d3d3d;
}
ul li
{
	color: #000;
	list-style: square inside none;
	margin: 0.1em 0;
	padding: 0;
}
ul li ul li
{

}
ol li
{
	list-style: decimal inside;
}

input, textarea, select
{
	border: 1px solid #ddd;
	padding: 2px;
	color: #000;
}
textarea
{
	overflow: auto;
}
input:focus, textarea:focus
{
	background: #FFF;
}
option
{
	padding-right: 1em;
}
label
{
	padding: 5px 0 0 0;
	margin: 0;
	color: #000;
}

.captcha
{
	vertical-align: middle;
	background: #FFF;
	padding: 2px;
	border: 1px solid #CCC;
}

/* NADPIS & BREADCRUMBS */
.breadcrumb
{
	color: #339cfe;
	font-size: 0.9em;
	padding: 0;
	margin: 0 0 20px 0;
	clear: both;
	font-weight: normal;
}
.breadcrumb a:link, .breadcrumb a:visited, .breadcrumb a:hover
{
	color: #339cfe;
	text-decoration: underline;
	background: transparent;
}
.nadpis
{
	font-size: 20px;
	text-align: left;
	color: #555;
	margin: 0;
	font-weight: bold;
	padding: 20px 20px 10px 20px;

}
.nadpis a:link, .nadpis a:visited, .nadpis a:hover
{
	text-decoration: none;
	color: #555;
}
.nadpis a:hover
{
	text-decoration: underline;
	color: #000;
}


.titleIcons
{
	margin: 20px 0;
	float: left;
}
.titleIcons a
{
	text-decoration: none;
	margin: 0 10px 0 0;
}
.addthis_button
{
	float: right;
}

/* ROUNDED BUTTONS */
a.roundedButton, span.roundedButton input
{
	font-size: 12px;
	color: #fff!important;
	text-decoration: none;
	padding: 7px 15px;

	border: 0;
	text-shadow: #02446B 0 -1px 0px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	background: #4A1B64;
	background: -webkit-gradient(linear, left top, left bottom, from(#6F3B90), to(#4A1B64));
	background: -moz-linear-gradient(top, #6F3B90, #4A1B64);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6F3B90", endColorstr="#4A1B64");
}
span.roundedButton input
{
	font-size: 12px;
	padding: 5px 9px 6px 9px;
	margin: 0 5px 0 0;
}
span.roundedButton
{
	padding: 0;

	text-shadow: none;
	-webkit-border-radius: none;
	-moz-border-radius: none;
	border-radius: none;

	background: none;
	background: none;
	background: none;
	filter: none;
}
span.roundedButton input:hover, a.roundedButton:hover
{
	background: #6F3B90;
	filter: none;
}
a.roundedButton.gray
{
	color: #5e5e5e!important;

	text-shadow: #fff 1px 1px 0;

	background: #d9d9d9;
	background: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#d0d0d0));
	background: -moz-linear-gradient(top, #e9e9e9, #d0d0d0);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e9e9e9", endColorstr="#d0d0d0");
}
a.roundedButton.gray:hover
{
	background: #d9d9d9;
}

.roundedInput input, .roundedInput textarea, .roundedInput select, img.captcha
{
	padding: 8px;

	border: 1px solid #ddd;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

	background: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#ffffff));
	background: -moz-linear-gradient(top, #f5f5f5, #ffffff);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f5f5f5", endColorstr="#ffffff");
}
.roundedInput input:focus, .roundedInput textarea:focus, .roundedInput select:focus
{

}

input.disabled, textarea.disabled, select.disabled, .roundedInput input.disabled, .roundedInput textarea.disabled, .roundedInput select.disabled
{
	background: #e8e8e8!important;
}

/* LOGIN FORM & CLOCK */
.sideLoginRow
{
	position: relative;
	margin-bottom: 5px;

}
#inputNameLabel, #inputPassLabel
{
	position: absolute;
	left: 8px;
	top: 3px;
	color: #666;
	font-size: 110%;
}
.newsReceiverForm
{
	position: relative;
}
#newsReceiverHeader
{
	position: absolute;
	left: 8px;
	top: 3px;
	color: #666;
	font-size: 12px;
}
#newsReceiverBox
{
	width: 130px;
}
#newsReceiverButton, newsReceiverButton:focus
{
	background: #ff3000;
	color: #FFF;
	border: none;
	margin: 0;
	height: 34px;
	border: 1px solid #ff0000;
}
#rememberUser
{
	border: 0;
	background: none;
}
.logged
{
	margin: 0.5em 0;
	color : #666;
}
.sideInput
{
	width: 180px;
}
.profileInputWidth
{
	width: 200px;
}
.profileCalendarWidth
{
	width: 180px;
}
.profileInputWidthFile
{
	width: 150px;
}
.profileInputWidthSelect
{
	width: 218px;
}
.profileInputWidthTextarea
{
	width: 200px;
}
.title
{
	clear: both;
	color: #288CC9;
    font-size: 20px;
    line-height: 20px;
    height: 20px;
    margin: 20px 0 10px 0;
}

.login-panel
{
	overflow: hidden;
}
.login-panel-left
{
	background: none repeat scroll 0 0 #FFFFFF;
    float: left;
    padding: 0;
    margin: 0 0 0 20px;
    width: 450px;
}
.login-panel-right
{
	float:right;
    background: none repeat scroll 0 0 #E8F2F9;
    border-radius: 5px 5px 5px 5px;
    margin: 0 20px;
    padding: 15px 20px;
    width: 410px;
}
.login-wrapper
{
  	-moz-transition: all 0.3s ease 0s;
  	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;

    background-color: #F0F0F0;
   	background: -moz-linear-gradient(top, #F0F0F0, #F8F8F8);
	background: -webkit-gradient(linear, left top, left bottom, from(#F0F0F0), to(#F8F8F8));
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#F0F0F0", endColorstr="#F8F8F8");
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 1px 2px #CCCCCC;
}
.login-wrapper:hover
{
  	background: none repeat scroll 0 0 #F0F0F0;
    box-shadow: none;
}
.op-google
{
    background: url("design/openid/gmail.png") no-repeat scroll 0 center transparent;
}
.op-yahoo
{
    background: url("design/openid/yahoo.png") no-repeat scroll 0 center transparent;
}
.op-facebook
{
    background: url("design/openid/facebook.png") no-repeat scroll 0 center transparent;
}
a.op
{
    display: block;
    height: 65px;
    margin: 0 0 10px 15px;
    padding: 0 10px;
    text-decoration: none;
}
a.op span
{
    background: url("design/openid/right-arrow-blue.png") no-repeat scroll 260px center transparent;
    display: block;
    float: left;
    font-size: 12px;
    margin: 25px 0 0 140px;
    padding: 0 60px 0 0;
    width: 230px;
    color: #3B99D2;
}

/* END LOGIN FORM */

/* FOOTER */
#push
{
    height: 160px;
    margin: 20px 0 0 0;
}

#moveTop
{
	font-size: 11px;
	text-align: center;
	position: absolute;
	height: 24px;
	width: 128px;
	background: transparent url(design/moveTopButton.gif) no-repeat right center;
	margin: 0 0 0 800px;
	text-decoration:none;
	color: #003667;
}
#moveTop:hover
{
	color: #003667;

}

/* END OF FOOTER */

/* HEADER */

/* END OF HEADER */



/* CONTENT */
#sectionHeader
{
	margin: 0px; padding: 0px;
	font-size: 1em;
	color: #999;
	font-weight: normal;
}

h2.sectionHeader
{
	padding: 0px;
	margin: 0px;
}

#sectionHeader a:link, #sectionHeader a:visited, #sectionHeader a:hover
{
	color: #999;
}

#contentWrapper
{
	width: 960px;
	margin: 0 auto;
	position: relative;
	clear: both;
}
#content
{
	float: left;
    overflow: hidden;
    width: 450px;
    margin: 0 20px 0 0;
}
#content.content_0, #content.content_1, #content.content_2
{
	background: transparent url(design/bluffzilinaRelated/contentBack.png);
	padding: 10px;
	width: 430px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#content.full
{
	width: 960px;
	margin: 0;
}

/* END OF CONTENT */

/* SIDE BOXES */

#leftPanel, #rightPanel
{
	float: left;
	margin: 0 20px 0 0;
	width: 235px;
}
#rightPanel
{
	margin: 0;
}
<?php
if(isset($_GET['idx']) && $_GET['idx'] == 'home')
{
	echo "#rightPanel { width: 320px; }";
}
?>

#leftPanel li, #rightPanel li
{
	background: url(design/sipkaTransparentSmall.gif) no-repeat left 4px;
	padding: 0 0 0 20px;
}

.sidePanelContent
{
	text-align: left;
	padding: 12px 15px;
	overflow: hidden;
	position: relative;
	background: transparent url(design/bluffzilinaRelated/contentBack.png);
}
.sidePanelContent.voidBack
{
	margin:0;
	padding: 0;
}
.sidePanelFooter
{
	clear: both;
	height: 0px;
	margin: 0 0 20px 0;
	height: 5px;

	background: transparent url(design/bluffzilinaRelated/contentBack.png);

	-moz-border-radius-topleft: 0px;
	-moz-border-radius-topright: 0px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-radius: 0px 0px 5px 5px;
	border-radius: 0px 0px 5px 5px;
}
.voidBack
{
	background: transparent!important;
	border: none!important;
}
.sideProfileBlockTop
{
	height: 10px;
}
.sideProfileBlockBottom
{
	height: 10px;
}
.sideProfileBlock
{
}

<?
if($config['enableSideboxFeatures'] == "y")
{
?>
.sideBoxFeatures
{
	position: absolute;
	top: 25px;
	right: 10px;
	width: 33px;
}
.sideBoxFeatures a.minimizeSideBox, .sideBoxFeatures a.moveSideBox, .sideBoxFeatures a.turnoffSideBox
{
	background: transparent url(design/sideBoxFeatures.gif) no-repeat 0px 0px;
	width: 10px;
	height: 10px;
	display: block;
	float: left;
	margin: 0 0 0 1px;
}
.sideBoxFeatures a.moveSideBox
{
	background: transparent url(design/sideBoxFeatures.gif) no-repeat 0px -20px;
}
.sideBoxFeatures a.turnoffSideBox
{
	background: transparent url(design/sideBoxFeatures.gif) no-repeat 0px -30px;
}
.sideBoxFeatures a.minimizeSideBox:hover
{
	background-position: -10px 0px;
}
.sideBoxFeatures a.moveSideBox:hover
{
	background-position: -10px -20px;
}
.sideBoxFeatures a.turnoffSideBox:hover
{
	background-position: -10px -30px;
}
.transferIndicator
{
	border: 1px solid #000;
}
.sortHelper
{
	border: 1px dashed #64A9C4;
	width: auto !important;
}
.linksTooltip
{
	background: #6D9FE6;
	padding: 5px;
	color: #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #FFF;
	border-top: 1px solid #FFF;
	z-index: 3000;
}
<?
}
?>

/* END OF SIDE BOXES */

.formInstall
{
	font-size: 0.8em;
	text-align : left;
}
.errors
{
	color : #FF0000;
}
.registracia
{
	text-align : left;
	margin: 0;
	line-height: auto;
}
.registracia label
{
	float: left;
	padding: 0;
	margin: 0;
}
.registracia input, .registracia select, .registracia textarea
{
	float: right;
	margin: 0 0 10px 0;
}
.registraciaObal
{
	text-align : right;
}
.registraciaObal hr
{
	clear: both;
}
.registraciaObal legend
{
	padding: 0 0.5em;
	font-weight : bold;
}
.registraciaObal fieldset
{
	padding: 0.5em;
}
div.langKey
{
	float : left;
}
.articleSettings
{
	background: #F6F6F6;
	padding: 10px;
}
.locked
{
	padding: 3em 3em 3em 140px;
	margin: 1em 0;
	border: 1px solid #64A9C4;
	background: #F0F0F0 url(design/lockedArticle.gif) no-repeat left center;
}
.infoBox, .textNewsAll p.infoBox, .textNewsAll div.infoBox
{
	clear: both;
	padding: 40px;
	margin: 0 0 30px 0;
	border: 1px solid #DDD;
	background: #EDEDED;
	text-align: center;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    border-radius: 5px;
}
.infoBox ul
{
	margin: 0;
	padding: 0;
}
.infoBox ul li
{
	padding: 0;
	list-style: none;
}
.alertBox
{
	padding: 3em 3em 3em 140px;
	margin: 1em 0;
	border: 1px solid #F09D27;
	background: #fce6c7 url(design/alertBox.png) no-repeat left center;
	color: #FF0000;
	font-weight: bold;
	text-align: left;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    border-radius: 5px;
}

.infoNews
{
	color : #929292;
	clear: both;
	margin: 0.5em 0;
}

.newsThumbs
{
	background: transparent url(design/bluffzilinaRelated/contentBack.png);
}
.newsThumbsTop
{
	margin: 10px 0 0 0;
}

.textNewsAll, .articlePerex
{
	clear: both;
	position: relative;
	margin: 0;
	padding: 0 20px 20px 20px;
	color: #444;
}
.textNewsAll p, .articlePerex p
{
	color: #444;
	text-align: justify;
}
.articlePerex
{
	clear: none;
}

.commentNadpis
{
	line-height : 2em;
	background-color: #E6E6E6;
	color: #929292;
	border-left: 2px solid #929292;
	padding: 0.2em 0.2em 0.2em 0.5em;
	font-size: 1.2em;
}
.newsList
{
	margin-top: 0.5em;;
}
.newsList li
{
	margin-top: 0.5em;
}
.langFlags
{
	float : right;
}
.langFlags a:link,.langFlags a:visited
{
	text-decoration: none;
}
.printBody
{
	background: #FFF;
	color: #000;
	padding: 10px;
}
.addCommentForm
{

}
.commentsTable
{
	width: 429px;
	margin: 0;
}
.commentsTable td {
	padding: 0 0 0 10px;
}
.commentsTable td.header, .commentsTable th.header {
    color: #481665;
	padding: 0 0 0 10px;
}
.commentsTable td.header.predmet, .commentsTable th.header.predmet {
}
.commentsTable td.even {
	background: transparent url(design/bluffzilinaRelated/contentBack.png);
}
.commentsRowWrapp
{
	position: relative;
	margin: 0 0 10px 0;
}
#formAddCommentHeaderLabel, #formAddCommentNickLabel
{
	color: #666;
	position: absolute;
	left: 10px;
	top: 0;
}

.smajleWrapper
{
	margin: 5px 0 0 0;
	clear: both;
}
.smajleDir
{
	clear: both;
}
.smajleDir input
{
	background: transparent;
	border: 0;
	margin: 3px -2px 3px 0;

}

/* pagination */
.pagesWrapper
{
	margin: 30px auto 0 auto;
	width: 100%;
	text-align: center;

	padding: 5px 0;
	clear: both;
	float: left;
}
#tryPrevBody .pages
{
	left: 44%;
}
.pages
{
	margin: 0 auto;
	left: 50%;
	position: relative;
	float: left;
}
.pages li
{
	background: #fff;
	list-style: none;
	color : #aaa;
	position: relative;
	float: left;
	right: 50%;
	border: 1px solid #dfdfdf;
	padding: 0;
	margin: 0 2px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.pages a, .pages span
{
	display: block;
	float: left;
	padding: 4px 10px;
	font-weight: bold;
	text-decoration: none;
}
.pages li.active span, .pages li a:hover
{
	color: #fff;
	background: #6F3B90;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


.sitemapList li
{
	padding-left: 35px; list-style-type: circle
}

/* CONTENT RELATED */
.clearAll
{
	clear: both;
}
.defaultBox
{
	padding: 2em;
	margin: 1em 0;
	border: 3px solid #1C6ADB;
	background: #BFD9FF;
	color: #1C6ADB;
	text-align: left;
}
.relevantContent
{
	background: #e3f3fb;
	border-left: 10px solid #c1dbea;
	padding: 15px 15px 15px 10px;
	margin: 0 0 15px 15px;
}
.relevantContent strong
{
	display: block;
	font-size: 1.1em;
	color: #005fa4;
}
.defaultTable
{
	width: 100%;
	border-top: 1px solid #b8b8b8;
	border-left: 1px solid #b8b8b8;
}

.defaultTable table
{
	border-top: 1px solid #b8b8b8;
	border-left: 1px solid #b8b8b8;
}

.defaultTable th
{
	font-weight: bold;
	background: #d8d8d8;
	padding: 2px;
	border-bottom: 1px solid #b8b8b8;
	border-right: 1px solid #b8b8b8;
	vertical-align: middle;
}
.defaultTable td
{
	padding: 2px;
	font-size: 10px;
	border-bottom: 1px solid #b8b8b8;
	border-right: 1px solid #b8b8b8;
	vertical-align: middle;
	text-align: center;
}
.defaultImage
{
	margin: 10px;
}
.defaultImageLeft
{
	margin: 0 10px 5px 0;
	float: left;
}
.defaultImageRight
{
	margin: 0 0 5px 10px;
	float: right;
}
.defaultImageLeftBorder
{
	background: #fff;
	padding: 5px;
	margin: 0 10px 5px 0;
	float: left;
	border: 1px solid #ccc;
}
.defaultImageRightBorder
{
	background: #fff;
	padding: 5px;
	margin: 0 0 5px 10px;
	float: right;
	border: 1px solid #ccc;
}
.defaultImageNoMargin
{
	margin: 0;
}
.defaultImageNoBorder
{
	margin: 10px;
}
.defaultContentThumbImage
{
	border: 0;
	margin: 20px 20px 0 20px;
	padding: 1px;
	float: left;
}
.center, .center td
{
	text-align : center;
}
.verticalTop, .verticalTop td
{
	vertical-align: top;
}
.verticalMiddle, .verticalMiddle td
{
	vertical-align: middle;
}
.verticalBottom, .verticalBottom td
{
	vertical-align: bottom;
}
.fullWidth
{
	width: 98%;
}
.halfWidth
{
	width: 48%;
}
.width60
{
	width: 60%;
}
.rightAlign
{
	text-align: right;
}
.rightFloat
{
	float: right;
}
.rightAlignFloat
{
	text-align: right;
	float: right;
}
.rightMargin
{
	margin-right: 10px;
}
.bottomMargin
{
	margin-bottom: 10px;
}

.leftAlign
{
	text-align: left;
}
.leftFloat
{
	float: left;
}
.leftAlignFloat
{
	text-align: left;
	float: left;
}
.marginZero
{
	margin: 0;
}
.paddingZero
{
	padding: 0;
}
.borderZero
{
	border: 0;
}
.font70, .font70 a, font70 td
{
	font-size: 0.80em;
}
.font80, .font80 a, font80 td
{
	font-size: 0.90em;
	text-decoration: none;
}
.hidden
{
	display: none;
}

/* cssbox - rounded corners; thanx 2 http://www.modxcms.com/simple-rounded-corner-css-boxes.html */
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head div {
	background: transparent url(design/cssBoxBack.gif) no-repeat bottom right;
	overflow: hidden;
}
.cssbox {
	width: 675px !important; /* intended total box width - padding-right(next) */
	padding-right: 15px; /* the gap on the right edge of the image (not content padding) */
	margin: 0 0 20px 0; /* use to position the box */
}
.cssbox.last {
	margin: 0 0 20px 0;
}
.cssbox_head {
	background-position: top right;
	margin-right: -15px; /* pull the right image over on top of border */
	padding-right: 15px; /* right-image-gap + right-inside padding */
}
.cssbox_head h2, .cssbox_head div {
	background-position: top left;
	margin: 0; /* reset main site styles*/
	border: 0; /* ditto */
	padding: 10px 0 10px 15px; /* padding-left = image gap + interior padding ... no padding-right */
}
.cssbox_body {
	background-position: bottom left;
	margin-right: 0; /* interior-padding right */
	padding: 5px 0 15px 15px; /* mirror .cssbox_head right/left */
}

#searchResultWrapper
{
	position: absolute;
	top:30px;
}
#searchResultWrapper div.active
{
	background: #c0c0c0;
}
.searchFormWrapper
{
	padding: 20px 30px 10px 20px;
}
.searchWrapperAll
{
	padding: 0 30px 10px 20px;
}

/* SEARCH */
<?php
if ($config['enableSearch'] == "y")
{ ?>

#searchForm
{
	width: 260px;
	height: 25px;
	position: absolute;
	top: 500px;
	left: 100px;
}
#searchBox
{
	width: 161px;
	height: 25px;
	padding: 0 5px 0 40px;
	border: 1px solid transparent;
	color: #000;
	background: transparent;
	position: absolute;
	text-transform: lowercase;
}
#fake_searchBox
{
	background: #fff;
	width: 161px;
	height: 25px;
	padding: 0 5px 0 40px;
	border: 1px solid #000;
	color: #cdcdcd;
	position: absolute;
	left: 0px;
	text-transform: lowercase;
}

.searchButton, .searchButton:focus
{
	width: 50px;
	height: 25px;
	background: #bbb url(design/searchButt.gif) no-repeat left top;
	border: 0;
	cursor: pointer;
	position: absolute;
	left: 210px;
}
#searchHeader
{
	position: absolute;
	left: 40px;
	top: 5px;
	padding: 0;
}

.searchResultHighlight
{
	background-color: #336699;
	color: #FFF;
}

#searchResultWrapper
{
	position: absolute;
	top:30px;
}
#searchResultWrapper div
{
	text-transform: lowercase;
}
#searchResultWrapper div.active
{
	background: #c0c0c0;
}
.searchFormWrapper
{
	padding: 20px 30px 10px 20px;
}
.searchWrapperAll
{
	padding: 0 30px 10px 20px;
}


<?php } ?>



<?php
if ($config['enableMoveToTopButton'] == "y")
{
?>
.moveTopButton, .moveTopButton:hover
{
	clear: both;
	display: block;
	margin: 5px 0 0 0;
	height: 19px;
	line-height: 19px;
	background: transparent url(design/moveTopButton.gif) no-repeat right center;
}
<?php
}

if ($config['enableAds'] == "y")
{
?>
/* banner ads */
.big_banner_wrapper
{
	position: absolute;
	top: 30px;
	left: 497px;
	width: 468px;
	height: 60px;
	padding: 4px;
	text-align: right;
}

<?php
}

?>

/* modules */
<?php
if ($config['inquiry'] == "y")
{
?>
.anketaOtazka
{
	font-weight: bold;
}
.anketaOdpoved
{
	font-style : normal;
	vertical-align:middle;
}
.anketaOdpoved a:link, .anketaOdpoved a:visited
{
	text-decoration: none;
}
.anketaOdpovedPercenta
{
	font-style : normal;
	font-weight : bolder;
}
.anketaOdpovedPercenta a:link, .anketaOdpovedPercenta a:visited
{
	text-decoration: none;
	float: none;
}
<?php
}

if ($config['shop_features'] == "y")
{
?>
.addCartContainer
{
	width: 7em;
	text-align: center;
}
<?php
}

if ($config['enableUsersRatings'] == "y" || $config['enableArticleRating'] == "y")
{
?>
/* star rating system */
.starWrapper
{
	margin: 0;
	padding: 0;
	float: left;
	width: 102px;
	height: 18px;
}
.starWrapper ul.star
{
	list-style: none;
	margin: 0;
	padding: 0;
	width: 102px;
	height: 18px;
	float: left;
	background: url(design/icons/stars.gif) repeat-x left top;
	cursor: pointer;
}
.starWrapper li
{
	padding: 0;
	margin: 0;
	float: left;
	display: block;
	width: 100px;
	height: 18px;
	text-decoration: none;
	text-indent: -9000px;
	z-index: 20;
	position: absolute;
}
.starWrapper li.curr
{
	background: url(design/icons/stars.gif) left 18px;
	font-size: 1px;
}
.starWrapper div.user
{
	float: left;
	margin: 0 0 0 5px;
}
.starWrapper div.starResult
{
	display: none;
	clear: both;
	font-size: 0.9em;
}
.starRatingUser
{
	position: relative;
	top: -60px;
	color: #fff;
	height: 1.8em;
	font-size: 1.8em;
	font-weight: bold;
}
.starResult
{
	width: 100px;
}
<?php
}

if ($config['enableUserToUserRatings'] == "y" || $config['enableUserToUserThumbRating'] == "y")
{
?>
/* users thumbs rating */
.userToUserRating
{
	text-align: center;
	padding: 0 0 0 4px;
	font-size: 0.9em;
	font-weight: bold;
}
.userToUserRating a:hover
{
	background: transparent;
	color: #6F3B90;
}
.userRatingResult
{
	display: none;
	clear: both;
	font-weight: normal;
}
.green
{
	color: #31a116;
}
.red
{
	color: #fc0101;
}

<?php
}
?>
/* inline content */
#inlineHiddenContent
{
	display: none;
}
<?php
if ($config['enableCustomUsersMessages'] == "y")
{
?>
#customMessageFormWrapper
{
	padding: 20px;
	width: 500px;
	height: 230px;
	background: #eee;
	color: #666;
}
<?php
}
?>

<?php

	//additional stylesheets

	if($config['enableJQuery'] == "y")
	{
		include($currentDocumentRoot . "js/jquery/jquery-plugins/jquery-ui/jquery-ui-css/jquery-ui.css");
		include($currentDocumentRoot . "js/jquery/jquery-plugins/jquery-fancybox/jquery-fancybox-css/jquery.fancybox.css");
	}

	include("related.css");

	$br = (isset($_SERVER['HTTP_USER_AGENT'])) ? strtolower($_SERVER['HTTP_USER_AGENT']) : "";//browser check
	if(ereg("msie", $br))
	{
		include("iefix.css");
	}


$outputCss = ob_get_clean();

ob_start('ob_gzhandler');

header("Content-type: text/css");

header("Cache-Control: must-revalidate");
header("Expires: " . gmdate("D, d M Y H:i:s", time() + 2592000) . " GMT");

$outputCss = preg_replace('/[\r\n\t]/', '', $outputCss);
$outputCss = preg_replace('/(; )/', ';', $outputCss);
$outputCss = preg_replace('/(: )/', ':', $outputCss);
$outputCss = preg_replace('/(, )/', ',', $outputCss);
$outputCss = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $outputCss);//comments

echo $outputCss;

ob_end_flush();
?>