.live-news-share {
    text-align: center;
    z-index: 2;
}

.live-news-share .modal-dialog {
    width: min(600px, calc(100% - 20px));
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
}

.live-news-share .modal-dialog .close {
    color: var(--cp-legacy-text-strong);
    background: transparent;
    font-size: 22px;
    float: right;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
}

.live-news-share .modal-dialog .close:hover,
.live-news-share .modal-dialog .close:focus {
    color: var(--cp-legacy-text-strong);
    background: transparent;
    opacity: 1;
}

.live-news-share .share-links {
    margin-bottom: 10px;
}

.custom-social-share-modal .modal-content {
    padding: 24px;
    border: none;
    box-shadow: 0 0 15px var(--cp-legacy-surface-alpha-50);
    margin: auto;
    border-radius: 20px;
    position: relative;
    background-color: var(--cp-legacy-surface-base);
    background-clip: padding-box;
    -webkit-animation: slideIn 0.4s;
    animation: slideIn 0.4s;
}

.custom-social-share-modal .share_popup_img {
    margin-left: 7%;
}

.custom-social-share-modal h4 {
    font-size: 18px;
    margin-bottom: 4px !important;
    font-weight: 700;
    color: var(--cp-legacy-text-strong);
}

.custom-social-share-modal .share_event_popup_h5 {
    color: var(--cp-legacy-text-secondary);
    margin-bottom: 12px;
}

.custom-social-share-modal .share-links {
    overflow: visible;
}

.custom-social-share-modal .share-links a,
.custom-social-share-modal .share-links a:before {
    background: transparent !important;
    box-shadow: none !important;
}

.custom-social-share-modal .share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 6px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
    transition: 0.3s;
}

.custom-social-share-modal .share-links a img {
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.custom-social-share-modal .close img {
    width: 14px;
}

.custom-social-share-modal .share_block_link .media,
.modal-dialog.custom-social-share-modal .share_block_link .media {
    display: flex;
    height: 60px;
    background: var(--cp-legacy-surface-base);
    border: 1px solid var(--border-default);
    padding: 5px 10px;
    border-radius: 6px;
    text-align: left;
    align-items: center;
    margin-top: 4px !important;
}

.custom-social-share-modal .share_block_link .media-body {
    width: 100%;
}

.custom-social-share-modal .media-right.align-self-center {
    width: 100%;
}

.custom-social-share-modal .share_block_link .media-body p {
    color: var(--cp-legacy-text-muted);
    font-weight: 500;
    font-size: 14px;
}

.custom-social-share-modal .share_block_link .sharelink-input {
    border: 0;
    width: 100%;
    padding: 0 8px 0 0;
    font-weight: 600;
    background: transparent;
}

.custom-social-share-modal .sharepop_image {
    min-width: 26px;
    margin-top: 8px;
    cursor: pointer;
}

.crypto_live_news .crypto_live_news_list .media-right.align-self-center p {
    padding-top: 0;
    margin-top: 0;
}

@media (min-width: 768px) {
    .custom-social-share-modal .modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
}

@media (max-width: 575px) {
    .custom-social-share-modal .share_popup_img {
        width: 60px;
    }

    .custom-social-share-modal .share-links a img {
        width: 30px;
        height: 30px;
    }

    .custom-social-share-modal h4 {
        font-size: 15px !important;
    }

    .modal-dialog.custom-social-share-modal {
        max-width: 100% !important;
        margin: 40px 10px !important;
    }

    .custom-social-share-modal .share_block_link input {
        font-size: 13px !important;
    }

    .custom-social-share-modal .modal-content {
        padding: 10px !important;
    }
}
