/* New-engine controls inside the unchanged Take-Top legacy presentation. */
.legacy-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.legacy-feed-switch {
    margin-bottom: 1rem;
}

.legacy-feed-switch .custom-control-inline {
    margin-right: 1rem;
}

[data-order-form] .form_step3 .image_picker_selector,
[data-free-form] .form_step3 .image_picker_selector {
    width: 100%;
    margin: 0;
    padding: 0;
}

[data-order-form] .form_step3 .image_picker_selector > li,
[data-free-form] .form_step3 .image_picker_selector > li {
    padding: 0;
    margin: 0;
}

[data-order-form] .form_step3 .thumbnail,
[data-free-form] .form_step3 .thumbnail {
    position: relative;
    padding: 3px;
}

[data-order-form] .form_step3 .thumbnail.selected,
[data-free-form] .form_step3 .thumbnail.selected {
    border-color: #0088cc;
    background: #0088cc;
    box-shadow: inset 0 0 0 2px #0088cc;
}

[data-order-form] .form_step3 .thumbnail.selected::after,
[data-free-form] .form_step3 .thumbnail.selected::after {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #0088cc;
    color: #fff;
    content: "\2713";
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}

[data-order-form] .form_step3 .image_picker_image,
[data-free-form] .form_step3 .image_picker_image {
    max-width: 100%;
}

.legacy-form-alert {
    white-space: pre-line;
}
