/*Partie bouton admin pr editer ajouter*/
.menu-admin {
    position: relative;
    margin-top: 25px;
   .btn-info {
        background: #FF9300 !important;
        border-color: #FF9300 !important;
        border: 1px solid #FF9300 !important;
    }
    .btn-info:visited {
        background: #FF9300 !important;
        border-color: #FF9300 !important;
        border: 1px solid #FF9300 !important;
    }
    .btn-info:active {
        background: #FF9300 !important;
        border-color: #FF9300 !important;
        border: 1px solid #FF9300 !important;
    }
    .btn-info:hover {
        background: #FF9300 !important;
        border-color: #FF9300 !important;
        border: 1px solid #FF9300 !important;
    }
}

.news-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    min-height: 280px;
    transition: all 0.3s cubic-bezier(0.2, 0.5, 0.2, 1);
}

.news-card .top {
    flex-grow: 1;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

.news-card .top .illu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    z-index: -1;
}

.news-card .top .category {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background-color: #f29423;
    color: #FFFFFF;
    text-transform: uppercase;
    display: block;
    padding: 0.4375rem 1.25rem;
    font-weight: 500;
    border-radius: 8px;
}

.news-card .content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid #D4D4D4;
    border-top: 0;
    padding: 1.5rem 1.25rem 1.25rem 1.25rem;
}

.news-card .content .title {
    font-size: 1rem;
    font-weight: 500;
    display: block;
    line-height: 1.5;
    margin-bottom: .75rem;
    color: #372F2B;
}

.news-card .content .date {
    font-weight: 300;
    text-transform: uppercase;
    color: #999999;
}

.news-card:hover {
    box-shadow: 0 0.9375rem 2.5rem rgba(0, 0, 0, 0.35);
}

@media (min-width: 576px) {
    .news-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 2rem;
    }

    .news-card .content .title {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .news-cards {
        grid-template-columns: repeat(3, 1fr);
        margin-bottom: 2.5rem;
        grid-gap: 1.875rem;
    }

    .news-card .content {
        padding: 1.875rem 1.5625rem 1.5625rem 1.5625rem;
    }

    .news-card .content .title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1040px) {
    .news-cards {
        margin-bottom: 3.75rem;
    }

    .news-card {
        min-height: 450px;
    }
}

.news-list-head {
    display: flex;
    align-items: center;
    margin-bottom: 3.125rem;
}

.news-list-head ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: .75rem;
}

.news-list-head ul::-webkit-scrollbar {
    border-radius: 10px;
    height: 4px;
    width: 4px;
}

.news-list-head ul::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.news-list-head ul::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #FFFFFF;
}

.news-list-head ul li {
    flex-shrink: 0;
    margin-right: 2rem;
}

.news-list-head ul li a {
    position: relative;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.2, 0.5, 0.2, 1);
}

.news-list-head ul li a:before {
    display: block;
    content: '';
    height: 3px;
    width: 100%;
    background-color: #f29423;
    position: absolute;
    bottom: -20px;
    left: 0;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.2, 0.5, 0.2, 1);
}

.news-list-head ul li a:hover,
.news-list-head ul li a.active {
    color: #f29423;
}

.news-list-head ul li a:hover:before,
.news-list-head ul li a.active:before {
    opacity: 1;
    bottom: -8px;
}

.news-list-head ul li:last-child {
    margin: 0;
}

.news-list-head form {
    margin-left: auto;
    position: relative;
}



.news-list-head form input {
    border: 0;
    border-radius: 0.25rem;
    padding: .5rem 1rem;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.2, 0.5, 0.2, 1);
}

.news-list-head form input:focus {
    outline: none;
    background-color: #FFFFFF;
}

@media (min-width: 768px) {
    .news-list-head ul li a {
        letter-spacing: .1em;
    }
}

@media (min-width: 1040px) {
    .news-list-head ul li {
        margin-right: 3.4375rem;
    }
}

