/* Normalize  */

*, *::before, *::after {
  box-sizing: border-box;
}

input, textarea, select {
  font-size: inherit;
  font-family: inherit;
  background-color: white;
}

::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:-moz-placeholder, ::-moz-placeholder,
:-ms-input-placeholder, ::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.4;
}

/* Fonts */

@font-face {
  font-family: 'Dense';
  src:  local("Dense"), url("fonts/dense.otf");
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src:  local("Lato Regular"),
        local("Lato-Regular"),
        url(https://fonts.gstatic.com/s/lato/v11/1YwB1sO8YE1Lyjf12WNiUA.woff2) format("woff2"),
        url("fonts/lato.woff2") format("woff2");
}

@font-face {
  font-family: 'icomoon';
  font-style: normal;
  font-weight: normal;
  src:  url("fonts/icomoon.eot?iliihp");
  src:  url("fonts/icomoon.eot?iliihp#iefix")    format("embedded-opentype"),
        url("fonts/icomoon.ttf?iliihp")          format("truetype"),
        url("fonts/icomoon.woff?iliihp")         format("woff"),
        url("fonts/icomoon.svg?iliihp#icomoon")  format("svg");
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icomoon';
  speak: none;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.icon-time:before   { content: "\E900"; }
.icon-trophy:before { content: "\E901"; }
.icon-task:before   { content: "\E902"; }

/* Classes */

.left {
  float: left;
}

.right {
  float: right;
}

.clear {
  clear: both;
}

.half {
  width: 50%;
}

.row {
  position: relative;
  margin: auto auto;
  padding: 16px 0;
  max-width: 1200px;
  min-width: 900px;
  width: 70%;
  height: 100%;
}

body > div:nth-child(odd) {
  color: #555555;
  background: #F1F1F1;
  border-top: 1px solid #C8C8C8;
  border-bottom: 1px solid #C8C8C8;
}

.row:after {
   content: " ";
   height: 0;
   clear: both;
   display: block;
   visibility: hidden;
}

.row + .row {
  padding-top: 0;
}

.row + * {
  clear: both;
}

.box {
  text-align: center;
  margin-bottom: 16px;
  width: 33.33333%;
  height: 13em;
  padding: 8px;
  float: left;
}

.box > div {
  height: 100%;
  border-radius: 16px;
  margin-top: 24px;
  padding: 0 16px;
  border: 2px solid #C8C8C8;
}

.box > div:hover .icon-box {
  padding-top: 0;
}

.box .icon-box {
  width: 64px;
  height: 64px;
  padding-top: 8px;
  font-size: 40px;
  margin: -32px auto 0;
  color: #C8C8C8;
  background: #FFFFFF;
}

.box .green:hover {
  border-color: #8BC243;
}

.box .green:hover span, .box .green:hover h3 {
  color: #8BC243;
}

.box .blue:hover {
  border-color: #3279BE;
}

.box .blue:hover span, .box .blue:hover h3 {
  color: #3279BE;
}

.box .red:hover {
  border-color: #EE2449;
}

.box .red:hover span, .box .red:hover h3 {
  color: #EE2449;
}

.js-hide {
  display: none;
}

.no-js .js {
  display: none !important;
}

.no-js .view {
  height: auto !important;
}

.no-js .js-hide {
  display: inline-block;
}

.shiny {
  color: black;
  margin: -1px;
  padding: 0px 16px;
  background: #f1e767;
  border-radius: 0.25em;
  border: 1px solid #ffbe23;
  background: -moz-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, #f1e767), color-stop(100%, #feb645));
  background: -webkit-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: -o-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: -ms-linear-gradient(top, #f1e767 0%, #feb645 100%);
  background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f1e767', endColorstr='#feb645', GradientType=0 );
}

.shiny:hover {
  color: #1d466d;
  background: #feb645;
  background: -moz-linear-gradient(top, #feb645 0%, #f1e767 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, #feb645), color-stop(100%, #f1e767));
  background: -webkit-linear-gradient(top, #feb645 0%, #f1e767 100%);
  background: -o-linear-gradient(top, #feb645 0%, #f1e767 100%);
  background: -ms-linear-gradient(top, #feb645 0%, #f1e767 100%);
  background: linear-gradient(to bottom, #feb645 0%, #f1e767 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feb645', endColorstr='#f1e767', GradientType=0 );
}

/* Styles */

* {
  transition: all 0.5s, transform 1.5s;
}

html, body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  color: #222222;
  background: #FFFFFF;
  font-family: 'Lato', 'Calibri', Arial, Helvetica, sans-serif;
}

ul, li, a {
  margin: 0;
  padding: 0;
  color: inherit;
  list-style: none;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 16px;
}

h1 span, h2 span, h3 span, h4 span {
  font-size: 16px;
  font-weight: normal;
}

h1 span.green, h2 span.green, h3 span.green, h4 span.green {
  color: #8BC243;
}

h1 span.blue, h2 span.blue, h3 span.blue, h4 span.blue {
  color: #3279BE;
}

h1 span.red, h2 span.red, h3 span.red, h4 span.red {
  color: #EE2449;
}

section img {
  border: 1px solid #C8C8C8;
  box-shadow: 0px 5px 10px #C8C8C8;
}

img.bullet {
  float: left;
  position: absolute;
  margin: 0 !important;
  transform: translateX(-120%);
}

img.left {
  margin-right: 16px;
}

img.right {
  margin-left: 16px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 8px;
  overflow: hidden;
  text-align: center;
  background: #FFFFFF;
  font-family: 'Dense';
  -webkit-transform: translateZ(0);
  border-bottom: 1px solid #C8C8C8;
}

header .row {
  padding: 0;
}

header + * {
  margin-top: 64px;
}

header h1, header li, header a {
  display: inline-block;
  line-height: 50px;
  height: 50px;
  margin: 0 8px;
}

header li a {
  font-size: 1.65em;
}

header li a:hover {
  color: #3279BE;
}

header nav {
  float: right;
}

header #brand {
  float: left;
}

header #logo {
  position: relative;
  height: 50px;
  width: 50px;
  float: left;
  z-index: 3;
}

header #logo g {
  transform-origin: 200px 200px;
}

header #logo path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

header.sticky #logo #ring {
  transform: rotate(360deg);
}

header.anim {
  bottom: 0;
  height: 100%;
  animation: anim-header 8s ease-in-out forwards;
}

header.anim h1, header.anim nav, #back2top {
  animation: anim-fade 8s ease-in-out forwards;
}

header.anim #brand {
  float: none;
  position: absolute;
  animation: anim-brand 8s ease-in-out forwards;
}

header.anim #logo {
  animation: anim-logo 8s ease-in-out forwards;
}

