/*****************************************************************************
 * Cascading Style Sheet for main phpUni
 *****************************************************************************
 * Copyright (C) 2007
 *
 * Authors : Filios Konstantinos (drcypher@mail.ntua.gr)
 *
 * Created : 26.07.2007
 *
 * Version : 1.0
 ****************************************************************************/

/*****************************************************************************
 * Header: Logo & bar
 ****************************************************************************/
div#logo {
	width: 100%;
	height: 110px;
	border-bottom: 1px solid black;
	background: url("../images/logo_middle.png");
}
div#logo div#left img,
div#logo div#right img {
	border: 0px;
}

div#logo div#left {
	position:absolute;
	top:0px;
	left:0px;
	padding:0px;
	z-index:5;
}

div#logo div#right {
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 0px;
	z-index: 4;
}

div#shortcuts {
	width: 100%;
	z-index: 6;
	padding-top: 0px;
	margin-top: 0px;
	position:absolute;
	top: 92px;
	text-align: center;
}

div#shortcuts a.button {
	font-weight: bold;
	font-size: 10px;
	background: none;
	border: none;
	color: white;
}

div#shortcuts a.button:hover {
/*	text-transform: uppercase;*/
	font-weight: bolder;
}

div#popup_in {
	margin: 20px 20px 20px 20px;
}

/*****************************************************************************
 * Footer
 ****************************************************************************/
div#footer {
	text-align: center;
}

div#footer div#copyright {
	font-size: 9pt;
}

div#footer div#developer {
	font-size: 8pt;
}

div#print_header,
div#print_footer,
div#print_title {
	display:none;
}

/*****************************************************************************
 * Header: Main portion (central)
 ****************************************************************************/
div#main div#menu_right,
div#main div#menu_left {
	position: absolute;
	top: 113px;
	width: 163px;
	padding: 0px;
	margin: 0px;
}

div#main div#menu_right {
	right: 0px;
	z-index: 1;
	padding-left: 5px;
}

div#main div#menu_left {
	left: 0px;
	z-index: 2;
	padding-left: 5px;
}

div#main div#content {
	position: relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
	z-index: 3;
	min-width: 150px;
	margin: 17px 172px 0px 172px;
	padding: 0px;
}

/*****************************************************************************
 * Side menu
 ****************************************************************************/

/* Menu container */
div.menu  {
	width: 153px;
	position: relative;
	margin-top: 15px;
	vertical-align: top;
	border: 2px solid #4C4ED0;
}

/* Generic menu caption and specific logged-user caption */
div.menu div#user {
	font-size: 90%;
	line-height: 25px;
	padding-left: 5px;
	padding-right: 10px;
	background: url("../images/tile_down.jpg");
	font-weight: bold;
}

/* Generic menu options, online and members lists */
div.menu .options,
div.menu div#login {
	margin-left: 3px;
	margin-top: 5px;
	padding-left: 0px;
	margin-bottom: 5px;

	list-style: none;

	font-size: 8pt;
	line-height: 15px;
	vertical-align: middle;
}

div.menu .options ul {
	position: relative;
	left: -20px;
	list-style: none;
}

div.menu div#login input {
	border: 1px solid #8cacbb;
	color: black;
	background-color: white;
	vertical-align: middle;
	margin-bottom: 5px;
	padding: 2px;
	font-size: 10px;
}

div.menu div#login input#login_name,
div.menu div#login input#login_pass {
	width: 135px;
}

div.menu div#login input#submit {
	padding: 1px;
	margin-top: 1px;
	margin-bottom: 0px;
}

div.menu div#login label {
	font-weight: bold;
}

/* Generic caption and option anchors */
div.menu h3 a,
div.menu .options li a.misc,
div.menu .options li.important a,
div.menu .options li a.option {
	color: black;
	text-decoration: none;
}

div.menu h3 a:hover {
	color: blue;
}

div.menu .options li a:hover,
div.menu .options li.disabled a:hover,
div.menu .options li.important a:hover,
div.menu .options li a.misc:hover,
div.menu .options li a.option:hover,
div.menu div.caption a.caption:hover {
	text-decoration: underline;
	background-color: #DCDCFA;
}

