:root {
  --background-light: #f5f5f5;
  --background-dark: #1A1A1A;
  --background-dark-rgb: 26, 26, 26;
  --primary: #c1292e;
  --primary-rgb: 193, 41, 46;
  --primary-dark: #a82327;
  --secondary: #F1D302;
  --secondary-rgb: 241, 211, 2;
  --secondary-dark: #c4aa00;
  --text: #111111;
  --blue: #6eb9ff;
  --blue-rgb: 35, 87, 137;
}

body { font-family:verdana,helvetica,arial,sans-serif; font-size:1em; background-color:white; overflow-x:clip; }

.white{ background-color: white; }
.white h1, .white h2, .white h3{ color:var(--text); }
.white h1{ border-bottom: 2px solid var(--primary) !important; }

.off-white{ background-color: var(--background-light); }
.off-white h1, .off-white h2, .off-white h3 { color:var(--text); }
.off-white h1{ border-bottom: 2px solid var(--primary) !important; }

.black{ background-color: var(--background-dark); }
.black h1, .black h2{ color: var(--secondary); }
.black p{color: white; }

h1 { margin-top: 0.67em; margin-bottom: 0.67em; font-size: 2.5em; text-shadow: 1px 1px 2px rgba(64, 64, 64, 0.1); color:var(--primary); border-bottom: 1px solid var(--primary); padding-bottom: 0.3em; }
h2 { margin-top: 0.67em; margin-bottom: 0.67em; font-size: 1.6em; text-shadow: 1px 1px 2px rgba(64, 64, 64, 0.1); color:var(--primary); }
h3 { margin-top: 0.67em; margin-bottom: 0.67em; font-size: 1.2em; text-shadow: 1px 1px 2px rgba(64, 64, 64, 0.1); }
h4 { color:var(--primary); }

p { margin-top:0.5em; margin-bottom:0.5em; }
li > p { margin-top:0.3em; margin-bottom:0.3em; }

