/* ---- CSS des pages "produits complexes" ---- */

/* Partie supérieure */

main{
    margin-top: 0;
}

#topCoverPage{
    width: 100%;
    height: 585px;
    background-position: right 22% top 0;
    background-repeat: no-repeat;
    background-color: #000000;
    background-size: cover;
}

    #topCoverPage h1, #topCoverPage p{
        color: white;
    }

    #topCoverPage h1{
        margin-top: 62px;
    }

    #topCoverPage h2{
        color: white;
    }

    #topCoverPage p{
        font-size: 16px;
        max-width: 745px;
        line-height: 160%;
        margin: 18px 0;
        margin-bottom: 27px;
    }

#topAssets{
    position: relative;
    display: block;
    margin-top: 42px;
}

    #topAssets .assetItself{
        width: 78px;
        border: 2px solid white;
        padding-bottom: 78px;
        position: relative;
        display: inline-block;

        -webkit-border-radius: 55px;
        -moz-border-radius: 55px;
        border-radius: 55px;
        margin-right: 28px;
    }

        #topAssets .assetItself img{
            width: 35px;
            height: auto;
        }

        #topAssets .assetItself span{
            position: absolute;
            left: 0;
            right: 0;
            bottom: -44px;
            font-size: 14px;
            color: white;
            width: 100%;
            line-height: 130%;
            text-align: center;
            opacity: 0.9;
        }


/* Adaptation partie milieu */

.halfTopProduct{
    width: -webkit-calc(100% - 660px);
    width: -moz-calc(100% - 660px);
    width: calc(100% - 660px);
    margin-left: 100px;
    margin-bottom: 20px;
    margin-top: 30px;
    float: none;
}

.mainBlock{
    margin-top: 130px;
    margin-bottom: 45px;
}

    .moreSamples{
        float: right;
    }

/* Block 'testimonial' */

#testimonialCover{
    height: 395px;
    text-align: center;
    margin-top: 132px;
    display: block;
}

    #testimonialCover h2{
        font-size: 44px;
        text-transform: uppercase;
        margin-bottom: 27px;
        padding-top: 118px;
    }

        #testimonialCover h3{
            font-size: 27px;
            font-weight: 300 !important;
        }
            #testimonialCover h2 span{
                font-weight: 500 !important;
            }

    #testimonialCover *{
        color: white;
    }

#testimonialContent{
    margin-top: -90px;
    margin-bottom: 100px;
    text-align: center;
}

    #testimonialContent .coverDiv{
        display: block;
        width: 185px;
        height: 185px;
        margin: auto;

        -webkit-border-radius: 95px;
        -moz-border-radius: 95px;
        border-radius: 95px;
    }

    #testimonialContent blockquote{
        color: #777777;
        font-size: 20px;
        line-height: 160%;
        text-align: center;
        max-width: 780px;
        display: block;
        margin: auto;
        margin-top: 45px;
    }

        #testimonialContent .quoteAuthor{
            font-size: 19px;
            max-width: 780px;
            display: block;
            margin: auto;
            text-align: right;
            color: #777777;
            margin-top: 30px;
            margin-bottom: 95px;

        }

/* Adaptations breadcrumb */

#productBreadcrumb{
    margin-top: 45px;
    margin-bottom: -45px;
    margin-left: 0;
}

.halfTopProduct+.halfTopProduct{
    margin-top: -19px;
}

.startPrice {
    color: white;
    border: 1px solid white;
    background-color: rgba(255,255,255,0.18);
}

    .startPrice span{
        color: white;
    }

.htvaPrice{
    color: #ffffff;
}

#assetsBlock {
    margin-top: 90px;
}

/* -- Mediaqueries -- */

