.container {
    position: relative;
    display: block;
    clear: both;
    margin: 0 auto;
    max-width: 980px;
    min-width: 320px;
    min-height: 500px;
}

    .container_width_limited {
        padding: 0 10px;
        max-width: 1400px;
        margin: 20px auto 0;
    }

    .container_width_max {
        padding-left: 10px;
        max-width: none;
    }

    .container_width_full {
        max-width: none;
    }

    .container_type_error,
    .container_type_success {
        width: 95%;
        min-height: 200px;
        text-align: center;
        max-width: 600px;
        margin: 230px auto 0;
        font-size: 120%;
        background-color: #FFF;
        padding: 20px 40px;
        box-sizing: border-box;
    }

        .container_type_error a,
        .container_type_success a {
            color: #000;
        }

        .container_type_error i,
        .container_type_success i {
            position: absolute;
            top: -130px;
            left: 50%;
            margin-left: -50px;
            font-size: 100px;
            padding: 20px 0;
            color: #FFFFFF;
        }

    .container_no_margin {
        margin: 0 auto;
        padding: 0;
    }

.content {
    width: 100%;
    margin: 0 auto;
}

    .content_type_gallery {
    }

    .content_type_p365 {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        align-content: flex-start;
        justify-content: space-between;
        margin-bottom: 40px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .content_type_blog {
        max-width: 1100px;
    }

    .content_type_events {
    }

    .content_type_timeline {
        padding-top: 20px;
    }

    .content_type_inside_grey {
        background-color: #f5f6f8;
        overflow: hidden;
    }

    .content_type_inside_white {
        background-color: #FFF;
        overflow: hidden;
    }

.sidebar-wrapper {
    margin-right: 320px;
}

.sidebar {
    float: left;
    margin-right: -3px;
    width: 300px;
    margin-left: -300px;
    position: relative;
}

    .sidebar_type_timeline {
        padding-top: 20px;
    }

    .sidebar__block {
        width: 100%;
        min-height: 100px;
        margin-bottom: 50px;
    }

.sidebar-comments {
    color: #999;
}

    .sidebar-comments__comment {
        width: 100%;
        display: block;
        clear: both;
		overflow: hidden;
    }

    .sidebar-comments__title {
        font-weight: bold;
        color: #999;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        clear: both;
    }

    .sidebar-comments__preview {
        font-size: 14px;
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 20px;
        margin-left: 20px;
        clear: both;
    }


.top-comments {
    color: #666;
    padding: 20px;
}

    .top-comments__comment {
        width: 100%;
        display: block;
        clear: both;
        overflow: hidden;
    }

    .top-comments__title {
        font-weight: bold;
        color: #666;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        clear: both;
        font-size: 16px;
    }

    .top-comments__preview {
        font-size: 12px;
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 20px;
        margin-left: 20px;
        clear: both;
    }

.story-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 500px;
    clear: both;
    margin-top: 10px;
}

