/* CSS for apftscore.com */

/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body 
{
	line-height: 1;
}
ol, ul 
{
	list-style: none;
}
blockquote, q 
{
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after 
{
	content: '';
}

/* remember to define focus styles! */
:focus 
{
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins 
{
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*           */
/* end reset */
/*           */

/* tag styles */

body
{
    background-color: #dcdcdc;
    background-repeat: repeat-x;
    font-size: 10pt;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.25em;
}

/* h1 is used for site's header title */
h1
{
    font: normal 3em Georgia, "Times New Roman", Times, serif;
    margin: 0 0 20px;
    padding: 10px 0;
    font-weight: normal;
    text-align: center;
    text-shadow: 1px 1px 1px #ccc; /*--Not supported by IE--*/
}

h1 span
{
    color: #cc0000;
    font-weight: bold;
}

h1 small
{
    font-size: 0.35em;
    text-transform: uppercase;
    color: #999;
    font-family: Arial, Helvetica, sans-serif;
    text-shadow: none;
    display: block; /*--Keeps the small tag on its own line--*/
}

h2
{
    font-size: larger; 
    font-weight: bolder; 
    margin-top: 2em;
}

h3
{
    margin-top: 1.5em;
}

p
{
    margin: 1em 0;
}

blockquote
{
    font-size: 0.9em;
    margin: 1em 3em;
    padding: 1em;
    background-color: #E9E9E9;
    border: 1px solid #CCCCCC;
}

blockquote cite
{
    font-style: normal;
    font-weight: bolder;
}

ol, ul
{
    list-style: disc outside none;
    margin-left: 3em;
}

li
{
    margin-top: 1em;
}

small, .small
{
    font-size: smaller;
}

th
{
    font-size: 85%;
    text-align: center;
    font-weight: bolder;
    padding: 0 0.5em 0 0.5em;
}

td
{
    color: #000000;
    font-size: 10pt;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    padding: 0 0.5em 0 0.5em;
    margin: 0;
    border-spacing: 0;
    border: 0;
    vertical-align: middle;
}

/* links */
a:link, a:visited, a:active
{
    color: #cc0000;
}
a:hover
{
    color: #cc0000;
}

/* form input */
input[type="text"], input[type="submit"], input[type="password"], select, .select
{
    font-size: 14px;
    background-color: #F7F7F7;
    border: 1px solid gray;
}

input:focus, input:hover, select:focus, select:hover
{
    background-color: #F5F1DE;
}

/* main container element */
#main
{
    margin: 2em auto 2em auto;
    background-color: #FFFFFF;
    min-width: 920px;
    width: 920px;
    border: 1px solid #000000;
    padding: 0 20px 20px 20px;
    text-align: left;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

/* footer */
#foot
{
    clear: both;
    margin: 1.5em auto 1.5em auto;
    background-color: #FFFFFF;
    min-width: 920px;
    width: 920px;
    border: 1px solid #000000;
    padding: 0 20px 0 20px;
    text-align: center;
    font-size: smaller;
    line-height: 1.0em;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

/* front index page */
#left
{
    float: left;
    clear: left;
    width: 50%;
    padding: 0;
    margin: 0;
}
#right
{
    float: right;
    width: 45%;
    padding: 0 1em;
    margin: 0;
    background-color: #F5F1DE;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

/* rawscore input page (rawscore.php/rawscore.tpl) */
#scoreInput
{
    margin-left: auto; 
    margin-right: auto;
    border: 0;
}
#scoreInput td
{
    padding-top: 1px;
    padding-bottom: 1px;
}

/* score report page (score.php/score.tpl) */
#scoreReport
{
    margin: 2em auto 2em auto;
    min-width: 800px;  
    border: 0;
}
#scoreReport th
{
    text-align: left;
    padding-bottom: 1em;
}
#scoreReport small
{
    color: #888888;
    font-size: .75em;
}
#scoreReport tr.e /* even rows */
{
    background-color: #F5F5F5;
}
#scoreReport td.scoretotal
{
    background-color: #EEEEEE;
}
#scoreReport img
{
    border: 0;
}
#scoreReport .error
{
    background-color: #FFB5B5;
}
#scoreReport .error ul
{
    margin: 1em;
}
#scoreReport .error li
{
    padding: 0;
    margin: 0;
    font-size: 0.85em;
}

/* DA 705 scorecard creation page */
#da705
{
    margin: .5em auto .5em auto;
    background-color: #FFFFFF;
    min-width: 500px;
    width: 500px;
    border: 1px solid #000000;
    padding: 0 20px 0 20px;
    text-align: left;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
#da705 h2
{
    font-size: 1.1em;
    font-weight: bolder;
    margin: 1em 0 1em 0;
    text-align: center;
}
#da705 table
{
    border: solid black 2px; 
    margin: 1em auto 1em auto;
}
#da705 th, #da705 td
{
    padding: 2px;
    border-left: solid black 1px;
    border-right: solid black 1px;
}
#da705 th
{
    font-weight: normal;
    font-size: .75em;
    text-transform: uppercase;
}
#da705 td
{
    text-align: center;
    vertical-align: middle;
}
#da705 table input[type="text"], #da705 table select
{
    border: none;
    width: 4em;
    text-align: center;
    background-color: #DDDDDD;
}
#da705 table input[type="text"]:hover, #da705 table input[type="text"]:focus, #da705 table select:focus
{
    background-color: #F5F1DE;
}

#da705 table .result
{
    font-size: 1.5em;
    text-align: center;
}
#da705 div.options
{
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}
#da705 div.options ul
{
    list-style: none outside none;
    margin: 0;
}
#da705 div.options li
{
    position: relative;
    line-height: 25px;
    vertical-align: middle;
    margin-left: 2em;
}
#da705 div.options input
{
}
#da705 div.options label
{
    position: absolute;
    display: block;
    position: absolute;
    top: 0;
    left: 60px;
}
#da705 div.options img
{
    position: absolute;
    top: 0;
    left: -35px;
}
#da705 div.options input[type="file"]
{
    margin-left: 60px;
}
#da705 div.options .upload label
{
    position: relative;
    top: 0;
    left: 0;  
}



td.header
{
    font-size: 85%;
    font-weight: bolder;
    padding: 0 0.5em 0 0.5em;
}


input.name
{
    width: 12em;
}
input.reps
{
    width: 2.5em;
    text-align: center;
}
input.time
{
    width: 3.5em;
    text-align: center;
}

div.infoblock
{
    width: 65%;
    min-width: 450px;
    margin: 1.5em auto 1.5em auto;
    font-size: 0.9em;
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    padding: 1em;
}
div.infoblock h4
{
    font: normal 1.3em Georgia, "Times New Roman", Times, serif;
    margin-bottom: 1em;
    font-weight: normal;
    font-style: italic;
    text-align: center;
    text-shadow: 1px 1px 1px #ccc; /*--Not supported by IE--*/
}
div.infoblock table
{
    margin: 0 auto 0 auto;
}
div.infoblock td
{
    margin: 0;
    padding: 0 1em 0 1em;
}

div.frontblock
{
    background-color: #FFFFFF;
    margin: 2em auto 2em auto;
}

table.scorecard
{
    margin-left: auto;
    margin-right: auto;
}

/* forms */

/* Form styles */
div.form-container 
{ 
    margin: 10px 0px;
    padding: 5px;
    background-color: #FFF; 
    border: #EEE 1px solid; 
    -moz-border-radius: 10px;
    border-radius: 10px;
}
div.form-container form p
{ 
    margin: 0;
}
div.form-container form p.note 
{
    margin-left: 230px;
    font-size: 90%; 
    color: #333; 
}
div.form-container form p.tail
{
    margin: 1em 0;
    font-size: 85%;
    color: #333;
}
div.form-container form fieldset 
{
    margin: 5px 5px;
    padding: 10px;
    border: #DDD 1px solid;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
div.form-container form legend
{ 
    font-weight: bold;
    font-style: italic;
    font-size: 1.2em;
    color: #666;
    text-shadow: 1px 1px 1px #ccc; /*--Not supported by IE--*/
}
div.form-container form fieldset div
{ 
    padding: 0.25em 0;
}
div.form-container label
{
    margin-right: 10px;
    padding-right: 10px; 
    width: 200px;
    display: block;
    float: left;
    text-align: right;
    position: relative;
}
div.form-container label.error, div.form-container span.error 
{
    color: #C00;
}
div.form-container label em 
{
    position: absolute; 
    right: 0; 
    font-size: 120%; 
    font-style: normal;
    color: #C00;
}
div.form-container input.error
{
    border-color: #C00;
    background-color: #FEF;
}
div.form-container input:focus, div.form-container input.error:focus, div.form-container textarea:focus 
{	
    background-color: #F5F1DE;
}
div.form-container div.controlset label, div.form-container div.controlset input 
{ 
    display: inline;
    float: none; 
}
div.form-container div.controlset label.controlset 
{ 
    display: block;
    float: left; 
}
div.form-container div.controlset div
{ 
    margin-left: 170px; 
}
div.form-container div.buttonrow 
{
    margin-left: 220px;
}

#scoreone div
{
    font-size: 20px;
    line-height: 30px;
    padding-left: 15px;
}
#scoreone input, #scoreone select
{
    font-size: 20px;
}

#scoremultiple div
{
    height: 18px;
    font-size: 14px;
    padding-left: 15px;
}
#scoremultiple input, #scoremultiple select
{
    font-size: 14px;
    position: absolute;
}
#login label
{
    width: 100px;
}
#login div.buttonrow
{
    margin-left: 120px;
}
#login input[type="text"]
{
    width: 15em;
}

/* end forms */

div.form-container img
{
    display: block;
    float: left;
}

.center
{
    text-align: center;
}

#guest
{
    float: left;
}
#guest INPUT
{
    width: 2em;
}
#member INPUT
{
    width: 8em;
}



.even
{
    background-color: #F5F1DE;
}

.fail
{
    color: red;
    font-weight: bolder;
}



.left
{
    text-align: left;
}

.help
{
    cursor: help;
}



div.info
{
    border: dashed gray 1px;
    padding: 0 1em;
    background-color: #F5F1DE;
}

div.info h2
{
    font: normal 1.5em Georgia, "Times New Roman", Times, serif;
    margin: 0;
    padding: 10px 0;
    font-weight: normal;
    font-style: italic;
    text-align: center;
    text-shadow: 1px 1px 1px #ccc; /*--Not supported by IE--*/
}

/* usage tips blanket */
#blanket 
{
    background-color: #111;
    opacity: .65; /* current browsers except IE */
    filter: alpha(opacity=65); /* for IE 6-8. Won't validate. Oh well. */
    position: absolute;
    z-index: 9001;
    top: 0px;
    left: 0px;
    width: 100%;
}

/* usage tip pop-ups */
.popup 
{
    position: absolute;
    background-color: #eeeeee;
    border: solid black 2px;
    width: 500px;
    height: 300px;
    z-index: 9002;
}
.popup div.titlebar
{
    background-color: black;
    height: 20px;
}
.popup div.titlebar img
{
    float: right;
    border: 0;
    cursor: pointer;
}
.popup div.body
{
    height: 275px;
    padding: 0px 10px 5px 10px;
    overflow: auto;
}
.popup div.body h2
{
    margin: 5px 0;
}
