:root {
    --line-height-mobile: 1.2;
    --blue-color: #76CDD8;
}

@media screen and (max-width: 1920px) and (min-width: 1440px) {
    .main .tabs-fixed {
        padding-left: calc((100% - 1440px)/2 + 100px);
        padding-right: calc((100% - 1440px)/2 + 100px);
    }
}

@media screen and (max-width: 1280px) {
    /*buttons-wrapper*/
    #tabs.page-tabs.tabs-fixed > .buttons-wrapper {
        gap: 8px;
        flex-wrap: nowrap;
    }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown .dropdown-btn--download {
            width: auto;
            min-width: 140px;
            flex: 1 1 200px;
        }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown .dropdown-btn,
        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown .purchase-btn {
            padding: 5px 12px;
            max-width: none !important;
            width: auto;
        }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .btn-text {
            display: none;
        }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown-download > button::before,
        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown-purchase > button::before {
            content: '';
            display: block;
            width: 24px;
            height: 24px;
            background-size: contain;
            margin: 0 auto;
        }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown-download > button::before {
            background-image: url('../images/redesign/ic-download_white.svg');
        }

        #tabs.page-tabs.tabs-fixed > .buttons-wrapper .dropdown-purchase > button::before {
            background-image: url('../images/redesign/ic-buy_white.svg');
        }

    .dropdown-menu__item a {
        font-size: 14px;
    }

    .dropdown-menu__item {
        padding: 7px;
    }

    .purchase-btn.dropdown-btn--green.dropdown-btn--download {
        position: relative;
    }

    .dropdown.dropdown-purchase .dropdown-menu.dropdown-menu--active {
        position: absolute;
        right: 20px;
    }
    /*buttons-wrapper*/


    .header {
        padding: 30px 40px 12px;
    }

    .main-header {
        padding: 0 80px 0 40px;
    }

    .main-content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .footer {
        padding: 0 40px;
    }

    .main .page-tabs {
        width: calc(100% - 40px*2);
        margin: 0 40px;
    }

    .main .tabs-fixed {
        padding: 10px 40px 5px;
        margin: 0;
        width: 100%;
    }

    .header-sub-menu {
        padding: 40px;
    }
}

@media screen and (max-width: 1024px) {
    #tabs.page-tabs.tabs-fixed > .buttons-wrapper > .dropdown-download,
    #tabs.page-tabs.tabs-fixed > .buttons-wrapper > .dropdown-purchase {
        display: none;
    }

    .header-menu li {
        margin-right: 26px;
    }

        .header-menu li a {
            font-size: 14px;
        }

    .main-header-breadcrumbs,
    .main-header-breadcrumbs__item {
        margin-bottom: 25px;
    }

    .main-article,
    .main-aside {
        width: 90%;
    }

    .main-article {
        margin-bottom: 70px;
    }

    .main-aside .aside-navigation {
        margin-bottom: 0;
    }

    .main-header__title {
        max-height: 3lh;
    }

    .main-content {
        padding-bottom: 70px;
    }

    .page-request-form-content {
        padding: 71px 53px 57px 52px;
    }

    .footer .products-container__list-item {
        font-size: 14px;
        height: 100px;
        min-width: 80px;
    }

    .footer .footer__additional-info {
        height: 89px;
        height: 89px;
    }

    .chapter-block--performance-lab .header-sub-menu__column,
    .chapter-block--services .header-sub-menu__column {
        width: calc(100% / 3);
    }

    .chapter-block--solutions .header-sub-menu__text {
        margin-bottom: 0;
    }

    .header-sub-menu__column.performace-lab-banner-column,
    .header-sub-menu__column.services-banner-column {
        width: 100%;
        margin-top: 10px;
        padding-left: calc(100% / 3);
    }

    .header-menu__link {
        margin-right: 25px;
    }

    .header-menu__link_contact {
        padding: 5px 8px;
        margin-left: -12.5px;
    }

    .footer .sub-link {
        margin-bottom: 8px;
        margin-top: 8px;
    }

    .chapter-block--support .header-sub-menu__column {
        width: 25%;
    }

    .header-sub-menu__column.header-sub-menu__column--double {
        width: 45%;
    }
}

