/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#atlantis_delivery_pickpoint_map.fancybox-content {
    min-width: 300px;
    max-width: 1200px;
    min-height: 300px;
    overflow: hidden;
}

#atlantis_delivery_pickpoint_map.fancybox-content {
    padding: 0px;
}

#atlantis_delivery_pickpoint_map.fancybox-content h4 {
    margin: 10px 0px 10px 0px;
    text-align: center;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map {
    min-width: 300px;
    min-height: 300px;
}

#atlantis_delivery_pickpoint_map.fancybox-content.error {
    text-align: center;
    min-height: auto;
}

#atlantis_delivery_pickpoint_map.fancybox-content.error .message {
    color: #ff8d8d;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map ul.pickpoint_info {
    list-style: none;
    margin: 0;
    padding: 0;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map ul.pickpoint_info li {
    margin-bottom: 2px;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map .pickpoint_button {
    color: #FFFFFF;
    background-color: #FF9934;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    margin: 10px 0px;
    cursor: pointer;
    -webkit-box-shadow: 1px 1px 2px #b73d03;
    -moz-box-shadow: 1px 1px 2px #b73d03;
    box-shadow: 1px 1px 2px #b73d03;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map .pickpoint_button:active {
    -webkit-box-shadow: 0px 0px 5px #b73d03 inset;
    -moz-box-shadow: 0px 0px 5px #b73d03 inset;
    box-shadow: 0px 0px 5px #b73d03 inset;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map .pickpoint_comment {
    font-size: 12px;
    line-height: 1.4em;
    color: #656565;
    margin: 0;
}

#atlantis_delivery_pickpoint_map.fancybox-content #ya_map .pickpoint_info span.load_pricetime::after {
    content: "";
    padding: 0px 20px 0px 0px;
    margin: 0px 0px 0px 5px;
    background-image: url(/wp-admin/images/loading.gif);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 15px;
}

.woocommerce-input-wrapper span.suggestions-value {
    font-size: 0.9em;
}

.woocommerce-input-wrapper .suggestions-suggestions {
    -webkit-box-shadow: 0px 1px 3px rgba(95, 95, 95, 0.5);
    -moz-box-shadow: 0px 1px 3px rgba(95, 95, 95, 0.5);
    box-shadow: 0px 1px 3px rgba(95, 95, 95, 0.5);
}

.woocommerce-input-wrapper .suggestions-suggestion {
    line-height: 1.5em;
    border-bottom: 1px solid #b7b7b7;
}

.woocommerce-input-wrapper .suggestions-suggestion:last-child {
    border-bottom: none;
}

.woocommerce-input-wrapper .suggestions-suggestions strong {
    color: #000;
    font-weight: bold;
}

#billing_city_field .no_suggestions {
    color: #fff;
    position: relative;
    background: #ff9934;
    z-index: 100;
    padding: 5px 10px;
    margin-top: 10px;
}

#billing_city_field .no_suggestions::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -20px;
    margin-left: -10px;
    border: 10px solid transparent;
    border-bottom: 10px solid #ff9934;
}

.suggestions-wrapper .suggestions-suggestions .suggestions-promo {
    display: none!important;
}

/* Предупреждение о предоплате рядом с выбранным ПВЗ Яндекса. */
.atlantis_delivery_prepay_notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 10px 12px;
    margin-top: 10px;
    color: #333;
    line-height: 1.45;
}

.atlantis_delivery_prepay_notice::before {
    content: "!";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e02b2b;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
}

@media (max-width: 640px) {
    .fancybox-slide--html {
        padding: 0!important;
    }

    .fancybox-container {
        z-index: 100000!important;
    }

    .woocommerce-input-wrapper .suggestions-suggestion {
        line-height: 2em;
    }
}

@media (max-width: 435px) {
    #ya_map ymaps[class$=-controls-pane] ymaps[class$=-controls__toolbar_left] > ymaps:nth-child(2) {
        margin-top: 10px;
    }
}