/* Pager */

.pager .pager__item {
  padding: 0;
  margin: 0 4px;
  display: inline-block;
  vertical-align: middle;
}

.pager ul {
  text-align: center;
}

.pager .pager__item a {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 0.251282px;
  color: #D40073;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
  text-decoration: none
}

.pager .pager__item.is-active a {
  color: #FFFFFF;
  background-color: #D40073;
}

.pager .pager__item.pager__item--ellipsis {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 0.251282px;
  color: #D40073;
}

.pager__item--next a, .pager__item--previous a {
  opacity: 0;
}

/* Next */
.pager__item--next {
  width: 12px;
  height: 20px;
  display: block;
  margin-left: 30px !important;
  background-image: url('../images/icons/arrow-right.png');
}

/* Previous */
.pager__item--previous {
  width: 12px;
  height: 20px;
  display: block;
  margin-left: 30px !important;
  background-image: url('../images/icons/arrow-left.png');
}

/* ====== Layout ====== */
.region-top, main[role="main"] {
  max-width: 1215px;
  margin: 0 auto;
}

/* ====== Banner ====== */
.block-bkg-img {
  position: absolute;
  width: 100%;
  height: 340px;
  top: -165px;
}

.txt-wrapper {
  margin: 165px 70px 85px;
  text-align: center;
  padding: 35px 160px;
  background: #009B87;
}

.txt-wrapper p {
  color: #FFFFFF;
}

/* ====== Content ====== */
.layout-content {
  margin: 0 70px;
  padding-bottom: 45px;
}

.txt-wrapper h1 {
  margin: 0 0 30px;
  font-family: Hackney, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 80px;
  line-height: 70px;
  text-align: center;
  letter-spacing: 0.251282px;
  color: #FFFFFF;
}

.txt-wrapper p {
  color: #FFFFFF;
  text-align: center !important;
}

.txt-wrapper p span {
  color: #FFFFFF;
}

h2 {
  font-family: Hackney, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0.251282px;
  color: #D40073;
  margin: 0 0 35px;
}

p {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.251282px;
}

/* ====== Section ressources ====== */
.section-ressources {
  padding: 70px 0 0;
  margin: 0 -70px;
  text-align: center;
  background-image: url("../images/pattern-pink.svg");
  background-repeat: no-repeat;
  background-size: contain;
}

.section-ressources-wrapper {
  background-color: #D40073;
}

.section-ressources h2 {
  color: #FFFFFF;
}

.ressources-listing {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 75px;
}

.ressources-listing .views-row {
  display: inline-block;
  vertical-align: top;
  max-width: 160px;
  margin: 0 10px 10px;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  line-height: 21px;
  text-align: center;
  letter-spacing: 0.251282px;
  color: #FFFFFF;
}

.ressources-listing .media-item {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFFFFF;
}

.ressources-listing .media-item .media-icon {
  position: relative;
  width: 106px;
  height: 106px;
  display: block;
  background-color: #FFFFFF;
  background-image: url("../images/icons/paper-clip-3.png");
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 10px
}

.ressources-listing .media-image {
  margin-bottom: 10px;
  color: #FFFFFF;
  text-decoration: none;
}

.ressources-listing .media-image img {
  border: 3px solid #FFFFFF;
  margin: 0 0 10px;
}

/* ====== Slider des actulités ====== */
.block-read-also .wrapper {
  background-color: #009B87;
  margin: 0 -70px;
  padding: 50px 70px 0;
  position: relative;
}

.block-read-also .wrapper::before {
  content: "";
  position: absolute;
  top: -51px;
  left: 0;
  background-image: url("../images/pattern-green.svg");
  height: 92px;
  width: 100%;
  background-color: transparent;
  background-repeat: repeat-x;
}

@media (max-width:1024px) {
  .block-read-also .wrapper::before {
    top: -26px;
  }
}


.promoted-blocks .inner-content {
  padding: 0 0 120px;
}

.block-read-also .block-title-wrapper h2 {
  font-family: Hackney, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.251282px;
  color: #FFFFFF;
  margin: 0 0 50px;
}

