@font-face {
    font-display: swap;
    font-family: "Encode Sans Semi Condensed";
    font-style: normal;
    font-weight: 400;
    src: url("/css/fonts/encode-sans-semi-condensed-v10-latin-regular.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Encode Sans Semi Condensed";
    font-style: normal;
    font-weight: 700;
    src: url("/css/fonts/encode-sans-semi-condensed-v10-latin-700.woff2")
        format("woff2");
}
@font-face {
    font-display: swap;
    font-family: "Oswald";
    font-style: normal;
    font-weight: 700;
    src: url("/css/fonts/oswald-v57-latin-700.woff2") format("woff2");
}

BODY {
    font-family: "Encode Sans Semi Condensed", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    letter-spacing: 0.1em;
}

H1,
H2,
H3,
H4,
.h1,
.h2,
.h3,
.h4 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 700;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
    max-width: none;
    width: 100%;
}

@media (max-width: 640px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        margin: 0 -15px;
    }
}

.form-control {
    border-color: #caa600;
    border-radius: 5px;
}

.col-md-2 {
    margin-bottom: 1em;
}

.btn {
    background-color: #000;
    color: #fff;
    font-weight: 700;
    border: 0 none;
    border-radius: 8px;
    padding: 10px 20px;
}

.btn:hover {
    background-color: #caa600;
    color: #fff;
}

#layout-main,
#header-content {
    max-width: 660px;
}

#page-groups article header,
#page-groups article section .page-group td.fullspan,
article.confirm {
    width: 100% !important;
    box-sizing: border-box;
}

#layout-main table {
    width: 100%;
    box-sizing: border-box;
}

#layout-main table td,
#layout-main table th {
    box-sizing: border-box;
}

table.page-group {
    table-layout: fixed;
    width: 100%;
}

#page-groups article section .page-group td.label {
    width: 38%;
    padding-left: 0;
    padding-right: 0.2em;
}

#page-groups article section .page-group td.input {
    width: 62%;
}

#page-groups article section .page-group td.label.prerequisite {
    width: 100%;
}

#layout-main .text.large,
#layout-main textarea.large,
#layout-main select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#page-groups
    article
    section
    .page-group
    td.input
    > input:not([type="radio"]):not([type="checkbox"]) {
    height: 2em;
    font-size: 1em;
    box-sizing: border-box;
}

#layout-main .text,
#layout-main textarea,
#layout-main select {
    border: 1px solid #caa600;
    border-radius: 5px;
    padding: 0 10px;
    font-family: inherit;
}

#layout-main select {
    height: 2em;
    font-size: 1em;
    background-color: #fff;
    cursor: pointer;
}

#layout-main input[type="radio"],
#layout-main input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 2px solid #caa600;
    background-color: #fff;
    cursor: pointer;
    vertical-align: middle;
    flex-shrink: 0;
    position: relative;
}

#layout-main input[type="radio"] {
    border-radius: 50%;
}

#layout-main input[type="checkbox"] {
    border-radius: 4px;
}

#layout-main input[type="radio"]::after,
#layout-main input[type="checkbox"]::after {
    content: "";
    position: absolute;
    transform: scale(0);
    transition: transform 0.1s ease;
}

#layout-main input[type="radio"]::after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #caa600;
    transform: translate(-50%, -50%) scale(0);
}

#layout-main input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}

#layout-main input[type="checkbox"]::after {
    top: 1px;
    left: 5px;
    width: 6px;
    height: 11px;
    border: solid #caa600;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
}

#layout-main input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

#layout-main input[type="radio"]:focus-visible,
#layout-main input[type="checkbox"]:focus-visible {
    outline: 2px solid #caa600;
    outline-offset: 2px;
}

#layout-main li.clearfix {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

#layout-main li.clearfix .input-wrapper,
#layout-main li.clearfix .label-wrapper {
    float: none;
}

#page-groups article section .page-group td.label label {
    line-height: 1.3;
}

#form-page nav ul li a.button,
.button {
    display: inline-block;
    width: auto;
    height: auto;
    background: #000;
    background-image: none;
    color: #fff;
    font-family: "Encode Sans Semi Condensed", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
}

#form-page nav ul li a.button:hover,
.button:hover {
    background-color: #caa600;
    color: #fff;
}

#form-page nav ul {
    display: flex;
    gap: 10px;
}

#form-page nav ul li {
    float: none;
}
