.ks-grid-row-content-to-center.ks-grid-row {
    justify-content: center;
}

.ks-grid-row-popup_menu.ks-grid-row {
    justify-content: center;
    border-radius: 20px;
    background-color: #F2F2F7;
    margin: 10px;
    height: 40px;
    align-items: center;
}

.ks-grid-row-popup_menu_2.ks-grid-row {
    justify-content: center;
    border-radius: 20px;
    background-color: #007AFF;
    height: 40px;
    align-items: center;
    margin: 10px;
}

.ks-grid-row-border_bottom_popup.ks-grid-row {
    border-bottom: 0;
    padding-bottom: 0;
    margin-top: 7px;
    margin-left: -10px;
}

/* For screens larger than 320px (mobile devices) */
@media screen and (max-width: 767px) {
    #kspublicBlogRow2, #kspublicBlogDetailRow2, #kspublicTeamRow13, #kspublicJobOffersRow2, #kspublicContactRow1 {
        margin-top: 30px;
    }

    #kspublicBlogRow3, #kspublicBlogDetailRow3 {
        margin-top: 30px;
    }

    #kspublicBlogDetailRow32 {
        margin-top: 20px;
    }

    .ks-grid-row-border_bottom.ks-grid-row {
        border-bottom: 0;
        padding-bottom: 0;
        margin-top: 17px;
    }

    .ks-grid-row-simple_border_bottom.ks-grid-row {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .ks-grid-row-border_bottom_with_padding.ks-grid-row {
        border-bottom: 0;
        margin-top: 17px;
        display: block;
        width: 100%;
        padding-bottom: 60px;
    }

    .ks-grid-row-padding.ks-grid-row {
        padding-left: 0;
        display: block;
        /*margin-top: 40px;*/
    }

    .ks-grid-row-row_with_centered_position.ks-grid-row {
        padding-left: 0;
        display: flex;
        margin-top: 30px;
        justify-content: center;
        flex-direction: column-reverse;
    }

    #kspublicProductsAnalogicRow9 .ks-grid-row-row_with_centered_position {
        margin-top: 0;
    }

    #kspublicProductsSeederRow9 .ks-grid-row-row_with_centered_position2, #kspublicProductsSeederRow11 .ks-grid-row-row_with_centered_position2, #kspublicProductsSeederRow12 .ks-grid-row-row_with_centered_position2 {
        margin-top: 0;
    }

    #kspublicProductsSeederRow118 .ks-grid-row-pricing_options {
        margin-top: 0;
    }

    #kspublicProductsSeederRow8 .ks-grid-row {
        margin-top: 30px;
    }

    .ks-grid-row-row_with_centered_position2.ks-grid-row {
        padding-left: 0;
        display: flex;
        margin-top: 30px;
        justify-content: center;
        flex-direction: column;
    }

    .ks-grid-row-products-row.ks-grid-row {
        margin-top: 30px;
        display: block;
    }

    .ks-grid-row-our_expertise_row.ks-grid-row {
        margin-top: 30px;
        display: block;
    }

    .ks-grid-row-our_expertise_title_row.ks-grid-row {
        margin-top: 40px;
    }

    .ks-grid-row-our_explore_header_row.ks-grid-row {
        margin-top: 40px;
    }

    .ks-grid-row-content-to-center.ks-grid-row {
        display: block;
        margin-top: 15px;
    }

    .ks-grid-row-swiss_text_row.ks-grid-row {
        margin-top: 70px;
    }

    .ks-grid-row-footer-row.ks-grid-row {
        margin-top: 30px;
        flex-direction: column-reverse;
    }

    .ks-grid-row-team_panels_row.ks-grid-row {
        display: block;
        margin-top: 0;
    }

    .ks-grid-row-team_panels_row2.ks-grid-row {
        display: block;
        margin-top: 0;
    }

    .ks-grid-row-pricing_options.ks-grid-row {
        margin-top: 25px;
        display: block;
    }

    #kspublicTeamRow131Panel1, #kspublicTeamRow131Panel2, #kspublicTeamRow131Panel3, #kspublicTeamRow131Panel4, #kspublicTeamRow141Panel1, #kspublicTeamRow141Panel2, #kspublicTeamRow141Panel3, #kspublicTeamRow141Panel4, #kspublicTeamRow142Panel1, #kspublicTeamRow142Panel2, #kspublicTeamRow142Panel3, #kspublicTeamRow142Panel4, #kspublicTeamRow143Panel1, #kspublicTeamRow143Panel2, #kspublicTeamRow143Panel3 {
        width: 100%;
    }

    #kspublicContactGrid2Row1 {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: 36%;
    }

    #kspublicMainRow14 {
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-top: 36%;
    }

    #kspublicProductsSeederRow4 .ks-grid-row, #kspublicProductsAnalogicRow4 .ks-grid-row {
        justify-content: center;
    }

    #kspublicProductsAnalogicRow1 .ks-grid-row  {
        margin-top: 24px !important;
    }

    .ks-grid-row-download_form_row.ks-grid-row {
        justify-content: center;
        margin-top: 14px;
    }

    .ks-grid-row-download_button_row.ks-grid-row {
        margin-top: 30px;
        justify-content: center;
    }

    .ks-grid-row-download_text_row.ks-grid-row {
        margin-top: 50px;
        justify-content: center;
    }

    .ks-grid-row-download_subtext_row.ks-grid-row {
        margin-top: 20px;
        justify-content: center;
    }

    .ks-grid-row-expertise_title_row {
        margin-top: 50px;
    }

    .ks-grid-row-download_icon_row.ks-grid-row {
        margin-bottom: 13px;
        margin-top: 13px;
        justify-content: center;
    }

    .ks-grid-row-download_close_icon_row.ks-grid-row {
        margin-bottom: 10px;
        margin-top: 10px;
        margin-right: 10px;
        justify-content: right;
    }

    .ks-grid-row-download_list_row.ks-grid-row {
        margin-bottom: 10px;
        margin-top: 5px;
    }

    .ks-grid-row-download_list_first_row.ks-grid-row {
        margin-bottom: 5px;
        margin-top: 45px;
    }

    .ks-grid-row-download_academy_row.ks-grid-row {
        margin-left: 7px;
        margin-right: 7px;
        margin-top: 25px;
        background-color: #f2f2f7;
        padding-top: 25px;
        justify-content: center;
        border-radius: 20px 20px 0px 0px;
    }

    .ks-grid-row-download_thumbs_row.ks-grid-row {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 0px;
        background-color: #f2f2f7;
        padding-top: 25px;
        justify-content: center;
    }

    .ks-grid-row-download_thumbs_titles_row.ks-grid-row {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 0px;
        background-color: #f2f2f7;
        padding-top: 5px;
        padding-bottom: 25px;
        justify-content: center;
    }

    .ks-grid-row-download_thumbs_slack_row.ks-grid-row {
        padding-top: 30px;
        justify-content: center;
        margin-bottom: 40px;
    }
}

