@charset "utf-8";
/* --------------------------------------------------
   AUTOTECH CONTROLS — BOOTSTRAP THEME (CLEANED)
   Industrial, clean, bold, responsive
-------------------------------------------------- */

/* -----------------------------------------------
   BRAND COLORS
-------------------------------------------------- */
:root {
  --autotech-blue: #004a8f;
  --autotech-blue-dark: #00386a;
  --autotech-orange: #f28b00;
  --autotech-gray: #e5e5e5;
  --autotech-dark: #1a1a1a;
}

/* -----------------------------------------------
   GLOBAL TYPOGRAPHY
-------------------------------------------------- */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f8f9fa;
  color: #222;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  color: var(--autotech-blue-dark);
}

a {
  color: var(--autotech-blue);
  text-decoration: none;
}

a:hover {
  color: var(--autotech-orange);
}

/* -----------------------------------------------
   HEADER + NAVBAR
-------------------------------------------------- */
header {
  background: var(--autotech-blue-dark);
}

header h1 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar {
  border-bottom: 3px solid var(--autotech-blue);
}

.navbar-light .navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.navbar-light .nav-link:hover {
  color: var(--autotech-orange);
}

/* -----------------------------------------------
   SIDEBAR (LEFT NAV)
-------------------------------------------------- */
.list-group-item {
  border: none;
  border-left: 4px solid transparent;
  font-weight: 500;
  padding: 0.75rem 1rem;
}

.list-group-item:hover {
  background-color: var(--autotech-blue);
  color: #fff;
  border-left-color: var(--autotech-orange);
}

.list-group-item.active {
  background-color: var(--autotech-blue-dark);
  color: #fff;
  border-left-color: var(--autotech-orange);
}

/* Legacy gradient left nav */
.left-nav .list-group-item {
  border-left: 1px solid #0076a3;
  border-right: 1px solid #0076a3;
  border-top: 1px solid #0076a3;
  background: linear-gradient(#00aeef, #009bd6);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
  cursor: pointer;
  padding: 10px 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
  border-radius: 0;
}

.left-nav .list-group-item:last-child {
  border-bottom: 1px solid #0076a3;
}

.left-nav .list-group-item:hover {
  background: linear-gradient(#00bdfd, #00a3dd);
  color: #ffffff;
}

.left-nav .list-group-item.active {
  background: linear-gradient(#009bd6, #0088bd);
  border-left: 3px solid #ffffff;
  color: #ffffff;
}

.left-nav .list-group .list-group-item.small {
  background: #e9f7ff;
  color: #004a6b;
  font-weight: normal;
  border: none;
  border-left: 3px solid #00aeef;
  text-shadow: none;
  padding: 6px 12px;
}

.left-nav .list-group .list-group-item.small:hover {
  background: #d8f1ff;
  color: #003f5a;
}

.left-nav .list-group-flush {
  margin-left: 8px;
  border-left: 2px solid #0076a3;
}

/* -----------------------------------------------
   CARDS
-------------------------------------------------- */
.card {
  border: 1px solid #dcdcdc;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/*.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}*/

.card-title {
  color: var(--autotech-blue-dark);
  font-weight: 600;
}

.card-img-top {
  border-bottom: 0px solid #ddd;
}

/* -----------------------------------------------
   ALERTS
-------------------------------------------------- */
.alert-warning {
  background-color: #fff3cd;
  border-left: 6px solid var(--autotech-orange);
  font-size: 1rem;
  cursor: pointer;
}

/* -----------------------------------------------
   BUTTONS
-------------------------------------------------- */
.btn-primary {
  background-color: var(--autotech-blue);
  border-color: var(--autotech-blue);
}

.btn-primary:hover {
  background-color: var(--autotech-blue-dark);
  border-color: var(--autotech-blue-dark);
}

.btn-outline-primary {
  color: var(--autotech-blue);
  border-color: var(--autotech-blue);
}

.btn-outline-primary:hover {
  background-color: var(--autotech-blue);
  color: #fff;
}

/* -----------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  background: var(--autotech-blue-dark);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* -----------------------------------------------
   IMAGES
-------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

/* -----------------------------------------------
   PRODUCT DETAIL TABLES
-------------------------------------------------- */
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.75rem;
  border: 1px solid #ccc;
}

.product-spec-table th {
  background: var(--autotech-blue);
  color: #fff;
  font-weight: 600;
}

/* -----------------------------------------------
   PRODUCT TILES
-------------------------------------------------- */
.product-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #f8f8f8;
  min-height: 200px;
}

.product-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .25s ease-in-out;
}

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 118, 163, 0.85);
  color: #fff;
  text-align: center;
  padding: 8px 5px;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  transform: translateY(100%);
  transition: all .25s ease-in-out;
  text-shadow: 0 1px 1px rgba(0,0,0,0.35);
}

.product-wrapper:hover .product-overlay {
  opacity: 1;
  transform: translateY(0);
}

.product-wrapper:hover img {
  transform: scale(1.05);
}

/* -----------------------------------------------
   PRESS SUBNAV (ISOLATED, FIXED DROPDOWN)
-------------------------------------------------- */

#press-subnav .nav-link,
#press-subnav .dropdown-toggle {
  padding: 0.35rem 0.9rem !important;
  line-height: 1 !important;
  display: flex;
  align-items: center;
  height: 100%;
}

#press-subnav {
  position: relative;
	 padding-top: 0.01rem;
  padding-bottom: 0.01rem;
  min-height: 20px;
	align-items: stretch;
	display: flex;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom: 2px solid #363636;
}

#press-subnav .navbar-nav {
  flex-direction: row !important;
  align-items: center !important;
}

#press-subnav .dropdown {
  position: relative;
}

/* CRITICAL FIX */
#press-subnav .dropdown-menu {
  position: absolute !important;
  top: 100%;
  left: 0;
  display: none;
  min-width: 12rem;
  z-index: 9999;
  border: 1px solid #dcdcdc;
  background: #fff;
	transition: none;
}

#press-subnav .nav-link {
  /*padding: 0.75rem 0.75rem !important;*/
	padding: 10px 10px;
  line-height: 1.2;
	
}
#press-subnav .nav-link:hover {
  padding:10px 10px;
  line-height: 1.2;
	
}

/* Bootstrap controls visibility via .show */
#press-subnav .dropdown-menu.show {
  display: block !important;
}

/* items */
#press-subnav .dropdown-item {
  /*padding: 8px 14px !important;*/
  font-weight: 500 !important;
  color: #00386a !important;
	 padding: 6px 12px !important;
  font-size: 0.95rem;
}

#press-subnav .dropdown-item:hover {
  background: #e6f3ff !important;
}

/* Toggler icon for blue background */
.navbar-toggler-white {
  border-color: rgba(255,255,255,0.6);
}

.navbar-toggler-white .navbar-toggler-icon {
  filter: invert(1);
}

.dropdown-menu {
    z-index: 1055;
}
@media (min-width: 768px) {
  #press-subnav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  #press-subnav .dropdown:hover > .dropdown-toggle {
    color: #f28b00 !important;
  }
}


.row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.row > * {
  padding-left: calc(var(--bs-gutter-x) / 2) !important;
  padding-right: calc(var(--bs-gutter-x) / 2) !important;
}
