﻿.QualitySlider {
    display: block;
    width: 100%;
}

.QualitySliderItem {
    position: relative;
    display: flex;
    flex-flow: column;
    float: left;
    width: 100%;
}

.QualitySlider img {
    float: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

.QualitySliderTextWrapper {
    float: left;
    width: 100%;
    color: #fff;
    /*position: absolute;*/
    bottom: 10%;
    z-index: 2;
    height: calc(90% - 80px);
    display: flex;
    align-items: center;
}

.slideQualityText {
    color: #fff;
    font-weight: 500;
    float: left;
    width: 100%;
}

    .slideQualityText span:first-child {
        display: block;
        width: 100%;
        font-size: 36px;
        font-weight: 300;
        margin-bottom: 36px;
    }

    .slideQualityText span:nth-child(2) {
        display: block;
        width: 100%;
        font-size: 48px;
        font-weight: 400;
    }

.qualityAnchor {
    position: relative;
    bottom: 7vh;
    line-height: 30px;
}

.Quality-text {
    margin-top: 25px;
}

    .Quality-text h1 {
        float: left;
        width: 100%;
        color: #ce1a21;
        font-size: 30px;
        font-weight: bold;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .Quality-text h2 {
        float: left;
        width: 100%;
        color: #ce1a21;
        font-size: 17px;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .Quality-text p {
        float: left;
        width: 100%;
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 1.5;
        color: #666;
        font-weight: 300;
    }

.Quality-list {
    list-style-image: url('../images/list-dot.png');
    font-size: 17px;
    line-height: 2.5;
    color: #666;
    font-weight: 300;
}

.CertRow {
    margin-left: -30px;
}

.Certs {
    padding: 0px !important;
}

    .Certs img {
        width: 100%;
        padding: 20px;
    }

.qualityBannerWrapper {
    position: relative;
    margin: 50px 0px 100px 0px;
}

.qualitywpBanner {
    height: 53vh;
    width: 100%;
    background-size: cover;
    background-image: url(/Content/images/quality-banner.jpg);
}

.Certificates-text {
    margin-top: 25px;
}

    .Certificates-text h1 {
        float: left;
        width: 100%;
        color: #ce1a21;
        font-size: 30px;
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 40px;
    }

    .Certificates-text h2 {
        float: left;
        width: 100%;
        color: #ce1a21;
        font-size: 17px;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .Certificates-text p {
        float: left;
        width: 100%;
        margin-bottom: 15px;
        font-size: 17px;
        line-height: 1.5;
        color: #666;
        font-weight: 300;
    }
.qualityAnchor img {
    width: 100%;
}

@media only screen and (max-width: 770px) {


    .Quality-text h1 {
        margin-top: 60px;
    }

    .Quality-list {
        line-height: 1.5;
    }

        .Quality-list li {
            padding-top: 15px;
        }

    .qualitywpBanner {
        height: 15vh;
    }

    .Certificates-text h1 {
        margin: 20px 0;
    }

    .qualityAnchor {
        bottom:24vw;
    }
    .qualityAnchor img {
        width:100%;
    }
}
