
.spec__tech_links .spec__s_row {
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-right: 160px;
}

.spec__tech_links .spec__s_row .spec__s_title {
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.spec__tech_links .spec__s_row .spec__s_items {
    display: flex;
    flex-flow: row wrap;
    gap: 0.5rem;
}

.spec__tech_links .spec__s_row .spec__s_items a {
    display: inline-block;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}


.spec__tech_links .spec__s_row .spec__s_items a:hover {
    background: #FF9900;
    color: #fff !important;
}


.spec__tech_links .spec__s_collapse {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid gray;
    cursor: pointer;
    width: 150px;
    gap: 0.5rem;
    position: absolute;
    top: 2rem;
    right: 12px;
    white-space: nowrap;
}



.spec__tech_links .spec__s_collapse:before {
    content: "Показать еще";
}
.spec__tech_links .spec__s_collapse.spec__s_open{
    bottom: 2rem;
    top: unset;
}

.spec__tech_links .spec__s_collapse.spec__s_open:before {
    content: "Свернуть";
}

.spec__tech_links .spec__s_collapse.spec__s_open img {
    transform: rotate(180deg);
}

.spec__tech_links .container {
    position: relative;
}

/**hidden**/
.spec__tech_links.spec__s_hidden .spec__s_row {
    display: none;
}

.spec__tech_links.spec__s_hidden .spec__s_row:nth-child(1) {
    display: flex;
}


.spec__tech_links.spec__s_hidden .spec__s_row .spec__s_items .spec__s_item{
    display: none;
}

.spec__tech_links.spec__s_hidden .spec__s_row .spec__s_items .spec__s_item:nth-child(1),
.spec__tech_links.spec__s_hidden .spec__s_row .spec__s_items .spec__s_item:nth-child(2){
    display: flex;
}



@media (max-width: 960px) {
    .spec__tech_links .spec__s_row {
        flex-direction: column;
        margin-right: unset;
        padding-bottom: 0;
    }

    .spec__tech_links .container {
        background-size: cover;
        background-position: top center;
        padding-bottom: 2rem;
    }

    .spec__tech_links .spec__s_collapse.spec__s_open{
        margin-top: 1rem;
        position: relative;
        width: 100%;
        top: unset!important;
        left: unset!important;
        right: unset!important;
        bottom: unset!important;

    }
}

