body {
  font-family: 'Lora', serif;
}

a {
  cursor: pointer;
}

H1 {
  font-size: 2.1rem;
}
.red-bg {
  background-color: #5f3a40;
  color:  #fff;
}

.red-border {
  border-top: 2px solid #3d161c;
  border-bottom: none;
  padding: 0;
}

.top-menu {
  text-align: center;
} 

.logo-zone {
  text-align: center;
  position: relative;
  padding: 15px 0;
}

.logo-zone .logo {
  position: relative;
  z-index: 99;
}

.logo-zone img {
  /*  filter: drop-shadow(1px 0px 1px #efcf84);*/
  box-shadow: 1px solid #fff;
}

.has-megamenu:hover .has-megamenu{
  display: block;
}

.navbar-brand {
  width: 100%;
  text-align: center;
  padding: 15px 0;
}

.navbar li a.parent-link {
  border-bottom: 1px solid #5f3a40;
}

/*.logo-zone .container {
  position: relative;
}


.logo-zone .btn-edifice {
  position: absolute;
  right: 20px;
  color: #211e1e;
  width: auto;
  top: 55px;
  cursor: pointer;
  z-index: 9999;
}

.logo-zone .btn-edifice:hover {
  border-color: #fff;
  color: #d8ba76;
}*/



/*MENU */

.navbar li {
  min-width: 230px;
}

.navbar li {
  text-align: center;
}

.navbar li a {
  text-decoration: none;
  color: #fff;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.navbar li a.parent-link {
  padding: 10px 0;
  width: 100%;
  line-height: 42px;  
  display: inline-block;
  font-size: 16.5px;
  font-style: italic;
}

/*.parent-link i {
  color: #5f3a40;
  transition: all 0.2s ease;
  line-height: 1.3em;
}

.parent-link:hover i {
  color: #d8ba76;
}*/

.navbar li a:hover {
  color: #d8ba76;
}

.navbar li a.show {
  color: #d8ba76;
}

.megamenu-caret {
  position: absolute;
  z-index: 9999;
  bottom: 0px;
  left: 50%;
  display : none;
  height : 0;
  width : 0;
  display: inline-block;
  border-top : 12px solid #5f3a40;
  border-right : 12px solid transparent;
  border-left : 12px solid transparent;  
  transition: all 0.3s ease;
  margin-left: -12px;
/*  opacity: 0;*/
}

.show .megamenu-caret {
/*  opacity: 1;*/
  bottom: -12px;
}

.btn-edifice .megamenu-caret {
  bottom: -18px;
}

.btn-edifice.show .megamenu-caret {
  bottom: -31px;
}


.navbar .megamenu {
  transition: display 1s ease;
  background-color: #331e21;
  color: #fff;
  line-height: 33px;
  padding: 0;
  height: 0;
  transition: all 0.4s ease ;
  display: block;
  overflow: hidden;
  top: 62px;
  border: none;
}

.navbar .megamenu .container {
  margin-top: 30px;
}

.navbar .megamenu.show {
  height: 314px;
}


.navbar .megamenu i {
  color: #d8ba76;
}


.dropdown-menu {
  border-radius: 0px;
}

.menu-label{
    color: #d8ba76;
    font-size:18px;
    font-weight:bold;  
    text-transform: uppercase;
    margin-bottom: 8px;
}

.quote {
  color:  #d8ba76;
  font-style: italic;
}

.megamenu ul{
  padding-left: 0px;
}

.megamenu ul li {
  text-align: left;
  list-style: none;
  line-height: 33px;
}

.megamenu ul li a:hover {
 color: #96616a;
}

.degree a {
  display: block;
  position: relative;
  height: 100px!important;
  text-align: center;
  line-height: 100px;
}

/*.degree a:after {
  clear: both;
}*/

.degree a img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.degree-title {
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 9;
}

.alphabet {
  margin-top: 20px;
}

.alphabet .letter {
  display: inline-block;
  width: 2.95%;
  text-align: center;
}  

.alphabet .menu-label {
  text-align: center;
}

