/* input(500,40): run-time error CSS1046: Expect comma, found '155'
input(500,47): run-time error CSS1046: Expect comma, found ')' */
.fkd {
    max-width: 720px;
    background: #F0F3F5;
    padding: 32px 100px;
    box-sizing: border-box;
    font-family: mulish,sans-serif;
}

@media(max-width: 1350px) {
    .fkd {
        padding: 32px 50px 16px 50px;
    }
}

@media(max-width: 950px) {
    .fkd {
        max-width: 100%;
        order: 2;
    }
}

@media(max-width: 600px) {
    .fkd {
        padding: 24px;
    }
}

@media(min-width: 1351px) {
    #free-design-popup .fkd {
        padding: 32px 50px;
    }
}

.fkd p,
.fkd-2-ways .fkd p {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 26px;
    color: #414854;
}

@media(max-width:600px) {
    .fkd p,
    .fkd-2-ways .fkd p {
        font-size: 14px;
        line-height: 22px;
    }
}

.fkd p + p {
    margin-top: 16px;
}

.fkd p a,
.fkd p a:visited {
  color: #185A73;
  text-decoration: underline;
}

p.fkd__p-strong {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    color: #12223b;
}

.free-design .fkd p a {
    font-size: inherit;
}

.fkd * {
  box-sizing: border-box;
}

.fkd-2-ways .fkd {
    text-align: left;
}

.fkd__progress {
    border-radius: 8px;
    height: 8px;
    background: #D5DAE0;
    margin-bottom: 24px;
    max-width: 490px;
}

@media(max-width: 950px) {
    .fkd__progress {
        max-width: 100%;
    }
}

.fkd__bar {
    display: block;
    border-radius: 8px;
    height: 8px;
    background: #459BAC;
    transition: width 0.5s;
}

.fkd__header {
    margin-bottom: 24px;
}

main form.fkd .fkd__heading,
.fkd-2-ways .fkd__heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
    color: #12223B;
    margin-bottom: 8px;
    margin-top: 0;
    text-align: left;
}

@media(max-width: 600px) {
    .fkd__heading,
    .fkd-2-ways .fkd__heading {
        font-size: 21px;
        line-height: 28px;
    }
}

.fkd-2-ways .fkd__step--1 .fkd__header {
    display: none;
}

.fkd p.fkd__heading-thx {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    color: #12223B;
    margin-top: 0;
    margin-bottom: 8px;
}

.fkd-2-ways .fkd__heading-thx {
    font-size: 28px;
    line-height: 40px; /* 142.857% */
    margin-top: 0;
    margin-bottom: 8px;
}

@media(max-width: 600px) {
    .fkd__heading-thx, .fkd-2-ways .fkd__heading-thx {
        font-size: 26px;
        line-height: 40px;
    }
}

.fkd__subheading,
p.fkd__subheading {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #414854;
}

@media(max-width: 600px) {
    .fkd__subheading,
    p.fkd__subheading {
        font-size: 14px;
        line-height: 22px;
    }
}

.fkd__step,
.fkd__final {
    max-width: 490px;
}

@media(max-width: 950px) {
    .fkd__step,
    .fkd__final {
        max-width: 100%;
    }
    .fkd__step--1 .fdk__open-modal { width: 100%; }
}


.fkd-2-ways .fkd__step,
.fkd-2-ways .fkd__final {
    min-height: 0;
}

.fkd__step--loading {
    position: relative;
}

    .fkd__step--loading > * {
        visibility: hidden;
    }

    .fkd__step--loading::before {
        content: "";
        height: 70px;
        width: 70px;
        background: url(/Themes/RTA/Content/images/loading-new.gif);
        display: block;
        background-size: cover;
        position: absolute;
        top: calc(50% - 35px);
        left: calc(50% - 35px);
    }

