html {
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  overflow-y: scroll;
  background-color: #000;
}

.armstrong-about-us {
  position: relative;
  min-height: 420px;
  padding: 50px 0;
  background: transparent;
}

a,
a:hover {
  color: #ff1313;
}

body .bg-img {
  background-repeat: no-repeat;
  background-position: center;
  padding-bottom: 100px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

body nav {
  background: rgba(255, 255, 255, 0.1);
}

body nav .navbar-nav a {
  font-size: 16px;
  text-transform: uppercase;
  color: #fff !important;
  transition: all 0.3s;
}

body nav .navbar-nav a:hover {
  color: #ff1313 !important;
}

body nav .navbar-nav .btn-danger {
  background: #ff1313;
  border-color: #ff1313;
  border-radius: 0;
}

body nav .navbar-nav .btn-danger:hover {
  background: #df0000;
  border-color: #df0000;
}

/* Dropdown positioning reference */
body nav .custom-dropdown {
  position: relative;
}

/* Dropdown arrow */
body nav .dropdown-heading::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  vertical-align: 3px;
  border-top: 5px solid #fff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.25s ease;
}

/* Desktop dropdown menu */
body nav .custom-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 1000;
  min-width: 230px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #101011;
  border-top: 3px solid #ff1313;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Keep mouse transition area connected */
body nav .custom-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

/* Show desktop dropdown on hover */
body nav .custom-dropdown:hover > .custom-dropdown-menu {
  display: block;
}

body nav .custom-dropdown-menu li a {
  display: block;
  width: 100%;
  padding: 11px 18px;
  font-size: 14px;
  text-transform: none;
  white-space: nowrap;
  color: #fff !important;
  background: transparent;
  text-decoration: none;
}

body nav .custom-dropdown-menu li a:hover {
  color: #fff !important;
  background: #ff1313;
}


/* =========================================================
   BANNER
   ========================================================= */

.armstrong-banner-text-box {
  position: relative;
  display: inline-block;
  max-height: 120px;
  margin-top: 250px;
}

.armstrong-banner-text-box .quote-box {
  max-width: 455px;
  padding: 20px 0;
}

.armstrong-banner-text-box .quote-box h2 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 40px;
}

.armstrong-banner-text-box .quote-box h2 span {
  color: #ff1313;
  font-size: 34px;
}

.armstrong-banner-text-box .quote-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  background: url("../images/right-quote.png") no-repeat;
}

.armstrong-banner-text-box .quote-box::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  background: url("../images/left-quote.png") no-repeat;
}

.armstrong-banner-text-box a {
  min-width: 150px;
  color: #fff;
  border-color: #0d1d4e;
  border-radius: 0;
}

.armstrong-banner-text-box a:hover {
  color: #ff1313;
  background: transparent;
  border-color: gray;
}


/* =========================================================
   NETWORK AND ABOUT
   ========================================================= */

.armstrong-network,
.armstrong-about-us {
  padding: 30px 0 50px;
  background: url("../images/about-bg.jpg") center / 100% 100% no-repeat;
}

.armstrong-network figure,
.armstrong-about-us figure {
  margin-top: -70px !important;
  text-align: center;
}

.armstrong-network h2,
.armstrong-about-us h2 {
  margin-bottom: 0;
  color: #ff1313;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 40px;
}

