.teaser-block {
    margin: 6px -3px
}

.teaser-block > .row {
    margin: -6px 0;
}

.teaser {
    transition: 0.3s;
    margin: 6px 3px 0;
    position: relative;
}

.teaser.single-teaser,
.teaser-block .row > div:last-child .teaser {
    margin-bottom: 6px;
}

.teaser.text-left {
    text-align: left;
}

.teaser.text-center {
    text-align: center;
}

.teaser.text-right {
    text-align: right;
}

.teaser.bg-gray {
    background: #e6e6e6;
}

.teaser.bg-red {
    background: #dc002e;
}

.teaser .content {
    position: absolute;
    top: 0;
    padding: 20px 40px 20px;
    margin: 40px;
}

.teaser.text-backgroundcolor .content {
    background: rgba(255, 255, 255, 0.8);
}

.teaser.text-backgroundcolor.white .content {
    background: rgba(0, 0, 0, 0.6);
}

.teaser.pos-x-right .content {
    right: 0;
}

.teaser .content .title {
    font-size: 54px;
    text-transform: uppercase;
    font-weight: bold;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9);
}

.teaser .content .sub-title {
    font-size: 36px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.9);
}

.teaser .content .text {
    padding-top: 20px;
    background: none;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.5);
}

.teaser.white .content .title,
.teaser.white .content .sub-title {
    text-shadow: 1px 1px 0px rgba(51, 51, 51, 0.9);
}

.teaser.white .content .text {
    text-shadow: 1px 1px 0px rgba(51, 51, 51, 0.5);
}

.teaser .content .text p {
    line-height: 30px;
}

.teaser > a {
    display: block;
    width: 100%;
    height: 100%;
}

.teaser.black,
.teaser.black > a {
    color: #333333;
}

.teaser.white,
.teaser.white > a {
    color: white;
}

.teaser.red,
.teaser.red > a {
    color: #dc002e;
}

.teaser.pos-y-middle .content {
    top: 20%;
}

.teaser.pos-y-bottom .content {
    bottom: 0;
    top: auto;
}

.teaser.short:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100%;
}

.teaser.short.bg-gray:after {
    background: linear-gradient(to top, rgb(66, 85, 99) 80px, transparent 25%);
}

.teaser.short.bg-red:after {
    background: linear-gradient(to top, rgb(220, 0, 45) 10px, transparent 25%);
}

@media (max-width: 1600px) {
    .teaser .content .title {
        font-size: 48px;
    }
    
    .teaser .content .sub-title {
        font-size: 32px;
    }
}

@media (max-width: 1500px) {
    .teaser .content {
        padding: 15px 30px 15px;   
        margin: 30px; 
    }
    
    .teaser .content .title {
        font-size: 36px;
    }
    
    .teaser .content .sub-title {
        font-size: 24px;
    }
    
    .teaser .content .text p {
        line-height: 22px;
    }
}

@media (max-width: 1200px) {
    .teaser .content {
        padding: 10px 20px 10px;   
        margin: 15px; 
    }
    
    .teaser .content .title {
        font-size: 32px;
    }
    
    .teaser .content .sub-title {
        font-size: 22px;
    }
    
    .teaser .content .text p {
        line-height: 18px;
    }
}

@media (max-width: 992px) {
    .teaser {
        height: auto !important;
    }
    
    .teaser:after {
        display: none;
    }
    
    .teaser:not(.with-image) .content {
        position: relative;
    }
}

@media (max-width: 767px) {
    .teaser .content {
        padding: 10px 15px 10px; 
    }
    
    .teaser .content .title {
        font-size: 22px;
        margin: 0;
    }
    
    .teaser .content .sub-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .teaser .content {
        position: relative;
        margin: 0 0 5px;  
    }
}