/**
 * @author: Yoann Le Crom <yoann.lecrom@abstractive.fr>
 * date:    2020-02-27 10:11:18
 */

.Partner {
    position: relative;
}

.Partner-imageWrapper {
    text-align: center;
}

.Partner-image {
    max-width: 100%;
    max-height: 100%;
}
.Partner-image--svg {
    height: 100%;
}

.Partner-productHeaderIcons {
}

.Partner-productFamily {
    height: 2rem;
}

.Partner-productFamily + .Partner-productFamily {
    margin-left: .5rem;
}
.Partner-productFavoriteLink {
    float: right;
    height: 2rem;
    margin-right: 1rem;
}
.Partner-productFavoriteLink svg {
    fill: #db0022;
    transition: fill .5s ease;
}
.Partner-productFavoriteLink--off svg {
    fill: #ccc;
}
.Partner-productFavoriteLink:hover svg {
    fill: #ccc;
}
.Partner-productFavoriteLink--off:hover svg {
    fill: #db0022;
}
.Partner-productFavoriteLink:active svg {
    fill: #000;
}

.Partner-title {
    margin: .5rem 0;
    font-size: 2rem;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-weight: bold;
    color: #00a377;
}
.Partner-title a {
    color: inherit;
    text-decoration: none;
}
.Partner-title a:hover {
    text-decoration: underline;
}
.Partner-subtitle {
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    color: #666;
}

.Partner-address {
    margin: .5rem 0;
    padding: 0;
    color: #999;
}

.Partner-news-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.Partner-news-header-img {
    margin-top: -1rem;
    height: 10rem;
}

.Partner-news-list {
    display: none;
}

.Partner--card {
    padding: 1rem;
    background: #f0f0f0;
    transition: background .5s ease;
}
.Partner--card[onclick]:hover {
    background: #aaa;
}

.Partner--card .Partner-image {
    max-width: unset;
    max-height: unset;
    max-width: 100%;
    max-height: 15rem;
}
.Partner--card .Partner-image--svg {
    max-width: auto;
    width: 80%;
    max-height: 15rem;
}

.Partner-openings {
    margin: 2rem 0;
    padding: 2rem;
    background: #f0f0f0;
    border-radius: 1rem;
}

.Partner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 2rem;
    width: 3rem;
    height: 3rem;
    color: #fff;
    background: #f76a33;
    border-radius: 50%;
    transition: color .3s ease, background .3s ease;
}
.Partner-link::before {
    content: '';
    width: 1.2rem;
    height: 2px;
    background: currentColor;
}
.Partner-link::after {
    position: absolute;
    content: '';
    width: 1.2rem;
    height: 2px;
    background: currentColor;
    transform: rotate(-90deg);
}
.Partner--card[onclick]:hover {
    background: #aaa;
}
.Partner-link:hover,
.Partner--card[onclick]:hover .Partner-link {
    color: #fff;
    background: #333;
}
.Partner-link:active,
.Partner--card[onclick]:active .Partner-link {
    color: #fff;
    background: #3c3c3b;
}
.Partner[onclick]:hover .Partner-title a {
    text-decoration: underline;
}

.Partner-map {
    height: 50vh;
    max-height: 50rem;
}

@media (min-width: 380px) {
    .Partner-news-header {
        justify-content: center;
    }
    .Partner-news-header-img {
        margin-left: 2.5rem;
    }
}