.navbar .alphabet a:hover {
  color: #96616a;
}

.clearfix {
  display: block;
  clear: both;
}


.btn-edifice, .navbar li a.btn-edifice {
  text-align: center;
  padding: 5px 25px;
  border-top-width: 4px;
  border-bottom-width: 4px;
  border-radius: 0;
  border-color: #d8ba76;
  border-top-style: double;
  border-bottom-style: double;
  border-left:  none;
  border-right:  none;
  color:  #fff;
  display: inline-block;
  position:  relative;
  min-width: 180px;
  transition: all 0.3s ease;
  line-height: 24px;
  transition: all 0.4s ease;
}

.links .btn-edifice {
  color: #d8ba76;
}



.btn-edifice:before {
  display: block;
  width: 25px;
  height: 35px;
  background-image: url(../images/colonne.svg);
  background-size: 25px 34px;
  content: " ";
  position: absolute;
  top: 0px;
  left: -6px;
  transition: all 0.4s ease;
}


.btn-edifice:after {
  display: block;
  width: 20px;
  height: 35px;
  background-image: url(../images/colonne.svg);
  background-size: 25px 34px;
  content: " ";
  position: absolute;
  top: 0px;
  right: -2px;
  transition: all 0.4s ease;
}

.navbar .container {
  position: relative;
}


.home-btn  {
  position: absolute;
  top: 9px;
  left: calc(50% + 445px);
}

.navbar .btn-edifice:hover, .navbar .btn-edifice:focus {
  color: #d8ba76;
}

.navbar .btn-edifice.special-columns:hover, .navbar .btn-edifice.special-columns:focus {
  border-color: #5f3a40;
}

/*.navbar .btn-edifice.special-columns:hover::before, .navbar .btn-edifice.special-columns:focus::before {
  width: 50px;
  height: 74px;
  background-size: 50px 74px;
  top: -21px;
  left: -30px;
}

.navbar .btn-edifice.special-columns:hover::after, .navbar .btn-edifice.special-columns:focus::after {
  width: 50px;
  height: 74px;
  background-size: 50px 74px;
  top: -21px;
  right: -30px;
}*/

.navbar .megamenu .btn-edifice{
 margin: 20px auto 0;
 display: inherit;
}

.special-columns {
  margin-top: 15px;
} 
.degree a {
  position: relative;
  font-size: 18px;
  border: 1px solid #5f3a40;
}

.degree a:hover {
  border: 1px double #d8ba76;
}

.degree a::after {
  display: block;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.2;
  transition: all 0.3s ease;
}

.degree a:hover::after {
  opacity: 0.7;
}

