/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {

    .stripe_divider {
        height: 20px;
    }

    .nl_header {
        padding: 15px 0;
        gap: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .nl_logo {
        max-width: 220px;
        margin-right: 0;
    }

    .nl_primary_menu ul {
        gap: 15px;
    }

    .nl_primary_menu ul li a {
        padding-left: 22px;
        font-size: 14px;
    }

    .nl_header_bottom {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 10px 1fr;
        grid-template-columns: 1fr 1fr;
        -ms-grid-rows: auto 10px auto 10px auto;
        grid-template-areas:
            "search search"
            "menu menu"
            "meta buttons";
        gap: 10px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        justify-items: center;
        /* center horizontally */
        text-align: center;
    }

    .nl_header_search {
        grid-area: search;
        width: 100%;
        display: inline-block;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .nl_secondary_menu {
        grid-area: menu;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .nl_header_meta {
        grid-area: meta;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
        margin-right: 20px;
    }

    .nl_header_meta ul {
        font-size: inherit;
    }

    .nl_header_buttons {
        grid-area: buttons;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
    }

    .nl_header_buttons a {
        font-size: 70%;
    }

    .nl_banner_area {
        position: relative;
    }

    .banner_content {
        width: auto;
        font-size: 25px;
        padding-bottom: 0;
        position: relative;
        z-index: 9;
    }

    .banner_content h1 {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .banner_image {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: .2;
        left: 0;
        background-position: right;
    }

    .nl_single_banner {
        padding: 0 70px;
    }

    .grid-sizer,
    .grid-item {
        width: 32%;
        margin-bottom: 10px;
    }

    .gutter-sizer {
        width: 2%;
    }

    ˝ .nl_portfolio_area {
        padding-bottom: 0;
    }

    .nl_single_service_item {
        -webkit-box-flex: 45%;
        -ms-flex: 45%;
        flex: 45%;
    }

    .section_padding_top {
        padding-top: 50px;
    }

    .section_title h1 {
        font-size: 35px;
    }

    .section_title.title_large h1 {
        font-size: 60px;
    }

    .section_title h4 br {
        display: none;
    }

    .element_call_to_action br {
        display: none;
    }

    .element_call_to_action .w-75 {
        width: 100% !important;
    }

    .section_title h4 {
        font-size: 19px;
        width: 88%;
        margin: auto;
    }

    .nl_gap_80 {
        margin-top: 50px;
    }


    .nl_single_resource_item {
        margin-bottom: 30px;
    }

    .nl_resource_image {
        padding: 120px;
        background-size: cover;
        margin-bottom: 15px;
    }

    .nl_resource_content a {
        font-size: 14px;
    }

    .nl_resource_content h2 {
        font-size: 15px;
    }

    .nl_resource {
        gap: 15px;
        padding-top: 25px;
    }

    .nl_newsletter_form {
        width: 95%;
    }

    .nl_newsletter_form form {
        gap: 12px;
        font-size: 14px;
    }

    .nl_newsletter_area h5 {
        font-size: 16px;
        width: 75%;
        margin: auto;
    }

    .nl_newsletter_area h1 {
        font-size: 30px;
    }

    .single_footer_widget {
        -webkit-box-flex: 45%;
        -ms-flex: 45%;
        flex: 45%;
    }

    .nl_footer {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .single_footer_widget ul li {
        padding: 3px 0;
    }

    .single_footer_widget ul li a {
        font-size: 13px;
    }

    .section_padding {
        padding: 70px 0;
    }

    .section_padding_bottom {
        padding-bottom: 70px;
    }

    .section_title {
        width: 90%;
        margin: auto;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .fancybox__carousel {
        width: 95%;
    }

}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .stripe_divider {
        height: 20px;
    }

    .nl_header {
        padding: 15px 0;
        gap: 10px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .nl_logo {
        max-width: 220px;
        margin-right: 0;
    }

    .nl_header_search input {
        width: 100%;
        max-width: 120px;
        padding: 1px 7px;
        font-size: 12px;
    }

    .nl_primary_menu ul {
        gap: 15px;
    }

    .nl_primary_menu ul li a {
        padding-left: 22px;
        font-size: 14px;
    }

    .nl_header_bottom {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 27% 10px auto;
        grid-template-columns: 27% auto;
        -ms-grid-rows: auto 10px auto;
        grid-template-areas: "search menu " "meta   buttons";
        gap: 10px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .nl_header_search {
        grid-area: search;
        width: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        /* flex-direction: column; */
        gap: 10px;
    }

    .nl_secondary_menu {
        grid-area: menu;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .nl_header_meta {
        grid-area: meta;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
        margin-left: 12px;
    }

    .nl_header_meta ul {
        font-size: inherit;
    }

    .nl_header_buttons {
        grid-area: buttons;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: auto;
    }

    .nl_header_buttons a {
        font-size: 70%;
    }

    .nl_banner_area {
        position: relative;
    }

    .banner_content {
        width: auto;
        font-size: 25px;
        padding-bottom: 0;
        position: relative;
        z-index: 9;
    }

    .banner_content h1 {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .banner_image {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: .2;
        left: 0;
        background-position: right;
    }

    .nl_single_banner {
        padding: 0 70px;
    }

    .grid-sizer,
    .grid-item {
        width: 32%;
        margin-bottom: 10px;
    }

    .gutter-sizer {
        width: 2%;
    }

    .nl_portfolio_area {
        padding-bottom: 0;
    }

    .nl_single_service_item {
        -webkit-box-flex: 45%;
        -ms-flex: 45%;
        flex: 45%;
    }

    .section_title h1 {
        font-size: 45px;
    }

    .section_title.title_large h1 {
        font-size: 75px;
    }

    .section_title h4 {
        font-size: 20px;
        width: auto;
        margin: auto;
    }

    .nl_single_resource_item {
        margin-bottom: 30px;
    }

    .nl_resource_image {
        padding: 120px;
        background-size: cover;
        margin-bottom: 15px;
    }

    .nl_resource_content a {
        font-size: 14px;
    }

    .nl_resource_content h2 {
        font-size: 15px;
    }

    .nl_resource {
        gap: 15px;
        padding-top: 25px;
    }

    .nl_newsletter_form {
        width: 95%;
    }

    .nl_newsletter_form form {
        gap: 12px;
        font-size: 14px;
    }

    .nl_newsletter_area h5 {
        font-size: 17px;
        width: auto;
        margin: auto;
    }

    .nl_newsletter_area h1 {
        font-size: 40px;
    }

    .single_footer_widget {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }

    .nl_footer {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .single_footer_widget ul li {
        padding: 3px 0;
    }

    .single_footer_widget ul li a {
        font-size: 13px;
    }

    .section_padding {
        padding: 70px 0;
    }

    .section_padding_bottom {
        padding-bottom: 70px;
    }

    .section_title {
        width: 90%;
        margin: auto;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_secondary_menu {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
        -ms-grid-column-span: 3;
    }

    .nl_header_meta {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 5;
        -ms-grid-column: 3;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {

    .nl_header_search {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
        -ms-grid-column-span: 1;
    }

    .nl_secondary_menu {
        -ms-grid-row: 1;
        -ms-grid-column: 3;
        -ms-grid-column-span: 1;
    }

    .nl_header_meta {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .nl_header_buttons {
        -ms-grid-row: 3;
        -ms-grid-column: 3;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .stripe_divider {
        height: 30px;
    }

    .nl_logo {
        margin-right: 20px;
    }

    .nl_header {
        padding: 12px 0;
    }

    .nl_primary_menu ul li a {
        font-size: 14px;
        padding-left: 25px;
    }

    .nl_header_bottom {
        gap: 15px;
    }

    .nl_header_search input {
        max-width: 100px;
        font-size: 11px;
    }

    .nl_header_bottom a {
        font-size: 75%;
    }

    .nl_secondary_menu ul {
        gap: 12px;
    }

    .nl_header_buttons {
        gap: 15px;
    }

    .nl-btn {
        padding: 8px 15px;
    }

    .nl_header_buttons a {
        font-size: 80%;
    }

    .nl_single_banner {
        padding: 0 80px;
    }

    .banner_content {
        width: 60%;
        font-size: 25px;
        padding-bottom: 0;
    }

    .banner_content .btn-group {
        margin-top: 20px;
    }

    .banner_content .nl-btn {
        font-size: 15px;
    }

    .nl_portfolios {
        padding-top: 25px;
    }

    .section_title h1 {
        font-size: 45px;
    }

    .section_title h4 {
        font-size: 22px;
    }

    .section_padding {
        padding: 80px 0;
    }

    .nl_service_content h3 {
        font-size: 18px;
    }

    .nl_resource_content h2 {
        font-size: 16px;
    }

    .single_footer_widget h3 {
        font-size: 18px;
    }

    .single_footer_widget ul li {
        padding: 3px 0;
    }

    .single_footer_widget ul li a {
        font-size: 13px;
    }



}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .stripe_divider {
        height: 15px;
    }

    .nl_social_media {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .mobile_menu_btn {
        display: block;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 700;
        border: 1px solid;
        padding: 2px 10px;
    }

    .nl_header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 14px;
    }

    .nl_primary_menu {
        display: none;
    }

    .nl_logo {
        max-width: 250px;
        margin-right: 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 40px;
    }

    .nl_header_bottom {
        display: none;
    }

    .nl_breadcrumb {
        padding: 15px 0;
        padding-left: 0;
    }

    .section_padding {
        padding: 50px 0;
    }

    .nl_single_banner {
        padding: 0;
        position: relative;
    }

    .banner_content {
        width: auto;
        font-size: 15px;
        padding-bottom: 0px;
        position: relative;
        padding-top: 315px;
    }

    .nl_banner_area {
        padding-top: 0;
    }

    .banner_content h1 {
        font-size: 31px;
        margin-bottom: 15px;
    }

    .banner_image {
        position: absolute;
        left: 50%;
        top: 0;
        width: 350px;
        height: 300px;
        z-index: 1;
        background-size: contain;
        background-position: center;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .banner_content .btn-group {
        margin-top: 34px;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .banner_content .nl-btn {
        font-size: 12px;
    }

    .section_title {
        padding: 0px 15px;
    }

    .section_title h4 br {
        display: none;
    }

    .section_title h1 {
        font-size: 30px;
    }

    .section_title.title_large h1 {
        font-size: 32px;
    }

    .section_title h4 {
        font-size: 16px;
    }

    .nl_service_content h3 {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .nl_service_content {
        font-size: 15px;
    }

    .nl_service_content a {
        margin: 0;
    }

    .nl_resource_content h2 {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .nl_resource_content a {
        font-size: 15px;
    }

    .nl_newsletter_form form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .nl_footer {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .nl_portfolio_area {
        padding-bottom: 0;
    }

    .nl_portfolios {
        padding: 25px 0;
    }

    .nl_services {
        gap: 25px;
        padding: 30px 0;
    }

    .nl-btn {
        font-size: 14px;
        padding: 5px 10px;
    }

    .nl_resource_image {
        padding: 135px;
        background-size: cover;
        margin-bottom: 15px;
    }

    .nl_resource {
        gap: 40px;
        padding-top: 25px;
    }

    .nl_resources_area {
        padding-bottom: 50px;
    }

    .nl_newsletter_form form input {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        width: 100%;
    }

    .nl_newsletter_form form input[type="submit"] {
        -webkit-box-flex: 1;
        -ms-flex: auto;
        flex: auto;
        width: 100%;
    }

    .nl_newsletter_area h1 {
        font-size: 25px;
    }

    .nl_newsletter_area h5 {
        padding: 0px 15px;
        font-size: 13px;
    }

    .single_footer_widget ul li {
        padding: 2px 0;
    }

    .single_footer_widget ul li a {
        font-size: 14px;
    }

    .offcanvas-body ul li a {
        color: var(--body-color);
        display: block;
        padding: 4px 0;
    }

    .offcanvas-body ul li a:hover {
        color: var(--primary-color);
    }

    .sidebar_primary_menu,
    .sidebar_secondary_menu {
        margin-bottom: 20px;
        border-bottom: 2px solid var(--secondary-color);
        padding-bottom: 20px;
    }

    .sidebar_header_buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 20px;
    }

    .grid-sizer,
    .grid-item {
        width: 45%;
        margin-bottom: 15px;
    }

    .gutter-sizer {
        width: 3%;
    }

    .fancybox__carousel {
        width: 90%;
    }

    .element_call_to_action br {
        display: none;
    }

    .element_call_to_action .w-75 {
        width: 100% !important;
    }



    .element_call_to_action .button-group a {
        font-size: 14px;
        padding: 3px 8px;
        border: 1px solid;
        margin: 4px;
        width: 45%;
        word-break: break-word;
    }

    .portfolio_details h5 a {
        font-size: 17px;
    }

    .portfolio_details p {
        font-size: 12px;
    }

    .page_nl_portfolio_area.section_padding_top {
        padding-top: 20px;
    }

    .element_call_to_action h2 {
        font-size: 1.2rem;
    }

    .element_call_to_action {
        font-size: .9rem;
    }

    .nl_industry {
        grid-template-columns: repeat(1, auto);
        gap: 40px;
        padding: 40px 20px !important;
    }
}

/* Small devices (phones, 576px and up) */
@media screen and (max-width:767px) {
    .stripe_divider {
        height: 20px;
    }

    .nl_header {
        padding: 15px 0;
        gap: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .nl_logo {
        max-width: 220px;
        margin-right: 0;
    }

    .nl_primary_menu ul {
        gap: 15px;
    }

    .nl_primary_menu ul li a {
        padding-left: 22px;
        font-size: 14px;
    }

    .nl_header_bottom {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 10px 1fr;
        grid-template-columns: 1fr 1fr;
        -ms-grid-rows: auto 10px auto 10px auto;
        grid-template-areas:
            "search search"
            "menu menu"
            "meta buttons";
        gap: 10px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        justify-items: center;
        /* center horizontally */
        text-align: center;
    }

    .nl_header_search {
        grid-area: search;
        width: 100%;
        display: inline-block;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .nl_secondary_menu {
        grid-area: menu;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .nl_header_meta {
        grid-area: meta;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
        margin-right: 20px;
    }

    .nl_header_meta ul {
        font-size: inherit;
    }

    .nl_header_buttons {
        grid-area: buttons;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        width: 100%;
    }

    .nl_header_buttons a {
        font-size: 70%;
    }

    .nl_banner_area {
        position: relative;
    }

    .banner_content {
        width: auto;
        font-size: 25px;
        padding-bottom: 0;
        position: relative;
        z-index: 9;
    }

    .banner_content h1 {
        font-size: 55px;
        margin-bottom: 20px;
    }

    .banner_image {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: .2;
        left: 0;
        background-position: right;
    }

    .nl_single_banner {
        padding: 0 70px;
    }

    .grid-sizer,
    .grid-item {
        width: 32%;
        margin-bottom: 10px;
    }

    .nl_portfolio_area {
        padding-bottom: 0;
    }

    .nl_single_service_item {
        -webkit-box-flex: 45%;
        -ms-flex: 45%;
        flex: 45%;
    }

    .section_title h1 {
        font-size: 35px;
    }

    .section_title h4 {
        font-size: 19px;
        width: 75%;
        margin: auto;
    }

    .nl_single_resource_item {
        margin-bottom: 30px;
    }

    .nl_resource_image {
        padding: 120px;
        background-size: cover;
        margin-bottom: 15px;
    }

    .nl_resource_content a {
        font-size: 14px;
    }

    .nl_resource_content h2 {
        font-size: 15px;
    }

    .nl_resource {
        gap: 15px;
        padding-top: 25px;
    }

    .nl_newsletter_form {
        width: 95%;
    }

    .nl_newsletter_form form {
        gap: 12px;
        font-size: 14px;
    }

    .nl_newsletter_area h5 {
        font-size: 16px;
        width: 75%;
        margin: auto;
    }

    .nl_newsletter_area h1 {
        font-size: 30px;
    }

    .single_footer_widget {
        -webkit-box-flex: 45%;
        -ms-flex: 45%;
        flex: 45%;
    }

    .nl_footer {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .single_footer_widget ul li {
        padding: 3px 0;
    }

    .single_footer_widget ul li a {
        font-size: 13px;
    }

    .section_padding {
        padding: 70px 0;
    }

    .section_padding_bottom {
        padding-bottom: 70px;
    }

    .section_title {
        width: 90%;
        margin: auto;
    }

    .nl-portfolios {
        grid-column-gap: .75rem;
        grid-row-gap: .75rem;
        column-count: 2;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        grid-auto-columns: 1fr;
    }

    .nl_secondary_menu {
        display: none;
    }
}

/* Mobile */
@media screen and (max-width: 479px) {
    .nl-portfolios {
        grid-column-gap: .75rem;
        grid-row-gap: .75rem;
        column-count: 2;
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
        grid-auto-columns: 1fr;
    }
}
