.stc-notifications-box {
    position: absolute;
    top: 20px;
    right: 30px;
    display: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    width: 320px;
    max-width: 100%;
    box-shadow: 0 5px 10px #0000001a;
    background-color: var(--color-white);
    z-index: 5;

}


.stc-notifications-box.show {
    display: grid;
}

.stc-notifications-box__header {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-white);
    padding: 10px;
}

.stc-notifications-box__header button {
    padding: 0;
    background-color: transparent;
    color: var(--color-white) !important;
}

.stc-notifications-box__header button:hover,
.stc-notifications-box__header button:active,
.stc-notifications-box__header button:focus {
    color: var(--color-accent) !important;
}

.stc-notifications-box__content {
    height: 300px;
    overflow-y: scroll;
    /* padding: 10px; */
}

.stc-notifications-box__content::-webkit-scrollbar {
    width: 7px;
    background-color: var(--color-border-grey);
  }

  .stc-notifications-box__content::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);    
    border-radius: 20px;     
}

.stc-notifications-box__footer {
    cursor: pointer;
}

.stc-notifications-box__footer a{
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--color-primary);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 14px;
    background-color: var(--color-accent);
    padding: 10px;

}

.stc-notifications-box__footer a:hover,
.stc-notifications-box__footer a:active,
.stc-notifications-box__footer a:focus {
    background-color: var(--color-white);
    text-decoration: none;
    box-shadow: var(--button-shadow);
}

.stc-notifications-box__content .stc-notifications-box__item {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stc-notifications-box__content .stc-notifications-box__item:nth-child(even) {
    background-color: var(--color-accent-pale);
}

.stc-notifications-box__content .stc-notifications-box__item a {
    color: var(--color-primary);
}

.stc-notifications-box__content .stc-notifications-box__item a:hover,
.stc-notifications-box__content .stc-notifications-box__item a:active,
.stc-notifications-box__content .stc-notifications-box__item a:focus {
    color: var(--color-accent);
}

 .stc-notifications-box__content .stc-notifications-box__item-title {
    font-weight: 600;

 }

 .stc-notifications-box__content .stc-notifications-box__item-date {
    color: var(--color-text-grey);
 }

 .stc-notifications-box__content .stc-notifications-box__item-status {
    color: var(--color-red);
    font-size: 13px;
 }
 

 .stc-notifications-box__item-description {
    width: 250px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
 }

@media screen and (max-width:991px) {
    .stc-notifications-box {
        top: -60px;
        right: -20px;
    }

  .stc-notifications-box__header button {
        border: none !important;
        color: var(--color-white) !important;
    }

    .stc-notifications-box__header button:hover, 
    .stc-notifications-box__header button:active, 
    .stc-notifications-box__header button:focus
    {
        border: none !important;
        color: var(--color-accent) !important;
        background: transparent !important;
    }
}

@media screen and (max-width:480px) {
    .stc-notifications-box {
        right: 10px;
        width: 290px;
    }
}

/* Single Notifications Page */
#checkInput.sorting:after{
    background: none !important;
}

.notification-status {
    color: var(--color-primary);
    font-style: italic;
}

.notification-status.read {
    color: var(--dark-grey);
}

.section-header--simple h2 {
    color: var(--color-primary);
    margin-top: 15px;
}

.notification-info {
    border-top: 3px solid var(--color-secondary);
    border-bottom: 3px solid var(--color-secondary);
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5px;
}

.notification-info p {
    margin-bottom: 0;
}

.notification-info span {
    font-weight: 700;
}

.notification-body {
    padding: 30px 10px;
}

@media(max-width: 991px){
    .notification-info{
        display: block;
        font-size: 16px;
    }

    .notification-body {
        padding: 30px 0;
    }
}
