@font-face {
    font-family: 'Journal';
    src: url('../fonts/journal.eot');
    src: url('../fonts/journal.eot?#iefix') format('embedded-opentype'),
    url('../fonts/journal.woff') format('woff'),
    url('../fonts/journal.ttf') format('truetype'),
    url('../fonts/journal.svg#JournalRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* Signature Pad */
.signature-pad {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 10px;
    width: 100%;
    height: 100%;
    max-width: 360px;
    max-height: 250px;
    min-width: 360px;
    min-height: 250px;
    border: 1px solid #ced4da;
    background-color: #fff;
    border-radius: 4px;
    padding: 16px;
}

.signature-pad::before,
.signature-pad::after {
    position: absolute;
    z-index: -1;
    content: "";
    width: 40%;
    height: 10px;
    bottom: 10px;
    background: transparent;
}

.signature-pad::before {
    left: 20px;
    -webkit-transform: skew(-3deg) rotate(-3deg);
    transform: skew(-3deg) rotate(-3deg);
}

.signature-pad::after {
    right: 20px;
    -webkit-transform: skew(3deg) rotate(3deg);
    transform: skew(3deg) rotate(3deg);
}

.signature-pad--body {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: 1px dotted #ced4da;
}

.signature-pad--body canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    touch-action: none;
    user-select: none;
}

.signature-pad--footer {
    color: #000;
    text-align: center;
    font-size: 1.2em;
    margin-top: 8px;
    border-top: 2px solid black;
}

.signature-pad--actions {
    margin-top: 8px;
}

.signature-pad--actions .column {
    padding: .1em;
}

.signature-pad--actions .button {
    margin: .2em;
}


.typed {
    color: #145394;
    display: block;
    font: normal 1.875em/50px "Journal", Georgia, Times, serif;
}

@media print
{
    .no-print, .no-print *
    {
        display: none !important;
    }
}
