* { margin: 0; padding: 0; }
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;
}
#banner {
	height: 20px;
        margin: 0 auto;
        position: absolute;
	top: 0;  
	right: 0;
	text-indent: -999em;
	outline: 0;
}
#bannerback {
	position: relative;
	height: 20px;
	margin: 0 auto;
	outline: 0;
}
#column {
	margin: 0 0;
}
#narrow #banner, #narrow #bannerback, #narrow #column {
	width: 450px;
}
#wide #banner, #wide #bannerback, #wide #column {
	width: 80%;
}

table {
	border-collapse: collapse;
}
.gentext, .gentext a {
        font-size: 11px;
        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: 568px;
	background-color: #FEC2C4;
        font-weight: bold;
        border: 1px solid #000055;
	padding: 20px;
	text-align: center;
	font-size: 12px;
        background: #ffaaaa url(../images/error.png) center no-repeat;
        background-position: 5px 50%;
        margin: 200px auto;
}
#errorbox2 {
        margin: 25px 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: 12px;
}
.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;
    display: none;
    background: url(../images/error.png) center no-repeat;
    background-position: 5px 50%;
    padding: 5px 0 0 25px;
/*    height: 18px; */
}
div.ajaxerror{
    margin-left: 5px;    
    font-weight: bold;
    display: none;
    background: url(../images/error.png) center no-repeat;
    background-position: 5px 50%;
    padding: 5px 0 0 25px;
}
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: 14px;
        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: 10px;
	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, #navmenu a.addlink, #navmenu a.closeform {
	float: left;
	padding-left:22px; padding-right:0; padding-top:0; padding-bottom:0;
	outline: none;
}
#navmenu a.navlink {
	float: right;
	padding-left:22px; padding-right:5px; padding-top:0; padding-bottom:0;
	outline: none;
}
#customisewrapper {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
}
#customisepanel {
	display: none;
	margin: 0 auto;
	z-index: 10;
	padding: 15px;
	font-size: 10px;
	width: 670px;
}
#customisepanel input.buttonsave, #customisepanel input.buttondelete, #customisepanel input.buttoncancel, #customisepanel input.buttonadd {
	font: bold 11px verdana;
	padding-left: 30px;
	width: 120px;
}
.buttonholder {
        text-align: center;
        vertical-align: middle;
}
.customisetable td {
	padding: 4px;
}
img.actions {
	padding-left: 4px;
	padding-right: 4px;
}
#loginlink {
	text-align: left;
	margin: 20px 20px 0 20px;
}
#loginlink a {
	font-weight: normal;
}
#icallink {
        margin: 0 auto;
	display: block;
	cursor: pointer;
        border: 0;	
}
/* ========== Calendar ========== */
#calwrapper {
	display: block;
	padding: 0px;
}
.tabs {
	margin: 20px;
}
.tabmenu {
	border-bottom: 1px solid #000;
	margin: 0;
	padding-bottom: 19px;
	padding-left: 10px;
}
.tabmenu ul, .tabmenu li {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}	
.tabmenu a:link, .tabmenu a:visited, .tabmenu a:link.inactivetab, .tabmenu a:visited.inactivetab {
	background: #E8EBF0;
	border: 1px solid #ccc;
	border-bottom: 1px solid #000;
	color: #000;
	float: left;
	line-height: 14px;
	margin-right: 8px;
	padding: 2px 10px 2px 10px;
	text-decoration: none;
}
.tabmenu a:link.activetab, .tabmenu a:visited.activetab {
	background: #fff;
	border: 1px solid #000;	
	border-bottom: 1px solid #fff;
	color: #000;
}
.tabcontainer {
	background: #fff;
	border: 1px solid #000;
	border-top: none;
	clear: both;
	margin: 0px;
	padding: 15px;
}
.tabcontainer div.actions {
	padding: 5px 1% 0 1%;
	width: 98%;
	text-align: right;
	border: 0;
}
#addtask, #setupcats, #importical {
	display: none;
}
#addtask label {
	width: 150px;
}
#addtask input.standard, #addtask textarea, #addtask .inlineerror {
	margin-left: 160px;
}
#addtaskdatedue {
	display: inline;
	margin-left: 0 !important;
}
.importtable td {
	padding: 5px;
}
#todolist {
	display: block;
}
.tododiv {
	margin-left: 40px;
}
#todocontainer {
	margin-bottom: 20px;
}
#todocontainer img {
	border: 0;
}
#calwrapper, .calbody {
	text-align: center;
	margin: 0 auto;
}
.expandedview {
    margin: 0 auto;
    font-size: 12px;
    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: 12px;
    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: 12px;
    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;	
}
a.addtoday {
	padding-left: 16px;
	background: url(themes/add.gif) no-repeat !important;
}
a.weekaddtoday {
	padding-left: 16px;
	background: url(themes/add.gif) no-repeat;
	text-align: left;
}
.caldays {
        position: relative;
}
.caldays td {
	padding: 4px;
}
.occupiedday a, .blankday a, #caltoday a {
        text-decoration: none;
}
.popupcontainer {
	padding: 4px;
}
#caltoday, #caltoday a, .blankday, .occupiedday {
	vertical-align: top;
}
#caltoday {
	padding-top: 10px;
}
.yeartable span.daynum {
        font-size: 12px;
}
.dayhours {
	width: 40px;
	height: 30px;
	font-weight: bold;
	font-size: 11px;
	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;
	display: none;
	font-size: 9px;
	line-height: 14px;
	z-index: 1000;
	width: 145px;
	margin: 30px 0px 0px 0px;
}
.masseventdiv {
	position: absolute;
	font-size: 9px;
        line-height: 13px;
	z-index: 1000;
	width: 150px;
	display: none;
        padding: 5px;
	margin: 20px 0 0 0;
        text-align: left;
}
.weekalldaydiv {
	position: absolute;
	visibility: hidden;
	font-size: 11px;
        line-height: 14px;
	z-index: 1000;
	width: 400px;
	margin: 5px;	
}
.weekallday {
    height: 10px;
}
span.daynum {
	font-size: 20px;
}
.calbody td div, .occupiedday div, #caltoday div {
	font-size: 11px;
}
#ajaxload {
    margin: 0 auto;
}
#ajaxload p {
    background: url(../images/loading.gif) no-repeat center;
    padding-top: 40px;
    text-align: center;    
}
/* ============ \/ This corrects the font size for internet explorer \/ ============ */
* html .eventdiv, * html .calbody td div, * html .occupiedday div, * html #caltoday div, * html .weekallday div {
	font-size: 11px;
}
div div.title {
	height: 40px;
	width: 100%;
	font-size: 11px;
	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: 11px;
}
.containerbox { 
    width: 80%; 
    margin: 0 auto; 
    text-align: left;
    font-size: 12px;
    padding-bottom: 5px;
}
.collapsibletitle {
    width: 98%;
    padding: 5px 1% 5px 1%;
    text-align: left;
    font-weight: bold;
    font-size: 11px;
}
.collapsiblebox { 
    width: 80%; 
    margin: 0 auto; 
    text-align: left;
    font-size: 12px;
}
.collapsiblecontent {
    text-align: left;
}
.containerbox td {
    padding: 4px;
}
.mediumcontainer {
	width: 500px;
}
div.massedit {
    padding: 8px 0 8px 0;
    margin: 10px auto 10px auto;
    width: 90%;    
}
div#taskstodo, div#taskstodo1 {
	padding: 4px;
}
.titleback {
	height: 20px;
	font-weight: bold;
	text-align: center;
	font-size: 10px;
	border: 1px solid #000;
}
.titleback2 {
	height: 20px;
	font-weight: bold;
	text-align: left;
	font-size: 10px;	
	padding: 2px 2px 2px 4px;
	vertical-align: middle;
}
.yeartable {
	width: 568px;
	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: 11px;
	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: 13px;
	height: 18px;
	margin: 0;
	padding-top: 5px;
}
h2 {
	font-size: 12px;
	height: 18px;
	margin: 5px 0 5px 5%;
	text-align: left;
}
h3 {
        font-size: 11px;
}
h4 {
	font-size: 10px;
	margin: 5px 0 5px 5%;
	text-align: left;
	font-weight: normal;
}
#filters h2 {
	font-size:12px;
        margin: 5px;	
}
#filters h3 {
        font-size: 11px;
        margin: 5px;
}
div.rule {
	width: 100%;
	height: 1px;
}
/* ========== Forms ========== */
.formheading {
	font-weight: bold;
	vertical-align: top;
    text-align: right;
}
.formheading2 {
	font-weight: bold;
	vertical-align: middle;
}
div.actions {
	padding: 5px 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;
}
#filters form label {
	margin: 6px;
}
#filters form input {
	margin-right: 5px;
}
#filters div.checks {
	margin-left: 20px;
}
#filters table {
	margin-bottom: 5px;
}
#filters table td {
	vertical-align: top;
}
.filterstoggle {
        padding-left: 16px;
        background: url(../images/expand2.gif) no-repeat 1px 1px;
        font-size: 12px;
        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, .buttondelete, .buttonedit, .buttonadd, .buttoncancel {
	cursor: pointer;
        text-align: left;
	border: 0;
	border: 1px solid #000;
        margin: 2px 10px 2px 0;
        height: 30px;
        min-width: 100px;
        width: auto;
}
fieldset {
        padding: 10px;
        margin: 10px;
}
form input.standard, form textarea {
	margin-left: 210px;
	padding-left: 2px;
	display: block;
	margin-bottom: 0;    
}
.tododiv form input.standard, .tododiv form textarea {
	margin-left: 0;
}
.tododiv form input.standard {
	width: 200px;
	display: inline;
}
.tododiv label {
	margin-left: 0;
	text-align: left;
}
form input.inline {
	width: 240px;
	padding-left: 2px;
	display: inline;      
}
form textarea {
	width: 280px;
}
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: 10px;
}
form label {
	float: left;
	text-align: right;
	padding-top: 4px;
	font-weight: bold;
	font-size: 11px;
	width: 200px;
	margin-right: 10px;
	margin-bottom: 6px;
}
.defaultcats label {
	float: left;
	text-align: right;
	width: 200px;
	padding-top: 5px;
	margin-right: 10px;
	margin-bottom: 6px;
}
.defaultcats select {
	margin-bottom: 5px;
}
form label.compact {
	float: left;
	text-align: right;
	padding-top: 4px;
	font-weight: bold;
	font-size: 11px;
	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 10px; 
}
form .checks label.inline {
	display: inline;
	margin: 0;
	padding: 2px;
}
form .checks select {
	margin: 0;
	width: 200px;
}
form .checks input.nomargin {
	margin: 1px 0;
}
form .checks input.dformat {
	width: 200px; 
	margin: 1px 0;
	text-align: left;
	float: none;
}
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;
}
.optioncheck {
	margin: 0px auto 0px 210px !important;
}
form div.datebox .alldaycheck {
    margin-top: 10px;
}
form div.datebox input, form div.dateinput input {
    display: inline;
    margin-left: 0;
}
form div.dateinput {
    display: inline;
}
form img.datepicker {
    margin-right: 20px;
}
.dpTDHoverHighlight { /* date picker padding */
    padding: 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;
	border: 0;
}
form input[type="hidden"] {
	display: none;
}
form div.checks {
    margin-left: 210px;
    margin-bottom: 5px;
    height: auto;
}
#adduser form div.checks label {
    padding-left: 30px;
    margin: 1px 2px;
}
form .checks label {
	float: none;
	width: auto;
	clear: none;
	display: block;
	text-align: left;
	height: 14px;
	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: 10px; 
}
form .checks input {
	float: left;
	text-align: right;
	width: auto;
	padding-left: 2px;    
}
* html form br {
	line-height: 10px;
	font-size: 5px;
}
