.personal-story-slider {

}

.personal-story-slider * {
    transition-duration: 1s;
}

.personal-story-slider.slick-initialized .slick-slide {
    margin: 0;
    max-width: none;
}

.personal-story-slider__item {
    max-width: 320px;
    position: relative;
}

.personal-story-slider__item-img-area {
    position: relative;
    overflow: hidden;
    height: 348px;
    align-items: center;
    display: flex;
    /* Slide is 380px; the photo column on the live site stays 320px and left-aligned. */
    max-width: 320px;
    /* Live personal-story-slider.css: center (wide Diana overhangs left under overflow:hidden). */
    justify-content: center;
}

.personal-story-slider__item-img-area > img {
    height: 100%;
    width: auto;
}

.personal-story-slider__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.personal-story-slider__link:hover {
    background-color: rgba(0,0,0, 0.3);
}

.personal-story-slider__item-details {
    margin-top: 10px;
    max-width: 320px;
}

.personal-story-slider__item-details .content-text {
    border-top: 2px solid #F35C5C;
    max-width: 90%;
    margin: auto;
    border-bottom: 2px solid #F35C5C;
    padding: 5px 5px;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
}

.personal-story-slider__item-details .content-subtxt {
    text-align: center;
}

/*
 * Vendor slick-theme.css loads after legacy-site and resets arrows to 20px / side mid.
 * Live Sitecore keeps bottom-right 32px glyph arrows (legacy-site rules).
 */
.personal-story-slider .slick-arrow,
.personal-story-slider .slick-prev,
.personal-story-slider .slick-next {
    font-size: 0;
    line-height: 0;
    border: 0;
    background: transparent;
    color: transparent;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    outline-color: transparent;
    position: absolute;
    top: auto;
    bottom: -47px;
    left: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.personal-story-slider .slick-arrow:before,
.personal-story-slider .slick-prev:before,
.personal-story-slider .slick-next:before {
    font-family: inherit;
    font-size: 0;
    content: ' ';
    width: 32px;
    height: 32px;
    display: inline-block;
    opacity: 1;
    color: transparent;
}

.personal-story-slider .slick-prev {
    right: 35px;
    left: auto;
    z-index: 12;
}

.personal-story-slider .slick-prev:before {
    background-image: url('/local/templates/rodnayakrov/assets/sc/10ac2ed7205d42c59c52c5c3d210ae24.ashx');
    background-repeat: no-repeat;
    background-size: 32px 32px;
}

.personal-story-slider .slick-prev:hover:before,
.personal-story-slider .slick-prev:focus:before {
    background-image: url('/local/templates/rodnayakrov/assets/sc/723a53a8cb9d4495a4e4e656caf7cf21.ashx');
}

.personal-story-slider .slick-next {
    right: 0;
    left: auto;
}

.personal-story-slider .slick-next:before {
    background-image: url('/local/templates/rodnayakrov/assets/sc/cc7fef0673d54d0ea9954bc0dca264e0.ashx');
    background-repeat: no-repeat;
    background-size: 32px 32px;
}

.personal-story-slider .slick-next:hover:before,
.personal-story-slider .slick-next:focus:before {
    background-image: url('/local/templates/rodnayakrov/assets/sc/658fa9aa62fd46b0af2d1c5891dac415.ashx');
}

@media screen and (max-width: 767px) {

    .personal-story-slider__item-img-area {
        height: 480px;
        /* Live keeps the photo column full width on mobile (360px at 390) and only
           caps it at 320px in the desktop layout. */
        max-width: 100%;
    }

    .personal-story-slider__item {
        max-width: 100%;
        position: relative;
    }

    .personal-story-slider__item-details {
        margin-top: 0;
        background-color: #464646;
        padding: 20px 15px;
        /* Live keeps the details block full width on mobile as well. */
        max-width: 100%;
    }

    .personal-story-slider__item .content-text {
        /* Live ships Roboto 700 here; 'Roboto-Bold' is not loaded on this site. */
        font-family: 'Roboto';
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: white;
        position: relative;
        opacity: .9;
        text-align: left;
        margin: 0;
        border-top: none;
        padding-bottom: 15px;
        min-height: 70px;
    }

    .personal-story-slider__item .content-subtxt {
        font-family: 'Roboto';
        font-size: 16px;
        line-height: 24px;
        color: white;
        padding-top: 15px;
        text-align: left;
        padding-bottom: 0;

    }

    .personal-story-slider .slick-dots {
        display: flex;
        flex-direction: row;
        list-style: none;
        z-index: 15;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-left: 0;
        list-style: none;

        margin: auto;
        margin-top: 34px;
    }

    /*
     * Home live loads working /resources/css/page/slick-theme.css (absolute dots +
     * margin-bottom 30). Stories hub keeps static dots (theme URL 404s there).
     */
    .home .personal-story-slider {
        margin-bottom: 30px;
    }

    .home .personal-story-slider .slick-dots {
        position: absolute;
        bottom: -25px;
        width: 100%;
        margin-top: 0;
    }

    .personal-story-slider .slick-arrow {
        display: none !important;
    }

    .personal-story-slider .slick-dots > li {
        position: relative;
        -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        margin-left: 3px;
        text-indent: -999px;
        height: 6px;
        width: 6px;
        border-radius: 50%;
        background: #464646;
        margin-right: 10px;
    }

    .personal-story-slider .slick-dots > li.slick-active {
        background: #f35c5c;
        width: 10px;
        height: 10px;
        margin-top: -2px;
    }

    .personal-story-slider .slick-dots > li:before {
        position: absolute;
        top: -10px;
        left: 0;
        display: inline-block;
        width: 100%;
        height: 10px;
        content: "";
    }

    .personal-story-slider .slick-dots > li:after {
        position: absolute;
        bottom: -10px;
        left: 0;
        display: inline-block;
        width: 100%;
        height: 10px;
        content: "";
    }
}