/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/*********** START GENERAL ELEMENTS ***********/
.btn-default:not(.icon-automatic-video), .btn-default-shape {
    background: #092B4C!important;
}
.breadcrumb > li + li:not(.paged):before {
    content: "\003e" !important; /* Unicode for ">" character */
    padding: 0 5px;
}
.menu-wrapper.menu-shrink.menu-sticky.menu-sticky-mobile.with-header {
    background: #f2f2f2;
}
.main-top-menu-inner {
    border-radius: 26px;
    -webkit-box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 5px 0px rgba(0, 0, 0, 0.1);
    overflow: visible;
}
.empty-space-override-10 {
    height: 10px;
}
.empty-space-override-20 {
    height: 20px;
}
.empty-space-override-30 {
    height: 30px;
}
.empty-space-override-40 {
    height: 40px;
}
.empty-space-override-50 {
    height: 50px;
}
.empty-space-override-60 {
    height: 60px;
}
.empty-space-override-70 {
    height: 70px;
}
.empty-space-override-80 {
    height: 80px;
}
.empty-space-override-90 {
    height: 90px;
}
.empty-space-override-100 {
    height: 100px;
}
.empty-space-override-110 {
    height: 110px;
}
.empty-space-override-120 {
    height: 120px;
}
.empty-space-override-130 {
    height: 130px;
}
.empty-space-override-140 {
    height: 140px;
}
.empty-space-override-150 {
    height: 150px;
}
.empty-space-override-160 {
    height: 160px;
}
.empty-space-override-170 {
    height: 170px;
}
.empty-space-override-180 {
    height: 180px;
}
.empty-space-override-190 {
    height: 190px;
}
.empty-space-override-200 {
    height: 200px;
}
.empty-space-override-210 {
    height: 210px;
}
.empty-space-override-220 {
    height: 220px;
}
.empty-space-override-230 {
    height: 230px;
}
.empty-space-override-240 {
    height: 240px;
}
.empty-space-override-250 {
    height: 250px;
}
.empty-space-override-260 {
    height: 260px;
}
.empty-space-override-270 {
    height: 270px;
}
.empty-space-override-280 {
    height: 280px;
}
.empty-space-override-290 {
    height: 290px;
}
.empty-space-override-300 {
    height: 300px;
}
.empty-space-override-310 {
    height: 310px;
}
.empty-space-override-320 {
    height: 320px;
}
.empty-space-override-330 {
    height: 330px;
}
.empty-space-override-340 {
    height: 340px;
}
.empty-space-override-350 {
    height: 350px;
}
.empty-space-override-360 {
    height: 360px;
}
.empty-space-override-370 {
    height: 370px;
}
.empty-space-override-380 {
    height: 380px;
}
.empty-space-override-390 {
    height: 390px;
}
.empty-space-override-400 {
    height: 400px;
}
.empty-space-override-410 {
    height: 410px;
}
.empty-space-override-420 {
    height: 420px;
}
.empty-space-override-430 {
    height: 430px;
}
.empty-space-override-440 {
    height: 440px;
}
.empty-space-override-450 {
    height: 450px;
}
.empty-space-override-460 {
    height: 460px;
}
.empty-space-override-470 {
    height: 470px;
}
.empty-space-override-480 {
    height: 480px;
}
.empty-space-override-490 {
    height: 490px;
}
.empty-space-override-500 {
    height: 500px;
}

.white-bg {
    background: #ffffff;
}
.padding-10 {
    padding: 30px;
}
.padding-20 {
    padding: 20px;
}
.padding-30 {
    padding: 30px;
}
.padding-40 {
    padding: 40px;
}
.padding-50 {
    padding: 50px;
}
.margin-10 {
    margin: 30px;
}
.margin-20 {
    margin: 20px;
}
.margin-30 {
    margin: 30px;
}
.margin-40 {
    margin: 40px;
}
.margin-50 {
    margin: 50px;
}

.border-radius-5 {
    border-radius: 5px
}
.border-radius-10 {
    border-radius: 10px
}
.border-radius-15 {
    border-radius: 15px
}
.border-radius-20 {
    border-radius: 20px
}
.border-radius-25 {
    border-radius: 25px
}
.border-radius-30 {
    border-radius: 30px
}

