
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: 'Lato', arial;
  background-image: linear-gradient(to bottom, rgb(240, 240, 240) 40%, rgb(256, 256, 256));
  background-position: 0 184px;
  background-size: 100% 120px;
  background-repeat: no-repeat;
}

a {
  color: rgb(74, 156, 256);
}

a:hover {
  text-decoration: none;
}

a img {
  border: 0;
}

header.site,
nav,
main,
article {
  margin: 0 auto;
  width: 100%;
}

header.site a,
nav ol,
main {
  display: block;
  margin: 0 auto;
  max-width: 1400px;
}

article {
  max-width: 960px;
}


header.site {
  margin-bottom: 2px;
  height: 136px;
  background-color: rgb(32, 74, 138);
  background-image: url("../images/bg_header.jpg");
  background-repeat: no-repeat;
  background-position: top center;
}

header.site img {
  display: block;
  margin-left: 42px;
  width: 488px;
  height: 136px;
}


nav {
  background-color: rgb(94, 96, 102);
  background: linear-gradient(to right, rgb(94, 96, 102), rgb(64, 66, 68));
}

nav ol {
  padding-right: 180px;
  height: 48px;
  text-align: right;
  line-height: 48px;
}

nav ol > li {
  display: inline-block;
  text-transform: uppercase;
}

nav a {
  padding: 0 10px 0 8px;
  color: rgb(256, 256, 256);
  font-weight: bold;
  text-decoration: none;
  border-right: 1px solid rgb(96, 98, 100);
}

nav li:first-child a {
  padding-left: 0;
}

nav a:hover,
nav a.active {
  color: rgb(64, 142, 238);
}

nav ol li:last-child a {
  padding-right: 0;
  border: 0;
}


main {
  padding: 8px 50px;
}

main header {
  position: relative;
  margin-bottom: 32px;
  border-bottom: 8px solid rgb(38, 108, 196);
}

main header:after {
  content: '';
  position: absolute; left: 0; bottom: -25px;
  width: 100%;
  height: 14px;
  background-image: linear-gradient(to bottom, rgb(202, 206, 208), rgb(256, 256, 256));
}

main header h1 {
  margin-bottom: 2px;
  padding-left: 80px;
  height: 90px;
  color: rgb(256, 256, 256);
  font-size: 48px;
  text-transform: uppercase;
  line-height: 90px;
  background-image: url("../images/header_eye.jpg"), linear-gradient(to left, rgb(60, 62, 66) 256px, rgb(94, 96, 102));
  background-repeat: no-repeat;
  background-position: center right, top left;
  border-radius: 16px 0 0 0;
}


section.statement {
  padding: 32px 80px;
  color: rgb(176, 176, 176);
  font-size: 18px;
  background-color: rgb(68, 70, 74);
  background-image: url("../images/bg_statement.png");
  background-repeat: no-repeat;
  background-position: -38px center;
  border-radius: 16px;
}

section.statement h1 {
  display: inline;
  color: rgb(256, 256, 256);
  font-size: 24px;
}

section.statement p {
  display: inline;
}


footer:before {
  content: '';
  display: block;
  position: absolute; top: 0; left: 0; right: 0;
  height: 12px;
  background: linear-gradient(to right, rgb(64, 66, 68), rgb(94, 96, 102));
  border-bottom: 2px solid rgb(256, 256, 256);
}

footer {
  position: relative;
  padding: 60px 0 16px 0;
  min-height: 240px;
  color: rgb(114, 114, 114);
  font-size: 16px;
  background-color: rgb(20, 44, 82);
  background-image: url("../images/bg_footer.jpg");
  background-repeat: no-repeat;
  background-position: center 14px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 48px auto;
  max-width: 1400px;
}

footer .flex > section {
  flex: 1 1 auto;
  width: 50%;
  text-align: center;
}

footer .flex > section:first-child {
  background-image: linear-gradient(to bottom, rgb(96, 98, 100), rgb(96, 98, 100));
  background-size: 1px 100%;
  background-repeat: no-repeat;
  background-position: top right;
}

footer .copyright span {
  display: block;
  font-size: 14px;
}

footer ul.legal li {
  display: inline-block;
  text-transform: uppercase;
  border-right: 1px solid rgb(96, 98, 100);
}

footer ul.legal li:last-child {
  border: 0;
}

footer ul.legal li a {
  padding: 0 10px 0 8px;
}

footer .credits {
  text-align: center;
}

