/********************
	Part - block social
********************/
@media (max-width : 991px) {
    .block-social {
        text-align : center
    }
}

/********************
	Part - block contact
********************/
@media (max-width : 991px) {
    .block-contact {
        padding-left : 1.5rem
    }
}


@media (max-width : 767px) {
    .footer-container {
        box-shadow : none;
        margin-top : 0
    }

    .footer-container .wrapper {
        padding-left  : 0 !important;
        padding-right : 0 !important
    }

    .footer-container .links .h3 {
        line-height : 1.5;
        font-size   : 1rem
    }

    .footer-container .links ul {
        background-color : #f6f6f6;
        margin-bottom    : 0
    }

    .footer-container .links ul > li {
        padding       : .625rem;
        border-bottom : 1px solid #fff;
        font-weight   : 700
    }

    .footer-container .links ul > li a {
        color : var(--color-black-default)
    }

    .links .collapse {
        display : none
    }

    .links .collapse.in {
        display : block
    }

    .links .title {
        padding       : .625rem;
        border-bottom : 1px solid #f6f6f6;
        cursor        : pointer
    }

    .links .title .collapse-icons .remove,
    .links .title[aria-expanded=true] .collapse-icons .add {
        display : none
    }

    .links .title[aria-expanded=true] .collapse-icons .remove {
        display : block
    }

    .links .navbar-toggler {
        display : inline-block;
        padding : 0
    }

  /*Section Reassurance*/
  .c-reassurance-list__inner {
    grid-template-columns:1fr 1fr;
    grid-gap: 30px 20px;
  }

  /*.c-reassurance-list__inner a:first-child .c-reassurance{*/
  /*  display: none;*/
  /*}*/

  .c-reassurance {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-row-gap : 0;
    justify-content: space-between;
  }

  .c-reassurance__title,.c-reassurance__subtitle {
    text-align: center;
  }

  .ybc_instagram_header_content .title_slogan {
    font-size: 35px;
  }
}

@media screen and (max-width: 569px) {
  .footer-container .footer {
    padding: 86px 30px;
  }

  .block_newsletter form .input__wrapper {
    width: 100%;
  }

  .footer .c-title {
    margin-bottom: 20px;
  }

  .footer .c-link-list {
    margin-bottom: 50px;
  }

  .footer input[name="submitNewsletter"] {
    display: none;
  }

  .section__title-content.newsletter {
    margin-top: 20px;
  }

  .logo_footer_inner img {
    width: 70%;
  }

  .footer-copyright {
    padding: 10px 0;
    flex-direction: column;
    justify-content: center;
  }

  #popupwebsite .modal-grid {
    justify-content: unset !important;
  }

  #popupwebsite .modal-dialog{
    min-width: 95vw;
  }

}

@media screen and (max-width : 1023px) {
    .footer-container .footer {
        flex-wrap : wrap;
    }

    .footer-container .footer > * {
        flex : 1 0 100%;
    }
}

@media screen and (min-width : 1024px) {
    .before-footer {
        position : relative;
        z-index  : 1;
    }

    #footer {
        position : relative;
        z-index  : 0;
    }

    #footer.footer-fixed {
        position : -webkit-sticky;
        position : sticky;
        bottom   : 0;
    }

    #footer > .container {
        position : relative;
        z-index  : 1;
        padding  : 15px;
    }

    .footer-container .footer > .footer-links-list {
        flex : 1 0 0;
    }
}

@media (min-width : 768px) and (max-width: 1199px) {
  .c-reassurance-list__inner {
    grid-gap: 30px 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .block_newsletter form .input__wrapper {
    margin:0;
  }

  .footer .c-link-list {
    margin-top: 30px;
  }
}


@media (min-width : 1024px) and (max-width: 1299px) {
  .section__reassurance-list__inner.container-primary {
    max-width: 90%;
  }
}
