/* 
Theme Name: 500 Designs
Description: 500 Designs Theme is a child theme of Hello Elementor.
Author: 500 Designs
Author URI: https://500designs.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

.text-primary {
    color: #006C9B !important;
}
.text-white {
    color: #ffffff !important;
}

:root {
    /* Primary (Dark Blue) */
    --bs-primary: #006C9B;
    --bs-primary-rgb: 0, 108, 155;
    
    /* Secondary (Light Cyan Blue) */
    --bs-secondary: #009BDF;
    --bs-secondary-rgb: 0, 155, 223;

    /* Fonts */
    /* NOTE: Consider adding generic fallbacks here like system-ui just in case */
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-heading-font-family: 'Manrope', sans-serif;

    /* Custom Telestream Colors */
    --ts-blue: #009bdf;
    --ts-dark-blue: #0b1c3e;
    --ts-text-grey: #43484d;
}

strong, .strong {
    font-weight: 600 !important;
}
h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--bs-heading-font-family);
    font-weight: 400 !important;
}
h1, .h1 {
    font-family: var(--bs-heading-font-family);
    font-size: 48px !important;
    font-weight: 400 !important;
}

.header-extra {
    font-family: var(--bs-heading-font-family);
    font-size: 48px !important;
    font-weight: 400 !important;
}
.header-extra-md {
    font-family: var(--bs-heading-font-family);
    font-size: 36px !important;
    font-weight: 400 !important;
}
.header-extra-sm {
    font-family: var(--bs-heading-font-family);
    font-size: 24px !important;
    font-weight: 400 !important;
}
.header-blue-cards {
    font-family: var(--bs-body-font-family);
    font-size: 20px !important;
    font-weight: 600 !important;
}
.header-white-cards {
    font-family: var(--bs-heading-font-family);
    font-size: 26px !important;
    font-weight: 400 !important;
}

[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #006C9B !important;
    color: #fff;
    text-decoration: none;
}


/* Support Page Grid - Modern Bootstrap 5 */
.support-ts-grid .ts-support-card {
    padding: 20px;
    border: solid 1px #ccc; 
    border-radius: 10px;
    background-color: #fff;
    height: 100%; /* Forces all cards in a row to be equal height */
    display: flex;
    flex-direction: column; /* Allows us to snap the links to the bottom */
}

.ts-support-card hr.ts-card-large-br {
    margin: 15px 0 !important;
    border-top: 1px solid #ccc;
    opacity: 0.5;
}

.support-ts-grid a {
    color: #337ab7 !important;
    text-decoration: none;
}

.support-ts-grid h1, .support-ts-grid h2, .support-ts-grid h3, .support-ts-grid h4, .support-ts-grid h5, .support-ts-grid h6, .support-ts-grid p {
    color: #081126 !important;
}

.support-ts-grid h3 {
    font-size: 18px !important;
    margin-top: 15px !important;
}

.support-ts-grid p {
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

.support-ts-grid .font-size-14 {
    font-size: 13px !important;
    color: #081126;
    margin-top: auto !important; /* Forces the footer links to the absolute bottom of the card */
    padding-top: 5px;
    display: block;
}

/* 1. Map Font Awesome 6 HTML classes to Elementor's Font Awesome 5 library */
.terms-sections .fa-solid {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

/* 2. Menu Layout & Centering (Fixes the non-centered, squished menu) */
.terms-sections ul.navbar-nav {
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; 
    gap: 20px; 
}

/* 3. Company Terms Nav - Typography & Colors */
.company-nav-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important; 
    color: #081126 !important; 
    padding: 8px 0;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.company-nav-link:hover { 
    color: #006c9b !important; 
}

/* 4. Desktop Underline Animation */
@media (min-width: 768px) {
    .hide-border-sm { 
        border-bottom: none !important; 
    }
    
    .company-nav-link { 
        position: relative; 
    }
    
    .company-nav-link::after {
        content: ''; 
        position: absolute; 
        width: 0; 
        height: 2px;
        display: block; 
        margin-top: 5px; 
        right: 0; 
        background: #009BDF;
        transition: width 0.3s ease; 
    }
    
    .company-nav-link:hover::after,
    .company-nav-link.active::after { 
        width: 100%; 
        left: 0; 
        background: #009BDF; 
    }
}

/* 5. Content Link Colors */
.terms-section a { 
    color: #006c9b !important; 
}
.terms-section a:hover { 
    color: #209dd3 !important; 
}
.terms-section ul { 
    list-style-type: square; 
}
.terms-section ul li::marker { 
    color: #009bdf !important; 
    font-size: 20px; 
}
.terms-section ul li { 
    margin-bottom: 10px; 
}

/* 6. Fix Button Colors (Bootscore gradient) */
.btn-primary {
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    background-color: #006C9B
 !important;
    border-radius: 4px !important;
}
.btn-primary:hover {
    background-color: #0d334c !important;
    color: #fff !important;
}

/* 7. Menu Bar - Top Border & Inset Shadow (Simulates header shadow) */
.terms-sections {
    border-top: 1px solid #eaeaea !important;
    box-shadow: inset 0px 6px 10px -6px rgba(0, 0, 0, 0.15) !important;
    background-color: #ffffff !important;
}

/* 8. Force General Terms & Button Bar to White Background & Dark Text */
.terms-section,
.py-4 { 
    background-color: #ffffff !important;
    color: #081126 !important;
}

/* Ensure all headings, bold text, and lists inside the terms stay dark */
.terms-section h1,
.terms-section h2,
.terms-section h3,
.terms-section strong,
.terms-section p,
.terms-section li {
    color: #081126 !important;
}

/* /gdpr-compliance/ Fix the GDPR Form Header Bar */
#inject_placeholder .panel-primary > .panel-heading {
    color: #ffffff !important;
    background-color: #006c9b !important;
    border-color: #006c9b !important;
    padding: 10px 15px !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

#inject_placeholder .panel-heading h3.panel-title,
#inject_placeholder .panel-heading h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Remove extra padding pushing the form inwards */
#inject_placeholder .body-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Fix Checkbox Alignment */
#inject_placeholder .checkbox {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 10px !important;
}

#inject_placeholder input[type="checkbox"] {
    margin-top: 4px !important;
    margin-right: 10px !important;
    width: 16px !important;
    height: 16px !important;
}

