
/* ===============================================
   PROPERTY SHARE
   =============================================== */

.property-share-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    margin: 8px 0 18px;
    min-height: 44px;
}


.property-share-wrap {
    position: relative;
    display: inline-block;
}


/* Main Share button */

.property-share-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 42px;
    padding: 8px 17px;

    border: 1px solid #c8c8c8;
    border-radius: 24px;

    background: #ffffff;
    color: #333333;

    font-size: 15px;
    font-weight: 500;

    cursor: pointer;

    transition:
        background .15s ease,
        box-shadow .15s ease;
}


.property-share-main:hover {
    background: #f6f6f6;
    box-shadow: 0 2px 7px rgba(0,0,0,.12);
}


.property-share-main i {
    font-size: 14px;
}


/* Dropdown */

.property-share-menu {
    display: none;

    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    padding: 12px 14px;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(0,0,0,.20);

    border-radius: 2px;

    z-index: 9999;

    white-space: nowrap;
}


.property-share-menu.show {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Arrow above menu */

.property-share-menu::before {
    content: "";

    position: absolute;

    top: -8px;
    right: 27px;

    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}


/* Individual round icons */

.property-share-icon {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    padding: 0;

    color: #ffffff !important;

    font-size: 19px;
    line-height: 38px;

    text-align: center;
    text-decoration: none !important;

    cursor: pointer;

    transition:
        transform .15s ease,
        opacity .15s ease;
}


.property-share-icon:hover {
    transform: translateY(-1px);
    opacity: .86;
}


/* Email */

.share-email {
    background: #32b4d3;
}


/* Facebook */

.share-facebook {
    background: #1877f2;
}


/* X */

.share-x {
    background: #000000;
}


.x-share-letter {
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
}


/* Pinterest */

.share-pinterest {
    background: #e60023;
}


/* Copy */

.share-copy {
    background: #555a68;
}


/* Small copy confirmation */

.share-copy-message {
    display: inline-block;
    margin-left: 10px;

    font-size: 13px;
    color: #555555;
}


/* Mobile */

@media (max-width: 767px) {

    .property-share-row {
        justify-content: flex-start;
        margin-top: 12px;
    }


    .property-share-menu {
        left: 0;
        right: auto;
    }


    .property-share-menu::before {
        left: 26px;
        right: auto;
    }


    .property-share-icon {
        width: 40px;
        height: 40px;
    }

}

/* Share button inside page banner */
.banner-share {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 20;
}

.banner-share .property-share-wrap {
    position: relative;
    display: inline-block;
}

.banner-share .property-share-main {
    background: rgba(255,255,255,.95);
    color: #333;
    border: 1px solid rgba(255,255,255,.7);
}

.banner-share .property-share-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    top: calc(100% + 10px);
}

.banner-share .property-share-menu::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .banner-share {
        margin-top: 12px;
    }

    .banner-share .property-share-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}