/*
Theme Name: NEXWEB
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold !important;
}

.off-canvas .sidebar-menu {
    padding: 0 10px;
}

.rightblogs .box-text.text-left {
    padding-top: 0;
}

a.icon.button.circle.is-outline.tooltip {
    margin: 0;
    margin-right: 9px;
    color: #444444;
}

.button.is-outline,
input[type=button].is-outline,
input[type=reset].is-outline,
input[type=submit].is-outline {
    background-color: transparent;
    border: 1px solid;
}

.rightblogs .box.box-vertical.box-text-bottom.box-blog-post {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

h1.entry-title.mb {
    margin-bottom: 30px;
    font-size: 30px;
    text-transform: none !important;
}

#contactform {
    border-radius: 10px;
    padding: 30px !important;
}

form.nex-contact-form {
    margin: 0;
    display: flex;
    flex-direction: column;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    border-radius: 7px !important;
}

.wrapbtn {
    display: flex;
    justify-content: center;
    margin-top: 17px;
}

button.nexcf-btn {
    margin: 0;
    display: flex;
    border-radius: 99px;
    border: 1px solid #0275c1;
    height: 52px;
    align-items: center;
    justify-content: center;
    width: 180px;
    background: #0275c1;
    color: #fff;
}

.nexcf-msg {
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

a.button.open-video.icon.circle.is-outline.is-xlarge {
    color: #ffffff;
    margin: 0;
}

.hometab li a {
    padding: 0px 20px;
}

.imgbd10,
.imgbd10 img {
    border-radius: 10px;
}

.nav-vertical+.tab-panels,
.nav-vertical>li+li {
    border: unset;
}

.nav.nav-vertical li {
    margin-top: 5px;
    border: 1px solid #eee;
    border-radius: 99px;
    background: #ffffff;
}

.nav.nav-vertical li :hover {
    background-color: #0275c1;
    color: #fff;
}

.hometab img {
    border-radius: 10px;
}

.box-blog-post img {
    border-radius: 10px;
}

.footerst ul li {
    list-style-type: none;
    margin: 0;
    margin-bottom: 10px;
}

.icon-box-img img,
.icon-box-img svg {
    padding: 0;
}

.leftstabout .col-inner {
    padding-right: 40px !important;
    padding-left: calc((100vw - 1140px) / 2) !important;
}

.nex-btn--fill {
    background: var(--nex-blue);
    color: #fff !important;
    border: 2px solid var(--nex-blue);
}

.leftstabout {
    background: url(assets/images/aboutbg.png) center center / cover no-repeat;
    display: flex;
    align-content: center;
    align-items: center;
}

.nex-btn--outline {
    background: transparent;
    color: var(--nex-blue) !important;
    border: 2px solid var(--nex-blue);
}

.nex-btn {
    margin-right: 15px;
    --nex-blue: #1873a0;
    --nex-blue-dark: #0f5e86;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    transition: all .2s ease;
    white-space: nowrap;
}

/* ===================== Squad ===================== */
.squad-wrapper {
    width: 1140px;
    margin: 0 auto;
    position: relative;
}

.squad-wrapper .topinner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.squad-wrapper .squad-body {
    display: flex;
    gap: 32px;
    margin-top: 35px;
    align-items: flex-start;
}

.squad-wrapper .squad-first {
    flex: 0 0 280px;
}

.squad-wrapper .squad-list {
    flex: 1 1 auto;
    min-width: 0;
}

.squad-wrapper .scroller-outer {
    margin-right: calc((100vw - 1140px)/ -2);
}

