@font-face {
    font-family: 'encodeblod';
    src: url("../fonts/encode/static/EncodeSans-Bold.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'encoderegular';
    src: url("../fonts/encode/static/EncodeSans-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}

#block-views-block-visite-block-1 .card-img-top-overlay .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    /*     background: rgba(120,120,120,.4); */
}

#block-views-block-visite-block-1 .card-img-top-overlay .card-badge.top-right {
    top: 1rem;
    right: 1rem;
}


/* for images to be same height */

.img-same-height {
    object-fit: cover;
    height: 250px;
}

#block-views-block-visite-block-1 .card-img-top-overlay .card-badge {
    position: absolute;
    font-size: .8125rem;
    line-height: 1.5rem;
    font-weight: 600;
    box-shadow: 0 0.8rem 1.2rem #343a4014;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 0.25rem;
    z-index: 1000;
}

#block-views-block-visite-block-1 .card-img,
#block-views-block-visite-block-1 .card-img-top {
    border-top-left-radius: calc(0.1875rem + 0px);
    border-top-right-radius: calc(0.1875rem + 0px);
}

#block-views-block-visite-block-1 .shape.bottom {
    bottom: -2px;
    left: 0;
    right: 0;
}

#block-views-block-visite-block-1 .shape {
    position: absolute;
    pointer-events: none;
    overflow: hidden;
}

#block-views-block-visite-block-1 .shape>svg {
    width: auto;
    height: 100%;
}

#block-views-block-visite-block-1 .shape.bottom>svg {
    width: 100%;
}

#block-views-block-visite-block-1 .card-body {
    flex: 1 1 auto;
    padding: 1.5rem;
    height: 170px;
}

#block-views-block-visite-block-1 .card {
    margin-bottom: 1.5rem;
    position: relative;
}

#block-views-block-visite-block-1 .title-car {
    color: #8db015;
    font-size: 3rem !important;
}

#block-views-block-visite-block-1 .sous-title-car {
    color: #fff;
    font-size: 2rem !important;
}

.bg-agenda {
    background-image: url(' ../img/agenda_default.jpg');
    width: 180px;
    height: 180px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg-agenda ul {
    vertical-align: middle;
    display: table-cell;
    height: inherit;
    width: inherit;
}

.event-schedule .bg-agenda .date .day {
    font-size: 4rem;
    width: unset;
    color: white;
    height: unset;
    border: unset;
    border-radius: unset;
    background-color: unset !important;
    box-shadow: unset;
    line-height: 1;
}

.event-schedule .bg-agenda .date .month {
    font-size: 4rem;
    width: unset;
    color: white;
    height: unset;
    border: unset;
    border-radius: unset;
    background: unset;
    box-shadow: unset;
    margin: 0;
    line-height: 1;
}

#event_1 .card {
    background-color: #f2f1eb;
    border: unset !important;
    border-radius: 0 !important;
}

#news_4 .card {
    background-color: #cceedc;
    border: unset !important;
    border-radius: 0 !important;
}

#news_4 .actu-img-top {
    max-width: 180px;
    max-height: 180px;
}

#news_4 .bg-actualites {
    width: 180px;
    height: 180px;
}

#news_4 .flex-1 {
    padding-left: 15px;
}

#news_4 .text-green {
    color: #15b05d;
}

.btn-outline-jeb {
    color: #15b05d;
    background-color: transparent;
    background-image: none;
    border-color: #15b05d !important;
}

.btn-outline-jeb:hover {
    color: #fff;
    background-color: #15b05d;
    border-color: #15b05d !important;
}

#news_4 .actu-img-top {
    max-width: 180px;
    max-height: 180px;
}

#news_4 .bg-actualites {
    width: 180px;
    height: 180px;
}

#news_4 .flex-1 {
    padding-left: 15px;
}

.text-green {
    color: #15b05d;
}

.btn-outline-event {
    color: #9a8b58;
    background-color: transparent;
    background-image: none;
    border-color: #9a8b58 !important;
}

.btn-outline-event:hover {
    color: #fff;
    background-color: #9a8b58;
    border-color: #9a8b58 !important;
}

#event_1 .bg-agenda {
    width: 180px;
    height: 180px;
}

#event_1 .flex-1 {
    padding-left: 15px;
}

.text-event {
    color: #9a8b58;
}

.verti-mid-center {
    vertical-align: middle;
    display: table-cell;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.encodeblod {
    font-family: encodeblod;
}

.encoderegular {
    font-family: encoderegular;
}

#visite_4 .card-body h4>a,
#visite_4 .card-body p>a {
    color: #8db015;
}

.tns-controls button[data-controls="next"]:hover {
    background-color: #8db015 !important;
    color: #ffffff;
}

.tns-controls button[data-controls="before"]:hover {
    background-color: #8db015 !important;
    color: #ffffff;
}

.btn-outline-slide {
    color: #fff;
    background-color: #15b05d;
    background-image: none;
    border-color: #15b05d !important;
}