/*
Theme Name:   Megawatt
Theme URI:    http://aeimarketing.com/
Description:  Megawatt Theme
Author:       Jeff Coolen
Author URI:   http://coolensystems.com/
Template:     simple-days
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:   megawatttheme
*/
body{
    font-size:1.2rem;
}
.post_content{
    font-size:1.1rem;
}
.post_content h1, .post_content h2, .post_content h3, .post_content h4, .post_content h5 {
    font-weight:600;
}
th{
    background:#0000ff;
    color:#fff;
}
th a{
    color:#aaaaff;
}

/* =============================================
   Header & Navigation
   ============================================= */

#h_wrap {
    background: #fff;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ---- Desktop Nav ---- */
#nav_h {
    background-color: #0000ff;
}

/* All nav links: Inter, clean white */
#nav_h #menu_h a {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}

/* Top-level item padding — must match nav_h height exactly */
#menu_h > li > .caret_wrap > a,
#menu_h > li > div > a {
    padding: 14px 14px;
    line-height: 1;
}

/* Add CSS chevron after top-level items that have sub-menus */
#menu_h > li > .caret_wrap::after {
    content: '\25BE';
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    padding-right: 10px;
    pointer-events: none;
}

/* Top-level hover: white bg, blue text */
#nav_h #menu_h > li:hover {
    background: #fff;
}

#nav_h #menu_h > li:hover > .caret_wrap > a,
#nav_h #menu_h > li:hover > div > a {
    color: #0000ff;
}

#nav_h #menu_h > li:hover > .caret_wrap::after {
    color: #0000cc;
}

/* Divider between top-level items */
#menu_h > li + li {
    border-left: 1px solid rgba(255,255,255,0.15);
}

/* Dropdown panel */
.menu_h .sub-menu {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 250px;
    left:-1px;
}

.menu_h .sub-menu li {
    background: #fff;
    border-bottom: 1px solid #eef0f8;
}

.menu_h .sub-menu li:last-child {
    border-bottom: none;
}

#nav_h #menu_h .sub-menu a {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    color: #1a1a2e;
    padding: 10px 18px;
    display: block;
}

#nav_h #menu_h .sub-menu li:hover {
    background: #f0f4ff;
}

#nav_h #menu_h .sub-menu li:hover > a,
#nav_h #menu_h .sub-menu li:hover > div > a {
    color: #0000ff;
}

/* --- Hamburger: right side, blue pill, white lines --- */
.bar_box {
  
    right: 12px;
    left: auto;
    background: #0000ff;
    border-radius: 6px;
    padding: 8px 12px;
}

.bar_box .humberger:before,
.bar_box .humberger:after {
    background: #fff;
}

.bar_box .humberger:before {
    -webkit-box-shadow: #fff 0 6px 0;
    box-shadow: #fff 0 6px 0;
}

/* ---- Mobile Nav (below 980px) ---- */
@media screen and (max-width: 979px) {
    /* Hide parent theme caret labels on mobile */
    .drop_icon {
        display: none;
    }

    /* Nav as scrollable fixed overlay below header */
    #t_menu:checked ~ header #nav_h {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 998;
        max-height: none;
    }

    /* Top-level mobile items */
    #menu_h > li > .caret_wrap > a,
    #menu_h > li > div > a {
        font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #fff;
        padding: 14px 20px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    /* Remove desktop chevron on mobile */
    #menu_h > li > .caret_wrap::after {
        display: none;
    }

    /* No hover effects on mobile — all white, no bg change */
    #nav_h #menu_h > li:hover,
    #menu_h > li:hover {
        background: transparent;
    }

    #nav_h #menu_h > li:hover > .caret_wrap > a,
    #nav_h #menu_h > li:hover > div > a,
    #menu_h > li:hover > .caret_wrap > a,
    #menu_h > li:hover > div > a {
        color: #fff;
    }

    #nav_h #menu_h > li:hover > .caret_wrap::after {
        color: rgba(255,255,255,0.7);
    }

    /* Remove desktop divider */
    #menu_h > li + li {
        border-left: none;
    }

    /* Always show sub-menus on mobile */
    #nav_h .menu_h .sub-menu,
    .menu_h input[type="checkbox"] + .sub-menu {
        opacity: 1 !important;
        pointer-events: all !important;
        position: static !important;
        display: block !important;
        max-height: none !important;
        overflow: visible !important;
        background: rgba(0,0,0,0.2) !important;
        border-top: none !important;
        box-shadow: none !important;
        min-width: 0 !important;
    }

    .menu_h .sub-menu li {
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    #nav_h #menu_h .sub-menu a,
    .menu_h .sub-menu a {
        font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
        font-size: 0.9rem;
        font-weight: 500;
        color: #fff;
        padding: 10px 20px 10px 36px;
        text-transform: none;
        letter-spacing: 0.02em;
    }

    #nav_h #menu_h .sub-menu li:hover,
    .menu_h .sub-menu li:hover {
        background: transparent;
    }

    #nav_h #menu_h .sub-menu li:hover > a,
    #nav_h #menu_h .sub-menu li:hover > div > a,
    .menu_h .sub-menu li:hover > a,
    .menu_h .sub-menu li:hover > div > a {
        color: #fff;
    }
}
body.home main{
    padding-top:0;
}
body.home main > .post_item.mb_L:first-child{
    display:none;
}
body.home .wrap_frame{
    margin-top:0;
}
.f_widget_wrap{
    background-color:#8ec7d2 !important;
    color:#000 !important;
}
.f_widget_wrap a{
     color:#00f !important;
}
.title_wrap{
    margin:0 !important;;
}
h3 {
    font-variant: small-caps;
}
a{
    color:#0000ff;
     text-decoration: none;
}
.post_body a{
    text-decoration:none !important;
}
body.post-type-archive-tribe_events  .tribe-events-header{
    display:none;
}
.post_content{
    background:transparent !important;
}
#post_body img{
    border:#ccc 2px solid;
}
.amazingslider-nav-2{
    display:none !important;
}
/* Careers Page */
#container{
    max-width: 1296px;
    margin:0 auto;
    background:transparent !important;
}
.sjb-page{
    background:transparent !important;
      padding:0 1em;
}
.sjb-page .list-data .v1{
    background:transparent !important;
  
}
/* Products Page */
body.page-id-114 h2 {
    background:#0000ff;
    color:#fff;
    padding:0 .25em;
    font-size:1em;
    font-weight:800;
}
body.page-id-114 h2 a{
    color:#ccccff;
    text-decoration: none;
}
body.page-id-114 h4{
    font-size:.75rem;
    color:#000000;
    font-variant:small-caps;
    font-weight:600;
}
/* =============================================
   Contact Us Page (page-id-46)
   ============================================= */