#inject_placeholder .checkbox label {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}


/* Global White Border Button */
.btn-outline-white-global {
    ne
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}
.btn-outline-white-global:hover, 
.btn-outline-white-global:focus {
    background-color: #ffffff;
    color: #006c9b; /* Matches your brand blue on hover */
    border-color: #ffffff;
}

/* Utility Links */
/* NOTE: Missing :focus states for keyboard accessibility on custom links */
.blue-link, .text-ts-blue { color: #006c9b !important; }
.blue-link:hover { color: #209dd3 !important; }
.light-blue-link, .text-ts-light-blue { color: #009bdf !important; }
.light-blue-link:hover { color: #2ab4ef !important; }
.white-link { color: #fff !important; }
.white-link:hover { color: #e4e4e4 !important; }

/* Product Tabs top nav hover (Dark Section) */
#v-pills-measurement-tab:hover, #v-pills-professional-tab:hover, #v-pills-workflow-tab:hover {
    color: #e4e4e4 !important;
}

.open-pdf-viewer {
font-weight: 400 !important;
font-size: 13px !important;
color: #006c9b !important;
}

/* Bootstrap Utility Overrides */
.text-primary { color: #006C9B !important; }
.bg-primary { background-color: #006C9B !important; color: #fff !important }
.btn-secondary {
    background-color: #009bdf;
    border-color: #009bdf;
    color: #fff !important;
}
.text-secondary { color: #009BDF !important; }
.text-gray { color: #CCC !important; }
.bg-secondary { background-color: #009BDF !important; }
.text-bg-info { background-color: #E5F7FF !important; }
.bg-ts-dark { background-color: var(--ts-dark-blue); }
.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

/* Images */
img.reflect {
    -webkit-box-reflect: below -1px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(90%, transparent), to(rgba(250, 250, 250, .2)));
    box-shadow: 0 0 10px #ccc;
}
img.shadow {
    box-shadow: 0 0 10px #ccc;
}

/* --- Support Mega Menu Dark Cards Fix --- */

/* 1. Force Headings, Text, and Links to be White */
.sub-megamenu-content .e-con-boxed .elementor-heading-title,
.sub-megamenu-content .e-con-boxed .elementor-icon-list-text,
.sub-megamenu-content .e-con-boxed a {
    color: #ffffff !important;
}

/* Add a brand-blue hover effect so the links feel interactive */
.sub-megamenu-content .e-con-boxed a:hover .elementor-icon-list-text {
    color: #009bdf !important; 
    text-decoration: underline;
}

/* 2. Force Equal Heights on all Cards in the grid */
.sub-megamenu-content .e-con-boxed,
.sub-megamenu-content .e-con-boxed > .e-con-inner {
    height: 100% !important;
}

/* Global White Border Button (Forced Override) */
.btn-outline-white-global {
    color: #ffffff !important;
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    font-weight: 500 !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-white-global:hover, 
.btn-outline-white-global:focus {
    background-color: #ffffff !important;
    color: #006c9b !important; /* Matches your brand blue on hover */
    border-color: #ffffff !important;
}

/* Logo Grid Styling */
.logo-img {
    max-height: 60px; 
    max-width: 100%;
    width: auto;      
    object-fit: contain;
}
.row.ts-company-logos {
    --bs-gutter-x: 2rem !important ;
    --bs-gutter-y: 3rem !important;
}


/* ****************** Mobile ****************** */

@media (min-width: 768px) {
    .hide-border-sm { border-bottom: none !important; }
    
    .company-nav-link { position: relative; }
    .company-nav-link::after {
        content: ''; position: absolute; width: 0; height: 2px;
        display: block; margin-top: 5px; right: 0; background: #009BDF;
        transition: width 0.3s ease; -webkit-transition: width 0.3s ease;
    }
    .company-nav-link:hover::after { width: 100%; left: 0; background: #009BDF; }
    #home-search { min-width: 350px; }
}