@font-face {
	font-family: 'Conv_SWI';
	src: url('https://dev.southwesternindustries.com/assets/fonts/SWI.eot');
	src: local('☺'), url('https://dev.southwesternindustries.com/assets/fonts/SWI.woff') format('woff'), url('https://dev.southwesternindustries.com/assets/fonts/SWI.ttf') format('truetype'), url('https://dev.southwesternindustries.com/assets/fonts/SWI.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Glyphicons Halflings';
	src: url('/assets/fonts/glyphicons-halflings-regular.eot');
	src: local('☺'), url('/assets/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/assets/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/assets/fonts/glyphicons-halflings-regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

:root {
  --primary-color: rgb(195, 73, 96);
  --primary-hover: rgb(167, 60, 80);
  --primary-text-hover: var(--primary-hover);
  --secondary-color: rgb(22, 22, 22);
  --custom-swi-dark-rgb: 22, 22, 22; /* USES SECONDARY COLOR AS RAW RGB */
  
  --accent-color-1: rgb(204, 204, 204);
  --accent-color-2: #0d83fd;
  --accent-color-3: #d8d4d2;

  --gray-100: rgba(0, 0, 0, 0.05);
  --gray-200: rgba(0, 0, 0, 0.1);
  --gray-300: rgba(0, 0, 0, 0.25);
  --gray-400: rgba(0, 0, 0, 0.5);
  --gray-500: rgba(0, 0, 0, 0.75);
  --gray-600: rgba(0, 0, 0, 1);

  --grid-bg-a: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23cccccc' fill-opacity='0.4'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v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9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

body {
  font-family: 'Conv_SWI', Arial, Helvetica, sans-serif;
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
}

p,
ul,
ol,
.lead {
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}


.btn-primary:active,
.btn-primary.active {
  background-color: rgb(165, 62, 82) !important; /* Slightly darker than your link color */
  border-color: rgb(145, 55, 72) !important;
  box-shadow: none !important;
}

.footer-nav a {
  color: var(--light);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--light); /* optional, if unchanged */
}

footer .dropdown-item {
  font-size: 1rem;
}

a:not(:is(.navbar *, .nav-link, .nav-item *, #btn-tmt, .footer-nav a)) {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:not(:is(.navbar *, .nav-link, .nav-item *, #btn-tmt, .footer-nav a)):hover,
a:not(:is(.navbar *, .nav-link, .nav-item *, #btn-tmt, .footer-nav a)):focus {
  color: var(--primary-hover);
  text-decoration: underline;
}

.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none !important;
  color: inherit !important;
}

.custom-swi-color-1 { /* DARK GREY BACKGROUND */
  --custom-opacity: 1;
  background-color: rgba(var(--custom-swi-dark-rgb), var(--custom-opacity)) !important;
}

.custom-swi-color-1 > * {
  color: #fff;
}

.text-on-dark {
  color: #fff;
}

.text-on-dark a {
  color: #fff;
  text-decoration: underline;
}

.text-on-dark a:hover,
.text-on-dark a:focus {
  color: #ccc;
  text-decoration: none;
}

.theme-dark {
  background-color: #212529; /* matches Bootstrap's bg-dark */
  color: #f8f9fa;            /* matches Bootstrap's text-light */
}

.theme-dark a {
  color: #ffc107; /* similar to Bootstrap warning color for contrast */
}

.theme-dark .btn {
  background-color: #f8f9fa;
  color: #212529;
}

.theme-dark .btn:hover {
  background-color: #e2e6ea;
}


.gradient-style-a {
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a81617+0,a81617+100&1+0,0+100 */
	background: -moz-linear-gradient(left,  rgba(168,22,23,1) 0%, rgba(168,22,23,0) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  rgba(168,22,23,1) 0%,rgba(168,22,23,0) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  rgba(168,22,23,1) 0%,rgba(168,22,23,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a81617', endColorstr='#00a81617',GradientType=1 ); /* IE6-9 */
}

/***** HEADER *****/

header {
  position: sticky;
  top: 0;
  z-index: 1000; /* higher than other elements */
  background: white; /* or whatever your background is */
}

#area-above-nav-main {
  font-size: 1.3em;
}

#area-above-nav-main,
footer {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#161616+0,333333+73,161616+100 */
background: linear-gradient(135deg,  rgb(22,22,22) 0%,rgb(51,51,51) 73%,rgb(22,22,22) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

footer {
  padding:50px 0 35px;
}

footer .logo-swi {
  max-width: 130px;
}

footer .dropdown-item {
  color: #fff;
}

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

#area-above-nav-main .container {
  padding: 15px;
  text-align: center;
}

#area-above-nav-main a[href^="tel"] {
  color: #fff !important;
  text-decoration: none;
}

#area-above-nav-main a[href^="tel"]:hover,
#area-above-nav-main a[href^="tel"]:focus {
  color: #ccc !important;
}

@media (min-width:992px) {
  #area-above-nav-main .container {
    display: flex;
    padding: 15px;
  }
  .left-section {
    flex: 2;
    text-align: left;
  }
  .left-section span {
    display: inline-block;
    padding:3px 25px;
    border:1px solid;
    border-radius: 10px;
  }
  .right-section {
    flex: 1;
    text-align: right;
  }
}

#nav-main .navbar-collapse {
  flex-grow: initial;
}

#nav-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.6s ease;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

#nav-main.scrolled {
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.15);
}

#nav-main #btn-contact {
  font-size: 1.3em;
}