.first-degree {
  background: url(../images/menu-image-1.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.second-degree {
  background: url(../images/menu-image-2.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.third-degree {
  background: url(../images/menu-image-3.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.fourth-degree {
  background: url(../images/menu-image-4.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.abonnements {
  display: block;
  width: 200px;
  margin: 0 auto;
}

.mail {
  background: rgb(2,0,36);
  background: url(../images/gravure.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
  text-align: center;
  padding-top: 40px;
}

.mail-title {
  display: block;
  text-align: center;
  background-color: #211e1e;
  color:  #d8ba76;
  max-width: 788px;
  margin: 0px auto 30px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
  font-size: 32px;
  padding: 10px;
  font-weight: 400;
}

.mail-content {
  background:  rgba(255, 255, 255, 0.9);
  text-align: left;
  max-width: 788px;
  margin:  0 auto;
  padding: 30px;
  font-size: 17px;
  line-height: 22px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
}

.intro {
  font-size: 22px;
  font-weight: 500;
}
.mail .banner {
  margin-top: 30px;
  margin-bottom: 20px;
}

.mail .banner img {
  max-width: 100%;
  height: auto!important;
}

.mail .banner a, .mail .banner div {
  max-width: 100%;
  height: auto!important;
}

.publications {
  background-color: #211e1e;
}

.publications-content {
  color:  #fff;
  max-width: 788px;
  margin:  0 auto;
  padding:  30px;
  font-size: 17px;
  position:  relative;
}

.btn-abonnement {
  display: block;
  position: absolute;
  top: -19px;
  right: 30px;
  width: 227px;
  height: 172px;
  background-image: url(../images/bg-btn-abonnement-rouge.png);
  text-align: center;
  padding:  20px 40px;
  line-height: 20px;
  color: #d8ba76!important;
  text-decoration: none;
  transition-property: background, color;
  transition-duration: 1s;
}

.btn-abonnement:hover {
  color: #fff!important;
  background-image: url(../images/bg-btn-abonnement-rouge-hover.png);
}

.publications-content h2{
  text-transform: uppercase;
  font-size:  22px;
}

.publications-content a {
  color: #d8ba76;
  transition:  all 0.3s;
}

.publications-content a:hover {
  color: #8b683a;
  text-decoration: none;
}


.newsletter {
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.newsletter a {
  color:  #c3575a;
  transition: color 0.3s ease;
}

.newsletter a:hover {
  color: #d8ba76;
}


.books {
  background-image: url(../images/ouvrages.jpg);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.books-title {
  display: block;
  text-align: center;
  background-color: rgba(0,0,0,0.7);
  color: #d8ba76;
  font-size: 32px;
  padding: 20px 10px;
  font-weight: 400;
}

.slider {
    margin: 100px auto 0px;
    width: 75%;
    padding-bottom: 0px;
}

.slick-slide {
  margin: 0px 20px;
  text-align: center;
}

.slick-slide a {
  text-decoration: none;
  color: #211e1e;
} 

.slick-slide h4 {
  /*color: #5f3a40;*/
  margin-bottom: 0;
  font-size: 20px;
}

.slick-slide img {
  height: 22em;
  display: inline-block;
  margin-bottom: 50px;
  -webkit-box-shadow: 1px 1px 2px 0px #0000004f;
  box-shadow: 1px 1px 2px 0px #0000004f;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}

.slick-slide {
  transition: all ease-in-out .3s;
}

.slick-active {
 /* opacity: .5;*/
}

.slick-current {
  /*opacity: 1;*/
}

.slick-prev {
  left:  -90px;
  top: calc(50% - 100px);
  width: 40px;
  height: 40px;  
}

.slick-next {
  right: -60px;
  top:  calc(50% - 100px);
  width: 40px;
  height: 40px;
}

.slick-prev::before {
  content: "\f284";
  font-size: 60px;
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;  
  z-index: 99;
}

.slick-next::before {
  content: "\f285";
  font-size: 60px;
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;  
  z-index: 99;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}
.slick-dots {
  position: static;
  margin-top: 30px;
}

.slick-dots li button::before {
  font-size: 16px;
}

.btn-books{
  padding:  10px 20px;
  margin:  40px auto 80px;
  background-color: #d8ba76;
  background-color: #5f3a40;
  background-color: #211e1e;
  border: 2px solid #211e1e;
  color:  #fff;
  border-radius: 0;
  /*font-weight: 500;*/
  -webkit-box-shadow: 1px 1px 2px 0px #0000004f;
  box-shadow: 1px 1px 2px 0px #0000004f;
  font-family: "PT Sans",sans-serif;
  transition: all 0.3s ease;
}
.btn-books:hover{
  background-color: #211e1e;
  color: #d8ba76;
  border-color: #d8ba76;
  transition: all 0.3s ease;
}

.link-mosaic {
  text-align: center;
  padding:  30px 30px;
  font-size: 18px;
}

.link-mosaic h3{
  text-transform: uppercase;
  color: #d8ba76;
}

.link-mosaic p {
  font-style: italic;
}

.link-mosaic:nth-child(1), .link-mosaic:nth-child(3),.link-mosaic:nth-child(6), .link-mosaic:nth-child(8){
  background-color: #211e1e;
  color:  #fff;
}

.link-mosaic:nth-child(2), .link-mosaic:nth-child(4), .link-mosaic:nth-child(5), .link-mosaic:nth-child(7){
  background-color: #fff;
  color:  #000;
}


/****************ANCIENNE PAGE D'ACCEUIL*******************/

.right-border {
/*  border-right: 1px solid #e9dab8;*/
  border-right: 1px solid #baa3a6;
}

.home-content {
  background-color: #faf9f9;
  padding: 30px 0;
  font-size: 18px;
/*  border-bottom: 1px solid #000;*/
}

.home-content .menu-label {
  font-size: 21px;
  font-weight: 500;
  color: #a99c7e;
  color: #8e4e59;
}

.home-content ul {
  list-style: none;
  padding-left: 0;
}

.home-content ul a {
  color: #212529;
  text-decoration: none;
}

.home-content ul a:hover {
  color: #d8ba76;
}

.home-content ul a i, .home-content ul i {
  color: #d8ba76;
  color: #8e4e59;
}

.home-content .alphabet .letter {
  color: #5f3a40;
  text-decoration: none;
  width: 5.4%;
}

.home-content .alphabet .letter:hover {
  color: #d8ba76;
}

.home-content .degree a {
  margin-top: 20px;
  color: white;
  border: 1px solid;
  font-weight: 500;
  background-color: #904955;
 
/*  background-color: #b19691;*/
}

.home-content.hauts-grades {
  background-size: 100% auto;
  background: url(../images/larmes-dargent.jpg) top center no-repeat , linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.hg-grads {
  background-color: #fff;
  padding-bottom: 20px;
}

.hg-grads .degree a {
  background: linear-gradient(43deg, rgba(95,58,64,1) 0%, rgba(144,73,85,1) 100%);
}

/*.hg-grads .degree.last a {
  background: orange;
}*/

.blue-grads .menu-label {
  color: #5f5f89;
}

.blue-grads .alphabet .letter{
  width: 2.2%;
}

.home-content .degree .icon-image {
  width: 10px;
  height: auto;
}
.fifth-degree {
  background: url(../images/menu-image-5.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}


.sixth-degree {
  background: url(../images/menu-image-6.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
}

.home-content .degree a:hover {
  color: #d8ba76;
}

.home-content .abonnements {
  margin-top: 40px;
  margin-bottom: 40px;
  text-decoration: none;
  color: #212529;
}

.home-content .abonnements:hover {
  color: #d8ba76;
  border-color: #faf9f9;
}

.old-home-content {
  padding: 0 10px;
}

.library {
  height: 170px;
  background-image: url(../images/library.jpg);
  background-size: cover;
  background-position: top center;  
}

/************************INDEX HAUTS GRADES***********************/

.blue-grads {
  background-color: #dde3ef;
  padding-bottom: 20px;
/*  margin-top: 10px;*/
}

.special-title {
  display: block;
  text-align: center;
  background-color: #211e1e;
  color: #d8ba76;
  margin: 10px -10px 0px -10px;
  -webkit-box-shadow: 0px -2px 2px 0px #0000003d;
  box-shadow: 0px -2px 2px 0px #0000004f;
  font-size: 32px;
  padding: 10px;
  font-weight: 400;
}

.title-back-to-blue-grads {
  margin-top: 20px;
  color: #5f5f89;
}

.colonnes {
  background: rgb(2,0,36);
  background: url(../images/gravure.jpg) top center no-repeat, linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(242,237,231,1) 0%, rgba(244,239,237,1) 100%);
  text-align: center;
  padding-top: 30px;
}

/****************************FOOTER****************************/

footer {
  background-color: #000;
  text-align: center;
  color:  #d8ba76;
  padding:  20px;
}

/* =============================== RESPONSIVE ====================== */
@media all and (min-width: 992px) {

  .navbar .has-megamenu{position:static!important;}
  .navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }

}

@media only screen and (max-width: 992px) and (min-width: 768px)  {
  .link-mosaic:nth-child(1), .link-mosaic:nth-child(4),.link-mosaic:nth-child(5), .link-mosaic:nth-child(8){
    background-color: #211e1e;
    color:  #fff;
  }
  .link-mosaic:nth-child(2), .link-mosaic:nth-child(3), .link-mosaic:nth-child(6), .link-mosaic:nth-child(7){
    background-color: #fff;
    color:  #000;
  }    
}
@media (max-width: 1500px) {
  .slider {
    width: 85%;
  }
}

@media (max-width: 1400px) {
  .alphabet .letter {
    width: 2.8%;
  }
  .quote {
    font-size: 0.9em;
  }
}

@media (max-width: 1300px) {
  .home-btn {
    left: calc(50% + 345px);
  }
  .home-content .alphabet .letter {
    width: 4.8%;
  }
  .blue-grads .alphabet .letter{
    width: 2.4%;
  }
}

@media (max-width: 1200px) {
  .slider {
    width: 90%;
  }
  .alphabet .letter {
    width: 2.6%;
  }
  .home-btn {
    display: none;
  }
  .right-border {
    border: none;
  }
  .home-content .alphabet .letter {
    width: 2.4%;
  }
}

@media (max-width: 991px) {
  .logo-zone {
    display: none;
  }
  .logo-zone img {
    height: 120px;
  }
  .baseline {
    margin-bottom: 5px!important;
    font-size: 17px;
  }
  .mail {
    padding-top: 30px;
  }
  .mail-title {
    font-size: 25px;
    margin-bottom: 20px;
  }
  .mail-content {
    font-size:  15px;
    padding:  20px;
  }
  .justify-content-md-between {
    justify-content: center!important;
  }
  .publications-content {
    font-size: 15px;
  }
  .publications-content h2 {
    font-size: 18px;
  }
  .newsletter {
    font-size: 18px;
    padding:  10px;
  }
  .books-title {
    font-size: 25px;
  }
  .slider {
    margin-top:  50px;
    padding-bottom: 40px;
  }
  .slick-dots {
    margin-top: 0;
  }
  .navbar .container-fluid {
    padding: 0;
  }
  .navbar-toggler {
    border-color: #8B6839;
    background-color: #d8ba76;
    position: absolute;
    top: 13px;
    right: 15px;
  }
  .navbar-collapse {
   background-color: #211e1e;
  }  
  .navbar-toggler-icon {
    color: #d8ba76;
  }  
  .navbar li a.parent-link  {
    padding: 7px 0;
  }
  .megamenu-caret {display: none!important;}
  .navbar .megamenu.show {height: auto;}
  .show .megamenu-caret {display: none;}
  .navbar .btn-edifice.special-columns:hover::before, .navbar .btn-edifice.special-columns:focus::before {
    display: none;
  }
  .navbar .btn-edifice.special-columns:hover::after, .navbar .btn-edifice.special-columns:focus::after {
    display: none;
  }
  .navbar .megamenu .container {
    margin-top: 15px;
  }
  .quote {
    text-align: center;
    line-height: 1rem;
  }
  .degree a {
    margin-bottom: 10px;
  }
  .navbar .megamenu .btn-edifice {
    margin-bottom: 20px;
  }
  .megamenu ul {margin-bottom: 15px;}
  .alphabet .letter {
    width: 20%;
  }
  .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
    overflow-y: auto;
    max-height: 90vh;
    margin-top:10px;
  }
  .home-content .alphabet .letter {
    width: 5.6%;
  }
}


@media (max-width: 768px) {
  .mail {
    padding-top: 20px;
  }
  .link-mosaic:nth-child(1), .link-mosaic:nth-child(3),.link-mosaic:nth-child(5), .link-mosaic:nth-child(7){
    background-color: #211e1e;
    color:  #fff;
  }

  .link-mosaic:nth-child(2), .link-mosaic:nth-child(4), .link-mosaic:nth-child(6), .link-mosaic:nth-child(8){
    background-color: #fff;
    color:  #000;
  }
  .publications-content {
    padding-top:  80px;
  }
  .btn-abonnement {
    height: 75px;
    right: calc(50% - 113px);
  }
  .home-content .alphabet .letter {
    width: 22%;
  }
}


@media (max-width: 310px) {
  .slick-slide img {
    max-width: 100%;
    height: auto;
  }
}
