body {
    margin:1px;
    color:#444;
    font-family: Tahoma, Arial, Helvetica, Tahoma, serif;
    font-size:14px;
}
.large_wrapper{
    max-width:960px;
    margin: 20px;
}

.tab_wrapper{
    max-width:600px;
}
.calc{
    margin:10px 20px;
    border: solid 1px #aaa;
    border-radius:5px 5px 5px 5px;
    padding:0 10px;
}
.form_wrapper{
    float:left;
    width:100%;
    border:solid 1px #666;
    border-radius:5px;
    overflow-x:hidden;
    clear:both;
    margin:10px 0;
}
.form_head{
    clear:both;
    float:left;
    width:100%;
    padding:5px 0;
    text-align: center;
    background: -moz-linear-gradient(#0B5903, #0E820C) repeat scroll 0 0 #0E820C;
    background: -webkit-linear-gradient(#0B5903, #0E820C) repeat scroll 0 0 #0E820C;
    background: -o-linear-gradient(#0B5903, #0E820C) repeat scroll 0 0 #0E820C;
    background-color:#0E820C;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 0 -1px 1px #254F7A;
}
.form_head h1{
    font-size:14px;
    margin:3px 10px;
}
.form_head span.info{
    font-size: 11px;
    color:#ffffff;
}
.form_row, .chart_wrapper{
    clear:both;
    float:left;
    width:100%;
    margin:0;
    padding: 5px 0;
    background:#fff;
    position:relative;
    min-height:30px;
}
.form_row span.info{
    font-size:11px;
    color:#444;
    display:block;
    font-weight: normal;
}

.row_separator{
    height:15px;
}
input[type="text"], select{
    text-align:right;
    width:92%;
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    border-radius:3px;
    line-height:20px;
    height:20px;
    margin:0;
    margin-bottom: 0;
    position: relative;
    vertical-align: top;    
    padding: 4px 6px;
}
input.center, .center{
    text-align: center;
}
.big_row{
    min-height:55px;
}
.big, input.big{
    font-size: 24px;
    font-weight:bolder;
    line-height:40px;
    height:40px;
}

select{
    height:28px;
    line-height:28px;
    width:100%
}
input[type="text"]:focus, select:focus{
    border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */

  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}
input.prepend, input.append{
    width:78%;
    display:inline block;
    position:absolute;   
    padding: 4px 1%;
    
}
.right_wrapper input.prepend, .right_wrapper input.append{
    width:70%;
}

.right_wrapper div.prepend, .right_wrapper div.append{
    width:25%;
    padding: 4px 0;
}
input.prepend{
    border-radius: 0 3px 3px 0;
    right:0;
    top:0;
}
input.append{
    border-radius: 3px 0 0 3px;
    left:0;
    top:0;
}
div.prepend, div.append{
    background-color: #DDDDDD;
    border: 1px solid #CCCCCC;
    display: inline-block;
    font-size: 14px;
    font-weight: normal;
    height: 20px;
    line-height: 20px;
    min-width: 16px;
    padding: 4px 3%;
    text-shadow: 0 1px 0 #FFFFFF;
    vertical-align: middle;
    width: 15%;
    text-align:center
}
div.prepend{
    border-radius: 3px 0 0 3px;
    float: left;
    padding:4px 3% 4px 0
}
div.append{
    border-radius: 0 3px 3px 0;
    float: right;
    padding:4px 0 4px 3%
}

div.big_prepend, div.big_append{
    font-size: 24px;
    font-weight:bolder;
    line-height:40px;
    height:40px;
    background-color: #DDDDDD;
    border: 1px solid #CCCCCC;
    display: inline-block;
    min-width: 16px;
    padding: 4px 3%;
    text-shadow: 0 1px 0 #FFFFFF;
    vertical-align: middle;
    width: 15%;
    text-align:center
}
div.big_prepend{
    border-radius: 3px 0 0 3px;
    float: left;
    padding:4px 4% 4px 0
}
div.big_append{
    border-radius: 0 3px 3px 0;
    float: right;
    padding:4px 0 4px 4%
}
.pull-right{
    float:right;
}
.pull-left{
    float:left;
}
.aright{
    text-align: right;
}
div.textbox{
    width:100%;
    position:relative;
}
.clear{
    clear:both;
}
/*divide rest to 4 grid */
.span_four{
    float:left;
    width:22%;
    padding:0 1.5%;
}

.right_wrapper{
    max-width:600px;
    min-width:450px;
    float:left;
}
.right_wrapper .tab_wrapper{
    margin: 10px 0;
}
.right_wrapper .form_row{
    height:30px;
}

input.writeable{
    background:#ffffcc;
}

input.readonly{
    background:#f8f8f8;
}

input.absolute{
    color:red;
}

.full_wrapper{
    width:100%;
}
span.red_info{
    font-size: 9px;
    color:red;
}
.span_large{
    width:75%;
    float:left;
    font-weight:bold;
    padding:5px 1%;
}
.span_title{
    width:20%;
    float:left;
    font-weight:bold;
    padding:5px 1%;
}
.span_ten{
    float:left;
    width:11%;
    padding:0 1%;
}
.span_long{
    float:left;
    width:50%;
    padding:0 1%;
}
.span_four .span2{
    width:20%;
    float:left;
    padding-top:6px;
}
.span_four .span8{
    width:80%;
}
.span_left{
    width:54%;
    float:left;
    font-weight:bold;
    padding:2px 4%;
}
.span_right{
    float:left;
    width:30%;
    padding:0 4%;
}

.span_left1{
    width:50%;
    float:left;
    font-weight:bold;
    padding:2px 1%;
}

.span_right1{
    float:left;
    width:21%;
    padding:0 1%;
}

.span_single{
    width:100%;
    text-align: center;
}
.span_nine{
    float:left;
    width:9%;
    padding:0 1%;
}
/*divide the rest to 8 grid */
.span_eight{
    float:left;
    width:7.5%;
    padding:0 1%;
}
.span_single input[type="button"], .span_single input[type="reset"]{
    margin:0 10px;
}

.bold{
    font-weight:bold;
}
.small{
    font-size:10px;
}
.hidden{
    display: none;
}
.form_head .span_right, .form_head .span_left, .form_head .span_right1, .form_head .span_left1{
    padding-top: 2px;
}

@media only screen and (max-width: 480px){
    .right_wrapper{
        width:100%;
        min-width:100px;
    }   
}
@media only screen and (max-width: 600px){
    .right_wrapper{
        width:100%;
    }   
}