.navbar-brand {
	text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-brand #logo-swi {
  width: 60px;
  height: auto;
  display: block;
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: rotate(5deg);
}

.navbar-brand .brand-name-swi {
  font-size: 2rem;
  font-weight: 700;
}

footer .brand-name-swi,
footer .brand-name-systems {
  color: #fff !important;
  text-decoration:none !important;
}

footer .company-statement {
  margin-bottom: 15px;
  font-size: .9em;
}

.navbar-nav {
  font-size: 1.3em;
}

@media (min-width:1200px) {
  .navbar-nav .nav-item {
    margin-right: 10px;
  }
}

/***** END *****/


main  {
  min-height: 800px;
}

section + section {
  margin-top: 30px;
}

section:last-child {
  margin-bottom: 30px;
}

.section-divider {
  width: 75%;
  margin: 3rem auto;
}

sup {
  font-size: 50%;
  vertical-align: middle;
}

section.feature h1, section.feature h2 {
  margin-top: 10px;
}

@media (min-width:768px) {
  section.feature h1, section.feature h2 {
    margin-top: initial;
  }
}

.fade-transition {
  transition: opacity 0.8s ease;
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}


@media (min-width: 1600px) {
  .container-mod.wide-4 {
      max-width: 1440px;
  }
}

@media (min-width: 1600px) {
  .container-mod.wide-5 {
      max-width: 1650px;
  }
}

.max-w-screen-xl {
  width: 100%;
  margin-inline: auto;
}

@media (min-width: 2000px) {
  .max-w-screen-xl {
    max-width: 1440px;
  }
}

/***** LISTS; BOOTSTRAP & OTHER *****/

.bi-ul {
  list-style: none;
  padding-left: 1.5em;
  position: relative;
}

.bi-ul .bi-li {
  position: absolute;
  left: 0;
}

.bi-ul li {
  position: relative;
  padding-left: 1.5em;
}

.feature .bi-ul {
  font-size: 1.3em;
}

@media (min-width:1200px) {
  ul.two-col {
    column-count: 2;
    column-gap: 2rem;
  }
}


/***** FEATURETE *****/


.featurette-heading {
    margin-top: initial;
  }

.featurette-divider {
  margin: 3rem 0;
}

/*
[class*="col-md-"] .featurette-copy {
  display: flex;
}
*/