@media only screen and (max-width: 1600px){
    #topCoverPage {
        background-position: right top;
        height: 550px;
    }

    #topCoverPage h1 {
        margin-top: 50px;
    }

    .mainBlock {
        margin-top: 200px;
    }

    #testimonialCover{
        margin-top: 30px;
        height: 380px;
    }

    #testimonialCover h2 {
        font-size: 40px;
    }

    #testimonialCover h3 {
        font-size: 26px;
    }

    #testimonialContent .coverDiv{
        width: 180px;
        height: 180px;
    }

    #testimonialContent blockquote{
        margin-top: 40px;
    }

    #testimonialContent .quoteAuthor{
        margin-bottom: 75px;
        margin-top: 25px;
    }

    .halfTopProduct {
        width: -webkit-calc(100% - 590px);
        width: -moz-calc(100% - 590px);
        width: calc(100% - 590px);
    }

    .mainBlock {
        margin-top: 120px;
        margin-bottom: 120px;
    }

    #productBreadcrumb {
        margin-top: 39px;
    }

    .halfTopProduct+.halfTopProduct {
        margin-top: -21px;
    }

    #topCoverPage p {
        font-size: 15px;
        max-width: 710px;
        margin: 16px 0;
        margin-bottom: 24px;
    }

    h1{
        margin-bottom: 13px;
    }

    #topAssets{
        margin-top: 35px;
    }

    #topAssets .assetItself {
        width: 74px;
        padding-bottom: 74px;
    }

    #testimonialContent blockquote{
        font-size: 17px;
    }

    #testimonialContent .quoteAuthor{
        font-size: 17px;
    }

    #assetsBlock {
        margin-top: 80px;
    }
}

@media only screen and (max-width: 1450px){
    #topCoverPage{
        height: 505px;
    }

    #topCoverPage h1 {
        margin-top: 42px;
        font-size: 31px;
    }

    h2, h1.fakeH2{
        font-size: 20px;
    }

    #productBreadcrumb{
        top: 5px;
    }

    #topAssets {
        margin-top: 32px;
    }

    #topCoverPage p{
        font-size: 14px;
        max-width: 640px;
        margin: 14px 0;
        margin-bottom: 20px;
    }

    #topAssets .assetItself{
        width: 68px;
        padding-bottom: 68px;
        border: 1px solid white;
    }

    #topAssets .assetItself img{
        width: 30px;
    }

    #topAssets .assetItself span{
        bottom: -39px;
        font-size: 12px;
    }

    #testimonialCover h2{
        font-size: 32px;
        margin-bottom: 24px;
        padding-top: 85px;
    }

    #testimonialCover{
        margin-top: 10px;
        height: 322px;
    }

    #testimonialCover h3{
        font-size: 23px;
    }

    #testimonialContent blockquote {
        font-size: 16px;
        margin-top: 28px;
    }

    #testimonialContent .quoteAuthor{
        font-size: 15px;
        margin-bottom: 48px;
    }

    #testimonialContent{
        margin-bottom: 70px;
    }

    #testimonialContent .coverDiv{
        width: 160px;
        height: 160px;
    }

    #fakeTable{
        margin-top: 17px;
    }

    #assetsBlock {
        margin-top: 75px;
    }
}

@media only screen and (max-width: 1230px){
    #topCoverPage{
        height: 485px;
    }

    #testimonialCover h2 {
        font-size: 30px;
        padding-top: 86px;
    }

    #testimonialCover h3 {
        font-size: 22px;
    }

    #testimonialCover{
        height: 315px;
    }

    #testimonialContent blockquote{
        font-size: 16px;
        margin-top: 32px;
    }

    #testimonialContent .quoteAuthor{
        font-size: 15px;
        margin-bottom: 49px;
    }

    #productBreadcrumb{
        top: -2px;
    }

        #productBreadcrumb a{
            letter-spacing: 0;
        }

    #topCoverPage h1{
        margin-top: 34px;
        font-size: 29px;
    }

    #topCoverPage h2{
        font-size: 19px;
    }

    #topCoverPage p{
        font-size: 14px;
        max-width: 600px;
        margin: 13px 0;
        margin-bottom: 20px;
    }

    #topAssets .assetItself img{
        width: 28px;
    }

    #topAssets .assetItself {
        width: 62px;
        padding-bottom: 62px;
        margin-right: 25px;
    }

    .thisOfferBlock .blockLink, .startPrice{
        font-size: 13px;
    }

    #productBreadcrumb a {
        font-size: 11px;
    }

    h2, h1.fakeH2{
        font-size: 19px;
    }

    #testimonialContent .coverDiv {
        width: 140px;
        height: 140px;
    }

    #assetsBlock {
        margin-top: 63px;
    }
}

