/* ---- CSS des pages "blog" ---- */

/* Corrections header */

header.mainHeader{
    height: 90px;
}

.mainHeader *{
    vertical-align: top;
}

.littleNav{
    display: inline-block;
}

.littleNav a{
    font-size: 16px;
    font-weight: 300;
    color: white;
    display: inline-block;
    padding: 0 20px;

    height: 90px;
    line-height: 95px;
    margin-right: -4px;
}

#logoSite{
    margin-right: 30px;
    text-decoration: none;
}

    #logoSite img{
        margin-top: 18px;
    }


/* Main page blog */

h1{
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 10px;
}

main{
    margin-top: 0;
}

#firstHalfBlog{
    margin-top: 10px;
}

#firstHalfBlog .centerBlock .wrapperFish>img{
    width: 100%;
}

.wrapperFish{
    position: relative;
}

.socialShare{
    display: block;
    background-image: url('https://www.mon-pave.fr/templates/interblocs/resources/socialSprite2.png');
    width: 33px;
    height: 33px;
    margin-bottom: 12px;
}

.socialShare:hover{
    background-position:32px 0;
}

.socialShare+.socialShare{
    background-position:0 66px;
    position: relative;
    top: 7px;
}

.socialShare+.socialShare:hover{
    background-position:32px 66px;
}

.socialShare+.socialShare+.socialShare{
    background-position:0 33px;
    top: 0;
}

.socialShare+.socialShare+.socialShare:hover{
    background-position:32px 33px;
}

.socialShareNav{
    position: absolute;
    right: -42px;
    bottom: 12%;
}

.infoFish{
    width: 56%;
    position: absolute;
    right: 0;
    top: -36px;
    padding: 26px;
    padding-right: 27px;
    padding-top: 32px;
    padding-bottom: 0;

    height: -webkit-calc(95% - 27px);
    height: -moz-calc(95% - 27px);
    height: calc(95% - 27px);

    overflow: hidden;
}

.dateArticle{
    font-size: 14px !important;
    margin-bottom: 7px;
}

.infoFish h1{
    height: 34px;

    margin-bottom: -webkit-calc(3% + 4px);
    margin-bottom: -moz-calc(3% + 4px);
    margin-bottom: calc(3% + 4px);

    width: 668px;
}

.infoFish p{
    color: #545454;
    text-align: justify;
    font-size: 16px;
    line-height: 165%;
}

.infoFish a.blockLink, .articleBlog a.blockLink{
    position: absolute;
    right: 22px;
    bottom: 0;

    padding: 11px 16px;
}

.articleBlog a.blockLink i{
    position: relative;
    left: 5px;
}

.infoFish a.blockLink img, .articleBlog a.blockLink img{
    position: absolute;
    right: 8px;
    top: 8px;
}

.leftInfoFish{
    width: -webkit-calc(100% - 197px);
    width: -moz-calc(100% - 197px);
    width: calc(100% - 197px);
    margin-right: 23px;

    display: inline-block;
    vertical-align: top;
}

.infoFish .coverDiv{
    width: 168px;
    height: 160px;
    border: 1px solid rgb(235,235,235);

    display: inline-block;
    vertical-align: top;
    margin-top: 13%;
}

.emptyblock{
    margin-bottom: 30px;
    border:1px dashed #acacac;
    background-color: rgba(255, 255, 255, 0.61);
    padding: 20px;
}

.emptyblock h2{
    margin-bottom: 8px;
}

/* Second Half */

#secondHalfBlog{
    width: 100%;
    min-height: 300px;
    margin-bottom: -10px;

    padding: 44px 0;
    padding-bottom: 30px;
}

#secondHalfBlog.searchArticle{
    background-color: transparent;
}

#secondHalfBlog.searchArticle h1{
    margin-bottom: 18px;
}