/* Special, misc, important anchors */
div.menu .options li a.misc {
	font-style: italic;
}

div.menu .options li.seperator {
	list-style: none;
	border-top: 1px solid gray;
	height: 2px;
	margin: 5px 0px 5px 0px;
	position: relative;
	left: -2px;
}

div.menu .options li.notice a {
	color: darkred;
	font-weight: bold;
}

div.menu .options li.special a {
	color: darkgreen;
	font-weight: bold;
}

div.menu .options li.important a {
	font-weight: bold;
}

div.menu .options li.disabled a {
	color: gray;
	font-style: italic;
	text-decoration: none;
}

div.menu h3 { /* groovy floating topright headings */
	font:  bold 1em Verdana, Arial, Helvetica;
	background: url("../images/tile_up.jpg");
	padding: 2px 0px 0px 0.5em;
/*	clear: left; */
	color: #FFFFFF;
	margin: 0;
	height: 20px;
	border-bottom: 1px solid #000175 ;
	vertical-align: middle;
}

div.menu h3:hover {
	background: url("../images/tile_down.jpg");
}

/*****************************************************************************
 * Calendar menu
 ****************************************************************************/

div#calendar table {
	width: 100%;
	font-size: 7.5pt;
}

div#calendar table tr#months {
			font: bold;
        text-align: center;
        background-color: #A7D98D;
t-size: 9pt;
	background-color: #080986;
	color: #FFFFFF;
}

div#calendar table tr#months td a {
	color: #FFFFFF;
	text-decoration: none;
}

div#calendar table tr#wdays,
div#calendar table tr#wdays td:hover {
	font-size: 7.5pt;
	font-weight: bold;
	text-align: center;
	background-color: #A7D98D;
	vertical-align: middle;
	border: none;
}

div#calendar table tr td {
	padding: 1pt 1pt 1pt 1pt;
	margin: 0px;
	text-align: center;
}

div#calendar table tr td.today {
	padding: 0pt 0pt 0pt 0pt;
	border: 1px solid blue;
	font-weight: bold;
	background-color: #C3C9EB;
}
div#calendar table tr td.today-wkd{
	padding: 0pt 0pt 0pt 0pt;
	border: 1px solid blue;
	font-weight: bold;
	background-color: white;
}

div#calendar table tr td.other-wkd,
div#calendar table tr td.other {
	color: #ABABAB;
}


div#calendar table tr td.other-wkd,
div#calendar table tr td.wkd {
	background-color: #EBEBEB;
}

div#calendar table tr#wdays td.wkd {
	border: none;
	background-color: #97C57F;
}

div#calendar table tr td.today:hover {
	border: 1px solid #B366AD;
	background-color: red;
}

div#calendar table tr td.other-wkd:hover,
div#calendar table tr td.other:hover,
div#calendar table tr td:hover {
	padding: 0pt 0pt 0pt 0pt;
	border: 1px solid #B36C66;
	background-color: orange;
}

div#calendar table tr#months td:hover {
	background: black;
}

a.menu_result_subject {
	font-weight: bold;
	color: blue;
}

/*
 * Marquee lists at side menus
 */
#recent_results,
#recent_files {
	list-style-type: none;
	padding-left: 10px;
	margin-left: 0;
}

#recent_results li,
#recent_files li {
	font-size:10px;
	padding-bottom: 10px;
}

/*
 * Online user lists at side menus
 */
.options dd ul {
	margin-top: 0px;
	margin-bottom: 0px;
}

.options dd {
	margin: 0px;
}

dt#item_online_total {
	background: url('../icons/group_online.gif') left center no-repeat;
	padding-left: 20px;
	font-weight: bold;
}

dt#item_online_visible {
	background: url('../icons/online_visible.gif') left center no-repeat;
	padding-left: 20px;
}

dt#item_online_hidden {
	background: url('../icons/online_hidden.gif') left center no-repeat;
	padding-left: 20px;
}

dt#item_online_guest {
	background: url('../icons/online_guest.gif') left center no-repeat;
	padding-left: 20px;
}

#recent_results_box,
#recent_files_box {
	height: 100px; /*marquee height */
}
