.aliados-profiles .ui.card {
    max-width: 325px;
    min-width: 300px;
    height: auto;
    position: relative;
    border: none;
    box-shadow: none;
    box-shadow: 0px 2px 2px 2px hsl(0 0% 0% / 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: height .15s ease-in-out;
}

.aliados-profiles .ui.card > div.image {
    background: white;
}

.aliados-profiles .ui.card > div.image {
    position: relative;
    overflow: hidden;
}
.aliados-profiles .ui.card > div.image:after {
    content: '';
    position: absolute;
    top: -50%;
    left: 135%;
    right: 0;
    bottom: 0;
    width: 150%;
    height: 150%;
    background: linear-gradient(to left, #788da1, white);
    display: block;
    mix-blend-mode: overlay;
    filter: blur(50px);
    transform: skew(45deg);
    transition: all .25s ease-in-out;
}
.aliados-profiles .ui.card:hover > div.image:after {
    left: -100%;
}


.aliados-profiles div.header:not(.ui) {
    background: none;
    position: absolute;
    top: 0;
    padding: 2.5em 1.5em 2em;
    left: 0;
    right: 0;
}

figure[name="profile-image"] {
    float: right;
    width: 95px;
    height: 95px;
    position: relative;
    overflow: hidden;
    margin: 0px;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 7.5px rgba(255, 255, 255, 0.65);
    z-index: 1;
}

figure[name="profile-image"] img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-width: 200%;
    max-height: 200%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

div[name="profile-name"] {
    color: white;
    position: absolute;
    font-size: 13px;
    width: 50%;
    /* top: 50%; */
    /* transform: translateY(-50%); */
}

div[name="profile-name"] h3 {
    font-size: 1.75em;
    margin-bottom: 0em;
    z-index: 2;
}

.aliados-profiles .ui.card > div.content {
    position: relative;
    top: -1em;
    border-top: none;
    padding: 1.5em 1.5em .5em;
}

.aliados-profiles .ui.card > div.content .ui.header {
    font-size: 13px;
}

.aliados-profiles .ui.card > div.content .ui.header .icon {
    font-size: 1em;
    width: 36px !important;
    height: 36px !important;
    padding: 0.75em !important;
    border: none;
    color: #3292d7;
    box-shadow: none;
    box-shadow: 0px 2px 5px 2px hsl(0 0% 0% / 0.1);
}

.aliados-profiles .ui.card > div.content .header > .content {
    padding-left: 1.5em;
} 

.aliados-profiles .ui.card > div.content .header > .content span {
    font-size: 1.25em;
}

.aliados-profiles .ui.card > div.content #activator {
    cursor: pointer;
}

.aliados-profiles .ui.card > div.content #activator .icon {
    transition: transform .25s ease-in-out;
}

.aliados-profiles .ui.card > div.content p {
    margin: 2em -1.5em 0em;
    padding: 1em 1.5em;
    background: rgb(0 0 0 / 2.5%);
    border-top: 1px solid hsla(0, 0%, 0%, 0.1);
    border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
    color: black;
    opacity: 1;
}

.hidden.transition {
    display: none !important;
}

.aliados-profiles .column .ui.card .content h2[name="mail"] span {
    word-break: break-all;
}

@media only screen and (max-width: 520px) {
    .md-background.aliados {
        background: #1d3e74 url(images/aliados/aliados-header-m.jpg) !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat no-repeat !important;
        height: auto;
        min-height: 300px;
        max-height: 600px;
    }
    section.md-background.aliados-profiles {
        padding: 3em 0em;
    }
    .aliados-profiles .ui.container.segment{
        margin-top: 0px !important;
        padding: 1em !important;
        border-radius: 15px;
        border: none;
        box-shadow: none;
        
    }
    .aliados-profiles .ui.card {
        max-width: 100%;
        min-width: 300px;
    }
}