html,
body {
  font-family: "Questrial", sans-serif !important;
}

body {
  border: 0px solid transparent;
  background-color: #ffffff;
}

/* Change the white to any color ;) */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset;
  -webkit-text-fill-color: black !important;
}

@media screen and (min-width: 480px) {
  /* Let's get this party started */
  ::-webkit-scrollbar {
    width: 8px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 6px;
    border-radius: 6px;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background: rgba(0, 104, 160, 0.8);
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
  }
  ::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 104, 160, 0.4);
  }
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(0, 104, 160, 0.8);
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 104, 160, 0.4);
}

/* 	.top-bg{
		background: url('images/head.jpg') center / cover; 
		padding: 0px auto;
		z-index: -1;
   } */

.headlink,
.material-icons {
  padding-top: 0px;
  color: white;
}

.mdl-layout__drawer {
  width: 300px;
  left: -150px;
}

.mdl-layout__drawer.is-visible {
  left: 0;
}
.headlink.scrolled,
.material-icons.scrolled {
}

.mdl-layout--fixed-header .mdl-layout__header,
.demo-layout-transparent .mdl-layout__drawer-button {
  /* This background is dark, so we set text to white. Use 87% black instead if
	your background is light. */
  color: white;
  position: fixed;
  -webkit-transition: all 0.6s ease-out;
  -moz-transition: all 0.6s ease-out;
  -o-transition: all 0.6s ease-out;
  -ms-transition: all 0.6s ease-out;
  transition: all 0.6s ease-out;
}

.shadow {
  -webkit-box-shadow: 0px 3px 5px rgba(100, 100, 100, 0.49);
  -moz-box-shadow: 0px 3px 5px rgba(100, 100, 100, 0.49);
  box-shadow: 0px 3px 5px rgba(100, 100, 100, 0.49);
}

.shadow2 {
  display: none;
}

.shadow2.scrolled {
  display: block;
  -webkit-box-shadow: 0px 3px 20px rgba(100, 100, 100, 0.49);
  -moz-box-shadow: 0px 3px 20px rgba(100, 100, 100, 0.49);
  box-shadow: 0px 3px 20px rgba(100, 100, 100, 0.49);
}

.mdl-layout--fixed-header .mdl-layout__header.scrolled {
  background: #0068a0;
}

.headt {
  font-weight: bold;
  font-family: CoolFont;
}

@font-face {
  font-family: CoolFont;
  src: url(fonts/kozgopro-light-opentype.otf);
}

@font-face {
  font-family: CoolFont2;
  src: url(fonts/DINLightAlternate.ttf);
}

@font-face {
  font-family: CoolFont3;
  src: url(fonts/bitwise.ttf);
}

.dinfont {
  font-family: "Questrial", sans-serif;
  font-weight: 200;
}

.dinfont_alt {
  font-family: CoolFont2;
}

.axndxdiv {
  text-align: center;
  margin-top: 10px;
}

.axndxlogo {
  height: 25px;
  margin-bottom: 2px;
}

.demo-card-wide.mdl-card {
  width: 812px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  background: url("images/bg.jpg");
}

.demo-card-wide.mdl-card:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.mission {
  background-image: url(images/mission-vision.jpg);
  box-shadow: inset 0 0 100px #000;
  transition: background 0.5s linear;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-1 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 1px;
}

.presws {
  white-space: pre-line;
}

.whitet {
  color: white !important;
}

.uqs_icon {
  max-height: 80px;
  display: inline-block;
  height: 87px;
  padding: 0px 40px 10px;
}

@media screen and (max-width: 480px) {
  .uqs_icon {
    height: 56px;
    margin-top: 4px;
  }
}

.mision_text {
  margin: 10px 240px 119px;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  text-align: center;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in;
}

/* FOR INDEX2 */
/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 197px; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  margin: auto;
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 3vh;
  display: inline-block;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
  position: relative;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover {
  color: #f1f1f1;
}

.overlay a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.overlay a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

