﻿.widget-pane{
    position:sticky;
    top:4rem;
}

.widget-box-header {
    border-bottom: 1px solid #e1e1e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header-title {
    color: rgb(105, 84, 136);
    margin: 1rem 1rem 0 0;
    border-bottom: 2px solid red;
    font-size: 1.2rem;
    font-weight: 400;
    display: inline-block;
    padding: 0 1rem;
}

.widget-content-cell-container {
    padding: .5rem 0;
}

.widget-content-container-link {
}

.widget-content-inner-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}

.widget-content-img-container {
    max-width: 9rem;
}

.widget-content-img {
    width: 100%;
    border-radius: .3rem;
    object-fit: cover;
    object-position: top;
    border: 1px solid var(--nx-box-soft-bordercolor);
}

.widget-content-body-container {
    padding: .3rem .7rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    align-self: stretch;
}

.widget-content-toptitle {
    color: gray;
    font-weight: 100;
    font-size: .9rem;
    margin: 0;
}

.widget-content-title {
    color: var(--nx-color-primary);
    font-weight: 400;
    font-size: 1rem;
    margin: 0;
}

.widget-content-datetime {
    color: gray;
    font-weight: 200;
    font-size: .9rem;
    margin: 0;
}

@media screen and (max-width:767px){
    .widget-box-body {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .widget-content-cell-container {
        margin: 0 0 0 .5rem;
    }

    .widget-content-inner-container {
        flex-direction: column;
        width: 11rem;
    }

    .widget-content-img-container {
        max-width: unset;
    }

    .widget-content-body-container {
        padding: .3rem;
    }

    .widget-content-title {
        min-height: 3.25rem;
    }
}