.fkd__step-1-fields {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.fkd__txt-input {
    height: 50px;
    padding: 12px 10px 12px 16px;
    border-radius: 4px;
    border: 1px solid #747474;
    font-family: Mulish, sans-serif;
    color: #414854;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px
}

@media(max-width: 600px) {
    .fkd__txt-input {
        font-size: 14px;
        line-height: 22px;
    }
}

.fkd__floating-input {
    position: relative;
}

    .fkd__floating-input input {
        width: 100%;
    }

.fkd__floating-lbl {
    font-size: 16px;
    line-height: 26px;
    font-weight: 600;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 11px 10px 12px 16px;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
    color: #414854;
}

    .fkd__floating-lbl em {
        color: #5C6470
    }

@media (max-width: 600px) {
    .fkd__floating-lbl {
        font-size: 14px;
        line-height: 22px;
    }
}

.fkd__floating-input > .fkd__txt-input {
    padding: 16px 10px 8px 16px;
    margin: 0;
    width: 100%;
    background: #fff;
}

.fkd__floating-input > .fkd__txt-input:focus ~ label,
.fkd__floating-input > .fkd__txt-input:not(:placeholder-shown) ~ label,
.fkd__floating-input > .fkd__txt-input:-webkit-autofill ~ label {
    opacity: .65;
    transform: scale(.8) translateY(-10px) translateX(4px);
    color: #414854;
    font-size: 16px;
    line-height: 26px;
    top: 0;
    left: 0;
    background: none;
    padding: 11px 10px 12px 16px;
}

@media (max-width: 600px) {
    .fkd__floating-input > .fkd__txt-input:focus ~ label,
    .fkd__floating-input > .fkd__txt-input:not(:placeholder-shown) ~ label {
        transform: scale(.8) translateY(-8px) translateX(4px);
    }
}

.fkd__floating-input > .fkd__txt-input:focus ~ label em,
.fkd__floating-input > .fkd__txt-input:not(:placeholder-shown) ~ label em,
.fkd__floating-input > .fkd__txt-input:-webkit-autofill ~ label em {
    display: none
}

.fkd__floating-input > .fkd__txt-input::placeholder {
    color: transparent
}

.fkd__zip-input::-webkit-outer-spin-button,
.fkd__zip-input::-webkit-inner-spin-button,
.fkd__zip-input {
    appearance: none;
}

.fkd__select {
    height: 50px;
    padding: 12px 40px 12px 16px;
    border-radius: 4px;
    border: 1px solid #747474;
    font-family: Mulish, sans-serif;
    color: #414854;
    font-weight: 600;
    font-size: 16px;
    line-height: 26px;
    appearance: none;
    background: url('data:image/svg+xml,<svg width="14" height="8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m1 1 6 6 6-6" stroke="%2385929C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) 21px;
    background-color: #fff;
}

@media(max-width:600px) {
    .fkd__select {
        font-size: 14px;
        line-height: 22px;
    }
}

.fkd__txtarea {
    border-radius: 4px;
    border: 1px solid #747474;
    background: #fff;
    padding: 12px 10px 12px 16px;
    font-family: Mulish, sans-serif;
}

.fkd__input-50 {
    flex-grow: 2;
    width: calc(50% - 6px);
}

.fkd__input-100 {
    width: 100%;
}

.fkd__btn-light,
a.fkd__btn-light,
#free-design-popup .fkd__btn-light,
#free-design-popup a.fkd__btn-light {
    display: inline-flex;
    padding: 8px 10px;
    justify-content: center;
    align-items: center;
    border-radius: 27px;
    border: 1px solid #747474;
    background: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    color: #12223B;
    cursor: pointer;
    font-family: Mulish, sans-serif;
}

#free-design-popup .fkd__btn-light,
#free-design-popup a.fkd__btn-light {
    margin-left: 0;
    margin-right: 0;
}

@media(max-width:600px) {
    .fkd__btn-light,
    a.fkd__btn-light,
    #free-design-popup .fkd__btn-light,
    #free-design-popup a.fkd__btn-light {
        font-size: 14px;
        line-height: 20px;
    }
}

.fkd__btn-light--em,
a.fkd__btn-light--em,
#free-design-popup .fkd__btn-light--em,
#free-design-popup a.fkd__btn-light--em {
    border: 2px solid #185A73;
    color: #185A73;
}

    .fkd__btn-light--em:hover,
    a.fkd__btn-light--em:hover,
    #free-design-popup .fkd__btn-light--em:hover,
    #free-design-popup a.fkd__btn-light--em:hover {
        border: 2px solid #459BAC;
        color: #459BAC;
    }

input[type='radio']:checked + .fkd__btn-light,
#free-design-popup input[type='radio']:checked + .fkd__btn-light {
    background-color: #e9fbff;
    border-color: #459BAC;
    color: #459BAC;
}

