/* ************************************************************************* */
/* ************************************************************************* */
/*                                                                           */
/*  Mobile First styles                                                      */
/*                                                                           */
/* ************************************************************************* */
/* ************************************************************************* */

/* ========================================================================= */
/* Global styles                                                             */
/* ========================================================================= */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background-color: #484f59;
  color: #e5e7ec;
  font-family: Arial, sans-serif;
  font-size: 16px;
  margin: 0;
}

div.layout {
  display: none;
}

/* ========================================================================= */
/* Website HEADER                                                            */
/* ========================================================================= */
body > header {
  background-color: #fdc30e;
  color: #404041;
}

body > header > h1 {
  background-color: #e5e7ec;
  border: 2px solid #939597;
  margin: 0 0 30px;
  padding: 20px 10px;
  text-align: center;
}

body > header > nav + div {
  padding: 40px 10px 30px;
}

body > header > nav + div > img {
  width: 100%;
}

/* ========================================================================= */
/* Website NAV                                                               */
/* ========================================================================= */
nav {
  background-color: #484f59;
}

nav > ul {
  border-top: 2px solid #e5e7ec;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav > ul > li {
  border-bottom: 2px solid #e5e7ec;
}

nav > ul > li > a {
  color: #e5e7ec;
  display: block;
  padding: 10px 10px;
  text-decoration: none;
}

nav > ul > li > a#active,
nav > ul > li > a:hover {
  background-color: #404041;
  color: #fdc30e;
}

/* ========================================================================= */
/* Home - MAIN - 1st SECTION                                                 */
/* ========================================================================= */
main > section:first-child > header {
  background: url('../img/calendar.svg') 10px top / 35px 35px no-repeat #fdc30e;
  color: #404041;
  font-weight: bold;
  padding: 2px 10px 30px 60px;
}

main > section:first-child > h2 {
  font-size: 1.125rem;
  margin: 30px 10px 0;
}

main > section:first-child > h3 {
  font-size: 1rem;
  margin: 20px 10px 0;
}

main > section:first-child > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

main > section:first-child > ul > li {
  font-style: italic;
  margin: 10px 10px 0 20px;
  text-align: left;
}

main > section:first-child > span {
  display: inline-block;
  font-weight: bold;
  margin: 20px 10px 30px;
}

/* ========================================================================= */
/* Home - MAIN - 2nd SECTION                                                 */
/* ========================================================================= */
main > section + section {
  background-color: #e5e7ec;
  padding-bottom: 30px;
}

main > section + section > h2 {
  color: #404041;
  font-size: 1.125rem;
  margin: 0;
  padding: 30px 10px 0;
  text-align: center;
}

main > section + section > section {
  margin: 10px;
  min-height: 94px;
  padding: 10px;
}

main > section + section > section > h3 {
  font-size: 1rem;
  margin: 0;
  padding-left: 75px;
}

main > section + section > section > span {
  display: block;
  margin-top: 10px;
  padding-left: 75px;
}

main > section + section > section > span + span:not(:last-child) {
  margin-top: 0;
}

main > section + section > section > span > a {
  color: #fdc30e;
  text-decoration: none;
}

main > section + section > section > span > a:hover {
  text-decoration: underline;
}

section#info-register {
  background: url('../img/info-register.svg') 10px 15px no-repeat #484f59;
}

section#info-public {
  background: url('../img/info-public.svg') 10px 15px no-repeat #484f59;
}

section#info-price {
  background: url('../img/info-price.svg') 10px 15px no-repeat #484f59;
}

section#info-place {
  background: url('../img/info-place.svg') 10px 15px no-repeat #484f59;
}

section#info-details {
  background: url('../img/info-details.svg') 10px 15px no-repeat #484f59;
}

/* ========================================================================= */
/* Register - MAIN                                                           */
/* ========================================================================= */
main#register {
  background: none #fdc30e;
  border-bottom: none;
  padding: 30px 0 0;
}

main#register > form {
  background-color: #484f59;
  padding: 30px 10px;
}

main#register > form > h2 {
  font-size: 1.125rem;
  margin: 0 0 20px;
}

main#register > form h3 {
  font-size: 1rem;
  margin: 40px 0 10px;
}

main#register > form em {
  font-size: 0.875rem;
}

main#register > form > a {
  color: #fdc30e;
  font-size: 0.875rem;
  text-decoration: none;
}

main#register > form > a:hover {
  text-decoration: underline;
}

main#register > form > a + em {
  display: inline-block;
  margin-top: 10px;
}

main#register > form label {
  cursor: pointer;
  display: block;
  margin: 20px 0 0;
}

main#register > form > div#dateFields > label > input {
  cursor: pointer;
  margin-right: 5px;
}

main#register > form > div#dateFields > label > strong {
  display: inline-block;
  font-size: 0.875rem;
  font-style: italic;
  padding-top: 5px;
}

main#register > form strong {
  color: #fdc30e;
}

main#register > form > div#dataFields > label > input,
main#register > form > div#dataFields > label > select,
main#register > form > button {
  background-color: #e5e7ec;
  border: 2px solid #404041;
  border-radius: 0;
  color: #404041;
  display: block;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  margin-top: 5px;
  padding: 5px;
  width: 100%;
}

