:root {
    --primary-color: #DA291C;
    --gray-color: #222222;
    --medium-gray-color: #acacac;
    --light-gray-color: #e4e4e5;
}

@font-face {
    font-family: TedNextRegular;
    font-weight: 700;
    font-style: normal;
    src: url("fonts/TedNext-Regular.woff2") format('woff2');
}

@font-face {
    font-family: TedNextSemiBold;
    font-weight: 400;
    font-style: normal;
    src: url("fonts/TedNext-SemiBold.woff2") format('woff2');
}

@font-face {
    font-family: TedNextMedium;
    font-weight: 700;
    font-style: normal;
    src: url("fonts/TedNext-Medium.woff2") format('woff2');
}

@font-face {
    font-family: TedNextDemiBold;
    font-weight: 400;
    font-style: normal;
    src: url("fonts/TedNext-DemiBold.woff2") format('woff2');
}


body,
html {
    margin: 0;
    padding: 0;
    font-family: TedNextRegular;
    width: 100%;
}

header,
footer,
main,
article,
section {
    position: relative;
    box-sizing: border-box;
}

/********************************* header */

header {
    top: 0px;
    left: 0px;
    z-index: 1;
    background-color: var(--primary-color);
    height: 120px;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 40px;
}

header .center {
    max-width: 1100px;
    width: 100%;
    ;
    margin: 0 auto;
}

header .logos {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

header .logos img {
    height: 100%;
    width: auto;
}

header .logos .break {
    content: " ";
    display: block;
    height: 140%;
    background-color: #fff;
    ;
    width: 2px;
}

@media only screen and (max-width: 800px) {

    header {
        padding: 0px;
    }

    header .logos {
        flex-wrap: wrap;
        justify-content: space-evenly;
        gap: 0;
    }

    header .logos .break {
        content: " ";
        display: block;
        height: 80%;
        background-color: #fff;
        ;
        width: 1px;
    }

    header .logos img {
        width: 25%;
    }

}

/********************************* footer */

footer {
    width: 100%;
    margin: 0 auto;
    border-top: 2px solid var(--medium-gray-color);
    height: 200px;
    box-sizing: border-box;
    padding: 0 40px;
}

footer .center {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    margin-top: 45px;
    font-family: TedNextSemiBold;
    color: var(--gray-color);
}



/********************************* main */

main {
    box-sizing: border-box;
    padding: 0 40px;
}

main>h1 {
    margin: 0;
    padding: 0;
    font-family: TedNextSemiBold;
    color: var(--primary-color);
    font-size: 3rem;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    font-weight: normal;
}

main {

    .signage-examples {
        display: grid;
        grid-template-columns: 1fr 1fr .5fr;
        gap: 5px;
        max-width: 700px;
        margin: 50px auto 0;

        >div {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            justify-content: center;
            text-align: center;
            font-size: .6rem;

            .img {
                position: relative;
                width: 100%;
                display: flex;
                height: 200px;
                justify-content: center;

                img {
                    display: block;
                    width: 50%;
                    flex: 1 1 auto;
                    height: auto;
                    object-fit: contain;
                }
            }
        }
    }

}

@media only screen and (max-width: 800px) {
    main {
        padding: 0 20px;
    }

    main>h1 {
        font-size: 2.5rem;
    }
}

main>p {
    margin: 0;
    padding: 0;
    color: var(--gray-color);
    font-size: 1.2rem;
    line-height: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin: 30px auto 0;
}

main>p strong {
    font-family: TedNextSemiBold;
}

main>ul {
    position: relative;
    max-width: 800px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
}

main>ul li:before {
    position: absolute;
    content: ' ';
    margin-left: -40px;
    margin-top: -3px;
    display: block;
    width: 25px;
    height: 25px;
    background-image: url(../img/icon_checkmark.jpg);
    background-size: contain;
}

/********************************* form */

form {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    margin-top: 45px;
    border-top: 2px solid var(--medium-gray-color);
}

hr {
    max-width: 1100px;
    margin-top: 0px;
    border: none;
    border-top: 2px solid var(--medium-gray-color);
}

section {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding-bottom: 100px;
}

section p {
    font-family: TedNextSemiBold;
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.5em;
}

section p a {
    text-decoration: none;
    color: var(--primary-color);
}

section.off {
    display: none;
}

section h2,
section h3 {
    margin: 0;
    padding: 0;
    font-family: TedNextSemiBold;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 50px;
    font-weight: normal;
}

section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.5em;
}

section .field {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 40px;
}

.field.no-bottom-margin {
    margin-bottom: 0;
}

section .center {
    max-width: 600px;
    margin: 0 auto;
}

section .field {
    position: relative;
    display: block;
    width: 100%;
}

