.dh-wrapper{
    display:block;
}

.dh-form{
    max-width:400px;
    margin-bottom:30px;
}

.dh-form input,
.dh-form select{
    width:100%;
    padding:10px;
    margin-top:8px;
    box-sizing:border-box;
}

.dh-item{
    margin-bottom:10px;
}

.dh-paper{
    width:21.59cm;
    min-height:33.02cm;
    padding:1cm 2cm;
    border:1px solid #ccc;
    background:#fff;
    box-sizing:border-box;
}

.dh-table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

.dh-table th,
.dh-table td{
    border:1px solid #000;
    padding:8px;
    font-size:13px;
}

.dh-table td{
    height:35px;
}

.dh-info{
    margin-top:20px;
}

#dh_hasil_kop{
    text-align:center;
}

.dh-table th,
.dh-table td{
    text-align:center;
    vertical-align:middle;
}

.dh-table td:nth-child(2),
.dh-table td:nth-child(3),
.dh-table td:nth-child(4){
    text-align:left;
}

.dh-item{
    border:1px solid #ddd;
    padding:10px;
    margin-bottom:10px;
    background:#fafafa;
}

.dh-paper{
    width:21.59cm;
    min-height:33.02cm;
    padding:1cm 1.5cm;
    border:1px solid #ccc;
    background:#fff;
    box-sizing:border-box;
}

.dh-title-area{
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
}

.dh-title-area h3{
    margin:0;
    margin-bottom:5px;
}

.dh-info{
    margin-bottom:20px;
    line-height:1.8;
}

.dh-table{
    width:100%;
    border-collapse:collapse;
}

.dh-table th,
.dh-table td{
    border:1px solid #000;
    padding:5px;
    font-size:13px;
}

.dh-table th{
    text-align:center;
    background:#f5f5f5;
}

.dh-no{
    text-align:center;
    width:50px;
}

.dh-text{
    padding-left:8px;
}

.dh-ttd{
    height:42px;
    vertical-align:top;
    position:relative;
}

.dh-ttd-no{
    position:absolute;
    top:3px;
    left:5px;
    font-size:12px;
}

#dh_hasil_kop{
    text-align:center;
}

#dh_hasil_kop h2{
    margin-bottom:5px;
}

.dh-item{
    border:1px solid #ddd;
    padding:10px;
    margin-bottom:10px;
    background:#fafafa;
}

.dh-item input{
    width:100%;
    padding:10px;
    margin-bottom:8px;
    box-sizing:border-box;
}

@media print{

    body *{
        visibility:hidden;
    }

    #dh_print_area,
    #dh_print_area *{
        visibility:visible;
    }

    #dh_print_area{
        position:absolute;
        left:0;
        top:0;
        width:100%;
    }

    .dh-paper{
        border:none;
    }

    @page{
        size:folio;
        margin-top:1cm;
        margin-bottom:1cm;
        margin-left:1cm;
        margin-right:1cm;
    }

}