<?php
/*
= LuxCal event calendar style sheet =

© Copyright 2009-2012  LuxSoft - www.LuxSoft.eu

This file is part of the LuxCal Web Calendar.
*/

header('content-type:text/css');
header("Expires: ".gmdate("D, d M Y H:i:s", (time()+900)) . " GMT");

/* ---- LOAD USER-INTERFACE THEME DEFINITIONS ---- */
require './lctheme.php';
?>

/* ---- general: site ----- */

* {padding:0; margin:0;}
body, select, td, th {font:<?php echo FONT0?> arial,sans-serif;}
input[type="text"], input[type="password"], textarea {padding:0 0 0 4px; font:<?php echo FONT2?> arial,sans-serif;}
input[type="submit"], input[type="button"], input[type="file"], button {font:0.9em arial,sans-serif; cursor:pointer;}
body {background:<?php echo BGND2?>; color:<?php echo TEXT1?>; overflow:hidden;}
th {background:<?php echo BGND3?>;}
td {vertical-align:top;}
a {color:<?php echo TEXT1?>; text-decoration:none; cursor:pointer;}
a.urlembed {font-weight:bold; text-decoration:underline;}
hr {margin:10px 0px; height:2px; border-width:0; color:<?php echo BGND3?>; background:<?php echo BGND3?>;}
p {text-align:justify;}
img {border-style:none;}
select option {padding: 0 0 0 4px;}
br { line-height:10px; }
mark {color:<?php echo TEXT4?>; font-weight:bold; text-decoration:underline;}

h3 {font-size:14px;}
h4 {font-size:13px;}
h5 {font-size:1.0em;}
h6 {font-size:1.0em;}

ul, ol {margin:0 25px;}

.fontS {font-size:<?php echo FONT3 ?>;}

.floatR {float:right;}
.floatL {float:left;}
.floatC {text-align:center;}
.center {display:block; margin:auto;}
.inline {display:inline;}

.point {cursor:pointer;}
.arrow {cursor:default;}
.hyper:hover {cursor:pointer; background:<?php echo BGND2?>;}
.link {cursor:pointer; text-decoration:underline;}
.pageTitle {margin:0 0 20px 20%;}
.noButton {border:none; background:none; cursor:pointer; text-decoration:underline;}
.confirm {margin:auto; width:70%; text-align:center; background:<?php echo BGND7?>;}
.warning {margin:auto; width:70%; text-align:center; background:<?php echo BGND8?>;}
.error {margin:auto; width:70%; text-align:center; background:<?php echo BGND9?>;}
.inputError {background:<?php echo BGND9?>;}
.hilight {margin:10px 0; background:<?php echo BGND9?>;}
.flush {position: absolute; right: 100%;}

/* ---- make HTML 5 elements block-level for consistent styling (see also general.js) ---- */
header, footer, aside {display:block;}

/* ---- canvas ---- */

header {padding:0px 20px; font:bold 13px/25px arial,sans-serif; <?php if ($topSw) echo "text-shadow: 0.2em 0.3em 0.2em #222;"?> text-align:center; background:<?php echo BGND1?>;}
div.topText {margin:auto; width:95%; line-height:30px;}
div.navBar {clear:both; padding:0px 10px; line-height:20px; background:<?php echo BGND3?>; border:<?php echo BORD1?>;}
div.content {clear:both; padding:3px 26px 0 10px;}
div.contentS {clear:both; padding:3px 10px; font:<?php echo FONT4?> arial,sans-serif;}
footer {position:absolute; left:0; bottom:10px; width: 98%; padding:0 1%; font-size:0.8em; background:<?php echo BGND3?>; border:<?php echo BORD1?>;}

div#taskBar {position: absolute; top:66px; right:40px; height:60%; width:170px; padding:4px; border:<?php echo BORD2?>;
  border:<?php echo BORD2?>;<?php if ($boxRd) echo " border-radius:5px;"; if ($boxSw) echo " box-shadow:5px 5px 5px #888;";?>
 font-size:<?php echo FONT1 ?>; background:<?php echo BGND1 ?>; z-index:20; overflow:hidden; display:none;}
div#upcoBar {position: absolute; top:46px; right:20px; height:60%; width:170px; padding:4px; border:<?php echo BORD2?>;
  border:<?php echo BORD2?>;<?php if ($boxRd) echo " border-radius:5px;"; if ($boxSw) echo " box-shadow:5px 5px 5px #888;";?>
 font-size:<?php echo FONT1 ?>; background:<?php echo BGND1 ?>; z-index:20; overflow:hidden; display:none;}
