/* Active Nav Link Rules based on Body ID */
body#page-home a.nav-link#nav-home,
body#page-about a.nav-link#nav-about,
body#page-testimonials a.nav-link#nav-testimonials,
body#page-qsquare a.nav-link#nav-qsquare,
body#page-logistics a.nav-link#nav-logistics,
body#page-contractors a.nav-link#nav-contractors,
body#page-manufacturing a.nav-link#nav-manufacturing,
body#page-blog a.nav-link#nav-blog {
  text-decoration: underline !important;
  text-decoration-color: black !important;
  text-underline-offset: 5px;
}

body#page-perspective a.nav-link#nav-perspective {
  text-decoration: underline !important;
  text-decoration-color: #007AFF !important;
  text-underline-offset: 5px;
}

body {
  padding-top: 90px;
}

.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-collapse {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

.dropdown-menu {
  margin-left: -15px !important;
  width: 200px !important;
}

#navbarNav {
  padding-right: 0 !important;
}

.icon-display {
  display: none;
}

.navbar-button {
  border: 1px solid lightgray;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}

.navbar-button:hover {
  background-color: #23374d;
  color: #ffffff;
  text-decoration: none;
}

/* Navbar Brand */
.navbar-brand {
  display: flex;
  align-items: center;
}

#brand {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover #brand {
  transform: scale(1.05);
}

.navbar-brand-text {
  font-family: "Volkhov", serif;
  font-size: 28px;
  font-weight: 700;
  color: #253858;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Smooth Scroll Block */

.navigation {
  position: fixed;
  height: 100px;
  width: 55px;
  background-color: gray;
  opacity: 0.4;
  top: 25%;
  left: 2px;
  z-index: 10;
  border-radius: 10px;
}

.dummy-links li {
  color: white;
}

.links {
  display: none;
}

.navigation:hover {
  position: fixed;
  height: 290px;
  width: 165px;
  background-color: black;
  opacity: 0.4;
  top: 25%;
  left: 2px;
  z-index: 10;
  border-radius: 10px;
}

.navigation:hover .dummy-links {
  display: none;
}

.navigation:hover .links {
  display: block;
}

.navigation a {
  margin-top: 5px;
  display: block;
  color: white;
  border-left: 1px solid white;
  padding-left: 5px;
  margin-left: 10px;
}

.navigation a.active {
  margin-top: 7px;
  margin-bottom: 7px;
  border-left: 3px solid white;
  padding-left: 10px;
  font-size: larger;
  font-weight: bolder;
}

/*HomePage ---- Landing Slide*/

.landing .container {
  min-height: 220px !important;
}

.landing li {
  background-color: cornflowerblue;
}

.h2-responsive {
  margin-bottom: 21px;
}

.button-row {
  margin-top: 20px;
}

.menu-btn {
  border: 1px solid lightgray;
  color: black;
  font-size: medium !important;
  font: inherit !important;
  margin-top: 0px;
  box-shadow: none !important;
}

.menu-btn:hover,
.menu-btn:active {
  box-shadow: none !important;
  border: 1px solid lightgray !important;
  color: gray !important;
}

#head-btn {
  background-color: #f8c73e !important;
  box-shadow: -5px 5px 4px 1px rgba(0, 0, 0, 0.8);
  color: #000000;
  margin-right: 20px;
  font-size: medium;
  font: inherit;
  font-weight: bolder;
  transition: all ease-in-out 300ms;
}

#head-btn2 {
  background-color: lightgray !important;
  box-shadow: -5px 5px 4px 1px rgba(0, 0, 0, 0.8);
  color: #000000;
  margin-right: 20px;
  font-size: medium;
  font: inherit;
  font-weight: bolder;
  transition: all ease-in-out 300ms;
}

#head-btn3 {
  background-color: lightgray !important;
  box-shadow: -5px 5px 4px 1px rgba(0, 0, 0, 0.8);
  color: #000000;
  font-size: medium;
  font: inherit;
  font-weight: bolder;
  transition: all ease-in-out 300ms;
}

#head-btn:hover,
#head-btn2:hover,
#head-btn3:hover {
  box-shadow: -5px 5px 4px 1px rgba(0, 0, 0, 0.5);
}

.heading {
  margin-top: 0;
}

.video {
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

.video img {
  width: 100%;
  padding-right: 5px;
  margin-bottom: 5px;
}

#head-img {
  margin-left: 70px;
  padding-right: 0px;
}

.third-row {
  padding-right: 5px;
  padding-bottom: 5px;
}

.third-row div {
  padding-left: 0px;
  padding-right: 0px;
}

.fifth-row {
  margin-top: 20px;
}

.fifth-row span {
  color: gray;
}

header img {
  filter: none;
  -webkit-filter: grayscale(0%);
}

/* header img:hover {
  cursor: pointer;
  filter: gray;
  -webkit-filter: grayscale(100%);
} */

/*   Perspective   */

#block-section {
  padding-top: 0px !important;
  height: 600px;
}

#block-section {
  background-color: #eeeeee;
}

#block-section .container {
  max-height: 100px !important;
}

#block-section a {
  color: #333;
  background-color: #cccccc;
}

#block-section a.active {
  background-color: #ffffff;
}

#block-section .nav-tabs {
  border-bottom: 0px solid #dee2e6;
}

