

/* Start:/bitrix/templates/index/template_styles.css?16982486432364*/
.story-detail p {
    font-size: 115%;
}

.story-detail img.left {
    float: left;
    margin-right: 40px;
    margin-top: 10px;
    max-width: 50%;
}

.story-detail img.right {
    float: right;
    margin-left: 40px;
    margin-top: 10px;
    max-width: 50%;
}

.story-detail h3 {
    clear: both;
}

.story-detail .clear {
    clear: both;   
}

@media screen and (max-width: 800px) {
    .story-detail img.left {
        float: none;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
    }
    .story-detail img.right {
        float: none;
        margin-left: 0;
        margin-right: 0;   
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;
    }
    .story-detail .clear {
        display: none
    }
}

.story-detail h3.paralax {
    height: 500px;
/*    background-size: 1050px auto;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 40px;
    color: #fff;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
}

.story-detail h3.paralax p {
    position: relative;
    text-align: center;
    z-index: 2;
    margin: 0;
    padding: 0;
    font-size: 36px;
}

.story-detail h3.paralax::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

@media screen and (max-width: 900px) {
    .story-detail h3.paralax {
        height: 400px;
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: inherit;
        background-position: center center;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
    }
    .story-detail h3.paralax p {
        font-size: 24px;
    }    
}

.story-detail .prose.max-w-5xl {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.story-detail .prose.max-w-5xl > p,
.story-detail .prose.max-w-5xl > b,
.story-detail .prose.max-w-5xl > h2
{
    display: block;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}
/* End */
/* /bitrix/templates/index/template_styles.css?16982486432364 */
