@import url('https://fonts.googleapis.com/css?family=Open+Sans');

* {
  font-family: 'Open Sans', sans-serif;
}

/* --- Conteneur Yapla : on supprime les espaces parasites en haut --- */
#site-wrapper #vue-config { min-height: 0; padding-bottom: 0; }
#site-wrapper { padding-top: 0 !important; }
/* Fix grand espace blanc - composants Vue Yapla sans hauteur */
#site-wrapper [data-component="cookie-consent"],
#site-wrapper [data-component="floating-elements-queue"] { display: none !important; }
h1 { margin-top: 20px; }
h2 {
  font-weight: 600;
  color: #394149;
  margin-bottom: 30px;
  font-size: 32px;
}

p, li, a { color: #252525; }
p > a:hover, p a:focus { color: #5996BD; text-decoration: none; }
strong { color: #488CB7; }

/* --- MENU PRINCIPAL : hauteur réduite + logo centré verticalement --- */
.mainmenu {
  padding: 0;
  border-top: 0;
  background: #ffffff;
}
.navbar-default .nav > li > a,
.navbar-default .nav > li > a:focus {
  line-height: 90px;          /* avant : 140px -> grosse bande blanche */
  height: 90px;
  border-top: 3px solid transparent;
  border-bottom: 0;
}
.navbar-header .navbar-brand,
.navbar-header img {
  max-height: 90px;           /* le logo s'aligne sur la hauteur du menu */
  width: auto;
  padding: 10px 15px;
}
.navbar-default .nav > .active > a,
.navbar-default .nav > .active > a:hover,
.navbar-default .nav > .active > a:focus,
.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus,
.navbar-default .navbar-nav > li:hover > a {
  background: none;
  border-top: 3px solid #488CB7;
  border-bottom: 0;
  color: #488CB7;
}
.navbar .nav > li {
  text-align: center;
  padding: 0 18px;
  display: table-cell;
  vertical-align: middle;
  float: none;
}
.caret { display: none; }

.navbar-nav > li > .dropdown-menu {
  border-radius: 0;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  border-top: 3px solid #488cb7;
}
.dropdown-menu > li:first-child > a { background: #ffffff; }
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:active {
  color: #488CB7;
  background-color: #f5f5f5;
}

/* --- Icônes / blocs --- */
.mk-box-icon.simple_ultimate-style .mk-main-ico.medium {
  font-size: 48px;
  line-height: 48px;
  color: #b72063;
}
.objectives { margin-bottom: 20px; }

/* --- Boutons --- */
.btn {
  margin: 0;
  padding: 11px 20px;
  color: #fff;
  border: 0;
  border-radius: 2px;
}
.btn-primary { background: #393836; }
.btn-primary:hover, .btn-primary:focus,
.btn-primary:active, .btn-primary.active {
  color: #fff;
  background: #5996cc;
}

.content.news.eventsList { margin-top: 30px; }

.item.mod-eventflash__item {
  border: 1px solid #e3e3e3;
  padding: 20px;
  margin: 14px 12px 24px 12px;
  box-shadow: 0 3px 0 #f7f7f7;
  width: 100%;
}
.itemInfos { color: #393836; font-weight: bold; }

/* --- Bloc "valeurs" : padding raisonnable + mobile corrigé --- */
.values { margin-bottom: 30px; }
.values > .col-sm-4 {
  width: 20%;
  color: #CECECD;
  padding: 30px;              /* avant : 60px (trop) */
}
@media (max-width: 992px) {
  .values > .col-sm-4 {
    width: 100%;
    padding: 25px;
    margin: 0;                /* correction du décalage 30%/30% */
    text-align: center;
  }
}

.viewAll { color: #5996bd; font-weight: bold; font-size: 16px; }

/* --- Menu CJD --- */
.cjd-menu { margin-bottom: 30px; }
.cjd-menu > ul > li {
  list-style: none;
  float: left;
  text-align: center;
  font-weight: 500;
  color: #cccccc;
  margin: 30px;
}
.cjd-menu > ul > li > a {
  display: block;
  float: left;
  margin: 15px;
  padding: 8px;
  font-weight: bold;
}
.cjd-menu > ul > li > a:hover { text-decoration: none; color: #488cb7; }

/* --- Images rondes --- */
.circle-img > span,
.circle-image > span {
  display: inline-block;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 0 0 1px #488cb7;
  border-radius: 1500px;
}
.circle-img > span img,
.circle-image > span img { width: 100%; }

.bureau { text-align: center; margin: 15px; }
a.btn.btn-link { background: #488CB7; color: #fff; }

.footer { background: #202020; }
p > footer { color: #616161 !important; }

/* --- Responsive menu --- */
@media (max-width: 1200px) {
  .navbar .nav > li { padding: 0 8px; }
}
@media (max-width: 992px) {
  .cjd-menu > ul > li,
  .cjd-menu > ul > li > a { float: none; display: block; }
  .navbar .nav > li {
    text-align: left;
    padding: 0 18px;
    display: block;
    float: none;
  }
  .navbar .nav > li > a,
  .navbar .nav > li > a:focus {
    line-height: 40px;
    height: 40px;
  }
  .caret { display: inline-block; }
}
@media (min-width: 1200px) {
  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
    padding-bottom: 0;
    overflow: visible !important;
  }
}