@media screen and (max-width: 878px) {
    .footer .bottom-navigation {
        flex-direction: column;
        text-align: center;
    }

        .footer .bottom-navigation > div {
            padding: 0;
            border-right: none !important;
        }

    .footer .chapter-block .sub-menu {
        display: none;
    }

    .footer .products-container__list-item {
        font-size: 14px;
        height: 80px;
    }

        .footer .products-container__list-item .prod-title {
            display: none;
        }

    .header-menu__link {
        margin-right: 15px;
    }

    .header-menu__link_contact {
        padding: 5px 8px;
        margin-left: -7.5px;
    }

    .header__title {
        width: 200px;
        flex: 0 0 200px;
    }

    .header-sub-menu__column.header-sub-menu__column--first {
        width: 100%;
        margin-bottom: 10px
    }

    .header-sub-menu__column:not(.header-sub-menu__column--first) {
        width: calc(100% / 3);
    }

    .header-sub-menu__buttons .button {
        width: 200px;
    }

    .chapter-block--support .header-sub-menu__column:last-child .sub-link {
        line-height: 18px;
    }

    .main .page-tab {
        margin-right: 14px;
    }

    .chapter-block--performance-lab .header-sub-menu__column:not(.header-sub-menu__column--first),
    .chapter-block--services .header-sub-menu__column:not(.header-sub-menu__column--first),
    .chapter-block--support .header-sub-menu__column:not(.header-sub-menu__column--first) {
        width: calc(100% / 2);
    }

    .chapter-block--performance-lab .header-sub-menu__column.performace-lab-banner-column,
    .chapter-block--services .header-sub-menu__column.services-banner-column {
        width: 100%;
        padding-left: 0;
    }

    .page-request-form-agreement {
        padding: 28px 10px 20px 10px;
        line-height: 1.25;
    }
}