span.t-entry-category.t-entry-tax a {
    background: #092B4C;
    padding: 7px 10px;
    color: #fff !important;
    border-radius: 5px;
}
/*********** FINISH GENERAL ELEMENTS ***********/


/*********** START WYSIWYG ELEMENTS ***********/

a.cta-button-dark {
    color: #000;
    background: #fff;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;
}
a.cta-button-dark:hover {
    color: #fff!important;
    background: #092B4C;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;
}
.cta-button-dark-border {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #092B4C;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-dark-border:hover {
    color: #092B4C!important;
    background: transparent;
    border: 1px solid #092b4c;    
}
.cta-button-light-border {
    color: #000;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-light-border:hover {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #092B4C;    
}
.cta-button-lighter-border {
    color: #000!important;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-lighter-border:hover {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #FFFFFF;    
}
.cta-button-lighter-border-alt {
    color: #ffffff!important;
    background: transparent;
    border: 1px solid #FFFFFF;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-lighter-border-alt:hover {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #092B4C;    
}
.cta-button-lightest-border {
    color: #000;
    background: #FFFFFF;
    border: 1px solid #f2f2f2;
    padding: 20px 50px;
    -webkit-box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 10px 20px -7px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-lightest-border:hover {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #092B4C;
}

.cta-button-border-wh {
    color: #000;
    background: #FFFFFF;
    border: 1px solid #092B4C;
    padding: 20px 50px;
    border-radius: 25px;
    display: inline-block;
    margin: 10px 5px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-button-border-wh:hover {
    color: #FFFFFF!important;
    background: #092B4C;
    border: 1px solid #092B4C;
}

/*********** FINISH WYSIWYG ELEMENTS ***********/


/*********** START HEADER ELEMENTS ***********/

header#masthead .menu-container {
    background: #f2f2f2 !important;
    border: none!important;
    box-shadow: none;
}
.main-top-menu {
    background: #fff;
    border-radius: 25px;
    margin-top: 20px;
    margin-bottom: 0px;
    max-width: 1845px;
}
.header-cta-buttons {
    text-align: right;
}
.header-cta-buttons p {
    display: inline;
    margin: 0;
    padding: 0;
}
li.cta-git {
    height: 45px !important;
}
.cta-git a {
    color: #fff!important;
    background: #092B4C;
    border: 1px solid #092B4C;
    padding: 0 30px!important;
    border-radius: 25px;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
.cta-git a:hover {
    color: #000!important;
    background: #fff;
    border: 1px solid #092B4C;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}

/*********** FINISH HEADER ELEMENTS ***********/


/*********** START HERO ELEMENTS ***********/

.home-page-hero-text-block {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}
.home-page-hero-arrow {
    position: absolute;
    top: 150px;
    right: 80px;
}

/*********** FINISH HERO ELEMENTS ***********/


/*********** START FOOTER ELEMENTS ***********/

.footer-bottom-inner {
    border-top: 1px solid #d8d8d8;
    max-width: 80%;
}
#menu-footer-bottom, .menu-footer-bottom-container a:last-of-type {
    padding-right: 0;
}
.footer-base-inner {
    position: relative;
}
.footer-base-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dedede;
    max-width: 1845px;
    margin: 0 auto;
}
.footer-scroll-top i {
    border-radius: 25px !important;
    width: 3em;
    height: 3em;
    line-height: 3em;
}

/*********** FINISH FOOTER ELEMENTS ***********/


/*********** START ACCORDION ELEMENTS ***********/

.panel-group .panel.has-active-bg:not(.active-group) {
    background: #ffffff!important;
    border-radius: 16px!important;
    margin-top: 20px;
}
.panel.has-active-bg.active-group {
    margin-top: 20px;
}
.uncode-accordion:not(.default-typography) .panel-title > a > span {
    font-size: 22px;
    line-height: 140%;
}

/*********** FINISH ACCORDION ELEMENTS ***********/


/*********** START LOGO CAROUSEL ELEMENTS ***********/
/* Ultra simple fix for logo carousel */
.logo-carousel .owl-carousel .owl-item img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 36px;
    width: auto !important;
    max-width: 110px !important;
    display: block;
    margin: 0 auto;
}

