.fd-modal {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}

.custom-design-link {
    text-align: left;
}

.fd-modal .fd-wrapper {
    max-width: calc(100% - 30px);
    width: 100%;
    max-height: calc(100% - 20px);;
    height: 100%;
    position: relative;
    background: #fff;
}
.fd-modal .fd-cart-added-wrapper {
    background-color: #fff;
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 4px;
    height: 100%;
    max-width: 450px;
    max-height: 180px;
    opacity: 1;
    z-index: 1162;
}

.fd-modal .added-to-cart {
    text-align: center;
}

.fd-modal .added-to-cart .cfd-add-to-cart-failed ul{
    margin-left: 0px;
}

.fd-modal .added-to-cart .cfd-add-to-cart-failed ul li{
    background-color: #efefef;
    list-style: none;
}

.fd-modal .fd-custom-design-form h3{
    font-size: 24px;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e57272;
}
.fd-modal .fd-custom-design-form .fd-form-group {
    padding: 10px 0px 20px 0px;
    display: flex;
    flex-direction: column;
}
.fd-modal .fd-custom-design-form .fd-form-checkbox-group {
    flex-direction: row;
}
.fd-modal .fd-custom-design-form .fd-form-checkbox-group input[type='checkbox']{
    margin-right: 10px;
}
.fd-modal .fd-custom-design-form .fd-form-group label{
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}
.fd-modal .fd-custom-design-form .fd-form-group input{
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    background-clip: padding-box;
    border: 1px solid;
    border-radius: 6px;
    margin-bottom: 6px;
}


.fd-modal .fd-design-wrapper {
    width: auto;
    height: auto;
    padding: 30px 20px;
    max-width: 600px;
}
.fd-modal .fd-try-again-btn, .fd-modal .fd-user-try-again-notification {
    display: none;
}

.fd-modal .fd-wrapper iframe {
    width: 100%;
    height: 100%;
}

.fd-modal i.fd-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    cursor: pointer;
    color: #000;
}

.checkout-custom-design {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    border-bottom: 1px solid;
    margin-bottom: 5px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    gap: 0px 20px;
}

.checkout-custom-design img {
    width: 100px;
    border: 1px solid #aaa;
    margin: 0px 0px 20px 0px;
}

.fd-modal-open {
    cursor:pointer;
}
.fd-front-custom-design-image {
    border: 1px solid;
}
.fd-front-custom-design-label {
    padding: 13px 20px !important;
    border-radius: var(--btn-shop-brd-radius) !important;
    color: var(--btn-shop-color) !important;
    box-shadow: var(--btn-shop-box-shadow);
    background-color: var(--btn-shop-bgcolor) !important;
    /* width: 100%; */
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}

