body{
    text-transform: uppercase;
}
@page { margin: 0px; }
body { margin: 0px; }
/* .page_1 { margin-top: -10px;} */
  
.row1{ top: 34px; }     /* Shipper  */
.row2{ top: 124px; }    /* Consignee  */
.row3{ top: 213px; }    /* Notify Party  */
.row4{ top: 260px; }    /* Delivery Info  */

.row5{ top: 313px; }    /* Pre-Carriage vessel     */
.row6{ top: 350px; }    /* Ocean vesse, BL NO  */

.row7{ top: 390px; }    /* Port of discharge  */

.row8{ top: 439px; }    /* Container Info , Goods Discription */

.row9{ top: 508px; }    /* Container NO  */
.row10{ top: 767px; }   /* Freight Information  */
.row11{ top: 924px; }  /* Rate, issue date*/

.c1{ left: 13px; } 
.c2{ left: 36px; } 
.c3{ left: 184px; } 
.c4{ left: 236px; }  /* Port  */
.c5{ left: 299px; } /* Goods Discription  */
.c6{ left: 374px; } /* Rate  */

.c7{ left: 444px; } /* Delivery Agent  */
.c8{ left: 522px; } /* ISSUE DATE  */
.c9{ left: 560px; }  /* bl_no, weight  */
.c10{ left: 736px; }  /* collect  */
.c11{ left: 654px; }  /* measurement  */

.shipper, .consignee, .notify_party {
    position: absolute;
    min-height: 80px;
    max-height: 80px;
    width: 750px;
}

.delivery_agent {
    position: absolute;
    min-height: 50px;
    max-height: 70px;
    max-width: 650px;
}

.pre_carriage_vessel {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 260px;
}

.voy_no {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 140px;
}

.ocean_vessel {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    /* max-width: 260px; */
    width: 310px;
}

.voy_no_destination {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    /* max-width: 200px; */
    width: 140px;
}

.place_of_receipt, .place_of_loading, .final_destination {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    width: 360px;
    left: 545px;
}

.booking_ref_no {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 330px;
}

.bl_no {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    width: 310px;
}

.port_of_discharge {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 440px;
}

.shipper_ref {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 330px;
}

.original_bl {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 310px;
}

.container_info {
    position: absolute;
    min-height: 200px;
    max-height: 315px;
    max-width: 215px;
}

.marks {
    max-width: 450px;
    max-height: 130px;
    overflow: hidden;
    margin-bottom: 20px;
}

.qty {
    position: absolute;
    min-height: 18px;
    max-height: 40px;
    max-width: 120px;
}

.discription_of_goods {
    position: absolute;
    min-height: 300px;
    max-height: 300px;
    max-width: 510px;
}

.weight {
    position: absolute;
    min-height: 200px;
    max-height: 200px;
    max-width: 150px;
}

.measurement {
    position: absolute;
    min-height: 200px;
    max-height: 200px;
    max-width: 150px;
}
.container_info {
    max-width: 450px;
}
.container_list {
    margin-bottom: 10px;
}
.notify_party2 {
    margin-top: 20px;
}

.freight_info {
    position: absolute;
    min-height: 154px;
    max-height: 154px;
    max-width: 430px;
}

.revenue_tons {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 200px;
}

.rate {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 200px;
}

.prepaid {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 200px;
}

.collect {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 200px;
}

.ex_rate {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 250px;
}

.prepaid2 {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    max-width: 200px;
}

.payable_at {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    width: 320px;
}

.place_issue {
    position: absolute;
    min-height: 18px;
    max-height: 18px;
    width: 490px;
}

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

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

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

.rider_sheet {
    text-justify: inter-word;
    min-height: 700px;
}

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

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

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

.rider_sheet tr {
    border: 1px solid;
}

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

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