main#register > form > div#dataFields > label > select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: url('../img/arrow_down.svg') right 7px center no-repeat #e5e7ec;
}

main#register > form > div#dataFields > label > select:hover,
main#register > form > button:hover {
  cursor: pointer;
}

main#register > form > div#dataFields > label > input:focus,
main#register > form > div#dataFields > label > select:focus,
main#register > form > button {
  border-color: #fdc30e;
  outline: none;
}

main#register > form > div#dataFields > label > select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

main#register > form > div.g-recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 10px;
}

main#register > form > button {
  background-color: #404041;
  border-color: #e5e7ec;
  color: #e5e7ec;
  font-weight: bold;
  margin-top: 40px;
  padding: 10px;
}

main#register > form > button:hover {
  background-color: #404041;
  border-color: #fdc30e;
  color: #fdc30e;
}

main#register > form > div#error > div {
  border: 2px solid;
  display: none;
  margin-top: 20px;
  padding: 10px;
}

main#register > form > div#dataFields > label > input.validationSuccess,
main#register > form > div#dataFields > label > select.validationSuccess {
  background-color: #dff0d8;
  border-color: #3c763d;
  color: #3c763d;
}

main#register > form > div#error > div,
main#register > form > div#dataFields > label > input.validationError,
main#register > form > div#dataFields > label > select.validationError {
  background-color: #f2dede;
  border-color: #a94442;
  color: #a94442;
}

main#register > form > div#dataFields > label > strong + span {
  display: inline-block;
  float: right;
  height: 16px;
  margin-right: 2px;
  width: 16px;
}

main#register > form > div#dataFields > label > span.validationIconSuccess {
  background: url('../img/check.svg') top left / 16px 16px no-repeat transparent;
}

main#register > form > div#dataFields > label > span.validationIconError {
  background: url('../img/cross.svg') top left /  16px 16px no-repeat transparent;
}

/* ========================================================================= */
/* Map - MAIN                                                                */
/* ========================================================================= */
main#map {
  background: none #fdc30e;
  border-bottom: none;
  padding: 30px 0 0;
}

main#map > div {
  background: url('../img/one.svg') 20px 30px no-repeat #484f59;
  padding: 30px 10px;
}

main#map > div > strong,
main#map > div > span,
main#map > div > em {
  display: block;
  margin-left: 80px;
}

main#map > div > img {
  background-color: #fafafa;
  border-radius: 20px;
  margin: 20px 0 0;
}

/* ========================================================================= */
/* Info - MAIN                                                               */
/* ========================================================================= */
main#info {
  background: none #fdc30e;
  border-bottom: none;
  padding: 30px 0 0;
}

main#info > div {
  background-color: #484f59;
  padding: 30px 10px;
}

main#info > div > h2 {
  font-size: 1.125rem;
  margin: 0 0 20px;
}

main#info > div > strong {
  color: #fdc30e;
}

main#info > div > a {
  color: #fdc30e;
  text-decoration: none;
}

/* ========================================================================= */
/* Info - MAIN                                                               */
/* ========================================================================= */
main#admin {
  background: none #fdc30e;
  border-bottom: none;
  padding: 30px 0 0;
}

main#admin > div {
  background-color: #484f59;
  padding: 30px 10px;
}

/* ========================================================================= */
/* Website FOOTER                                                            */
/* ========================================================================= */
body > footer {
  background-color: #fdc30e;
  color: #404041;
  font-weight: bold;
  padding: 30px 10px;
}

body > footer > img {
  margin-left: 25px;
  vertical-align: middle;
  width: 170px;
}

body > footer > img + img {
  display: block;
  margin: 30px auto 0;
  width: 300px;
}