div.sideList {position: absolute; top:30px; bottom:0px; width:100%; overflow:auto;}
div#optPanel {position: absolute; top:45px; left:10px; padding:4px;
  border:<?php echo BORD2?>;<?php if ($boxRd) echo " border-radius:5px;"; if ($boxSw) echo " box-shadow:5px 5px 5px #888;";?>
 font-size:<?php echo FONT1 ?>; background:<?php echo BGND1 ?>; z-index:20; overflow:hidden; display:none;}
table.options th {min-width:110px; cursor:default;}
table.options input,label {cursor:pointer;}
.optList {max-height:250px; overflow:auto;}

.footLB {font:italic bold 1.1em arial,sans-serif; color:#0033FF;}
.footLR {font:italic bold 1.1em arial,sans-serif; color:#AA0066;}
.dragme {background:<?php echo BGND3?>; margin-top:2px; cursor:move;}

/* ---- all pages ----- */
.scroll {overflow:auto;}
.scrollBoxYe {position:absolute; left:0; top:70px; right:0; bottom:35px; padding:0 10px; overflow:auto;}
.scrollBoxMo, .scrollBoxWe, .scrollBoxDa {position:absolute; left:0; top:85px; right:0; bottom:35px; padding:0 10px; overflow-y:scroll;}
.scrollBoxUp, .scrollBoxCh {position:absolute; left:0; top:125px; right:0; bottom:35px; padding:0 10px; overflow:auto;}
.scrollBoxSh {position:absolute; left:0; top:180px; right:0; bottom:35px; padding:0 10px; overflow:auto;}
.scrollBoxSe {position:absolute; left:0; top:140px; right:0; bottom:70px; padding:0 10px; overflow:auto;}
.scrollBoxAd {position:absolute; left:0; top:140px; right:0; bottom:35px; padding:0 10px; overflow:auto;}

.centerBox {display:table; margin:0 auto;}

table.mgrid {width:100%;}
table.mgrid td.holder{vertical-align:top; width:16%; padding:2px;}

table.grid {width:100%; border-collapse:collapse; table-layout:fixed;}
/* table.grid {width:100%; border-collapse:collapse;} */
table.grid .wkCol {border:<?php echo BORD1?>; width:25px;}
table.grid .tCol {border:<?php echo BORD1?>; width:50px;}
table.grid .dCol {border:<?php echo BORD1?>;}
table.grid .dCol7 {border:<?php echo BORD1?>; width:14%;}
table.grid .tColBg {background:<?php echo BGNDA?>;}
table.grid .dColBg {background:<?php echo BGNDB?>;}
table.grid tr.monthWeek {height:120px;}
table.grid tr.yearWeek {height:40px;}
table.grid tr.miniWeek {height:28px;}
table.grid th { overflow:hidden;}
table.grid td { overflow:hidden;}
table.grid td.we0 {border:<?php echo BORD1?>; background:<?php echo BGNDD?>;}
table.grid td.we1 {border:<?php echo BORD1?>; background:<?php echo BGNDE?>;}
table.grid td.wd0 {border:<?php echo BORD1?>; background:<?php echo BGNDB?>;}
table.grid td.wd1 {border:<?php echo BORD1?>; background:<?php echo BGNDC?>;}
table.grid td.out {border:<?php echo BORD1?>; background:<?php echo BGNDF?>;}
table.grid td.blank {background:<?php echo BGND2?>;}
table.grid td.today {border:<?php echo BORD3?>;}
table.grid td.slday {border:<?php echo BORD4?>;}

table.evtForm {width:100%; padding:5px; margin:0 0 10px 0; border-spacing:4px; background:<?php echo BGNDB?>;}

.viewhdr {display:inline-block; min-width:350px;}

div.help {clear:both;}

/* -- view: all -- */

.checkme {
	color:<?php echo TEXT3?>;
	background:#FFFFFF;
	padding:0 1px;
}

.checkme:hover {
	background:<?php echo BGND2?>;
}

.chkboxes {
	float:left;
	margin-top:2px;
	padding:0 2px;
}

.chkboxes:hover {
	background:<?php echo BGND2?>;
}


/* -- view: year/month -- */

.square {
	float:left;
	width:8px;
	height:8px;
	border:<?php echo BORD1?>;
}

.miniSquare {
	float:left;
	width:5px;
	height:5px;
	border:<?php echo BORD1?>;
}

.event {
	padding:0 2px;
	margin-top:2px;
	display:block;
}

.url {
	padding:0 2px;
	cursor:pointer;
	display:block;
}

.dom {
	text-align:right;
	padding-right:2px;
}

.firstDom {
	background:<?php echo BGND3?>;
}

.wnr {
	vertical-align:middle;
	background:<?php echo BGNDA?>;
	text-align:center;
}


/* -- view: week/day/dw_functions -- */

var {
	display:block;
	border-bottom:<?php echo BORD1?>;
	color:<?php echo TEXT2?>;
}

.day ul {
	margin:5px;
	padding:0px 15px;
}

.timeFrame {
	position:relative;
}

.times {
	border-bottom:<?php echo BORD1?>;
	text-align:center;
	color:<?php echo TEXT2?>;
}

.dates {
	position:absolute;
	left:0px;
	top:0px;
	width:100%;
}

.evtBox {
	position:absolute;
	border:<?php echo BORD1?>;
	z-index:1;
	overflow:hidden;
}

.dHeader {
	margin:-1px;
	border:<?php echo BORD1?>; 
	border-collapse:collapse;
}


/* -- view: upcoming / changes / search -- */

.eventBg {
	width:80%;
	background:<?php echo BGND1?>;
	margin:0 40px;
	padding:10px;
}

.headCh, .headUp {
	width:80%;
	margin:20px 40px 0 40px;
}

.headSh {
	width:80%;
	margin:20px 40px 20px 40px;
}

.lMarginUp {width:180px;}
.lMarginCh {width:120px;}


/* -- add/edit event -- */

div.repBox {
	position:absolute;
	left:40px; bottom:120px;
	width:360px;
	padding:10px;
	border:<?php echo BORD1?>;
	background:<?php echo BGND5?>;
	z-index:20;
	display:none;
}

/* ---- admin pages ----- */

table.cList {width:100%; border-spacing:10px;}
table.uList {width:100%; border-spacing:2px;}
.error {background:<?php echo BGND9?>;}

.aside {
	width:35%;
	border:<?php echo BORD1?>;
	background:<?php echo BGND4?>;
	margin:0 10px 10px 0;
	padding:5px;
	float:right;
}

.labelFix {
	width:300px;
	cursor:default;
	text-align: right;
	padding:0 6px 0 0;
}

.fieldBoxFix {
	width:100%;
	margin:10px 0;
	padding:15px;
	border:1px solid #888888;
	background:<?php echo BGND1?>;
}

.label {
	cursor:default;
	text-align: right;
	padding:0 6px 0 0;
}

.fieldBox {
	margin:10px 0;
	padding:15px;
	border:1px solid #888888;
	background:<?php echo BGND1?>;
}

.legend {
	float:left;
	margin:-26px 0 0 0;
	font-weight:bold;
	background:<?php echo BGND1?>;
}

.saveSettings {position:absolute; left:15%; bottom:35px;}

/* ---- Onmouseover popup Styles (general.js poptext) ---- */

#htmlPop {
	position:absolute;
	width:150px;
	padding:4px;
	<?php if ($boxRd) echo "border-radius:5px;\n"; if ($boxSw) echo "\tbox-shadow:5px 5px 5px #888;\n";?>
	visibility:hidden;
	z-index:10;
}

.normal {border:<?php echo BORD1?>; background:<?php echo BGNDH?>;}
.private {border:<?php echo BORD1?>; background:<?php echo BGNDI?>;}
.repeat {border:<?php echo BORD5?>;}


/* ---- Date Picker Styles ----- */

.dpTable {
	width:150px;
	font:12px arial,sans-serif;
	text-align:center;
	color:#505050;
	background:<?php echo BGND1?>;
	border:2px outset white;
}

.dpTable th {
	background:<?php echo BGND3?>;
	color:<?php echo TEXT1?>;
}

.dpTD {
	border:1px solid <?php echo BGND1?>;
}

.dpTDHover {
	border:1px solid #888888;
	cursor:pointer;
	color:red;
}

.dpHilight {
	border:1px solid #888888;
	color:red;
	font-weight:bold;
}

.dpTitle {
	font:bold 12px arial,sans-serif;
	color:<?php echo TEXT1?>;
}

.dpButton {
	font:bold 10px arial,sans-serif;
	color:<?php echo TEXT1?>;
	background:<?php echo BGND2?>;
	cursor:pointer;
}

/* ---- Time Picker Styles ----- */

.tpFrame {
	width:155px;
	overflow:hidden;
	font:11px/12px arial,sans-serif;
	text-align:center;
	color:#505050;
	background:#F2F2F2;
	border:1px solid #AAAAAA;
}

.tpAM {background:#EEFFFF;}
.tpPM {background:#FFCCEE;}
.tpEM {background:#DDFFDD;}

.tpPick:hover {
	background:#A0A0A0;
	color:red;
}

/* ---- Color Picker Styles ----- */

.cpDiv {
	width:156px;
	height:128px;
	overflow:auto;
	background:#DDDDDD;
	border:1px solid #666666;
}
.cpCell {
	cursor:pointer;
	width:12px;
	height:12px;
}