/* ---- CSS de la page d'accueil ---- */

/* Corrections règles importées */

.containerRows{
    border-bottom: none;
}

main{
    margin-top: 0 !important;
}

/* Slider top */

#topProductPart{
    background-color: #fafafa;
}

    #topProductPart .bx-wrapper{
        margin-bottom: 0;
    }

    #topProductPart .bx-pager{
        display: none;
    }

.mainPicContainer{
    position: relative;
    max-height: 440px;
    overflow: hidden;
}

.containerProductInfo{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 40px;
}

    .mainPicContainer>img{
        width: 100%;
        height: auto;
    }

    .mainPicContainer h1, .mainPicContainer h2{
        color: white;
        margin-bottom: 18px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.34);
    }

    .mainPicContainer h2{
        font-size: 20px;
        line-height: 145%;
        max-width: 72%;
    }

    .productArrowLeft2, .productArrowRight2{
        margin-top: -25px;
    }

.innerCTA{
    margin-top: 23px;
}

    .innerCTA a{
        font-size: 17px;
    }

    .bigPriceBlock{
        display: inline-block;
        border: 2px solid white;
        background-color: rgba(255,255,255,0.18);
        padding: 13px 18px;
        color: white;
        font-size: 15px;
        font-weight: 300;
        margin-right: 19px;
        font-family: 'Montserrat', sans-serif;
    }

#containerColoris{
    position: absolute;
    left: 40px;
    bottom: 41px;
}

    #containerColoris div{
        border: 2px solid white;
        background-color: rgba(255,255,255,0.2);
        padding: 16px;
        margin-right: 26px;
    }

    #containerColoris img{
        max-width: 80px;
        height: auto;
    }

/* Blocks bruns explications flux */

.brownBlock *{
    color: white;
}

.brownBlock{
    background-color: #c7b2a1;
    padding: 38px 0;
    margin-top: 40px;
    position: relative;
    height: 188px;
}

    .brownBlock .containerInfoBrow{
        background-color: #c7b2a1;
        padding: 14px;
        margin-left: -14px;
        display: inline-block;
        margin-top: 14px;
    }

    .brownBlock h2{
        margin-bottom: 8px;
    }

    .brownBlock+.brownBlock{
        background-color: #dec7b6;
    }

        .brownBlock+.brownBlock .containerInfoBrow{
            background-color: #dec7b6;
            float: right;
            margin-top: 28px;
        }

    .brownBlock .whiteLine{
        position: absolute;
        display: block;
        width: 100%;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        height: 1px;
        margin: auto;
        background-color: rgba(255, 255, 255, 0.3);
        z-index: 5;
    }

    .brownBlock .centerBlock{
        position: relative;
        z-index: 10;
    }

.brownBlock:first-child .roundContainer{
    float: right;
}

.roundContainer{
    display: inline-block;
}

.roundCircleDiv{
    display: inline-block;
    width: 112px;
    height: 112px;
    position: relative;
    background-color: white;
    text-align: center;
    margin-right: 42px;

    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    border-radius: 60px;
}

    .roundCircleDiv+.roundCircleDiv+.roundCircleDiv{
        margin-right: 0;
    }

    .roundCircleDiv *{
        color: #c7b2a1;
    }

        .roundCircleDiv span{
            font-size: 11px;
        }

        .roundCircleDiv .fa{
            font-size: 38px;
            display: block;
            width: 100%;
            text-align: center;
            margin-top: 27px;
            margin-bottom: 4px;
        }

        .brownBlock+.brownBlock .roundCircleDiv *{
            color: #c7b2a1;
        }

/* Block de produits */

#productBlock, #productBlock2{
    margin-top: 40px;
    position: relative;
}

    #productBlock h2, #productBlock2 h2{
        margin-bottom: 22px;
    }

