/* Shipping additions and overrides. Load after cnc-order.css.
 * Shared popup, country flag, mask and shipping layout styles are defined there.
 */

.shipping-pop-body .icon-cuowu {
    width: 20px;
    height: 20px;
    background: url("../images/close-btn-icon.png") no-repeat center;
}

.view-ship-area .cnc-price-loading {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: rgba(204, 204, 204, 0.5);
    text-align: center;
}

.view-ship-area .cnc-price-loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.view-ship-area .expedited_time li i {
    background-image: url("../../images/shipping-address-icons.png");
}

.shipping-pop-body .js-cnc-country .cnc-country-option-flag {
    float: left;
    width: 20px;
    height: 12px;
    margin: 1px 4px 0 0;
}

.shipping-pop-body .js-cnc-country .country-text {
    max-width: 210px;
    line-height: 14px;
}

.shipping-pop-body .js-cnc-country-list .search-info {
    width: 100%;
    height: 24px;
    box-sizing: border-box;
    outline: none;
    border: none;
    padding: 0 10px;
    background: #fff;
}

.shipping-pop-body .js-cnc-country-list .search-flag {
    background: url("../../images/pop_icon.png") no-repeat 0 -540px;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 2px;
    top: 0;
}

.shipping-pop-body .js-cnc-country-list .country-lists {
    height: 250px;
    overflow-y: auto;
    padding: 6px 0;
}

.shipping-pop-body .method-parent .data-loading,
.shipping-pop-body .method-table.is-mask:before {
    background-image: url("../../images/loading-pro.gif");
}

.shipping-pop-body .cnc-close-ship {
    position: absolute;
    top: -2px;
    right: -4px;
    z-index: 3;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #999999;
    font: 26px/22px Arial, sans-serif;
    cursor: pointer;
}

.shipping-pop-body .cnc-close-ship:hover {
    color: #333333;
}

.view-ship-area .cnc-cost-tip {
    position: relative;
    display: inline-block;
    margin-left: 2px;
    vertical-align: middle;
    font-style: normal;
    cursor: pointer;
}

.view-ship-area .cnc-cost-tip img {
    display: block;
}

.view-ship-area .cnc-cost-tip .cnc-cost-tip-text {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 30;
    display: none;
    width: 245px;
    padding: 8px 10px;
    box-sizing: border-box;
    transform: translateX(-30%);
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
    color: #666;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    white-space: normal;
}

.view-ship-area .cnc-cost-tip:hover .cnc-cost-tip-text {
    display: block;
}