/* For screens larger than 768px (tablets) */
@media screen and (min-width: 768px) {
    #kspublicBlogRow2, #kspublicTeamRow13, #kspublicJobOffersRow2, #kspublicContactRow1 {
        margin-top: 70px;
    }

    #kspublicDownloadPopupGridRow2, #kspublicDownloadPopupGridRow3, #kspublicDownloadPopupGridRow4, #kspublicDownloadPopupGridRow5a, #kspublicDownloadPopupGridRow7{
        justify-items: center;
        display: grid;
    }

    .ks-grid-row-border_bottom.ks-grid-row {
        border-bottom: 2px solid #F2F2F7;
        padding-bottom: 22px;
        margin-top: 22px;
    }

    .ks-grid-row-simple_border_bottom.ks-grid-row {
        border-bottom: 2px solid #F2F2F7;
        padding-bottom: 22px;
    }

    .ks-grid-row-download_form_row.ks-grid-row {
        margin-top: 14px;
    }

    .ks-grid-row-download_button_row.ks-grid-row {
        margin-top: 50px;
    }

    .ks-grid-row-download_text_row.ks-grid-row {
        margin-top: 30px;
        justify-content: center;
    }

    .ks-grid-row-download_subtext_row.ks-grid-row {
        margin-bottom: 46px;
        margin-top: 13px;
        justify-content: center;
    }

    .ks-grid-row-download_icon_row.ks-grid-row {
        margin-bottom: 13px;
        margin-top: 13px;
        justify-content: center;
    }

    .ks-grid-row-download_close_icon_row.ks-grid-row {
        margin-bottom: 10px;
        margin-top: 10px;
        margin-right: 10px;
        justify-content: right;
    }

    .ks-grid-row-download_list_row.ks-grid-row {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .ks-grid-row-download_list_first_row.ks-grid-row {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .ks-grid-row-download_academy_row.ks-grid-row {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 40px;
        background-color: #f2f2f7;
        padding-top: 40px;
        justify-content: center;
    }

    .ks-grid-row-download_thumbs_row.ks-grid-row {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 0px;
        background-color: #f2f2f7;
        padding-top: 25px;
        justify-content: center;
    }

    .ks-grid-row-download_thumbs_titles_row.ks-grid-row {
        margin-left: -10px;
        margin-right: -10px;
        margin-top: 0px;
        background-color: #f2f2f7;
        padding-top: 5px;
        padding-bottom: 25px;
        justify-content: center;
    }

    .ks-grid-row-download_thumbs_slack_row.ks-grid-row {
        padding-top: 15px;
        justify-content: center;
    }

    .ks-grid-row-border_bottom_with_padding.ks-grid-row {
        border-bottom: 2px solid #F2F2F7;
        padding-bottom: 90px;
        margin-top: 22px;
        display: block;
        width: 100%;
    }

    .ks-grid-row-padding.ks-grid-row {
        padding-left: 90px;
        padding-right: 20px;
        display: flex;
        margin-top: 70px;
        justify-content: center;
    }

    .ks-grid-row-row_with_centered_position.ks-grid-row {
        padding-left: 0;
        display: flex;
        margin-top: 100px;
        justify-content: center;
    }

    .ks-grid-row-row_with_centered_position2.ks-grid-row {
        padding-left: 0;
        display: flex;
        margin-top: 100px;
        justify-content: center;
    }

    #kspublicProductsSeederRow11 .ks-grid-row-row_with_centered_position2, #kspublicProductsSeederRow12 .ks-grid-row-row_with_centered_position2 {
        margin-top: 0;
    }

    .ks-grid-row-products-row.ks-grid-row {
        margin-top: 58px;
        display: flex;
    }

    .ks-grid-row-our_expertise_row.ks-grid-row {
        margin-top: 71px;
        display: flex;
    }

     #kspublicProductsSeederRow8 .ks-grid-row {
        margin-top: 80px;
    }

    .ks-grid-row-expertise_title_row {
        margin-top: 112px;
    }

    .ks-grid-row-explore_header_row {
        margin-top: 30px;
    }

    .ks-grid-row-content-to-center.ks-grid-row {
        display: flex;
        margin-top: 38px;
    }

    .ks-grid-row-swiss_text_row.ks-grid-row {
        margin-top: 118px;
    }

    .ks-grid-row-footer-row.ks-grid-row {
        margin-top: 60px;
        flex-direction: unset;
        align-content: space-evenly;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .ks-grid-row-team_panels_row.ks-grid-row {
        display: flex;
        margin-top: 60px;
    }

    .ks-grid-row-team_panels_row2.ks-grid-row {
        display: flex;
        margin-top: 40px;
    }

    #kspublicTeamRow131Panel1, #kspublicTeamRow131Panel2, #kspublicTeamRow131Panel3, #kspublicTeamRow131Panel4, #kspublicTeamRow141Panel1, #kspublicTeamRow141Panel2, #kspublicTeamRow141Panel3, #kspublicTeamRow141Panel4, #kspublicTeamRow142Panel1, #kspublicTeamRow142Panel2, #kspublicTeamRow142Panel3, #kspublicTeamRow142Panel4, #kspublicTeamRow143Panel1, #kspublicTeamRow143Panel2, #kspublicTeamRow143Panel3 {
        width: 25%;
    }

    #kspublicProductsSeederRow4 {
        display: block !important;
    }

    .ks-grid-row-pricing_options.ks-grid-row {
        margin-top: 58px;
        justify-content: space-evenly;
    }

    #kspublicContactGrid2Row1 {
        position: relative;
        width: 100%;
        overflow: hidden;
        max-width: 1920px;
    }

    #kspublicAcademyPostRow3 .ks-grid-row, #kspublicAnalogicFeaturesRow3 .ks-grid-row, #kspublicSeederFeaturesRow3 .ks-grid-row {
        justify-content: space-around;
        margin-top: 72px
    }

    #kspublicBlogDetailRow3 {
        margin-top: 50px;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {
    .ks-grid-row-padding.ks-grid-row {
        padding-left: 20px;
        margin-top: 0;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .ks-grid-row-padding.ks-grid-row {
        padding-left: 40px;
        margin-top: 40px;
    }
}

@media (min-width: 500px) and (max-width: 767px) {
    .ks-grid-row-footer-row.ks-grid-row {
        flex-direction: unset;
        align-content: space-evenly;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

