.banner-container {
    /*background-color: #c5c5c5;*/
    overflow: hidden;
}

.banner-content {
    height: 330px;
    background-repeat: no-repeat;
    background-size: contain;
}

.banner-content .quote {
    position: relative;
    top: 115px;
    margin-left: 54%;
    font-family: "Open Sans";
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 30px;
    color: #666;
    height: 90px;
    padding-left: 20px;
    margin-right: 30px;

}

.page-title {
    position: relative;
    font-family: "Open Sans";
    font-weight: 600;
    font-size: 50px;
    color: white;
    text-align: right;
    line-height: 60px;
    top: 180px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 20px;
}

.banner-content {
    background-image: url('/static/sl/images/banner-2.jpg');
    background-position: calc(50% - 330px) 0%;
    background-position: -moz-calc(50% - 330px) 0%;
    background-position: -webkit-calc(50% - 330px) 0%;
}

@media (max-width: 890px) {
    .banner-content .quote {
        top: 330px;
        width: 90%;
        margin-left: 7.5%;
        font-size: 16px;

    }
    .banner-content {
        height: 470px;
        background-size: 696px;
        background-position: center top;
    }
    .page-title {
        top: 320px;
    }
}
@media (max-width: 480px) {
    .banner-content .quote {
        top: 235px;
        margin-left: 0;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
        height: 60px;
        width: 100%;
        padding-right: 20px;
    }
    .banner-content {
        height: 330px;
        background-size: 480px;
    }
    .page-title {
        top: 220px;
        font-size: 27px;
        text-align: center;
    }
}

/* Style 1 */

.style1.banner-container {
    background-color: #eaeaea;
}

.style1 .banner-content {
    background-image: url('/static/sl/images/banner-2.jpg');
    background-position: calc(50% - 330px) 0%;
    background-position: -moz-calc(50% - 330px) 0%;
    background-position: -webkit-calc(50% - 330px) 0%;
}

@media (max-width: 890px) {
    .style1 .banner-content {
        background-size: 696px;
        background-position: center top;
    }
}
@media (max-width: 480px) {
    .style1 .banner-content {
        background-size: 480px;
    }
}

/* Style 2 */
.style2.banner-container {
    background-image: url('/static/sl/images/bg_ro.jpg');
}

.style2 .banner-content {
    background-image: url('/static/sl/images/sl_p_tr.png');
    background-position: calc(50% - 330px) 0%;
    background-position: -moz-calc(50% - 330px) 0%;
    background-position: -webkit-calc(50% - 330px) 0%;
}

.style2 .banner-content .quote {
    color: white;
}

@media (max-width: 890px) {
    .style2.banner-container .quote {
        top: 320px;
        width: 100%;
        margin-left: 0;
        padding-left: 7.5%;
        padding-right: 20px;
        padding-top: 5px;
        font-size: 16px;
    }
    .style2.banner-container .banner-content {
        height: 470px;
        background-size: 696px;
        background-position: center top;
    }
    .style2.banner-container .page-title {
        margin-right: 0px;
        padding-right: 30px;
        top: 320px;
        padding-top: 5px;
    }

    .style2.banner-container .quote, .style2.banner-container .page-title{
        background-color: #ffb2b2;
    }

    .style2.banner-container {
        background-size: cover;
    }

    .style2 .banner-content {
        /* margin-top: 100px; */
        background-size: 696px;
        background-position: center top;
    }
}
@media (max-width: 480px) {
    .style2 .banner-content {
        background-size: 480px;
    }

    .style2.banner-container .quote {
        height: 90px;
    }

    .style2.banner-container .page-title {
        top: 320px;
    }
}

/*@media (max-width: 890px) {
    .style2 .banner-content {
        background-size: 396px;
        background-position: center top;
    }
}
@media (max-width: 480px) {
    .style2 .banner-content {
        background-size: 280px;
    }
}*/

/* Style 3 */


.style3.banner-container {
    background-color: #eaeaea;
}

.style3 .banner-content {
    background-image: url('/static/sl/images/banner-2.jpg');
    background-position: calc(50% - 330px) 0%;
    background-position: -moz-calc(50% - 330px) 0%;
    background-position: -webkit-calc(50% - 330px) 0%;
}

@media (max-width: 890px) {
    .style3 .banner-content {
        background-size: 696px;
        background-position: center top;
    }
}
@media (max-width: 480px) {
    .style3 .banner-content {
        background-size: 480px;
    }
}

/*
 * Banner title (h1) that fits titles of any length.
 * The rules above place the title with fixed offsets inside a fixed-height
 * banner, so a title that wraps to a second line was clipped. Here the title
 * sits at the bottom of the banner on wide screens and grows upwards; on
 * narrow screens quote and title follow the photo in normal flow and the
 * banner grows with them. Selectors are long on purpose: they must win over
 * the style1/style2 rules above.
 */
.banner-container .banner-content {
    position: relative;
}

.banner-container .banner-content .page-title {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 20px;
    right: 20px;
    margin: 0;
    padding-bottom: 4px;
    font-size: clamp(30px, 5.6vw, 50px);
    line-height: 1.2;
    overflow-wrap: break-word;
}

@media (max-width: 890px) {
    .banner-container .banner-content,
    .style2.banner-container .banner-content {
        height: auto;
        padding-top: 330px;
        padding-bottom: 12px;
    }
    .style2.banner-container .banner-content {
        padding-top: 320px;
        padding-bottom: 0;
    }
    .banner-container .banner-content .quote {
        top: auto;
        height: auto;
    }
    .banner-container .banner-content .page-title {
        position: static;
        margin: 8px 20px 0;
    }
    .style2.banner-container .banner-content .page-title {
        margin: 0;
        padding-left: 20px;
        padding-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .banner-container .banner-content {
        padding-top: 235px;
    }
    .banner-container .banner-content .page-title {
        font-size: 27px;
    }
}