/*Added by saad*/


.img-event {
    position: unset;
    width: 100%;
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    object-fit: contain;
    background-color: #EFF0F2;
}
.floating-title {
    position: absolute;
    z-index: 1;
    /* margin-left: 418px; */
    margin-top: 60px;
    font-size: 28px;
    /* margin-right: 209px; */
    color: #006b91;
    font-weight: bold;
    font-family: open sans;
}
/* end saad added*/
@font-face {
    font-family: myFirstFont;
    src: url('../fonts/Minion\ Variable\ Concept.otf');
}

#hero {
    /* background-color: black;*/
    /*min-height: 0px;*/
}

#header .logo img {
    max-height: 80px!important;
    /*margin-left: -100px;*/
    /*margin-right: 50px;*/
}

#header .logo {
    /*margin-left: 50px;*/
}

#header .icons-rs-header {
    margin-left: 5px;
}

@media only screen and (max-width: 1024px) {
    /*#header .logo img {*/
    /*    width: 150px;*/
    /*    height: 60px!important;*/
    /*    max-height: 60px!important;*/
    /*    margin-right: 20px!important;*/
    /*}*/
    /*.icons-rs-header {*/
    /*    width: 30px;*/
    /*}*/
}

/*.icons-rs-header {*/
/*    padding-left: 20px;*/
/*}*/

/*.icons-rs-header i {*/
/*    margin-left: 8px;*/
/*}*/

.icons-rs-header .fa-facebook {
    color: rgb(6, 76, 182);
}

.icons-rs-header .fa-twitter {
    color: rgb(55, 173, 252);
}

.icons-rs-header .fa-youtube {
    color: red;
}

#hero h1 {
    color: black;
}

#header .logo a {
    /*font-size: 36px; */
    /*background: #121FCF; */
   /* background: linear-gradient(to right, #121FCF 0%, #CF1512 100%); */
    /* -webkit-background-clip: text; */
    /*-webkit-text-fill-color: transparent; */
   /* background: #FF0000; */
    /*background: linear-gradient(to left, #FF0000 0%, #000000 100%); */
    /* -webkit-background-clip: text; */
    /*-webkit-text-fill-color: transparent; */
}


/*
.navbar a,
.navbar a:focus {
    color: black;
    /* font-family: 'Lato', sans-serif;
    font-family: 'Noto Sans', sans-serif;
}

.navbar a.active,
.navbar a:hover {
    background: #FF0000;
    background: linear-gradient(to left, #FF0000 0%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

*/

.navbar a,
.navbar a:focus {
    color: black;
    /* font-family: 'Lato', sans-serif;*/
    font-family: 'Noto Sans', sans-serif;
    padding: 3px 12px 3px 12px!important;
    font-size: 13px;
}

.navbar a.active {
    background: #006b91;
    border-radius: 40px;
    color: #fff;

}

.navbar .dropdown li a {
    font-size: 13px;
    /*color:#e73325;*/
}

.navbar .dropdown li a:hover {
    border-radius: 0px;
}

.navbar a:hover {
    /*
    background: #ffffff;
    color: #FF0000;
    */
    color: white!important;
    background: #006b91;
    border-radius: 40px;
}

.albert a:hover {
    /*
    background: #ffffff;
    color: #FF0000;
    */
    color: rgb(19, 156, 220)!important;
    background: #ffffff;
    border-radius: 40px;
}

.albert2 a:hover {
    /*
    background: #ffffff;
    color: #FF0000;
    */
    color: rgb(19, 156, 220)!important;
    background: #ffffff;
    border-radius: 40px;
}

.description {
    background-color: #dddddd;
    color: black;
    padding: 10px;
}


/* li::before {
    content: "•";
    color: red;
    size: 4px;
    display: inline-block;
    width: 1em;
} */

li:list-style {
    color: red;
}

li::before {
    color: red;
    size: 4px;
    display: inline-block;
    /* width: 1em; */
}

.description_souche {
    background-color: #787878;
    color: white;
    padding: 30px;
}

.description4 {
    background-color: #dddddd;
    color: black;
    padding: 10px;
}