/* ************************************************************************* */
/* ************************************************************************* */
/*                                                                           */
/*  Desktop styles                                                           */
/*                                                                           */
/* ************************************************************************* */
/* ************************************************************************* */
@media all and (min-width: 768px) {

  /* ===================================================================== */
  /* Global styles                                                         */
  /* ===================================================================== */
  body {
    background-color: #5d5d5d;
  }

  div.layout {
    display: block;
  }

  /* ===================================================================== */
  /* Website HEADER                                                        */
  /* ===================================================================== */
  body > header {
    border: 1px solid #e5e7ec;
    border-bottom: none;
    border-top: none;
    margin: auto;
    position: relative;
    width: 768px;
  }

  body > header > h1 {
    font-size: 2.875rem;
    height: 156px;
    line-height: 58px;
    margin: 0 0 0 95px;
    position: relative;
    width: 388px;
    z-index: 2;
  }

  body > header > div.layout > div:first-child {
    background-color: #484f59;
    height: 105px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
  }

  body > header > div.layout > div + div {
    background-image: url('../img/power.svg');
    height: 140px;
    position: absolute;
    right: 50px;
    top: 16px;
    width: 140px;
    z-index: 2;
  }

  body > header > div.layout > span {
    background-image: url('../img/triangle_bottom_left.svg');
    display: inline-block;
    height: 51px;
    left: 44px;
    position: absolute;
    top: 105px;
    width: 51px;
  }

  body > header > div.layout > span + span {
    background-image: url('../img/triangle_bottom_right.svg');
    left: 483px;
  }

  body > header > nav + div {
    padding: 17px 65px 15px;
  }

  body > header > nav + div > img {
    width: 100%;
  }

  /* ===================================================================== */
  /* Website NAV                                                           */
  /* ===================================================================== */
  nav {
    margin-top: 20px;
  }

  nav > ul {
    border-bottom: 2px solid #e5e7ec;
    font-size: 0;
    text-align: center;
  }

  nav > ul > li {
    border-bottom: none;
    border-right: 2px solid #e5e7ec;
    display: inline-block;
    font-size: 1rem;
    width: 33.33%;
  }

  nav > ul > li:first-child {
    border-left: 1px solid #e5e7ec;
  }

  nav > ul > li:last-child {
    border-right: 1px solid #e5e7ec;
  }

  /* ===================================================================== */
  /* Home - MAIN - 1st SECTION                                             */
  /* ===================================================================== */
  main {
    background: url('../img/network.svg') 695px 72px no-repeat #484f59;
    border: 1px solid #e5e7ec;
    border-bottom: 2px solid #939597;
    border-top: none;
    display: block;
    margin: auto;
    position: relative;
    text-align: justify;
    width: 768px;
  }

  main > section:first-child {
    height: 622px;
  }

  main > section:first-child > header {
    background: url('../img/calendar.svg') 50px top / 40px 40px no-repeat #fdc30e;
    border-bottom: 2px solid #939597;
    padding: 2px 0 11px 110px;
  }

  main > section:first-child > header > span {
    font-size: 1.125rem;
  }

  main > section:first-child > h2 {
    font-size: 0.8rem;
    margin: 20px 435px 0 50px;
  }

  main > section:first-child > h3 {
    font-size: 0.8rem;
    line-height: 15px;
    margin: 20px 435px 0 50px;
  }

  main > section:first-child > ul {
    font-size: 0.8rem;
    margin: 13px 435px 0 50px;
  }

  main > section:first-child > ul > li {
    line-height: 15px;
    margin: 13px 0 0 5px;
  }

  main > section:first-child > span {
    font-size: 0.75rem;
    line-height: 15px;
    margin: 20px 435px 0 50px;
  }

  /* ===================================================================== */
  /* Home - MAIN - 2nd SECTION                                             */
  /* ===================================================================== */
  main > section + section {
    border: 2px solid #939597;
    left: 385px;
    padding-bottom: 0;
    position: absolute;
    top: 5px;
    width: 290px;
    z-index: 1;
  }

  main > section + section > h2 {
    padding: 15px 15px 0;
  }

  main > section + section > section {
    margin: 15px;
    padding: 15px;
  }

  main > section + section > section > h3 {
    font-size: 1rem;
    margin: 0;
    padding-left: 73px;
  }

  main > section + section > section > span {
    font-size: 0.75rem;
    line-height: 14px;
    padding-left: 73px;
  }

  main > section + section > div.layout {
    position: relative;
  }

  main > div.layout > div:first-child > span {
    background-image: url('../img/triangle_top_left.svg');
    display: inline-block;
    height: 50px;
    position: absolute;
    right: 381px;
    top: 5px;
    width: 51px;
  }

  main > div.layout > div:first-child > span + span {
    background-image: url('../img/triangle_top_right.svg');
    right: 40px;
  }

  main > div.layout > div + div > span {
    background-image: url('../img/triangle_bottom_left.svg');
    bottom: -46px;
    display: inline-block;
    height: 45px;
    position: absolute;
    right: 374px;
    width: 51px;
  }

  main > div.layout > div + div > span + span {
    background-image: url('../img/triangle_bottom_right.svg');
    right: 47px;
  }

  /* ===================================================================== */
  /* Register - MAIN                                                       */
  /* ===================================================================== */
  main#register > form {
    border: 2px solid #939597;
    border-left: none;
    border-right: none;
    padding: 30px 50px;
    text-align: left;
  }

  main#register > form > div#dateFields,
  main#register > form > div#dataFields {
    display: inline-block;
    vertical-align: top;
    width: 330px;
  }

  /* ===================================================================== */
  /* Map - MAIN                                                            */
  /* ===================================================================== */
  main#map > div {
    background-position: 50px 30px;
    border: 2px solid #939597;
    border-left: none;
    border-right: none;
    padding: 30px 50px;
    text-align: left;
  }

  main#map > div > img {
    width: 100%;
  }

  /* ===================================================================== */
  /* Register - MAIN                                                       */
  /* ===================================================================== */
  main#info > div {
    border: 2px solid #939597;
    border-left: none;
    border-right: none;
    padding: 30px 50px;
    text-align: left;
  }

  /* ===================================================================== */
  /* Website FOOTER                                                        */
  /* ===================================================================== */
  body > footer {
    border: 1px solid #e5e7ec;
    border-top: none;
    margin: auto;
    padding: 20px 10px;
    width: 768px;
  }

  body > footer > span {
    margin-left: 40px;
  }
}