.articleBlog{
    margin-right: 38px;
    margin-bottom: 40px;
    display: inline-block;

    width: -webkit-calc(50% - 21px);
    width: -moz-calc(50% - 21px);
    width: calc(50% - 21px);

    position: relative;

    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.articleBlog:nth-child(even){
    margin-right: 0;
}

.articleBlog a.blockLink{
    right: 0;
}

.infoPreviewArticle{
    padding: 25px;
    position: relative;

    background-color: rgba(255,255,255,0.38);
    border: 1px solid #dadada;
    border-top: none;
}

.infoPreviewArticle p{
    line-height: 175%;
    margin-bottom: 22px;
    height: 109px;
    overflow: hidden;
    text-align: justify;
    padding-top: 27px;
}

.articleBlog>.coverDiv{
    width: 100%;
    height: 270px;

    position: relative;
}

.containerPetiteBulle{
    margin-right: 5px;
}

.containerPetiteBulle, .containerPetiteBulle img{
    position: relative;
    z-index: 300;
}

.containerPetiteBulle .coverDiv{
    width: 85px;
    height: 85px;
    top: 7px;
    left: 2px;
    position: absolute;
    z-index: 200;

    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
}

.headerPreviewArticle{
    position: absolute;
    top: -53px;
    left: 20px;

    width: -webkit-calc(100% - 30px);
    width: -moz-calc(100% - 30px);
    width: calc(100% - 30px);
}

.rightPartHeader{
    width: -webkit-calc(100% - 111px);
    width: -moz-calc(100% - 111px);
    width: calc(100% - 111px);
    margin-left: 97px;
}

.rightPartHeader h2{
    color: #ffffff;
    height: 34px;
    width: 100%;
    text-transform: none;
    font-size: 21px;
    margin-top: 21px;
    font-weight: 100;

    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.45);
}

.rightPartHeader span.dateArticle{
    color: #545454;
    display: block;
    margin-top: 11px;
}

button#moreClients{
    margin-right: 5px;
    position: relative;
    top: -6px;
    outline: 0;
    font-size: 16px;
}

.blackSpan{
    background-color: rgba(0,0,0,0.19);
    width: 100%;
    height: 41px;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Marquee effet au survol */

.rightPartHeader h2:hover{
    -webkit-animation: marquee 12s infinite linear; /* Chrome, Safari, Opera */
    animation: marquee 12s infinite linear;
}

@-webkit-keyframes marquee {
    0%   { text-indent: 0 }
    100% { text-indent: -50em }
}

@keyframes marquee {
    0%   { text-indent: 0 }
    100% { text-indent: -50em }
}

.littleNav {
    padding-left: 50px;
}

/* Ajout d'un partage Ã  chaque block */

.infoPreviewArticle{
    position: relative;
}

.infoPreviewArticle .socialShareNav{
    right: auto;
    left: 18px;
    bottom: 12px;
}

.infoPreviewArticle .socialShare:first-child{
    margin-right: 4px;
}

.infoPreviewArticle .socialShare {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 9px;
    vertical-align: top;
    position: static !important;
}

.infoPreviewArticle .socialShare:nth-child(2) {
    background-position: 2px 71px;
}

.infoPreviewArticle .socialShare:nth-child(2):hover {
    background-position: 34px 71px;
}

/* Ajout du blog "produits associés" */

#productFooter{
    background-color: transparent;
    padding-top: 0;
    padding-bottom: 60px;
}

#productFooter h2{
    color: #c7b2a1;
    margin-bottom: 3px;
    font-size: 23px;
}

.ficheProduit{
    padding-bottom: 0;
    margin-top: 23px;
    margin-right: 28px;
    border: 1px solid #dadada;

    width: -webkit-calc(25% - 80px);
    width: -moz-calc(25% - 80px);
    width: calc(25% - 80px);
}

.ficheProduit:hover{
    text-decoration: none;
    border: 1px solid #b8a89a;
}

.ficheProduit h3{
    line-height: 150%;
    font-size: 17px;
    letter-spacing: -0.1px;

    border-top: 1px solid #dadada;
    padding: 12px;
    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;
}

    .ficheProduit:hover h3{
        color: #ed440e;
    }

.ficheProduit, .ficheProduit a{
    text-decoration: none !important;
}

    .ficheProduit .fa-angle-double-right{
        color: #f6440e;
        position: absolute;
        right: 10px;
        top: 10px;
        font-size: 26px;
    }

        .ficheProduit:hover .fa-angle-double-right{
            color: #ff5d10;
        }

.pictureContainer{
    text-align: center;
}

.ficheProduit img{
    margin-bottom: 0;
    opacity: 1;
    max-width: 100%;
}

    .ficheProduit:hover img{
        opacity: 1;
    }

    .ficheProduit:last-child{
        margin-right: 0;
    }

.ficheProduit .pictureContainer div, .ficheProduit .pictureContainer div:hover{
    bottom: 0;
}

.ficheProduit .pictureContainer div, .ficheProduit .pictureContainer div:hover{
    right: 0;
}

.ficheProduit .pictureContainer .coverDiv{
    width: 100%;
    padding-bottom: 85%;
    position: static !important;
}

/* Redesign du 1er article */

#firstArticle .containerCover{
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #dadada;
    padding: 12px;
    margin-top: 3px;
}