/*
.description:before {
    content: '';
    background-color: #006b91;
    width: 83px;
    height: 25px;
    transform: rotate(-25deg);
    left: 168px;
    top: 1035px;
    margin-top: -352px;
    position: absolute;
}

.description:after {
    content: '';
    background-color: #006b91;
    width: 83px;
    height: 25px;
    transform: rotate(25deg);
    left: 1000px;
    top: 1035px;
    margin-top: -352px;
    position: absolute;
}
*/

#hero {
    /*min-height: 400px;*/
    height:400px;
}

#hero_gervais {
    min-height: 400px;
    margin-top: -30px;
}

.description h3,
.description a {
    color: #035e7e;
}


/* .description_gervais h3 .description a {
    color: #035e7e;
    background-color: red;
}

.description_gervais {
    background-color: #989898;
    color: white;
    padding: 24px
} */

.home-title {
    color: #006b91;
    letter-spacing: 0px;
    /* Gervais */
    /* background-color: red; */
    font-family: tahoma;
    /* Gervais */
}

.home-notre-vision {
    width: 100%;
    color: black;
    background-color: white;
    padding: 2px 0px 0px 2px;
    border-radius: 23px;
    box-shadow: 0px 0px 2px 2px rgb(224, 220, 220);
    margin-bottom: -25px;
}

.home-notre-vision2 {
    width: 100%;
    color: black;
    background-color: white;
    padding: 2px 0px 0px 2px;
    /* border-radius: 23px;
    box-shadow: 0px 0px 2px 2px rgb(224, 220, 220); */
    margin-bottom: 10px;
    height: 430px;
}

/*home-notre-vision22 {*/
/*    width: 100%;*/
/*    color: black;*/
/*    background-color: white;*/
/*    padding: 2px 0px 0px 2px;*/
/*    margin-bottom: 10px;*/
/*    ;*/
/*}*/

.home-notre-vision-accueil {
    width: 100%;
    color: black;
    background-color: white;
    padding: 2px 0px 0px 2px;
    border-radius: -5px;
    box-shadow: 0px 0px 2px 2px rgb(224, 220, 220);
    margin-bottom: 10px;
}

.w-90 {
    width: 90%;
}

.w-80 {
    width: 80%;
}

.w-70 {
    width: 70%;
}

.frame {
    height: 100%;
    /* Equals maximum image height */
    width: 100%;
    white-space: nowrap;
    /* This is required unless you put the helper span closely near the img */
    text-align: center;
    margin: 1em 0;
}

.frame .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.frame img {
    vertical-align: middle;
    max-width: 460px;
}

.posts-home {
    display: flex;
    align-items: center;
    columns: 3;
}

.posts-home .post {
    width: 33%;
    padding: 30px;
    text-align: center;
}

.posts-home .post img {
    width: 100%;
    margin-bottom: 5px;
}

.navbar .dropdown ul li a {
    padding: 6px 12px 6px 12px!important;
}

.navbar .dropdown ul {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, .35)!important;
}

.shadow_gervais {
    box-shadow: none!important;
}

.events {
    margin-top: 50px;
}

.pb-5 {
    padding: 2rem!important;
}

#contact {
    font-family: 'Noto Sans', sans-serif;
    margin-top: 25px;
}


/*** slider ***/

.slide {
    /* margin-bottom: 40px; */
}

.slide-book {
    margin-top: 56px;
}

.slide-title {
    color: #f51106;
    letter-spacing: 3px;
    font-size: 38px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.slide-title2 {
    color: #f51106;
    letter-spacing: 2px;
    font-size: 25px !important;
    margin-top: 15px;
    margin-bottom: 15px;
}

.btn-red {
    padding: 5px 30px;
    background-color: #f51106;
    color: #ffffff;
    border-radius: 25px;
}

.btn-red:hover {
    color: #f51106;
    background-color: #ffffff;
    border: 1px solid #f51106;
}

.carousel-indicators [data-bs-target] {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #f51106;
}

.carousel-indicators {
    margin-left: -72%!important;
}

/*.carousel-indicators .active{*/
/*    width: 15px !important;*/
/*    height: 15px !important;*/
/*}*/

#revues .carousel-indicators [data-bs-target],
#ouvrages .carousel-indicators [data-bs-target] {
    width: 10px;
    /* change width */
    height: 10px;
    /* change height */
    border-radius: 100%;
    /* add border-radius */
    background-color: #f51106;
    position: absolute;
}

