HTML
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'arial', 'sans';
    font-size: 10px;
    background-color: white;
}

BODY
{
    margin: 0px;
}

H1
{
    color: grey;
}

option.item, option.fatitem
{
    border-bottom: 1px dashed silver;
}

option.fatitem
{
    font-weight: bold;
    font-style: italic;
}

li.done
{
    list-style-image: url(../images/dialog-ok-apply.png);
}

li.pending
{
    list-style-image: url(../images/list-remove.png);
}

H2
{
    color: grey;
    font-style: italic;
}

a:link, a:visited
{
    color: #009BDE;
    text-decoration: none;
}
a:hover
{
    color: #FF8000;
    text-decoration: none;
}


div#centeredContainer
{
	width: 90%;
	min-height: 500px;
	margin: 5px auto;
	text-align: left;
	background-image: url(../images/gradient.png);
	background-repeat: repeat-x;
	background-color: #ffffff;
	border: 1px solid #cfcfcf;
	position: relative;
}

div.otodoScreenshots
{
    float: right;
    width: 400px;
    height: 451px;
    background-image: url(../images/otodo_teaser2.png);
    background-repeat: no-repeat;
}

div.defaultContent
{
    width: 100%;
    background-image: url(../images/otodo_teaser2.png);
    background-repeat: no-repeat;
    background-position: top right;
}

div#topGlow
{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 100px;
    z-index: 1;
    background-image: url(../images/top_glow.png);
    background-repeat: no-repeat;
    background-position: top center;
}

div#topLeft, div#topRight, div#bottomLeft, div#bottomRight
{
    width: 3px;
    height: 3px;
    background-repeat: no-repeat;
    position: absolute;
}

div#topLeft
{
    background-image: url(../images/upper_left.png);
    top: -1px;
    left: -1px;
}

div#topRight
{
    background-image: url(../images/upper_right.png);
    top: -1px;
    right: -1px;
}

div#bottomLeft
{
    background-image: url(../images/bottom_left.png);
    bottom: -1px;
    left: -1px;
}

div#bottomRight
{
    background-image: url(../images/bottom_right.png);
    bottom: -1px;
    right: -1px;
}

div#headerContainer, div#advertisementContainer
{
    z-index: 2; /* required for the glow bg image */
    position: relative;
    width: 100%;
    height: 100px;
    /* border-bottom: 1px solid #cfcfcf; */
    background-image: url(../images/otodo_logo.png);
    background-repeat: no-repeat;
    background-position: left center;
}

div#advertisementContainer
{
    z-index: 0; /* keeps the drop down menu happy */
    background-image: none;
    text-align: center;
    line-height: 100px;
}

div#otherLinks
{
    position: absolute;
    right: 0px;
    bottom: 0px;
}

div.glowingLine
{
    position: relative;
    height: 13px;
    width: 100%;
    opacity: 0;
}

div.glowLeft
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 14px;
    height: 13px;
    background-image: url(../images/glowing_stroke_left.png);
    background-repeat: no-repeat;
}

div.glowRepeater
{
    position: absolute;
    left: 14px;
    right: 210px;
    height: 13px;
    background-image: url(../images/glowing_stroke_repeater_2.png);
    background-repeat: repeat-x;
    
}

div.glowRight
{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 210px;
    height: 13px;
    background-image: url(../images/glowing_stroke_right.png);
    
}

div.star1, div.star2, div.star3, div.star4, div.star5
{
    position: absolute;
    right: 140px;
    top: -1px;
    opacity: 0;
    width: 15px;
    height: 15px;
    background-image: url(../images/star_in_stroke.png);
    background-repeat: no-repeat;
}

div.star2
{
    right: 110px;
}

div.star3
{
    right: 80px;
}

div.star4
{
    right: 50px;
}

div.star5
{
    right: 20px;
}

