/*
 Theme Name:   connectedventures Child
 Theme URI:    http://keenitsolutions.com/products/wordpress/hepta/
 Description:  connectedventures Child
 Author:       RS Theme
 Author URI:   http://rstheme.com
 Template:     connectedventures
 Version:      2.9
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */


 
/* =========================
   AVENIR FONT SETUP
========================= */

@font-face {
  font-family: 'Avenir';
  src: url('/wp-content/themes/connectedventures-child/fonts/Avenir_Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/wp-content/themes/connectedventures-child/fonts/Avenir_Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/wp-content/themes/connectedventures-child/fonts/Avenir_Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/wp-content/themes/connectedventures-child/fonts/Avenir_Heavy.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Avenir';
  src: url('/wp-content/themes/connectedventures-child/fonts/Avenir_Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =========================
   APPLY GLOBALLY
========================= */

body,
p,
span,
a,
li,
input,
textarea,
button {
  font-family: 'Avenir', Arial, sans-serif !important;
  font-weight: 400;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Avenir', Arial, sans-serif !important;
  font-weight: 700;
}

/* Menu */
.menu,
.main-menu,
.nav-menu {
  font-family: 'Avenir', Arial, sans-serif !important;
  font-weight: 500;
}

/* WPBakery fix */
.vc_row,
.wpb_wrapper {
  font-family: 'Avenir', Arial, sans-serif !important;
}

.current_page_item {
    background: #FF7623;
}
#rs-header .menu-area .navbar{float: left;width: 100%;
    ul{display: flex;
        li:last-child{
            margin-left: auto;
            a{                background-color: #FF7623;
                color: #fff !important;
                margin: 16px 0;
                line-height: 27px;
                padding:3px 15px;}
        }
    }
}
#rs-header.header-style6 .toolbar-area {
    display: none;
}
@media only screen and (max-width: 991px) {
    #rs-header.header-style6 .menu-area .navbar .navbar-menu{display: none;}
}

.menu-area {
    padding: 0;

    .navbar ul>li:first-child {
        padding-left: 13px;
    }
}

.HomeMainHeader {
    min-height: 600px;

    h1 {
        font-size: 30px;
        color: #fff !important;
        font-weight: bold;
    }
}
.vc_row.InnerBanner {
    position: relative !important;
    overflow: hidden;
}
/* Fix parent */
.InnerBanner {
    min-height: 300px;
    position: relative;
    z-index: 0;
}
/* Parent fix */
.InnerBanner {
    position: relative;
    z-index: 0;
}

.vc_row.InnerBanner {
    position: relative !important;
    overflow: hidden;
}

.vc_row.InnerBanner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(20, 60, 110, 0.85),
        rgba(20, 60, 110, 0.75)
    );
    z-index: 1;
}

.vc_row.InnerBanner .vc_column-inner {
    position: relative;
    z-index: 2;
}

/* FIX heading separately (no nesting!) */
.InnerBanner h1 {
    font-size: 30px;
    color: #fff !important;
    font-weight: bold;
}

.LogoSection {
    img {
        max-height: 87px;
        width: auto;
    }
}

.HomeTitle {
    margin-top: 50px;

    h2 {
        color: #174579;
        font-weight: 500 !important;
        font-size: 40px;
        line-height: 50px !important;
    }
}

.PrimaryIcon {

    button,
    a {
        background: #FF7623 !important;
        color: #fff !important;
        padding: 5px 20px !important;

        &:hover {
            background: #b94a06 !important;
        }
    }
}

a.PrimaryIcon {
    background: #FF7623 !important;
    color: #fff !important;
    padding: 5px 20px !important;

    &:hover {
        background: #b94a06 !important;
    }
}

.ReadyToTalkSection {
    h3 {
        font-size: 35px;
        font-weight: bold;
        color: #fff;
    }

    p {
        font-size: 16px;
        line-height: 25px;
        color: #fff;
    }
}

