html, body {
	height: 100%;
	min-height: 100%;	
}
body {
	margin: 0;
	padding: 0;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Verdana, Arial, Sans-Serif, Helvetica;	
}
p {
	margin: 0;
}
#narrow #bannerback {
	width: 700px;
	position: relative;
	height: 60px;
	margin: 0 auto;
}
#wide #bannerback {
	width: 80%;
	position: relative;
	height: 60px;
	margin: 0 auto;
}
#narrow #banner {
        margin: 0 auto;
        position: absolute;
	height: 60px;
	width: 700px;    
	top: 0;
	right: 0;
	text-indent: -999em;	
}
#wide #banner {
        margin: 0 auto;
        position: absolute;
	height: 60px;
	width: 80%;  
	top: 0;  
	right: 0;
	text-indent: -999em;	
}
#narrow #column {
	margin: 0 auto;
	width: 700px;
}
#wide #column {
    margin: 0 auto;    
    width: 80%;
}
#calwrapper {
	padding: 10px;
}
table {
	border-collapse: collapse;
}
.gentext, .gentext a {
        font-size: 1em;
        margin: 0;
        text-align: center;
}
td span.infotext {
        background: url('../images/info.png') no-repeat -1px; 
        padding-left: 20px;
        display: inline;
        font-weight: normal;
        line-height: 25px;
}
#errorbox {
	width: 700px;
	background-color: #FEC2C4;
        font-weight: bold;
        border: 1px solid #000055;
	padding: 20px;
	text-align: center;
	font-size: 1.4em;
        background: #ffaaaa url(../images/error.png) center no-repeat;
        background-position: 5px 50%;
        margin: 200px auto;
}
#errorbox2 {
        margin: 50px auto;
	width: 70%;
        background: #FEC2C4 url(../images/error.png) center no-repeat;
        background-position: 5px 50%;
	color: #000;
        border: 1px solid #000055;
	padding: 15px;
	text-align: center;
	font-size: 1.4em;
}
.eventmeta {
        background: url(../images/info.png) center no-repeat;
        background-position: 5px 50%;
        padding-left: 24px;
}
div.inlineerror{
    margin: 5px auto auto 210px;    
    font-weight: bold;
    background: url(../images/error.png) center no-repeat;
    background-position: 5px 50%;
    padding-left: 25px;
    display: none;
}
div.errornomargin {
    margin-left: 5px;
    font-weight: bold;
    display: none;
}
#warningbox {
        margin: 50px auto;
	width: 70%;
        color: #000;
	border: 1px solid #000055;
        padding: 20px;
	text-align: center;
	font-size: 1.4em;
        background: #fffbc3 url(../images/warning.gif) center no-repeat;
        background-position: 5px 50%;
}
/* ========== Navmenu ========== */
#navmenu {
	text-align: left;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	height: 20px;
	font-weight: bold;	
	font-size: 1em;
	vertical-align: middle;
}
#navmenu a {
	height: 20px;
	line-height: 20px;
	text-align: right;
  	voice-family: "\"}\"";
  	voice-family: inherit;
	text-decoration: none;
}
#navmenu a.customise, #navmenu a.adminlink, #navmenu a.helplink, #navmenu a.eventsmgr {
	float: left;
	padding-left:22px; padding-right:0; padding-top:0; padding-bottom:0;
}
#navmenu a.navlink {
	float: right;
	padding-left:22px; padding-right:5px; padding-top:0; padding-bottom:0;
}
#customiseback {
	display: none;
	position: absolute;	
	top: 0;
	left: 0;	
	width: 100%;
	height: 100%;
	z-index: 8;
	background: url(../images/overlay.png);
}
#customisewrapper {
	position: absolute;
	top: 65px;
	left: 0;
	width: 100%;
	z-index: 9;	
}
#customisepanel {
	display: none;
	margin: 0 auto;
	width: 500px;
	z-index: 10;
	padding: 15px;
	border: 2px solid #000;
	font-size: 1.2em;
}
#customisepanel input.buttondelseries {
	margin-left: 140px;
}
img.actions {
	padding-left: 4px;
	padding-right: 4px;
}
#loginlink {
	margin: 20px 20px 0 20px;
}
#loginlink a {
	font-weight: normal;
}
#icallink {
        margin: 0 auto;
	display: block;
	cursor: pointer;
        border: 0;	
}
/* ========== Calendar ========== */
#calwrapper, .calbody {
	text-align: center;
	margin: 0 auto;
}
.expandedview {
    margin: 0 auto;
    font-size: 1.2em;
    width: 90%;
}
.expandedview .formheading { 
    text-align: right;
    width: 20%;
}
.expandedview .infotext { /* All day event text */
    margin-left: 20%;
}
.listevents {
    width: 40px;
}
.listview {
    width: 90%;
    margin: 0 auto;
    font-size: 1.2em;
    text-align: left;
}
.listview td {
	padding: 5px;
}
.listview tr {
    cursor: pointer;
}
.massactions {
    text-align: center;
    vertical-align: middle;
    width: 90%;
    margin: 0 auto; 
    font-size: 1.2em;
    margin: 10px auto 10px auto;
}
.massactions input, .massactions button {
    margin: 4px;
}
.massactions div {
        font-weight: bold;
        width: 150px;
        text-align: right;
        width: 40%;
        margin: 0 auto;
}
.calbody td {
	text-align: left;
	padding: 2px;		
}
.caldays, #calweeks {	
	margin: 0 auto;
	text-align: left;
	vertical-align: top;	
}
.caldays {
        position: relative;
}
.caldays td {
	padding: 4px;
}
.occupiedday a {
        text-decoration: none;
}
#caltoday, #caltoday a, .blankday, .occupiedday {
	vertical-align: top;
}
#caltoday>a {
	position: relative;
        top: 10px;
}
.yeartable span.daynum {
        font-size: 1em;
}
.dayhours {
	width: 40px;
	height: 30px;
	font-weight: bold;
	font-size: 1.1em;
	text-align: center;	
	vertical-align: middle;
}
.expandedview td {
	text-align: left;
	padding: 4px;
}
#calweeks td.day {
	width: 100%;
	height: 40px;
        padding: 0;
}
.blankhour {
	width: 100%;
}
.eventdiv {
	position: absolute;
	visibility: hidden;
	font-size: 1em;
        line-height: 1.4em;
	z-index: 1000;
	width: 200px;
}
.masseventdiv {
	position: absolute;
	visibility: hidden;
	font-size: 1em;
        line-height: 1.4em;
	z-index: 1000;
	width: 200px;
        padding: 5px;
        text-align: left;
}
.weekalldaydiv {
	position: absolute;
	visibility: hidden;
	font-size: 1em;
        line-height: 1.4em;
	z-index: 1000;
	width: 400px;
}
.weekallday {
    height: 10px;
}
span.daynum {
	font-size: 2em;
}
.calbody td div, .occupiedday div {
	font-size: 1em;
}
#ajaxload {
    margin: 0 auto;
}
#ajaxload p {
    background: url(../images/loading.gif) no-repeat center;
    padding-top: 26px;
    text-align: center;    
}
/* ============ \/ This corrects the font size for internet explorer \/ ============ */
* html .eventdiv, * html .calbody td div, * html .occupiedday div, * html .weekallday div {
	font-size: 1em;
}
div div.title {
	height: 20px;
	width: 100%;
	font-size: 1.2em;
	padding-top: 4px;
	text-align: center;
}
.containertitle {
    width: 98%;
    padding: 5px 1% 5px 1%;
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
    font-size: 1em;
}
.containerbox { 
    width: 80%; 
    margin: 0 auto; 
    text-align: left;
    font-size: 1.2em;
    padding-bottom: 5px;
}
.containerbox td {
    padding: 4px;
}
div.massedit {
    padding: 8px 0 8px 0;
    margin: 10px auto 10px auto;
    width: 90%;    
}
#eventform {
    width: 90%;
}
.titleback {
	height: 20px;
	font-weight: bold;
	text-align: center;
	font-size: 1.1em;
	border: 1px solid #000;
}
.titleback2 {
	height: 20px;
	font-weight: bold;
	text-align: left;
	font-size: 1.1em;	
	padding: 2px 2px 2px 4px;
	vertical-align: middle;
}
.yeartable {
	width: 700px;
	margin: 0 auto;
	border: 1px solid #cbcbcb;
	background: #fefefe;
}
.yeartable td {
	vertical-align: top;
}
.yeartable tr table td {
	vertical-align: middle;
}
#calweeks {
    width: 650px;
}
.weekdaynames {
	width: 150px;
	font-weight: bold;
	padding: 4px;
	font-size: 1.1em;
	vertical-align: middle;	
}
.weekfillertable {
	width: 100%;
    height: 40px;
    border: 0;
}
.weekfillertable td {
	border: 0 !important;
}
.weekfillertable td.weekevent {
	height: 100%;
	width: 26px;
}
h1 {
	font-size: 1.6em;
	height: 1.8em;
	margin: 0;
	padding-top: 5px;
}
h3 {
    font-size: 1.2em;
}
/* ========== Forms ========== */
.formheading {
	font-weight: bold;
	vertical-align: top;
    text-align: right;
}
.formheading2 {
	font-weight: bold;
	vertical-align: middle;
}
div.actions {
	padding: 5px 1% 0 1%;
    width: 98%;
    text-align: right;
    border-top: 1px solid #000;    
}
#recurrence td {
	border: 0;
}
#recurfiller {
	height: 210px;
	width: 400px;
}
.box-open {
	display: block;
}
.box-closed {
	display: none;
}
.filterstoggle {
        padding-left: 16px;
        background: url(../images/expand2.gif) no-repeat 1px 1px;
        font-size: 1.2em;
        font-weight: bold;  
        text-decoration: none;      
}
.filterstoggle a, .filterstoggle a:link, .filterstoggle a:visited, .filterstoggle a:hover {
        color: #000;              
}
div#recurrence {
        width: 405px;
        margin-left: 210px;
}
#daily, 
#weekly, 
#monthly, 
#yearly, 
#recurtime {
	display: none;
}
.widthfill {
	width: 300px;
}
#login {
	border: 1px solid #000;
	padding: 10px;
	width: 280px;
	text-align: left;
	margin: 0 auto;
}
.buttonsave, .buttonedit, .buttondelete {
	width: 95px;
	height: 30px;
	cursor: pointer;
	border: none;
        display: inline;
        text-align: left;
}
.buttondelseries, .buttonsaveseries {
	width: 130px;
	height: 30px;
	padding: 2px 5px;
	cursor: pointer;
	border: none;
        text-align: left;
}
form fieldset {
        padding: 10px;
        margin: 10px;
}
form input.standard, form textarea {
	margin-left: 210px;
	width: 240px;
	padding-left: 2px;
	display: block;
	margin-bottom: 0;    
}
form input.inline {
	width: 240px;
	padding-left: 2px;
	display: inline;      
}
form textarea {
	width: 500px;
}
form input.nomargin {
	margin: 1px 0;
}
form input.nomargin[type="text"] {
	width: 200px;
}
form input.small, form input.boxdisabled {
	width: 30px;
	padding-left: 2px;	
}
form select {
        min-width: 110px;
        margin-bottom: 10px;    
}
button.nicebutton, input.nicebutton {
	width: 120px;
}
form small {
        font-weight: normal;
        font-style: italic;
        font-size: 0.8em;
}
form label {
	float: left;
	text-align: right;
	padding-top: 4px;
	font-weight: bold;
	font-size: 1em;
	width: 200px;
	margin-right: 10px;
	margin-bottom: 6px;
}
form label.compact {
	float: left;
	text-align: right;
	padding-top: 4px;
	font-weight: bold;
	font-size: 1em;
	width: auto;
	min-width: 100px;
	margin-right: 10px;
}
form .datebox label, form label.plain {
        float: none;
        font-weight: normal;
        padding-left: 5px;
        padding-top: 0;
        width: 100px;
	margin: 4px 0;     
} 
form .checks label.plain {
	margin: 4px 0; 
}
form .checks input.nomargin {
	margin: 1px 0;
}
form #recurrence label {
        font-weight: normal;
        width: auto;
        margin-right: 5px;
        padding-top: 3px;
        text-align: left;
        float: none;
}
form #recurrence select {
        margin-top: 2px;
        margin-bottom: 0;
}
form #weekly label {
        float: left;
        min-width: 120px;
}
form div.datebox .alldaycheck {
    margin-top: 10px;
}
form div.datebox {
    margin-top: 0.2em;
}
form div.datebox input {
    display: inline;
    margin-left: 0;
}
form div.dateinput {
    display: inline;
}
form img.datepicker {
    margin-right: 20px;
}
.dpTDHoverHighlight { /* date picker padding */
    padding-left: 3px;
    padding-right: 3px;
    margin-bottom: 4px;
    font-weight: bold;
}
form br {
	clear: left;
}
form input[type="radio"], form input[type="checkbox"], form input[type="hidden"] {
	width: auto;
	height: 1em;
	border: 0;
}
form input[type="hidden"] {
	display: none;
}
form div.checks {
    margin-left: 210px;
    margin-bottom: 5px;
    height: auto;
}
#adduser form div.checks label {
    display: 30px;
    margin: 1px 2px;
}
form .checks label {
	float: none;
	width: auto;
	clear: none;
	display: block;
	text-align: left;
	height: 1.4em;
	font-weight: normal;
	margin-bottom: 0;
	margin-left: 5px;
}

* html form .checks input {
	margin-left: 105px;
}
* html form .checks label {
	margin-left: 210px;
	line-height: 1em; 
}
form .checks input {
	float: left;
	text-align: right;
	width: auto;
	padding-left: 2px;    
}
* html form br {
	line-height: 1em;
	font-size: 0.5em;
}
