
/*
 * -----------------------------------------------------------------------------
 *
 * Пост - Страница - Колонки. 
 *
 * -----------------------------------------------------------------------------
 */

.iblock-post .col-side {
    margin-top: 3rem;
}

@media (min-width: 992px) {
    
    .iblock-post .row {
        display: -ms-flexbox;
        display: flex;

        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
    
    .iblock-post .col {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    
    .iblock-post .col-main {
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

    .iblock-post .col-side {
        -ms-flex: 0 0 250px;
        flex: 0 0 250px;
        max-width: 250px;
        
        margin-top: 0;
        margin-left: 5rem;
    } 
    
    .iblock-post .col-full {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /*
    
    .iblock-post .sidebar {
        position: sticky;
        bottom: 90px;
    }
    
    */
}

.post-edit-link {
    display: block;
    
    width: 36px;
    height: 36px;
    
    line-height: 36px;
    text-align: center;    
    
    font-family: dashicons;
    
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    
    text-decoration: none;
    
    color: #999;
    border-radius: 5px;
    
    background: rgba(255,255,255,.85);
    
    transition: color .3s ease, 
                background-color .3s ease;
}

.post-edit-link::before {
    content: "\f464";
}

.post-edit-link:hover {
    background: #fff;
    color: #000;
}

.iblock-post .row-items .col {
    position: relative;
}

.iblock-post .row-items .item-post {
    position: relative;
    z-index: 10;
}

.iblock-post .row-items .post-edit-link {
    position: absolute; z-index: 20;
    top: 1.5rem;
    right: 1.5rem;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Пост - Страница - Заголовок.
 *
 * -----------------------------------------------------------------------------
 */

.iblock-post .box-title {
    margin-bottom: 2rem;
}

@media (min-width: 992px) {

    .iblock-post .box-title {
        display: -ms-flexbox;
        display: flex;

        -ms-flex-direction: row;
        flex-direction: row;

        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;

        -ms-flex-pack: justify;
        justify-content: space-between;

        -ms-flex-align: start;
        align-items: flex-start;

        margin-bottom: 2rem;
    }
    
    .iblock-post .box-title .title {
        margin-bottom: 0;
    }
    
    .iblock-post .box-title .date {
        margin-left: 2rem;
        margin-top: 10px;
    }

}

/*
 * -----------------------------------------------------------------------------
 *
 * Пост - Страница - Поделиться. 
 *
 * -----------------------------------------------------------------------------
 */

.iblock-post .box-share {
    display: -ms-flexbox;
    display: flex;
    
    -ms-flex-direction: row;
    flex-direction: row;
    
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    -ms-flex-align: center;
    align-items: center;
    
    margin-top: 3rem;
}

.iblock-post .box-share .btn {
    display: none;
}

@media (min-width: 412px) {
    .iblock-post .box-share .btn {
        display: block;
        margin-right: 1rem;
    }    
}

/*
 * -----------------------------------------------------------------------------
 *
 * Пост - Страница - Комменты. 
 *
 * -----------------------------------------------------------------------------
 */

.iblock-post .box-comments .entry {
    margin-top: 3rem;
}

#anycomment-app {
    --ac-filed-text: #fff;
    --ac-filed-border: #fff;
    --ac-filed-background: #000;
    --ac-field-placeholder: #f00;
    
    margin-top: 1rem;
}

#anycomment-app .dWpNVt,
#anycomment-app .dhFa-Df {
    margin-bottom: 0;
}

/* Ссылка "Войти" */
#anycomment-app .hFCyJw a {
    color: #fff;
}

/* cUddSd = CommentForm__EditorWrapper-sc- */
#anycomment-app .cUddSd {
    background-color: #000;
    border-color: #fff;
    border-radius: 0;
    color: #fff;
}

/* Плейсхолдер */
#anycomment-app .cUddSd .ql-editor.ql-blank::before {
    color: #707070;
}

/* Иконки редактора */
#anycomment-app .cUddSd .ql-snow .ql-stroke {
    stroke: #e0e0e0;
}

/* Иконки редактора */
#anycomment-app .cUddSd .ql-snow .ql-fill {
    fill: #e0e0e0;
}

/* Тексты "Войти через", "Или как гость" */
#anycomment-app .fqaVFo {
    font-size: 14px;
    margin-bottom: 15px;
    color: #707070;
}

/* Инпут */
#anycomment-app .SLGk {
    background-color: #000;
    border-color: #fff;
    border-radius: 0;
    color: #fff;
}

/* Инпут */
#anycomment-app .SLGk::placeholder {
    color: #707070;
}

/* Кнопка */
#anycomment-app .bbirmt {
    padding: 7px 15px 8px;
    font-size: 14px;

    background-color: #fff;

    border-color: #fff;
    border-radius: 0;
    border-width: 1px;

    color: #000;
}

/* Кнопка */
#anycomment-app .bbirmt:hover {
    background-color: #000;
    color: #fff;
}

/* Коммент - Имя */
#anycomment-app .cbLeSg {
    font-weight: 400;
    font-size: 16px;
    color: #707070;
}

/* Коммент - Время */
#anycomment-app .hggzhg {
    color: #707070;
}

/* Коммент - Текст */
#anycomment-app .dvUa-Dy {
    color: #fff;
}

/* Коммент - "Ответить" */
#anycomment-app .jnoMqA {
    font-size: 14px;
    color: #707070;
}

/* Коммент - Реакции */
#anycomment-app .dikEgI {
    font-size: 14px;
    color: #707070;
}

#anycomment-app .dikEgI span {
    font-size: inherit;
    color: inherit;
}

#anycomment-app .fa-star {
    color: #fff !important;
}


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */


