@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;400;500;600;700&family=Inter:wght@400;600&display=swap');

.LiveField--active .LiveField__input:not(.LiveField_input--manualfocus) {
    border-bottom: initial;
}

.submit .btn-raised.btn-primary {
    padding: 12px 40px;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    width: auto;
    line-height: 137.5%;
    margin-top: 80px;
    display: inline-flex;
    flex-direction: row;
    gap: 4px;
}

.submit .btn-raised.btn-primary::after {
    content: "";
    background-image: url('https://optispin.net/paperform-assets/arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    width: 14px;
    height: 22px;
}

div[data-key="73lke"] .LiveField__container {
    margin-top: 8px;
}

div[data-key="cfdse"] .LiveField__container {
    margin-top: 8px;
}

div[data-key="6deto"] .LiveField__container {
    margin-top: 12px;
}


div[data-key="dek4s"] .LiveField__container .LiveField__answer div[role="radiogroup"] .Choices__choice:after {
    border-radius: 0;
}

div[data-key="6jp89"] .LiveField__container,
div[data-key="27jq8"] .LiveField__container {
    margin-top: 0;
}

div[data-key="6jp89"] .LiveField__container .Calculations__error,
div[data-key="27jq8"] .LiveField__container .Calculations__error {
    margin-top: 0;
    padding: 0;
    margin-top: 8px;
    text-align: left;
    color: #D30000;
    text-transform: none;
    font-size: 10px;
    font-weight: 300;
    line-height: 137.5%;
}

#field-error-calculation-6jp89,
#field-error-calculation-27jq8 {
    display: none;
}

div[data-key="dek4s"] .LiveField__container .LiveField__answer div[role="radiogroup"] .Choices__choice[aria-checked="true"]:after {
    background-image: url('https://optispin.net/paperform-assets/check.svg');
    background-size: 12px 9px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2px;
    background-clip: content-box;
    background-color: transparent;
}



.btn-raised.Address__geolocate,
.Address__forminner {
    display: none;
}

.Address {
    margin-right: 0;
}

.editor.editor--live {
    padding: 20px;
}

#richEditor > div > div > div > div > div:nth-child(4),
#richEditor > div > div > div > div > div:nth-child(11) {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 140%;
    font-weight: 700;
}

