﻿main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: calc(100vh - 124px);
}

#section-1 {
    height: calc(100vh - 124px);
}

.container.one-column-layout {
    height: 100%;
    width: 100%;
}

section#section-2 {
    background-color: #ffffff;
    padding: 0;
    overflow-y: auto;
}

div#action-item-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--headline-font);
    max-width: 100%;
    width: 60%;
}

#action-item-title {
    font-family: var(--body-copy-font);
    font-size: 72px;
    line-height: 71.36px;
    font-weight: 900;
    text-align: center;
}


legend#call-to-action-legend {
    display: none;
}

div#action-item-form {
    background-color: unset;
    border: unset;
}

div#read-more-sign-up-intro {
    margin-top: 38px;
}

#action-item-description.panel {
    padding: 30px 5px;
}

button.btn-primary,
button#action-item-form-submit {
    padding: .25rem 3.5rem;
    font-weight: bold;
    background-color: var(--primary-color);
    color: #ffffff;
    border: solid 2px var(--primary-color);
    border-radius: var(--button-corner);
    width: max-content;
    margin: unset;
}

.row.form-action, .nextQuestionButton > div {
    display: flex;
    justify-content: end;
    padding: 0;
}

.nextQuestionButton button {
    width: max-content;
    margin: unset;
}

.label-bold {
    font-family: var(--body-copy-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 18px;
    text-align: left;
}

.themed-content-form-group label {
    margin-bottom: 5px;
}

.survey-question {
    font-family: var(--body-copy-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    text-align: left;
}

label.survey-multi-select {
    font-family: var(--body-copy-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    text-align: left;
}

.survey-answer-container input {
    accent-color: var(--secondary-color);
}

p#action-item-subtitle, div#section-2-column-2 {
    display: none;
}

.back-next-buttons {
    margin-top: 15px;
}

@media (max-width: 480px) {
    form#survey-form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    main {
        grid-template-columns: 1fr;
        height: auto;
    }

    #section-1 {
        height: auto;
        min-height: 200px;
    }
    section#section-2 {
        overflow-y: unset;
    }

    form #survey-form {
        width: 75%;
        margin-bottom: 15px;
    }

    div#action-item-headline {
        width: 100%;
    }

    h1#action-item-title {
        line-height: 44.6px;
    }
    
    h1#action-item-title {
        font-size: 45px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .container {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
    }
}
