.promo-dashboard__text {
    max-width: 294px;
}


.custom-card {
    position: relative;
    margin: 0 -8px;
    overflow: hidden;
    border-bottom: 1px solid rgba(50,50,50,.15);
}






.custom-card__poster {
    background-position: 50%;
    background-size: cover;
    background-color: #e6e6e6;
}

.custom-card__poster, .custom-card__poster:after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-card__poster:after {
    content: "";
    background: linear-gradient(358.89deg,#000 24.62%,transparent 71.53%);
}

.custom-card--full .custom-card__poster:after {
    content: "";
    background: linear-gradient(358.89deg,#000 24.62%,transparent 71.53%);
}

.custom-card__content {
    width: 100%;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    padding: 16px 24px;
}

.custom-card__content a {
    margin-top: 8px;
    display: block;
    width: 100%;
    font-size: 21px;
    line-height: 24px;
}

.custom-card--full .custom-card__content a {
    font-weight: 700;
    color: #fff;
}







.lead-theme-card__subtitle {
    font-size: 16px;
}

.btn--feedback
{
    line-height: 0px;
}
@media (max-width: 768px) and (min-width: 576px)
{
    .under-captcha-buttons
    {
        bottom: 60px;
    }
}

@media (min-width: 768px)
{
    .mobile__form-group-container {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: flex-start;
    }
    .mobile-captcha
    {
        justify-content: flex-end;
    }
}

.banner .wrapper-banner-link {
    box-shadow: none;
}

.banner .banner_link {
    box-shadow: none;
}

.article-author__name {
    text-decoration: none;
    margin-bottom: 0;
}

.article-author__position {
    margin-left: 10px;
    font-size: 14px;
    color: rgba(50,50,50,.35);
}

.article-author__avatar {
    margin-right: 0;
}

@media (max-width: 767px) {
    .article-author {
        margin-bottom: 0;
        text-align: left;
    }
}

@media (min-width: 1500px) {
    .news-feed {
        max-height: 1240px;
    }
}


@media (min-width: 1220px) {
    .fixed-table-input__columns:not(:first-child) div:first-child {
        -ms-flex-pack: center;
        justify-content: center;
        background-color: #f3f3f300;
    }
}


.special-link {
    display: flex;
    flex-grow: 1;
    height: 100%;
    background-position: 50%;
    background-size: cover;
}

.purchasable-line {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(50,50,50,.15);
}

.purchasable-line__head {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.purchasable-line__promo-link {
    white-space: nowrap;
}

.purchasable-line__head a {
    font-size: 12px;
}

.purchasable-line__promo-link:before {
    margin: 0 5px;
    content: "|";
}

.purchasable-line__add-more {
    display: flex;
    padding-left: 10px;
    align-items: center;
    margin-left: auto;
}

.purchasable-line__head svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    fill: var(--green-primary);
}

.purchasable-line__add-more svg {
    flex-shrink: 0;
}

.purchasable-line__head > div a {
    text-decoration: underline;
}

.purchasable-line__item {
    display: flex;
    align-items: center;
}

.purchasable-line__image {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    margin-right: 16px;
    background-position: 50%;
    background-size: cover;
    background-color: rgba(50,50,50,.15);
    border-radius: 50%;
}

.purchasable-line__title {
    max-height: 5.4em;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
}

.custom-pagination {
    width: auto !important;
    max-width: fit-content;
}


.article-details__text blockquote {
    position: relative;
    border-top: 1px solid var(--green-primary);
    border-bottom: 1px solid var(--green-primary);
    font-style:italic;
    font-weight:300;
    padding: 20px 34px;
    margin: 40px 60px;
}

.article-details__text blockquote:before {
    content: '';
    position: absolute;
    left: 0;
    top: -17px;
    width: 40px;
    height: 30px;
    background: #fff;
    background-image: url(../img/quote-svgrepo-com.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 9;
}

.article-details__text blockquote:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -17px;
    width: 40px;
    height: 30px;
    background: #fff;
    background-image: url(../img/quote-svgrepo-com.svg);
    background-repeat: no-repeat;
    transform: rotate(180deg);
    background-size: contain;
    z-index: 9;
}


.company-tabs .tab-more.active,.company-tabs .tab-more:hover,.company-tabs .tab.active,.company-tabs .tab:hover {
    background-color:#f0f0f0;
}

.company-tabs .tab-more.active, .company-tabs .tab.active {
    background-color:#f0f0f000;
}


.promocards-wrapper.mobile-version {
    display: none;
}




.old-price {
    text-decoration: line-through;
    color: #ccc;
    font-size: 15px;
}

.advertising {
    color: #828282;
    font-size: 14px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 999;
    padding: 5px 7px;
    background: #ededed;
    border-radius: 5px;
}

.toppage-search__link {
    background: #e6e6e6;
    padding: 0 0 12px 10px;
}

.toppage-search__link a {
    border-bottom: 1px dashed #959595;
}

.fancybox-custom .competition-card__description iframe {
    width: 100%;
}


.modal-dialog.popup {
    max-width: 300px;
}


.modal-dialog.popup img {
    height: 489px;
}

.modal-dialog.popup iframe {
    height: 489px;
}

.error_text {
    color: #22955d8c;
}


@media (min-width: 1024px) {
    .custom-card {
        margin: 0;
        border-bottom: 0;
    }

    .custom-card--full {
        border-bottom: 0;
    }

    .custom-card--full, .custom-card--simple {
        padding-bottom: 45.12%;
    }

    .custom-card__content {
        padding: 12px 16px;
    }

    .article-author__avatar {
        margin-bottom: 0;
    }

    .desktop-spec-theme{
        margin-top:36px
    }
}

@media (max-width: 680px) {
    .article-details__text blockquote {
        padding: 20px 40px;
        margin: 40px 0;
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 650px) {
    .promocards-wrapper.pc-version {
        display: none;
    }

    .promocards-wrapper.mobile-version {
        display: block;
    }

    .c-special-card__other.is-open {
        overflow: scroll;
    }


    .promo-dashboard__text {
        max-width: none;
    }
}

.custom-card--full, .custom-card--full, .custom-card--simple, .custom-card--simple {
    padding-bottom: calc(45.12% + 107px);
}


.app-install-links {
    margin-top: 0;
}

.competition-card__title {
    cursor: pointer;
}

.fancybox-caption:before {
    display: none;
}

.fancybox-caption {
    opacity: 1;
    visibility: visible;
    background: #fff;
    color: #323232;
    bottom: auto;
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    z-index: 9;
}

.fancybox-inner .competition-card .share-links, .fancybox-inner .competition-card__n-description, .fancybox-inner .competition-card__n-link, .fancybox-inner .competition-card__n-title {
    display: block !important;
}

.fancybox-inner .competition-card__description {
    display: block;
}


.main_menu_elem .active svg path {
    fill:  var(--green-primary);
}

.company-info__left .item .item_phone.hide {
    display: none;
}

.company-info__left .item .item_phone.visible {
    margin-top: 8px;
}

.item_phone .arrow-down {
    cursor: pointer;
}


.company-info__left .item .item_phone .arrow-down {
    border-top: 7px solid #323232;
    margin-bottom: 2px;
    margin-left: 3px;
}

.company-info__left .item .item_phone .arrow-down.rotate {
    transform: rotate(180deg);
    margin-bottom: 6px;
}

.main-nav .main_menu_elem svg {
    max-width: 25px;
    max-height: 25px;
    transition: all .3s;
}
.main-nav .main_menu_elem .active svg {
    max-width: 25px;
    max-height: 25px;
    transition: all .3s;
}

.main-nav a:hover svg path {
    transition: all .3s;
}

.main-nav a:hover svg path {
    fill: var(--green-primary);
    transition: all .3s;
}

.container-comment p {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 16px;
}

.fixed-table__columns div {
    padding: 10px 30px;
}

.offer-page table td, .offer-page table th {
    padding: 10px 30px;
}
.offer-page table th, .offer-page table thead {
    padding: 10px 30px;
}

.company-info-container > h2 {
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    padding-left: 15px;
}

.company-info__left .item .name h3 {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 600;
}

@media (max-width: 720px) {
    .fancybox-content {
        width: 100%;
        padding: 0;
        overflow: visible;
    }

    .fancybox-close-small {
        top: -45px;
    }

    .fancybox-slide--html .fancybox-content iframe {
        width: 100%;
    }
}

.lead-quiz__poll-button:hover {
    background: var(--green-primary);
    color: #fff;
    cursor: pointer;
}

.static-list-items .promoblock .promoblock__info {
    max-width: calc(100% - 65px);
}

.static-list-items .promoblock .promoblock__subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%; /* Растягивается на всю ширину родителя */
    max-width: 100%; /* Чтобы не выходило за границы */
}

.specialprojects_list .promocard .promocard__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Количество строк */
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
}

.c-news-block__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-news-block__author {
    padding: 20px 20px 0;
}

@media (max-width: 919px) {
    .c-news-block__author {
        padding: 20px 10px 0;
    }
}
