﻿
/* Modale Share */

#modale-shared-oi {
    display: none;
    width: 600px;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border-radius: 20px;
    background: var(--color-white);
    transition: .4s ease-out;
}

#modale-shared-oi.active {
    display: flex!important;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
}

span#closeBtnShared i {
    font-size: 22px;
    cursor: pointer;
}

.modale-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.title-shared {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.title-shared h3 {
   color: var(--Colors-BE-NOIR, #000);
    font-family: Inter;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.modale-title img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    cursor: pointer;
}

.modale-content {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    align-self: stretch;
}

.bloc-oi-adress {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.bloc-oi-adress .adress {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.bloc-oi-adress .adress span {
    color: var(--color-black);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: stretch;
}

.bloc-oi-adress img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
}

.share-links {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 10px;
    align-self: stretch;
    flex-wrap: wrap;
}

.share-links-item {
    display: flex;
    min-width: 200px;
    max-width: 265px;
    padding: 10px 0px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 10px;
    border: 1px solid var(--HEB-LIGHT, #E1EAF8);
    background: var(--color-white);
    transition: all .4s ease-out;
}

.share-links-item:hover {
    background: var(--MAIN-COLOR);
}

.share-links-item:hover a span {
    color: var(--color-white);
}


.share-links-item a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-links-item img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.share-links-item span {
    color: var(--color-black);
    text-align: center;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

@media (max-width: 768px) {

    section#modale-shared-oi.active {
        top: 90px !important;
        left: initial !important;
        transform: initial !important;
        height: 100vh;
        padding-top: 30px;
        width: 100%;
    }

    .bloc-oi-adress img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .modale-title {
        gap: 10px;
    }

    .modale-title span {
        text-align: center;
        font-size:20px;
    }

    .bloc-oi-adress .adress span {
        text-indent: 10px;
    }

    .share-links {
        justify-content: center;
    }

    .share-links-item {
        max-width: 180px;
        min-width: 150px;
    }

    .share-links-item span {
        font-size: 14px;
    }

    .share-links-item img {
        width: 15px;
        height: 15px;
        object-fit: cover;
    }

}