.armstrong-network h4,
.armstrong-network h5,
.armstrong-network p,
.armstrong-about-us h4,
.armstrong-about-us h5,
.armstrong-about-us p {
  color: #323232;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

.armstrong-network hr,
.armstrong-about-us hr {
  max-width: 100px;
  margin-left: 0;
  border-color: #ff1313;
  border-width: 5px;
  border-radius: 5px;
}

.armstrong-about-us {
  background: transparent;
}

.armstrong-about-us p {
  color: #fff;
  font-weight: normal;
}

.armstrong-about-us hr {
  margin-top: 5px;
  margin-left: 50px;
  border-color: #fff;
}

.armstrong-about-us a {
  min-width: 150px;
  color: #fff !important;
  border-color: #0d1d4e;
  border-radius: 0;
}

.armstrong-about-us a:hover {
  color: #ff1313;
  background: transparent;
  border-color: gray;
}


/* =========================================================
   CONTENT
   ========================================================= */

.armstrong-content-box {
  padding-bottom: 100px;
  background: #1d1d1d;
}

.armstrong-content-box .pr-0 img {
  margin-top: -128px;
}

.armstrong-content-box img {
  width: 100%;
}

.armstrong-content-box .card-img-overlay {
  top: 35%;
  color: #fff;
  text-align: center;
}


/* =========================================================
   TECHNICIANS
   ========================================================= */

.armstrong-content-box .technicians {
  position: relative;
  padding: 50px 0;
  margin: 70px 0;
  background-color: #000;
  background-image: url("../images/Employee-BG.jpg");
  background-repeat: no-repeat;
  background-position: center;
}

.armstrong-content-box .technicians .bg-50 {
  background: rgba(0, 0, 0, 0.3);
}

.armstrong-content-box .technicians .card {
  border: none;
  background: transparent;
}

.armstrong-content-box .technicians .card img {
  max-width: 250px;
  max-height: 250px;
  margin: 0 auto;
}

.armstrong-content-box .technicians .card .card-body {
  margin-top: 30px;
  padding: 30px 20px 50px;
  background: #ccc;
  border-radius: 15px;
}

.armstrong-content-box .technicians .card .card-body::before {
  content: "";
  position: absolute;
  margin-top: -70px;
  margin-left: -15px;
  border: 20px solid transparent;
  border-bottom-color: #ccc;
}

.armstrong-content-box .technicians .quote-box2 {
  position: relative;
  max-width: 250px;
  margin: auto auto 50px;
  color: #fff;
  text-align: center;
}

.armstrong-content-box .technicians .quote-box2::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("../images/right-quote-white.png") center / 100% 100% no-repeat;
}

.armstrong-content-box .technicians .quote-box2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 20px;
  height: 20px;
  background: url("../images/left-quote-white.png") center / 100% 100% no-repeat;
}

.armstrong-content-box .technicians::before,
.armstrong-content-box .technicians::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  border: 5px solid #ff1313;
}

.armstrong-content-box .technicians::after {
  top: -10px;
}

.armstrong-content-box .technicians::before {
  bottom: -10px;
}

.armstrong-content-box .technicians .team-member {
  min-width: 0;
}

