@media (min-width:1900px) {

  /* queries for extra-large-devices >1900px */
  /*examples of devices that fall into this category : */
  .banner .titles {
    margin-top: -200px;
  }
}

@media (max-width:1900px) {

  /* queries for extra-large-devices 1200px < device < 1900px (col-xl)*/
  /*examples of devices that fall into this category : most descktop screens */
  .banner .titles {
    margin-top: -200px;
  }
}

@media (max-width:1400px) {
  .banner .titles {
    margin-top: -190px;
  }

  .flex-col-wrapper .text-img-icon .icon-text {
    padding: 15px 20px;
    width: 60%;
    background-color: #3A8DDE;
    position: relative;
  }
}

@media (max-width:1200px) {

  /* queries for large-devices 992px < device < 1200px (col-lg)*/
  /*examples of devices that fall into this category : Ipad PRO / Laptop with HiDPI screen / Laptop with MDPI screen / Laptop with touch */
  header .navbar .logo img {
    height: 50px;
  }

  .banner .titles {
    margin-top: -120px;
  }

  .ig-p-title .decorated-title::before {
    right: 0%;
  }

  .flex-col-wrapper .text-img-icon .icon-text {
    padding: 10px 17px;
    width: 80%;
    background-color: #3A8DDE;
    position: relative;
  }

  .navbar-light .navbar-nav .nav-item {
    padding: 0px 8px;
  }

  .navbar-light .navbar-nav .nav-item .nav-link {
    font-size: .95rem;
  }
}

@media (min-width: 992px) and (max-width : 1200px) {
  .contact-info .text-icon .horaires {
    flex-direction: column;
  }

  .contact-info .text-icon .horaires .text:first-child,
  .contact-info .text-icon .horaires .text:last-child {
    width: 100%;
    margin: 0 auto;
  }

  .contact-info .text-icon .horaires .text:first-child {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-right: none;
    border-bottom: 1px solid #3A8DDE;
  }

  .contact-info .text-icon:last-child {
    align-items: flex-start;
  }
}

@media (max-width: 999px) {
  .grid-news {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }
}

@media (max-width: 992px) {
  .navbar-light .navbar-nav .nav-item .nav-link {
    font-size: 1rem;
  }

  header .socials {
    display: flex;
    margin-top: 0px;
    margin: 0px 0px;
  }

  /* queries for medium-devices 768px < device < 992px (col-md)*/
  /*examples of devices that fall into this category : Ipad / Kindle fire HDX / Ipad mini / Nexus 10  */
  .navbar-expand-lg .navbar-nav {
    align-items: flex-start;
  }

  .navbar-light .navbar-nav .nav-item {
    padding: 15px;
    padding-left: 0px;
  }

  .navbar-expand-lg .navbar-collapse {
    margin-top: 25px;
  }

  footer .votre-centre .title h2 {
    text-align: left;
    margin-left: 0px;
    margin-right: auto;
  }

  footer .socials {
    margin-bottom: 45px;
  }

  footer .flexed-text .text {
    flex-direction: column;
  }

  .ig-p-title .decorated-title span {
    width: 65%;
  }

  .ig-p-title .decorated-title::before {
    right: -35%;
  }

  .third-section .colored-card-wrapper,
  .fourth-section .colored-card-wrapper,
  .fifth-section .colored-card-wrapper {
    padding: 45px;
  }

  .second-section .card-wrapper {
    padding: 30px;
  }

  .map {
    margin-bottom: 30px;
  }

  .contact-info {
    padding-left: 0px;
  }

  .text-icon-wrapper {
    width: 100%;
  }

  .text-icon-wrapper {
    margin-bottom: 45px;
  }

  .text-icon-wrapper .text-icon {
    margin-bottom: 25px;
  }

  .navbar-light .navbar-nav .nav-item:last-child .nav-link {
    padding: 0px;
  }

  .le-centre-f .container .row .col-lg-6:last-child .white-bg:first-child {
    margin-top: 0px;
  }

  .numbers .counter-wrapper p {
    width: 80%;
  }

  .numbers .counter-wrapper-w:first-child .counter-wrapper {
    margin: 0 auto;
    margin-bottom: 45px;
  }

  .numbers .counter-wrapper-w:last-child {
    margin: 0 auto;
    margin-bottom: 45px;
  }

  .counter-wrapper {
    margin-bottom: 45px;
  }

  .numbers .counter-wrapper h2 {
    margin-bottom: 10px;
  }

  .tpg-wrapper-flex {
    flex-direction: column;
  }

  .parking-map {
    margin-bottom: 45px;
  }

  .flex-col-wrapper .text-img-icon {
    flex: unset;
    min-height: -webkit-fit-content;
    min-height: -moz-fit-content;
    min-height: fit-content;
    height: 250px;
  }

  .input-rgoup {
    width: 100%;
  }

  .page-banner .title-logo {
    width: 380px;
  }

  .open .icon {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }

  #open.activated {
    z-index: 10;
    right: 0px;
    left: 0px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 4rem;
    max-height: calc(100vh - 60px);
    padding: 25px;
  }

  .open .open-horaires {
    flex-direction: column;
  }

  .navbar-light button.open-button.desk {
    display: none;
  }

  .navbar-light button.open-button.mob {
    display: block;
  }

  .open .open-horaires .t-block {
    margin-right: 0px;
    width: 100%;
  }

  #myHeader.mobile-colored .navbar-light button.open-button.mob {
    display: none;
  }
}

