/* reset all margins */
* {
    margin: 0px;
    padding: 0px;
    border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

/* the background of page is RGB "FFFFFF"*/
#bodyMain{
    background: #FFFFFF;
    padding: 0 20%;
}

/* the header. Contain logo and link to home*/
#bodyHeader{
    background: #D2B48C; /* Older browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #D2B48C 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#D2B48C)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* IE10+ */
    background: linear-gradient(top, #ffffff 0%,#D2B48C 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#D2B48C',GradientType=0 ); /* IE6-9 */
    border: solid;
    border-width: 1px;
    border-color: #639CCE;
    padding: 0 0;
    float: left;
    width: 100%;
	min-width: 500px;
}
/* logo and title */
img{
    display: inline;
}
#linkImg{
	float: right;
	margin: 20px 15px 15px 0;
	max-width:40%
}

#siteName{
    font: 32pt Helvetica,"Helvetica neue", Arial, sans-serif;
    color: #316B9B;
    font-size: 20px;
    text-align: center; 
    display: block;   
}
#siteNameLink:active{color: #316B9B; text-decoration: underline;}
#siteNameLink:link{color: #316B9B;text-decoration: underline;}
#siteNameLink:visited{color: #316B9B;text-decoration: underline;}
#siteNameLink:hover{color: red;text-decoration: underline;}

#bodyFooter{
    clear: both;
    background: #D2B48C; /* Older browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #D2B48C 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#D2B48C)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ffffff 0%,#D2B48C 100%); /* IE10+ */
    background: linear-gradient(top, #ffffff 0%,#D2B48C 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#D2B48C',GradientType=0 ); /* IE6-9 */
    border: solid;
    border-width: 1px;
    border-color: #639CCE;
    text-align: center;
    width: 100%;
    min-width: 500px;
}
#copyright{
    color: #316B9B;
    
}

#todayDate{
	color: #567890;
	float: right;
	padding: 12px;
}

#mainSection{
    background: #FBEFDF;
    border: solid;
    border-width: 1px;
    border-color: #639CCE;
    text-align: center;
    width: 100%;
	min-width: 500px;
    float:left;
    height: 500px;
}


/* content objects */
/* login wrapper */
#loginWrapper {
	margin: 0px auto;
	width: 310px;
	height: 150px;
	padding: 10px 1px 10px 50px;
	margin-top: 150px;
	-moz-box-shadow: 0px 0px 10px #888;
	-o-box-shadow: 0px 0px 10px #888;
	-webkit-box-shadow: 0px 0px 10px #888;
	-moz-border-radius: 10px 10px 10px 10px;
	-o-border-radius: 10px 10px 10px 10px;
	-webkit-border-radius: 10px 10px 10px 10px;
}

/* form */
form ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

form ul li {
	margin: .9em 0 0 0;    
    padding: 0;
    display: block;
}

form *:focus {
    border: 2px solid #7c412b;
    outline: none;
}

/* field labels */
label {
    clear: left;
    text-align: right;
    width: 15%;
    font-family: arial;
    font-weight: bold;
    font-size: 15px;
    color: #316B9B;
}

/* input fields */
input {
    font-size: .9em;
}

input {
    border: 2px solid #639CCE;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
}

input {
    display: inline;
    margin: 0;
    padding: .4em;
    width: 80%;
}
input:valid {
    background: #efe;
}

/* Place a border around focused fields */
form *:focus {
    border: 2px solid #7c412b;
    outline: none;
}

/* submit button */
.buttons {
	text-align: center;
	margin: 20x 0 0 -80px;
}
input[type="submit"], input[type="button"]{
	display: inline;
    margin: 0 5px;
	margin-left:20px;
    /* width: 10em; */
	width:100%
    padding: 10px;
    border: 2px solid #7c412b;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
    -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8);
    /* box-shadow: 0 0 .5em rgba(0, 0, 0, .8); */
    color: #316B9B;
    background: #D2B48C; /*  old ca5f34*/
    font-weight: bold;
    -webkit-appearance: none;
}
input[type="submit"]:hover, input[type="submit"]:active, input[type="button"]:hover, input[type="button"]:active {
    cursor: pointer;
    background: #fff;
    color: #ef7d50; /* old #ef7d50 */
}

input[type="button"]:active, input[type="button"]:active {
    background: #eee;
    -moz-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
    -webkit-box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
    box-shadow: 0 0 .5em rgba(0, 0, 0, .8) inset;
}