/* Hide the theme-generated page title */
body.page-id-46 .post_title {
    display: none;
}

/* Hero band */
body.page-id-46 .contact-hero {
    background: #0000ff;
    color: #fff;
    padding: 40px 32px;
    margin-bottom: 0;
}

body.page-id-46 .contact-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 6px;
}

body.page-id-46 .contact-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
}

/* Two-column layout wrapper */
body.page-id-46 .contact-layout {
    display: flex;
    gap: 40px;
    padding: 40px 32px;
    align-items: flex-start;
}

/* Form column */
body.page-id-46 .contact-form-col {
    flex: 0 0 55%;
    min-width: 0;
}

body.page-id-46 .contact-form-col h2 {
    font-size: 1.4rem;
    color: #0000ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0000ff;
}

body.page-id-46 .wpcf7-form p {
    margin-bottom: 14px;
}

body.page-id-46 .wpcf7-form input[type="text"],
body.page-id-46 .wpcf7-form input[type="email"],
body.page-id-46 .wpcf7-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 0.95rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

body.page-id-46 .wpcf7-form input[type="text"]:focus,
body.page-id-46 .wpcf7-form input[type="email"]:focus,
body.page-id-46 .wpcf7-form textarea:focus {
    border-color: #0000ff;
    outline: none;
}

body.page-id-46 .wpcf7-form input[type="submit"] {
    background: #0000ff;
    color: #fff;
    border: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}

body.page-id-46 .wpcf7-form input[type="submit"]:hover {
    background: #0000cc;
}

/* Reps column */
body.page-id-46 .contact-reps-col {
    flex: 0 0 calc(45% - 40px);
    min-width: 0;
}

body.page-id-46 .contact-reps-col h2 {
    font-size: 1.4rem;
    color: #0000ff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0000ff;
}

/* Individual rep cards */
body.page-id-46 .rep-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #0000ff;
    border-radius: 3px;
    margin-bottom: 16px;
    background: #f9f9ff;
}

body.page-id-46 .rep-card img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
    border-radius: 2px;
}

body.page-id-46 .rep-card-info h3 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0000ff;
    margin: 0 0 4px;
}

body.page-id-46 .rep-card-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 2px;
    font-variant: normal;
}

body.page-id-46 .rep-card-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    color: #333;
}

body.page-id-46 .rep-card-info a {
    color: #0000ff;
}

/* Map section */
body.page-id-46 .contact-map {
    padding: 0 32px 40px;
}

body.page-id-46 .contact-map img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    body.page-id-46 .contact-layout {
        flex-direction: column;
        padding: 24px 16px;
    }

    body.page-id-46 .contact-form-col,
    body.page-id-46 .contact-reps-col {
        flex: 0 0 100%;
        width: 100%;
    }

    body.page-id-46 .contact-hero {
        padding: 28px 16px;
    }

    body.page-id-46 .contact-map {
        padding: 0 16px 32px;
    }
}

/* =============================================
   Technical Service Page (page-id-200)
   ============================================= */

/* Hide theme-generated title */
body.page-id-200 .post_title {
    display: none;
}

/* Hero band */
body.page-id-200 .ts-hero {
    background: #0000ff;
    color: #fff;
    padding: 40px 32px;
}

body.page-id-200 .ts-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 6px;
}

body.page-id-200 .ts-hero p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    margin: 0;
}

/* Service cards grid */
body.page-id-200 .ts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 40px 32px;
}