.quartProduct{
    border: 1px solid #dadada;

    width: -webkit-calc(25% - 13px);
    width: -moz-calc(25% - 13px);
    width: calc(25% - 13px);
    text-align: center;
}

    .quartProduct:last-child{
        margin-right: 0;
    }

    .quartImgContainer{
        text-align: center;
        padding: 28px;
        position: relative;
        padding-bottom: 47px;
    }

    #productBlock .bx-wrapper img, #productBlock2 .bx-wrapper img{
        display: inline-block;
    }

    #productBlock .bx-pager, #productBlock2 .bx-pager{
        display: none;
    }

    .quartProduct .fa-angle-double-right {
        color: #f6440e;
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 26px;
    }

    .quartProduct a{
        line-height: 150%;
        font-size: 17px;
        letter-spacing: -0.1px;
        border-top: 1px solid #dadada;
        padding: 12px;
        padding-left: 14px;
        padding-top: 11px;
        margin-top: -3px;
        font-family: 'Lato', sans-serif;
        color: #9c9c9c;
        text-decoration: none !important;
        position: relative;
        font-weight: 400 !important;
        margin-bottom: 0;
        display: block;
        text-align: left;
    }

        .quartProduct a:hover{
            color: #f6440e;
        }

        .quartProduct .nextPartLink, .quartProduct .nextPartLink:hover{
            color: white;
        }

        .quartProduct .nextPartLink .fa{
            font-size: 26px;
        }

.productArrowLeft1, .productArrowRight1, .productArrowLeft2, .productArrowRight2, .productArrowLeft3, .productArrowRight3, .productArrowLeft4, .productArrowRight4{
    display: block;
    width: 25px;
    height: 51px;
    background-image: url('https://www.mon-pave.fr/templates/interblocs/resources/leftArrowOrange.png');
    cursor: pointer;

    position: absolute;
    top: 50%;
    left: -20px;
}

    .productArrowRight1, .productArrowRight2, .productArrowRight3, .productArrowRight4{
        background-image: url('https://www.mon-pave.fr/templates/interblocs/resources/rightArrowOrange.png');
        left: auto;
        right: -20px;
    }

    .productArrowLeft1 a, .productArrowRight1 a, .productArrowLeft2 a, .productArrowRight2 a, .productArrowLeft3 a, .productArrowRight3 a, .productArrowLeft4 a, .productArrowRight4 a{
        display: block;
        width: 100%;
        height: 100%;
        text-indent: -9999px;
    }

.startingPrice{
    position: absolute;
    right: 10px;
    bottom: 13px;
    font-size: 16px;
    color: #c7b2a1;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

    .startingPrice span{
        font-size: 18px;
        color: #b5a496;
        font-family: 'Montserrat', sans-serif;
        font-weight: 300;
    }

/* Block du dessous */

#duoInfo{
    margin-top: 45px;
    margin-bottom: 40px;
}

    #duoInfo .halfBlock{
        border: 1px solid #dadada;
    }

    #duoInfo .textAlignRight{
        background-color: rgba(0, 0, 0, 0.25);
        padding: 12px 9px;
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
    }

    #duoInfo img{
        width: 100%;
        height: auto;
    }

    #duoInfo h3{
        font-size: 20px;
        color: #cbaa94;
        margin-bottom: 10px;
    }

.pictureContainer{
    position: relative;
    height: 265px;
    overflow: hidden;
}

.innerInfo{
    padding: 18px 19px;
}

#productBlock .bx-wrapper img, #productBlock2 .bx-wrapper img{
    max-width: -webkit-calc(100% - 40px);
    max-width: -moz-calc(100% - 40px);
    max-width: calc(100% - 40px);
}

#realisationBlock {
    margin-top: 75px;
}

.fancybox-title a{
    color: white !important;
}

.htvaPrice{
    color: white;
}

.containerProductInfo h1{
    margin-bottom: 16px;
    font-size: 38px;
    margin-top: -3px;
}

/* Corrections de la page - blocks sur une ligne */

.roundCircleDiv .fa img{
    position: relative;
    top: 1px;
}

#qualityPic{
    position: absolute;
    right: 28px;
    width: 150px;
    height: auto;
    bottom: 28px;
}

    #qualityPic img{
        width: 100%;
        height: auto;
    }

@media only screen and (min-width: 900px){
    /* Duo block : responsive */

    .brownBlock{
        float: left;
        margin-top: 0;
        width: 50%;
        padding: 26px 0;
        padding-top: 64px;
        height: auto;
        position: relative;
        margin-bottom: 35px;
    }

    .brownBlock .centerBlock{
        position: static;
        padding: 0 24px;
        width: auto;
    }

    #productBlock, #productBlock2{
        clear: both;
    }

    .containerInfoBrow h2{
        position: absolute;
        right: 26px;
        font-size: 22px;
        font-weight: 200 !important;
        top: 22px;
    }

    .brownBlock+.brownBlock .containerInfoBrow h2{
        right: auto;
        left: 26px;
    }

    .roundCircleDiv {
        margin-right: 28px;
        position: relative;
        z-index: 10;
    }

    .roundCircleDiv .fa {
        font-size: 32px;
        margin-bottom: 4px;
        margin-top: 28px;
    }

    .brownBlock .whiteLine{
        top: 37px;
    }
}