#richEditor > div > div > div > div > div:nth-child(6) > div,
#richEditor > div > div > div > div > div:nth-child(13) > div {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.__standardMode figure.fieldSection {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media only screen and (min-width: 768px) {
    .__standardMode figure.fieldSection {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.Address__input label,
.LiveField--address .LiveField__header span {
    font-weight: 600;
}

.Address__input label {
    margin-bottom: 5px;
}

.submit {
    text-align: center;
}

.submit span {
    padding-top: 80px;
    font-size: 15px;
    line-height: 137.5%;
    padding: 12px 40px;
    width: auto;
}

input[type="tel"],
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
textarea.LiveField__input[rows][rows='1'] {
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #0B2652;
    background-color: #fff;
    border: 2px solid #E5E7EC;
    line-height: 137.5%;
}

input[type="tel"]::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder,
textarea.LiveField__input[rows][rows='1']::placeholder {
    color: rgba(11, 38, 82, 0.70);
}

.LiveField.LiveField--error .LiveField__answer div[role="radiogroup"] .Choices__choice {
    border: 2px solid #D30000;
    border-width: 2px;
    border-color: #D30000;;
    background: linear-gradient(0deg, rgba(211, 0, 0, 0.03) 0%, rgba(211, 0, 0, 0.03) 100%), #FFF;

}

.LiveField--submiterror .LiveField__input:not(.LiveField__input--manualfocus),
.LiveField--submiterror .Address__input--error .LiveField__input,
.LiveField--submiterror textarea.LiveField__input[rows][rows='1'] {
    border-color: #D30000;;
}

.LiveField--error .LiveField__error {
    background: transparent;
    padding: 0;
    margin-top: 8px;
    text-align: left;
    color: #D30000;
    text-transform: none;
    font-size: 10px;
    font-weight: 300;
    line-height: 137.5%;
}

.LiveField--error input[type="tel"],
.LiveField--error input[type="text"],
.LiveField--error input[type="email"],
.LiveField--error input[type="number"],
.LiveField--error textarea,
.LiveField--error textarea.LiveField__input[rows][rows='1'] {
    border: 2px solid #D30000;
}

.LiveField {
    background-color: transparent;
    box-shadow: unset;
}

.LiveField.LiveField--active {
    box-shadow: none;
}

.LiveField .LiveField__container {
    padding: 0;
    margin-top: 50px;
}

.LiveField:first-of-type .LiveField__container {
    margin-top: 0;
}

.LiveField__description {
    margin-top: 10px;   
    color: #0B2652;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
}

.Choices__label {
    font-size: 14px;
    line-height: 137.5%;
    margin-right: 0;
    color: #0B2652;
    font-weight: 500;
    padding-right: 0;
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 4px;
    margin-top: 25px;
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices__choice {
    width: 100%;
    background: #fff;
    border: 2px solid #E5E7EC;
    box-shadow: unset;
    display: flex;
    border-radius: 8px;
    flex-direction: row-reverse;
    margin-bottom: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices__choice:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    border: 2px solid #E5E7EC;
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices__choice[aria-checked="true"] {
    border-width: 2px;
    border-color: #4F9B91;
    color: #0B2652;
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices__choice[aria-checked="true"]:after {
    background-color: #4F9B91;
    padding: 2px;
    background-clip: content-box;
    border-width: 2px;
    border-color: #4F9B91;   
}

.LiveField .LiveField__answer div[role="radiogroup"] .Choices__choice i {
    display: none;
}

.LiveField .LiveField__answer div[role="group"] .Choices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.LiveField .LiveField__answer div[role="group"] .Choices__choice {
    width: 100%;
    background: #fff;
    border: 2px solid #E5E7EC;
    box-shadow: unset;
    display: flex;
    border-radius: 8px;
    flex-direction: row-reverse;
    margin-bottom: 0;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding: 15px 12px;
}

.LiveField .LiveField__answer div[role="group"] .Choices__choice:after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 2px;
    border: 2px solid #E5E7EC;
}

.LiveField .LiveField__answer div[role="group"] .Choices__choice[aria-checked="true"] {
    border-width: 2px;
    border-color: #4F9B91;
    color: #0B2652;
}

.LiveField .LiveField__answer div[role="group"] .Choices__choice[aria-checked="true"]:after {
    background-image: url('https://optispin.net/paperform-assets/check.svg');
    background-size: 12px 9px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 2px;
    background-clip: content-box;
    border-width: 2px;
    border-color: #4F9B91;   
}

.LiveField .LiveField__answer div[role="group"] .Choices__choice i {
    display: none;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] .Choices {
    grid-template-columns: repeat(2, 1fr);
}

@media only screen and (min-width: 768px) {
    .LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] .Choices {
        grid-template-columns: repeat(4, 1fr);
    }
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice {
    gap: 4px;
    justify-content: flex-start;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice .Choices__label {
    text-align: center;
    padding-right: 0;
    order: 2;
    flex-grow: 1;

    /**TODO**/
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice .Choices__imagebox {
    height: 40px;
    width: auto;
    order: 1;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice:after {
    order: 3;
}


.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice .Choices__imagebox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice .Choices__imagebox img {
    margin-top: 0;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"]  div.Choices__choice {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice:nth-child(5) {
    width: 100%;
    grid-column: 1 / 3;
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

@media only screen and (min-width: 768px) {
    .LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice:nth-child(5) {
        grid-column: 1 / 5;
    }
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] div.Choices__choice:nth-child(5) .Choices__imagebox {
    display: none;
}


.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"]  .Choices__choice:nth-child(5) .Choices__label {
    display: block;
    font-weight: 500;
    margin-right: 0;
    color: #0B2652;
    font-size: 14px;
    line-height: 137.5%;
}

.LiveField:nth-child(1) .LiveField__answer div[role="radiogroup"] .Choices__choice:nth-child(5) .Choices__label {
    flex-grow: 0;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices {
    grid-template-columns: repeat(2, 1fr);
}

@media only screen and (min-width: 768px) {
    .LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices {
        grid-template-columns: repeat(4, 1fr);
    }   
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice {
    width: 100%;
    box-shadow: unset;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice::after {
    order: 3;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice .Choices__label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 137.5%;
    padding-right: 0;
    order: 2;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice .Choices__imagebox {
    order: 1;
    height: 50px;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice .Choices__imagebox img {
    margin-top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice:nth-child(5) .Choices__imagebox,
.LiveField:nth-child(2) .LiveField__answer div[role="radiogroup"] .Choices__choice:nth-child(6) .Choices__imagebox {
    display: none;
}



.LiveField:nth-child(3) .LiveField__answer div[role="radiogroup"] .Choices {
    grid-template-columns: repeat(2, 1fr);
}

.LiveField:nth-child(6) .LiveField__answer div[role="radiogroup"] .Choices {
    grid-template-columns: repeat(2, 1fr);
}