.fkd__radio-item {
    position: relative;
}

    .fkd__radio-item label {
        width: 100%;
        height: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

.form-new-design .fkd__radio-item label::before,
.form-new-design .fkd__radio-item label::after {
    display: none
}

.fkd__btn-radio {
    visibility: hidden;
    position: absolute;
    height: 1px;
    width: 1px;
    bottom: 0;
    left: 50%;
}

.fkd__inline-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .fkd__inline-btns > * {
        flex-grow: 1;
    }

.fkd__2-col-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .fkd__2-col-btns > * {
        width: calc(50% - 4px);
    }

@media(max-width: 500px) {
    .fkd__1-col-btns-mob {
        flex-direction: column;
    }

        .fkd__1-col-btns-mob > * {
            width: 100%;
        }
}

.fkd__button-icon {
    margin-bottom: -3px;
    margin-left: 12px;
}

.fkd__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

@media(max-width: 550px) {
    .fkd__tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fkd__tile {
    border-radius: 6px;
    border: 1px solid #747474;
    display: flex;
    flex-direction: column;
    background: #fff;
    cursor: pointer;
}

input[type='radio']:checked + .fkd__tile {
    border-color: #185A73;
    color: #185A73;
    box-shadow: 0px 0px 0px 2px rgb(69 155 172)
}

.fkd__tile-img {
    border-radius: 6px;
    max-width: 100%;
}

.fkd__tile-title {
    padding: 16px;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: #12223B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

@media(max-width: 600px) {
    .fkd__tile-title {
        font-size: 12px;
        line-height: 20px;
    }
}

.fkd__footer {
    margin-top: 24px;
    font-family: Mulish, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px
}
@media(max-width: 1350px) {
    .fkd__footer { padding-bottom: 24px; }
}

.fkd__footer .button {
    margin-bottom: 0;
}

.fkd__footer-buttons {
    margin-top: 24px;
    font-family: Mulish, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fdk__no-msrmnts {
    font-size: 16px;
    text-decoration: underline;
}

.fdk__msrmnts-btn {
    margin-bottom: 0;
    margin-left: auto;
}

.fkd__footer--sb {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    align-items: center;
}

.fdk__link--has-icon {
    display: flex;
}

.fkd__footer a {
    font-weight: 700;
}

.free-design .fkd__footer a.button {
    color: #fff;
    border-radius: 27px;
}

progress {
  border-radius: 7px;
  width: 80%;
  height: 22px;
  margin-left: -11.5%;
  box-shadow: 1px 1px 4px rgba( 0, 0, 0, 0.2 );
}

.fkd__file-drop {
    border: 2px dashed #D5DAE0;
    border-radius: 4px;
    display: flex;
    min-height: 185px;
    padding: 0px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

    .fkd__file-drop.dz-started {
        border: none;
        background: #fff;
        border-radius: 4px;
        min-height: 0;
        padding: 12px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
    }

.fkd__drop-text {
    color: #747474;
}

.fkd__drop-more {
    display: none;
    min-width: 120px;
    width: 120px;
    padding: 0px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 2px dashed #D5DAE0;
    cursor: pointer;
    height: 122px;
    order: 2;
}

.dz-started .fkd__drop-more {
    display: flex;
}

.dz-started .fkd__drop-icon,
.dz-started .fkd__drop-text {
    display: none;
}

.dz-preview {
    min-width: 120px;
    width: 120px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 4px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25), 0px 2px 1px 0px rgba(0, 0, 0, 0.05);
}

.dz-image {
    max-height: 82px;
    display: flex;
    justify-content: center;
    background-color: #D5DAE0;
    border-radius: 4px 4px 0px 0px;
    border-top: 0.3px solid #D5DAE0;
    border-right: 0.3px solid #D5DAE0;
    border-left: 0.3px solid #D5DAE0;
    padding-bottom: 1px;
}

    .dz-image img {
        max-height: 100%;
    }

.dz-filename {
    max-width: 102px
}

    .dz-filename > span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        display: block;
        margin-right: 20px;
        padding: 8px 0 8px 8px;
    }

.dz-remove {
    padding: 8px 8px 8px 0;
}

.fkd__additional {
    width: 100%;
    appearance: none;
    resize: none;
}

.fkd__msrs-reminder {
    border-radius: 4px;
    border: 1px solid #D5DAE0;
    background: #FFF;
    padding: 24px;
    margin: 24px 0;
}

    .fkd__msrs-reminder footer {
        margin: 24px 0 0;
    }

@media(max-width: 480px) {
    .fkd__msrs-reminder footer {
        justify-content: center;
        column-gap: 8px;
    }

    .fkd__msrs-reminder .fkd__btn-light--em {
        width: 100%;
        margin-bottom: 20px;
    }
}

.fdk__download-icon {
    margin-left: 5px;
}

.drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    cursor: pointer;
}

.file-label {
    font-size: 14px;
    color: #007bff;
}

.thumbnail-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.thumbnail {
    margin: 5px;
    max-width: 100px;
    max-height: 100px;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

    .thumbnail img {
        max-width: 100%;
        max-height: 100%;
    }

.remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ff4c4c;
    color: white;
    border: none;
    cursor: pointer;
}

/* FKD 2 Ways */
.fkd-2-ways {
    display: flex;
    column-gap: 100px;
}

@media(max-width: 950px) {
    .fkd-2-ways {
        flex-direction: column;
        align-items: center;
        gap: 42px;
    }
}

.fkd-2-ways * {
    box-sizing: border-box;
}

.fkd-2-ways__divider {
    border-left: 1px solid #D5DAE0;
}

@media(max-width: 950px) {
    .fkd-2-ways__divider {
        border-left: none;
        border-top: 1px solid #D5DAE0;
        order: 2;
        width: 100%;
    }
}

.fkd-2-ways .fkd__step--1 .fdk__next-step {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.fkd-cta {
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 365px;
    text-align: center;
}

@media(max-width: 950px) {
    .fkd-cta {
        order: 2;
    }
}

.fkd-cta__number {
    display: flex;
    width: 64px;
    height: 64px;
    padding: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 1px solid #185A73;
    font-size: 28px;
    font-weight: 700;
    line-height: 40px;
}

.fkd-cta__heading {
    color: #12223B;
    font-size: 26px;
    font-weight: 600;
    line-height: 36px;
}

.fkd-cta__p {
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
}

.fkd-cta .fkd__footer {
    margin: 0;
    max-width: 210px;
}

.fkd-cta .fkd__btn-light--em {
    width: 100%;
    margin-bottom: 16px;
}

/* FKD in the popup */
#free-design-popup .fkd {
    display: none;
    padding-top: 80px;
    max-width: 560px;
    width: 100%;
}

.free-design--stretch {
    align-items: stretch
}
@media(max-width: 767px) {
    .free-design--stretch .img-wrapper {
        display: none;
    }
}

#free-design-popup .fkd [type="radio"]:checked + label.fkd__tile,
#free-design-popup .fkd [type="radio"]:not(:checked) + label.fkd__tile {
    margin: 0;
    padding: 0;
}

#free-design-popup .fkd textarea,
#free-design-popup .fkd input[type='text'],
#free-design-popup .fkd input[type='tel'],
#free-design-popup .fkd input[type='email'],
#free-design-popup .fkd select {
    background: #fff;
}