header.anim #logo path {
  animation: anim-draw 8s ease-in-out forwards;
}

header.anim #logo #ring {
  animation: anim-rotate 8s ease-in-out forwards;
}

#promise .row:last-child {
  background: url("../res/promise.png") center right no-repeat;
  padding-right: 416px;
  background-size: 400px;
  padding-top: 0;
}

#services ul, #services li {
  list-style: disc inside none !important;
  line-height: 24px;
}

#services ul ul {
  margin-left: 2em;
}

#contact h3 {
  font-sze: 16px;
  margin-bottom: 0;
}

#contact .contact {
  float: left;
  width: 33.33333%;
  margin-bottom: 16px;
  min-height: 85px;
}


#order {
  position: relative;
}

#order .form-box {
  float: left;
  width: 50%;
  padding: 0 16px;
}

#order label, #order input, #order textarea, #order select {
  float: left;
  height: 32px;
  padding: 0 8px;
  min-height: 32px;
  line-height: 32px;
  margin-bottom: 8px;
}

#order label {
  width: 20%;
  text-align: center;
}

#order input, #order textarea, #order select {
  width: 80%;
  outline: none;
  display: block;
  height: 32px;
  line-height: 32px;
  border-radius: 8px;
  border: 1px solid #C8C8C8;
}

#order input:focus, #order textarea:focus, #order select:focus {
  color: #1d466d;
  border-color: #3279BE;
}

#order .duo label {
  width: 20%;
}

#order .duo input, #order .duo textarea, #order .duo select {
  width: 30%;
}

#order p {
  text-align: center;
}

#order label[for="desc"] {
  width: 100%;
  text-align: left;
}

#order #desc {
  width: 100%;
  height: 152px;
  line-height: 16px;
  padding-top: 8px;
  margin-bottom: 24px;
}

#order [type="radio"], #order [type="checkbox"] {
  width: 20%;
  min-height: 24px;
  height: 24px;
  margin: 4px 0;
}

#order [type="radio"] + label, #order [type="checkbox"] + label {
  width: 80%;
  text-align: left;
}

#order [type="radio"] + label span, #order [type="checkbox"] + label span {
  display: none;
  font-weight: bold;
  color: #3279BE;
}

#order [type="radio"]:checked + label, #order [type="checkbox"]:checked + label {
  font-weight: bold;
}

#order [type="radio"]:checked + label span, #order [type="checkbox"]:checked + label span {
  display: inline;
}

#order [type="submit"] {
  float: none;
  margin: auto;
  height: 64px;
  font-size: 24px;
  border-color: #8BC243;
  background-color: #bbdb90;
}

#order [type="submit"]:hover {
  color: white;
  background-color: #8BC243;
}

#order :-webkit-autofill {
  -webkit-text-fill-color: #000 !important;
  -webkit-box-shadow: 0 0 0px 1000px #FFF inset;
  border-color: #EDC723;
}

#order [error] {
  border-right-width: 24px;
}

#order [error="no"] {
  color: #557827;
  border-color: #8BC243 !important;
}

#order [error="no"]:focus {
  background-color: #eaf4dd;
}

#order [error="yes"][required] {
  color: #a00c27;
  border-color: #EE2449 !important;
}

#order [error="yes"][required]:focus {
  background-color: #fde1e6;
}

footer {
  color: #C2C2C2;
  background: #35383A;
  line-height: 4em;
  text-align: center;
  border-top: 1px solid black;
}