#map {
  width: 100%;
  height: 400px;
  background-color: grey;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }

  #map {
    height: 250px;
  }
}

/* ENDS HERE */

.healthsafety {
  background-image: url(images/server.jpg);
  box-shadow: inset 0 0 100px #000;
  transition: background 0.5s linear;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card {
  position: relative;
  float: left;
  height: 100%;
  max-height: 340px;
  text-align: center;
}

.card__front,
.card__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card__front,
.card__back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  background-color: rgba(255, 255, 255, 0);
}

.card__back {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.card.effect__hover:hover .card__front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.card.effect__hover:hover .card__back {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.card__text {
  text-align: center;
  font-size: 30px;
  line-height: 1.3;
  color: #000000;
}

.card__content_front,
.card__content_back {
  max-height: 340px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.card__text_back {
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  color: #000000;
  padding: 0px 5%;
  margin-top: 0px;
}

.clients {
  background-color: white;
  padding-bottom: 120px;
}

.primcol {
  color: #0083ca;
}

.text_header {
  padding: 120px 120px 60px 120px;
  margin-top: 0px;
}

.services {
  margin: 0px auto;
  overflow: hidden;
  text-align: center;
  background-color: white;
  background-image: url(images/download2.png);
  background-size: cover;
  float: auto;
  padding-bottom: 100px;
}

.sv_icons {
  width: 100px;
}

/* SERVICES Styles */

.services_text_header {
  padding: 120px 120px 120px;
  color: #000000;
  margin: 0px;
}

.services_img {
  box-shadow: inset 0 0 100px #000;
  transition: background 0.5s linear;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service_title {
  padding-top: 50px;
  background-color: white;
  background-image: url(images/download.png);
  background-size: cover;
}

.service_desc {
  display: table;
  overflow: hidden;
  background-color: white;
  background-image: url(images/download.png);
  background-size: cover;
}

/* SERVICES Styles */

.card-1 {
  transition: all 0.4s ease-out;
  box-shadow: 0px 35px 136px -17px rgba(0, 0, 0, 0.44);
  overflow: hidden;
  margin: 30px auto 0px auto;
  width: 100%;
  align-items: space-around;
  max-width: 1200px;
}

.card-1:hover {
  /*   background-color:#99aeff; */
  box-shadow: 0px 35px 77px -17px rgba(0, 0, 0, 0.64);
  transform: scale(1.05);
}

.flexdiv {
  display: flex;
}

.contact_text {
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in;
}

.contacticon {
  color: #000000;
}

@media only screen and (max-width: 910px) {
  .flexdiv {
    display: block;
  }

  .contact_text {
    text-align: left;
    display: inline-block;
    margin: 0px 25px;
    margin-bottom: 60px;
  }
}

/* OLD */

.featured {
  display: -webkit-inline-box;
  margin: 0px auto;
}

.featuredlogo {
  margin: 20px;
}

.featuredtext {
  display: inline-table;
  margin: 40px 20px;
}

.featuredtext h4 {
  font-family: CoolFont;
  color: white;
  font-size: 30px;
  line-height: 1.35;
  margin: 0px;
}

.featuredtext h4#lower {
  font-size: 20px;
}

.demo-card-wide > .mdl-card__title {
  color: #fff;
  height: 120px;
  width: 120px;
}
.demo-card-wide > .mdl-card__menu {
  color: #fff;
}

@media only screen and (min-width: 424px) and (max-width: 570px) {
  .mdl-card__title.featuredlogo {
    height: 90px;
    width: 90px;
    margin: 39px 20px;
    margin-right: 5px;
  }

  .featuredtext {
    margin-left: 5px;
  }

  .featuredtext h4 {
    font-size: 25px;
  }

  .featuredtext h4#lower {
    font-size: 18px;
  }
}

#featengineering {
  display: none;
}

#featengineering_card {
  background: url("images/bg.jpg");
}

#featengineering_title {
  color: white;
}