.row.featurette {
  min-height: 100%;
  align-items: center;
}

/***** BACKGROUNDS *****/

#home {
  background-image: var(--grid-bg-a);
  background-position: center;
  background-color: #ffffff;
}

#hero-home {
  position: relative;
  margin: 0 0 30px;
  background-color: #E5E5E5;
  background-image: url(/assets/img/bg_home_hero_b.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 0;
}

#hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4); /* white with 40% opacity */
  z-index: 1;
  pointer-events: none;
}

#hero-home > * { /* MAKE SURE CONTENT IS VISIBLE ON TOP */
  position: relative;
  z-index: 2;
}

.hero {
  background-color: var(--accent-color-3);
}

/***** pills-style tab navigation *****/

#nav-pills-electronic-assembly {
  background-color: #fff;
  border: 1px solid #ccc;
}

.nav-pills .nav-link {
  color: var(--primary-color);
  /* border: 1px solid var(--primary-color); */
  background-color: transparent;
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover:not(.active),
.nav-pills .nav-link:focus:not(.active) {
  background-color: var(--primary-color-hover); /* subtle tint */
  color: var(--primary-text-hover); /* stays primary-colored */
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: #fff;
}

@media (min-width:1200px) {
  .desc.pill-nav {
    max-width: 75%;
    margin:auto;
  }
}

/***** MESSAGING *****/

ul.errors.help-block {
  list-style:none;
  padding: 0;
  color: #d00; /* MATCHES EE/FREEFORM ALERT MSG */
}

.form-submission-response {
  margin: 20px 0;
  padding: 20px;
  background-color: #f0f0f0;
  color: #161616;
  border: 1px solid #ccc;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  font-size: 1.5rem;
  text-align: center;
}

.response-success {
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
}

.icon-square {
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
}

section#contact form label {
  margin-top: 10px;
}

section#contact form button[type="submit"] {
  margin-top: 10px;
  padding:0.375rem 0.75rem;
  background-color: var(--primary-color);
  border: var(--bs-btn-border-width) solid var(--primary-color);
  border-radius: var(--bs-border-radius-pill) !important;;
  font-size: 1.3em;
  color: #fff;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

section#contact form button[type="submit"]:hover,
section#contact form button[type="submit"]:focus,
section#contact form button[type="submit"]:active {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}

.featured-project {
  display: inline-block;
  background-color: rgb(var(--custom-swi-dark-rgb));
  color: #fff;
  padding: 3px 15px;
  border: 1px solid;
  font-size: 1.3em;
}

div.link-privacy-policy {
  margin: 10px 0;
  text-align: center;
  text-decoration: none;
  font-size: .9em;
}

/***** IMAGES *****/

.img-block {
  margin:10px 0;
}

.img-block .desc {
  margin-top: 5px;
  padding: 2px 10px;
  background-color: #f6f6f6;
  text-align: center;
  font-size: .9em;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/***** SPECIAL FEATURES *****/

.milestone {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
}

.milestone:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--secondary-color);
}
.milestone .milestone-item {
  position: relative;
  margin-bottom: 30px;
}
.milestone .milestone-item .milestone-point {
  position: absolute;
  left: -37px;
  top: 5px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.milestone .milestone-item .milestone-content h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.milestone .milestone-item .milestone-content p {
  margin-bottom: 0;
}

.box-float {
  margin: 10px auto;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 7px;
  padding: 10px 20px 5px;
  background-color: #fff;
  max-width: 350px;
}

@media (min-width:1200px) {
  .box-float {
    max-width: 350px;
  }
  .rt {
    float:right;
    margin: 0 0 15px 15px;
  }
}

/***** COMPANY PAGES *****/

#career-center-block {
  margin: 10px 10px 15px;
  padding: 10px 20px;
  border: 1px solid;
  border-radius: 10px;
  text-align: center;
}

#benefits-block {
  margin: 10px 0 15px;
  padding: 10px 15px 0;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f0f0f0;
}