﻿/* prevent the drop down icon going onto a new line for the top bar language link */
.top-bar-language-nav-link {
  min-width: 65px;
}

/* bootstrap model showing two scroll bars */

html {
  overflow: visible;
}

/* main sidebar not under model */

.modal {
  z-index: 1110;
}

.form-group.required .col-form-label:after {
  color: #d00;
  content: "*";
  position: absolute;
  margin-left: 3px;
}

.nav-user-menu .user-image {
  width: 20px;
  margin-right: 4px;
  margin-top: -4px;
}

.famfamfam-flags {
  display: inline-block;
}

.hero-section {
  position: relative;
  color: white;
  min-height: 445px;
  overflow: hidden;
}

.hero-section .carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-section .carousel-inner,
.hero-section .carousel-item {
  height: 100%;
}

.hero-section .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hero-section .carousel-caption {
  position: absolute;
  left: 0;
  top: 0;
  width: 35%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(70, 130, 180, 0.85),
    rgba(70, 130, 180, 0.85)
  );
  text-align: left;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.hero-section .carousel-caption h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  display: none;
}

.carousel-control-prev {
  left: 50%;
}

.carousel-control-next {
  right: 0;
}

.img {
  max-width: 100px;
  margin-bottom: 20px;
}

.bg-metal {
  position: relative;
  background-image: url("../img/metal-texture-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.bg-metal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.bg-metal > * {
  position: relative;
  z-index: 2;
}

.bg-grey {
  background-color: #8d918d;
  color: white;
}

.bg-blue {
  background-color: #4682b4;
  color: white;
}

.new-products-section img {
  max-width: 100px;
  margin-bottom: 20px;
}

.find-sales-rep-header {
  margin-bottom: 10px;
  margin-top: -30px;
}

.warranty-section {
  background-color: #f58634;
  color: white;
}

.press-releases-section {
  background-color: #007bff;
  color: white;
}

footer {
  background-color: #333;
}

.region-logo {
  margin: auto 0;
}

.block-system-branding-block {
  width: 170px;
  max-height: 39px;
  margin: auto 0;
}

.navbar-brand img {
  max-height: 42px;
}

.text-center.bg-grey.py-4 .inner-container {
  max-width: 400px; /* Adjust as needed to keep the <p> tags on one line */
  margin: 0 auto; /* Center the container horizontally */
  text-align: left; /* Ensure the content inside is left-aligned */
}

.text-center.bg-grey.py-4 h3 {
  text-align: center; /* Center the header text */
}

/* Add custom select styling */
select.form-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.pdfLink {
    text-decoration: none !important;
    font-size: 20px;
    color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}
.fa-file-pdf {
    color: red;
}

@media (max-width: 768px) {
    .hero-section .carousel-caption {
    width: 100%;
  }

  .find-sales-rep-header {
    margin-top: 0;
  }

  .text-end {
    text-align: left !important;
  }

    .brands-section > .col-md-3 {

        margin-bottom: 20px;
        min-height: 80px;
    }
}