.armstrong-content-box .technicians .team-member .card-img-top {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.armstrong-content-box .technicians .team-member .card-body {
  padding: 25px 10px 35px;
}

.armstrong-content-box .technicians .team-member .card-title {
  margin-bottom: 0;
}

/* Tablets */
@media (max-width: 991px) {
  .armstrong-content-box .technicians .team-member {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

/* Phones */
@media (max-width: 575px) {
  .armstrong-content-box .technicians .team-member {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .armstrong-content-box .technicians .team-member .card-img-top {
    width: 135px;
    height: 135px;
  }

  .armstrong-content-box .technicians .team-member .card-body {
    padding: 20px 8px 30px;
  }

  .armstrong-content-box .technicians .team-member .card-title {
    font-size: 18px;
  }
}


/* =========================================================
   GALLERY
   ========================================================= */

.armstrong-content-box .gallery .card {
  border: none;
  background: transparent;
}

.armstrong-content-box .gallery .card img {
  max-height: 580px;
  border-radius: 0;
}

.armstrong-content-box .gallery .card .card-body {
  background: #ff1313;
}

.armstrong-content-box .gallery .card .card-body h4 {
  color: #fff;
}

.armstrong-content-box .gallery .card .card-body p {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
  position: relative;
  color: #fff;
  background: #101011;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-top: 3px solid #ff1313;
}

footer .footer1 p {
  margin-top: 30px;
}

footer .footer3 {
  padding-top: 50px;
}

footer .footer3 p a {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  color: #ff1313;
  background: transparent;
  border-radius: 0;
}

footer .footer3 .social-links a {
  width: 40px;
  height: 40px;
  padding: 5px 0 0;
  background: #fff;
  border-radius: 50%;
}

footer .footer3 .social-links a:hover {
  background: #135fff;
}

footer .footer3 .nav-item li {
  margin: 0 5px;
}


/* =========================================================
   OLD CONTACT FORM STYLES
   Kept in case the form is reused elsewhere
   ========================================================= */

footer .footer2 h4 {
  margin: 20px auto;
  color: #ff1313;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  text-align: center;
}

footer .footer2 .form-box {
  padding: 20px 30px;
  margin-top: -30px;
  background: #fff;
}

footer .footer2 input[type='text'],
footer .footer2 input[type='email'] {
  background: transparent;
  border: none;
  border-bottom: 2px solid #000;
  border-radius: 0;
}

footer .footer2 input[type='text']:focus,
footer .footer2 input[type='email']:focus {
  border-color: #ff1313;
  box-shadow: none;
}

footer .footer2 .btn {
  min-width: 150px;
  border-radius: 0;
}

footer .footer2 ::placeholder {
  color: #262626;
}

footer .table td,
footer .table th {
  border: none;
}


/* =========================================================
   FOOTER MAP
   ========================================================= */

footer .footer-map .map-box {
  padding: 20px 30px 30px;
  margin-top: -30px;
  text-align: center;
  background: #fff;
}

footer .footer-map h4 {
  margin: 0 0 20px;
  color: #ff1313;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

footer .footer-map iframe {
  display: block;
  width: 100%;
  min-height: 350px;
  border: 0;
}

footer .footer-map .directions-btn {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 20px;
  padding: 10px 25px;
  color: #fff;
  background: #101011;
  border-radius: 0;
}

footer .footer-map .directions-btn:hover {
  color: #fff;
  background: #ff1313;
}


/* =========================================================
   RESPONSIVE: LARGE TABLETS
   ========================================================= */

@media (max-width: 1199px) {
  .armstrong-content-box .pr-0 img {
    margin-top: -107px;
  }
}


/* =========================================================
   RESPONSIVE: TABLETS
   ========================================================= */

@media (max-width: 991px) {
  .armstrong-content-box .pr-0 img {
    margin-top: -78px;
  }

  .armstrong-content-box .card-img-overlay {
    top: 20%;
  }
}


/* =========================================================
   RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width: 767px) {

  /* Main mobile navigation */
  body nav .navbar-collapse {
    width: 100%;
  }

  body nav .navbar-nav {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
  }

  body nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  body nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
  }

  /* Disable desktop hover behavior */
  body nav .custom-dropdown:hover > .custom-dropdown-menu {
    display: none;
  }

  /* Mobile accordion submenu */
  body nav .custom-dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.35);
    border: none;
    box-shadow: none;
  }

  body nav .custom-dropdown.open > .custom-dropdown-menu {
    display: block;
  }

  body nav .custom-dropdown-menu::before {
    display: none;
  }

  body nav .custom-dropdown-menu li {
    width: 100%;
  }

  body nav .custom-dropdown-menu li a {
    display: block;
    width: 100%;
    padding: 10px 15px 10px 30px;
    font-size: 14px;
    white-space: normal;
    color: #dcdcdc !important;
  }

  body nav .custom-dropdown-menu li a:hover {
    color: #fff !important;
    background: rgba(255, 19, 19, 0.25);
  }

  body nav .dropdown-heading::after {
    margin-left: auto;
  }

  body nav .custom-dropdown.open > .dropdown-heading::after {
    transform: rotate(180deg);
  }

  /* Network and about sections */
  .armstrong-network figure,
  .armstrong-about-us figure {
    margin-top: 0 !important;
  }

  /* Content layout */
  .armstrong-content-box .pr-0 img {
    margin: 20px auto;
  }

  .armstrong-content-box .col-md-5,
  .armstrong-content-box .col-md-7 {
    padding: 0 !important;
  }

  .gallery .card {
    margin-bottom: 25px;
  }

  /* Footer */
  .footer1 {
    min-height: 150px;
  }

  footer .footer2 .form-box,
  footer .footer-map .map-box {
    margin-top: 0;
  }

  footer .footer-map iframe {
    min-height: 300px;
  }
}