/* Mediaqueries de la page */

@media only screen and (max-width: 1600px){

    .productArrowRight1, .productArrowRight2, .productArrowLeft1, .productArrowLeft2, .productArrowLeft3, .productArrowRight3, .productArrowLeft4, .productArrowRight4{
        transform: scale(0.9);
        -webkit-transform: scale(0.9);
        -moz-transform: scale(0.9);
        -o-transform: scale(0.9);
        -ms-transform: scale(0.9);
    }

    .containerProductInfo{
        padding: 35px;
    }

    #containerColoris{
        left: 35px;
        bottom: 35px;
    }

    #containerColoris div{
        margin-right: 25px;
        padding: 13px;
    }

    #containerColoris img {
        max-width: 75px;
    }

    .innerCTA a{
        font-size: 16px;
    }

    .roundCircleDiv{
        width: 108px;
        height: 108px;
    }

    .roundCircleDiv .fa {
        font-size: 35px;
        margin-top: 27px;
        margin-bottom: 9px;
    }

    .containerInfoBrow p{
        font-size: 15px;
    }

    .quartProduct a{
        font-size: 16px;
    }

    .startingPrice{
        font-size: 15px;
    }

        .startingPrice span{
            font-size: 17px;
        }

    .quartImgContainer{
        padding-bottom: 43px;
    }

    #duoInfo h3 {
        font-size: 17px;
    }

    .pictureContainer .textAlignRight a{
        font-size: 15px;
        padding: 15px;
        padding-right: 36px;
    }

    .pictureContainer{
        height: 205px;
    }

    .containerProductInfo h1{
        margin-bottom: 13px;
        font-size: 35px;
    }

    .innerCTA {
        margin-top: 29px;
    }

    /* Responsive du bloc explicatif corrigé */

    .roundCircleDiv .fa{
        font-size: 30px;
    }

    .roundCircleDiv{
        width: 105px;
        height: 105px;
        vertical-align: top;
    }

    .roundCircleDiv{
        margin-right: 22px;
    }

    .containerInfoBrow h2{
        font-size: 21px;
    }

    .brownBlock{
        padding: 25px 0;
        padding-top: 61px;
    }

    .roundCircleDiv .fa img{
        position: relative;
        top: 3px;
        width: 48px;
        height: auto;
    }

    .roundCircleDiv span{
        letter-spacing: -0.15px;
    }

    #qualityPic{
        right: 26px;
        width: 140px;
        bottom: 26px;
    }
}

@media only screen and (max-width: 1450px){
    .mainPicContainer{
        max-height: 385px;
    }

    h1{
        font-size: 35px;
        margin-bottom: 17px;
    }

    #containerColoris img {
        max-width: 70px;
    }

    .mainPicContainer h2 {
        font-size: 19px;
    }

    .containerProductInfo h1 {
        margin-bottom: 11px;
        font-size: 32px;
    }

    .innerCTA{
        margin-top: 24px;
    }

    /* Responsive du bloc explicatif corrigé */

    .roundCircleDiv .fa{
        font-size: 28px;
        margin-bottom: 6px;
    }

    .roundCircleDiv{
        width: 98px;
        height: 98px;
    }

    .roundCircleDiv{
        margin-right: 20px;
    }

    .containerInfoBrow h2{
        font-size: 19px;
        top: 20px;
    }

    .brownBlock{
        padding: 24px 0;
        padding-top: 57px;
    }

    .roundCircleDiv .fa img{
        position: relative;
        top: 3px;
        width: 46px;
        height: auto;
    }

    .roundCircleDiv span{
        letter-spacing: -0.2px;
    }

    #qualityPic{
        right: 25px;
        width: 130px;
        bottom: 25px;
    }
}