a { text-decoration:none; color:#0000ee; }
a:visited { color:#0000ee; }
a:hover { text-decoration: underline; }

div.content > ul, .details ul { margin:0.5em 1em 0.5em 1em; padding-left:1.2em; }
div.content > ol, .details ol { margin:0.5em 1em 0.5em 1em; padding-left:1.2em; }

/* Page layout */
#cssmenu { z-index:10; }
main > div { background-image: white }
footer { background-color:var(--background-dark); color:white; }

.page { width:95%; margin-left:auto; margin-right:auto; max-width:1440px; line-height:1.22; }
.content { padding:20px; }
div.content { padding: 2em 0 3em 0; }

header{
  top: 0;
  position: sticky;
  height: fit-content;
  background-color: var(--background-dark);
  color: white;
  z-index: 9999;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  height: 80px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* Logo */
header .logo {
  max-width: 395px;
  flex-shrink: 1;
}

header .logo img{
  width: 100%;
  display: block;
}

/* Main Navigation */
.main-nav{
  height: 100%;
}

.main-nav > ul {
  display: flex;
  list-style: none;
  height:100%;
  gap: 1.5rem;
}

.main-nav ul li {
  display: block;
  position: relative;
  height: 100%;
}

.main-nav ul li a {
  display: flex;
  align-items: center;
  height: 100%;
  font-weight: bold;
  color: white;
  box-sizing: border-box;
  text-decoration: none;
  position: relative; 
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background-color: var(--secondary);
  transition: width 0.15s ease;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.submenu-open::after {
  width: 100%;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.submenu-open::after {
  width: 100%;
}

.main-nav ul li a,
.main-nav ul li a:hover,
.main-nav ul li a.submenu-open {
  border-bottom-color: transparent;
}
/* Dropdown */
.main-nav .has-sub ul {
  display: none;
  position: absolute;
  flex-direction: column;
  left: 0;
  height: fit-content;
  min-width: 180px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  z-index: 999;
}

.main-nav .has-sub:hover ul,
.main-nav .has-sub.active > ul {
  display: flex;
}

.main-nav .has-sub > ul li a {
  padding: 0.75rem 1rem;
  white-space: nowrap;
  color: #333;
}

.main-nav .has-sub > ul li a:hover {
  background-color: #f0f0f0;
}

/* Mobile Nav */
.mobile-toggle {
  display:none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.icon-close {
  display: none;
}

.mobile-toggle.active .icon-open {
  display: none;
}

.mobile-toggle.active .icon-close {
  display: inline;
}

.mobile-nav > ul {
  display: none;
  flex-direction: column;
  width: 100%;
  background-color: var(--background-dark);
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.mobile-nav li a{
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: white;
  list-style: none;
  display: inline-block;
  width: 100%;
}

.mobile-nav .has-sub li a{
  display: inline-block; 
  padding: 0.75rem 2rem;
  text-decoration: none;
  color: black;
  list-style: none;
  width: 100%;
}

.mobile-nav .has-sub > ul li a:hover {
  border: none;
  background-color: #f0f0f0;
}

.mobile-nav > ul.open {
  display: none;
}

/* Submenu default state */
.mobile-nav .has-sub ul {
  display: none;
  position: static; /* stack under parent */
  box-shadow: none;  
  height: fit-content;
}

/* When opened via JS */
.mobile-nav .has-sub ul.open {
  display: flex;
  flex-direction: column;
  background-color: white;
}

.toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}

/* Rotated when open */
.toggle-arrow.rotated {
  color: var(--secondary);
  transform: rotate(180deg);
}

/* Right tools (lang + CTA) */
.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  height:100%;
  flex-shrink: 0;
}

/* Language */
.lang-group{
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  height: 100%;
  padding: 0;
  gap: 5px;
  box-sizing: border-box;
  border-bottom: 4px solid transparent;
  top: 2px;
  text-decoration: none;
}

.lang-group.active {
  border-bottom-color: var(--secondary);
}

.lang-group ul li a.lang{
  cursor: default;
}

.lang-group p{
  text-transform: uppercase;
  font-weight: bold;
}

.lang-icon {
  width: 40px;
  height: 40px;
}

/* Dropdown */
.lang-group ul{
  display: none;
  position: absolute;
  flex-direction: column;
  top: calc( 100% + 4px );
  right: 0;
  height: fit-content;
  min-width: 180px;
  list-style: none;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  z-index: 999;
}

.lang-group ul li a{
  padding: 7.5% 10%;
  width: 80%;
  display: inline-block;
  white-space: nowrap;
  color: #333;
}

.lang-group ul li a:hover{
  text-decoration: none;
  background-color: #eee;
}

.lang-group .goog-te-gadget { 
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 80%;
}
.lang-group .goog-te-combo { 
  width: 120%;
}

/* CTA button */
.cta-button {
  padding: 0.6rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  background-color: var(--secondary);
  color: var(--text);
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: var(--secondary-dark);
  color: var(--text);
  text-decoration: none;
}

.cta-button:visited{
  color: var(--text);
}

/* Responsive tweaks */

/* When the desktop nav is visible and space is tight, clip to icon only */
@media (max-width: 1250px) {
  header .logo {
    overflow: hidden;
    max-width: 125px;
  }

  header .logo img {
    width: 395px;
  }
}

@media (max-width: 1100px) {
  .main-nav ul {
    display: none;
    position: absolute; /* No more sticky */
    flex-direction: column;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
  }
  
  .main-nav.open ul {
    display: flex;
  }
  
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  header .mobile-toggle{
    display: block;
  }

  .mobile-nav > ul.open {
    display: flex;
  }

  /* Mobile mode: nav is gone so logo has room — switch back to proportional scaling */
  header .logo {
    overflow: visible;
    max-width: 395px;
  }

  header .logo img {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .header-tools{
    gap: 0.5rem;
  }
}


/* At very small sizes clip back to icon only */
@media (max-width: 780px) {
  header .logo {
    overflow: hidden;
    max-width: 125px;
  }

  header .logo img {
    width: 395px;
  }
}

@media (max-width: 420px) {
  .cta-button{
    display: none;
  }
}

/* Language bar styling */
#langbar { background: -moz-linear-gradient(to top, #32323a 0%, var(--background-dark) 100%); color:#000; float:right; padding:0px 6px 0px 6px; border-radius: 0 0 5px 5px; font-size:0.85em; }
#langbar > * { vertical-align:middle; }
#langbar > span > a { color:white; }
#langbar > span > a:visited { color:white; }

#latestver a { color:var(--secondary); }
#latestver a:visited { color:var(--secondary); }

footer h3 { font-size:1.1em; color:inherit; font-style:inherit; }
footer a { color:var(--secondary); }
footer a:visited { color:var(--secondary); }
footer ol, footer ul { padding-left:0; }

/* Default table styles */
table { border:1px solid var(--secondary); background-color: white; border-collapse: collapse; margin-top: 0.8em; margin-bottom: 0.8em;}
thead tr th { background: var(--secondary);
        background: linear-gradient(to bottom, var(--secondary) 0%, white 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='var(--secondary)', endColorstr='white'); }
thead, tbody { vertical-align:middle; }
tr, td, th { vertical-align:inherit; }
td, th { border:1px solid var(--secondary); padding: 0.4em;}
th span.regular { font-weight: normal; font-style: normal; } /* Used in header cells to remove bold */

/* Page elements */
#header-title { height:80px; padding-top:20px; padding-bottom:20px; }
#latestver { float:right; padding:18px; }


.banner { width:1160px; height:480px; position:relative; overflow:hidden; }
.banner-container { height: 480px; margin:auto; margin-bottom:30px; position:relative; }
.tp-bannershadow.tp-shadow1 { height:40px; bottom:-40px; }
.banner a, .banner a:hover, .banner a:visited { color:#000000; }
.banner h1, .banner h2 { font-size: 2.0em; color:var(--primary); border:0; }
.banner h3 { font-size: 1.4em; color:var(--primary); }
.banner h3 a { color:inherit; }


.news-ticker { background-color:var(--secondary); margin:0 30px 0 30px; position:relative; padding:6px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
.news-ticker a, .news-ticker a:hover, .news-ticker a:visited { color:#000000; }
.news-ticker:before, .news-ticker:after { content: ""; position: absolute; top: 0px; bottom: 0px; width: 30px; }
.news-ticker:before { left: -30px; 
                      background: var(--secondary);
                      background: linear-gradient(to left, var(--secondary) 0%, rgba(255,234,16,0) 100%); }
.news-ticker:after { right: -30px;
                     background: var(--secondary);
                     background: linear-gradient(to right, var(--secondary) 0%, rgba(255,234,16,0) 100%); }

.infobox { width:40%; padding:16px; white-space:normal; line-height:17px;
           background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAAA1BMVEX+6Q8HIzY0AAAAAXRSTlPyE1VLVgAAABVJREFUeF7NwIEAAAAAgKD9qdeocAMAoAABm3DkcAAAAABJRU5ErkJggg==);
           background:rgba(255,234,16,0.95); }
.caption > .feature { width:400px; padding:16px; white-space:normal;
                      background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAAA1BMVEX+/v7IGnAoAAAAAXRSTlPyE1VLVgAAABVJREFUeF7NwIEAAAAAgKD9qdeocAMAoAABm3DkcAAAAABJRU5ErkJggg==);
                      background:rgba(255,255,255,0.95); }
.caption > .feature > img { width:100%; }

.gallery { float:right; width:50%; margin-left:30px; overflow:hidden; }
.gallery img { max-width:100%; height:350px; }
.videos { float:right; width:20%; }

.clear { clear:both; }
.clearfix:after { display:block; content:""; clear:both; }

.fNav-tabs { position:relative; top:0px; color:white; }
.fNav-tabs.stuck { position:fixed; top:90px; } /* 90px is header height */
.fNav-tabs a { color:#eee;  }

.fNav-tabs ul { display:block; float:left; width:180px;  background-color:#323232; }
.fNav-tabs li { display:block; list-style:none outside none; line-height:1.3; border-bottom:1px dotted black; }
.fNav-tabs li:last-child { border-bottom:none; }
.fNav-tabs li.active { position:relative; border-bottom:1px solid #fff7cc;
                       background: var(--secondary);
                       background: linear-gradient(to bottom, var(--secondary) 0%, white 100%);
                       filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='var(--secondary)', endColorstr='white'); }
.fNav-tabs li:hover { background-color:#424242; }
.fNav-tabs li a { display:block; padding:0.8em 1em; }
.fNav-tabs li.active a { color:#000; }
.fNav-tabs li.active:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 0;
  top: 50%;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--secondary);
  margin-top: -10px;
  margin-right: -20px;
}

.fNav-content { margin-left:200px; }

.fBox { border:1px solid #fff7cc; margin-bottom:1.5em; background-color:white; padding-bottom:0.5em; }
.fBox > h3 { display:block; padding:0.5em 0.8em 0.8em 0.8em; margin-top:0; margin-bottom:0;
             background: var(--secondary);
             background: linear-gradient(to bottom, var(--secondary) 0%, white 100%);
             filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='var(--secondary)', endColorstr='white'); }
.fBox > .details { padding:0.5em 1em 0.5em 1em; overflow:auto; }
.fBox > .details .gallery { width:auto; }
.fBox > .details .gallery img { height:auto; }
.fBox .label { display:inline-block; width:100px; }

.floatleft { display:block; float:left; }

.partner { clear:both; }
.partner:after { content:''; display:block; clear:both; }
.partner .floatleft > a { display:inline-block; width:300px; vertical-align:top; }
.partner .details { display:inline-block; width:300px; margin-left:20px; vertical-align:top; }
.partner .quote { display:inline-block; clear:both; margin-left:20px; max-width:500px; }
.partner blockquote { font-size:0.9em; padding-right:15px; }

article.news > span.date { float:right; padding:0.9em;
                           /* Required only for IE because the use of IE's crappy filters on the h3 make its width incorrect, leaving a white patch under the float */
                           filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='var(--secondary)', endColorstr='white'); }

dl.faq { margin:1em 0 1em 0; }
dl.faq > dt { font-weight:bold; }
dl.faq > dd { margin-left:2em; margin-bottom:0.5em;}

.twocelltable { display:table; width:100%; border-spacing:10px; }
.twocelltable > .fBox { /* display:table-cell; */ width:50%; }

.contact { max-width:100%; }
.contact .required { font-weight:bold; color:var(--darkred); }
.contact td, .contact th { border:0;}
.contact > tbody > tr > td > input[type=text], .contact > tbody > tr > td > select { min-width:350px; }
.contact textarea { max-width:1000px; }
.contact textarea[name=message] { min-width:500px; min-height:120px; }
.contact textarea[name=address] { min-width:350px; min-height:80px; }
.contact .invalidfield { background-color:#ffd6d7; }
.contact .hide { display:none; }
.contact .loading { display:none; background:url('/static/images/loader.gif') 0 0 no-repeat; width:24px; height:24px; vertical-align:middle; }
.results, .results span { display:none; }
.results .succeeded { color:Green; }
.results .mailFailed { color:Red; }
.results .invalidCaptcha { color:Red; }
.results .invalidFields { color:Red; }
.results .failed { color:Red; }

.ui-widget { font-family:inherit; font-size:inherit; }

.video-thumb { display:inline-block; width:240px; height:135px; position:relative; margin:10px 20px 10px 0; }
.video-thumb > .title { position:absolute; width:100%; background-color:var(--primary); background-color:var(--primary-dark); color:white; font-size:14px; }
.video-thumb > .title > p { margin:5px; }
.video-thumb > img { width:240px; height:135px; position:absolute; }
.video-thumb > img.play { opacity:0.5; }
.video-thumb:hover > img.play { opacity:1; }

.video { margin:30px 10px 10px 10px; }

input[type=submit], a.button, button 
{
    display:inline-block;
    padding: 4px 12px;
    font-size:14px;
    margin-top: 8px;
    margin-bottom: 8px;
    cursor:pointer;
    vertical-align: middle;
    line-height: 20px;
    color: white;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #006dcc;
    background-image: linear-gradient(to bottom, #0088cc, #0044cc);
    background-repeat: repeat-x;
    border: 1px solid #cccccc;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-radius:4px;
}
input[type=submit]:hover, a.button:hover, button:hover 
{
    text-decoration:none;
    color: white;
    background-color: #0044cc;
    background-position: 0 -15px;
    transition: background-position 0.1s linear;
} 

  .explore-button {
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: fit-content;
    gap: 20px;
    padding: 15px 25px;
    border-radius: 7px;
    font-weight: bold;
    text-decoration: none;
    color: black !important;
    border: 1px solid black;
    opacity: 0.9;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-size: 0.85em;
  }

  .explore-button i {
    transition: transform 0.2s ease-in-out;
    font-size: 20px;
    color: inherit !important;
  }

  .explore-button:hover {
    opacity: 1;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
  }

  .explore-button:hover i {
    transform: translateX(10px);
  }

#tabs { background:#fec; }
.ui-tabs-vertical { width:75%; height:600px; }
.ui-tabs-vertical .ui-state-default { background:none; }
.ui-tabs-vertical .ui-state-active { background:white; }
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width:150px; background:none; border:0;}
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width:100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; white-space:normal; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; width:125px; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 1em; float: right; width: 40em;}

footer nav { max-width:1160px; margin-left:auto; margin-right:auto; display:table; }
footer nav div { display:table-cell; vertical-align:top; padding:0 15px 20px 15px; }
#copyright { text-align:center; font-size:0.85em; }
#pagegen { text-align:center; font-size:0.7em; color:transparent; }

/* Slider stuff */
.bx-vertical { overflow:hidden; }
.bx-container 
{
    -moz-box-shadow: 0 0 5px #ccc;
    -webkit-box-shadow: 0 0 5px #ccc;
    box-shadow: 0 0 5px #ccc;
    /*border: solid #fff 5px;*/
}

/* Override the border applied inside bxSlider, because for a fixed size
   scroller, we provide the border on the outside */
.bx-container .bx-wrapper .bx-viewport {
	-moz-box-shadow: 0;
	-webkit-box-shadow: 0;
	box-shadow: 0;
	border: 0;
	left: 0px;
	background: white;
}

/* Testimonials */
#testimonials { float:right; width:40%; min-width: 200px; height:250px; margin:10px 0 10px 10px; }

blockquote {
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    margin: 0.25em 0;
    padding: 0.25em 50px;
    line-height: 1.45;
    position: relative;
    color: #383838;
}

blockquote:before {
    display: block;
    content: "\201C";
    font-size: 80px;
    position: absolute;
    left: 0px;
    top: -20px;
    color: var(--darkred);
}

blockquote cite {
    color: var(--primary);
    font-size: 14px;
    display: block;
    margin-top: 5px;
}
 
blockquote cite:before {
    content: "\2014 \2009";
}

.placeholder { background:url('/static/images/placeholder.png') no-repeat center scroll; background-size:cover; border: 2px Solid Red; }
.desktop-hide { display:none; }

@media (max-width: 480px) {
  /* .mobile-hide { display:none; } */
  /* .desktop-hide { display:initial; } */

  html, body { overflow-x:clip; }

  header{ position: static; }

  /* header { height:134px; } */
  /* #header-title { padding-top:30px; height:53px; padding-bottom:10px; }
  #header-title img { width:100%; } */
  #latestver { display:none; }

  #cssmenu { height: 40px; }
  #cssmenu a { padding: 0 11px; line-height:40px; }
  #cssmenu .has-sub ul { position: absolute; left: -35px; }

  .content { padding:10px; }
  div.content > ul, .details ul { margin:0.5em 0em 0.5em 0em; padding-left:1.2em; }

  .gallery { margin-left:0; float:none; width:100%; }
  .gallery img { height:auto; }

  .fNav-tabs { display:none; }
  .fNav-content { margin-left:0; }

  .twocelltable > .fBox { width:100%; display:block; }

  .contact > tbody > tr > td { display:block; }
  .contact > tbody > tr > td > input[type=text], .contact > tbody > tr > td > select { min-width:250px; width:98%; }
  .contact textarea[name=message] { min-width:250px; width:98%; }
  .contact textarea[name=address] { min-width:250px; width:98%; }

  #testimonials { float:none; width:auto; margin-left:0; }
  
  .banner {width:100%; height:480px; }
  .banner-container { width: auto; margin-left:-20px; margin-right:-20px; margin-top:-10px; }

  .infobox { width:250px; }
  .infobox h1, h2 { line-height:1.0em; }
  .caption > .feature { width:250px; }
  .caption > .feature img { width:250px !important; height:auto !important; }

  footer nav { margin-left:0; margin-right:0; display:block; }
  footer nav div { display:block; padding:0 0 20px 0; }
  
  .hero-section img {
    max-height: fit-content;
    min-width: 100% !important;
    margin: auto;
  }
  
  .hero-section{
    flex-direction: column;
    flex-flow: column-reverse;
    margin: 0;
    max-width: none;
  }
  
  .hero-section .content{
    padding: 0;
    max-width: none;
  }

  .quick-value-content.active{
    flex-direction: column;
  }

  .ed-compare { height: 220px !important; }
  .ed-slideshow { height: 200px !important; }
  .ed-form-row { flex-direction: column; gap: 0; }
  .ed-form-services { flex-direction: column; }
  .ed-form-footer { flex-direction: column; align-items: flex-start; }

  .testimonial-carousel.swiper {
    width: 95% !important;
  }

  .testimonial-carousel .swiper-slide {
    width: 88% !important;
    padding: 20px !important;
  }

  .testimonial-section .text {
    font-size: 15px !important;
    line-height: 22px !important;
  }

  .testimonial-section .prev,
  .testimonial-section .next {
    display: none;
  }

  .logo-carousel img {
    height: 48px;
  }

  .case-study .case-descriptors {
    gap: 15px;
    margin: 10px 5px;
  }

  .demo-container {
    margin-left: 0;
    margin-right: 0;
    gap: 20px;
  }

  .demo-container p {
    font-size: 1.1em;
    padding-bottom: 2%;
  }

  .demo-form {
    padding: 12px;
    box-sizing: border-box;
  }

  .ed-service-option {
    font-size: 0.8em;
    padding: 0.4em 0.75em;
  }

  .trial-options label {
    flex: 0 0 auto !important;
    min-width: 0;
    width: 100%;
  }

  .hero .explore-products{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero .explore-products::-webkit-scrollbar{
    display: none;
  }

  .ed-product-hero-inner {
    flex-direction: column-reverse;
    padding: 24px 16px;
    gap: 16px;
  }

  .ed-product-hero h1 {
    font-size: 1.8em;
  }

  .ed-product-hero-media {
    display: none;
  }

  .ed-product-overview {
    flex-direction: column;
  }

  .ed-product-sidenav {
    display: none;
  }

  .ed-product-features-bar {
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
  }

  .ed-product-pillbar {
    display: block !important;
    position: static;
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
  }

  .ed-product-features-content {
    padding: 16px;
  }

  .ed-product-feature-body,
  .ed-product-feature-body.reverse {
    flex-direction: column-reverse !important;
  }

  .ed-product-feature-img {
    width: 100% !important;
  }

  .ed-product-feature-img img {
    max-height: 220px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
}

@media (min-width: 481px) and (max-width: 1279px){
  html, body { overflow-x:clip; }

  header{ position: static; }
  /* header { height:170px; }
  #header-title { padding-top:30px; height:89px; padding-bottom:10px; }
  #header-title img { width:100%; max-width:700px } */
  #latestver { display:none; }

  #cssmenu { height: 40px; }
  #cssmenu a { padding: 0 11px; line-height:40px; }
  #cssmenu .has-sub ul { position: absolute; left: -35px; }

  .content { padding:10px; }
  div.content > ul, .details ul { margin:0.5em 0em 0.5em 0em; padding-left:1.2em; }

  .gallery { margin-left:0; float:none; width:100%; }
  .gallery img { height:auto; }

  .fNav-tabs { display:none; }
  .fNav-content { margin-left:0; }

  .twocelltable > .fBox { width:100%; display:block; }

  #testimonials { float:none; width:auto; margin-left:0; }

  .banner {width:100%; height:480px; }
  .banner-container { width: auto; margin-left:-30px; margin-right:-30px; margin-top:-10px; }

  .caption > .feature { width:320px; }
  .caption > .feature img { width:270px !important; height:auto !important; }

  .hero-section{
    align-items: center;
    min-width: 80%;
    flex-direction: column;
    flex-flow: column-reverse;
    max-width: auto;
    margin: 0;
  }

  .hero-section .content{
    padding-top: 0;
  }

  .hero-section img {
    max-height: fit-content;
    min-width: 95%;
  
  }

  .demo-container p {
    font-size: 1.2em;
  }

  .testimonial-carousel.swiper {
    width: 95%;
  }

  .testimonial-carousel .swiper-slide {
    width: 88% !important;
    padding: 20px !important;
  }

  .testimonial-section .text {
    font-size: 16px !important;
    line-height: 24px !important;
  }

  .testimonial-section .prev,
  .testimonial-section .next {
    font-size: 28px;
  }

  .logo-carousel img {
    height: 42px;
  }

  footer nav {
    display: flex;
    flex-wrap: wrap;
  }

  footer nav div {
    display: block;
    min-width: 130px;
  }

  .case-study .case-descriptors {
    gap: 15px;
  }

  .hero .explore-products{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ed-product-hero-inner {
    flex-direction: column-reverse;
    padding: 32px 0;
    gap: 24px;
  }

  .ed-product-hero-media img {
    max-height: 220px;
  }

  .ed-product-overview {
    flex-direction: column;
  }

  .ed-product-sidenav {
    display: none;
  }

  .ed-product-features-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
  }

  .ed-product-pillbar {
    display: block !important;
    position: sticky;
    top: 36px;
    z-index: 99;
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
  }

  .ed-product-feature-body,
  .ed-product-feature-body.reverse {
    flex-direction: column-reverse !important;
  }

  .ed-product-feature-img {
    width: 100% !important;
  }

  .ed-product-feature-img img {
    max-height: 220px !important;
    width: auto !important;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }

  .ed-product-feature-section {
    scroll-margin-top: 80px;
  }

}

.video-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-button {
  background-color: var(--background-dark);
  background-image: linear-gradient(to bottom, #32323a, var(--background-dark));
  color: white;
  border: none;
  border-radius: 0 0 5px 5px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  width: 200px;
  margin: 0;
}

.video-button:hover,
.video-button.active-video {
  background-color: var(--background-dark);
  background-image: linear-gradient(to bottom, #26262c, var(--background-dark));
  text-decoration:none;
  color: white;
  background-position: 0 -15px;
  transition: background-position 0.1s linear;
}

.video-buttons-container {
  display: flex;
  justify-content: flex-end;
}

.demo-container{
  margin-left: 2%;
  margin-right: 2%;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.demo-container h2 {
  font-size: x-large;
  border-bottom: 1px solid var(--primary);
  border-bottom: 0px;
}

.demo-container p {
  max-width: 95%;
  font-size: 1.5em;
  padding-bottom: 3%;
}

.demo-container p[type="important"] {
  font-weight: bold;
}

.demo-container p[type="minor"] {
  font-size: 1em;
  padding-bottom: 0;
}

.demo-container ul {
  padding-left: 5%;
  padding-bottom: 3%;
}

.demo-container ul li {
  padding-top: 3%;
  margin-left: 3%;
  font-size: medium;
}

.demo-container .demo-description {
  flex: 1;
  max-width: 50%;
  gap: 10px;
  color: var(--text);
}

/* Responsive Layout */
@media (max-width: 1200px) {
  .demo-container {
    flex-direction: column;
    align-items: center;
  }
  .demo-container .demo-description,
  .demo-container .demo-form {
    max-width: 100%;
    min-width: 0;
  }
}

/* Form Styling */
.demo-form {
  flex: 1 1;
  justify-content: center;
  max-width: 50%;
  min-width: 45%;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.demo-form label {
  font-size: medium;
  margin-left: 1%;
  margin-bottom: 1%;
}

.demo-form input,
.demo-form textarea {
  resize: none;
  padding: 10px;
  margin-bottom: 1%;
  border-radius: 4px;
}


.demo-form input[type="submit"] {
  width: 100%;
  height: 48px;
  background: var(--primary);
  color: white;
  font-weight: bold;
  font-size: large;
  cursor: pointer;
}
.demo-form input[type="submit"]:hover {
  background: var(--primary-dark);
}

.demo-form .loading {
  display: none;
  width: 24px;
  height: 24px;
  background: url('/static/images/loader.gif') no-repeat center center;
}

.demo-form .captcha {
  width: 100%;
  margin-bottom: 1%;
  display: flex;
  justify-content: center;
}

.trial-software-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2%;
  font-size: 16px;
  padding-bottom: 2%;
}

.trial-options {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trial-options label {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 45%;
}

.downloads-section{
  margin: 2% 4%;
}

/* Downloads Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

.card {
  /* border: 1px solid var(--primary); */
  max-width: 400px;
  border-radius: 8px;
  background: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 2px 4px 20px rgba(0, 0, 0, 1);
}

.card img {
  width: 100%;
  max-height:  180px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  object-fit: cover;
}

.card hr {
  margin: 0;
  border-top: 3px solid var(--primary);
}

.card .text-content {
  padding: 0 4% 1%;
  flex-grow: 1;
}

.card h3 {
  margin-top: 0.5rem;
  color: var(--primary);
}

.card a {
  color: #006adb;
  padding: 0 0 4% 4%;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

.hero {
  z-index: 0;
  position: relative;
  width: 100%;
  height: fit-content;
  overflow: hidden;
  background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(30, 30, 30, 1) 100%);
}

.hero-section {
  z-index: 1;
  display:flex;
  min-width: none;
  min-height: 500px;
  border-radius: 25px;
  filter:none;
}

.hero-section .content{
  display: flex;
  flex-direction: column;
  /* max-width: 45%; */
  gap: 15px;
  z-index: 1;
  flex: 1;
}

.hero-section img{
  display: flex;
  /* flex: 1 1; */
  width: 55%;
  height: fit-content;
}

.hero-section h1{
  margin-bottom: 0;
  border-bottom: 0;
  font-size: 40px;
  color: white;
}

.hero-section p{
  margin: 0.5em 2%;
  font-size: 25px;
  color: white;
}

.hero-section .cta-container{
  display: flex;
  padding: 1.5% 2%;
  gap: 5%;
  font-size: 16px;
  font-weight: 600;
}

.hero-section a{
  padding: 16px 24px;
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: 0.5em;
  text-decoration: none;
  text-align: center;
  color: black;
  transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
  cursor: pointer;
  opacity: 0.9;
}

.hero-section a:hover{
  opacity: 1;
  color: black; 
  transform: scale(1.05);
  text-decoration: none !important;
}

.hero-section a:nth-child(even){
  background-color: rgba( 0, 0, 0, 0.2 );
  border: 2px solid white;
  color: white;
}

.hero-section a:nth-child(even):hover{
  background-color: rgba( 255, 255, 255, 0.1);
  color: white;
}

.hero .explore-products{
  display: flex;
  gap: 30px;
  padding-bottom: 2%;
}

.hero .explore-products a{
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  transition: transform ease-in-out 0.2s;
}

.hero .explore-products a:hover{
  transform: scale(1.05);
  text-decoration: none;
}

.hero .explore-products a h2{
  font-size: small;
  padding-left: 5%;
  color: white;
}

.hero .explore-products a img{
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 15px;
}

.testimonial-section {
  position: relative;
  text-align: center;
}

.testimonial-section h2{
  border-bottom: 0;
  color: white;
}

.testimonial-carousel {
  position: relative;
  list-style: none;
}

.testimonial-carousel .swiper-wrapper {
  display: flex;
}

.testimonial-carousel.swiper {
  width: 80%;
  padding: 2% 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-carousel .swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 75%;
  height: auto;
  padding: 60px 40px 20px 40px;
  box-sizing: border-box;
  background: var(--background-dark);
  border: 1px solid white;
  border-radius: 8px;
  cursor: grab;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.swiper-slide-prev,  .swiper-slide-next{
  transform: scale(0.9) !important;
}

.testimonial-section .content h1{
  position: absolute;
  top: 0;
  left: 2%;
  margin: 0 0;
  font-size: 50px;
  color: var(--secondary);
  border-bottom: none;
}

.testimonial-section .text {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 28px;
}

.testimonial-section .author {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 16px;
}

.testimonial-section .company {
  font-size: 14px;
}

.testimonial-section .prev,
.testimonial-section .next {
  position: absolute;
  top: 50%;
  z-index: 10;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 40px;
  color: var(--secondary);
  cursor: pointer;
  transition: color ease-in-out 0.2s;
}

.testimonial-section .prev:hover,
.testimonial-section .next:hover {
  background: none;
}

.testimonial-section .prev {
  left: 5%;
}

.testimonial-section .next {
  right: 5%;
}

.testimonial-section .pagination {
  color: black !important;
}

.swiper-pagination-bullet{
  transform: scale(1.4);
  transition: background ease-in-out 0.2s, opacity ease 0.2s;
  opacity: 1;
  background: gray !important;
}

.swiper-pagination-bullet-active {
  background: var(--secondary) !important;
}

.logo-carousel {
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
  overflow: hidden;
  background: transparent;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 25%, black 80%, transparent);
  mask-repeat: no-repeat;
  mask-size: 100% 10 0%;
}

.logo-track {
  display: flex;
  gap: 30px;
  will-change: transform;
  animation: scroll 180s linear infinite;
}

.logo-carousel img {
  flex-shrink: 0;
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.logo-carousel img:hover { 
  opacity: 1;
}

.case-study{
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: auto;
  text-align: center;
}

.case-study h1{
  margin-top: 0px;
}

.case-study p{
  text-align: left;
  font-size: medium;
}

.case-study strong{
  border-bottom: 2px solid #F1D302;
}

.case-study .use-case-container{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 500px;
  margin: auto;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
}

.case-study .use-case-container h1{
  border: none !important;
}

.case-study .case-text{
  flex: 1 1;
  box-sizing: border-box;
  height: auto;
  padding: 2em 1.5em;
  background-color: rgba(0,0,0,0.8);
  border-radius: 15px 0 0 15px;
  text-align: left;
}

.case-study .case-text h3{
  font-size: 1.8em;
  color: white;
}

.case-study .case-text p{
  margin-left: 2%;
  color: white;
}

.case-study .cta-button {
  left: 0;
  display: flex;
  flex: 1 1;
  justify-content: flex-end;
  box-sizing: border-box;
  margin-top: auto;
  padding: 0.75em 2em;
  background: none;
  background-image: linear-gradient(to right, rgba(0,0,0,0.8) 30%, rgba(0,0,0,1) 70%);
  text-decoration: none;
  border-radius: 0 0 15px 0;
  color: #fff;
  transition: color 0.2s ease-in-out;
}

.case-study .cta-button i {
  padding: 0 0 0 15px;
  font-size: larger;
  transition: transform 0.2s ease-in-out;
}

.case-study .cta-button:hover {
  color:var(--secondary);
}

.case-study .cta-button:hover i {
  transform: translateX( 10px );
}

.case-study .case-descriptors{
  display: flex;
  flex-wrap: wrap;
  margin: 3% 2%;
  gap: 3%;
  align-items: center;

  text-align: left;
}

.case-study .case-descriptors .descriptor{
  flex: 1;
  height: stretch;  
  box-sizing: border-box;
  min-width: 200px;
  align-self: stretch;
  padding: 0.5% 1.5%;
  background: white;
  border-radius: 5px;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.8);
}
 
.case-study .case-descriptors .descriptor .fa-solid{
  font-size: x-large;
  color: var(--background-dark) !important;
}

.case-study .case-descriptors .descriptor h3{
  color: black;
}

.case-study-page{
  max-width: 1000px;
  margin: auto;
  font-size: large;    
}

.case-study-page .hero{
  position: relative; 
}

.case-study-page .hero-logo{
  position: absolute;
  translate: -50% -50%;
  top: 30%;
  left: 50%;
  width: 20%;
}

.case-study-page h1{
  font-size: xx-large;
  border: none;
}

.case-study-page h2{
  margin: 2% 2%;
  font-size: larger;
  font-weight: bold;
  color: black;
}

.case-study-page h3{
  margin: 2% 2%;
  font-size: large;
  font-weight: normal;
}

.case-study-page p{
  margin: 2% 4%;
}

.case-study-page ul li{
  margin: 2% 6%;
}

.case-study-page img{
  display: flex;
  width: 92%;
  max-width: 1000px;
  height: auto;
  margin: auto;
}

.case-study-page .logo{
  width: auto;
}

.ed-page-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.4em;
    margin-bottom: 0.5em;
}
.ed-page-header h1 {
    border-bottom: none !important;
    margin-bottom: 0.1em;
    padding-bottom: 0;
}
.ed-subtitle {
    margin: 0 0 0.8em 0;
    font-weight: bold;
    font-size: 1.2em;
}
.ed-page-header .ed-subtitle {
    margin: 0;
}
.ed-section {
    padding: 1em 0;
    border-bottom: 1px solid #e0e0e0;
}
.ed-section--flush-top {
    padding-top: 0;
}
.ed-section:last-of-type {
    border-bottom: none;
}
.ed-section::after {
    content: '';
    display: block;
    clear: both;
}

.ed-lead {
    font-size: 1.15em;
    line-height: 1.6;
    color: #2a2a2a;
    margin-bottom: 1.2em;
}

.ed-callout {
    border-left: 4px solid var(--primary);
    background: #f9f9f9;
    padding: 0.8em 1.2em;
    margin: 1.2em 0;
    font-size: 1.05em;
    color: #222;
    overflow: hidden;
}

.ed-service-list {
    list-style: none;
    padding: 0;
    margin: 0.8em 0 1.2em 0;
}
.ed-service-list li {
    padding: 0.25em 0.5em 0.25em 1.4em;
    position: relative;
}
.ed-service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.ed-training-table {
    border: none;
    border-collapse: collapse;
    background: none;
    margin: 1em 0 1.5em 0;
    min-width: 320px;
}
.ed-training-table td {
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75em 1.5em 0.75em 0;
    font-size: 0.95em;
}
.ed-training-table td:last-child {
    padding-right: 0;
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
}
.ed-training-table tr:last-child td {
    border-bottom: none;
}

.ed-course-list {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    max-width: 520px;
    margin: 1em 0 1.5em 0;
}
.ed-course-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em 1.2em;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fafafa;
}
.ed-course-row-name { font-weight: 500; }
.ed-course-row-duration {
    font-weight: bold;
    white-space: nowrap;
    margin-left: 1em;
}

.ed-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2em;
    margin: 1.2em 0;
    align-items: start;
}
.ed-course-card-body {
    flex: 1;
}
@media (max-width: 1000px) {
    .ed-course-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ed-course-grid { grid-template-columns: 1fr; }
}
.ed-course-card {
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}
.ed-course-card:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.ed-course-card-img {
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0,0,0,0.125);
}
.ed-course-card-body {
    padding: 1.25em;
}
.ed-course-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
}
.ed-course-card-name {
    font-weight: bold;
    font-size: 1.05em;
}
.ed-course-card-chevron {
    color: #999;
    font-size: 0.85em;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.ed-course-card.open .ed-course-card-chevron {
    transform: rotate(180deg);
}
.ed-course-card-desc {
    font-size: 0.9em;
    color: #444;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, margin-top 0.35s ease;
}
.ed-course-card.open .ed-course-card-desc {
    max-height: 500px;
    margin-top: 0.75em;
}
.ed-course-card-duration,
.ed-course-card-footer {
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0 1.25em 1em 1.25em;
    color: #6c757d;
    font-size: 0.88em;
}

.ed-inline-img {
    float: right;
    width: 38%;
    margin: 0.2em 0 1em 1.8em;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: block;
}

.ed-slideshow {
    position: relative;
    overflow: hidden;
    height: 480px;
}
.ed-slideshow img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}
.ed-slideshow img.active {
    opacity: 1;
}

.ed-slideshow--landscape {
    height: 300px;
}

.ed-slideshow--landscape img {
    object-fit: contain;
}

.ed-split {
    display: flex;
    gap: 2.5em;
    align-items: flex-start;
    margin-bottom: 1.5em;
}
.ed-split-text { flex: 1; }
.ed-split-media {
    width: 40%;
    flex-shrink: 0;
}
.ed-split-media > img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    object-fit: cover;
    max-height: 300px;
}

.ed-steps { margin: 0.3em 0 1.5em 0; }
.ed-step {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    margin-bottom: 0.9em;
}
.ed-step-num {
    flex-shrink: 0;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}
.ed-step > p { margin: 0.25em 0 0 0; }

.ed-image-row {
    display: flex;
    gap: 1em;
    margin: 1.5em 0 0 0;
}
.ed-image-row img {
    flex: 1;
    min-width: 0;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.15);
    display: block;
}

.ed-compare {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: col-resize;
    user-select: none;
    -webkit-user-select: none;
    height: 340px;
}
.ed-compare-before,
.ed-compare-after {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.ed-compare-before { clip-path: inset(0 50% 0 0); }
.ed-compare-after  { clip-path: inset(0 0 0 50%); }
.ed-compare-before img,
.ed-compare-after img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ed-compare-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    pointer-events: none;
    box-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.ed-compare-handle::after {
    content: '\25C4\00A0\25BA';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 15px;
    white-space: nowrap;
    color: #333;
    box-shadow: 0 1px 6px rgba(0,0,0,0.8);
}
.ed-compare-label {
    position: absolute;
    bottom: 8px;
    font-size: 1em;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 2px 7px;
    border-radius: 3px;
    pointer-events: none;
}
.ed-compare-label.before { left: 8px; }
.ed-compare-label.after  { right: 8px; }

/* Drawing lightbox */
.ed-image-row img {
    cursor: zoom-in;
}
.ed-image-row img:hover {
    box-shadow: 0 3px 12px rgba(0,0,0,0.35);
    transform: translateY(-2px);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ed-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.88);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.ed-lightbox.open {
    display: flex;
}
.ed-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    cursor: default;
}
.ed-lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2.2em;
    color: white;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
}
.ed-lightbox-close:hover {
    opacity: 1;
}

/* Electrical Drafting — contact form */
.ed-contact-form {
    margin-top: 1.5em;
}
.ed-form-row {
    display: flex;
    gap: 1.5em;
    margin-bottom: 0;
}
.ed-form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 1em;
}
.ed-form-group > label {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 0.4em;
    color: #333;
}
.ed-form-required { color: var(--primary); }
.ed-form-optional { font-weight: normal; font-size: 0.85em; color: #888; }

.ed-contact-form input[type="text"],
.ed-contact-form input[type="email"],
.ed-contact-form input[type="tel"],
.ed-contact-form textarea {
    padding: 0.6em 0.8em;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95em;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ed-contact-form input[type="text"]:focus,
.ed-contact-form input[type="email"]:focus,
.ed-contact-form input[type="tel"]:focus,
.ed-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(193, 41, 46, 0.12);
}
.ed-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.ed-form-error {
    color: var(--primary);
    font-size: 0.8em;
    margin-top: 0.25em;
    min-height: 1em;
    display: block;
}
/* Service checkboxes */
.ed-form-services {
    display: flex;
    gap: 0.8em;
    flex-wrap: wrap;
    margin-top: 0.4em;
}
.ed-service-option {
    display: flex;
    align-items: center;
    gap: 0.5em;
    border: 1.5px solid #ccc;
    border-radius: 5px;
    padding: 0.55em 1em;
    cursor: pointer;
    font-size: 0.92em;
    background: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
}
.ed-service-option:hover { border-color: var(--primary); }
.ed-service-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 15px;
    height: 15px;
    cursor: pointer;
    flex-shrink: 0;
}
.ed-service-option:has(input:checked) {
    border-color: var(--primary);
    background: #fff5f5;
}

/* Footer row: reCAPTCHA left, submit right */
.ed-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 1em;
}
.ed-form-submit-row {
    display: flex;
    align-items: center;
    gap: 0.8em;
}
.ed-contact-form input[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.7em 1.8em;
    font-size: 1em;
    font-weight: bold;
    font-family: inherit;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.ed-contact-form input[type="submit"]:hover { background: var(--primary-dark); }
.ed-contact-form input[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }

/* Loading spinner */
.ed-contact-form .loading {
    display: none;
    width: 24px;
    height: 24px;
    background: url('/static/images/loader.gif') no-repeat center;
    background-size: contain;
}

/* Accomplishments strip */
/* Accomplishments ticker */
.ed-stats-strip {
    padding: 0.8em 0;
    overflow: hidden;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-repeat: no-repeat;
}
.ed-stats-track {
    display: flex;
    will-change: transform;
    animation: ed-stats-scroll 55s linear infinite;
}
.ed-stats-track:hover {
    animation-play-state: paused;
}
.ed-stat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.7em 2.5em;
    border-right: 1px solid #e0e0e0;
}
.ed-stat-num {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.2em;
}
.ed-stat-label {
    display: block;
    font-size: 0.7em;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
    max-width: 150px;
}
.ed-stat-label a { color: var(--primary); }
.ed-stat-label a:hover { color: var(--primary-dark); }

@media (max-width: 1279px) {
    .ed-split { flex-direction: column; }
    .ed-split-media { width: 100% !important; }
    .ed-inline-img { float: none; width: 100% !important; margin: 1em 0; }
}

/* Form success inline replacement */
.demo-form.form-submitted { display: flex; align-items: center; justify-content: center; }
.form-success-inline { text-align: center; padding: 48px 36px; }
.fsi-icon { width: 56px; height: 56px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 26px; font-weight: 900; color: #fff; }
.form-success-inline h3 { margin: 0 0 10px; font-size: 22px; color: #1a1a1a; font-weight: 700; }
.form-success-inline p { margin: 0; font-size: 15px; color: #555; line-height: 1.6; }

.ed-product-hero {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.ed-product-hero .page {
    padding: 0;
}

.ed-product-hero-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px 0;
    min-height: 280px;
}

.ed-product-hero-content {
    flex: 1;
}

.ed-product-hero-category {
    display: block;
    font-size: 0.7em;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.ed-product-hero h1 {
    color: white;
    font-size: 2.5em;
    border-bottom: none;
    text-shadow: none;
    margin-bottom: 12px;
}

.ed-product-hero-tagline {
    color: #bbb;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 90%;
}

.ed-product-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ed-product-cta-primary {
    background: var(--secondary);
    color: #111 !important;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.ed-product-cta-primary:hover {
    opacity: 0.85;
    text-decoration: none;
    color: #111;
}

.ed-product-cta-secondary {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: white !important;
    padding: 10px 22px;
    border-radius: 5px;
    font-size: 0.9em;
    text-decoration: none;
    transition: border-color 0.2s ease;
    white-space: nowrap;
}

.ed-product-cta-secondary:hover {
    border-color: white;
    color: white;
    text-decoration: none;
}

.ed-product-hero-demos-link {
    font-size: 0.82em;
    color: #777;
}

.ed-product-hero-demos-link a {
    color: #bbb;
    text-decoration: underline;
}

.ed-product-hero-demos-link a:hover {
    color: white;
}

.ed-product-hero-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-product-hero-media img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 8px;
}

/* Overview */
.ed-product-overview {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.ed-product-overview-text {
    flex: 1;
}

.ed-product-overview-text h2 {
    color: #111;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 14px;
}

.ed-product-overview-media {
    flex: 1;
}

.ed-product-sysreq {
    display: inline-block;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-size: 0.85em;
    color: #888;
    text-decoration: none;
    width: 100%;
}

.ed-product-sysreq:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Features wrapper */
.content.ed-product-features {
    padding: 0;
}

.ed-product-features-bar {
    background: #2a2a2a;
    padding: 10px 20px;
}

.ed-product-features-bar span {
    font-size: 0.82em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
}

/* Mobile pill bar — hidden on desktop, sticky handled by JS */
.ed-product-pillbar {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    background: #1a1a1a;
    padding: 8px 12px;
    border-bottom: 2px solid var(--primary);
    z-index: 5;
    scrollbar-width: none;
}

.ed-product-pillbar::-webkit-scrollbar {
    display: none;
}


.ed-product-pillbar a {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.78em;
    text-decoration: none;
    margin-right: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.ed-product-pillbar a.active {
    background: var(--primary);
    color: white;
}

.ed-product-pillbar a:hover {
    text-decoration: none;
    color: white;
}

/* Features layout: sidebar + content */
.ed-product-features-layout {
    display: flex;
    align-items: flex-start;
}

/* Sticky side nav */
.ed-product-sidenav {
    width: 210px;
    flex-shrink: 0;
    background: #1a1a1a;
    position: sticky;
    top: 90px;
    align-self: flex-start;
}

.ed-product-sidenav ul {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.ed-product-sidenav ul li a {
    display: block;
    padding: 10px 16px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.85em;
    border-left: 3px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.ed-product-sidenav ul li a:hover {
    color: #ddd;
    text-decoration: none;
}

.ed-product-sidenav ul li a.active {
    color: white;
    font-weight: bold;
    border-left-color: var(--primary);
}

/* Feature content area */
.ed-product-features-content {
    flex: 1;
    padding: 24px 28px;
}

/* Individual feature section */
.ed-product-feature-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #ddd;
}

.ed-product-feature-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 16px;
}

.ed-product-feature-section h2 {
    color: #111;
    font-size: 1.15em;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 4px;
    margin-bottom: 16px;
}

.ed-product-feature-intro {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 14px;
    font-style: italic;
}

.ed-product-feature-body {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.ed-product-feature-body.reverse {
    flex-direction: row-reverse;
}

.ed-product-feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ed-product-feature-text ul {
    margin: 0;
    padding-left: 20px;
}

.ed-product-feature-text ul li {
    margin-bottom: 7px;
    font-size: 0.9em;
    line-height: 1.5;
    color: var(--text);
}

.ed-product-feature-img {
    width: 450px;
    flex-shrink: 0;
}

.ed-product-feature-img img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.15);
}

/* Overview media: image fallback (when no video embed) */
.ed-product-overview-media img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Utilities / feature text sub-headings */
.ed-product-feature-text h4 {
    font-size: 0.82em;
    font-weight: 700;
    color: #444;
    margin: 14px 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.ed-product-feature-text h4:first-child {
    margin-top: 0;
}

/* === Modern Video Thumbnails === */
.ed-video-thumb.video-thumb {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    height: auto;
    position: relative;
    margin: 18px 12px 0 0;
    text-decoration: none;
}
.ed-vt-label {
    font-size: 0.7em;
    color: #888;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 7px;
    display: block;
}
.ed-vt-card {
    position: relative;
    width: 210px;
    height: 118px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.22);
}
.ed-vt-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    position: static;
}
.ed-video-thumb:hover .ed-vt-card img {
    transform: scale(1.05);
}
.ed-vt-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.ed-video-thumb:hover .ed-vt-overlay {
    background: rgba(0, 0, 0, 0.5);
}
.ed-vt-play {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.ed-video-thumb:hover .ed-vt-play {
    transform: scale(1.12);
}
.ed-vt-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid white;
    margin-left: 3px;
}
.ed-vt-title {
    font-size: 0.8em;
    color: #555;
    margin-top: 7px;
    display: block;
    font-weight: 500;
}
.ed-vt-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.ed-vt-group .ed-video-thumb.video-thumb {
    margin: 0;
}