#revues .carousel-indicators,
#ouvrages .carousel-indicators {
    right: 0;
    bottom: 25%;
    margin-right: 0;
    left: unset;
    display: block;
}

#ouvrages,
#revues {
    padding-top: 170px;
    /* background-color: aquamarine;*/
}

#ouvrages2 {
    padding-top: 160px;
}

.color-black {
    color: black;
}

.ouvrage-img {
    height: 210px;
    width: auto;
    margin: auto;
    max-width: 100%;
}

.w-100px {
    width: 150px;
}

.img-cover {
    border-radius: 50%;
    width: 260px;
    height: 260px;
    padding: 10px;
    margin: auto;
}

#revues .img-cover img {
    width: 170px;
}

.text-slider {
    margin-top: 5px;
    font-size: 17px;
}


/*
#contact form button {
    background: linear-gradient(to left, #000000 0%, #FF0000 100%);
}

#contact form button:hover {
    background: linear-gradient(to left, #571f1f 0%, #FF0000 100%);
}
*/

.pagination .active>.page-link,
.page-link.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.pagination .page-link {
    color: #0d6efd;
}

.card,
.card .card-img-top {
    border-radius: 0px!important;
    /* height: 279px !important; */
    /* height: 343px; */
    /* width: 180px !important; */
}

.card2-img-top-book2 {
    border-radius: 0px!important;
    /* height: 279px !important; */
    height: 228px;
    /* width: 334px !important; */
    /* border: 2px solid red; */
}

.card,
.card .card-img-top-gervais {
    /* height: 320px !important; */
}


.card-img-top-ouvrage {
   width: 210px !important;
   /* height: 300px !important; */
}

.card-gervais {
    height: 250px !important;
}

.card-albert {
    border-radius: 4px!important;
    border: 2px solid rgba(222, 222, 222, 0);
    margin-top: -20px;
}

.card-title a {
    color: black;
}

.card-title a:hover {
    color: #0d6efd;
}

.card-title-book a {
    color: #f92301;
}

.card-title-book a:hover {
    color: #0d6efd;
}

.card .card-subtitle {
    font-size: 12px;
    margin-bottom: 14px;
}

.card .card-text {
    font-size: 13.5px;
}

.img-fluid-ouvrage {
    padding: 30px;
    border: 1.2px solid #cccccc;
    width: 100%;
    min-height: 330px;
    /* width: 240px;
    height: 330px;
    margin-top: 20px; */
}

.border-radius-0 {
    border-radius: 0px;
}

.ouvrage-btn-secondary,
.ouvrage-btn-danger {
    color: #FFFFFF;
    padding: 3px 40px;
    font-size: 14px;
}

.ouvrage-btn-secondary,
.ouvrage-btn-secondary:hover {
    background-color: #6d6d6d;
    border-radius: 0;
}

.ouvrage-btn-danger,
.ouvrage-btn-danger:hover {
    border-radius: 0;
    background-color: #f92300;
}

.ouvrage-btn-danger:hover,
.ouvrage-btn-secondary:hover {
    color: white;
    border: 1px solid black;
    transition: all ease-in-out .6s;
}

.ouvrage-btn-success,
.ouvrage-btn-success:hover {
    border-radius: 0;
    background-color: #2b9148;
}

.ouvrage-btn-success,
.ouvrage-btn-success:hover {
    color: #FFFFFF;
    padding: 3px 43px;
    font-size: 15px;
}


/*--------------------------------------------------------------
# Footer #121d24
--------------------------------------------------------------*/

#footer {
    background: #006b91;
    padding: 0 0 0px 0;
    color: #fff;
    font-size: 15px;
}

#footer .footer-top {
    background: #035e7e;
    /*border-bottom: 1px solid #1d303c;*/
    padding: 60px 0 30px 0;
    margin-top: 100px;
}


/* Gervais */