footer img {
  display: block;
  margin: 0 auto;
}


/**
 *
 *  Columns
 *
**/

.columns {
  column-count: 5;
  column-gap: 10px;
}

.columns .box {
  margin-bottom: 10px;
  width: 100%;
  opacity: 1.0;

  transition: opacity 0.5s;
}

.columns .box.start {
  opacity: 0.0;
}

.columns .box img {
  display: block;
  width: 100%;
  border-radius: 16px;
}


/**
 *
 *  Request Form
 *
**/

form .basics,
form .miscellaneous {
  padding: 48px 64px;
  background-color: rgb(210, 210, 210);
}

form .basics {
  margin-bottom: 16px;
}

form .miscellaneous {
  margin-bottom: 48px;
  color: rgb(114, 114, 114);
  font-size: 20px;
}

form fieldset {
  margin: 0 0 16px 0;
  padding: 0;
  border: 0;
}

form input[type="text"],
form select,
form textarea {
  padding: 4px;
  width: 100%;
  height: 42px;
  font-family: 'Lato';
  font-size: 20px;
}

form textarea {
  height: auto;
}

form .basics input[type="text"],
form .basics select,
form .miscellaneous textarea {
  border: 0;
}

form .flex {
  display: flex;
  justify-content: space-between;
}

form .flex fieldset {
  flex: 0 0 auto;
  padding: 0 8px;
}

form .flex fieldset:first-child {
  padding-left: 0;
}

form .flex fieldset:last-child {
  padding-right: 0;
}

form .flex fieldset.master {
  flex: 1 1 auto;
}

form .flex:last-child fieldset,
form .miscellaneous fieldset:last-of-type {
  margin: 0;
}

form section {
  margin: 0 0 16px 0;
  color: rgb(114, 114, 114);
  font-size: 20px;
}

form label {
  display: block;
  margin-bottom: 4px;
}


form section h2 {
  position: relative;
  margin: 0 0 16px 0;
  padding: 24px 88px 24px 64px;
  min-height: 74px;
  color: rgb(256, 256, 256);
  font-size: 20px;
  background-image: url("../images/icon_eye.png"),
                    linear-gradient(to left, rgb(22, 50, 92), rgb(38, 108, 196));
  background-position: 16px 16px, 0 0;
  background-repeat: no-repeat;
  cursor: pointer;
}

form section h2:after {
  content: '';
  position: absolute; top: 12px; right: 24px;
  width: 52px;
  height: 52px;
  background-image: url("../images/icon_toggle.png");
  background-repeat: no-repeat;
  transform: rotate(-90deg);
  transition: transform 0.2s;
}

form section h2.active::after {
  transform: rotate(0deg);
}

form section h2.active ~ fieldset {
  display: block;
  padding: 0 64px;
}

form section fieldset {
  display: none;
}


form .basics.success {
  background-color: rgb(230, 250, 230);
  border: 2px solid rgb(80, 200, 80);
}

form .basics.error {
  background-color: rgb(250, 230, 230);
  border: 2px solid rgb(200, 80, 80);
}


/**
 *
 *  FAQ
 *
**/

ol.faq {
  margin: 0;
  padding: 0;
  list-style: none;
}

ol.faq > li {
  display: block;
  margin-bottom: 24px;
}

ol.faq h2 {
  position: relative;
  margin: 0;
  padding: 24px 88px 24px 64px;
  min-height: 74px;
  color: rgb(256, 256, 256);
  font-size: 20px;
  background-image: url("../images/icon_eye.png"),
                    linear-gradient(to left, rgb(22, 50, 92), rgb(38, 108, 196));
  background-position: 16px 16px, 0 0;
  background-repeat: no-repeat;
  cursor: pointer;
}

ol.faq h2:after {
  content: '';
  position: absolute; top: 12px; right: 24px;
  width: 52px;
  height: 52px;
  background-image: url("../images/icon_toggle.png");
  background-repeat: no-repeat;
  transform: rotate(-90deg);
  transition: transform 0.2s;
}

ol.faq h2.active::after {
  transform: rotate(0deg);
}

ol.faq h2.active + .html-wysiwyg {
  display: block;
}

ol.faq .html-wysiwyg {
  display: none;
  padding: 0 112px 0 64px;
}

ol.faq .html-wysiwyg:before {
  content: 'Answer';
  display: block;
  margin-bottom: 8px;
  padding-top: 16px;
  color: rgb(38, 108, 196);
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 2px solid rgb(208, 208, 208);
}