#back2top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  color: white;
  padding-top: 2px;
  line-height: 32px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.5);
}

#back2top:hover {
  background-color: rgba(0, 0, 0, 0.75);
}

#overlay {
  display: none;
}

#overlay.reveal {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
}

#overlay.reveal #modal {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 75%;
  padding: 48px;
  border-radius: 16px;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
}

/* Slideshow */

#stage {
  position: relative;
  overflow: hidden;
  height: 400px;
  color: white;
}
#stage > div {
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
#stage > div.show {
  opacity: 1;
}
#stage * {
  transition: all 4s;
}
#stage * * {
  transition: all 2s;
}
#stage h1, #stage p {
  text-shadow: 0px 2px 8px #000;
}

#slide1 {
  background-image: url("../res/slides/bg1.png");
  background-position: bottom center;
}
#slide1 h1 {
  position: absolute;
  top: -100px;
  right: -100px;
}
#slide1 .content {
  position: absolute;
  top: -36px;
  right: -100px;
  left: 550px;
  padding: 0 16px;
  text-align: right;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.5);
}
#slide1 img {
  position: absolute;
  bottom: -200px;
  left: -100px;
}
#slide1.show h1 {
  top: 16px;
  right: 16px;
}
#slide1.show .content {
  top: 64px;
  right: 0;
  left: 450px;
}
#slide1.show img {
  bottom: 0;
  left: 0;
}

#slide2 {
  background-image: url("../res/slides/bg2.png");
}
#slide2 h1 {
  position: absolute;
  top: -100px;
  left: -100px;
}
#slide2 .content {
  position: absolute;
  top: -36px;
  left: -100px;
  right: 550px;
  padding: 0 16px;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.5);
}
#slide2 img {
  position: absolute;
  bottom: -400px;
  right: -100px;
}
#slide2.show h1 {
  top: 16px;
  left: 16px;
}
#slide2.show .content {
  top: 64px;
  left: 0;
  right: 450px;
}
#slide2.show img {
  bottom: 0;
  right: 0;
}

#slide3 {
  background-image: url("../res/slides/bg3.png");
  background-position: bottom center;
}
#slide3 h1 {
  position: absolute;
  top: -100px;
  left: 366px;
}
#slide3 .content {
  position: absolute;
  top: -36px;
  right: 16px;
  left: 350px;
  padding: 0 16px;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.5);
}
#slide3 img {
  position: absolute;
  bottom: -200px;
  left: -100px;
}
#slide3.show h1 {
  top: 16px;
}
#slide3.show .content {
  top: 64px;
}
#slide3.show img {
  bottom: 0;
  left: 100px;
}

/* Animations */

@keyframes anim-header {
  0% {
    height: 100%;
    background: #193D5F;
    border-color: #193D5F;
  }
  50% {
    height: 100%;
    background: #193D5F;
    border-color: #193D5F;
  }
  70% {
    height: 67px;
    background: #FFFFFF;
    border-color: #C8C8C8;
  }
  100% {
    height: 67px;
  }
}

@keyframes anim-fade {
  0% {
    display: none;
    opacity: 0.0;
  }
  70% {
    display: block;
    opacity: 0.0;
  }
  90% {
    opacity: 1.0;
  }
}

@keyframes anim-brand {
  0% {
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -200px;
  }
  50% {
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -200px;
  }
  70% {
    top: 0%;
    left: 0%;
    margin-top: 0;
    margin-left: 0;
  }
  100% {
    top: 0%;
    left: 0%;
    margin-top: 0;
    margin-left: 0;
  }
}

@keyframes anim-logo {
  0% {
    width: 400px;
    height: 400px;
  }
  50% {
    width: 400px;
    height: 400px;
  }
  70% {
    width: 50px;
    height: 50px;
  }
  100% {
    width: 50px;
    height: 50px;
  }
}

@keyframes anim-draw {
  0% {
    fill-opacity: 0;
  }
  30% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  }
  50% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@keyframes anim-rotate {
  0% {
    transform: rotate(360deg);
  }
  30% {
    transform: rotate(360deg);
  }
  80% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* Media Queries */

@media print, (max-width: 900px) {
  html, body, #header, .row {
    width: auto !important;
    max-width: 900px !important;
    min-width: 700px !important;
  }

  .box, .form-box {
    width: 100% !important;
  }

  .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 32px !important;
    margin-right: 32px !important;
    background-image: none !important;
  }

  .half {
    width: 100% !important;
  }

  #navbar h1 {
    display: none !important;
  }
  #navbar h1 + h1 {
    display: inline-block !important;
  }

  #social {
    margin-right: 16px !important;
  }
  #social span:after {
    margin-left: -104px !important;
  }

  .contact {
    width: 50% !important;
  }
}

@media print {
  #header {
    display: none;
  }
  #header + div {
    margin-top: 0;
  }

  #back2top {
    display: none;
  }

  #stage {
    display: none;
  }

  .column, .alt {
    color: black !important;
    background: none !important;
    border: none !important;
  }

  .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #promise .row:first-child, #order {
    display: none !important;
  }

}