@media (max-width: 768px) {

  /* queries for sm-devices 576px < device < 768px (col-sm)**/
  /*examples of devices that fall into this category : BlackBerry Playbook / Microsoft Lumia 550 / Nexus 7 /*/
  .first-section {
    position: relative;
    margin-top: 0%;
    padding: 100px 0px;
  }
  .popup-actu .content-popup .info-left {
      max-width: 60%;
  }
  .first-section::before {
    height: 100%;
    top: 0px;
  }

  .second-section {
    position: relative;
    margin-top: 0%;
    padding: 100px 0px;
  }

  .second-section::before {
    height: 100%;
    top: 0px;
  }

  .third-section {
    position: relative;
    margin-top: 0%;
    padding: 100px 0px;
  }

  .third-section::before {
    height: 100%;
    top: 0px;
  }

  .fourth-section {
    position: relative;
    margin-top: 0%;
    padding: 100px 0px;
  }

  .fourth-section::before {
    height: 100%;
    top: 0px;
  }

  .fifth-section {
    position: relative;
    margin-top: 0%;
    padding: 100px 0px;
  }

  .fifth-section::before {
    height: 100%;
    top: 0px;
  }

  .ig-p-title .decorated-title span {
    width: 85%;
  }

  .ig-p-title .decorated-title::before {
    right: -75%;
  }

  .ig-posts .ig-post {
    width: 90%;
    margin: 0 auto;
  }

  .slider-ig-wrapper {
    position: relative;
  }

  .slider-ig-wrapper .slick-dots {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 1rem 0;
    width: 15px;
    height: 15px;
    list-style-type: none;
    position: absolute;
    bottom: -45px;
    right: 50%
  }

  .slider-ig-wrapper .slick-dots li {
    margin: 0 .25rem
  }

  .slider-ig-wrapper .slick-dots button {
    display: block;
    width: .7rem;
    height: .7rem;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #3A8DDE;
    text-indent: -9999px
  }

  .slider-ig-wrapper .slick-dots button {
    display: block;
    width: .7rem;
    height: .7rem;
    padding: 0;
    border: none;
    border-radius: 100%;
    background-color: #3A8DDE;
    text-indent: -9999px
  }

  .slider-ig-wrapper li.slick-active button {
    background-color: #EE7623;
    outline: 0
  }

  .banner {
    height: 100vh;
  }

  .banner .container,
  .banner .row {
    height: 100%;
  }

  .banner .titles {
    margin: 0 auto;
    height: 80%;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 100px;
  }

  .banner .titles .first-title,
  .banner .titles .second-title {
    width: 100%;
    flex: unset;
  }

  .time-table-wrapper {
    width: 100%;
    overflow-x: scroll;
  }

  .time-table-wrapper img {
    width: 120%;
  }

  /* width */
  .time-table-wrapper::-webkit-scrollbar {
    width: 10px;
  }

  /* Track */
  .time-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Handle */
  .time-table-wrapper::-webkit-scrollbar-thumb {
    background: #3A8DDE;
  }

  /* Handle on hover */
  .time-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #3A8DDE;
  }

  .double-links {
    flex-direction: column;
  }

  .double-links .link:first-child {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .plan-centre-w {
    width: 100%;
    overflow-x: scroll;
  }

  .plan-centre-w img {
    width: 120%;
  }

  /* width */
  .plan-centre-w {
    display: none;
  }

  .plan-centre-mobile {
    display: block;
  }

  .plan-centre-mobile .upper {
    margin-bottom: 45px;
  }

  .plan-centre {
    position: relative;
  }

  .plan-centre::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -0px;
    top: 25%;
    z-index: -1;
    background-image: url('../img/icons/shape-blue-m.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .plan-centre::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    right: -0px;
    bottom: 15%;
    z-index: -1;
    background-image: url('../img/icons/shape-orange-m.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .content-single .text {
    margin-bottom: 50px;
  }

  .page-banner .title-logo {
    width: 350px;
  }

  .popup-actu {
    width: 100%;
  }

  .popup-actu .header-popup .social a img {
    width: 20px;
  }

  .popup-actu .header-popup .social {
    left: 30px;
    top: 30px;
  }

  .popup-actu .header-popup .bottom-text {
    padding: 0px 30px;
    padding-bottom: 10px;
  }

  .popup-actu .content-popup {
    padding: 30px;
  }

  .popup-actu .header-popup .close {
    position: absolute;
    right: 30px;
    top: 30px;
  }
}

@media (max-width: 767px) {

  .contact-horaires .wrapper-w:first-child .wrapper {
    justify-content: flex-start;
    height: 150px;
    align-items: center;
  }
  .popup-actu .content-popup .info-left {

    max-width: 100%;
}

  .contact-horaires .wrapper-w:last-child .wrapper {
    justify-content: flex-start;
    height: 150px;
    align-items: center;
  }

  .contact-horaires::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    right: 0px;
    top: 50%;
    background-color: #F8D03F;
    z-index: -1;
  }

  .contact-horaires .wrapper .text p,
  .contact-horaires .wrapper .text a {
    font-size: 1rem;
  }

  .contact-horaires::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0px;
    top: 0%;
    background-color: #3A8DDE;
    z-index: -1;
  }

  .page-banner .title-logo {
    width: 300px;
  }
}