@media only screen and (max-width: 423px) {
  #featcard {
    display: none;
  }

  #featengineering {
    display: block;
  }
}

.uqs-logo-image {
  max-height: 40px;
}
.container-fluid {
  margin-right: auto;
  margin-left: auto;
  padding-left: 0;
  padding-right: 0;
}

.clientslist {
  width: 80%;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.overline-type {
  color: rgba(0, 0, 0, 0.54);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
}

.contact_card {
  width: 60%;
  background-color: white;
  margin: 0px auto 60px;
  max-height: 402px;
  max-width: 600px;
}

.formc {
  max-width: 300px;
  margin: auto;
  padding: 40px 0px;
}

.line-divider {
  background-color: rgba(0, 104, 160, 0.8);
  height: 1px;
  margin: 0px auto;
  width: 80px;
}

.readm {
  font-weight: bold;
}
@media only screen and (min-width: 768px) {
  .line-divider {
    width: 120px;
  }
}

@media only screen and (min-width: 768px) {
  .overline-type {
    font-size: 22px;
  }
}
@media only screen and (min-width: 1024px) {
  .overline-type {
    font-size: 24px;
  }
}

.container_connect {
  padding: 40px;
}

.container-padding-right {
  padding-right: 0;
}
@media only screen and (min-width: 768px) {
  .container-padding-right {
    padding-right: 20px;
  }
}
@media only screen and (min-width: 1160px) {
  .container_connect {
    padding: 100px 120px;
  }
}
@media only screen and (min-width: 1280px) {
  .container_connect {
    padding: 100px 140px;
  }
  .container-padding-right {
    padding-right: 40px;
  }
}
@media only screen and (min-width: 1440px) {
  .container_connect {
    padding: 100px 140px;
  }
  .container-padding-right {
    padding-right: 60px;
  }
}

.container-padding-left {
  padding-left: 0;
}
@media only screen and (min-width: 768px) {
  .container-padding-left {
    padding-left: 20px;
  }
}
@media only screen and (min-width: 1280px) {
  .container-padding-left {
    padding-left: 40px;
  }
}
@media only screen and (min-width: 1440px) {
  .container-padding-left {
    padding-left: 60px;
  }
}

.container-padding {
  padding: 0 32px;
}
@media only screen and (min-width: 768px) {
  .container-padding {
    padding: 0;
  }
}

.about_text_header {
  padding: 120px 120px 0px;
  color: #000000;
  margin: 0px;
}

.about_text {
  margin: 60px 120px 60px 120px;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in;
}

.services_text {
  padding: 60px 120px;
  display: table-cell;
  vertical-align: middle;
  color: #000000;
  font-size: 20px;
  line-height: 1.3;
  transition-property: all;
  transition-duration: 0.2s;
  transition-timing-function: ease-in;
}

@media (max-width: 786px) {
  .about_text_header {
  }
  .about_text {
    margin: 60px 80px 60px 80px;
  }

  .services_text {
    padding: 60px 80px 60px 80px;
  }

  .mision_text {
    margin: 10px 15% 119px;
  }

  .parallax-1 {
    background-attachment: inherit;
  }

  .container_connect {
    padding: 0px 30px;
  }

  .container_connect h1 {
    font-size: 40px;
  }
  .mdl-textfield {
    width: 96%;
  }
}

@media (max-width: 582px) {
  .about_text_header {
  }
  .about_text {
    margin: 60px 40px 60px 40px;
  }
  .services_text {
    padding: 60px 40px 60px 40px;
  }

  .contact_card {
    width: 80%;
  }

  .formc {
    padding: 40px;
  }
}

@media (max-width: 440px) {
  .about_text_header {
    padding: 60px 40px 30px 40px;
    font-size: 30px;
  }
  .about_text {
    margin: 30px 40px 30px 40px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6em;
  }

  .services_text {
    padding: 30px 40px 30px 40px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6em;
  }

  .mision_text {
    margin: 30px 40px 60px 40px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6em;
  }

  .line-divider {
    margin-bottom: 60px;
  }

  .services_text_header {
    padding: 60px 10%;
  }
}

center.top2 > h1 {
  color: white;
  text-align: center;
  font-size: 56px;
  margin: 0vw 5vw;
}

center.top2 > h2 {
  color: white;
  text-align: center;
  font-size: 23px;
  margin: 5px auto 30px;
}

h2 {
  color: #131313;
  text-align: center;
  font-size: 40px;
}

center.top2 {
  background-image: url(images/uqs_bg.jpg);
  box-shadow: inset 0 0 100px #000;
  padding: 270px 100px 200px;
  transition: background 0.5s linear;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
}

center.bottom {
  padding: 70px 10px 10px 10px;
  width: inherit;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.line-divider2 {
  background-color: rgba(68, 138, 255, 0.5);
  height: 1px;
  margin: 0px auto 60px;
  width: 80px;
}
@media only screen and (min-width: 768px) {
  .line-divider2 {
    width: 120px;
  }
}

.hideme {
  opacity: 0;
}

#right {
  float: right;
}

.hideContent {
  display: block;
}

#container {
  margin: 0px auto;
  overflow: hidden;
  text-align: center;
  background-color: white;
  background-image: url(images/download.png);
  background-size: cover;
  float: auto;
  @media screen and (max-width: 840px) {
    max-width: 960px;
    max-width: 780px;
    float: left;
    text-align: center;
  }
}

