﻿
@media screen and (min-width: 1301px) and (max-width: 1400px) {
    .main_menu ul {
        gap: 19px !important;
        margin-top: 0px !important;
        float: left;
    }
}

@media screen and (min-width: 1401px) and (max-width: 1475px) {
    .main_menu ul {
        gap: 45px !important;
        margin-top: 2px !important;
        float: left;
    }

    .common_btn {
        min-width: 155px;
        padding: 10px 15px;
        margin-top: 20px;
    }
}


@media screen and (min-width: 1920px) and (max-width: 1920px) {
    .container {
        width: 80% !important
    }
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
    .w-38 {
        width: 38%;
        left: -75px;
    }
}

@media screen and (max-width:1400px) {
    .main_menu ul li.menu_item a {
        font-size: 17px;
    }

    .banner_tle span {
        padding-right: 14px;
    }

    body, * {
        font-size: 14px;
    }

    .container {
        max-width: 1320px;
    }

    .main_menu ul {
        gap: 6px;
        margin-top: 15px;
    }

    .common_btn {
        min-width: 155px;
        padding: 10px 15px;
        margin-top: 20px;
    }

    .banner_tle span, .banner_tle {
        font-size: 80px;
    }

    .banner_content {
        width: 58%;
    }

    #banner_section {
        padding-top: 150px;
        padding-bottom: 0;
        min-height: 670px;
    }

    .sec_tle {
        font-size: 60px;
        line-height: 90px;
    }

    .why_xtrm_box_item h3 {
        font-size: 24px;
        line-height: 36px;
    }

    .why_xtrm_box_item p {
        font-size: 15px;
    }

    .section_title_wrap p {
        font-size: 18px;
    }

    .blog_item_content h3 {
        font-size: 24px;
        line-height: 36px;
    }

    .blog_item_large .blog_item_content h3 {
        max-width: 440px;
    }

    .blog_item_large .blog_item_content {
        justify-content: space-between;
    }

    .blog_meta ul li {
        font-size: 14px;
    }

    .sec_tle * {
        font-size: 60px;
    }

    .banner_image_layers {
        left: -100px;
    }

    .image_layers {
        left: -80px;
    }

        .image_layers img {
            max-width: 80%;
        }

    img.incentives-rebates_layer_3 {
        bottom: -85%;
    }

    img.incentives-rebates_layer_5 {
        top: 82%;
    }

    img.contractorpayments_layer_1 {
        left: 50px;
    }

    img.contractorpayments_layer_2 {
        left: 10%;
    }

    img.contractorpayments_layer_3 {
        left: 31%;
    }

    img.dev_layer_3 {
        left: 40px;
        max-height: 460px;
    }

    .banner_icon_grp img {
        max-width: 150px;
    }

    .our_miss_sec ul.nav-tabs button {
        font-size: 18px !important;
    }

    .xtrm_security_section .tab-content ul.nav-tabs li.nav-item {
        width: auto !important;
    }

    .overview_btns .common_btn, #overview_btns .common_btn {
        min-width: 200px !important;
        font-size: 15px !important;
    }
}