div#contentContainer
{
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

div#spacer
{
    height: 5px;
}

INPUT.styledInput, INPUT.styledInput:hover, INPUT.styledSubmit
{
    background-image: url(../images/input_normal.png);
    background-repeat: no-repeat;
    background-color: transparent; /* seems to fix a bug in FIREFOX!! */
    width: 152px;
    height: 15px;
    color: #6f6f6f;
    border: 0px;
    margin-bottom: -4px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight: bold;
    font-style: italic;
    font-size: 12px;
}

INPUT.styledSubmit
{
    height: 29px;
    width: 172px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;
    margin-bottom: 0px;
}

INPUT.styledInput:hover, INPUT.styledSubmit:hover
{
    background-image: url(../images/input_hover.png);
}

TD.leftColReg
{
    width: 50%;
    text-align: right;
}

TD.leftColEdit
{
    width: 200px;
}

SMALL.addandedit
{
    display: block;
    font-weight: normal;
    font-style: italic;
}

div.loginForm, div.loggedin
{
    float: right;
    text-align: center;
    font-size: 10px;
    color: grey;
}

table.loginForm
{
    width: 100%;
    color: grey;
    font-size: 12px;
    font-weight: bold;
}

div.loggedin
{
    margin-right: 5px;
    text-align: right;
}

span.welcomeloggedin
{
    font-size: 20px;
}

span.usernameloggedin
{
    font-weight: bold;
    font-style: italic;
}

/* ToDo Row Styles */
div.todoItemContainer
{
    width: 100%;
    position: relative;
    height: 21px;
    margin-bottom: 2px;
}

div.todoItemRepeater
{
    position: absolute;
    left: 2px;
    right: 2px;
    top: 0px;
    background-image: url(../images/todo_row_repeater.png);
    background-repeat: repeat-x;
    height: 21px;
}

div.todoItemLeft
{
    position: absolute;
    left: 0px;
    top: 0px;
    background-image: url(../images/todo_row_left.png);
    background-repeat: no-repeat;
    width: 4px;
    height: 21px;
}

div.todoItemRight
{
    position: absolute;
    right: 0px;
    top: 0px;
    background-image: url(../images/todo_row_right.png);
    background-repeat: no-repeat;
    width: 4px;
    height: 21px;
}

div.todoItemState_done, div.todoItemState_wip
{
    left: 2px;
    position: absolute;
    width: 30px;
    height: 21px;
    background-image: url(../images/dialog-ok-apply.png);
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
}

div.todoItemState_wip
{
    background-image: url(../images/list-remove.png);
}

div.todoItemDate
{
    left: 32px;
    position: absolute;
    line-height: 21px;
    width: 100px;
    color: #cfcfcf;
    font-weight: bold;
    font-style: italic;
    border-left: 1px solid #cfcfcf;
    border-right: 1px solid #cfcfcf;
    text-align: center;
}

div.todoItemsText, div.todoItemsTextPublic
{
    position: absolute;
    left: 134px;
    right: 62px;
    color: grey;
    margin-left: 3px;
    line-height: 21px;
    font-family: 'arial', 'sans';
    white-space: nowrap;
    overflow: hidden;
}

div.todoItemsTextPublic
{
    right: 22px;
}

div.todoItemActions, div.todoItemActionsPublic
{
    right: 2px;
    position: absolute;
    width: 60px;
    text-align: center;
    margin-top: 3px;
}
div.todoItemActionsPublic
{
    width: 20px;
}

div.todoItemTag
{
    float: left;
    min-width: 50px;
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 4px;
    margin-right: 2px;
    padding-left: 3px;
    padding-right: 3px;
    height: 11px;
    line-height: 11px;
    border: 1px solid #cfcfcf;
    font-size: 8px;
    color: #9b9b9b;
    text-align: center;
    background: #FFF;
    
    /* properties that work in some browsers.. */
    text-overflow: ellipsis;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -msie-border-radius: 3px; /* does this one even exist?? */
}

div.pri5, div.pri4, div.pri3, div.pri2, div.pri1
{
    float: left;
    width: 20px;
    height: 21px;
	background-image: url(../images/priority_4.png);
	background-repeat: no-repeat;
	background-position: center center;
}

div.pri4
{
	background-image: url(../images/priority_4.png);
}

div.pri3
{
    background-image: url(../images/priority_3.png);
}

div.pri2
{
    background-image: url(../images/priority_2.png);
}

div.pri1
{
    background-image: url(../images/priority_1.png);
    
}

div#centered
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    border: 4px solid grey;
    width: 400px;
    height: 100px;
    margin: auto;
    padding: 5px;
    background: #FFF;
    color: #000;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

div#centeredHead
{
    border-bottom: 2px solid silver;
    width: 100%;
}

h2.centeredHeadH1
{
    color: #009BDE;
    padding: 0px;
    margin: 0px;
    margin-left: 4px;
}

div#centeredContent
{
    margin: 5px;
    color: grey;
}



/* MENU */
/*** Nav bar styles ***/

ul.nav,
.nav ul{
/*Remove all spacings from the list items*/
	margin: 0;
	padding: 0;
	cursor: default;
	list-style-type: none;
	display: inline;
	font-size: 10px;
	font-style: italic;
	
}

ul.nav, ul.nav:hover{
	display: table;
	font-weight: bold;
	border-bottom: 1px dashed silver;
/*Just add the following properties and values
	width: 100%;
	table-layout: fixed;*/
}
ul.nav:hover{
    /* not used */
}

ul.nav>li{
	display: table-cell;
	position: relative;
	width: 125px;
	padding-left: 5px;

}


ul.nav li>ul{
/*Make the sub list items invisible*/
	display: none;
	position: absolute;
	width: 125px;
	font-weight: normal;
}

ul.nav li:hover>ul{
/*When hovered, make them appear*/
	display : block;
}

.nav ul li a{
/*Make the hyperlinks as a block element, sort of a hover effect*/
	display: block;
	padding-left: 5px;
	margin-left: -5px;
	border-bottom: 1px dashed grey;
}

/*** Menu colors (customizable) ***/

ul.nav,
.nav ul,
.nav ul li a{
	background-color: #fff;
	color: #369;
}


ul.nav li:hover,
.nav ul li a:hover{
	background-color: silver;
	color: #fff;
}

ul.nav li:active,
.nav ul li a:active{
	background-color: #036;
	color: #fff;
}

ul.nav,
.nav ul{
	background-color: transparent;
}

.nav a{
	text-decoration: none;
}
