/*couleur pour la typo : couleur la plus foncé de chaque thème*/
/*======== bootstrap ========*/
.btn {
  border-radius: 0; }

.btn-primary {
  background-color: #005db4;
  border-color: #002c55; }

.btn-primary:hover, .btn-primary:active, .btn-primary:not(:disabled):not(.disabled):active {
  background-color: #002c55;
  border-color: #005db4;
  /*================ TYPO ================*/ }

h2 {
  color: #005db4; }

h5 {
  color: #005db4;
  /*================ HEADER ================*/ }

body.in_module {
  overflow: hidden; }

header .navbar {
  border-bottom: 5px solid #005db4;
  box-shadow: 0 -1px 6px 3px rgba(0, 0, 0, .25); }

header .navbar button.search {
  border: 1px solid #ced4da; }

header .navbar .dropdown-toggle:after {
  display: none; }

header .navbar .dropdown-menu:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #353535 transparent;
  top: -9px;
  right: 13px; }

header .navbar .dropdown-menu:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 10px 10px 10px;
  border-color: transparent transparent #fff transparent;
  top: -9px;
  right: 13px; }

header .navbar .dropdown-item:hover {
  background: #005db4;
  color: #fff;
  /*================ MAIN ================*/ }

main {
  padding-bottom: 80px; }

main.ios {
  padding-bottom: 0; }

body.in_module main {
  padding-bottom: 0; }

.container_list {
  padding-top: 100px;
  padding-bottom: 20px; }

.container_list .card {
  margin-bottom: 2rem; }

.container_list .card img {
  max-width: 400px;
  max-height: 400px;
  /*height:100%;*/
  margin: 0 auto; }

.container_list .card-body {
  padding: 1rem 0.5rem;
  /*======== DOMAINE THEME ========*/ }

.domaine_item {
  opacity: 0.95; }

.domaine_item .card {
  border: 0; }

.domaine_item .card-img-overlay {
  background: rgba(0, 0, 0, .10); }

.domaine_item .card:hover .card-img-overlay {
  background: rgba(0, 0, 0, 0); }

.domaine_list h5 {
  background: #005db4;
  text-transform: uppercase; }

.domaine_list .card:hover {
  cursor: pointer; }

.domaine_list .card:hover h5 {
  background: #002c55; }

.domaine_list h5 a {
  color: #fff;
  /*======== MODULE ========*/ }

.back_link {
  color: #005db4; }

.back_link:hover {
  color: #002c55; }

.module_item {
  margin-bottom: 15px; }

.module_item .card img {
  position: relative;
  z-index: 2;
  cursor: pointer; }

.module_item .card .card-body {
  position: relative; }

.module_item .card .card-body:after {
  content: '';
  display: block;
  height: 28px;
  position: absolute;
  top: -11px;
  left: 0;
  right: 0;
  background: url('../img/shadow.png') no-repeat center center;
  background-size: cover; }

.module_item .card-footer {
  line-height: 1.2; }

.module_item.no_access .card {
  opacity: 0.5; }

.badge-primary {
  color: #fff;
  background-color: #005db4; }

#module_iframe {
  height: calc(100vh - 75px);
  margin-top: 75px;
  width: 100vw;
  border: 0; }

.module_item.test {
  opacity: 0.5; }

.module_close {
  display: block;
  position: fixed;
  top: 100px;
  right: 50px;
  z-index: 1030;
  padding: 0.25rem 0.75rem;
  border: 1px solid #005db4;
  border-radius: 8px;
  background: #005db4;
  opacity: 0.5;
  color: #fff;
  box-shadow: 0px 1px 3px 2px rgba(0, 0, 0, .5); }

.module_close:hover {
  opacity: 1;
  color: #fff; }

#loading-close {
  display: none;
  height: calc(100vh - 75px);
  margin-top: 75px;
  width: 100vw;
  position: absolute;
  background-color: #fff; }

#loading-close p {
  font-size: 25px;
  color: #005db4; }

.loading-content {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%); }

.module_related {
  display: block;
  position: fixed;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1030;
  padding: 0.5rem 1rem;
  border: 1px solid #005db4;
  border-radius: 8px;
  background: #005db4;
  color: #fff;
  box-shadow: 0px -2px 4px #000 29;
  border-radius: 25px;
  z-index: 1030; }

.module_related:hover {
  opacity: 0.75;
  color: #fff; }

.btn_modal_module_close {
  display: block;
  padding: 0.25rem 0.75rem;
  border: 1px solid #005db4;
  border-radius: 8px;
  background: #005db4;
  color: #fff;
  box-shadow: 0px 2px 4px #000 29;
  margin: 0 auto;
  cursor: pointer;
  /*================ SWIPER ================*/ }

.swiper-container__container {
  background: #464646; }

.swiper-slide, .swiper-button-next, .swiper-button-prev {
  color: #fff; }

.swiper-slide img {
  border-radius: 8px;
  /*================ FOOTER ================*/ }

body.in_module footer {
  display: none; }

footer {
  background: #fff url('../img/brush.jpg') no-repeat left bottom;
  border-top: 1px solid #eaebea; }

footer a {
  color: #989996;
  /*================ RESPONSIVE ================*/ }

@media (max-width: 767px) {
  header .navbar .dropdown-menu:before, header .navbar .dropdown-menu:after {
    display: none; }

  main, .module_container, .embed-responsive {
    height: 100%; }

  .module_close {
    right: 10px; }

  #loading-close p {
    font-size: 18px; } }

@media (max-width: 575px) {
  /*================ Ressources ==================*/
    main, .container_list {
      padding-bottom: 117px; }
    #loading-close p {
      font-size: 15px; } }

.ressource-no-img {
  background-color: #3294cd;
  color: #fff;
  position: relative;
  height: 150px; }
  .ressource-no-img span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-transform: uppercase; }