.HomeHostdrySection {
    .HomeHostdrySectionFirst {
        h4 {
            font-weight: normal !important;
            color: #fff;
            margin: 0 0 10px 0;
            font-size: 34px;
        }

        h5 {
            font-weight: bold;
            color: #fff;
            margin: 0;
            font-size: 30px;
        }
    }

    .wpb_wrapper {
        h3 {
            color: #fff;
            font-size: 30px;
            font-weight: bold !important;
        }

        p {
            color: #fff;
            font-size: 16px;
            line-height: 24px;
        }
    }
}

.HomeThreeSection {
    .wpb_singleimage_heading {
        position: absolute;
        bottom: 37px;
        font-size: 22px;
        color: #fff;
        left: 44px;
        border-bottom: 2px solid #FF7623;
        padding-right: 20px;
    }

    .vc_single_image-wrapper {
        border-radius: 0 0 80px 0;
        overflow: hidden;
    }
}

footer.rs-footer {
    background: url(./footerbg.png) no-repeat !important;
    background-size: cover !important;
}

.whatwedogeneralContent {
    p {
        font-size: 14px;
        line-height: 20px;
        color: #666;
    }
    h3, h3 span{color: #174579;margin-bottom: 5px;}
}

.InnerFirstSection {
    h3 {
        color: #174579;
        font-size: 38px;
        font-weight: normal;
    }

    h4 {
        color: #FF7623;
        font-size: 40px;
    }
}

.WhatwedoMarketSection {
    .wpb_text_column {
        h3 {
            font-size: 42px;
            color: #174579;
            margin: 50px 0 20px 0;
        }

        p {
            font-size: 18px;
            line-height: 30px;
        }
    }

    .wpb_single_image {
        display: flex;
        flex-direction: column-reverse;
        box-shadow: 0 5px 10px #ddd;
        min-height: 200px;
        padding: 0 40px;

        .vc_single_image-wrapper {
            min-height: 120px;
            display: flex;
            justify-content: center;
            align-items: center;

            img {
                max-height: 100px;
                width: auto;
            }
        }
    }

    .wpb_singleimage_heading {
        font-size: 16px;
        color: #174579;
        line-height: 22px;
        margin-top: 10px
    }
}

.drawer-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}


#portfolioDrawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;

    .close-btn {
        cursor: pointer;
        font-size: 34px;
        float: left;
        position: absolute;
        top: 20px;
        left: 20px
    }

    .drawer-content {
        position: fixed;
        right: -650px;
        width: 650px;
        height: 100%;
        background: #f6f7f7;
        transition: 0.4s;
        padding:100px 100px 50px 100px;
        overflow-y: auto;border-left:1px solid #ddd;

        h2 {
            margin-top: 10px;
        }

        img {
            width: 100%;
            margin-bottom: 15px;
        }

        h4 {
            margin: 20px 0 0 0;
            font-size: 14px;
            color: #000;
        }
    }

    .row {
        display: flex;
  
        .col-8{min-width: 70%;}
        .col-4{min-width: 30%;text-align: right;}
        .col-8, .col-4 {    
          
padding: 0 15px;
            img {
                max-height: 100px;
                width: auto;
            }
        }
    }

    &.open .drawer-content {
        right: 0;
    }

    &.open .drawer-overlay {
        display: block;
    }

}
.MDSection {
    .wpb_text_column {
        h4{
            position: relative;
            padding-bottom: 20px;margin:0;
            &:after{
                content: "";
                width: 80px;
                height: 1px;
                left: calc(50% - 40px);
                background: #ddd;
                bottom: 10px;
                position: absolute;
            }
        }
        p{}
    }
}
.corporateText .wpb_text_column a{color:#000;text-decoration:underline !important;
    &:hover{color:#fff}
}
.rs-portfolio-style1 .col-md-3 {
    height: 150px;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
.portfolio-img{
    text-align: center;
    img {
        max-width: 65%;
        max-height: 100px;
        cursor: pointer;
    }
}
    &:nth-child(4n +1) {
        border-left: none;
    }

    &:nth-child(1),
    &:nth-child(2),
    &:nth-child(3),
    &:nth-child(4) {
        border-top: 0;
        ;
    }

    .portfolio-content {
        display: block !important;
        opacity: 1;
        top: 0;
        padding: 0;
        cursor: pointer;
        .p-title,
        .p-link {
            display: none;
        }

        .p-category a {
            color: #666;
            position: absolute;
            top: 0;
            right: 0;
            cursor: none;
            pointer-events: none;
            text-transform: uppercase;
        }
    }

    .portfolio-item {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
    }

}

.team-slider-style2 .team-item-wrap:hover .team-content:before,
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
    display: none !important;
}
a#drawerLink{
    color: #000;
    &:hover{color: #174579;}
}
#drawerTitle{font-weight: 400;font-size: 24px;}
#drawerImage {height: 60px;}
#cvTeamOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(212, 212, 212, 0.65);
    z-index: 999998;
    cursor: pointer;
}

