/**
* 2007-2018 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2018 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

.instagram-wrapper .slick-prev {
    left: -25px;
}
.instagram-wrapper .slick-next {
    right: -15px;
}

.slick-list {
    overflow-y: auto;
    padding: 1rem;
}

.instagram-wrapper {
    padding: 0;
    background-color: #C8CDD4;

}

.container-instagram.container {
    padding-bottom: 3rem;
    padding-top: 2.5rem;
    max-width: 1127px !important;
    width: 1127px !important;
}
@media ( max-width: 1124px ) {
    .container-instagram.container{
        max-width: 100% !important;
        width: auto !important;
    }
}

.slick-list {
    margin: 1rem;
    overflow: hidden;
    padding: 0;
}

#bloc-instagram {
    /*max-width: 1170px;*/
    margin: 0 auto;
    width: 100%;
}

#slider-dg-instagram li a {
    width: 254px;
}

#slider-dg-instagram li a img {
    /*width: 100%;*/

    margin-right: 48px;
    width: 254px;
    height: 254px;
}

#bloc-instagram h3 {
    padding-top: 2rem;
    margin-top: 0;
    background-color: #8E9AAA;
    text-align: center;
    color: white;
    font-style: italic;
    padding-bottom: 2.5rem;
}

#bloc-instagram h3 img {
    display: block;
    margin: 2rem 1rem;
    max-height: 3rem;
}
#bloc-instagram .flex {
    display:flex;
    justify-content:center;
}

/* button */

.share-your-photos {
    margin: 0.4rem auto;
    border: none;
    display: block;
    text-align: center;
    max-width: 28rem;
    width: 100%;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    padding: 1em;
    cursor: pointer;
    background: #A62529;
    text-decoration: none;
    color: #fafafa;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.share-your-photos:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #101e41;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.share-your-photos:hover {
    color: #fafafa;
    text-decoration: none;
}

.share-your-photos:hover:before {
    transform: scaleX(1);
}


.instagram-wrapper {
    width: 100%;
}

@media ( max-width: 1200px) {
    #slider-dg-instagram {
        width: 90%;
        margin: 0 auto;
    }

    #slider-dg-instagram li a img {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
}

@media ( max-width: 1100px ) {
    .instagram-wrapper .slick-prev {
        left: 0;
    }
    .instagram-wrapper .slick-next {
        right: 0;
    }
}



@media ( max-width: 550px ) {
    .instagram-wrapper .slick-prev {
        left: -5px;
    }
    .instagram-wrapper .slick-next {
        right: -5px;
    }
    #slider-dg-instagram li a img {
        width: 125px;
        height: 125px;
        margin: 0 auto;
    }
}

@media ( max-width: 370px ) {
    #slider-dg-instagram li a img {
        width: 226px;
        height: 226px;
        margin: 0 auto;
    }
}