#block-section .nav-link {
  border: 0px !important;
  padding: 20px 0px !important;
  border-top-left-radius: 0rem;
  border-top-right-radius: 0rem;
  margin-right: 5px;
}

#myTabContent img {
  max-height: 420px;
}

.perspective li {
  background-color: cornflowerblue;
}

.perspective-carousel {
  height: 300px;
}

/* Solutions */

.sol-img {
  opacity: 0.6;
  width: 300px;
  -webkit-box-shadow: 5px 5px 15px 5px #888888;
  box-shadow: 5px 5px 15px 5px #888888;
}

.solution-image {
  width: 350px;
  position: relative;
  text-align: center;
  color: white;
}

.centered {
  width: 100%;
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered p {
  margin-bottom: 0px;
  font-weight: bold;
}

/*    Industries    */

/*HomePage ---- Bootstrap Modal for video*/

.screen {
  background-color: black;
}

.modal-header {
  border-bottom: 0;
  padding-bottom: 0;
}

.close:focus,
.close:active {
  outline: none !important;
  box-shadow: none !important;
}

/*-------Body-positive-perspective------*/

.chat-close {
  border-radius: 50%;
  color: #fff;
  display: block;
  float: right;
  font-size: 18px;
  height: 22px;
  margin: 2px 0 0 0;
  text-align: center;
}

#live-chat {
  padding: 0 !important;
  bottom: 0px;
  font-size: 16px;
  right: 8.8vw;
  position: fixed;
  width: 300px;
  -webkit-box-shadow: 0px 0px 19px -10px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 19px -10px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 19px -10px rgba(0, 0, 0, 0.75);
}

#live-chat header {
  background: #4d4d4d;
  border-radius: 5px 5px 0 0;
  color: #fff;
  cursor: pointer;
  padding: 10px 22px;
}

.chat {
  background: #f4f4f4;
  display: none;
}

.chat .chat-cite {
  font-size: 14px;
  color: black;
}

/* -----Technologies----- */

.tech-block {
  border: 1px solid lightgray;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
  border-radius: 5px;
}

.boundary {
  border: 1px solid lightgray;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
  border-radius: 5px;
}

.outer {
  padding-left: 22px;
  padding-right: 22px;
}

/*-------Footer-------*/
#banner-dark {
  background-color: #eeeeee !important;
}

footer li,
footer p,
footer a,
footer ul,
footer div,
#terms,
#quote {
  color: black !important;
}

/* -------Media-------- */
@media only screen and (max-width: 280px) and (min-width: 100px) {
  #sidebarCollapse {
    padding: 2px 2px;
  }

  .navbar-brand img {
    width: 180px;
  }

  #bg-mobile {
    display: none;
  }

  #sm-mobile {
    display: none;
  }

  .landing-carousel {
    min-height: 330px !important;
  }

  .perspective-carousel {
    min-height: 420px !important;
  }
}

@media only screen and (max-width: 320px) and (min-width: 281px) {
  #sidebarCollapse {
    padding: 2px 5px;
  }

  .navbar-brand img {
    width: 200px;
  }

  #bg-mobile {
    display: none;
  }

  #sm-mobile {
    display: none;
  }

  .landing-carousel {
    min-height: 310px !important;
  }

  .perspective-carousel {
    min-height: 380px !important;
  }
}

@media only screen and (max-width: 375px) and (min-width: 321px) {
  #bg-mobile {
    display: none;
  }

  #verysmall-mobile {
    display: none;
  }

  .landing-carousel {
    min-height: 270px !important;
  }

  .perspective-carousel {
    min-height: 350px !important;
  }
}

@media (min-width: 376px) {
  #sm-mobile {
    display: none;
  }

  #verysmall-mobile {
    display: none;
  }

  .landing-carousel {
    min-height: 240px !important;
  }

  .perspective-carousel {
    min-height: 320px !important;
  }
}

/*-------For desktop screens--------*/

@media (min-width: 1200px) {
  .h2-responsive {
    font-size: 180% !important;
  }
}

@media (min-width: 992px) {

  #sol-info,
  .solutions-row {
    min-height: 800px !important;
  }

  #block-section .nav-link {
    max-width: 216px;
  }

  .boundary {
    min-height: 300px;
  }

  .sql {
    margin-top: 30px;
  }

  .angular {
    margin-top: 10px;
  }

  .java {
    margin-top: 65px;
  }

  .net,
  .node,
  .php,
  .apple,
  .android {
    margin-top: 50px;
  }
}

@media only screen and (max-width: 992px) {

  .lg-screen,
  #domain-section,
  .numbers-large,
  #block-section,
  #testim-banner,
  .solution-desktop,
  .level-4,
  .map-section,
  .careers-desktop,
  .global-desktop,
  .navigation,
  .footer-small {
    display: none;
  }
}

@media only screen and (min-width: 993px) {

  #sidebar,
  .sm-screen,
  .numbers-small,
  .carousel,
  .solution-mobile,
  .careers-mobile,
  .global-mobile {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .seperator {
    min-height: 48px !important;
  }

  .profile-page {
    padding-bottom: 0px !important;
  }
}

/* Make inner blog images responsive */
.main-content img,
.scrollable-content img,
.hero img {
  max-width: 100%;
  height: auto !important;
}