#cvTeamOverlay.open {
    display: block;
}

#cvTeamPopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    width: min(1000px, 94vw);
    max-height: 85vh;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    background: #fff;
    overflow: hidden;
    flex-direction: row;
}

#cvTeamPopup.open {
    display: flex;
}

/* LEFT PANEL */
#cvTeamLeft {
    width: 330px;
    min-width: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

#cvTeamPhoto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 1.25rem;
    display: block;
}

#cvTeamName {
    font-size: 32px;
    color: #000;
    font-weight: 400;
    line-height: 1.35;
    position: relative;
    padding-bottom: 20px;

    &:after {
        content: "";
        height: 2px;
        background: #174579;
        width: 50%;
        position: absolute;
        bottom: 0;
        left: 25%;
    }
}

#cvTeamRole {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0;
}

/* CLOSE inside left panel */
#cvTeamClose {
    position: absolute;
    top: 0.65rem;
    left: 0.8rem;
    background: none;
    border: none;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #174579;
    padding: 0;
    z-index: 2;
}

#cvTeamClose:hover {
    color: #fff;
}

/* RIGHT PANEL */
#cvTeamRight {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

#cvTeamRightLabel {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #bbb;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #eee;
}

#cvTeamBio {
    font-size: 0.93rem;
    color: #3a3a3a;
    line-height: 1.82;
}

#cvTeamBio p {
    margin: 0 0 0.9rem;
}

#cvTeamBio p:last-child {
    margin-bottom: 0;
}

#cvTeamBio img {
    display: none;
}

.cv-team-loading {
    color: #bbb;
    font-size: 0.88rem;
    font-style: italic;
}

/* MOBILE */
@media (max-width: 580px) {
    #cvTeamPopup.open {
        flex-direction: column;
    }

    #cvTeamLeft {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem 1rem;
        gap: 1rem;
        text-align: left;
        align-items: center;
    }

    #cvTeamPhoto {
        width: 70px;
        height: 70px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    #cvTeamRight {
        padding: 1.25rem;
    }

    #cvTeamClose {
        top: 0.5rem;
        right: 0.6rem;
    }
}

