body {font-family:Arial,Helvetica,sans-serif;font-size:13px;}

/* Color scheme */
.primary-1 { background-color: #0A67A3 }
.primary-2 { background-color: #24587A }
.primary-3 { background-color: #03426A }
.primary-4 { background-color: #3E97D1 }
.primary-5 { background-color: #65A6D1 }

.secondary-a-1 { background-color: #162EAE }
.secondary-a-2 { background-color: #2D3B83 }
.secondary-a-3 { background-color: #071871 }
.secondary-a-4 { background-color: #4A60D7 }
.secondary-a-5 { background-color: #7080D7 }

.secondary-b-1 { background-color: #FFB600 }
.secondary-b-2 { background-color: #BF9630 }
.secondary-b-3 { background-color: #A67600 }
.secondary-b-4 { background-color: #FFC840 }
.secondary-b-5 { background-color: #FFD773 }

.complement-1 { background-color: #FF8E00 }
.complement-2 { background-color: #BF8030 }
.complement-3 { background-color: #A65C00 }
.complement-4 { background-color: #FFAA40 }
.complement-5 { background-color: #FFC173 }

.white { color:#ffffff; }
.black { color:#000000; }

body {background-color:#B1D1E6;}
#main_container {width:890px;margin:15px auto;padding:30px;border:2px solid #2D3B83;background-color:#fff;border-radius:8px;}
#main_container h1 {text-align:center;color:#2D3B83;margin:5px 0 10px 0;}
.upperbanner {float:left;width:280px;min-height:250px;overflow:none;margin-bottom:10px;}
.clear {clear:both;}
#leftbanner {margin-right:10px;}
#rightbanner {margin-left:10px;}
#page_header, #page_footer {width:728px;margin:15px auto;}

#chooserbox table {margin:0px auto;background:#e3e3e3;border-radius:10px;border:1px solid #999;padding:20px;color:#666;box-shadow:0 10px 5px -5px #666;}
#chooserbox th {text-align:left;padding-right:16px;padding-bottom:3px;font-size:16px;color:#333;text-shadow:0px 2px 5px #fff;}
#chooserbox th.leftcol {}
#chooserbox td {vertical-align:middle;padding:6px 3px;font-weight:bold;}
#chooserbox td.leftcol {padding-right:25px;}
#chooserbox input {margin:0 10px 0 0;vertical-align:middle;}

#presentedby {font-weight:bold;margin:1px 4px 3px 4px;}
#presentedby label {color:#0A67A3;padding-right:10px;display:inline-block;}
#presentedby input {display:inline-block;width:110px;border:2px solid #0A67A3;text-align:center;}
#presentedby #linkline {display:block;text-align:right;float:right;margin-top:4px;}
#presentedby .red {color:#FF2A31;}
#presentedby a {text-decoration:none;color:#162EAE;}
#cubic {float:left;color:#0A67A3;}
#cubic label {color:#0A67A3;padding-right:25px;display:inline-block;font-style:italic;}
#cubic input#cubicfield {display:inline-block;width:150px;border:2px solid #0A67A3;text-align:center;color:#0A67A3;font-weight:bold;}

/* input-table */
#wrapper-table {margin:0 auto;border-spacing:0;background-color:#BFD5E3;border:8px solid #BFD5E3;border-radius:6px;box-shadow:0 10px 5px -5px #666;}
#input-table {border-collapse:collapse;}
#input-table th {padding:5px 8px 8px 8px;}
#input-table td {padding:2px 8px;}
#input-table td, #input-table th {border:1px solid;}
#input-table th {vertical-align:top;}
#input-table .th1
{
    background-color:#162EAE;
    background: -webkit-gradient(linear,left top,left bottom, from(#162eae),to(#071871));
    background: -moz-linear-gradient(top, #162eae, #071871);
    background: -ms-linear-gradient(top, #162eae, #071871);
    background: -o-linear-gradient(top, #162eae, #071871);
    color:#fff;
    text-shadow:1px 2px 2px #000;
    border:1px solid #7080D7;
}
#input-table .td1s, #input-table .td1t
{
    background-color:#162EAE;
    background: -webkit-gradient(linear,left top,left bottom, from(#162eae),to(#071871));
    background: -moz-linear-gradient(top, #162eae, #071871);
    background: -ms-linear-gradient(top, #162eae, #071871);
    background: -o-linear-gradient(top, #162eae, #071871);
    color:#fff;
    text-shadow:1px 2px 2px #000;
    border:1px solid #7080D7;
    font-weight:bold;
    text-align:center;
}
#input-table .td1p
{
    background-color:#CDE8FA;
    color:#000;
    border:1px solid #0A67A3;
    text-align:center;
}
#input-table .td1
{
    background-color:#65A6D1;
    background: -webkit-gradient(linear,left top,left bottom, from(#65A6D1),to(#3E97D1));
    background: -moz-linear-gradient(top, #65A6D1, #3E97D1);
    background: -ms-linear-gradient(top, #65A6D1, #3E97D1);
    background: -o-linear-gradient(top, #65A6D1, #3E97D1);
    color:000;
    border:1px solid #0A67A3;
    text-align:center;
}
#input-table .th2a
{
    background-color:#FFB600;
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border:1px solid #FFD773;
    border-top:1px solid #7080D7;
}
#input-table .th2a2
{
    background-color:#FFB600;
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border:1px solid #FFD773;
    font-size:11px;
    font-style:italic;
    padding:2px;
}
#input-table .th2b
{
    background-color:#FFB600;
    background: -webkit-gradient(linear,left top,left bottom, from(#FFB600),to(#A67600));
    background: -moz-linear-gradient(top, #FFB600, #A67600);
    background: -ms-linear-gradient(top, #FFB600, #A67600);
    background: -o-linear-gradient(top, #FFB600, #A67600);
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border:1px solid #FFD773;
}
#input-table .td2t
{
    background-color:#FFB600;
    background: -webkit-gradient(linear,left top,left bottom, from(#FFB600),to(#A67600));
    background: -moz-linear-gradient(top, #FFB600, #A67600);
    background: -ms-linear-gradient(top, #FFB600, #A67600);
    background: -o-linear-gradient(top, #FFB600, #A67600);
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border:1px solid #BF9630;
    border-bottom:1px solid #7080D7;
    font-weight:bold;
    text-align:center;
}
#input-table .td2
{
    background-color:#FFF1CC;
    color:#000;
    border:1px solid #BF9630;
    text-align:center;
}
#input-table .th3a
{
    background-color:#FF8E00;
    color:#FFDDB3;
    text-shadow:1px 1px 1px #000;
    border:1px solid #FFC173;
    border-top:1px solid #7080D7;
}
#input-table .th3a2
{
    background-color:#FF8E00;
    color:#FFDDB3;
    text-shadow:1px 1px 1px #000;
    border:1px solid #FFC173;
    font-size:11px;
    font-style:italic;
    padding:2px;
}
#input-table .th3b
{
    background-color:#FF8E00;
    background: -webkit-gradient(linear,left top,left bottom, from(#FF8E00),to(#A65C00));
    background: -moz-linear-gradient(top, #FF8E00, #A65C00);
    background: -ms-linear-gradient(top, #FF8E00, #A65C00);
    background: -o-linear-gradient(top, #FF8E00, #A65C00);
    color:#FFDDB3;
    text-shadow:1px 1px 1px #000;
    border:1px solid #FFC173;
}
#input-table .td3t
{
    background-color:#FFB600;
    background: -webkit-gradient(linear,left top,left bottom, from(#FF8E00),to(#A65C00));
    background: -moz-linear-gradient(top, #FF8E00, #A65C00);
    background: -ms-linear-gradient(top, #FF8E00, #A65C00);
    background: -o-linear-gradient(top, #FF8E00, #A65C00);
    color:#FFDDB3;
    text-shadow:1px 1px 1px #000;
    border:1px solid #BF9630;
    border-bottom:1px solid #7080D7;
    font-weight:bold;
    text-align:center;
}
#input-table .td3
{
    background-color:#FFC173;
    background: -webkit-gradient(linear,left top,left bottom, from(#FFC173),to(#FFAA40));
    background: -moz-linear-gradient(top, #FFC173, #FFAA40);
    background: -ms-linear-gradient(top, #FFC173, #FFAA40);
    background: -o-linear-gradient(top, #FFC173, #FFAA40);
    color:#000;
    border:1px solid #BF9630;
    text-align:center;
    width:48px;
}
#input-table .th4
{
    background-color:#0A67A3;
    background: -webkit-gradient(linear,left top,left bottom, from(#0A67A3),to(#03426A));
    background: -moz-linear-gradient(top, #0A67A3, #03426A);
    background: -ms-linear-gradient(top, #0A67A3, #03426A);
    background: -o-linear-gradient(top, #0A67A3, #03426A);
    color:#fff;
    text-shadow:1px 1px 1px #000;
    border:1px solid #65A6D1;
    border-top:1px solid #7080D7;
}
#input-table .th4r
{
    background-color:#0A67A3;
    background: -webkit-gradient(linear,left top,left bottom, from(#0A67A3),to(#03426A));
    background: -moz-linear-gradient(top, #0A67A3, #03426A);
    background: -ms-linear-gradient(top, #0A67A3, #03426A);
    background: -o-linear-gradient(top, #0A67A3, #03426A);
    color:#fff;
    text-shadow:1px 1px 1px #000;
    border:1px solid #65A6D1;
    border-top:1px solid #7080D7;
    border-right:1px solid #7080D7;
}
#input-table .td4t
{
    background-color:#0A67A3;
    background: -webkit-gradient(linear,left top,left bottom, from(#0A67A3),to(#03426A));
    background: -moz-linear-gradient(top, #0A67A3, #03426A);
    background: -ms-linear-gradient(top, #0A67A3, #03426A);
    background: -o-linear-gradient(top, #0A67A3, #03426A);
    color:#fff;
    text-shadow:1px 1px 1px #000;
    border:1px solid #65A6D1;
    border-bottom:1px solid #7080D7;
    font-weight:bold;
    text-align:center;
}
#input-table .td4tr
{
    background-color:#0A67A3;
    background: -webkit-gradient(linear,left top,left bottom, from(#0A67A3),to(#03426A));
    background: -moz-linear-gradient(top, #0A67A3, #03426A);
    background: -ms-linear-gradient(top, #0A67A3, #03426A);
    background: -o-linear-gradient(top, #0A67A3, #03426A);
    color:#fff;
    text-shadow:1px 1px 1px #000;
    border:1px solid #65A6D1;
    border-bottom:1px solid #7080D7;
    border-right:1px solid #7080D7;
    font-weight:bold;
    text-align:center;
}
#input-table .td4
{
    background-color:#A8CDE6;
    background: -webkit-gradient(linear,left top,left bottom, from(#A8CDE6),to(#82B2D2));
    background: -moz-linear-gradient(top, #A8CDE6, #82B2D2);
    background: -ms-linear-gradient(top, #A8CDE6, #82B2D2);
    background: -o-linear-gradient(top, #A8CDE6, #82B2D2);
    color:#000;
    border:1px solid #0A67A3;
    text-align:center;
}
#input-table .td4p
{
    background-color:#CDE8FA;
    color:#000;
    border:1px solid #0A67A3;
    text-align:center;
}
#input-table .td4r
{
    background-color:#A8CDE6;
    background: -webkit-gradient(linear,left top,left bottom, from(#A8CDE6),to(#82B2D2));
    background: -moz-linear-gradient(top, #A8CDE6, #82B2D2);
    background: -ms-linear-gradient(top, #A8CDE6, #82B2D2);
    background: -o-linear-gradient(top, #A8CDE6, #82B2D2);
    color:#000;
    border:1px solid #0A67A3;
    border-right:1px solid #7080D7;
    text-align:center;
}

td#advcell {font-weight:bold;color:#000;background:#fff;font-family:Tahoma,sans-serif;text-align:center;border-left:1px solid #7080D7;border-right:1px solid #7080D7;border-bottom:none;}
#advcell a {text-decoration:none;color:#f00;}
#advcell a:hover {text-decoration:underline;}
#input-table #brd td{padding:0;height:1px;border-left:none;border-right:none;border-top:none;background:#fff}
#input-table #brd td.blb {border-left:1px solid #7080D7;}
#input-table #brd td.brb {border-right:1px solid #7080D7;}
#input-table #brd .bbw {border-bottom:3px solid #FF2A31;border-left:1px solid #FF2A31;border-right:1px solid #FF2A31;}
#input-table #brd .bbwlc {border-left:3px solid #FF2A31;}
#input-table #brd .bbwrc {border-right:3px solid #FF2A31;}
#input-table .btw {border-top:3px solid #FF2A31;}
#input-table .blw {border-left:3px solid #FF2A31;}
#input-table .brw {border-right:3px solid #FF2A31;}

#button-wrapper {padding:15px 0 5px 0;width:870px;margin:0px auto;text-align:right;}
#button-wrapper input[type="button"]
{   margin-left:5px;padding:7px 15px;border:1px solid #03426A;border-radius:8px;box-shadow:0 6px 3px -3px #666, inset 0 0 6px rgba(7,24,113,0.5);
    font-weight:bold;color:#C6CDF1;
    background-color:#65A6D1;
    background: -webkit-gradient(linear,left top,left bottom, from(#65A6D1),to(#03426A));
    background: -moz-linear-gradient(top, #65A6D1, #03426A);
    background: -ms-linear-gradient(top, #65A6D1, #03426A);
    background: -o-linear-gradient(top, #65A6D1, #03426A);
    cursor:pointer;
}
#button-wrapper input[type="button"]:hover {
    color:#fff;
    background-color:#0A67A3;
    background: -webkit-gradient(linear,left top,left bottom, from(#0A67A3),to(#03426A));
    background: -moz-linear-gradient(top, #0A67A3, #03426A);
    background: -ms-linear-gradient(top, #0A67A3, #03426A);
    background: -o-linear-gradient(top, #0A67A3, #03426A);
}
#input-table td input, #input-table td span {max-width:48px;text-align:center;background:none;border:none;}

#note {color:#0A67A3;font-size:11px;float:left;}
#reportbuttons {float:right;text-align:center;margin:5px 0;}
#reportbuttons p {color:#000;padding:7px 15px;margin:3px 0 3px 0;font-weight:bold;}
#reportbuttons p.error {
    background-color:#FFB600;
    background: -webkit-gradient(linear,left top,left bottom, from(#FFD773),to(#FFB600));
    background: -moz-linear-gradient(top, #FFD773, #FFB600);
    background: -ms-linear-gradient(top, #FFD773, #FFB600);
    background: -o-linear-gradient(top, #FFD773, #FFB600);
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border-radius:8px;
    box-shadow:0 6px 3px -3px #666, inset 0 0 6px rgba(7,24,113,0.5);
}
#reportbuttons p.refer {
    background-color:#FF8E00;
    background: -webkit-gradient(linear,left top,left bottom, from(#FFC173),to(#FF8E00));
    background: -moz-linear-gradient(top, #FFC173, #FF8E00);
    background: -ms-linear-gradient(top, #FFC173, #FF8E00);
    background: -o-linear-gradient(top, #FFC173, #FF8E00);
    color:#222;
    text-shadow:1px 1px 1px #fff;
    border-radius:8px;
    box-shadow:0 6px 3px -3px #666, inset 0 0 6px rgba(7,24,113,0.5);
}

#reportbuttons p a {text-decoration:none;color:#613500;display:block;}
#reportbuttons p a:hover {text-decoration:underline;}
#calc_footer {text-align:center;margin:10px 0;font-style:italic;padding:10px 0;}
.full-table{ width: 100%;}
.full-table table{ width: 100%;}
.row-heading{ color: #333;
    font-size: 16px;
    padding-bottom: 3px;
    padding-right: 16px;
    text-align: left;
    text-shadow: 0 2px 5px #fff;}
.upperbanner.full-table{min-height:inherit;margin-bottom:20px;} 