@media screen and (max-width:1300px) {



    .header_right .header_buttons .common_btn {
        display: none;
    }

    .header_right .header_buttons span.mobile_menu_ham {
        display: block;
        cursor: pointer;
    }

        .header_right .header_buttons span.mobile_menu_ham i {
            font-size: 24px;
        }

    .header_buttons_mobile, .header_mobile_logo {
        display: block;
        margin: 20px 0px;
    }

    .main_menu ul {
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    .header_buttons_mobile {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .main_menu.menu_open {
        left: 0;
    }

    .main_menu {
        position: fixed;
        left: -100%;
        top: 0;
        background: #fff;
        height: 100%;
        width: 100%;
        z-index: 9;
        /* max-width: 500px;*/
        display: flex;
        flex-direction: column;
        align-items: left;
        padding: 0px 15px 50px 20px;
        transition: all 0.5s;
    }
    /* Newly added */
    .SiteProductsNav {
        display: flex;
        flex-direction: column;
    }

    span.submenu_arrw {
        display: inline-block;
        padding: 10px;
    }

    .main_menu ul li.menu_item {
        position: initial;
    }

    .main_menu ul.submenu {
        translate: 0;
    }

    ul.submenu, .main_menu ul li.menu_item:hover ul.submenu {
        position: absolute;
        height: 0;
        top: 0;
        left: -100%;
        opacity: 0;
        visibility: hidden;
    }

    .main_menu ul li.menu_item.parent_menu {
        text-align: left;
        border-bottom: 1px solid #ccc;
    }

    .main_menu ul li.menu_item.sub_open ul.submenu {
        height: auto;
        opacity: 1;
        visibility: visible;
    }

    .menu_cls {
        display: block;
        position: absolute;
        top: 26px;
        right: 20px;
        cursor: pointer;
        z-index: 999999;
    }

    .SiteMenu__section, .SiteMenuSection, .SiteProductsNav {
        max-width: 100%;
    }

    .mobilemenu_back {
        background: #fff;
        display: flex;
        flex-direction: row;
        padding: 15px;
        border-bottom: 1px solid #f6f9fb;
        cursor: pointer;
    }

    .main_menu ul li.menu_item.sub_open ul.submenu {
        translate: 0;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
        max-width: 100%;
        max-height: 100vh;
        overflow: auto;
        height: 100vh;
        width: 100vw;
        padding-left: 0px;
    }

    .custom-submenu .SiteProductsNav {
        background-color: #f6f9fb;
    }

    .SiteProductsNav__group {
        padding: 0px 10px !important;
    }
    
}

@media screen and (max-width:1100px) {
    .sub_tle_wrap.sec_icon_tle_h h4.sec_icon_tle {
        margin: -80px 0px 0px -30px;
    }

    .m-mb-30 {
        margin-bottom: 30px;
    }

    .paysec_mobile_image {
        display: block;
    }

    .payment_img_grp {
        display: none;
    }

    .banner_tle span, .banner_tle {
        font-size: 44px;
        line-height: 57px;
    }

    section {
        padding: 50px 0px;
    }

    .brand_logo_slide {
        flex-wrap: wrap;
    }


    #lanyard {
        background-position: right;
    }

    .menu_cls {
        display: block;
        position: absolute;
        top: 26px;
        right: 20px;
        cursor: pointer;
        z-index: 999999;
    }
}

@media screen and (max-width:991px) {
    span.SiteNavItem__bodyLabel {
        font-size: 12px !important;
    }

    .SiteNavItem__iconContainer {
        margin-right: 10px !important;
    }

    .SiteProductsNav__group {
        padding: 0px !important;
    }

    .signup-bg1, .signup-bg2 {
        width: 100%;
        max-width: 100%;
    }

    .signup {
        margin-top: 30px !important;
        flex-wrap: wrap !important;
        gap: 0px !important;
    }

    .m-pt-20 {
        padding-top: 20px;
    }

    #internal-section {
        Padding-top: 50px;
        background-size: cover;
        background-position: center;
    }

    #banner_section {
        padding-top: 100px;
        padding-bottom: 50px;
        min-height: 530px;
        background-size: cover;
        background-position: right;
    }

    .banner_content {
        width: 55%;
    }

    .banner_icon_grp img {
        max-width: 100px;
    }

    .col-lg-3.footer_left, .col-lg-9.footer_right {
        width: 100% !important;
        padding: 0 0.75rem !important;
    }
    .custom_footer_left {
        flex: 0 0 100% !important;
    }

    .footer_menu_col {
        width: 16.6% !important;
    }

        .footer_menu_col h3 {
            font-size: 16px;
            margin-top: 20px;
        }

    .copyrights p {
        text-align: center !important;
    }

    .logo_menu_col {
        width: 80% !important;
    }

    .col-lg-4.header_right {
        width: 20%;
    }

    .payment_img_grp {
        max-width: 620px;
        position: relative;
        margin: 0 auto;
    }

    .paysec_mobile_image {
        margin-top: 50px;
    }
    footer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

}

