#feature > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-top: 60px;
  padding-bottom: 60px;
}

#feature > div h3 {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 19.8px;
  margin: 0 0 10px;
}

#feature > div p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  margin: 0;
}

#hero {
  background-color: #000;
  height: 700px;
  background-size: cover;
  background-position: 50% 0;
  background-image: url("/img/workers_darker.jpg");
  color: #fff;
}

#hero > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  height: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#hero h2 {
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 64px;
  padding-top: 200px;
  margin-top: 0;
}

#hero p {
  font-size: 20px;
  line-height: 24px;
  font-weight: 300;
}

#hero div:not(.hero-text-img) {
  height: 100%;
}

#hero .hero-text-img {
  line-height: 0;
}

#hero .hero-text-img img {
  margin: 0;
}

@media only screen and (max-width: 768px) {
  #hero {
    height: 894px;
  }

  #hero > div {
    display: block;
  }

  #hero div:not(.hero-text-img) {
    height: auto;
  }

  #hero .hero-text-img {
    padding-top: 40px;
  }
}

.hero2 {
  background-image: url("/img/welder_darker.jpg");
  background-size: cover;
  color: #fff;
  height: 600px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 40px;
  line-height: 70px;
  padding: 40px;
  text-align: center;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  z-index: 100;
  font-weight: 400;
}

nav > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

nav ul:first-child {
  margin: 0;
}

nav ul {
  padding: 0;
}

nav ul li {
  list-style: none;
  text-transform: uppercase;
  display: inline-block;
}

nav ul li a {
  padding: 15px;
  line-height: 20px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
}

nav ul li a:hover {
  color: #5f83ff;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
  margin-top: 0px;
  border-bottom: 1px solid #eee;
  padding: 10px;
}

nav.scrolled ul li a {
  color: rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

nav.scrolled ul li a:hover {
  color: #5f83ff;
}

.page {
  margin-bottom: 100px;
}

.page .centered {
  text-align: center;
}

.page > div h1 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 28px;
  line-height: 30.8px;
}

.page > div hr {
  border-top: dashed 1px;
  width: 100px;
}

.page > div .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.page > div .flex > div,
.page > div .flex > figure {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.page > div .flex h2 {
  line-height: 50px;
  font-size: 45px;
  font-weight: normal;
  padding: 0 20px;
  margin-top: 0px;
}

.page > div .flex > div > div {
  padding: 0 20px;
}

.page > div .flex figure {
  text-align: center;
}

.page > div .flex figcaption {
  width: 300px;
  text-align: center;
  margin: 0 auto;
}

.page > div .details {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  text-align: left;
}

.page > div .details ul {
  list-style-type: circle;
}

.page > div .show-details,
.page > div .hide-details {
  cursor: pointer;
  text-decoration: underline;
}

.page > div input.toggle {
  position: absolute;
  left: -99999px;
}

.page > div input.toggle:checked + .show-details {
  display: none;
}

.page > div input.toggle:checked + .show-details ~ .details {
  max-height: 400px;
}

.page > div input.toggle:checked + .hide-details {
  display: none;
}

.page > div input[type="checkbox"].toggle:checked + .details {
  max-height: 400px;
}

.center {
  text-align: center;
}

.quotes {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.quotes .quote {
  position: absolute;
  top: 0;
  left: 100%;
}

.quotes .quote.current {
  left: -100%;
  -webkit-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
}

.quotes .quote.active {
  left: 0;
}

.quotes h4 {
  text-align: center;
}

.quotes blockquote {
  font-style: italic;
  text-align: center;
}

footer {
  background-color: #f9f9f9;
  padding: 60px 0;
}

footer > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

footer > div div {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
}

footer > div div h4 {
  color: #333;
  font-weight: 700;
  font-size: 18px;
  margin: 10px 0;
  text-transform: capitalize;
}

footer > div div p {
  margin: 0 0 10px;
  color: #777;
}

.rotate-display {
  height: 500px;
  margin-top: 100px;
  position: relative;
}

.rotate-display .rotate-elements {
  -webkit-perspective: 3000px;
          perspective: 3000px;
  left: 50%;
  margin-left: -190px;
  position: absolute;
}

.rotate-display .rotate-elements .rotate-element {
  -webkit-transition: 1s;
  transition: 1s;
  position: absolute;
  opacity: 0.5;
  width: 300px;
  text-align: center;
}

.rotate-display .rotate-elements .rotate-element figcaption {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.rotate-display .rotate-elements .rotate-element figcaption small {
  font-weight: 400;
  font-size: 12px;
}

.rotate-display .rotate-elements .active {
  opacity: 1;
}

.rotate-display .rotate-control {
  position: absolute;
  width: 100%;
  top: 250px;
  font-size: 28px;
  font-weight: 700;
}

.rotate-display .rotate-control .rotate-left,
.rotate-display .rotate-control .rotate-right {
  cursor: pointer;
  position: absolute;
  border-radius: 50px;
  width: 31px;
  height: 31px;
  text-align: center;
  line-height: 28px;
}

.rotate-display .rotate-control .rotate-left:hover,
.rotate-display .rotate-control .rotate-right:hover {
  background-color: #5f83ff;
  color: #fff;
}

.rotate-display .rotate-control .rotate-left {
  left: 0;
}

.rotate-display .rotate-control .rotate-right {
  right: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
}

button,
.button {
  border: 1px solid #e0e0e0;
  background: #e0e0e0 none repeat scroll 0 0;
  border-radius: 0;
  box-shadow: none;
  color: #333;
  height: 50px;
  font-size: 12px;
  letter-spacing: 2px;
  outline: medium none;
  padding: 15px 27px;
  text-transform: uppercase;
  -webkit-transition: all 0.2s ease 0s;
  transition: all 0.2s ease 0s;
  display: inline-block;
  width: auto;
  cursor: pointer;
  box-sizing: border-box;
  font-weight: 400;
}

button:hover,
.button:hover {
  background-color: #5f83ff;
  color: #fff;
}

.container {
  padding: 0 15px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container,
  .quote {
    width: 750px;
  }
}

@media (min-width: 1050px) {
  .container,
  .quote {
    width: 970px;
  }
}

@media (min-width: 1220px) {
  .container,
  .quote {
    width: 1170px;
  }
}