/**
 * @file
 * Brooksnet Complete CSS - Clean and Organized
 */

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
.sidebar .block
 {
    background-color: #ffffff!important;
    border-color: #ffffff!important;
}

/* Base Reset and Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    color: #424242;
    background-color: #f8f9fa;
    text-rendering: optimizeLegibility;
}

/* Remove underlines from all links */
a {
    text-decoration: none !important;
}

a:hover,
a:focus {
    text-decoration: none !important;
}

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */
.navbar-toggler {
  display: none !important;
}

.navbar-collapse.collapse {
  display: block !important;
}

/* Limit overall mega menu width */
.better-mega-menu .mega-menu-content {
  max-width: 800px;
  width: auto;
}

/* Top navbar - preserve original */
#navbar-top {
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 3rem;
}

/* Restore original logo and brand sizing */
#navbar-top .navbar-brand img {
    max-height: unset !important;
    width: unset !important;
    height: auto !important;
}

#navbar-top .navbar-brand {
    font-size: unset !important;
    font-weight: unset !important;
}


/* ==========================================================================
   SEARCH FORM STYLING
   ========================================================================== */

input#edit-keys.form-control {
    width: 300px !important;
    padding: 12px !important;
    margin-right: 5px !important;
    box-sizing: border-box !important;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

input#edit-keys.form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    width: 350px !important;
}

.form-submit,
.btn.btn-secondary.btn-sm {
    margin-top: 1px;
    font-weight: bold;
    font-size: 15px;
    height: 48px;
    background: #3498db;
    border-color: #3498db;
    border-radius: 18px;
    padding: 8px 16px;
}

.form-submit:hover,
.btn.btn-secondary.btn-sm:hover {
    background: #2980b9;
    border-color: #2980b9;
}

/* ==========================================================================
   MAIN CONTENT LAYOUT
   ========================================================================== */

#main {
    padding-left: 100px;
    padding-right: 100px;
}

@media (max-width: 768px) {
    #main {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.responsive-iframe {
    width: 928px;
    height: 522px;
    max-width: 100%;
}

@media (max-width: 960px) {
    .responsive-iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 928 / 522; /* Maintains original proportions */
    }
}

/* For smaller mobile screens */
@media (max-width: 480px) {
    .responsive-iframe {
        height: 250px; /* Override aspect-ratio for very small screens if needed */
    }
}

/* ==========================================================================
   TABLE STYLING
   ========================================================================== */

/* Main table styling */
table {
    border-collapse: collapse;
    width: 100%;
    border: 2px solid #000000;
}

/* Table header styling */
table thead {
    background-color: #f4f4f4;
}

table thead th {
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    color: black;
}

/* Table body cell styling */
table tbody td {
    border: 1px solid #f4f4f4;
    padding: 12px;
    background-color: white;
    color: black;
}

table tbody tr {
    border: 1px solid #f4f4f4;
}

/* Ensure all inner borders are consistent */
table th,
table td {
    border: 1px solid #f4f4f4;
    padding: 12px;
}

/* Data cells have white background */
table td {
    background-color: white;
    color: black;
}

/* Header specific styling */
table th {
    background-color: #f4f4f4;
    color: black;
}

/* Bootstrap table overrides */
.table {
    border: 2px solid #000000;
    border-collapse: collapse;
}

.table th {
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    color: black;
}

.table td,
.table th {
    border: 1px solid #f4f4f4;
}

.table td {
    background-color: white;
    color: black;
}

/* Remove table striping */
.table-striped tbody tr:nth-of-type(odd),
.table-striped tbody tr:nth-of-type(even) {
    background-color: white !important;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > td,
.table-striped > tbody > tr:nth-of-type(2n+1) > th {
    background-color: white !important;
}

/* Content area tables */

/* Change table inner borders to medium dark gray */
table th,
table td {
    border: 1px solid #666666 !important;
    padding: 12px;
}

table thead th {
    border: 1px solid #666666 !important;
}

table tbody td {
    border: 1px solid #666666 !important;
}

table tbody tr {
    border: 1px solid #666666 !important;
}

/* Bootstrap table overrides */
.table td,
.table th {
    border: 1px solid #666666 !important;
}

.table th {
    border: 1px solid #666666 !important;
}

/* Content area tables */
.node__content table td,
.node__content table th,
.field--type-text-with-summary table td,
.field--type-text-with-summary table th,
.text-formatted table td,
.text-formatted table th {
    border: 1px solid #d6d6d6 !important;
}

.node__content table,
.field--type-text-with-summary table,
.text-formatted table {
    border: 1px solid #d6d6d6;
    border-collapse: collapse;
    width: 100%;
    margin: 15px 0;
}

.node__content table th,
.field--type-text-with-summary table th,
.text-formatted table th {
    background-color: #f4f4f4;
    border: 1px solid #f4f4f4;
    padding: 12px;
    font-weight: bold;
    color: black;
}

.node__content table td,
.node__content table th,
.field--type-text-with-summary table td,
.field--type-text-with-summary table th,
.text-formatted table td,
.text-formatted table th {
    border: 1px solid #f4f4f4;
    padding: 12px;
    vertical-align: top;
}

.node__content table td,
.field--type-text-with-summary table td,
.text-formatted table td {
    background-color: white;
    color: black;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    padding-left: 3rem;
}

.site-footer .region,
.site-footer .block,
.site-footer section,
.site-footer div {
    border: none !important;
}

/* Make all footer text white */
.site-footer,
.site-footer * {
    color: white !important;
}

/* Specific footer regions */
.site-footer__top,
.site-footer__bottom,
.region-footer-first,
.region-footer-second,
.region-footer-third,
.region-footer-fifth {
    color: white !important;
}

/* Footer links */
.site-footer a,
.site-footer a:link,
.site-footer a:visited {
    color: white !important;
}

/* Footer link hover states */
.site-footer a:hover,
.site-footer a:focus {
    color: #ccc !important;
}

/* Footer headings */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: white !important;
}