#bg.presentation-top {
    background-image: url("paper.gif");
    /* background-color: #cccccc; */
}

#bg.presentation_gervais {
    background-color: gray;
    /* background-color: #cccccc; */
}


/*border-bottom: 1px solid #1d303c;*/


/* Gervais */

#footer .footer-top .footer-info {
    margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
    font-size: 50px;
    margin: 0 0 15px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
    color: white;
    text-decoration:none;
}

#footer .footer-top .footer-info p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    font-family: "Raleway", sans-serif;
    color: #fff;
}

#footer .footer-top .social-links a {
    font-size: 18px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 4px;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
    background: #ff4a17;
    color: #fff;
    text-decoration: none;
}

#footer .footer-top h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
    text-align: left;
    /* margin-right: 45px; */
    margin-left: 7px !important;
}

#footer .footer-top .footer-links {
    margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* margin-left: -20px; */
}

#footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #ff5e31;
    font-size: 18px;
    line-height: 1;
}

#footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
}

#footer .footer-top .footer-links ul a {
    color: #fff;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
    text-align: left;
}

#footer .footer-top .footer-links ul a:hover {
    color: #ff4a17;
    text-decoration:none;

}

#footer .footer-top .footer-newsletter form {
    margin-top: 30px;
    background: #fff;
    padding: 6px 10px;
    position: relative;
    border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
    border: 0;
    padding: 4px;
    width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
    position: absolute;
    top: 0;
    right: -2px;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 20px;
    /* background: #ff4a17;*/
    background: linear-gradient(to left, #FF0000 0%, #000000 100%);
    margin-right: 2px;
    color: #fff;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
    /*background: #ff5e31;*/
    background: linear-gradient(to left, #000000 0%, #FF0000 100%);
}

#footer .copyright {
    text-align: center;
    /*padding-top: 30px;*/
}

#footer .credits {
    padding-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

#footer .credits a {
    transition: 0.3s;
}

.display-none {
    display: none;
}


/*************  Slide **************/

.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.slider .slider__inner {
    display: flex;
    position: relative;
    align-items: center;
    max-width: 100%;
    height: 400px;
    margin: 0 auto;
}

.slider .slider__inner .slider__item {
    position: absolute;
    height: 150px;
    width: 150px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;
    /*border:  pointer-events: none;
    user-select: none;*/
    cursor: pointer;
}


/*.slider .slider__inner  :hover{
      border: 1px solid black;
  }*/

.slider .slider__inner .slider__item-trigger-next {
    left: 15%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-trigger-previous {
    left: 85%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-selected {
    /* box-shadow: 0 0 30px rgba(255, 255, 255, 0.6), 0 0 60px rgba(255, 255, 255, 0.45), 0 0 110px rgba(255, 255, 255, 0.25), 0 0 100px rgba(255, 255, 255, 0.1);*/
    height: 300px;
    opacity: 1;
    left: 51.5%;
    transform: translateX(-50%);
    width: 300px;
    z-index: 2;
}

.slider .slider__inner .slider__item-previous,
.slider .slider__inner .slider__item-next {
    height: 200px;
    opacity: 1;
    width: 200px;
    z-index: 1;
}

.slider .slider__inner .slider__item-last,
.slider .slider__inner .slider__item-first {
    opacity: .4;
    z-index: 0;
}

.slider .slider__inner .slider__item-previous {
    left: 30%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-next {
    left: 70%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-first {
    left: 15%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-last {
    left: 85%;
    transform: translateX(-50%);
}

.slider .slider__inner .slider__item-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider .slider__inner .slider__item-img {
    position: absolute;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: auto;
}

.slider .slider__inner .slider__item-datas {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: .5rem 0;
    background-color: rgba(255, 255, 255, 0.75);
    text-align: center;
    font-family: 'Arial';
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.slider .slider__controls {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.slider .slider__controls-previous,
.slider .slider__controls-next {
    border: 0;
    cursor: pointer;
    font-size: 50px;
    background-color: transparent;
    color: rgba(0, 0, 0, 0.75);
    padding: 0;
}

.slider .slider__controls-previous:focus,
.slider .slider__controls-next:focus {
    outline: none;
}