/* 
    Style for sidebar
*/

.content-sidebar{
    padding: 4rem 0;
}

.content-sidebar .chsm-container{
    max-width: 1600px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}

.content-sidebar .chsm-container > .content{
    width: 68%;
}

.content-sidebar .chsm-container > .sidebar{
    width: 28%;
}

.sidebar .sidebar-wrapper {
    background: var(--gris-claro);
    padding: 2rem 2rem 4rem;
    border-radius: 40px;
    margin-bottom: 3rem;
}

.sidebar .sidebar-wrapper h3 {
    color: var(--secundario);
    border-bottom: 5px solid;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.sidebar .sidebar-wrapper .views-row a {
    font-weight: bold;
    color: var(--gris-oscuro);
    text-decoration: none;
    position: relative;
}

.sidebar .sidebar-wrapper:first-child .views-row a {
    padding-left: 29px;
}

.sidebar .sidebar-wrapper .views-row a:hover {
    color: var(--principal);
}

.sidebar .sidebar-wrapper .views-row span{
    color: var(--gris-oscuro);
}

a.specialty-name::before {
    content: "";
    background: url(/sites/default/files/iconos/arrow-double.png);
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar .sidebar-wrapper .views-row {
    padding: 0.6rem 0;
    border-bottom: 2px solid var(--gris-medio);
}

.sidebar .sidebar-wrapper .specialty-wrapper {
    display: flex;
    justify-content: space-between;
}

.sidebar .sidebar-wrapper > a {
    display: none;
}

.sidebar .sidebar-wrapper .views-row img {
    height: 100px;
    width: 100px;
    object-fit: cover;
}

@media(max-width:1400px){
    .content-sidebar .chsm-container .content{
        width: 58%;
    }
    
    .content-sidebar .chsm-container .sidebar{
        width: 38%;
    }
}

@media(max-width:1100px){
    .content-sidebar .chsm-container .content{
        width: 48%;
    }
    
    .content-sidebar .chsm-container .sidebar{
        width: 48%;
    }
}

@media(max-width:900px){
    .content-sidebar .chsm-container .content{
        width: 100%;
    }
    
    .content-sidebar .chsm-container .sidebar{
        width: 100%;
        margin-top: 4rem;
    }
}


