/*
    Theme Name: Better Dev Ex Custom Theme
    Theme URI: https://netguava.com
    Version: 1.0
    Description: Custom Theme for Better Dev Ex
    Author: netguava
    Author URI: https://netguava.com
    template: bb-theme
*/

/* ================================================================================================
 * General
 * ============================================================================================= */

a {
    transition: color 300ms ease-in-out;
}

a.fl-button {
    font-weight: bold;
    padding: 18px 32px !important;
    transition: background-color 300ms ease-in-out;
}

.heading-accent {
    color: #b4bfff;
    font-weight: bold;
}

.subheading {
    color: #a79f9f;
    font-size: 24px;
    line-height: 1.25;
}

.fl-button-icon {
    position: relative;
    top: 3px;
}

/* ================================================================================================
 * Header
 * ============================================================================================= */

.fl-page-nav-right .fl-page-header-wrap {
    border: 0;
}

.nav-button a {
    color: #ffffff !important;
    background-color: #491eff;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    text-transform: none;
    border-style: none;
    border-width: 0px;
    border-color: initial;
    border-radius: 30px;
    padding: 18px 40px !important;
    transition: background-color 300ms ease-in-out;
}

.nav-button a:hover, .nav-button a:focus {
    background-color: #181b34 !important;
}

.fl-logo-img {
    max-width: 240px;
}

.fl-page-header-primary .fl-page-header-container {
    padding-top: 40px;
}