@media screen and (max-width:767px) {
    .env-watermark {
        font-size: 50px;
        letter-spacing: 6px;
    }

    .policy-box {
        height: 250px;
    }

    #signup {
        padding-top: 0px;
    }

    #internal-form-section {
        padding-top: 0px;
    }

    #select-account .card-container {
        padding: 0px !important;
    }

    .app-content {
        min-height: 50vh;
    }

    .banner_inner_height_login {
        min-height: auto !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }

    #fees a.common_btn {
        max-width: 330px !important;
    }

    #register-form .form-horizontal {
        padding: 10px;
    }

    #register-form .card-container {
        padding: 20px;
    }

    #banner_section {
        background: url('../images/banner_bg.svg') top center no-repeat, linear-gradient( to bottom right, #fafdfc 0%, /* top left */
        #f5f5fc 20%, /* top center */
        #ffffff 40%, /* top right */
        #83decf 60%, /* bottom left */
        #f6f7fc 80%, /* bottom center */
        #dde6f1 100% /* bottom right */
        );
        background-size: cover !important;
        background-repeat: no-repeat;
        background-blend-mode: normal;
    }

    .signup-bg1, .signup-bg2 {
        max-width: 80% !important;
        max-height: 330px !important;
        margin: 10px auto !important;
    }

    .banner_tle span {
        line-height: 47px !important;
        width: 100% !important;
        display: inline-block;
    }

    #index {
        background: rgba(255, 255, 255, 0.8);
        border-radius: 10px;
        padding: 10px;
        width: 90%;
        margin: 0 auto;
    }

    .header_right .header_buttons .common_btn {
        display: block !important;
    }

    #mobile-but .common_btn {
        min-width: 94px;
        padding: 5px;
        margin-top: -2px;
        z-index: 1;
        font-size: 13px;
    }

        #mobile-but .common_btn i {
            padding-left: 3px;
        }

    .header_buttons {
        gap: 10px;
    }

    .logo img {
        max-width: 87%;
    }

    .cards_row {
        margin-top: 0px;
    }

    #finance .tab-content {
        margin-top: 80px !important;
    }

    .mobile-mt-0 {
        margin: 0px !important;
    }

    #overview {
        margin-top: 0px;
    }

    section#paysection1 p {
        padding: 0px 10px;
    }

    section#xtrm_programmer {
        padding-top: 20px !important;
    }

    #about section {
        padding-top: 0px !important;
    }

    #why .section_left {
        padding-top: 30px;
    }

    #home-banner .banner_tle span, #home-banner .banner_tle {
        font-size: 44px !important;
    }

        #home-banner .banner_tle span {
            padding-right: 11px !important;
        }

    #sitemap {
        text-align: left;
    }

    #request .banner_tle, #request .banner_tle span, #request h1 {
        font-size: 34px;
    }

    #GlobalPayments, #AccountsPayables, #Incentives, #PayContractors, #XTRMAPI {
        margin-top: 60px;
    }

    .m-center {
        text-align: center;
        justify-content: center;
    }

    #product h3 {
        font-size: 30px !important;
        font-weight: 200;
    }

        #product h3 b {
            font-size: 30px !important;
        }

    .mobile-mt-40 {
        margin-top: 40px;
    }

    table thead {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table tr {
        border-bottom: 3px solid #ddd;
    }

    table td:last-child {
        border-bottom: 0;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 48px;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
    }

    table td {
        border-bottom: 1px solid #ddd;
        display: block;
        text-align: right;
    }

    .table-content, table {
        width: 100%;
    }

        .table-content h5 {
            font-size: 13px;
        }

        table td::before {
            content: attr(data-label);
            float: left;
            font-weight: 700;
            text-transform: uppercase;
            line-height: 48px;
        }

    .banner_content {
        width: 100%;
        text-align: center;
    }

    #banner_section {
        min-height: 580px;
    }

    .sec_tle, .sec_tle, .pay_box_content .sec_tle b, span.grad_text, .security_bx_content h3.sec_tle b {
        font-size: 28px !important;
        line-height: 38px !important;
        text-align: center;
    }

    .xtrm_points_list ul li {
        text-align: left;
    }

    #paysection1 ul li {
        text-align: left;
    }

    .why_xtrm_box_item {
        text-align: center;
    }

        .why_xtrm_box_item h3 {
            max-width: 100%;
        }

    .section_title_wrap p {
        font-size: 16px !important;
        text-align: center;
    }

    .sec_btn {
        text-align: center;
    }

    .section_right {
        margin-top: 15px;
    }

    .section_title_wrap .common_btn, .sec_sub_tle {
        font-size: 16px;
        min-width: 250px !important;
    }

    .brand_left h3, .brand_left h3 * {
        max-width: 100%;
        text-align: center;
        font-size: 18px;
        line-height: 28px;
        margin-bottom: 25px;
    }

    .brand_slide_items {
        text-align: center;
    }

        .brand_slide_items img {
            max-width: 100px;
        }

    #chandler .section_title_wrap {
        padding: 50px 15px;
    }

    .chandler_img {
        margin-top: -250px;
    }

    .bg_dev_sec:before {
        top: -30px;
    }

    .bg_dev_sec:after {
        bottom: -30px;
    }

    .globe_slide_item {
        height: auto;
    }

        .globe_slide_item h3 {
            font-size: 60px;
        }

        .globe_slide_item h4 {
            font-size: 18px;
        }

    .blog_item_content {
        padding: 20px;
    }

    .blog_item_large .blog_item_content {
        flex-direction: column;
    }

    .footer_logo {
        text-align: center;
    }

    .social_media ul {
        justify-content: center;
    }

    .footer_menu_col {
        width: 50% !important;
    }


    .banner_earth {
        background-size: 380px;
    }

    .banner_image_layers {
        left: 0;
    }

    img.banner_earth_mobile_line {
        display: block;
        position: absolute;
        bottom: -50px;
        left: 20px;
    }

    .banner_earth_line {
        display: none;
    }

    #banner_section {
        overflow: hidden;
    }

    .banner_icon_grp {
        width: 100%;
    }

        .banner_icon_grp img.banner_icon_grp_2 {
            bottom: 130px;
        }

        .banner_icon_grp img.banner_icon_grp_3 {
            bottom: 210px;
        }

        .banner_icon_grp img {
            max-width: 100px;
        }

    .mobile_carousel .owl-next {
        background: url('../images/right_arrw.png');
        width: 140px;
        height: 150px;
        font-size: 0;
        background-repeat: no-repeat;
    }

    .mobile_carousel .owl-prev {
        background: url('../images/left_arrw.svg');
        width: 140px;
        height: 150px;
        font-size: 0;
        background-repeat: no-repeat;
        background-position: center;
    }

    .mobile_carousel .owl-nav {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin-bottom: -82px;
    }

    .section_title_wrap {
        text-align: center;
    }

    .sub_tle_wrap_bg {
        margin: 0 auto -40px;
        width: 190px;
        height: 51px;
    }

    .see_also ul li {
        width: 100%;
    }

    .see_also ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .image_layers img {
        max-height: 320px;
    }

    .payment_img_grp {
        min-height: 330px;
    }

    img.manage-payments-layer_1 {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        margin: 0 auto;
    }

    .image_layers {
        left: 0;
    }

    .see_also {
        text-align: center;
    }

    img.manage-payments-layer_2 {
        max-width: 130px;
    }

    img.manage-payments-layer_3 {
        max-width: 100px;
        top: 70%;
    }

    img.manage-payments-layer_4 {
        max-width: 100px;
        right: 0;
    }

    img.manage-payments-layer_5 {
        top: 50%;
        left: 12%;
    }

    img.manage-payments-layer_6 {
        top: 30%;
        right: 40px;
    }

    img.invoice-payment_layer_2 {
        left: 30px;
        top: 22%;
        max-width: 230px;
    }

    img.invoice-payment_layer_3 {
        left: 50px;
        top: 42%;
        max-width: 230px;
    }

    img.invoice-payment_layer_4 {
        left: 70px;
        top: 62%;
        max-width: 230px;
    }

    img.invoice-payment_layer_5 {
        left: 50px;
        top: 82%;
        max-width: 230px;
    }

    img.invoice-payment_layer_6 {
        max-width: 100px;
        right: 0;
    }

    img.manage-payments-layer_7 {
        right: 0;
        max-width: 100px;
        top: auto;
        bottom: 30px;
    }

    img.manage-payments-layer_8 {
        max-height: 120px;
    }

    img.manage-payments-layer_9 {
        max-height: 120px;
        bottom: 20px;
    }

    img.incentives-rebates_layer_1 {
        position: absolute;
        left: auto;
        right: 0;
        max-width: 230px;
    }

    img.incentives-rebates_layer_2 {
        max-width: 110px;
        top: 6%;
    }

    img.incentives-rebates_layer_3 {
        max-width: 100px;
        bottom: 12%;
    }

    img.incentives-rebates_layer_4 {
        top: 20%;
    }

    img.incentives-rebates_layer_5 {
        top: 32%;
    }

    img.contractorpayments_layer_1 {
        left: 0;
        max-width: 260px;
        z-index: 9;
    }

    img.contractorpayments_layer_2 {
        left: 0;
        top: 50px;
        max-width: 260px;
        z-index: 9;
    }

    img.contractorpayments_layer_3 {
        max-width: 250px;
        top: 0;
        left: 80px;
    }

    img.contractorpayments_layer_5 {
        max-width: 120px;
        right: -20px;
    }

    img.contractorpayments_layer_6 {
        max-width: 120px;
        right: -20px;
    }

    img.contractorpayments_layer_7 {
        max-width: 120px;
        right: -20px;
    }

    img.contractorpayments_layer_4 {
        right: 40px;
    }

    #paysection4 .payment_img_grp {
        margin-top: 50px;
    }

    img.api-payments_layer_1 {
        position: relative;
        left: 20px;
        margin: 0 auto;
        max-width: 200px;
    }

    img.api-payments_layer_2 {
        bottom: 170px;
        left: 21%;
        max-width: 250px;
    }

    img.api-payments_layer_3 {
        max-width: 110px;
        left: -10px;
        top: 23%;
    }

    img.api-payments_layer_4 {
        max-width: 110px;
        right: -30px;
    }

    img.api-payments_layer_5 {
        left: 10%;
        max-width: 170px;
    }

    #paysection5 .payment_img_grp {
        margin-top: 50px;
    }

    img.api-payments_layer_6 {
        max-width: 170px;
        top: auto;
        right: 20px;
        bottom: 30%;
    }

    section#paysection5 {
        padding-bottom: 0;
    }

    section#dev_sec .payment_img_grp {
        margin-top: 120px;
    }

    img.dev_layer_1 {
        left: 0;
        max-width: 150px;
    }

    img.dev_layer_2 {
        max-width: 40px;
        right: 0;
    }

    img.dev_layer_3 {
        left: 0;
    }

    .globe_slide_item .globe_item_desc {
        max-width: 100%;
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .earth_slide .owl-next, .earth_slide .owl-prev {
        width: 24px;
        height: 24px;
        background-size: contain !important;
    }

    section#blog_grid {
        padding-bottom: 100px;
    }

    .row.blog_mobile_carousel {
        margin: 0 -3px;
    }

    span.meta_thum_logo img {
        display: inline-block !important;
    }
    footer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}