@media only screen and (max-width: 1230px){
    .containerInfoBrow h2 {
        font-size: 20px;
    }

    .containerProductInfo{
        padding: 30px;
    }

    #containerColoris{
        left: 30px;
        bottom: 30px;
    }

    .mainPicContainer h1, .mainPicContainer h2{
        margin-bottom: 16px;
    }

    .innerCTA{
        margin-top: 28px;
    }

    #containerColoris div {
        margin-right: 22px;
        padding: 10px;
    }

    #containerColoris img {
        max-width: 62px;
    }

    .containerInfoBrow p{
        display: none;
    }

    .roundCircleDiv{
        margin-right: 30px;
    }

        .roundCircleDiv:last-child{
            margin-right: 0;
        }

    .brownBlock .containerInfoBrow{
        margin-top: 28px;
    }

    .quartProduct a{
        font-size: 15px;
    }

    .quartProduct .fa-angle-double-right{
        font-size: 24px;
    }

    .startingPrice{
        font-size: 14px;
    }

        .startingPrice span{
            font-size: 16px;
        }

    .quartImgContainer{
        padding-top: 24px;
        padding-bottom: 46px;
    }

    .pictureContainer .textAlignRight a {
        padding: 13px;
        padding-right: 34px;
    }

        .pictureContainer .nextPartLink .fa{
            font-size: 22px;
            right: 10px;
            top: 9px;
        }

    #duoInfo h3{
        line-height: 145%;
    }

    .mainPicContainer {
        max-height: 350px;
    }

    .pictureContainer{
        height: 173px;
    }

    .containerProductInfo h1{
        margin-bottom: 11px;
        font-size: 28px;
    }

    .mainPicContainer h2 {
        font-size: 17px;
    }

    .innerCTA{
        margin-top: 24px;
    }

    #containerColoris div{
        border: 1px solid white;
    }

    .roundCircleDiv span{
        display: none;
    }

    .containerInfoBrow h2{
        font-size: 18px;
    }

    .roundCircleDiv{
        width: 76px;
        height: 76px;
        margin-right: 18px;
    }

    .brownBlock{
        padding: 22px 0;
        padding-top: 55px;
        margin-bottom: 28px;
    }

    .roundCircleDiv .fa img{
        top: 0;
    }

    .roundCircleDiv .fa{
        margin-top: 25px;
    }

    #productBlock h2, #productBlock2 h2{
        margin-bottom: 19px;
    }

    #qualityPic{
        width: 115px;
    }

    #duoColorBlock{
        display: none;
    }

    #topProductPart {
        background-color: #f3ecec;
    }
}

@media only screen and (max-width: 1000px){

    .productArrowRight2, .productArrowLeft2{
        transform: scale(0.6);
        -webkit-transform: scale(0.6);
        -moz-transform: scale(0.6);
        -o-transform: scale(0.6);
        -ms-transform: scale(0.6);
    }

        .productArrowLeft2{
            left: -15px;
        }

        .productArrowRight2{
            right: -15px;
        }

    #containerColoris img {
        max-width: 55px;
    }

    #containerColoris div {
        border: 1px solid white;
    }

    .bigPriceBlock{
        border: 1px solid white;
        padding: 14px 18px;
    }

    .mainPicContainer h1, .mainPicContainer h2 {
        margin-bottom: 15px;
    }

    .mainPicContainer h1 {
        font-size: 29px;
    }

    .mainPicContainer h2{
        font-size: 18px;
    }

    h2{
        font-size: 20px;
    }

    .brownBlock .containerInfoBrow{
        margin-top: 30px;
    }

    .mainPicContainer h2{
        max-width: 100%;
    }

    .mainPicContainer {
        max-height: 330px;
    }

    .mainPicContainer h1 {
        font-size: 27px;
        margin-bottom: 10px;
    }

    .mainPicContainer h2{
        font-size: 17px;
    }

    .innerCTA{
        margin-top: 20px;
    }

    .containerInfoBrow h2{
        font-size: 17px;
        top: 18px;
    }

    .roundCircleDiv{
        width: 68px;
        height: 68px;
        margin-right: 16px;
    }

    .brownBlock{
        padding: 21px 0;
        padding-top: 52px;
        margin-bottom: 25px;
    }

    .roundCircleDiv .fa{
        margin-top: 20px;
        font-size: 27px;
    }

    .roundCircleDiv .fa img{
        top: 2px;
        left: -1Px;
    }

    #qualityPic{
        width: 100px;
        right: 22px;
        bottom: 22px;
    }
}

