body{
    text-transform: uppercase;
}
@page { margin: 0px; }
body { margin: 0px; }

.shipper, .consignee, .notify_party {
    position: absolute;
    max-width: 385px;
    max-height: 75px;
}

.delivery_agent {
    position: absolute;
    max-height: 70px;
    max-width: 320px;
}

.pre_carriage_vessel, .ocean_vessel {
    position: absolute;
    max-height: 26px;
    max-width: 155px;
}

.voy_no, .voy_no_destination {
    position: absolute;
    max-height: 26px;
    max-width: 55px;
}

.place_of_receipt, .place_of_loading, .final_destination {
    position: absolute;
    max-height: 26px;
    max-width: 172px;
}

.booking_ref_no, .shipper_ref {
    position: absolute;
    max-height: 26px;
    max-width: 160px;
}

.bl_no, .original_bl {
    position: absolute;
    max-height: 26px;
    max-width: 145px;
}

.port_of_discharge {
    position: absolute;
    max-height: 26px;
    max-width: 215px;
}

.container_info {
    position: absolute;
    max-height: 315px;
    max-width: 220px;
}

.marks {
    max-height: 130px;
    margin-bottom: 10px;
}

.container_list {
    margin-bottom: 10px;
}

.notify_party2 {
    margin-top: 10px;
}

.qty {
    position: absolute;
    max-height: 40px;
    max-width: 65px;
}

.discription_of_goods {
    position: absolute;
    max-height: 310px;
    max-width: 260px;
}

.weight {
    position: absolute;
    max-height: 310px;
    max-width: 80px;
}

.measurement {
    position: absolute;
    max-height: 310px;
    max-width: 65px;
}

.freight_info {
    position: absolute;
    height: 140px;
    width: 215px;
}

.revenue_tons {
    position: absolute;
    max-height: 140px;
    max-width: 105px;
}

.rate {
    position: absolute;
    max-height: 140px;
    max-width: 125px;
}

.prepaid {
    position: absolute;
    max-height: 140px;
    max-width: 120px;
}

.collect {
    position: absolute;
    max-height: 140px;
    max-width: 110px;
}

.ex_rate {
    position: absolute;
    max-height: 80px;
    max-width: 135px;
}

.prepaid2 {
    position: absolute;
    max-height: 32px;
    max-width: 130px;
}

.payable_at {
    position: absolute;
    max-height: 32px;
    max-width: 160px;
}

.place_issue {
    position: absolute;
    max-height: 32px;
    max-width: 240px;
}

.shipped_on_board {
    position: absolute;
    font-size: 18px;
    font-family: monospace;
}

.page_2 {
    display: block;
    padding: 40px;
}

.page2_title {
    font-size: 12px;
    text-align: center;
}

.rider_sheet {
    text-justify: inter-word;
}

.rider_sheet .title {
    text-align: center;
    font-size: 24px;
}

.rider_sheet table {
    border-collapse: collapse;
    margin-bottom: 20px;
}

.rider_sheet tr {
    border: 1px solid #999999;
}

.rider_sheet table thead {
    background-color: #333333;
    color: white;
}

.rider_sheet td {
    border: none;
    font-weight: bold;
    padding: 5px;
}

.rider_sheet h3 {
    margin-top: 30px;
}