body {
  background-color: rgb(0, 0, 0);
  margin: 0;
  font-family: "Verdana", Geneva, sans-serif;
}

.container {
  width: 1024px;
  margin: 0 auto;
}

.only-mobile,
.only-mobile-block,
.not-pc {
  display: none;
}

h1,
h2 {
  margin-top: 0;
}

h1 {
  font-size: 1.5em;
  color: #B87F3F;
}

h2 {
  color: #1D542A;
  font-size: 1.4em;
}

p {
  margin-bottom: 5px;
}

img {
  display: block;
  max-width: 100%;
}

header {
  position: relative;
}

header>img {
  max-width: 100%;
}

.header-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  bottom: 25px;
  left: 50px;
  width: 85px;
}

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  background-color: #1D542A;
}

nav a {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  color: #F4D996;
  text-decoration: none;
  font-size: 1.1em;
  padding: 10px 0;
  text-align: center;
}

nav a:hover {
  color: #fff;
}

nav a:first-child {
  display: none;
}

nav a:first-child:focus {
  color: #fff;
}

nav,
header,
section,
footer {
  width: 100%;
}

section {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background-color: #f7f7f7;
  min-height: 500px;
  padding: 20px 35px;
}

.content ul li {
  list-style-position: inside;
}

.content a {
  color: #48687F;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

.subpages-mobile {
  height: 0;
}

section.mobile-warning {
  display: none;
}

.gray-out {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10;
}


/*
 * FORMS
*/

label {
  display: inline-block;
  text-align: right;
  width: 25%;
  padding-right: 5px;
}

label.left-align {
  text-align: left;
  padding-left: 5px;
}

label.label-wide {
  width: 50%;
}

textarea {
  width: 100%;
  resize: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="password"] {
  width: 50%;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 2px 3px;
  margin-bottom: 5px;
  font-size: 1em;
}

input[type='number'] {
  -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input.auto-size {
  width: auto;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button {
  padding: 2px 8px;
}

.alert-success,
.alert-failure {
  padding: 10px;
  text-align: center;
  font-size: 1em;
}

.alert-success {
  background-color: #8DD66B;
  border: 1px solid #6FAA53;
  color: #4B7238;
}

.alert-failure {
  background-color: #E8716F;
  border: 1px solid #B25553;
  color: #7F3D3B;
}

.modal {
  max-width: 400px;
  width: 100%;
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 10px;
  background-color: #f7f7f7;
  z-index: 11;
}


/*
 * FOOTER
*/

footer {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #F4D996;
  text-align: center;
  padding: 15px 10px;
  background-color: #1D542A;
  font-size: 0.8em;
}

footer h3 {
  margin-top: 0;
  font-weight: normal;
}

footer a,
footer a:hover {
  color: #ddd;
}

@media (max-width:1024px) {
  .container {
    width: 625px;
  }
  .not-pc {
    display: initial;
  }
  .not-pc-inline {
    display: inline;
  }
  .not-tab,
  .only-pc {
    display: none;
  }
  h2 {
    font-size: 1.1em;
  }
  nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 43px;
    overflow: hidden;
    -webkit-box-pack: initial;
    -ms-flex-pack: initial;
    justify-content: initial;
  }
  nav.menu-show {
    height: initial;
  }
  nav a {
    height: 43px;
  }
  nav a:first-child {
    display: initial;
  }
  section {
    padding: 15px 20px;
  }
  section p {
    font-size: 0.9em;
  }
  .container section.backoffice,
  .container section.mobile-warning {
    padding: 0 20px 0;
  }
  label {
    width: 35%;
  }
  label.label-wide {
    width: 60%;
  }
}

@media (max-width: 625px) {
  .container {
    width: 320px;
  }
  section {
    padding: 15px 12px;
  }
  section p {
    font-size: 0.7em;
  }
  .only-mobile {
    display: initial;
  }
  .only-mobile-block {
    display: block;
  }
  .not-mobile {
    display: none;
  }
  .container section.mobile-warning {
    display: block;
  }
  label {
    width: 32%;
    font-size: 12px;
  }
  label.label-wide {
    width: 95%;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  input[type="number"],
  input[type="password"] {
    width: 55%;
  }
  input.auto-size {
    width: auto;
  }
  footer {
    padding: 5px 3px;
    font-size: 8px;
  }
}


/* Backoffice */

header.backoffice {
  height: auto;
}

section.backoffice label {
  width: auto;
}