.squad-wrapper .scroller {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.squad-wrapper .scroller:active {
    cursor: grabbing;
}

.squad-wrapper .scroller::-webkit-scrollbar {
    display: none;
}

.squad-wrapper .item {
    flex: 0 0 auto;
    width: 280px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.squad-wrapper .thumb {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    border-radius: 10px !important;
}

.squad-wrapper .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.squad-wrapper .meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.mem_contact {
    position: absolute;
    bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 5px;
    border-radius: 99px;
    background: #0275c1;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.squad-wrapper .thumb:hover .mem_contact {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mem_contact i {
    font-size: 1.2em;
}

.mem_contact a {
    width: 30px;
    height: 30px;
    color: #fff;
    border-radius: 99px;
    text-align: center;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mem_contact a:hover {
    width: 30px;
    height: 30px;
    background: #5674ff;
    line-height: 30px;
}

.squad-wrapper .name {
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 24px;
    color: #0275c1;
}

.squad-wrapper .sub {
    font-size: 16px;
    color: #61656C;
    line-height: 1.2;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 10px;
    margin-bottom: 10px;
}

.squad-wrapper .button-scroll {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 999px;
    background: #0275c1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.25s;
}
.lightx h2 {
    color: #fff;
}
.squad-wrapper .button-scroll:hover {
    background: #00652a;
}
.hidetitle .service-box-head {
    display: none !important;
}
.squad-wrapper .button-scroll:active {
    transform: scale(0.95);
}

.wrap-item {
    background: #0275c1;
    color: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.inner-w {
    display: flex;
    flex-direction: column;
}

span.inner-sp1 {
    font-size: 30px;
    font-weight: bold;
}

span.inner-sp2 {
    font-size: 16px;
    font-weight: bold;
}

.content-it p {
    margin: 0;
}

.content-it {
    font-size: 14px;
    font-style: italic;
    border-top: 1px solid #eee;
    padding: 12px 0;
}

.tclear {
    width: 100%;
    height: 1px;
    background: #fff;
    margin-top: 33px;
    margin-bottom: 33px;
}

.eyebrow {
    width: 100%;
    margin-bottom: 20px;
    height: 44px;
    display: flex;
    line-height: 42px;
}

.topinner h2 {
    font-size: 35px;
    color: #22262F;
}

span.eyebrow_sp {
    padding: 0 25px;
    border: 1px solid #0275c1;
    border-radius: 99px;
    font-size: 16px;
    color: #0275c1;
    line-height: 42px;
}

.nex-social-grid {
    max-width: 270px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.nex-social-card {
    width: 125px;
    height: 125px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
    transition: .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #E5E5E5;
    text-decoration: none;
    color: inherit;
}

.nex-social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
}

.nex-social-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
}

.nex-social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nex-social-text {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    line-height: 1.2;
}

.font35,
.font35 h1,
.font35 h2,
.font35 h3,
.font35 h4,
.font35 h5,
.font35 h6,
.font35 span,
.font35 p {
    font-size: 35px !important;
}

@media (max-width: 849px) {
    .squad-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .leftstabout .col-inner {
        padding: 15px !important;
        padding-bottom: 40px !important;
    }

    .squad-wrapper .squad-body {
        flex-direction: column;
    }

    .squad-wrapper .squad-list {
        width: 100%;
        min-width: 0;
    }

    .squad-wrapper .scroller-outer {
        margin-right: 0 !important;
    }

    .squad-wrapper .scroller {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }

    .squad-wrapper .scroller {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scroll-behavior: smooth;
    }

    .squad-wrapper .item {
        scroll-snap-align: start;
    }
}

.squad-wrapper .thumb img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}


@media (max-width: 768px) {
    .leftbghome1 {
        min-height: 320px;
    }

    .col.leftbghome1.medium-5.small-11.large-5 {
        padding-left: 40px !important;
    }

    .squad-wrapper {
        width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .squad-wrapper .scroller-outer {
        margin-right: 0;
    }

    .squad-wrapper .squad-body {
        flex-direction: column;
        gap: 16px;
    }

    .squad-wrapper .squad-first {
        flex: 0 0 auto;
        width: 100%;
    }

    .squad-wrapper .item {
        width: 280px;
    }

    .squad-wrapper .squad-first .item {
        width: 100% !important;
    }

    .tclear {
        display: none;
    }

    span.inner-sp1 {
        font-size: 28px;
    }

    .topinner h2 {
        font-size: 35px;
        color: #22262F;
        font-weight: 700;
    }

    .wrap-item {
        color: #fff;
        border-radius: 12px;
        display: grid;
        flex-direction: column;
        padding: 15px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .squad-wrapper .squad-body {
        gap: 32px;
    }

    .squad-wrapper .scroller {
        touch-action: pan-x;
    }

    .font35,
    .font35 h1,
    .font35 h2,
    .font35 h3,
    .font35 h4,
    .font35 h5,
    .font35 h6,
    .font35 span,
    .font35 p {
        font-size: 26px !important;
    }

    .leftblogs a.plain {
        margin-top: 10px;
    }

    .rightblogs .box.box-vertical.box-text-bottom.box-blog-post {
        display: flex;
        gap: 20px;
        align-items: flex-start;
    }

    .rightblogs .box-text {
        padding-bottom: 0;
        padding-top: 0;
    }

}