
/* promotion ------------------------------------------------------------- */
.promotion .page-heading {
    margin-bottom: 40px;
}

.full-box-link {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.promotion-box {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 40px;
}

.promotion-box:hover .promotion-box-content {
    background: rgba(237, 53, 58, 0.8);
}

.promotion-box:hover .promotion-box-image {
    transform: scale(1.05);
}

.promotion-box:hover h4, .promotion-box:hover span {
    color: #fff;
}

.promotion-box-image {
    width: 100%;
    transition: transform 0.3s ease-in-out;
}

.promotion-box-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    transition: background-color 0.25s ease-in-out;
}

.promotion-box-content .category {
    font-family: poppinsmedium, sans-serif;
    color: #ed353a;
    letter-spacing: 0.5px;
    transition: color 0.25s ease-in-out;
}

.promotion-box-content h4 {
    margin: 5px 0 0;
    color: #201d1d;
    letter-spacing: 0.5px;
    transition: color 0.25s ease-in-out;
}

/* stories  -------------------------------------------------------------  */
.y-stories-hero h1, .y-stories-hero h2, .y-stories-hero h3, .y-stories-hero h4, .y-stories-hero h5, .y-stories-hero h6,
.stories-listing h1,
.stories-listing h2,
.stories-listing h3,
.stories-listing h4,
.stories-listing h5,
.stories-listing h6,
.y-stories-single h1,
.y-stories-single h2,
.y-stories-single h3,
.y-stories-single h4,
.y-stories-single h5,
.y-stories-single h6 {
    font-family: 'Playfair Display', serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-poppins{
    font-family: poppins, sans-serif;
    font-style: normal;
    letter-spacing: 0.5px;
}

.y-stories-hero {
    position: relative;
    margin-top: -20px;
    padding: 40px 0;
    background: url(../images/img/slide2.jpg) no-repeat 50% 50%;
    background-size: cover;
}

.y-stories-hero:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.y-stories-hero .container {
    position: relative;
    z-index: 10;
}

.y-stories-hero .breadcrumb ul li:after,
.y-stories-hero .breadcrumb ul li a, .y-stories-hero .breadcrumb ul li span {
    color: #fff;
}

.y-stories-hero .breadcrumb ul li a:hover {
    color: #ed353a;
}

.y-stories-hero .breadcrumb .page-social span,
.y-stories-hero .breadcrumb .page-social a {
    color: #fff;
}

.y-stories-hero .breadcrumb .page-social a:hover {
    color: #ed353a;
}

.ysh-heading {
    margin: 80px 0 50px;
    text-align: center;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.ysh-heading span, .ysh-heading h1, .ysh-heading p {
    color: #fff;
}

.ysh-heading .ysh-text {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #ed353a;
    text-align: center;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1;
    transform: translateY(-50%);
    font-family: poppinsmedium, sans-serif;
}

.ysh-heading h1 {
    font-size: 36px;
    letter-spacing: 5px;
    margin: 0 0 30px;
}

.ysh-heading p {
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: 0.5px;
}

.ysh-down {
    text-align: center;
    display: block;
    margin-bottom: 30px;
    cursor: pointer;
}

.ysh-down i {
    padding-top: 9px;
    background: #fff;
    border-radius: 100%;
    height: 45px;
    width: 45px;
    font-size: 30px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ysh-down:hover i {
    background: #ed353a;
    color: #fff;
}

/* stories listing */
.stories-listing {
    padding: 60px 0 10px;
}

.stories-listing .stories-listing-heading {
    margin-bottom: 70px;
    text-align: center;
}

.stories-listing .stories-listing-heading h2, .stories-listing .stories-listing-heading h3 {
    line-height: 1.4;
    margin: 45px 0 0;
}

.content-breaker {
    position: relative;
    width: 290px;
    margin: 0 auto;
    height: 16px;
}

.content-breaker:before {
    content: "";
    height: 1px;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    background: #333;
}

.content-breaker:after {
    content: "";
    height: 16px;
    width: 16px;
    background: #ed353a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.stories-block {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 80px;
}

.stories-block .name {
    margin-bottom: 20px;
    color: #ed353a;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    font-family: poppinsmedium, sans-serif;
}

.stories-block .testimonial {
    font-style: italic;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.stories-featured-image {
    position: relative;
    margin-bottom: 20px;
    display: block;
}

.stories-featured-image img {
    width: 100%;
}

.stories-featured-image .red-square {
    height: 20px;
    width: 20px;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background: #ed353a;
    transition: height 0.2s ease, width 0.2s ease, background-color 0.2s ease;
}

.stories-featured-image:hover .red-square {
    height: 100%;
    width: 100%;
    background: rgba(237, 53, 58, 0.5);
}

.s-btn {
    position: relative;
    padding: 12px 15px 10px;
    background: #fff;
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid #8e8d8d;
    color: #8e8d8d;
    letter-spacing: 1px;
    font-family: poppinsregular, sans-serif;
}

.s-btn:before {
    content: "";
    height: 1px;
    width: 240px;
    background: #8e8d8d;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.s-btn:hover {
    background: #ed353a;
    color: #fff;
    border-color: #ed353a;
}

.s-btn:hover:before {
    background: #ed353a;
}

/* y stories single  -------------------------------------------------------------  */
.y-stories-single {
    padding: 50px 0;
    margin-top: -20px;
}

.y-stories-single h1, .y-stories-single h2, .y-stories-single h3, .y-stories-single h4, .y-stories-single h5, .y-stories-single h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
    margin-bottom: 40px;
    font-style: italic;
}

.y-stories-single h1 {
    font-size: 30px;
}

.y-stories-single h2 {
    font-size: 26px;
}

.y-stories-single h3 {
    font-size: 22px;
    letter-spacing: 1px;
}

.y-stories-single h4 {
    font-size: 18px;
    letter-spacing: 1px;

}

.yss-page-heading {
    text-align: center;
    margin-bottom: 50px;
}

.yss-page-heading h1 {
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.yss-page-heading .content-breaker {
    margin-bottom: 40px;
}

.yss-page-heading .name {
    color: #ed353a;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    font-family: poppinsmedium, sans-serif;
}

.y-stories-single .story-links {
    text-align: center;
}

.y-stories-single .story-links a {
    color: #201d1d;
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: inline-block;
}

.y-stories-single .story-links a:hover {
    color: #ed353a;
}

.yss-heading-right a {
    margin: 0;
}

.page-breaker {
    text-align: center;
    position: relative;
    margin: 35px 0;
}

.page-breaker:before {
    content: "";
    height: 1px;
    width: 100%;
    background: #201d1d;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.page-breaker-text {
    padding: 10px 30px 8px;
    background: #fff;
    display: inline-block;
    text-transform: uppercase;
    border: 1px solid #201d1d;
    color: #ed353a;
    letter-spacing: 1px;
    font-family: poppinsmedium, sans-serif;
}

.yss-content .img-fluid {
    width: 100%;
    margin-bottom: 20px;
}

.yss-content b,
.yss-content strong{
    font-family: karlabold, sans-serif;
}

.yss-content p {
    margin-bottom: 30px;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.yss-content .small-text {
    font-size: 14px;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    margin: 20px 0 40px;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-info {
    text-align: center;
    margin: 50px 0 0;
}

.story-info .si-block {
    margin: 0;
    font-size: 18px;
}

.y-related-stories .container {
    border-top: 1px solid #201d1d;
    padding-top: 60px;
}

@media (min-width: 375px) {
    .ysh-heading h1 {
        font-size: 60px;
    }
}

@media (min-width: 600px) {
    .ysh-heading h1 {
        font-size: 56px;
    }
    .stories-block .testimonial {
        font-size: 18px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .promotion .col-xs-12 {
        width: 50%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .y-related-stories .stories-block .testimonial {
        font-size: 16px;
    }
}

@media (min-width: 768px) {
    .stories-block .testimonial {
        font-size: 20px;
    }
    .y-stories-single .story-links {
        text-align: left;
    }
    .yss-heading-right {
        text-align: right;
    }
}

@media (min-width: 992px) {
    .ysh-heading h1 {
        font-size: 90px;
    }
    .ysh-heading p {
        padding: 0 80px;
    }
    .yss-page-heading {
        padding: 0 50px;
    }
    .y-stories-single {
        padding: 60px 0;
    }
    .y-stories-single h1 {
        font-size: 40px;
    }
    .y-stories-single h2 {
        font-size: 30px;
    }
    .y-stories-single h3 {
        font-size: 26px;
    }
    .y-stories-single h4 {
        font-size: 24px;
    }
    .story-info .si-block {
        font-size: 22px;
    }
    .page-breaker {
        margin: 50px 0;
    }
}

@media (min-width: 1200px) {
    .stories-block .testimonial {
        font-size: 22px;
    }
    .y-related-stories .stories-block .testimonial {
        font-size: 20px;
    }
}



/* Y Moments udpate [ Oct 18, 2019 ] ------------------------------- */





.yss-block{
    margin: 50px 0;
}

.yss-block:last-child{
    margin-bottom: 0;
}

.yss-block .image-container{
    max-height: 540px;
    overflow: hidden;
    border-radius: 2px;
}

.yss-block img{
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.yss-block .caption{
    display: block;
    color: #999;
    letter-spacing: 0.3px;
    font-size: 1.3em;
    margin-top: 10px;
    font-style: italic;
}

/* single image block */
.yss-sib img{
    width: 100%;
    height: auto;
}

.yss-sib .image-container{
    max-height: 500px;
}

/* double image block */
.yss-dib{
    margin: 0 -15px 50px;
}

.yss-dib .yssd-block{
    padding: 0 15px;
    margin-bottom: 40px;
}

.yss-dib .yssd-block:last-child{
    margin-bottom: 0;
}

.yss-dib .yssd-block .image-container{
    max-height: 370px;
}

/* triple image block */
.yss-tib{
    /* margin: 0 -20px 50px; */
    margin: 0 -15px 50px;
}

.yss-tib .yssd-block{
    padding: 0 15px;
    /* float: left;
	width: 33.33%; */
    /* max-height: 240px; */
    margin-bottom: 30px;
}

.yss-tib .yssd-block:last-child{
    margin-bottom: 0;
}

/* triple image block - lightbox */
.with-lightbox a:hover{
    opacity: 0.85;
}

/* single image text */
.image-text-left{
    margin-bottom: 50px;
}

.image-text-left:last-child{
    margin-bottom: 0;
}

.image-text-left img{
    border-radius: 2px;
    width: 100%;
}

.image-text-left .itl-left{
    margin-bottom: 4rem;
}

.image-text-left .itl-left .image-container{
    max-width: 300px;
    margin: 0 auto;
}


@media (min-width: 600px){

    .yss-dib .yssd-block{
        margin: 0;
    }

    .yss-dib .yssd-block{
        float: left;
        width: 50%;
    }

    .yss-tib .yssd-block{
        float: left;
        width: 33.33%;
        max-height: 240px;
        margin: 0;
    }

    .image-text-left .itl-left{
        float: left;
        width: 30%;
        margin-bottom: 0;
    }

    .image-text-left .itl-right{
        float: left;
        width: 70%;
        padding-left: 5rem;
    }
}

@media (min-width: 992px){

    .yss-dib{
        margin: 0 -20px 50px;
    }

    .yss-dib .yssd-block{
        padding: 0 20px;
    }
}
