.stamp{}
.stamp > form > .signer, .stamp > form > .document{
    margin-bottom: 31px;
}
.stamp > form > .signer > div, .stamp > form > .document > div{
    margin-bottom: 13px;
}
.stamp button{
    width: 60%;
}

.stamp .input-group-text{
	width: 130px;
	justify-content: center;
}


@media print {
    body > * {
        display: none;
        visibility: hidden;
    }

    body{
        height: 711px;
        min-height: 711px;
        max-height: 711px;
    }

    .content {
        margin: -300px 0 0 0 !important;
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden;
        visibility: visible;
        line-height: 1;
    }

    /**/
    .body, .main, .block, .content {
        display: block !important
    }

    .content > div:not(:last-child), #stamp > div:last-child {
        display: none !important;
        visiblity: hidden !important
    }

    #stamp-body {
        width: 75% !important
    }

    #stamp table {
        font-size: 16px;
    }

    #stamp-body tbody tr td > div:nth-child(2) > div:nth-child(2) {
        font-size: 12px !important
    }
}

.content {
    width: 100%;
    margin: 0 auto;
    padding-top: 20px;
    font-family: Arial;
    font-size: 12px;
}

.error, .fatal {
    background-color: #c81414
}

.info {
    background-color: #008000
}

.warning {
    background-color: #ff4500
}

#status_msg {
    margin-top: 10px;
    padding: 10px;
    text-align: center;
    color: #fff;
    font-family: Arial;
    font-size: 12px;
}

#stamp {
    margin-top: 10px;
    line-height: 1.2;
}

#stamp-body {
    border: 3px solid #000;
    font-family: Calibri, 'Times New Roman', Arial;
    font-size: 16px;
    width: 85%;
    margin: 0 auto
}

#stamp-body > tbody > tr > td {
    padding: 10px
}

#stamp-body span {
    margin-right: 7px;
}

#stamp-body tbody tr td > div {
    width: 90%;
    text-align: center;
    margin: 0 auto
}

#stamp-body tbody tr td > div:first-child {
    margin-bottom: 10px
}

#stamp-body tbody tr td > div:nth-child(4), #stamp-body tbody tr td > div:nth-child(6) {
    line-height: 40px;
    font-weight: 900
}

#stamp-body tbody tr td > div:nth-child(2) > div:first-child {
    border-bottom: 1px solid #000
}

#stamp-body tbody tr td > div:nth-child(2) > div:nth-child(2) {
    font-size: 12px;
    margin-bottom: 10px
}

#stamp-body tbody tr td > table {
    width: 90%;
    margin: 0 auto
}

#stamp > div:last-child {
    text-align: center
}

#stamp input[type="button"] {
    font-family: Arial;
    font-size: 24px;
    border: 0;
    color: #fff;
    background-color: #333;
    height: 22px;
    padding: 3px 20px;
    outline: 0;
    cursor: pointer;
    margin: 10px auto
}

#stamp input[type="button"]:hover {
    background-color: #c81414
}