section .sub {
    padding: 1px 25px 10px;
    margin-top: -10px;
    margin-bottom: 40px;
    background: #e4e4e561;
    border-radius: 6px;
}

section .sub .field {
    margin-bottom: 20px;
}

section .field-nolabel {

    .field {
        margin-bottom: 20px;
    }

    .half-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .field label {
        display: none;
    }
}

section label {
    display: block;
    margin-bottom: 10px;
    font-family: TedNextSemiBold;
    color: var(--gray-color);
    font-size: 1.1rem;
}

section label strong {
    font-family: TedNextDemiBold;
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    ;
}

section .field input[type="text"],
section .field input[type="email"],
section .field input[type="date"],
section .field input[type="tel"],
section .field input[type="time"],
section .field textarea {
    font-family: TedNextRegular;
    font-size: 1rem;
    color: var(--gray-color);
    background: var(--light-gray-color);
    border: none;
    border-radius: 6px;
    padding: 10px 10px;
    box-sizing: border-box;
    width: 100%;
}

section .field textarea {
    height: 200px;
}

section .field.checkbox {
    display: flex;
    align-items: center;
    height: 40px;
    margin-top: 5px;
    margin-bottom: 0;
}

section .field.checkbox label {
    margin: 0;
    ;
}


section .field input[type="checkbox"] {
    position: relative;
    appearance: none;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    background: var(--light-gray-color);
    height: 30px;
    width: 30px;
    border-radius: 6px;
    border: 1px solid var(--gray-color);
    margin-right: 10px;
}

section .field input[type="checkbox"]:checked::after {
    position: absolute;
    content: '';
    top: calc(50% - 11px);
    left: calc(50% - 11px);
    width: 22px;
    height: 22px;
    background-color: var(--gray-color);
    border-radius: 6px;
}

section .field input[type="date"] {
    appearance: none;
    padding: 12px 10px;
    box-sizing: border-box;
    height: 40px;
    appearance: none;
    font-family: TedNextRegular;
}

section .field select {
    width: 100%;
    background: var(--light-gray-color);
    border-radius: 6px;
    border: none;
    padding: 12px 10px;
    box-sizing: border-box;
    appearance: none;
    font-family: TedNextRegular;
    font-size: 1rem;
    color: var(--gray-color);
    background-image: url(../img/icon_dropdown.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    background-size: 14px auto;
}

section .field fieldset {
    border: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 40px;
    padding: 0;
}

section .field ol {
    margin: 0;
    padding-left: 15px;
    line-height: 1.5em;
    ;
}

section .field fieldset .field {
    width: 20%;
    min-width: 100px;
    flex: 0 0 auto;
    box-sizing: border-box;
}

section .field fieldset.vertical {
    flex-direction: column;
}

section .field fieldset.vertical .field {
    width: 100%;
    min-width: 100px;
    flex: 0 0 auto;
    box-sizing: border-box;
}


section .field fieldset::after {
    content: "";
    flex: auto;
}

section .field input.padforremove {
    padding-right: 38px;
}

section .field .remove {
    position: absolute;
    background: none;
    width: 15px;
    height: 15px;
    margin-top: 12px;
    right: 12px;
    border: 0;
    background-image: url(../img/icon_remove.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 15px auto;
    cursor: pointer;
}

section .field-additional:not(.more) .field:first-of-type .remove {
    display: none;
}

section .field .remove:hover {
    filter: grayscale();
}

section .field .error-msg {
    color: #fff;
    font-family: TedNextDemiBold;
    background-color: var(--primary-color);
    box-sizing: border-box;
    padding: 17px 10px 10px;
    width: 100%;
    border-radius: 6px;
    margin-top: -10px;
    font-size: .9rem;
    pointer-events: none;
    display: none;
}

section .field.upload .error-msg,
section .field fieldset+.error-msg {
    padding: 10px 10px 10px;
    margin-top: 10px;
    ;
}

section .field.error .error-msg {
    display: block;
}

section .field-additional {
    margin-bottom: 40px;
    position: relative;
}



/********************************* controls */

section .controls {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

section .controls button {
    background: none;
    border: none;
    color: #fff;
    background-color: var(--primary-color);
    box-sizing: border-box;
    border-radius: 6px;
    padding: 12px 12px;
    font-family: TedNextDemiBold;
    font-size: 1.3rem;
    padding-right: 45px;
    background-image: url(../img/icon_next.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 17px) center;
    background-size: 12px auto;
    cursor: pointer;
    opacity: 1;
    transition: background-color 250ms;
}

section .controls button.back {
    background-color: var(--gray-color);
    background-image: url(../img/icon_back.svg);
}

section .controls button:hover {
    background-color: var(--medium-gray-color);
}

section .controls button.submit {
    background-image: none;
    padding: 12px 12px;
    margin: 0 auto;
}