﻿/* rules from css/page_research.css used by this widget (was linked as a separate file) */
.research-tab-group {
    font-size: 16px;
    font-family: Thongterm-Roman;
    letter-spacing: 0;
}

.research-tab-group-block {
    padding: 0 15px;
}

.research-tab-group {
    position: relative;
    padding: 8px 0;
}

.research-tab-group-item.active h3 {
    font-family: Thongterm-Bold;
}

.research-tab-group-item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #F0EFEE;
    transition: .3s cubic-bezier(.445,.05,.55,.95);
}

.research-tab-group-item.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFD400;
    transition: .3s cubic-bezier(.445,.05,.55,.95);
}

.research-tab-group-item:hover:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FFD400;
    transition: .3s cubic-bezier(.445,.05,.55,.95);
}

@media (max-width: 767px) {
    .research-tab-group-block {
        height: 44px;
        overflow: hidden;
    }

    .research-tab-group-block.open {
        height: auto;
    }

    .research-tab-group {
        padding: 8px 0 2px;
    }

    .research-tab-group-item {
        border: 1px solid #E8E8E8;
        border-radius: 3px;
        background-color: #FFFFFF;
    }

    .research-tab-group-item:after {
        display: none;
    }

    .research-tab-group-item h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
        padding-right: 40px;
    }

    .research-tab-group-item h3 br {
        display: none;
    }

    .research-tab-group-item {
        order: 1;
        margin-top: -1px;
    }

    .research-tab-group-item.active {
        order: 0;
        margin-top: 0;
    }

    .research-tab-group-item.active:before {
        font-family: "Font Awesome 5 Pro";
        font-weight: 300;
        font-size: 20px;
        content: "\f107";
        float: right;
        position: absolute;
        top: 7px;
        right: 15px;
        color: #545454;
        z-index: 0;
    }
}

/*#region PM-008*/
/*.pm-008 .research-tab-group-block {
    padding: 0 15px;
}*/

.pm-008 .card-list {
    display: inline-block;
    border-radius: 3px;
    box-shadow: 1px 2px 20px 0 rgba(35, 19, 18, 0.05);
    background-color: #FFFFFF;
    width: 100%;
    margin-bottom: 16px;
}

.pm-008 .content {
    padding: 16px;
    height: 150px;
}

.pm-008 .card-list .image {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}


@media (max-width: 768px) {
    .pm-008 .research-tab-group-block-mb {
        padding: 0 15px;
        /*border-bottom: 4px solid #f0efef;*/
        /*border-bottom: transparent;*/
        min-height: 134px;
        height: auto;
    }

    .pm-008 .research-tab-group-item-mb {
        position: relative;
        top: 7px;
        display: table-cell;
        width: 100%;
        /*height: 134px;*/
        background: transparent;
        position: relative;
        overflow: hidden;
    }

        .pm-008 .research-tab-group-item-mb:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #F0EFEE;
            transition: .3s cubic-bezier(.445,.05,.55,.95);
        }

        .pm-008 .research-tab-group-item-mb.active {
            border-bottom: 4px solid #ffd400;
            margin-top: 3px;
            width: 390px;
        }

            .pm-008 .research-tab-group-item-mb.active::after {
                background: none;
            }

        .pm-008 .research-tab-group-item-mb h3 {
            font-family: Thongterm-Roman;
            font-size: 14px;
            line-height: 30px;
            color: #949494;
        }

        .pm-008 .research-tab-group-item-mb.active h3 {
            font-family: Thongterm-Bold;
            font-size: 14px;
            line-height: 30px;
            color: #222;
        }
}

/*#end region End PM-008*/