@media (max-width: 992px) {
    .fl-page-header-logo-col {
        width: 210px;
        display: inline-block !important;
    }

    .fl-page-nav-col {
        width: calc(100% - 220px);
        text-align: right;
        padding-right: 40px;
        display: inline-block !important;
    }
    
    .fl-page-nav-wrap {
        background: transparent;
        border: 0;
    }

    .fl-page-nav-right .fl-page-header-row {
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) and (min-width: 767px) {
    .navbar-toggler {
        display: none;
    }
}

@media (max-width: 768px) {
    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse {
        border: 0;
    }
    
    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse ul.navbar-nav>li {
        border: 0;
    }

    .navbar-toggler {
        display: none !important;
    }

    .fl-page-nav-col {
        padding-right: 0;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse.collapse {
        display: block !important;
        visibility: visible !important;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-header-logo-col {
        width: 250px;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-nav-col {
        width: calc(100% - 260px);
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-nav-collapse ul.navbar-nav>li {
        display: inline-block;
    }

    .fl-page-header-primary .fl-page-header-container {
        padding-top: 20px;
    }
    
    .nav-button a {
        text-align: center !important;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
    }
}

@media (max-width: 540px) {
    .fl-page-nav-right .fl-page-header-row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    
    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-header-logo-col {
        width: 200px;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-nav-col {
        width: calc(100% - 210px);
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-header-logo {
        margin-right: 0;
    }

    .fl-page-header-primary .fl-logo-img {
        width: 100%;
        height: auto !important;
    }

    .nav-button a {
        padding: 10px 14px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 400px) {
    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-header-logo-col {
        width: 100%;
    }

    .fl-page-header-logo {
        text-align: center !important;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile.fl-page-nav-right .fl-page-nav-col {
        width: 100%;
        text-align: center;
    }

    .fl-page-nav-toggle-icon.fl-page-nav-toggle-visible-mobile .fl-page-header-logo {
        padding-bottom: 20px !important;
    }
}

/* ================================================================================================
 * Footer
 * ============================================================================================= */

.fl-page-footer-widgets {
    background-image: url('/wp-content/themes/betterdevex/images/footer-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 100%;
    padding-top: 145px;
}

.footer-list {
    display: flex;
}

.footer-list li {
    margin-right: 20px;
}

@media (max-width: 991px) {
    .fl-page-footer-widgets {
        text-align: center;
    }

    .footer-list {
        justify-content: center;
        font-size: 16px;
    }

    .footer-list li, .footer-list a {
        color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    .footer-list {
        flex-direction: column;
    }
}

/* ================================================================================================
 * Hero
 * ============================================================================================= */

body.home .fl-page-header-primary {
    position: absolute;
    z-index: 1;
    background: transparent;
    width: 100%;
    z-index: 10;
}

body:not(.fl-builder-edit) .row-hero {
    position: relative;
    border-bottom: 4px solid #080910;
}

body:not(.fl-builder-edit) .hero-bottom {
    position: absolute;
    bottom: 50px;
}

.row-hero .fl-row-content-wrap {
    min-height: calc(100vh - 33px);
    padding: 160px 0;
}

body:not(.fl-builder-edit) .row-hero {
    overflow: hidden;
}

.hero-content-column {
    z-index: 1;
}

.hero-element {
    position: absolute;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.hero-woman, .hero-man, .hero-message, .hero-shield, .hero-stack {
    border-radius: 100%;
}

.hero-message {
    border: 2px solid #7c72f6;
}

.hero-editor {
    width: 55vw;
    height: 42.7vw;
    top: calc(50% - 20vw);
    right: -10vw;
}

.hero-woman {
    width: 8.5vw;
    height: 8.5vw;
    right: 10vw;
    top: calc(50% - 19.6vw);
}

.hero-man {
    width: 5.4vw;
    height: 5.4vw;
    right: 37.5vw;
    top: calc(50% - 1vw);
}

.hero-message {
    width: 5.4vw;
    height: 5.4vw;
    right: 44vw;
    top: calc(50% - 22.7vw);
}

.hero-shield {
    width: 7.1vw;
    height: 7.1vw;
    right: 58vw;
    top: calc(50% + 13vw);
}

.hero-stack {
    width: 7.1vw;
    height: 7.1vw;
    right: 12vw;
    top: calc(50% + 21vw);
}

.hero-documents {
    width: 10vw;
    height: 12.8vw;
    right: 31.5vw;
    top: calc(50% + 10vw);
}

@media (min-width: 1441px) {
    .hero-editor {
        width: 792px;
        height: 615px;
        right: -145px;
        top: calc(50% - 288.5px);
    }
    
    .hero-woman {
        width: 122px;
        height: 122px;
        right: 144px;
        top: calc(50% - 282.5px);
    }
    
    .hero-man {
        width: 78px;
        height: 78px;
        right: 540px;
        top: calc(50% - 14px);
    }
    
    .hero-message {
        width: 78px;
        height: 78px;
        right: 634px;
        top: calc(50% - 327px);
    }
    
    .hero-shield {
        width: 102px;
        height: 102px;
        right: 835px;
        top: calc(50% + 188px);
    }
    
    .hero-stack {
        width: 102px;
        height: 102px;
        right: 172px;
        top: calc(50% + 303px);
    }
    
    .hero-documents {
        width: 144px;
        height: 184px;
        right: 453px;
        top: calc(50% + 144px);
    }
}

@media (max-width: 768px) {
    .row-hero .fl-row-content-wrap {
        padding: 120px 0 10px 0;
    }

    .row-hero {
        text-align: center;
    }

    .hero-btn .fl-button-wrap {
        text-align: center;
    }
    
    .hero-bottom {
        z-index: 2;
        bottom: 0 !important;
    }
    
    .hero-bottom .fl-callout-content {
        margin-left: 16px;
        position: relative;
        top: -8px;
    }
    
    .row-hero .fl-row-content-wrap {
        position: relative;
    }
    
    .row-hero .fl-row-content-wrap::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

    .hero-content-column {
        z-index: 3;
    }
    
    .hero-editor {
        width: 428px;
        height: 332px;
        right: -77px;
        top: calc(50% - 145px);
    }
    
    .hero-woman {
        width: 66px;
        height: 66px;
        right: 77px;
        top: calc(50% - 140px);
    }
    
    .hero-man {
        width: 42px;
        height: 42px;
        right: 292px;
        top: calc(50% - 7px);
    }
    
    .hero-message {
        width: 42px;
        height: 42px;
        right: 342px;
        top: calc(50% - 162px);
    }
    
    .hero-shield {
        width: 55px;
        height: 55px;
        right: 452px;
        top: calc(50% + 92px);
    }
    
    .hero-stack {
        width: 55px;
        height: 55px;
        right: 93px;
        top: calc(50% + 150px);
    }
    
    .hero-documents {
        width: 77px;
        height: 99px;
        right: 245px;
        top: calc(50% + 74px);
    }
}

@media (max-width: 480px) {
    .row-hero .fl-row-content-wrap {
        padding-top: 160px;
    }
}

/* ================================================================================================
 * Callouts
 * ============================================================================================= */

.callouts-linked .fl-col-group::before {
    content: "";
    display: block;
    position: absolute;
    left: 40px;
    right: 40px;
    top: calc(50% - 10px);
    border-top: 2px solid #251c69;
}

.callouts-linked .fl-module-callout,
.callouts-linked .fl-callout {
    height: 100%;
}

.callouts-linked .fl-module-content {
    height: calc(100% - 40px);
}

.callouts-linked .fl-callout {
    background-color: #212441;
    padding: 20px 15px;
    min-height: 145px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.callouts-linked .fl-callout-title {
    font-size: 20px;
    margin-top: 20px;
}

.callout-bubble {
    position: relative;
}

.callout-bubble .fl-callout-text-wrap {
    position: absolute;
    right: -25px;
    bottom: -20px;
    font-size: 23px;
    font-weight: bold;
    text-align: center;
    padding: 30px 60px 0 60px;
    line-height: 1;
    width: 251px;
    height: 251px;
    background-image: url('/wp-content/themes/betterdevex/images/bubble.png');
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .callout-bubble .fl-callout-text-wrap {
        right: 0;
        bottom: 0;
    }
}

.team-callout .fl-photo {
    overflow: hidden;
    border-radius: 20px;
}

.team-callout-1 .fl-photo {
    border-top-left-radius: 100px;
}

.team-callout-4 .fl-photo {
    border-top-right-radius: 100px;
}

.team-callout .fl-callout img {
    transform: scale(1.0);
    transition: transform 300ms ease-in-out;
}

.team-callout .fl-callout:hover img {
    transform: scale(1.2);
}

.team-callout .fl-callout-title {
    margin: 40px 0 0 0;
    font-weight: 400;
}

.team-callout .fl-callout-text-wrap {
    font-size: 20px;
    color: #A79F9F;
}

.advisor-callout .fl-photo img {
    border-radius: 20px;
}

.advisor-callout .fl-callout-title {
    margin: 40px 0 0 0;
    font-size: 16px;
    font-weight: 400;
    padding-bottom: 0;
}

.advisor-callout .fl-callout-text-wrap {
    color: #A79F9F;
}

@media (max-width: 768px) {
    .team-callout .fl-callout-content,
    .advisor-callout .fl-callout-content {
        text-align: center;
        max-width: 320px;
        margin: 0 auto 32px auto;
    }
    
    .team-callout .fl-photo {
        border-radius: 0;
    }

    .team-callout .fl-callout img {
        transform: scale(1.0) !important;
        border-radius: 20px;
    }
}

.callout-separator .fl-module-content {
    margin-right: 10px;
}

.callout-separator .fl-callout-title,
.callout-separator .fl-callout-text-wrap {
    padding-right: 10px;
}

@media (min-width: 769px) {
    .callout-separator:not(:last-child) .fl-callout-title,
    .callout-separator:not(:last-child) .fl-callout-text-wrap {
        border-right: 1px solid #a79f9f;
    }
}

/* ================================================================================================
 * Logos
 * ============================================================================================= */

.client-logos p {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

/* ================================================================================================
 * Slider
 * ============================================================================================= */

.home-slider .fl-content-slider {
    border-radius: 20px;
    overflow: hidden;
    background-image: url('/wp-content/themes/betterdevex/images/slider-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
}

.home-slider .bx-wrapper {
    margin-bottom: 0;
}

.home-slider .fl-slide {
    display: flex;
    align-items: center;
}

.home-slider .fl-slide-content-wrap {
    width: 60% !important;
    max-height: 410px;
    overflow-y: auto;
}

.home-slider .fl-slide-photo-wrap {
    width: 40% !important;
    max-width: 415px;
}

.home-slider .fl-slide-photo {
    overflow: hidden;
    border-radius: 100px 0 100px 0;
    margin: 0 !important;
}

.home-slider .fl-slide-text {
    color: #ffffff !important;
    font-size: 24px;
    padding-right: 10px;
}

.home-slider .fl-slide-text em {
    font-size: 35px;
    font-style: normal;
    font-weight: bold;
}

.home-slider .fl-slide-foreground {
    max-width: 1150px;
    padding: 20px;
}

.home-slider .fl-slide-content {
    margin: 0 !important;
    padding: 0 !important;
}

.home-slider .bx-controls {
    max-width: 1150px;
    margin: 0 auto;
    position: relative;
}

.home-slider .bx-pager {
    position: absolute;
    bottom: 96px;
    text-align: left;
    margin: 0;
    padding: 0 20px;
}

.home-slider .bx-wrapper .bx-pager.bx-default-pager a {
    width: 12px;
    height: 12px;
    background-color: #b4bfff;
    border-radius: 100%;
}

.home-slider .bx-wrapper .bx-pager.bx-default-pager a.active {
    background-color: #ffbe8d;
}

.home-slider .fl-slide-text::before {
    content: "";
    display: block;
    width: 44px;
    height: 38px;
    margin-bottom: 16px;
    background-image: url('/wp-content/themes/betterdevex/images/slider-message.png');
    background-repeat: no-repeat;
    background-size: contain;
}

@media (max-width: 1150px) {
    .home-slider .fl-slide-text {
        font-size: 20px;
    }

    .home-slider .fl-slide-text em {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .home-slider .fl-slide {
        flex-direction: column;
    }
    
    .home-slider .fl-slide-content-wrap {
        width: 100% !important;
        max-height: auto;
        padding-bottom: 32px !important;
    }

    .home-slider .fl-slide-foreground {
        width: 100%;
    }

    .home-slider .fl-slide-mobile-photo {
        max-width: 320px;
        margin-top: 32px;
        border-radius: 100px 0 100px 0;
        overflow: hidden;
    }

    .home-slider .fl-slide-content {
        background: transparent !important;
    }

    .home-slider .fl-slide-text::before {
        margin: 10px auto;
    }

    .home-slider .bx-pager {
        text-align: center;
        bottom: 12px;
    }

    .home-slider .bx-wrapper .bx-pager.bx-default-pager a {
        width: 24px;
        height: 24px;
    }
}

/* ================================================================================================
 * Form
 * ============================================================================================= */

#get-started .fl-row-content {
    position: relative;
    top: 100px;
}

.gform_required_legend {
    display: none;
}

#get-started .gfield input, #get-started .gfield textarea, #get-started .gfield select {
    background-color: #faf9ff;
    color: #000000;
}

#get-started .gfield {
    margin-bottom: 10px;
}

#get-started #field_1_6 {
    text-align: center;
    margin: 20px 0;
}

#get-started #field_1_6, #get-started #field_1_6 a {
    color: #a79f9f;
}

#get-started #field_1_6 a {
    text-decoration: underline;
}

#get-started .gform_footer {
    justify-content: center;
}

#get-started .gform_button {
    padding: 20px 40px;
	margin: 0 30px;
    align-self: center !important;
}

.gform_button {
    transition: background-color 300ms ease-in-out;
}

.form-agree-check {
    display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url('/wp-content/themes/betterdevex/images/circle-check.png');
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-right: 8px;
}

@media (max-width: 768px) {
    #get-started .fl-row-content {
        top: 0;
    }
}