@media only screen and (max-width: 960px){

    #topProductPart .centerBlock{
        width: -webkit-calc(100% - 120px);
        width: -moz-calc(100% - 120px);
        width: calc(100% - 120px);
    }

    #containerColoris div{
        margin-right: 20px;
        padding: 8px;
    }

    .productArrowRight2, .productArrowLeft2{
        display: none;
    }

    .brownBlock{
        margin-top: 0;
    }
}

@media only screen and (max-width: 918px){
    .quartImgContainer img{
        width: 100%;
    }

    .quartProduct {
        width: -webkit-calc(50% - 20px);
        width: -moz-calc(50% - 20px);
        width: calc(50% - 20px);
        display: inline-block;
        margin-right: 30px;
        margin-bottom: 40px;
        vertical-align: top;
    }
}

@media only screen and (max-width: 900px){

    #topProductPart .centerBlock{
        width: 100%;
        padding: 0;
    }

    .whiteLine{
        display: none !important;
    }

    .brownBlock{
        height: auto !important;
        text-align: center;
    }

    .brownBlock *{
        float: none !important;
    }

    .brownBlock .containerInfoBrow{
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .brownBlock+.brownBlock h2{
        margin-top: 15px;
        margin-bottom: 0;
    }

    .quartProduct{
        width: -webkit-calc(50% - 20px);
        width: -moz-calc(50% - 20px);
        width: calc(50% - 20px);
        display: inline-block;
        margin-right: 30px;
        margin-bottom: 40px;
    }

        .quartProduct:nth-child(even){
            margin-right: 0;
        }

    .productArrowRight1, .productArrowRight2, .productArrowLeft1, .productArrowLeft2, .productArrowLeft3, .productArrowRight3, .productArrowLeft4, .productArrowRight4{
        display: none;
    }

    .mainPicContainer>img{
       min-height: 290px;
       width: auto !important;
    }

    .mainPicContainer h1{
        font-size: 26px;
        margin-bottom: 9px;
    }

    .brownBlock{
        padding: 24px 0;
        margin-bottom: 0;
    }

    .brownBlock+.brownBlock{
        margin-bottom: 25px;
    }

    .centerBlock>*{
        vertical-align: middle;
    }

    .containerInfoBrow h2{
        font-size: 17px;
        top: 18px;
        margin-bottom: 0;
        margin-top: 10px;
        margin-left: 13px;
    }
}

@media only screen and (max-width: 700px){

    #duoInfo .halfBlock{
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 35px;
        margin-left: 0 !important;
    }

    #duoInfo .halfBlock+.halfBlock .pictureContainer{
        height: auto;
    }

    #qualityPic{
        display: none;
    }

}

@media only screen and (max-width: 600px){

    .quartProduct{
        width: 100%;
        display: inline-block;
        margin-right: 0;
    }

}

@media only screen and (max-width: 520px){

    .textAlignRight .blockLink{
        margin-bottom: 0;
    }

    #containerColoris{
        display: none;
    }

    .mainPicContainer h1{
        line-height: 145%;
        font-size: 24px;
    }

    .mainPicContainer h1, .mainPicContainer h2 {
        margin-bottom: 9px;
    }

    .containerProductInfo {
        padding: 24px;
    }

    .mainPicContainer>img {
        min-height: 332px;
    }

    .bigPriceBlock {
        margin-bottom: 23px;
    }
}

@media only screen and (max-width: 470px){

    .roundCircleDiv{
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 35px;

        width: 102px;
        height: 102px;

        -webkit-border-radius: 65px;
        -moz-border-radius: 65px;
        border-radius: 65px;
    }

    .brownBlock h2{
        margin-bottom: 0;
    }

        .roundCircleDiv .fa{
            margin-bottom: 5px;
            margin-top: 16px;
            font-size: 36px;
        }

        .roundCircleDiv *{
            position: relative;
            top: 32px;
        }

    .containerInfoBrow h2{
        font-size: 20px;
    }

    .roundCircleDiv .fa img{
        width: 60px;
        top: 4px;
    }

    .brownBlock+.brownBlock h2 {
        margin-top: 0;
    }
}