@media (max-width: 600px) {
  .text-center.cl-b {
    text-align: left !important;
    padding-left: 40px !important;
  }
}

@media (max-width: 576px) {
  .first-section .card-wrapper {
    padding: 30px 20px;
  }

  /* queries for extra-small-devices  <576px (col-)**/
  /*examples of devices that fall into this category : Galaxy S5 / iphones: X/6/7/8/6,7,8 plus / pixel 2XL / Pixel2 / Nokia N9/ galaxy s5/s3*/
  .ig-p-title .decorated-title span {
    width: 85%;
  }

  .ig-p-title .decorated-title::before {
    right: -85%;
  }

  footer .votre-centre .col-cont {
    flex-direction: column;
  }

  .contact-info .text-icon .horaires {
    flex-direction: column;
  }

  .contact-info .text-icon .horaires .text:first-child,
  .contact-info .text-icon .horaires .text:last-child {
    width: 100%;
    margin: 0 auto;
  }

  .contact-info .text-icon .horaires .text:first-child {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-right: none;
    border-bottom: 1px solid #3A8DDE;
  }

  .contact-info .text-icon:last-child {
    align-items: flex-start;
  }

  footer .flexed-text {
    flex-direction: column;
  }

  .time-table-wrapper img {
    width: 150%;
  }

  .double-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .popup-actu .header-popup {
    min-height: 400px;
  }

  .popup-actu .header-popup .bottom-text {
    bottom: 10px;
  }
}

@media (max-width: 375px) {
  .ig-p-title .decorated-title {
    width: 100%;
  }

  .ig-p-title .decorated-title::before {
    right: -5%;
  }

  .reglement .decorated-wrapper a h2 {
    font-size: 1.4rem;
  }

  .flex-col-wrapper .text-img-icon {
    flex: unset;
    min-height: -webkit-fit-content;
    min-height: -moz-fit-content;
    min-height: fit-content;
    height: 300px;
  }

  .flex-col-wrapper .text-img-icon .icon-text {
    width: 90%;
  }

  .page-banner .title-logo {
    width: 250px;
  }
}

@media (max-width: 340px) {
  .navbar-light button.open-button.mob span {
    display: none;
  }

  .error-page .error-title h1 {
    font-size: 175px;
  }

  .error-page .error-title h2 {
    font-size: 1.5rem;
  }

  .error-page .error-title a {
    font-size: 1.1rem;
  }
}

@media (max-height: 900px) and (max-width : 786px) {
  #open.activated {
    padding-top: 200px;
  }
}

@media (max-height: 750px) and (max-width : 786px) {
  #open.activated {
    padding-top: 400px;
  }
}
@media (min-width: 600px) and (max-width : 992px) {
	header .navbar .logo img.home-logo {
  height: 70px;
}
}
@media (min-width: 1200px) {
	header .navbar .logo img.home-logo {
  height: 70px;
}
}
@media (min-width: 1400px) {
  .popup-actu {
    min-width: 1320px;
  }
}