@media only screen and (max-width: 1000px){
    #testimonialCover h2 {
        font-size: 31px;
        padding-top: 77px;
        margin-bottom: 25px;
    }

    #testimonialCover h3 {
        font-size: 21px;
    }

    #testimonialContent .coverDiv{
        width: 170px;
        height: 170px;
    }

    #testimonialCover {
        height: 320px;
    }

    .halfTopProduct {
        margin-left: auto;
        width: 72%;
    }

    .mainBlock {
        margin-top: 125px;
    }

    .moreSamples{
        float: none;
        margin-top: 30px;
    }

    .halfTopProduct:first-child {
        margin-bottom: 170px;
    }

    .halfTopProduct:first-child {
        margin-bottom: -35px;
    }

    #topCoverPage{
        height: 470px;
    }

    #testimonialContent blockquote{
        font-size: 15px;
        margin-top: 26px;
    }

    #testimonialContent .quoteAuthor{
        margin-bottom: 44px;
    }
}

@media only screen and (max-width: 720px){
    #testimonialContent blockquote, #testimonialContent .quoteAuthor{
        font-size: 16px;
    }

    .moreSamples .mainBlock{
        width: 72%;
        margin-left: 0;
        margin-bottom: 84px;
    }

    .halfTopProduct:first-child {
        margin-bottom: 120px;
    }

    .halfTopProduct+.halfTopProduct{
        margin-top: 0;
    }

    #testimonialContent .coverDiv {
        width: 110px;
        height: 110px;
    }

    #testimonialContent {
        margin-top: -57px;
    }

    #testimonialCover {
        height: 248px;
    }

    #testimonialContent blockquote{
        margin-top: 24px;
    }
}

@media only screen and (max-width: 520px){
    #topCoverPage h1{
        line-height: 140%;
        font-size: 24px;
        margin-top: 25px;
    }

    #topAssets .assetItself .fa{
        font-size: 24px;
        color: white;
        width: 27px;
        height: 24px;
    }

    #testimonialCover {
        margin-top: 0;
    }

    #topAssets{
        margin-top: 6px;
    }

    #topAssets .assetItself{
        width: 44px;
        padding-bottom: 44px;
        margin-right: 14px;
    }

    #topAssets .assetItself img {
        width: 23px;
    }

    #topAssets .assetItself:last-child{
        margin-right: 0;
    }

    #topAssets .assetItself span{
        display: none;
    }

    #testimonialContent blockquote, #testimonialContent .quoteAuthor {
        font-size: 14px;
    }

    #testimonialContent .quoteAuthor{
        margin-bottom: 45px;
    }

    #testimonialContent{
        margin-bottom: 38px;
    }

    #testimonialCover h2 {
        font-size: 21px;
        margin-bottom: 14px;
        padding-top: 48px;
        line-height: 150%;
    }

    #testimonialCover h3 {
        font-size: 17px;
        line-height: 145%;
    }

    .moreSamples .mainBlock{
        width: 72%;
        margin-bottom: 72px;
    }

    .halfTopProduct:first-child {
        margin-bottom: 88px;
        text-align: right;
        left: -45px;
    }

    .halfTopProduct{
        width: 86%;
    }

    .htvaPrice{
        margin-top: -5px;
        margin-bottom: 25px;
    }
}

@media only screen and (max-width: 400px){
    .startPrice{
        display: block;
        margin-bottom: 17px;
        width: 114px;
        text-align: center;
    }

    #topCoverPage{
        height: auto;
        overflow: auto;
        padding-bottom: 30px;
    }
}