/* Footer paragraphs and text elements */
.site-footer p,
.site-footer span,
.site-footer div,
.site-footer li {
    color: white !important;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

/* Container */
.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    padding: 0;
    margin: 20px 0 10px 0;
    font-weight: 600;
    color: #575757;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 24px;
}

/* ==========================================================================
   CARD COMPONENTS
   ========================================================================== */

/* Bootstrap Card Columns Layout */
.card-columns {
    column-count: 3;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
}

.card-columns .card {
    display: inline-block;
    width: 100%;
    margin-bottom: 0.75rem;
}

/* Base Card Styles */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    margin-bottom: 1rem;
}

.card.bg-light {
    background-color: #f8f9fa !important;
    border-color: #e9ecef;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Card Header */
.card-header {
    padding: 20px;
    margin-bottom: 0;
    background-color: #f4f4f4;
    border-bottom: 1px solid #eaeaea;
    border-radius: 5px 5px 0 0;
}

.card-title {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #575757;
}

.card-subtitle {
    margin-top: -5px;
    margin-bottom: 0;
    font-size: 14px;
    color: #878787;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Card Body */
.card-body {
    flex: 1 1 auto;
    padding: 25px 20px;
}

.card-body h3 {
    color: #575757;
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
}

.card-body p {
    margin-bottom: 15px;
    color: #424242;
    line-height: 1.6;
}

.card-body p:last-child {
    margin-bottom: 0;
}

.card-body p b {
    color: #575757;
    font-weight: 600;
}

.card-text {
    color: #424242;
    margin-bottom: 15px;
}

.card-text:last-child {
    margin-bottom: 0;
}

/* Card Footer */
.card-footer {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #eaeaea;
    text-align: center;
    border-radius: 0 0 5px 5px;
}

/* Card Color Variants */
.card-primary .card-header {
    background-color: #007bff;
    color: #fff;
    border-bottom-color: #007bff;
}

.card-primary .card-title,
.card-primary .card-subtitle {
    color: #fff;
}

.card-success .card-header {
    background-color: #28a745;
    color: #fff;
    border-bottom-color: #28a745;
}

.card-success .card-title,
.card-success .card-subtitle {
    color: #fff;
}

.card-warning .card-header {
    background-color: #ffc107;
    color: #212529;
    border-bottom-color: #ffc107;
}

.card-warning .card-title,
.card-warning .card-subtitle {
    color: #212529;
}

.card-danger .card-header {
    background-color: #dc3545;
    color: #fff;
    border-bottom-color: #dc3545;
}

.card-danger .card-title,
.card-danger .card-subtitle {
    color: #fff;
}

.card-info .card-header {
    background-color: #17a2b8;
    color: #fff;
    border-bottom-color: #17a2b8;
}

.card-info .card-title,
.card-info .card-subtitle {
    color: #fff;
}

/* Special Card Types */
.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 700;
    color: #007bff;
    margin: 20px 0;
    line-height: 1;
}

.pricing-card .price .currency {
    font-size: 24px;
    vertical-align: top;
}

.pricing-card .price small {
    font-size: 16px;
    color: #6c757d;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card .features li {
    padding: 10px 0;
    border-top: 1px solid #f3f3f3;
    font-size: 16px;
}

.pricing-card .features li:first-child {
    border-top: none;
}

.team-card {
    text-align: center;
}

.team-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #e9ecef;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #6c757d;
    font-weight: 600;
}

.feature-card {
    text-align: center;
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    color: #fff;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Card Deck Layout */
.card-deck {
    display: flex;
    flex-direction: column;
}

.card-deck .card {
    margin-bottom: 15px;
}

/* ==========================================================================
   BUTTON & FORM COMPONENTS
   ========================================================================== */

/* Button Styles */
.btn-outline {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline:hover,
.btn-outline:focus {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.btn-small {
    font-size: 14px;
    padding: 10px 20px;
}

/* Badge Component */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    background-color: #007bff;
    color: #fff;
}

.badge-success {
    background-color: #28a745;
}

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-danger {
    background-color: #dc3545;
}

.badge-info {
    background-color: #17a2b8;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

/* Enhanced card hover effects */
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.card-bordered {
    border-width: 2px;
}

.card-shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Background variants for regions */
.region--gray-background {
    background-color: #f3f3f3;
}

.region--gray-background .card-header {
    background-color: #fff;
}

.region--dark-background {
    background-color: #424242;
    color: #fff;
}

.region--dark-background .card {
    background-color: #fff;
    color: #424242;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
    
    .card-deck {
        flex-flow: row wrap;
        margin-right: -15px;
        margin-left: -15px;
    }
    
    .card-deck .card {
        display: flex;
        flex: 1 0 0%;
        flex-direction: column;
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .card-columns {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 767.98px) {
    .card-columns {
        column-count: 1;
    }
    
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 28px; }
    h2 { font-size: 32px; }
    h3 { font-size: 28px; }
    
    .card-header {
        padding: 15px;
    }
    
    .card-body {
        padding: 20px 15px;
    }
    
    .card-footer {
        padding: 15px;
    }
    
    .pricing-card .price {
        font-size: 32px;
    }
    
    input#edit-keys.form-control {
        width: 100% !important;
    }
    
    input#edit-keys.form-control:focus {
        width: 100% !important;
    }
}

@media (max-width: 575px) {
    h1 { font-size: 36px; }
}