#firstArticle{
    padding-top: 25px;
}

#firstArticle p{
    font-size: 18px;
    line-height: 165%;

    text-align: justify;
}

#firstArticle p{
    margin-bottom: 17px;
}

#firstArticle p.dateArticle{
    margin-bottom: 6px;
}

#firstArticle .blockLink, #firstArticle .fa{
    color: white;
}


#firstArticle a.blockLink{
    margin-bottom: 30px;
}

#firstArticle .fa{
    position: relative;
    left: 5px;
}

div.sliderTop .coverDiv{
    height: 302px;
}

div.sliderTop{
    min-height: 383px;
    background-color: #f8f6f4;
    padding: 28px 0;
}

.alignRight{
    width: 100%;
    text-align: right;
    position: relative;
    top: -8px;
}

/* Page "search */

.fakeH2{
    display: block;
    margin-bottom: 26px;
}

    .fakeH2 .greyText{
        font-weight: 500;
    }

/* Bouton plus d'articles */

#moreClients.iconLink .fa{
    left: 14px;
    top: 13px;
}

.textAlignRight{
    width: 100%;
    text-align: right;
    margin-bottom: 15px;
}

/* Ajout icône partie haut */

#firstArticle .containerCover{
    position: relative;
    margin-top: 8px;
    padding: 0;
}

.headerFirstArticle{
    top: auto;
    bottom: 14px;
    text-align: right;
}

    .headerFirstArticle .coverDiv{
        height: 75px !important;
        width: 75px !important;

        position: relative;
        right: auto;
        bottom: auto;
        top: auto;
        left: auto;
    }

.bigBlackSpan{
    height: 44px;
}

/* Mediaqueries */

@media only screen and (min-width: 1600px){
    .infoFish .coverDiv{
        width: 261px;
        height: 230px;
        position: relative;
        left: 6px;
    }

    .leftInfoFish {
        width: -webkit-calc(100% - 284px);
        width: -moz-calc(100% - 284px);
        width: calc(100% - 284px);

        margin-right: 17px;
    }

    /* Si ÃƒÂ©cran = ou > que 1600 -> adaptations*/

    .infoFish p{
        font-size: 18px;
        line-height: 170%;
    }

    .dateArticle {
        font-size: 16px !important;
    }

    .infoFish{
        padding: 31px;
        padding-right: 37px;
        padding-top: 45px;
        top: -48px;
    }

    .infoFish a.blockLink{
        right: 32px;
        bottom: -1px;
    }

    .infoFish h1 {
        margin-bottom: -webkit-calc(7% + 4px);
        margin-bottom: -moz-calc(7% + 4px);
        margin-bottom: calc(7% + 4px);

        position: relative;
        top: -2px;
    }
}

@media only screen and (max-width: 1600px){
    .infoFish{
        top: -45px;

        height: -webkit-calc(102% - 29px);
        height: -moz-calc(102% - 29px);
        height: calc(102% - 29px);
    }

    .infoFish h1 {
        font-size: 25px;
        width: 475px;
    }

    .infoFish .coverDiv{
        width: 137px;
        height: 130px;
        margin-top: 18%;
        left: 6px;
        position: relative;
    }

    .leftInfoFish {
        width: -webkit-calc(100% - 161px);
        width: -moz-calc(100% - 161px);
        width: calc(100% - 161px);

        margin-right: 18px;
    }

    .articleBlog>.coverDiv{
        height: 215px;
    }

    .rightPartHeader h2 {
        font-size: 19px;
        margin-top: 22px;
    }

    .headerPreviewArticle>a:first-child{
        -moz-transform: scale(0.8);
        -o-transform: scale(0.8);
        -webkit-transform: scale(0.8);
        transform: scale(0.8);
        margin-left: -10px;
        margin-right: -5px;
    }

    .infoPreviewArticle p{
        padding-top: 20px;
        line-height: 155%;
    }

    .rightPartHeader {
        width: -webkit-calc(100% - 100px);
        width: -moz-calc(100% - 100px);
        width: calc(100% - 100px);
    }

    /* Corrections */
    #firstArticle p {
        font-size: 16px;
    }

    div.sliderTop .coverDiv {
        height: 255px;
    }

    div.sliderTop {
        min-height: 357px;
    }

    .centerBlock{
        max-width: 1000px;
    }

    #firstArticle .containerCover{
        padding: 0;
    }

    .ficheProduit{
        width: -webkit-calc(25% - 80px);
        width: -moz-calc(25% - 80px);
        width: calc(25% - 66px);
    }

    h1{
        font-size: 28px;
    }

    .containerPetiteBulle .coverDiv{
        top: 15px;
        left: 11px;
    }

    .rightPartHeader{
        margin-left: 95px;
    }

    .infoPreviewArticle{
        padding-bottom: 32px;
    }

    .mainNav {
        height: 90px;
    }

    .ficheProduit h3{
        font-size: 16px;
    }

    .headerFirstArticle .coverDiv{
        left: 0;
    }
}