#free-design-popup .fkd input[type=button] {
    width: auto;
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1em;
    color: #fff;
    border: 1px solid #185a73;
    border-radius: 28px;
    background: #185a73;
    text-decoration: none;
    text-align: center;
    transition: all .5s;
    margin: 0;
}

/* FKD Modal */
.fkd-modal {
    padding: 0;
    max-width: 992px;
    width: 100%;
    border-radius: 6px;
}

.fkd-modal .fkd {
    padding: 80px 24px 48px 24px;
}

.fkd-modal__wrapper {
    display: flex;
}

.fkd-modal__visual,
.fkd-modal__form {
    flex-basis: 50%;
}

@media(max-width: 800px) {
    .fkd-modal__form {
        flex-basis: 100%;
    }
}

.fkd-modal__visual {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

@media(max-width: 800px) {
    .fkd-modal__visual {
        display: none;
    }
}

.fkd-modal__visual .qsg-logo {
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.fkd-modal__hero {
    height: 100%;
    width: auto;
    max-width: none;
}

.fkd-modal__form .fkd {
    height: 100%;
}

.fkd-modal .fancybox-close-small {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    padding: 6px;
    font-size: 32px;
    font-family: 'Mulish', sans-serif;
    font-weight: 300;
    color: #85929C;
    border: 1px solid #85929C;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    z-index: 1;
}

.fkd-modal .fkd__heading, #free-design-popup .fkd__heading {
    color: #12223B;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.fkd-modal .fkd__subheading,
.fkd-modal p.fkd__subheading {
    font-size: 14px;
    font-weight: 600;
    line-height: 22px
}

.fkd-modal-page .fancybox-slide {
    padding: 16px;
}

.variation-b .variation-b-hide { display: none; }
