@page{
    margin: 0;
}

#container{
    width: 1034px;
    padding: 0 30px;
    margin: 0 auto;
    min-height: 100%;
    height: auto;
}

#a4{
    width: 200mm;
    margin: 0 auto;
    background: white;
}

#a4_inner{
    width: 180mm;
    padding: 10mm 15mm 0mm 15mm;
}

#a4_inner table{
    font-size: 12px;
    width: 100%;
}

#a4_inner table tr, #a4_inner table th{
    height: 25px;
    vertical-align: center;
}

.with_border, .with_border th, .with_border td{
    border: solid 1px black;
}

#a4_title{
    float:right;
    width: 300px;
    height: 70px;
}

#a4_header_letterhead{
    clear: both;
    width: 100%;
    height: 60px;
    margin-bottom: 10px
}

#a4_title h2{
    text-align: right;
    font-size: 37px;
    font-weight: normal;
    line-height: 70px;
    margin: 0;
}

#a4_header_letterhead h2{
    text-align: center;
    font-size: 40px;
    font-weight: normal;
    line-height: 60px;
    margin: 0;
}

#a4_header{
    height: 70px;
    width: 100%;
    clear: both;
}

.a4_small_cell{
    width: 150px;
    text-align: left;
    background-color: #e0e0e0;
    font-weight: bold;
}

body{
    margin: 5px;
    background: url(../media/bg.jpg);
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    margin: 0;
}

#header{
    height: 70px;
    width: 100%;
    clear: both;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    padding-top: 5px;
}

#logo{
    height: 70px;
    width: 350px;
    float: left;
    margin-right: 12px;
    margin-top: 5px;
}

#logo img {
    height: 70px;
}

.logo{
    height: 70px; 
    float: left;
    margin-bottom: 15px;
}

.logo_image{
    height: 70px;
}

#mainmenu {
    width: auto;
    float: right;
    height: 47px;
    margin: 15px 0 8px 0;
    background: #333;
}

.ok {
    background: #F3F3F3 url(../media/green_checkmark.png) no-repeat;
    background-position: left 10px center;
    padding-left: 35px;
}

.button.pencil {
    background: #F3F3F3 url(../media/pencil.png) no-repeat;
    background-position: left 10px center;
    padding-left: 35px;
}

button, .button{
    background: #F3F3F3;
    border: 1px solid #DCDCDC;
    border-radius: 2px;
    color: #333;
    cursor: pointer;
    display: inline-block;
    font: 700 11px Tahoma, Arial, sans-serif;
    margin-right: 10px;
    padding: 10px 15px;
    position: relative;
    text-decoration: none;
    text-shadow: 0px 1px 0px #FFFFFF;
}

button:hover, .button:hover{
    border-bottom-color: #999999;
    border-left-color: #999999;
    border-right-color: #999999;
    border-top-color: #999999;
    color: #333333;
    text-decoration: none;
}

.login_box {
    width: 400px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #DCDDE1;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
    -moz-box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
    box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
    color: #444;
    margin-top: 150px;
    padding: 20px 10px;
}

.center{
    width: 100%;
    text-align: center;
}

form {
    margin: 0;
}

form label {
    color: #575757;
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 5px 0;
    padding: 0 0 0 3px;
}

form input, form select, form textArea {
    margin: 0 0 12px 0;
    width: 100%;
    max_width: 400px;
}

form input, form select, form textarea {
    background: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    font-size: 11px;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    padding: 5px 3px;
}

.sep {
    border-bottom: 1px dashed #DDDDDD;
    margin: 0 0 10px 0;
    clear: both;
}

#footer {
    width: 100%;
    height: 50px;
    font-size: 12px;
    clear: both;
    padding-top: 15px;
    border-top: 2px solid #333;
    margin-top: 30px;
}

.widgets{
    width:auto;
    margin:0 auto;
    clear: both;
    height: 352px;
}

.widget{
    width: 325px;
    height: 330px;
    float: left;
    margin: 0 7px;
    border-radius: 5px;
    -webkit-box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
    -moz-box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
    box-shadow: 2px 2px 0px 1px rgba(235, 235, 235, 1);
}

.widget-header{
    width: 305px;
    line-height: 35px;
    padding: 0 10px;
    color: #fff;
}

.widget-container{
    width: 305px;
    padding: 0 10px;
    overflow-y: scroll;
    height: 295px;
}

.widget-header .icon {
    height: 15px;
    margin: 1px 10px -1px 0;
}

.widget-container ul {
    list-style-type: none;
    width: 305px;
    padding: 0;
}

.widget-container ul li {
    width: 270px;
    padding: 5px 0;
    background: url(../media/list.png) no-repeat;
    background-position-x: 5px;
    background-position-y: 8px;
    padding-left: 35px;
}

.page_title{
    float: left;
    width: 600px;
}

.user_info{
    float: right;
    width: 400px;
    text-align: right;
    margin-top: 15px;
    font-size: 16px;
}

.clear {
    clear: both;
    height: 1px;
}

.left{
    float: left;
}

.right{
    float: right;
}

a.button{
    color: #333;
}

a {
    text-decoration: none;
}

.col1{
    width: 500px;
    float: left;
}

.col2{
    width: 500px;
    float: right;
}

.a4_col1{
    width: 340px;
    float: left;
}

.a4_col2{
    width: 340px;
    float: right;
}

.a4_lines{
    width:100%;
    border-spacing: 1px;
    border: 1px solid;
    border-color: #999999;
    -webkit-print-color-adjust: exact;
    margin-bottom: 30px;
}

.a4_lines th{
    background-color: #e0e0e0;
    padding: 8px;
    text-align: center;
}

.a4_footer{
    font-size: 10px;
    border-top: solid 1px black;
    text-align: center!important;
    margin-top: 20px;
    clear: both;
    line-height: 10px;
}

.a4_footer p{
    margin: 3px 0px;
}

th.a4_product{
    min-width: 300px!important;
}

th.a4_total{
    width: 200px!important;
}

td.a4_summary{
    background-color: #e0e0e0;
    font-weight: bold;
}

.a4_signature{
    float: right;
    width:250px;
    text-align: center;
}

.mandatory{
    color: red;
}

.mini_label{
    font-size: 10px;
    font-style: italic;
}

.last_activity{
    font-size: 12px;
    font-style: italic;
}

input:read-only {
    background-color: #ccc;
}

input:-moz-read-only {
    background-color: #ccc;
}

form select {
    height: 35px;
}

form textarea {
    height: 85px;
} 

.error_message {
    width: 100%;
    text-align: center;
    font-style: italic;
    color: red;
    background: lightyellow;
    border: solid 1px;
    margin: 0 0 15px 0;
    padding: 5px; 
}

.separator{
    height: 22px;
}

.widget_column{
    width: 140px;
    margin: 0 5px;
    float:left;
}

table{
    text-align: left;
}

.a4_lines td{
  border-spacing: 1px;
  border: 1px solid;
  border-color: #999999;
}
