section#quick-links{
    position: relative;
    z-index: 1;
    background: #cdcdcd;
}
section#quick-links .ql-container{
    display: block;
    text-align: center;
    padding: 20px;
    background: #cc2c2c;
    color: #fff;
    transition: 0.3s;
}
section#quick-links .ql-container span{
    font-weight: 600;
    font-size: 32px;
    padding-bottom: 10px;
    border-bottom: 3px solid #cdcdcd;
    display: table;
    margin: auto;
    transition: 0.3s;
}
section#quick-links .ql-container:hover{
    background: #fff;
    color: #cc2c2c;
    text-decoration: none;
}
section#quick-links .ql-container:hover span{
    border-bottom: 3px solid #cc2c2c;
}
section#quick-links .ql-bottom{
    transition: ease 0.2s;
    width: 100%;
    left: 0;
}
section#quick-links .latest_events, section#quick-links .latest_news{
    position: relative;
    text-align: center;
}
section#quick-links .latest_events .background-image, section#quick-links .latest_news .background-image{
    height: 251px;
    background-position: center;
    background-size: cover; 
    position: relative;
}
section#quick-links .latest_events .overlay, section#quick-links .latest_news .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
}
section#quick-links .latest_events .overlay:hover, section#quick-links .latest_news .overlay:hover{
    background: rgba(204, 44, 44, 0.7);
}
section#quick-links .latest_events .overlay:hover .title, section#quick-links .latest_news .overlay:hover .title{
    color: #fff;
    border-bottom: 2px solid #fff;
}
section#quick-links .latest_events .title, section#quick-links .latest_news .title{
    color: #333;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #cc2c2c;
    display: table;
    margin: auto;
    transition: 0.2s;
}
section#quick-links .latest_events .text, section#quick-links .latest_news .text{
    font-size: 16px;
    color: #333;
    font-weight: 600;
}
section#quick-links .latest_events .overlay:hover .text, section#quick-links .latest_news .overlay:hover .text{
    color: #fff;
}
section#quick-links .ql-bottom.ql-bottom-payments, section#quick-links .ql-bottom.ql-bottom-newsletters{
    font-weight: 600;
    background: #cc2c2c;
    display: none;
}
section#quick-links .ql-bottom.ql-bottom-payments a{
    color: #fff;
    text-align: center;
    display: block;
    margin: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
}
#newsletters_list{
    padding: 20px;
}
@media (min-width: 1024px){
    section#quick-links .events:hover .ql-bottom.ql-bottom-events, section#quick-links .news-link:hover .ql-bottom.ql-bottom-news, section#quick-links .payments:hover .ql-bottom.ql-bottom-payments, section#quick-links .newsletters:hover .ql-bottom.ql-bottom-newsletters{
    z-index: 20;
    height: 251px;
    }
    section#quick-links .ql-bottom{
    position: absolute;
    height: 0;
    overflow: hidden;
    }
    section#quick-links .ql-bottom.ql-bottom-payments, section#quick-links .ql-bottom.ql-bottom-newsletters{
    display: block;
    }
    section#quick-link-bg{
    background: url(../img/quick-link-bg.jpg) no-repeat;
    height: 400px;
    background-position: bottom;
    background-size: cover;
    position: relative;
    }
    section#quick-link-bg .bg-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(204, 44, 44, 0.6);
    }
    section#quick-links .latest_events .title, section#quick-links .latest_news .title{
    font-size: 22px;
    }
    section#quick-links .latest_events .text, section#quick-links .latest_news .text{
    font-size: 18px;
    }
    
}