/* Ensure the dummy spacer doesn't affect alignment */
.logo-carousel .dummy {
    height: 0 !important;
}


/*********** FNISH LOGO CAROUSEL ELEMENTS ***********/

/*********** START TABED ELEMENTS ***********/
.tabbed-content .uncode-wrapper.tab-container {
    display: flex;
    flex-direction: column-reverse;
}
/*********** FINISH TABED ELEMENTS ***********/

/*********** START UTILITY CLASSES ***********/

/* Position the text block absolutely at the bottom */
.white-bg.bottom-text-block {
    position: absolute !important;
    bottom: 30px !important;
    left: 30px !important;
    width: calc(100% - 60px) !important;
    z-index: 2 !important;
    margin: 0 !important;
}

/* Make sure the container has position relative */
.text-block-col .uncell {
    position: relative !important;
    height: 100% !important;
}

/* Make all parent containers take full height */
.nested-bg-row,
.nested-bg-row .row-child,
.nested-bg-row .row-inner,
.text-block-col,
.text-block-col .uncol,
.text-block-col .uncoltable,
.text-block-col .uncell {
    height: 100% !important;
}

/* Make sure the right column takes full height */
.wpb_column.pos-top.pos-center.align_left.column_parent.col-lg-6 .uncol,
.wpb_column.pos-top.pos-center.align_left.column_parent.col-lg-6 .uncoltable,
.wpb_column.pos-top.pos-center.align_left.column_parent.col-lg-6 .uncell,
.wpb_column.pos-top.pos-center.align_left.column_parent.col-lg-6 .uncont {
    height: 100% !important;
}
.cards-img-border-radius img {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.uncont.card-border {
    border: 1px solid #dedede;
    border-radius: 25px;
}
.card-column .uncell {
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;      
}
.card-column .uncell:hover {
    background: #092B4C;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}
/* Target all text including headings when hovering */
.card-column .uncell:hover .card-text-block,
.card-column .uncell:hover .card-text-block a,
.card-column .uncell:hover .card-text-block h1,
.card-column .uncell:hover .card-text-block h2,
.card-column .uncell:hover .card-text-block h3,
.card-column .uncell:hover .card-text-block h4,
.card-column .uncell:hover .card-text-block h5,
.card-column .uncell:hover .card-text-block h6 {
    color: #fff !important;
}
.col-left img {
    border-radius: 26px;
}
a.post-read-more-btn {
    font-weight: bold;
}
/*********** FINISH UTILITY CLASSES ***********/

/*********** START FILTER CLASSES ***********/
.post-grid-wrapper .grid-filters ul.menu-smart li span {
    padding-bottom: 50px;
}
.post-grid-wrapper .isotope-filters.grid-filters {
    margin-bottom: 0 !important;
}
.post-grid-wrapper .grid-nav-link {
    color: #092B4C!important;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px!important;
}
.post-grid-wrapper .grid-nav-link:hover, .post-grid-wrapper .grid-nav-link.active {
    background: #092B4C;
    color: #fff !important;
    padding: 5px 10px;
    border-radius: 5px;
}
.post-grid-wrapper .btn:not(.btn-custom-typo):not(.btn-inherit):not(.uncode-nav-container), 
.post-grid-wrapper .btn-link:not(.btn-custom-typo):not(.btn-inherit):not(.uncode-nav-container) {
    text-transform: capitalize;
    font-size: 15px;
    position: relative;
    padding-right: 25px; /* Make space for the arrow */
}

.post-grid-wrapper .btn:not(.btn-custom-typo):not(.btn-inherit):not(.uncode-nav-container):after, 
.post-grid-wrapper .btn-link:not(.btn-custom-typo):not(.btn-inherit):not(.uncode-nav-container):after {
    content: ">";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px; /* Adjust size as needed */
    font-weight: 700; /* Adjust weight as needed */
    transition: transform 0.2s ease;
}
.post-grid-wrapper .t-inside {
    border-radius: 26px;
}
.post-grid-wrapper .t-entry-visual {
    border-top-left-radius: 26px;
    border-top-right-radius: 26px;
}

/*********** FINISH FILTER CLASSES ***********/

/*********** START GRAVITY FORM STYLES ***********/

/* Override Gravity Forms CSS Grid variables to reduce spacing */
.gform-theme--api, 
.gform-theme--foundation {
    /* Reduce vertical gap between fields */
    --gf-form-gap-y: 16px !important; /* Reduced from 40px */
    
    /* Reduce vertical gap within fields (like between label and input) */
    --gf-field-gap-y: 6px !important; /* Reduced from 12px */
    
    /* Other spacing adjustments */
    --gf-form-footer-margin-y-start: 16px !important; /* Reduced from 24px */
    
    /* If you want to hide labels completely, set their width to 0 */
    --gf-label-width: 0% !important; /* Changed from 30% */
}

/* Hide labels completely */
.gform_wrapper .gfield_label {
    display: none !important;
}

/* Additional adjustments for specific cases */
.gform_wrapper .gfield {
    margin-bottom: 16px !important; /* Consistent field spacing */
}

/* Ensure inputs take full width when labels are removed */
.gform_wrapper .ginput_container {
    width: 100% !important;
}

/* Fix any remaining spacing issues */
.gform_wrapper .gform_fields {
    grid-row-gap: 16px !important; /* Override the grid row gap */
}


/* Form title */
.gform_title {
    color: inherit;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Field labels */
.gfield_label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: inherit;
}

/* Text inputs */
.ginput_container input[type="text"],
.ginput_container input[type="email"],
.ginput_container input[type="tel"],
.ginput_container textarea,
.ginput_container select {
    width: 100%;
    padding: 24px 12px !important;
    border: 1px solid #dedede;
    background: #f9f9f9;
    font-size: 16px;
    transition: border-color 0.3s;
    border-radius: 12px;
}
.ginput_container textarea {
    padding: 12px !important;
}

/* Input focus state */
.ginput_container input:focus,
.ginput_container textarea:focus,
.ginput_container select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Required field indicator */
.gfield_required {
    color: #e74c3c;
    margin-left: 4px;
}

/* Submit button */
.gform_button {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.gform_button:hover {
    background: #2980b9;
}

/* Error styling */
.gfield_error {
    padding: 8px;
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid #e74c3c;
    margin-bottom: 16px;
}

.validation_message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

/* Space between fields */
.gfield {
    margin-bottom: 20px;
}

/* Checkbox and radio styling */
.gfield_checkbox li,
.gfield_radio li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.gfield_checkbox input[type="checkbox"],
.gfield_radio input[type="radio"] {
    margin-right: 10px;
}

input[type="submit"] {
    color: #fff !important;
    background: #092B4C!important;
    border: 1px solid #092B4C!important;
    padding: 0 30px !important;
    border-radius: 25px!important;
    line-height: 100%;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;    
}

input[type="submit"]:hover {
    color: #000 !important;
    background: #fff!important;
    border: 1px solid #092B4C!important;
    -moz-transition: all .4s ease-in-out!important;
    -o-transition: all .4s ease-in-out!important;
    -webkit-transition: all .4s ease-in-out!important;
    transition: all .4s ease-in-out!important;  
}

@media (max-width: 768px) {
    .gform_wrapper {
        padding: 15px;
    }
    
    .ginput_container input,
    .ginput_container textarea,
    .ginput_container select {
        padding: 10px;
        font-size: 14px;
    }
    
    .gform_button {
        width: 100%;
    }
    
    /* Name fields stacked on mobile */
    .ginput_container_name span {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Address fields stacked on mobile */
    .ginput_container_address span {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}


/*********** FINISH GRAVITY FORM STYLES ***********/

/*********** START ARCHIVE POST CARD STYLES ***********/



/*********** FINISH ARCHIVE POST CARD STYLES ***********/