body.page-id-200 .ts-card {
    border: 1px solid #e0e0e0;
    border-top: 4px solid #0000ff;
    border-radius: 3px;
    padding: 28px 24px;
    background: #fff;
}

body.page-id-200 .ts-card-icon {
    font-size: 2rem;
    color: #0000ff;
    margin-bottom: 12px;
}

body.page-id-200 .ts-card h2 {
    font-size: 1.25rem;
    color: #0000ff;
    margin: 0 0 6px;
    font-weight: 800;
}

body.page-id-200 .ts-card .ts-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

body.page-id-200 .ts-card .ts-tag {
    background: #eef;
    color: #0000cc;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

body.page-id-200 .ts-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 12px;
}

body.page-id-200 .ts-card ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.8;
}

/* CTA band */
body.page-id-200 .ts-cta {
    background: #f4f4ff;
    border-top: 3px solid #0000ff;
    padding: 36px 32px;
    text-align: center;
}

body.page-id-200 .ts-cta h2 {
    font-size: 1.4rem;
    color: #0000ff;
    margin-bottom: 10px;
}

body.page-id-200 .ts-cta p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

body.page-id-200 .ts-cta a.ts-btn {
    display: inline-block;
    background: #0000ff;
    color: #fff;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.2s;
}

body.page-id-200 .ts-cta a.ts-btn:hover {
    background: #0000cc;
}

/* Responsive */
@media (max-width: 768px) {
    body.page-id-200 .ts-grid {
        grid-template-columns: 1fr;
        padding: 24px 16px;
    }

    body.page-id-200 .ts-hero,
    body.page-id-200 .ts-cta {
        padding: 28px 16px;
    }
}

/* Laser Components page */
#products img{
    border:1px solid #0000ff;
}


.tribe-events-meta-group .tribe-events-single-section-title{
    color:#0000ff;
}
.tribe-events-start-date-label{
    color:#3333ff;
}
.tribe-events-event-image img{
    max-width:300px;
}

/* =============================================
   Products Page Styling
   ============================================= */
.product-section {
    padding: 20px 0;
}

.wp-block-media-text.product-section {
    gap: 40px;
    align-items: center;
}

.wp-block-media-text.product-section .wp-block-media-text__media img {
    border: 1px solid #ddd;
    border-radius: 2px;
}

.product-section h3 {
    color: #0000ff;
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.product-section .wp-block-list {
    margin-bottom: 16px;
}

.product-section .wp-block-list li {
    margin-bottom: 4px;
}

.product-section .wp-block-button__link {
    background: #0000ff;
    color: #fff;
    border-radius: 2px;
    padding: 8px 20px;
}

.product-section .wp-block-button__link:hover {
    background: #0000cc;
    color: #fff;
}

.wp-block-column.product-section {
    border: 1px solid #ddd;
    border-top: 3px solid #0000ff;
    padding: 20px !important;
    border-radius: 2px;
}

/* =============================================
   Home Page Styling
   ============================================= */
.home-intro {
    padding: 20px 0 10px;
}

.home-card {
    border: 1px solid #ddd;
    border-top: 3px solid #0000ff;
    padding: 24px 20px !important;
    border-radius: 2px;
    height: 100%;
    transition: box-shadow 0.3s;
}

.home-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.home-card h4 {
    color: #0000ff;
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.home-card .wp-block-button__link {
    background: #0000ff;
    color: #fff;
    border-radius: 2px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.home-card .wp-block-button__link:hover {
    background: #0000cc;
    color: #fff;
}

.home-cta {
    padding: 40px 30px !important;
    text-align: center;
    border-radius: 2px;
    margin-top: 10px;
}

.home-cta h3 {
    margin-bottom: 12px;
}

.home-cta .wp-block-button__link {
    background: #fff;
    color: #0000ff;
    border: 2px solid #fff;
    border-radius: 2px;
    padding: 10px 28px;
    font-weight: 700;
    transition: all 0.3s;
}

.home-cta .wp-block-button__link:hover {
    background: transparent;
    color: #fff;
}

/* =============================================
   Professional Footer Styling
   ============================================= */
.f_widget_wrap {
    padding: 40px 0;
}

.f_widget_wrap .f_widget_L,
.f_widget_wrap .f_widget_C,
.f_widget_wrap .f_widget_R {
    flex: 1;
    padding: 0 20px;
}

.footer-company h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.footer-company p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-company a {
    color: #0000ff !important;
    text-decoration: none;
}

.footer-company a:hover {
    text-decoration: underline;
}

.footer-nav {
    text-align: center;
}

.footer-nav h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #000 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #0000ff !important;
}

.footer-social {
    text-align: right;
}

.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #0077B5;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.footer-social a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: #fff;
}
#site_h .title_wrap{
    padding:0 5px !important
}
@media (max-width: 768px) {
    .f_widget_wrap {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    div.menu_box.absolute {
        position: relative !important;
    }

    #nav_h #menu_h .sub-menu a, .menu_h .sub-menu a {
        color:#ffffff;
    }
    #nav_h .menu_h .sub-menu li{
        background-color:inherit !important;
    }
    #site_h .title_wrap{
        padding:0 5px !important
    }

}

