.wrapper {
    overflow: auto !important;
}

.content-wrapper {
    max-width: 1060px;
    margin: 1em auto;
    background-color: #f5f5f5;
}

.content-header img {
    float: left;
    margin: -4px 8px 0 0;
}

.content-header h1 {
    text-align: center;
}

.content-header h1 em {
    color: #5676A9;
    font-style: unset;
}

.ui-steps {
    position: relative;
}

.ui-steps:before {
    content: "";
    border-top: 1px solid #dee2e6;
    width: 100%;
    top: 50%;
    display: block;
    position: absolute;
}

.ui-steps ul {
    display: flex
}

.ui-steps .ui-steps-item {
    border: none;
    background: none;
    flex: 1 1 0;
}

.ui-steps .ui-steps-item .ui-menuitem-link {
    display: inline !important;
    padding: 0 !important;
}

.ui-steps .ui-steps-item .ui-steps-number {
    width: 1.5em;
    height: 1.5em;
    font-size: 1.3em;
    color: #666;
    background: white;
    margin: 1.5em auto 0 auto;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-steps .ui-steps-item.ui-state-highlight .ui-steps-number {
    color: white;
    background: #337ab7;
}

.ui-steps .ui-steps-item .ui-steps-title {
    padding-top: 0.5rem;
}

.ui-steps .ui-steps-item.ui-state-highlight .ui-steps-title {
    color: #666;
    font-weight: 600;
}

.content h1 {
    text-align: center;
}

.content .text-box {
    max-width: 48em;
    margin: auto;
}

.content .text-box p {
    text-indent: 2em;
    text-align: justify;
}

.content .text-box p a {
    color: #3c8dbc;
    text-decoration: underline;
}

.content .login-box {
    margin: 1em auto;
}

.content .form-box {
    max-width: 48em;
    margin: 1em auto;
}

.content .form-box div.ui-g {
    padding-top: 1em;
}

.content .form-box div.ui-material div.ui-message {
    min-height: 1.5em;
}

.content .form-box .email-code {
    justify-content: center;
    padding-top: 0 !important;
}

.content .form-box .email-code > div {
    max-width: 14.5em;
    width: unset;
}

.content .form-box .email-code .ui-inputgroup-addon, .content .form-box .email-code input {
    font-family: 'Source Code Pro', monospace;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 4px;
    line-height: 1.5;
    padding-left: 8px;
    text-transform: uppercase;
}

.content .form-box .email-code .ui-inputgroup-addon {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: #f4f4f4;
    min-width: 2.6em;
}

.content .button-bar {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-top: 1em;
}

.content table.pricing {
    margin: 0.4em auto 0.8em;
}

.content table.pricing td, .content table.pricing th {
    border: 1px solid #d2d6de;
    padding: 0.15em 0.5em;
}

.content table.pricing th {
    padding: 0.3em 0.5em;
}

.content table.pricing th {
    font-weight: 600;
}

.content table.pricing strong {
    font-weight: 600;
}

.content table.pricing td.price {
    text-align: right;
}

.content .contract {
    max-width: 52em;
    border: #d2d6de dashed 1px;
    margin: 2em auto 0;
    padding: 0 2em;
}

.content .contract p {
    text-indent: 2em;
    text-align: justify;
    margin: 1em 0 1em;
}

.content .contract p.date {
    text-align: center;
    text-indent: 0;
    margin-top: -0.5em;
}

.content .contract h1 {
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
}

.content .contract h2 {
    font-size: 12pt;
    font-weight: bold;
    text-align: center;
}

.content .contract .contract-body p {
    counter-increment: css-counter 1;
}

.content .contract .contract-body p:before {
    content: counter(css-counter) ". ";
}

.content .contract table.contacts, .content .appendix table.contacts {
    width: 100%;
    margin-bottom: 1.5em;
}

.content .contract table.contacts td, .content .contract table.contacts th, .content .appendix table.contacts td, .content .appendix table.contacts th {
    width: 50%;
    vertical-align: top;
    border: #d2d6de solid 1px;
    padding: 0.15em 0.5em;
}

.content .contract-links {
    padding-top: 1em;
}

.content .contract-links a {
    text-decoration: underline;
}

.content .appendix-dialog .close-link {
    position: absolute;
    top: 20px;
    right: 26px;
}

.content .appendix-dialog.ui-dialog.ui-widget-content .ui-dialog-content {
    padding: 0.5em;
}

.content .appendix-panel {
    max-height: 38em;
    border: #d2d6de dashed 1px;
    border-radius: 0;
}

.content .appendix {
    max-width: 52em;
    padding: 0 2em;
}

.content .appendix p {
    text-align: justify;
    margin: 0.5em 0 0.5em;
}

.content .appendix p.intro {
    text-indent: 2em;
}

.content .appendix h1 {
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
}

.content .appendix h2 {
    font-size: 12pt;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.content .appendix hr {
    width: 14em;
    height: 1px;
}

.content .appendix ul {
    text-align: justify;
    list-style-type: none;
    padding: 0;
}

.content .appendix li {
    margin: 0.5em 0 0.5em;
}

.content .appendix ul ul li {
    margin: 0;
}

.content .appendix p > span, .content .appendix li > span {
    padding-right: 0.5em;
}

.content .appendix p.title {
    font-weight: bold;
    page-break-after: avoid;
}

.content .appendix .annex-box {
    text-align: right;
    page-break-before: always;
}

.content .appendix .annex-box span {
    display: inline-block;
    text-align: left;
}

.content .signing .confirmation {
    background-color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 1em 1.4em;
}

.content .signing .confirmation .code {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.content .signing .confirmation iframe {
    width: 100%;
    height: 8em;
    border: 0;
}

.content .signing .confirmation .ui-progressbar {
    height: 0;
    margin-top: 0.6em;
}

.content .access-key p.key {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    text-indent: 0;
}

@media print {
    .content .contract, .content .appendix {
        border: none;
        padding: 0;
    }
}

@page {
    size: A4;
    margin: 1.4cm 1.14cm 1.6cm;

    @bottom-right {
        content: counter(page);
        font-family: 'Source Sans Pro', sans-serif;
        font-size: 14px;
        vertical-align: top;
        padding-top: 0.5em;
        padding-right: 1em;
    }
}

@media (max-width: 1060px) {
    .content-wrapper {
        margin: 0;
    }
}

@media (max-width: 640px) {
    .ui-steps {
        margin-bottom: -0.5em;
    }

    .ui-steps .ui-steps-item .ui-steps-number {
        margin: 0.5em auto;
    }

    .content .contract, .content .contract-appendix {
        padding: 0 0.5em;
    }
}