@media screen and (max-width: 814px) {
    .main-header-breadcrumbs,
    .main-header-breadcrumbs__item {
        margin-bottom: 15px;
    }

    .main-article,
    .main-aside,
    .page-request-form-item_small {
        width: 100%;
    }

    .main-article {
        margin-bottom: 70px;
    }

    .main-content {
        padding-bottom: 70px;
    }

    .page-request-form-content {
        padding: 40px 20px 35px 20px;
    }

    .page-request-form-buttons {
        justify-content: space-between;
    }

    .page-request-form__button {
        width: 48%;
        margin-left: 0;
    }

    .header-menu__link {
        font-size: 14px;
    }

    .header-menu__link_contact {
        border: none;
        background: none;
        padding: 5px 10px !important;
        margin-left: 0px;
        font-size: 14px;
    }

        .header-menu__link_contact:hover,
        .header-menu__link_contact.hover,
        .header-menu__link_contact:active,
        .header-menu__link_contact.current {
            border-bottom: 2px solid #39C2D7;
            background: none;
        }

    .main-header__title {
        max-height: 3lh;
    }

    .page-request-form-agreement-recaptcha {
        width: 100%;
        padding: 35px 0 0 22px;
        justify-content: start;
    }

    .header-search-form {
        display: none;
    }

    .header-menu.active {
        display: flex;
    }

    .header-menu {
        display: none;
    }

    .header__title {
        display: none;
    }

    .header-toggle {
        display: block;
    }

    .tabs__scroll_right {
        right: 1vw;
    }

        .tabs__scroll_right.fixed {
            right: 0;
        }

    .footer .products-container {
        padding: 31px 0;
    }

    .footer .footer__additional-info {
        height: 82px;
    }

    .mobile-search-icon {
        display: block;
    }

    .search-modal {
        display: flex;
    }

        .search-modal:not(.active) {
            display: none;
        }

    .search-modal-content {
        width: 80%;
        max-width: 650px;
    }

    .modal-search-form {
        width: 100%;
        min-width: 300px;
    }

    .header-menu {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        flex-wrap: wrap;
        gap: 10px 15px;
        padding: 10px 15px;
    }

    .header-menu__link {
        padding: 10px 15px;
        font-size: 14px;
    }

    .footer .products-container__list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer .products-container__list-item {
        flex: 0 0 calc(33.33% - 10px);
        margin-right: 0;
    }

    .header--home .header__logo,
    .header__logo {
        background-size: 200px 24px !important;
        width: 200px;
        height: 24px;
    }

    .header {
        padding: 25px 30px 12px;
    }

    .header-menu__link {
        margin-right: 0;
        font-size: 14px;
        white-space: nowrap;
        padding: 5px 10px;
    }


    .footer .footer__extra-links-and-copy {
        padding-bottom: 10px;
    }

    .footer .bottom-navigation {
        padding-top: 30px;
    }

    .main-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .main .page-tabs,
    .main .tabs-fixed {
        flex-wrap: wrap;
        height: auto;
        padding: 5px 25px 5px;
        margin: 0;
    }

    .dropdown-btn--download {
        margin-top: 12px;
    }

    .main .page-tab {
        margin-bottom: 5px;
    }

    .page-request-form-agreement-text {
        width: 100%;
    }

    .page-request-form-agreement-recaptcha {
        padding: 35px 0 0 0px;
    }

    #business_technology_rationalization_tab > p {
        padding-top: 20px;
    }

    /* Transform table page-table class to cards start*/
    .page-table,
    .page-table tbody,
    .page-table tr,
    .page-table td,
    .page-table th {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .page-table {
        margin-top: 20px;
    }

        .page-table thead,
        tr.page-table__caption-row {
            display: none;
        }

    .page-table__row {
        border: 1px solid #e0e0e0;
        background: #f9f9f9;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

        .page-table__row td.dark-td {
            font-size: 16px;
            color: #2c3e50;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #ddd;
            position: relative;
        }

        .page-table__row td {
            position: relative;
        }

            .page-table__row td:not(.dark-td) {
                font-size: 14px;
                line-height: 1.3;
                color: #333;
                padding-inline: 12px;
            }

        .page-table__row ul,
        .page-table__row ol {
            margin: 8px 0;
            padding-left: 24px;
        }

        .page-table__row li {
            margin-bottom: 6px;
            position: relative;
        }

        .page-table__row ul ul,
        .page-table__row ol ol {
            margin: 4px 0;
            padding-left: 20px;
        }

        .page-table__row a {
            text-decoration: none;
            word-break: break-word;
            display: inline-block;
            margin-top: 4px;
        }

        .page-table__row:hover {
            background: #f0f0f0;
            transition: background 0.2s ease;
        }

        .page-table__row strong,
        .page-table__row .bold {
            font-weight: 600;
            color: #222;
            line-height: 1.2;
        }
    /* 768px transform table page-table class to cards end*/

    /* Transform table zebra-table class to cards start*/
    table.zebra-table,
    table.zebra-table tbody,
    table.zebra-table tr,
    table.zebra-table td,
    table.zebra-table th {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    table.zebra-table {
        margin-top: 20px;
    }

        table.zebra-table thead,
        table.zebra-table tr.page-table__caption-row {
            display: none;
        }
    /* Transform table zebra-table class to cards end*/

    /* 768px inline-list class to cards start*/
    .main-header.fix-engines ~ .main-content .inline-list {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        border-bottom: 1px solid #39C2D7;
        padding-bottom: 5px;
    }

    .main-header.fix-engines ~ .main-content .inline-list__item.header-item {
        width: 100%;
        margin: 15px 0 5px 10px;
    }

    .main-header.fix-engines ~ .main-content .inline-list__item {
        margin: 15px 0 5px 10px;
    }
    /* 768px inline-list class to cards end*/


    /* 768px tiles-wall class to cards start*/
    .main-header ~ .main-content .tiles-wall {
        flex-direction: column;
        width: 100%;
        min-width: 100%;
    }

        .main-header ~ .main-content .tiles-wall .tile {
            width: 100%;
            max-width: 100%;
        }

    .main-header ~ .main-content .tile.tile-third.tile-md-half,
    .main-header ~ .main-content .tile.tile-two-thirds.tile-md-half {
        width: 100%;
        min-width: 100%;
        margin: 12px 5px 3px 5px;
        padding: 3px 4px 3px 4px;
    }

    .main-header ~ .main-content .tile__header {
        font-size: 18px;
        line-height: 1.3;
        height: 43px;
    }

    .main-header ~ .main-content .tile.tile-third.tile-md-half p,
    .main-header ~ .main-content .tile.tile-two-thirds.tile-md-half p {
        margin-bottom: 5px;
    }
    /* 768px tiles-wall class to cards end*/

    .feautures-table .page-table__row td:first-child, .feautures-table .page-table__caption-row td:first-child {
        width: auto !important;
    }

    /*buttons-wrapper*/
    .buttons-wrapper.cloned-buttons,
    .main-header > .buttons-wrapper {
        gap: 8px;
        flex-wrap: nowrap;
        /*display:none;*/
    }

        .buttons-wrapper.cloned-buttons .dropdown .dropdown-btn--download,
        .main-header > .buttons-wrapper .dropdown .dropdown-btn--download {
            width: auto;
            min-width: 140px;
            flex: 1 1 200px;
        }


        .buttons-wrapper.cloned-buttons .dropdown .dropdown-btn,
        .buttons-wrapper.cloned-buttons .dropdown .purchase-btn,
        .main-header > .buttons-wrapper .dropdown .dropdown-btn,
        .main-header > .buttons-wrapper .dropdown .purchase-btn {
            padding: 5px 12px;
            max-width: none !important;
            width: auto;
        }

        .buttons-wrapper.cloned-buttons .btn-text,
        .main-header > .buttons-wrapper .btn-text {
            display: none;
        }

        .buttons-wrapper.cloned-buttons .dropdown-download > button::before,
        .buttons-wrapper.cloned-buttons .dropdown-purchase > button::before,
        .main-header > .buttons-wrapper .dropdown-download > button::before,
        .main-header > .buttons-wrapper .dropdown-purchase > button::before {
            content: '';
            display: block;
            width: 24px;
            height: 24px;
            background-size: contain;
            margin: 0 auto;
        }

        .buttons-wrapper.cloned-buttons .dropdown-download > button::before,
        .main-header > .buttons-wrapper .dropdown-download > button::before {
            background-image: url('../images/redesign/ic-download_white.svg');
        }

        .buttons-wrapper.cloned-buttons .dropdown-purchase > button::before,
        .main-header > .buttons-wrapper .dropdown-purchase > button::before {
            background-image: url('../images/redesign/ic-buy_white.svg');
        }

    .dropdown-menu__item a {
        font-size: 14px;
    }

    .dropdown-menu__item {
        padding: 7px;
    }

    .purchase-btn.dropdown-btn--green.dropdown-btn--download {
        position: relative;
    }

    .dropdown.dropdown-purchase .dropdown-menu.dropdown-menu--active {
        position: absolute;
        right: 20px;
    }
    /*buttons-wrapper*/


    /* 768px transform specific table #supported_compilers_tab to cards end*/
    /*cant-find-platform__controls*/
    .cant-find-platform__controls {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
    }

    .sales-link {
        width: 100%;
        max-width: 100%;
        min-width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
    }

    .button--contact-us {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 200px;
        margin: 0;
        padding: 0 20px;
    }
    /*cant-find-platform__controls*/


    .download-links .download-links__header {
        font-weight: bold;
        font-size: 20px;
        padding: 12px;
        line-height: 1.3;
    }

    @media screen and (max-width: 576px) {
        .main .main-article-list-item, .main .main-article li {
            padding-top: 1px;
            line-height: var(--line-height-mobile);
        }

        .main-content {
            padding-left: 17px;
            padding-right: 17px;
        }

        .page-request-form-agreement {
            padding: 10px 15px 10px 15px;
            line-height: 1.2;
        }

        .page-request-form-agreement-text {
            width: 100%;
        }

        .main-article {
            margin-bottom: 40px;
        }

        .page-request-form-content {
            padding: 35px 17px 35px 17px;
        }

        .main-header {
            padding: 0 20px 0 20px;
        }
    }


    @media screen and (max-width: 480px) {
        .header__title {
            display: none;
        }

        .header--home .header__logo,
        .header__logo {
            background-size: 160px 20px !important;
            width: 160px;
            height: 20px;
        }

        .header {
            padding: 20px 30px 10px;
        }

        .main-content {
            padding-left: 15px;
            padding-right: 15px;
        }

        .tile__header {
            font-size: 17px;
            line-height: var(--line-height-mobile);
        }

        .tile__header-img {
            height: 40px;
            min-width: 40px;
            margin-right: 15px;
        }

        .main-article p {
            margin-bottom: 12px;
            line-height: var(--line-height-mobile);
        }

        .tile__body {
            line-height: var(--line-height-mobile);
        }

        .main-header__title {
            line-height: 1.1;
        }

        .page-request-form-agreement {
            padding: 10px 5px 10px 5px;
            line-height: 1.2;
        }

        .page-request-form-agreement-text {
            width: 100%;
        }

        #business_technology_rationalization_tab > p {
            padding-top: 40px;
        }

        .main-article {
            margin-bottom: 30px;
        }

        .page-request-form-content {
            padding: 28px 12px 35px 12px;
        }

        .page-request-form-item__label {
            white-space: normal;
            /*word-wrap: break-word;*/
            overflow-wrap: break-word;
        }
    }
    /* media styles for tiles layout */

    @media screen and (max-width: 1920px) {
        .tile-full {
            width: 100%;
            max-width: 100%;
        }

        .tile-half {
            width: calc(100%/2 - 10px);
        }

        .tile-third {
            width: calc(100%/3 - 10px);
            max-width: calc(100%/3 - 10px);
        }

        .tile-two-thirds {
            width: calc(100%/3*2 - 10px);
            max-width: calc(100%/3*2 - 10px);
            margin-right: 18px;
        }

        .tile-third:nth-child(1n) {
            margin-right: 0;
        }
    }

    @media screen and (max-width: 1440px) {
        .tile-lg-full {
            width: 100%;
            max-width: 100%;
        }

        .tile-lg-half {
            width: calc(100%/2 - 10px);
            max-width: calc(100%/2 - 10px);
        }

        .tile-lg-third {
            width: calc(100%/3 - 10px);
            max-width: calc(100%/3 - 10px);
        }

        .tile-lg-two-thirds {
            width: calc(100%/3*2 - 10px);
            max-width: calc(100%/3*2 - 10px);
        }
    }

    @media screen and (max-width: 1024px) {
        .tile-md-full {
            width: 100%;
            max-width: 100%;
        }

        .tile-md-half {
            width: calc(100%/2 - 10px);
            max-width: calc(100%/2 - 10px);
        }

        .tile-md-third {
            width: calc(100%/3 - 10px);
            max-width: calc(100%/3 - 10px);
        }

        .tile-md-two-thirds {
            width: calc(100%/3*2 - 10px);
            max-width: calc(100%/3*2 - 10px);
        }
    }

    @media screen and (max-width: 768px) {
        .tile-sm-full {
            width: 100%;
            max-width: 100%;
        }

        .tile-sm-half {
            width: calc(100%/2 - 10px);
        }

        .tile-sm-third {
            width: calc(100%/3 - 10px);
            max-width: calc(100%/3 - 10px);
        }

        .tile-sm-two-thirds {
            width: calc(100%/3*2 - 10px);
            max-width: calc(100%/3*2 - 10px);
        }
    }