@media only screen and (max-width: 1450px){
    .littleNav a {
        font-size: 15px;
        padding: 0 17px;
    }

    #logoSite {
        margin-right: 20px;
    }

    #searchBlock input {
        width: 180px;
    }
}

@media only screen and (max-width: 1230px){

    .mainNav input{
        bottom: 10px;
        font-size: 14px;
        padding: 6px 12px;
        width: 175px;
    }

    .infoFish h1 {
        font-size: 26px;
        width: 440px;
    }

    .articleBlog>.coverDiv{
        height: 195px;
    }

    .rightPartHeader h2 {
        font-size: 18px;
        margin-top: 23px;
    }

    .headerPreviewArticle>a:first-child{
        -moz-transform: scale(0.6);
        -o-transform: scale(0.6);
        -webkit-transform: scale(0.6);
        transform: scale(0.6);
        margin-left: -18px;
        margin-right: -14px;
    }

    .rightPartHeader {
        width: -webkit-calc(100% - 88px);
        width: -moz-calc(100% - 88px);
        width: calc(100% - 88px);
    }

    /* Corrections */
    h1{
        font-size: 26px;
    }

    .centerBlock {
        max-width: 850px;
    }

    .headerPreviewArticle .coverDiv{
        top: 44px;
        left: 25px;
    }

    .ficheProduit {
        width: -webkit-calc(25% - 58px);
        width: -moz-calc(25% - 58px);
        width: calc(25% - 58px);
    }

    .headerFirstArticle .coverDiv{
        top: 29px;
        left: -1px;
        height: 84px !important;
        width: 85px !important;
    }

    .dateArticle{
        font-size: 13px !important;
    }
}

@media only screen and (max-width: 1230px){
    .mainNav input{
        display: none;
    }

    .mainNav {
        height: 77px;
    }

    div.sliderTop .coverDiv {
        height: 230px;
    }

    #logoSite{
        margin-right: 0;
    }

    .infoPreviewArticle p{
        line-height: 150%;
        height: 101px;
    }

    .fa-angle-double-right{
        display: none !important;
    }
}

@media only screen and (max-width: 1150px){
    #firstHalfBlog {
        margin-top: 7%;
    }
}

@media only screen and (max-width: 950px){
    #firstArticle .inlineBlockTop{
        display: block !important;
        margin: auto;

        width: 100%
    }

    div#firstArticle{
        padding-bottom: 35px;
    }

    div.sliderTop .coverDiv{
        height: 0;
        padding-top: 50%;
    }

    #logoSite img {
        margin-left: 27px;
    }

    .ficheProduit {
        width: -webkit-calc(25% - 18px);
        width: -moz-calc(25% - 18px);
        width: calc(25% - 18px);
    }

    .ficheProduit:last-child{
        display: none !important;
    }

    #firstArticle a.containerPetiteBulle.inlineBlockTop{
        display: inline !important;
    }

    .headerFirstArticle .coverDiv{
        padding-top: 0 !important;
        position: static !important;
        height: 72px !important;
        width: 72px !important;
    }
}

@media only screen and (max-width: 920px){
    .infoFish .coverDiv {
        display: none;
    }

    .leftInfoFish{
        width: 100%;
    }

    .infoFish a.blockLink{
        right: 0;
    }

    .infoFish{
        height: -webkit-calc(102% - 2px);
        height: -moz-calc(102% - 2px);
        height: calc(102% - 2px);
    }

    .infoFish .dateArticle+p{
        height: 125px;
        overflow: hidden;
    }

    h1{
        line-height: 130%;
        font-size: 24px;
    }

    #firstArticle {
        padding-top: 2px;
    }
}

@media only screen and (max-width: 880px){
    #searchBlock{
        display: none;
    }
}

@media only screen and (max-width: 875px){
    .infoFish .dateArticle+p{
        height: 100px;
    }

    .infoFish {
        height: -webkit-calc(104% - 2px);
        height: -moz-calc(104% - 2px);
        height: calc(104% - 2px);
    }
}

