#mainBox .product-container .custom-fieldsfirst,
#product .custom-fields .custom-fieldsfirst,
#searchBox .custom-fields .custom-fieldsfirst {
    border: none;
}

#mainBox #attModalBody ul,
#product #attModalBody ul,
#searchBox #attModalBody ul {
    border-top: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#mainBox #attModalBody .product-container .custom-fields,
#product #attModalBody .custom-fields,
#searchBox #attModalBody .custom-fields {
    padding-top: 16px !important;
    border-top: 8px solid #F4F4F4 !important;
}

#mainBox .product-container .custom-fields li,
#product .custom-fields li,
#searchBox .custom-fields li {
    padding: 0 16px 8px;
}

#mainBox .product-container .custom-fields hr,
#product .custom-fields hr,
#searchBox .custom-fields hr {
    width: 100%;
    margin: 16px 0;
    color: #bbb;
}

#mainBox .product-container .custom-fields .cf_title,
#product .custom-fields .cf_title,
#searchBox .custom-fields .cf_title {
    text-align: left;
    position: relative;
}

#mainBox .product-container .custom-fields .cf_title .cf_choice,
#product .custom-fields .cf_title .cf_choice,
#searchBox .custom-fields .cf_title .cf_choice {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

#mainBox .product-container .custom-fields .cf_name,
#product .custom-fields .cf_name,
#searchBox .custom-fields .cf_name {
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    line-height: 28px;
}

#mainBox .product-container .custom-fields .cf_mandatory,
#product .custom-fields .cf_mandatory,
#searchBox .custom-fields .cf_mandatory {
    max-width: 100px;
    position: absolute;
    right: 0;
    top: 2px;
    text-align: right;
    background: #EEE;
    padding: 0 10px;
    border-radius: 11px;
    font-weight: 500;
    font-size: 15px;
}

#mainBox .product-container .custom-fields .cf_mandatory.red,
#product .custom-fields .cf_mandatory.red,
#searchBox .custom-fields .cf_mandatory.red {
    color: red;
}

#mainBox .product-container .custom-fields .cf_options,
#product .custom-fields .cf_options,
#searchBox .custom-fields .cf_options {
    padding-top: 16px;
}

#mainBox .product-container .custom-fields .cf_options hr:last-child,
#product .custom-fields .cf_options hr:last-child,
#searchBox .custom-fields .cf_options hr:last-child {
    display: none;
}

#mainBox .product-container .custom-fields .cf_option,
#product .custom-fields .cf_option,
#searchBox .custom-fields .cf_option {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-flow: row-reverse;
    position: relative;
    text-align: left;
    min-height: 40px;
}

#mainBox .product-container .custom-fields .cf_option input[type="radio"],
#product .custom-fields .cf_option input[type="radio"],
#searchBox .custom-fields .cf_option input[type="radio"],
#mainBox .product-container .custom-fields .cf_option input[type="checkbox"],
#product .custom-fields .cf_option input[type="checkbox"],
#searchBox .custom-fields .cf_option input[type="checkbox"] {
    margin-bottom: 0 !important;
    width: 22px;
    height: 22px;
    pointer-events: none;
    opacity: 0;
}

#mainBox .product-container .custom-fields .cf_option .radio:before,
#product .custom-fields .cf_option .radio:before,
#searchBox .custom-fields .cf_option .radio:before,
#mainBox .product-container .custom-fields .cf_option .checkbox:before,
#product .custom-fields .cf_option .checkbox:before,
#searchBox .custom-fields .cf_option .checkbox:before {
    width: 22px;
    height: 22px;
    border: 3px solid #999;
    content: "";
    position: absolute;
    right: 0;
    border-radius: 20px;
    top: 50%;
    margin-top: -11px;
}

#mainBox .product-container .custom-fields .cf_option label.radio.active::before,
#product .custom-fields .cf_option label.radio.active::before,
#searchBox .custom-fields .cf_option label.radio.active::before {
    border: 6px solid #47a7f5;
}

#mainBox .product-container .custom-fields .cf_option label.checkbox.active::before,
#product .custom-fields .cf_option label.checkbox.active::before,
#searchBox .custom-fields .cf_option label.checkbox.active::before {
    border: 6px solid #47a7f5;
}

#mainBox .product-container .custom-fields .cf_option label.checkbox.inactive::before,
#product .custom-fields .cf_option label.checkbox.inactive::before,
#searchBox .custom-fields .cf_option label.checkbox.inactive::before {
    border-color: #EEE;
    cursor: not-allowed;
}

#mainBox .product-container .custom-fields .cf_option .checkbox:before,
#product .custom-fields .cf_option .checkbox:before,
#searchBox .custom-fields .cf_option .checkbox:before {
    border-radius: 0;
}

#mainBox .product-container .custom-fields .cf_option label,
#product .custom-fields .cf_option label,
#searchBox .custom-fields .cf_option label {
    width: 100%;
    text-align: left;
}

#mainBox .product-container .custom-fields .cf_option span,
#product .custom-fields .cf_option span,
#searchBox .custom-fields .cf_option span {
    font-size: 15px;
    line-height: 20px;
}

#product .custom-fields .cf_option span,
#searchBox .custom-fields .cf_option span {
    display: inline-block;
}

#mainBox .product-container .custom-fields .cf_option .cf_price_impact,
#product .custom-fields .cf_option .cf_price_impact,
#searchBox .custom-fields .cf_option .cf_price_impact {
    font-weight: 300;
    font-size: 14px;
}

#mainBox .product-container .custom-fields .cf_option img,
#product .custom-fields .cf_option img,
#searchBox .custom-fields .cf_option img {
    margin-right: 8px;
}

#mainBox .product-container .custom-fields .co_name,
#product .custom-fields .co_name,
#searchBox .custom-fields .co_name {
    color: #000;
    font-weight: 500;
}

#mainBox .product-container .custom-fields .add-to-cart,
#product .custom-fields .add-to-cart,
#searchBox .custom-fields .add-to-cart {
    z-index: initial;
}