#custom_html-3{
    h2{font-size: 18px;color:#fff;line-height: 24px;}
    p{font-size: 14px;color: #fff;}
}
.rs-footer .widget.widget_nav_menu ul li{border:none;
    a{font-size: 14px;}
}
.rs-footer .widget ul li{font-size: 12px;}
.rs-footer .widget ul li .fa {
     padding-right: 0px; 
    background: #FF7623;
    border-radius: 100%;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    margin-right:10px;
    font-size:16px;
    color: #174579;
}
.rs-footer .widget.widget_nav_menu ul li:before {
    content: "\f105";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    position: absolute;
    left: 0;
    top: auto;
    color: #fff;
}
.footer-bottom .col-md-6 {min-width: 100%;text-align: center;}
.footer-bottom .copyright p{text-align: center;}
.footer-top .col-md-3:nth-child(2){width: 30%;}
.footer-top .col-md-3:nth-child(3){width: 20%;}
.footer-top .col-md-3:nth-child(1){width: 20%;}
.footer-top .col-md-3:nth-child(4){width: 30%;}


/* Form Container */
.cv-form-wrapper {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e5e5;
}

/* Heading */
.cv-form-wrapper h2 {
  font-size: 32px;
  color: #ff6a21;
  margin-bottom: 30px;
}

/* Row Layout */
.cv-form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

/* Labels */
.cv-form-wrapper div {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
}

/* Inputs & Textarea */
.cv-form-wrapper input,
.cv-form-wrapper textarea {
  width: 100%;
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
  height: 33px !important;
}

/* Focus Effect */
.cv-form-wrapper input:focus,
.cv-form-wrapper textarea:focus {
  border-color: #ff6a21;
  box-shadow: 0 0 0 2px rgba(255, 106, 33, 0.15);
}
.cv-form-wrapper{
    .cv-form-row{
        div{
            width: 50%;float:left;padding:0 10px 0 0;
        p{margin: 0;
                    br{display: none;}
                }
        } 
    }
}
/* Textarea Height */
.cv-form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

/* Submit Button */
.wpcf7-form .cv-form-wrapper input[type="submit"] {
  width: 100%;
  background: #ff6a21 !important;
  color: #fff;
  border: none;
  padding:5px 14px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

/* Hover */
.wpcf7-form .cv-form-wrapper input[type="submit"]:hover {
  background: #e85c18;
}

/* Required Star */
.cv-form-wrapper abbr {
  color: #ff6a21;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-form-row {
    flex-direction: column;
  }
}

.ContactLeft{
    padding-right: 40px;
    h3{font-weight: bold;color: #000;font-size: 34px;line-height: 50px !important;}
    p{margin-bottom: 0;}
    h4{font-weight: bold;color: #174579;font-size: 28px;line-height: 50px !important;border-top: 1px solid #ddd;padding-top: 40px;margin-bottom: 10px;}
}
.ContactLeft ul{
    margin:0;
li {
    list-style: none;padding:0;margin-bottom:10px;color:#000;
    a{color:#000}
    .fa {
     padding-right: 0px; 
    background: #FF7623;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    margin-right:10px;
    font-size:16px;
    color:#fff
}
}
} 


@media (max-width:768px) {
    .wpb_button, .wpb_content_element, ul.wpb_thumbnails-fluid>li{margin-bottom: 10px !important;}
    .vc_column-inner{padding-top: 20px !important;}
    .LogoSection {
        .wpb_single_image {margin:0}
        
        img {
            max-height: 57px;
            width: auto;
        }
    }
    .vc_row.HomeHostdrySection{ 
        padding: 20px !important;
    }
    .vc_row.ReadyToTalkSection{ 
        padding: 20px !important;
    }
    .InnerFirstSection .vc_separator{margin-top: 10px !important;}
    .InnerFirstSection {
    h3 {line-height: 40px !important;font-size: 30px;}
     h4 {line-height: 40px !important;font-size: 30px;}
    }
    .rs-heading,.rs-heading.style2 h2{margin-bottom: 0;}
    .rs-portfolio-style1 .col-md-3 {
        max-height: 100px;
        img {max-height: 50px;}
    }
    #portfolioDrawer {
        .drawer-content {max-width: 100%;padding: 50px 20px;}
    }
    .portfolio-filter {display: none;}
    .footer-top .col-md-3:nth-child(2),
.footer-top .col-md-3:nth-child(3),
.footer-top .col-md-3:nth-child(1),
.footer-top .col-md-3:nth-child(4){width: 100%;}
}
@media (max-width: 580px) {
    #cvTeamLeft{
        flex-direction: column;padding-top: 50px;
    }
}
.footer-top .current_page_item{
    background: none!important;
}
.menu-area .navbar ul li > a{text-transform: capitalize !important;}

.team-name{
    position: relative;
       padding-bottom: 20px;
    &:after{
        content: "";
        width: 80px;
        height: 1px;
        left:calc(50% - 40px);
        background: #ddd;
        bottom: 10px;
        position: absolute;
    }
}