.items-description {
  padding: 25px 30px;
}

.items-description p {
  color: #666666;
}

.items-description h3 a {
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 0.251282px;
  color: #D40073;
}

.slideshow .slick-dots li button {
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  border-radius: 50%;
}
.slideshow .slick-dots li.slick-active button {
  width: 20px;
  height: 20px;
}

/* Actualités */
.block-banner .tags {
  padding-top: 40px;
}

.block-banner .tags ul li {
  display: inline-block;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.251282px;
  color: #FFFFFF;
}

.block-banner .tags ul li:not(:last-child)::after {
  content: "|";
  color: #FFFFFF;
  margin: 0 10px;
}

/* Actualités */
.page-node-type-extranet-actualite .layout-content, .page-node-type-extranet-page .layout-content {
  padding-bottom: 0;
}

.block-read-also {
  margin-bottom: -55px;
}

/* Comments */
.section-comments {
  padding-bottom: 65px;
}

.field--type-comment .comment {
  display: none;
}

form.comment-form label[for="edit-comment-body-0-value"],
form.comment-form label[for="edit-comment-body-0-format--2"] {
  display: none;
}

form.comment-form button#edit-submit--2 {
  background-color: #009B87;
  border: 2px solid #009B87;
  font-size: 30px;
}

form.comment-form button#edit-submit--2:hover {
  background: #D40073;
  border: 2px solid #D40073;
  color: #FFFFFF;
}

/* Search banner block */
.path-titre form#home-search-form {
    max-width: none;
    width: 80%;
}

form#home-search-form {
  padding: 40px 0 50px;
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  position: relative;
}

form#home-search-form input.form-text {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 30px 0 0 30px;
  background-color: #EBEEF0;
  background-image: url("../images/icons/loupe.png");
  background-repeat: no-repeat;
  background-position: 5px center;
  height: 57px;
}

form#home-search-form input.form-text:focus {
  background-image: none;
}

form#home-search-form button.form-submit {
  position: relative;
  background: #D40073 !important;
  font-family: Hackney, Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 1.375px;
  color: #FFFFFF;
  box-shadow: 0 4px 4px rgba(0,0,0,0.35);
  padding-left: 35px !important;
  padding-right: 35px !important;
  border-radius: 0 30px 30px 0 !important;
  height: 56px;
  margin: 0;
  border: 0;
}

form#home-search-form button.form-submit:hover {
  background: #FFFFFF !important;
  border: 2px solid #D40073 !important;
  color: #D40073 !important;
}

.btn-advanced-search {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 18px;
  text-align: right;
  letter-spacing: 0.251282px;
  color: #000000;
}

/* Page mot de passe oublié */
form#user-pass .form-element-wrapper, form#user-pass-reset .form-element-wrapper {
  margin-bottom: 20px;
}

form#user-pass > p {
  margin-bottom: 30px;
  color: #FFFFFF;
}

form#user-pass-reset > p {
  color: #FFFFFF;
}

.form#user-pass-reset #edit-actions {
  margin-top: 30px;
}

/* Mobile + Tablette */
@media (max-width:1024px) {
  .section-ressources {
    background-size: auto;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .block-bkg-img {
    position: relative;
    top: 0;
    height: 200px;
  }
  .txt-wrapper {
    margin: 0;
    padding: 20px;
  }
  .txt-wrapper h1 {
    font-size: 50px;
    line-height: 1;
    margin: 0 0 15px;
  }
  .layout-content {
    margin: 0;
    padding-bottom: 0;
  }
  .section-ressources {
    margin: 0;
    padding-top : 28px;
  }
  .ressources-listing {
    padding-bottom: 40px;
  }
  .ressources-listing .views-row {
    display: block;
    width: 100%;
    max-width: none;
  }
  .block-read-also .wrapper {
    margin: 0;
  }
  .section-comments {
    padding: 0 20px 20px;
  }
  form#home-search-form button.form-submit {
    min-width: 150px;
    font-size: 22px !important;
    padding: 0 !important;
  }
}