.story {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 300px;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-transition: all 0.1s linear;
    font-size: 26px;
    box-shadow: 10px 10px 30px #CCC;
    transition: all 0.5s;
    transform: translateZ(0);
}

    .story:hover {
        transform: scale(1.02);
        transition: all 0.2s;
    }

    .story__info {
        display: block;
        position: absolute;
        bottom: 0;
        color: #FFF;
        z-index: 20;
        width: 100%;
        padding: 0 20px 60px;
        box-sizing: border-box;
        text-align: center;
    }

        .story__info_noimage {
            bottom: auto;
            top: 40px;
            color: #999;
        }

    .story__date {
        display: none;  /* set to block to make it visible again */
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 10px;
        font-size: 14px;
        color: #FEFEFE;
        background-color: #333;
    }

    .story__series {
        display: inline;
        margin-top: 10px;
        font-size: 200%;
        font-weight: 500;
        line-height: 1.3em;
        background-color: #FFF;
        color: #000;
        padding: 5px 10px;
        box-sizing: border-box;
    }

    .story__title {
        display: inline;
        margin-top: 10px;
        font-size: 200%;
        font-weight: 500;
        line-height: 1.3em;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        background-color: #FFF;
        color: #000;
        padding: 5px 10px;
        box-sizing: border-box;
        transition: all 0.5s;
    }

        .story:hover .story__title {
            background-color: #333;
            color: #FFF;
            transition: all 0.3s;
        }

    .story__subtitle {
        display: inline;
        margin-top: 10px;
        font-weight: 400;
        clear: both;
        padding: 3px 10px;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        background-color: #FFF;
        color: #000;
        line-height: 1.3em;
        transition: all 0.5s;
    }

        .story:hover .story__subtitle {
            background-color: #333;
            color: #FFF;
            transition: all 0.3s;
        }

    .story__preview {
        color: #333;
        display: block;
        margin: 20px 0 20px;
        padding-left: 10px;
        box-sizing: border-box;
    }

    .story_type_blog, .story_type_events {
        box-sizing: border-box;
        margin: 40px 0 40px;
        border-radius: 30px;
    }

    .story_type_p365 {
        width: calc(25% - 10px);
        margin: 15px 0 0 0;
        font-size: 16px !important;
        height: 480px !important;
        max-width: 360px;
        min-width: 240px;
        border-radius: 20px;
    }

        @media only screen and (max-width : 570px)  {
            .story_type_p365 {
                width: 100%;
            }
        }

        .story_type_p365 .story__info {
            text-align: center;
        }


        .story_type_p365 .story__title {
            font-size: 150%;
        }

    .story_type_inside {
        height: 350px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .story_type_battle {
        height: 300px;
        margin-bottom: 10px;
    }

    .story_type_gallery {
        height: 400px;
        width: 400px;
        margin: 10px 10px 0 0;
        padding: 0;
        text-align: left;
    }

    .story_type_photo {
        height: 320px;
        width: 320px;
        margin: 10px 10px 0 0;
        float: left;
    }

    .story_type_related {
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        text-align: left;
        font-size: 20px;
        padding: 0;
        text-decoration: none;
        color: #FFF;
        background-color: #FFF;
        width: 31.3%;
        min-width: 320px;
        max-width: 600px;
        height: 280px;
        margin: 0 1% 20px;
        float: left;
        box-shadow: none;
    }

        .story_type_related:hover {
            background-color: #222;
            color: rgba(255, 255, 255, 0.6);
        }

        .story_type_related .story__title {
            font-size: 100%;
        }

    .story_type_challenge {}

        .story_type_challenge .story__title {
            font-size: 84px;
        }

.inside-archive-item {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding-left: 60px;
    color: #000;
    text-decoration: none;
    margin-top: 40px;
    margin-bottom: 20px;
}

    .inside-archive__issue {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        color: #999;
        font-size: 140%;
        text-align: center;
    }

    .inside-archive__title {
        font-size: 140%;
    }

    .inside-archive__date {
        font-size: 90%;
        color: #999;
    }

.gallery-list {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-direction: row;
    flex-wrap: wrap;
    overflow: hidden;
}

    .gallery-list__item {
        flex-grow: 1;
    }

.gallery {
    display: block;
    overflow: hidden;
    margin-top: -50px;
}

    .gallery__image {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        max-height: 1200px;
    }

    .gallery__video {
        display: block;
        margin: 70px auto 0;
        max-width: 980px;
        width: 100%;
    }

    .gallery__title {
        display: block;
        margin: 50px auto 0;
        font-size: 32px;
        max-width: 1000px;
        width: 100%;
    }

    .gallery__subtitle {
        display: block;
        margin: 10px auto 0;
        font-size: 20px;
        max-width: 1000px;
        width: 100%;
    }

    .gallery__text {
        display: block;
        margin: 50px auto 70px;
        font-size: 19px;
        max-width: 1000px;
        width: 100%;
    }

.headline {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    min-height: 450px;
}

    .events .headline {
        margin-top: -50px;
    }

    .headline-image {
        position: relative;
        display: inline-block;
        width: 100%;
        z-index: 10;
        background-size: cover;
        background-position: 50% 50%;
        min-height: 500px;
    }

        .headline-image img {
            visibility: hidden;
            width: 100%;
            min-height: 270px;
        }


        .headline-image iframe {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .headline-image__noclick {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

    .headline-image-link {
        position: absolute;
        bottom: 20px;
        right: 20px;
        color: #EEE;
        z-index: 200;
        font-size: 14px;
        opacity: 0.7;
    }

    .headline-info {
        position: absolute;
        display: block;
        bottom: 20px;
        font-weight: 400;
        width: 100%;
        margin: 27px auto;
        box-sizing: border-box;
        color: #FFF;
        text-align: center;
        z-index: 20;
        font-size: 42px;
    }

        .headline-info__title {
            display: inline;
            font-size: 150%;
            font-weight: 500;
            line-height: 1.3em;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
            background-color: #FFF;
            color: #000;
            padding: 5px 10px;
            box-sizing: border-box;
        }

        .headline-info__subtitle {
            display: inline;
            font-weight: 100;
            clear: both;
            padding: 3px 10px;
            -webkit-box-decoration-break: clone;
            box-decoration-break: clone;
            background-color: #FFF;
            color: #000;
            line-height: 1.3em;
        }

        .headline-info__date {
            display: inline-block;
            font-size: 14px;
            margin-top: 10%;
            color: #FEFEFE;
        }

.blog {
    display: block;
    overflow: hidden;
}

.p365 {
    display: block;
    overflow: hidden;
}

    .p365__header {
        width: 95%;
        margin: 40px auto 0;
        position: relative;
        display: block;
        clear: both;
        box-sizing: border-box;
        max-width: 1000px;
        min-width: 300px;
        font-weight: 400;
        font-style: normal;
    }

    .p365__title {
        display: block;
        font-size: 38px;
        padding: 60px 0;
        text-align: center;
    }

    .p365__image {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        max-height: 750px;
    }


.events {
    display: block;
    overflow: hidden;
}

    .events__text {
        width: 90%;
        max-width: 800px;
        display: block;
        margin: 50px auto 0;
        overflow: hidden;
        line-height: 1.6em;
        position: relative;
        z-index: 5;
        letter-spacing: 0.01rem;
        font-weight: 400;
        font-style: normal;
        font-size: 20px;
        text-align: left;
    }

    .events__block {
        display: block;
        position: relative;
        width: 90%;
        overflow: hidden;
        clear: both;
        margin-top: 50px;
    }

        .block-top {
            max-width: 1000px;
            margin: 50px auto;
        }

            .block-top__text {
                float: left;
                width: 35%;
                margin-right: 10%;
                margin-left: 5%;
            }

            .block-top__images {
                float: left;
                width: 50%;
            }

                .block-top__images-big {
                    width: 100%;
                }

.paginator {
    display: block;
    clear: both;
    font-size: 24px;
    margin: 50px auto 100px;
    overflow: hidden;
    text-align: center;
}

    .paginator__page {
        display: inline-block;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        color: #000;
        text-decoration: none;
        margin-right: 10px;
        padding: 10px;
    }

        .paginator__page_active_yes {
            background-color: #999;
            color: #FFF;
        }

.comments {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 100px auto 35px;
    padding-bottom: 150px;
    min-width: 320px;
    clear: both;
}

    .comments__title {
        font-size: 22px;
    }

    .comment {
        position: relative;
        display: block;
        margin: 50px 0 30px;
        overflow: auto;
        box-sizing: border-box;
        padding-left: 55px;
        min-height: 80px;
    }

        .comment__header {
            display: block;
            color: #666;
            padding-top: 10px;
            padding-left: 10px;
        }

            .comment__author {
                display: inline-block;
                width: 70%;
            }

                .comment__author a {
                    color: #666;
                    text-decoration: none;
                }

        .comment__side {
            position: absolute;
            top: 0;
            left: 0;
            text-align: center;
        }

            .comment__avatar {
                display: inline-block;
                width: 40px;
                height: 40px;
                background-repeat: no-repeat;
                background-size: cover;
                border-radius: 50%;
                vertical-align: middle;
            }

            .comment__rating {
                position: relative;
                display: inline-block;
                min-width: 20px;
                height: 20px;
                clear: both;
                margin-top: 10px;
                line-height: 1em;
                padding: 3px 3px 2px;
            }

                .comment__rating.status_voted {
                    background-color: #bdc3c7;
                    color: #FFF;
                }

                .comment__rating:not(.status_voted):hover {
                    background-color: #95a5a6;
                    color: #FFF;
                }

                .comment__rating span:before {
                    content: "+";
                }

        .comment__id {
            display: inline-block;
            float: right;
            color: #999;
            font-size: 12px;
        }

        .comment__text {
            display: inline-block;
            padding-top: 15px;
            padding-left: 10px;
            line-height: 1.5em;
            font-size: 18px;
            width: 100%;
            box-sizing: border-box;
        }

            .comment__text a {
                text-decoration: underline;
                color: #555 !important;
                font-weight: 500;
            }

            .comment__text hr {
                width: 95%;
                height: 0;
                border-top: dashed 1px #CCC;
            }

            .comment__quote {
                color: #999;
                display: inline-block;
                margin-bottom: 5px;
            }

.inline-comments-placeholder {
    display: block;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 1000px;
    margin: 0;
    min-height: 30px;
    color: #CCC;
    font-size: 80%;
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    text-align: right;
}

    .inline-comments-placeholder:hover {
        color: #999;
    }

    .inline-comments-placeholder i {
        font-size: 90%;
        margin-left: 5px;
    }

    .inline-comments-placeholder .inline-comments-placeholder__hideall,
    .inline-comments-placeholder .inline-comments-placeholder__showall {
        display: none;
        color: #CCC;
        border-bottom: dashed 1px #CCC;
        margin-left: 20px;
        text-decoration: none;
    }

.inline-comments {
    display: none;
    max-height: 300px;
    max-width: 1000px;
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    text-align: left;
}

    .inline-comments-wrapper {
        display: block;
        min-height: 30px;
        line-height: 1.1em;
        margin-top: 50px;

        /*display: inline-block;*/
        /*vertical-align: middle;*/
    }

    .inline-comment {
        display: block;
        width: 98%;
        margin: 3px auto 6px;
        line-height: 1.5em;
        color: #999;
        box-sizing: border-box;
        font-size: 14px;
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    }

        .inline-comment:target {
           background-color: rgba(154, 255, 178, 0.4);
            color: #333;
        }

        .inline-comment_new {
            background-color: rgba(255, 203, 214, 0.3);
        }

        .inline-comment__author {
            display: inline-block;
            vertical-align: top;
            text-align: right;
            font-weight: 500;
            cursor: pointer;
        }

        .inline-comment__text {
            position: relative;
            display: inline-block;
            vertical-align: top;
            width: 100%;
            box-sizing: border-box;
            text-align: left;
            padding-left: 30px;
        }

        .inline-comment__rating {
            position: absolute;
            top: 0;
            left: 0;
            display: inline-block;
            vertical-align: top;
            font-size: 14px;
            min-width: 20px;
            max-width: 28px;
            overflow: hidden;
            height: 20px;
            text-align: center;
            line-height: 20px;
            padding: 0 1px;
        }

            .inline-comment__rating.status_voted {
                background-color: #bdc3c7;
                color: #FFF;
            }

            .inline-comment__rating:not(.status_voted):hover {
                background-color: #95a5a6;
                color: #FFF;
            }

            .inline-comment__rating span:before {
                content: "+";
            }

.nocomments .inline-comments,
.nocomments .inline-comments-wrapper,
.nocomments .inline-comments-placeholder {
    display: none !important;
}

.comments-form {
    display: block;
    width: 95%;
    max-width: 860px;
    margin-top: 100px;
}

    .comments-form input,
    .comments-form textarea {
        border: solid 1px rgba(0, 0, 0, 0.5);
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
        font-size: 18px;
        padding: 3px 5px;
        outline: none;
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    }

    .comments-form textarea {
        width: 90%;
        min-width: 270px;
        max-width: 860px;
        padding: 9px 11px;
    }

.inline-comments-form {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
    font-size: 16px;
    color: #AAA;
    vertical-align: top;
}

    .inline-comments-form input,
    .inline-comments-form textarea {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;

        border: none;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 1px;
        font-size: 14px;
        padding: 2px 3px;
        outline: none;
        font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
        margin-top: 6px;
        background-clip: padding-box;
    }

        .inline-comments-form input:focus,
        .inline-comments-form textarea:focus {
            background-color: rgba(255, 255, 255, 0.5);
            color: #333;
        }

        .inline-comments-form textarea:focus {
            min-height: 50px;
        }

    .inline-comments-form input[type=submit] {
        width: 5%;
        color: #AAA;
        line-height: 19px;
        max-width: 24px;
    }

    .inline-comments-form__submit_active input[type=submit] {
        color: #FFF;
        background-color: rgba(22, 160, 133, 0.6);
    }

    .inline-comments-form__author {
        color: #AAA;
        font-weight: 500;
        min-width: 50px;
        max-width: 20%;
        text-align: right;
        padding: 2px 0 !important;
        border: solid 1px rgba(200, 200, 200, 0.3) !important;
    }

    .inline-comments-form__text {
        color: #AAA;
        width: 70%;
        text-align: left;
        border: solid 1px rgba(200, 200, 200, 0.3) !important;
        margin-top: 6px;
    }

    .inline-comments-form__error {
        display: inline-block;
        clear: both;
        font-size: 14px;
        font-weight: 500;
        margin-top: 10px;
        color: #990000;
    }

.clicker {
    display: inline-block;
    position: relative;
    padding: 4px 15px 5px 10px;
    margin-bottom: 20px;
    min-height: 35px;
    max-width: 340px;
    color: #333;
    border-radius: 7px;
    background-color: rgba(128, 128, 128, 0.6);
    font-family: 'Ubuntu', Helvetica, Verdana, sans-serif;
    -webkit-transition: background-color 0.1s ease-in, color 0.1s ease-in;
    -moz-transition: background-color 0.1s ease-in, color 0.1s ease-in;
    transition: background-color 0.1s ease-in, color 0.1s ease-in;
}

    .clicker:not(.status_voted):hover {
        background-color: rgba(0, 0, 0, 0.6);
        color: #EEE;
    }

    .clicker.status_voted {
        background-color: #16a085;
        color: #EEE;
    }

    .clicker.status_error {
        background-color: #c0392b;
        color: #EEE;
    }

    .clicker__text {
        z-index: 10;
        position: relative;
        font-size: 16px;
        font-weight: 400;
        margin-left: 40px;
        min-height: 35px;
        vertical-align: middle;
        line-height: 1.3em;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .clicker__votes {
        position: absolute;
        left: 10px;
        top: 50%;
        margin-top: -15px;
        display: inline-block;
        z-index: 10;
        color: #333;
        width: 30px;
        height: 30px;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        vertical-align: middle;
        line-height: 30px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.9);
    }

    .clicker__button {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        border: none;
        outline: none;
        background-color: transparent;
        z-index: 30;
    }

        .clicker.status_voted .clicker__button {
            cursor: auto;
        }
