body {
    font-family: 'Roboto', 'Arial Narrow', Arial, sans-serif;
    font-size: 1em;
    margin-top: 140px;
}

main p {
    font-size: 0.9em;
    line-height: 1.7;
    color: #666;
}

body#home {
    padding-top: 0px;
}

body#about footer {
    margin-top: 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arvo', 'Arial Narrow', Arial, sans-serif;
}

.navbar {
    font-family: 'Arvo', 'Arial Narrow', Arial, sans-serif;
	font-weight: 200;
	font-size: 1.1em;
	border-bottom: 1px solid #eee;
}

.navbar-brand {
	height: 60px;
	width: 160px;
	background: 0 5px url("/i/awi-logo.svg") no-repeat;
	background-size: 150px 50px;
	padding-left: 45px;
	padding-right: 20px;
}

a.navbar-brand {
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
 }
    
.navbar a {
    color: black;
}

.navbar a:hover {
    opacity: 0.7;
    border-bottom: 1px solid #555;
}

.nav-item {
    padding: 0 20px;
}
.nav-link.active {
    border-bottom: 1px solid #D90024;
}
.jumbotron {
    color: #fff;
    padding-top: 150px;
    height: auto;
    background-image: url("/i/jumbo-bg.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#industries .jumbotron {
    margin: 0 auto 50px;
    padding-top: 40px;
    width: 80%;
    background-image: none;
    background-color: #444;
}

#capabilities .jumbotron {
    padding-top: 60px;
}

.jumbotron h1, .jumbotron h2, .jumbotron p.lead {
    text-shadow: 2px 2px 8px #000;
}

label+input {
    margin-top: 0;
    padding-top: 0;
    border: 1px solid red;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    color: #ddd;
    opacity: 0.8;
    text-decoration: underline;
}

footer .footer-contact p {
    margin-left: 25px;
}

footer .footer-contact p i.fa {
    text-indent: -25px;
}

footer h5 {
    color: white;
}


main {
    position: relative;
    background-color: black;
    height: 30vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
  }

main h1 {
    padding-top: 100px;
    text-shadow: 2px 2px 8px #000;
}

main h4 {
	font-size: 1.3vw;
}

@media (max-width: 1200px) {
	main h4 {
		font-size: 1em;
		}

	}

main video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
  
  main .container {
    position: relative;
    z-index: 2;
  }
  
  main .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }
  
  @media (pointer: coarse) and (hover: none) {
    main {
      background: url('/m/mazac.mp4') black no-repeat center center scroll;
    }
    main video {
      display: none;
    }
  }

.callout {
	border: 1px solid #ddd;
	background-color: #555;
}

.callout h2 {
	color: #eee;
}

figcaption {
	font-size: 90%;
	color: #555;
}





.demo-gallery > ul > li {
    float: left;
    margin-bottom: 15px;
    margin-right: 20px;
    width: 200px;
}
.demo-gallery > ul > li a { 
  border: 3px solid #FFF;
  border-radius: 3px;
  display: block;
  overflow: hidden;
  position: relative;
  float: left;
}
.demo-gallery > ul > li a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.demo-gallery > ul > li a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery > ul > li a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery > ul > li a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery > ul > li a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery > ul > li a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .justified-gallery > a > img {
  -webkit-transition: -webkit-transform 0.15s ease 0s;
  -moz-transition: -moz-transform 0.15s ease 0s;
  -o-transition: -o-transform 0.15s ease 0s;
  transition: transform 0.15s ease 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  height: 100%;
  width: 100%;
}
.demo-gallery .justified-gallery > a:hover > img {
  -webkit-transform: scale3d(1.1, 1.1, 1.1);
  transform: scale3d(1.1, 1.1, 1.1);
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster > img {
  opacity: 1;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.1);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transition: background-color 0.15s ease 0s;
  -o-transition: background-color 0.15s ease 0s;
  transition: background-color 0.15s ease 0s;
}
.demo-gallery .justified-gallery > a .demo-gallery-poster > img {
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  opacity: 0;
  position: absolute;
  top: 50%;
  -webkit-transition: opacity 0.3s ease 0s;
  -o-transition: opacity 0.3s ease 0s;
  transition: opacity 0.3s ease 0s;
}
.demo-gallery .justified-gallery > a:hover .demo-gallery-poster {
  background-color: rgba(0, 0, 0, 0.5);
}
.demo-gallery .video .demo-gallery-poster img {
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  opacity: 0.8;
  width: 48px;
}
.demo-gallery.dark > ul > li a {
  border: 3px solid #04070a;
}
.home .demo-gallery {
  padding-bottom: 80px; 
}
