.triple-news { width: 100%; }

._triple-item {
    border: 1px solid #E0E0E0;
}

.NEWSCMI.cake-with-bg.half_vertical .opacity,
.NEWSCOMP.cake-with-bg.half_vertical .opacity,
.cake-with-bg.half_vertical .opacity {
    background: linear-gradient(#0C0C0B 50%, rgba(248, 248, 249, 0));
    background: -webkit-linear-gradient(#0C0C0B 50%, rgba(248, 248, 249, 0));
    background: -ms-linear-gradient(#0C0C0B 50%, rgba(248, 248, 249, 0));
}

.cake-icon, .cake-title, .media-play, .cake-description, .cake-date, .cake-delimiter, .cake-author {
    z-index: 4;
}

.author-detail .theme-filter {
    display: inline-block;
    padding-left: 0;
    /*padding-right: 40px;*/
    position: absolute;
    top: 0;
    right: 0;
    max-width: 270px;
    width: 50%;
    font-family: 'Gotham SSm A', 'Gotham SSm B', sans-serif;
    font-size: 15px;
    line-height: 18px;
}

.author-list .theme-filter {
    display: inline-block;
    position: relative;
    max-width: 220px;
    width: 100%;
}

/*region selectbox*/

/*.theme-filter .jq-selectbox__select { border: 1px solid #c3c3c3; }*/
.theme-filter .jq-selectbox__select:before,
.theme-filter .jq-selectbox__select:after { background: #828282; }
.theme-filter .jq-selectbox__select-text { color: #767676; }
.theme-filter .jq-selectbox__select-text:first-letter { text-transform: uppercase; }
.theme-filter .disabled .jq-selectbox__select-text { color: #CCCCCC; }
/*.theme-filter .changed .jq-selectbox__select-text { color: #000; }*/
.theme-filter .jq-selectbox__dropdown { border-color: #c3c3c3; }

.theme-filter .jq-select-multiple { border: 1px solid #c3c3c3; }
.theme-filter .jq-select-multiple ul li,
.theme-filter .jq-selectbox__dropdown ul li { background: #fff; color: #828282; }
.theme-filter .jq-select-multiple ul li.selected,
.theme-filter .jq-selectbox__dropdown ul li.sel { color: #0C0C0C; }
.theme-filter .jq-select-multiple ul li:hover,
.theme-filter .jq-selectbox__dropdown ul li:hover { background: #f7f7f7; }
.theme-filter .jq-select-multiple ul li.selected:hover,
.theme-filter .jq-selectbox__dropdown ul li.sel:hover { color: #0C0C0C; }
/*.theme-filter .jq-selectbox__dropdown { border: 1px solid #c3c3c3; }*/

.theme-filter .jq-selectbox { position: relative; z-index: 5 !important; }
.theme-filter .jq-select-multiple select,
.theme-filter .jq-selectbox select { display: none; }
.theme-filter .jq-selectbox__select {
    cursor: pointer;
    position: relative;
    width: calc(100% - 35px);
    padding: 9px 20px 9px 0;
    text-align: left;
}

.theme-filter .jq-selectbox__select-text {
    top: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 15px);
}
.theme-filter .jq-select-multiple ul li,
.theme-filter .jq-selectbox__dropdown ul li,
.theme-filter .jq-selectbox__select-text {
    letter-spacing: normal;
}

.theme-filter .jq-selectbox__select:before,
.theme-filter .jq-selectbox__select:after {
    content: '';
    position: absolute;
    width: 1px;
    height: 10px;
    top: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.theme-filter .jq-selectbox__select:before { transform: rotate(-45deg); right: 26px; }
.theme-filter .jq-selectbox__select:after { transform: rotate(45deg); right: 19px; }
.theme-filter .opened .jq-selectbox__select:before { right: 19px; }
.theme-filter .opened .jq-selectbox__select:after { right: 26px; }

.theme-filter .jq-selectbox__dropdown {
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 28px;
    overflow: hidden;
    border: 0.5px solid #E0E0E0;
    padding: 5px 0;
    background-color: #fff;
}

.theme-filter .jq-select-multiple ul, .theme-filter .jq-selectbox__dropdown ul { list-style-type: none; overflow-y: auto; }
.theme-filter .jq-select-multiple ul, .theme-filter .jq-selectbox__dropdown ul::-webkit-scrollbar {
    width: 2px;
    height: 15px;
    background-color: rgba(160, 160, 160, 0.3);
}
.theme-filter .jq-select-multiple ul, .theme-filter .jq-selectbox__dropdown ul::-webkit-scrollbar-track {
    background-color: rgba(160, 160, 160, 0.3);
}
.theme-filter .jq-select-multiple ul, .theme-filter .jq-selectbox__dropdown ul::-webkit-scrollbar-thumb{
    background-color: rgb(66, 66, 66);
}
.theme-filter .jq-select-multiple ul li,
.theme-filter .jq-selectbox__dropdown ul li {
    text-align: left;
    padding: 5px 15px;
    cursor: pointer;
    display: block;
    /*font-weight: bold;*/
}

.theme-filter .jq-selectbox__select:before,
.theme-filter .jq-selectbox__select:after,
.theme-filter .jq-select-multiple ul li,
.theme-filter .jq-selectbox__dropdown ul li,
.i_cpt-reload {
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.theme-filter .a_loader {
    z-index: 6;
}
/*endregion*/

/*region theme __etf*/
.yellow-block.__etf .ideas-container.ahead > a:not(.button) {
    border-bottom: 1px solid #52655B;
}

.yellow-block.__etf .ahead > a:not(.button):before {
    color: #52655B;
}

.yellow-block.__etf .ideas-container.ahead > a:not(.button):hover span {
    color: #52655B;
}
/*endregion*/

@media (min-width: 992px) {
    .col-vertical {
        grid-row-start: auto;
        grid-row-end: span 2;
    }

    .ideas__news-list .cake.half_vertical {
        height: 740px;
        padding-top: calc(100% + 30px);
    }

    /*region :nth-child(3n-1)*/
    ._triple-item:last-child:nth-child(2) {
        grid-column-end: span 2;
        -ms-grid-column-span: 2;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical {
        background-size: calc(100%) auto;
        padding-top: calc(100% - 60px);
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__left-bottom {
        background-position: bottom 370px left;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__left-center {
        background-position: bottom 350px left;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__right-bottom {
        background-position: bottom 370px right;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__right-center {
        background-position: bottom 350px right;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__center-bottom {
        background-position: bottom 370px center;
    }

    ._triple-item:last-child:nth-child(2) .cake-with-bg.half_vertical.__center-center {
        background-position: bottom 350px center;
    }
    /*endregion*/

    /*region :nth-child(3n-2)*/
    ._triple-item:last-child:first-child {
        grid-column-end: span 3;
        -ms-grid-column-span: 3;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical {
        height: 370px;
        background-size: calc(67% + 15px) auto;
        padding-top: 30px;
        background-position-x: right;
        /*background-position-y: center;*/
        top: auto;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical:before {
        left: calc(33% - 15px);
        top: 60px;
        border: 15px solid transparent;
        border-left: 12px solid #fff;
        z-index: 2;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical:after {
        height: 100%;
        width: calc(33% - 15px);
        top: 0;
        left: 0;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical .opacity {
        left: calc(33% - 15px);
        bottom: 0;
        background: linear-gradient(rgba(248, 248, 249, 0), #0C0C0B 50%);
        background: -webkit-linear-gradient(rgba(248, 248, 249, 0), #0C0C0B 50%);
        background: -ms-linear-gradient(rgba(248, 248, 249, 0), #0C0C0B 50%);
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical .cake-tag {
        position: relative;
        top: 0;
        left: 0;
        display: inline-block;
        padding: 5px 10px;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical .cake-icon {
        right: auto;
        left: calc(33% - 69px);
        top: 30px;
    }

    ._triple-item:last-child:first-child .cake-with-bg.half_vertical .cake-block {
        width: calc(33% - 72px);
        top: auto;
        bottom: 59px;
        height: auto;
        position: absolute;
        left: 30px;
        right: 30px;
    }
    /*endregion*/
}


@media (min-width: 768px) {
    .triple-news { padding-top: 30px; }
    .col-vertical .cake.half_vertical:before {
        position: absolute;
        content: '';
        top: calc(50% - 26px);
        left: 30px;
        z-index: 1;

        border: 15px solid transparent;
        border-bottom: 12px solid #fff;
    }

    .col-vertical .cake.half_vertical:after {
        position: absolute;
        content: '';
        height: calc(50%);
        width: 100%;
        top: 50%;
        left: 0;
        z-index: 0;
        background: #fff;
    }

    .col-vertical .cake-with-bg.half_vertical .cake-icon {
        background-image: url(/local/components/aton/news.list/templates/v1.0/img/icon_news.png);
        position: absolute;
        right: 30px;
        top: calc(50% + 30px);
        z-index: 2;
    }

    .cake-with-bg.half_vertical {
        height: auto;
        /*min-height: calc(200vw - 120px);*/
        background-size: auto calc(50%);
        padding-top: calc(100vw - 45px);
    }

    ._triple-item:not(:last-child:first-child) .cake-with-bg.half_vertical {
        background-position-y: top;
    }

    .col-vertical .cake-block {
        position: absolute;
        right: 30px;
        top: calc(50% + 90px);
        z-index: 2;
    }

    .col-vertical .cake-with-bg.half_vertical .opacity {
        bottom: calc(50%);
    }

    .col-vertical .cake-with-bg.half_vertical .cake-title {
        color: #000;
    }

    .col-vertical .cake-with-bg.half_vertical .cake-description {
        color: #000;
    }

    .col-vertical .cake-with-bg.half_vertical .cake-date, .col-vertical .cake-with-bg.half_vertical .cake-delimiter, .col-vertical .cake-with-bg.half_vertical .cake-author {
        color: #7f7f7f;
    }

    .col-vertical .cake-with-bg.half_vertical .cake-tag {
        color: #d8003f;
        background: transparent;
        border: 1px solid #d8003f;

        position: absolute;
        left: 30px;
        top: calc(50% + 35px);
        z-index: 2;
    }

    .col-vertical .cake-with-bg.half_vertical .cake-tag:hover {
        color: #fff;
        background: #d8003f;
        border: 1px solid #d8003f;
    }

    .cake.cake-with-bg.half_vertical .media-play {
        top: calc(25% - 35px);
    }
}

@media (max-width: 600px) {
    .col-vertical .cake.half_vertical:before {
        position: absolute;
        content: '';
        top: calc(50% - 28px);
        left: 30px;
        z-index: 1;

        border: 15px solid transparent;
        border-bottom: 12px solid #fff;
    }

    .col-vertical .cake.half_vertical:after {
        position: absolute;
        content: '';
        height: calc(50%);
        width: 100%;
        top: 50%;
        left: 0;
        z-index: 0;
        background: #fff;
    }

    .cake-with-bg.half_vertical {
        min-height: calc(200vw - 120px);
        background-size: auto calc(100vw - 62px);
    }

    .cake-with-bg .cake-icon {
        position: relative;
    }
}

@media (max-width: 767px) {
    .triple-news { padding-top: 15px; }
    ._triple-item { -ms-grid-column: 1; }
    ._triple-item:first-child { -ms-grid-row: 1; }
    ._triple-item:nth-child(even) { -ms-grid-row: 2; }
    ._triple-item:last-child { -ms-grid-row: 3; }

    .author-list .theme-filter {
        font-size: 9px;
        line-height: 11px;
        display: block;
        position: relative;
    }

    .theme-filter .jq-selectbox__select {
        padding-left: 0;
        text-align: right;
        width: 100%;
    }

    .author-detail .theme-filter {
        display: block;
        position: relative;
    }

    .author-detail .jq-selectbox__select {
        width: 192px;
        text-align: left;
    }

    .theme-filter .jq-selectbox__select:before,
    .theme-filter .jq-selectbox__select:after {
        height: 8px;
        top: 9px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .ideas__news-list .cake.half_vertical {
        height: 370px;
        padding-top: 30px;
    }


    .col-vertical .cake-block {
        position: absolute;
        right: 30px;
        top: 60px;
        z-index: 2;
    }
}

@media (min-width: 768px) and (max-width: 991px)  {
    .ideas__news-list .cake.half_vertical {
        height: 740px;
        min-height: unset;
        padding-top: 30px;
    }

    ._triple-item:first-child:nth-last-child(odd) {
        grid-row: 1;
        -ms-grid-row: 1;
        grid-column: span 2;
        -ms-grid-column: 1;
        -ms-grid-column-span: 5;
    }
    ._triple-item:nth-child(even) {
        -ms-grid-row: 2;
        -ms-grid-column: 1;
    }
    ._triple-item:last-child {
        -ms-grid-row: 2;
        -ms-grid-column: 3;
    }

    ._triple-item:first-child .cake-with-bg.half_vertical{
        background-size: cover;
    }
}

@media (min-width: 992px) {
    ._triple-item:first-child { -ms-grid-column: 1; }
    ._triple-item:nth-child(even) { -ms-grid-column: 3; }
    ._triple-item:last-child { -ms-grid-column: 5; }
}

@media (max-width: 380px) {
    /*.cake.cake-with-bg.half_vertical {
        padding-top: calc(100% + 10px);
    }*/
}