.white.scrolled {
  display: none;
}

.grey.scrolled {
  display: none;
}

@media only screen and (max-width: 1128px) {
  .mdl-layout__header-row .mdl-navigation__link {
    padding: 26px 18px 0px !important;
  }
}

@media only screen and (max-width: 1100px) {
  center.top2 > h1 {
    font-size: 6.5vw;
    margin: 0vw 5vw;
  }

  center.top2 > h2 {
    font-size: 4vw;
    margin: 9vw 5vw;
  }

  center.top2 {
    padding: 166px 100px 120px;
  }
}

@media only screen and (max-width: 786px) {
  .demo-card-square.mdl-card {
    width: 100%;
    float: left;
    margin: auto;
  }

  .demo-card-wide.mdl-card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  center.top2 {
    padding: 100px 40px 70px 40px;
  }

  center.top2 > h1 {
    font-size: 8vw;
    margin: 10vw 5vw;
  }

  center.top2 > h2 {
    font-size: 5vw;
    margin: 10vw 5vw;
  }

  .card-text {
    /*Wide Card - Pricing*/
    font-size: 15px;
    width: 100%;
    display: inline;
    text-align: center;
    padding-top: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media only screen and (max-width: 570px) {
  center.top2 > h1 {
    font-size: 10vw;
    margin: 10vw 5vw;
  }

  center.top2 > h2 {
    font-size: 6vw;
    margin: 9vw 5vw;
  }
}

@media only screen and (max-width: 380px) {
  .demo-card-square.mdl-card {
    width: 100%;
    float: left;
    margin: 0px;
  }

  .demo-card-wide.mdl-card {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .mdl-grid {
    padding: 0px;
  }

  .card-container {
    max-width: 320px;
    margin: auto;
  }

  center.top2 > h1 {
    font-size: 8vw;
    margin: 7vw 5vw;
    margin-top: 60px;
  }

  center.top2 > h2 {
    font-size: 5vw;
    margin: 4vw 5vw;
  }

  .card-text {
    /*Wide Card - Pricing*/
    font-size: 15px;
    width: 100%;
    display: inline;
    text-align: center;
    padding-top: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  center.top2 {
    padding: 50px 10px 70px 10px;
  }

  #container2 ul li {
    font-size: 12px;
  }

  .mdl-tabs__tab {
    font-size: 12px;
  }

  .material-icons {
    font-size: 12px;
  }
}

.service_desc p {
  padding: 40px 20px;
  font-size: 1.5rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