@media only screen and (max-width: 900px){
    .mainNav {
        height: 72px;
    }

    #logoSite img {
        margin: auto;
        margin-top: 17px;
    }

    .articleBlog{
        width: -webkit-calc(100% - 20px);
        width: -moz-calc(100% - 20px);
        width: calc(100% - 20px);

        margin: auto !important;
        display: block;
        margin-bottom: 35px !important;
    }

    .articleBlog>.coverDiv{
        height: 0;
        padding-top: 42%;
    }

    .littleNav{
        padding-left: 0;
        top: 90px;
        left: 0;
        width: 100%;

        background-color: #bfac9f;
    }

    .littleNav a {
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #d3c0b3;
    }

    #logoSite{
        display: block;
        margin: auto;
        width: 182px;
    }
}

@media only screen and (max-width: 745px){
    .infoFish .dateArticle+p{
        height: 75px;
    }

    .infoFish {
        height: -webkit-calc(107% - 2px);
        height: -moz-calc(107% - 2px);
        height: calc(107% - 2px);
    }
}

@media only screen and (max-width: 640px){
    .infoFish h1{
        width: 100%;
        font-size: 22px;
        margin-top: 0;
        line-height: 140%;

        margin-bottom: 9px;

        white-space: normal;
        overflow-x: visible;
        height: auto;
    }

    .infoFish{
        position: static;
        height: auto;
        width: auto;
        margin: 0;

        padding-right: 0;
        padding-left: 0;
        padding-bottom: 77px;

        border-bottom: 1px solid white;
    }

    .infoFish a.blockLink{
        bottom: 20px;
    }

    .leftInfoFish{
        margin-right: 0;
    }

    .infoFish .dateArticle+p{
        height: 100%;
    }

    .ficheProduit {
        width: -webkit-calc(50% - 18px);
        width: -moz-calc(50% - 18px);
        width: calc(50% - 18px);
    }

    .infoPreviewArticle p{
        height: auto;
        margin-bottom: 33px;
    }
}

@media only screen and (max-width: 550px){
    .containerPetiteBulle{
        display: block !important;
        margin-right: auto !important;
        margin-left: auto !important;
        width: 104px;
    }

    .headerPreviewArticle{
        left: 16px;
    }

    .rightPartHeader{
        width: 100%;
        margin-left: 0;
        margin-top: 95px;
    }

    .rightPartHeader h2{
        color: #545454;
        text-shadow: none;
        margin: auto;
        margin-top: 0;
        margin-bottom: -8px;

        width: -webkit-calc(100% - 20px);
        width: -moz-calc(100% - 20px);
        width: calc(100% - 20px);
    }

    .rightPartHeader h2+span{
        display: block;
        margin: auto;
        width: -webkit-calc(100% - 20px);
        width: -moz-calc(100% - 20px);
        width: calc(100% - 20px);
    }

    .infoPreviewArticle p{
        padding-top: 80px;
    }

    .headerPreviewArticle .coverDiv{
        position: absolute;
        left: auto;
        right: auto;
    }

    .headerPreviewArticle{
        text-align: center;
    }

    .headerFirstArticle .coverDiv{
        height: 52px !important;
        width: 52px !important;
        position: static !important;
    }

    #firstArticle a.containerPetiteBulle.inlineBlockTop{
        display: block !important;
        margin: auto;
        text-align: center;
        width: 52px;

        -moz-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

        #firstArticle .dateArticle a.containerPetiteBulle.inlineBlockTop{
            width: auto;
            display: inline !important;
        }

    .rightPartHeader span.dateArticle{
        line-height: 150%;
        margin-top: 3px;
    }

    #secondHalfBlog .dateArticle .containerPetiteBulle{
        display: inline !important;
    }

    #secondHalfBlog .infoPreviewArticle p{
        padding-top: 90px;
        margin-bottom: 30px;
    }
}

@media only screen and (max-width: 500px){
    .articleBlog>.coverDiv{
        height: 0;
        padding-top: 75%;
    }

    .articleBlog{
        width: 100%;
    }

    .ficheProduit{
        width: 100%;
        display: inline-block !important;
    }

    #productFooter h2{
        line-height: 130%;
        font-size: 21px;
    }
}

@media only screen and (max-width: 410px){
    #secondHalfBlog .rightPartHeader{
        margin-top: 87px;
    }
}

@media only screen and (max-width: 360px){
    .socialShareNav{
        -moz-transform: scale(0.83);
        -o-transform: scale(0.83);
        -webkit-transform: scale(0.83);
        transform: scale(0.83);
        left: 5px !important;
    }
}