#quality {
    margin-top: 115px;
    background-color: #FFF;
    background: url(/local/templates/akme-business/static/img/assets/quality/left_bg.png),url(/local/templates/akme-business/static/img/assets/quality/right_bg.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left bottom, right bottom;
    background-size: contain, contain;
}

#quality.row {
    max-width: 100% !important;
}

#quality .left {
    display: flex;
    align-items: flex-end;
}

#quality .left img.director {
    margin-top: 10rem;
    max-width: 100%;
}

#quality .name {
    font-size: 3rem;
    color: #000000;
    font-weight: 700;
    text-align: center;
}


#quality .description {
    color: #6d6d73;
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
    margin-top: 1rem;
}

#quality .right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}


#quality .right  p {
    padding: 0px;
    margin: 0px;
}

#quality .description {
    margin-top: 2rem;
}

#quality .right .wrapper {
    padding: 6rem;
    display: inline-flex;
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
}

#quality .right img {
    align-self: center;
    height: 200px !important;
    width: auto !important;
    max-width: auto;
    margin-top: 2rem;
}

#quality .right button {
    border: none;
    background-color: #e60b12;
    border-radius: 3px;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    padding: 1.2rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    -webkit-transition: opacity 0.3s linear;
    transition: opacity 0.3s linear;
    cursor: pointer;
    width: 348px;
    align-self: center;
    margin-top: 2rem;
}

#quality .right button:hover {
    opacity: 0.5;
}

@media screen and (max-width: 1400px) {
    #quality br {
        display: none;
    }

    #quality .right .wrapper {
        padding: 3rem;
        margin: 2rem;
    }
}

@media screen and (max-width: 63.9375em) and (min-width: 40em) {
    /*#quality br {*/
        /*display: none;*/
    /*}*/
}

#quality .left img.signature {
    display: none;
}

@media screen and (max-width: 39.9375em) {
    #quality br {
        display: none;
    }

    #quality .right button {
        width: 100%;
        max-width: 348px;
    }

    #quality .right .wrapper {
        margin: 0rem;
    }

    #quality .right img {
        display: none;
        width: auto !important;
        max-width: auto !important;
        height: auto !important;
        max-height: 250px !important;
    }

    #quality .left img.director {
        height: 250px;
    }

    #quality .left {
        background-color: #FFF;
        background: url(/local/templates/akme-business/static/img/assets/quality/left_bg.png),url(/local/templates/akme-business/static/img/assets/quality/right_bg.png);
        background-repeat: no-repeat, no-repeat;
        background-position: left bottom, right bottom;
        background-size: contain, contain;
    }

    #quality {
        background: none;
    }

    #quality .left {
        position: relative;
    }
}

@media screen and (max-width: 39.9375em) {
    #quality .left img.signature {
        display: block !important;
        width: 220px;
        height: auto;
        position: absolute;
        top: 75px;
        right: 25px;
        padding: 5px;
    }
}

@media screen and (max-width: 480px) {

    #quality .left img.director  {
        height: 170px !important;
    }

    #quality .left img.signature {
        top:50px !important;
        width: 160px !important;
    }
}