/*
Theme Name: College Sevigne
Template: new-cs
*/

/******************************************* Homepage ***********************************************/
#home p {
    font-size: 1.3em;
}
.blocks {
    padding: 15px 0;
}
#home-slider, 
#actu-slider {
    margin-bottom: 20px;
}
#highlight {
    padding: 30px 0;
    background: #fff;
}
.calltoaction {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 50px;
}
.highlight-content h2,
#event h2 {
  color: initial;
  margin-bottom: 20px;
  font: 2.2em 'Lato';
}
a.btn.btn-download {
    max-width: 350px;
    padding: 8px 13px;
    border-radius: 5px;
    background-color: #C34646;
    color: #FFF;
    text-transform: uppercase;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    white-space: unset;
}
i.fa-solid.fa-cloud-arrow-down {
    font-size: 1.9em;
    padding-right: 13px;
}
.highlight-content {
    margin-bottom: 15px;
}
.highlight-content img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.highlight-content-desc {
    text-align: justify;
    line-height: 1.5;
}
.card-body{
    display: flex;
    width: 365px;
    height: 185px;
    padding: 15px;
    background-color: #fff;
    border: 0.5px solid rgba(53, 55, 57, .25);
    border-radius: 3px;
    cursor: pointer;
    transition: all .5s;
    margin: 0 7.5px;
}
.card-body-inscription{
    padding: 15px;
    background-color: #fff;
    border: 0.5px solid rgba(53, 55, 57, .25);
    border-radius: 3px;
}
.event-content-card:hover {
    text-decoration: none;
}
.card-body:hover{
    opacity: .7;
}
.event-thumbnail {
    margin-right: 15px;
}
.event-thumbnail-image {
    width: 100px;
    height: 100px;
}
.event-thumbnail-image img {
    width: 100%;
    height: 100%;
}
.event-card-date {
    text-transform: uppercase;
    color: #353739;
    opacity: 40%;
    font-weight: 700;
    padding-top: 5px;
}
.event-card-title {
    font-size: 1.8em;
    font-weight: 700;
}
.event-card-body {
    color: #333;
    font-size: 1.3em;
    line-height: 1.5;
    margin-top: 8px;
    padding: 15px 0;
    border-top: 0.5px solid rgba(53, 55, 57, .25);
}
@media (max-width: 1176px) {
    .card-body {
        max-width: 95%
    }
}
@media  (max-width: 991px) {
  .aside-right {
    padding: 0 0 20px 0;
    float: left;
  }
  .aside-right:last-child {
    padding-left: 15px;
  }
}
@media  (max-width: 767px) {
    #home-slider{
        padding-top: 0;
    }
    #home-slider .content-container {
        padding-top: 0!important;
    }
  .aside-right:last-child {
    padding-left: 0;
  }
  a.btn.btn-download {
    margin: 10px 0;
  }
}
@media (max-width: 650px) {
    .card-body {
        width: 95%
    }
}
.container-fluid.bourse-btn {
    margin: 15px 15px 0 15px;
}
a.btn.btn-bourse {
    width: 100%;
    border-radius: 0;
    padding: 15px;
    color: #fff;
    font-size: 1.7em;
    border: unset;
    line-height: 30px;
    text-transform: uppercase;
    background-color: #c34646;
}
@media (min-width: 767px) {
    .container-fluid.bourse-btn {
        margin: 0;
        position: absolute;
        top: 0;
        right: 33%;
        padding: 10px 0;
    }
    a.btn.btn-bourse {
        background-color: #29556c;
        border-radius: 15px;
        padding: 8px 15px;
        line-height: 1;
        font-size: 1.3em;
    }
}
@media (min-width: 991px) {
    .container-fluid.bourse-btn {
        right: 50%;
    }
    a.btn.btn-bourse {
        background-color: #29556c;
    }
}

/******************************************* Single ***********************************************/
.content-warper {
    display: grid;
    grid-template-columns: 3fr 1fr;
    background: #fff;
    padding: 20px;
}
.warper {
    margin-bottom: 20px;
}
.actu-thumbnail {
    max-height: 230px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.actu-thumbnail img {
    width: 100%;
    margin: 0;
}
.date-warper {
    width: 60px;
    padding: 15px 10px 20px 10px;
    text-align: center;
    line-height: 1;
    margin-right: 10px;
    background-color: #28586f;
    color: #ffffff;
    text-transform: uppercase;
    float: left;
    position: relative;
    opacity: .9;
}
.day-warper {
    font-size: 30px;
    font-weight: 700;
}
.date-warper:after {
    content: "";
    background-color: #6f9eb5;
    height: 90%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: .5;
    z-index: -1;
    border-radius: 0 0 80px 0;
}
.month-warper, .years-warper {
    font-size: 14px;
    margin-top: 4px;
}
.actu-inside {
    margin-left: 73px;
    border-bottom: 1px solid #ececec
}
.actu-info {
    padding: 15px 0;
}
h2.actu-title {
    font-family: 'lato';
    margin: 0;
    padding-bottom: 5px;
}
.actu-tag {
    margin-bottom: 18px;
    font-family: 'Droid Serif';
    font-size: 1.05em;
    background: url(../images/tag.png)no-repeat;
    line-height: 16px;
    padding-left: 23px;
}
.actu-tag-term {
    float: left;
}
.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}
.recent-post {
    display: flex;
    flex-direction: row;
    border-bottom: #ececec solid 1px;
    padding: 15px 0;
}
h3.custom-sidebar-title {
    background-color: #f5f5f5;
    border-top: 1px solid #28586f;
    padding: 8px 14px;
    font-size: 19px;
    margin: 0;
}
.widget-recent-post .event-thumbnail-image a {
    width: 60px;
    height: 60px;
}
.widget-recent-post .event-thumbnail-image img {
    width: 100%;
    height: 100%;
    margin: 0;
}
.widget-recent-post .event-thumbnail-inside {
    width: 100%;
}
.container-recent-post {
    font-size: 13px;
}
.site__navigation {
    display: flex;
    padding: 20px 0;
    margin-left: 73px;
}
.site__navigation__prev, .site__navigation__next {
    font-size: 12px;
    width: 100%;
}
.site__navigation__next {
    text-align: right;
}
@media  (max-width: 767px) {
  .widget-sideBar.aside-right {
    display: none;
  }
  .content-warper {
    grid-template-columns: 1fr;
  }
}
@media  (max-width: 500px) {
  .actu-inside {
    margin-left: 0;
  }
  .date-warper {
    display: block;
    float: none;
    width: 100%;
    padding: 5px;
    opacity: 1;
  }
  .date-warper:after {
    display: none;
  }
  .site__navigation{
    margin-left: 0;
  }
}