main {
  margin-bottom: 0;
}

h1 {
  font-size: 3rem;
  font-weight: 200;
  margin: 0 auto 40px;
}

section {
  width: 100%;
  background-color: #cfe9c7;
}

section .container {
  width: 100%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
  padding: 80px 30px 120px;
  box-sizing: border-box;
}

.main-nav .lang ~ li:nth-of-type(4) {
  font-weight: 500;
}

/*

    CONTACT FORM

*/

form {
  width: 100%;
  max-width: 535px;
  margin: 0 auto;
  text-align: left;
}

form fieldset {
  width: 100%;
  border: none;
  padding: 7px 0;
  box-sizing: border-box;
  text-align: center;
}

form fieldset:nth-of-type(7) {
  margin-top: 20px;
}

form fieldset input,
form fieldset textarea {
  border: none;
  display: block;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 10px;
  border-width: 1px;
  -webkit-border-radius: 5px 5px;
  -moz-border-radius: 5px 5px;
  border-radius: 5px 5px;
  box-sizing: border-box;
  outline: none;
}

form textarea {
  width: 100%;
  max-width: 390px;
  margin: 0;
  resize: vertical;
}

form .input,
form textarea {
  font-family: "HCo Gotham SSm", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #444;
}

form input[disabled],
form textarea[disabled] {
  background-color: #ddd;
}

form input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-container {
  color: #555;
  font-size: 0.9rem;
  display: block;
  position: relative;
  padding: 6px 6px 6px 40px;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.check {
  display: inline;
  position: relative;
}

.check::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -32px;
  width: 21px;
  height: 21px;
  box-sizing: border-box;
  background-color: #fff;
  -webkit-transition: background-color 0.1s ease-in-out;
  -moz-transition: background-color 0.1s ease-in-out;
  -o-transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
}

.check::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 1px;
  width: 5px;
  height: 10px;
  opacity: 0;
  border-style: solid;
  border-color: #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -moz-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -o-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

/*.checkbox-container:hover .check::after {
  opacity: 1;
  border-color: #ccc;
  -webkit-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -moz-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -o-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}*/

.checkbox-container input:checked ~ .check::before {
  background-color: #62bb46;
  -webkit-transition: background-color 0.1s ease-in-out;
  -moz-transition: background-color 0.1s ease-in-out;
  -o-transition: background-color 0.1s ease-in-out;
  transition: background-color 0.1s ease-in-out;
}

.checkbox-container input:checked ~ .check::after {
  opacity: 1;
  border-color: #fff;
  -webkit-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -moz-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  -o-transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.button-holder input {
  width: 110px;
  background-color: #62bb46;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
  -webkit-border-radius: 3px 3px;
  -moz-border-radius: 3px 3px;
  border-radius: 3px 3px;
  color: #fff;
  border: 0;
  font-family: "HCo Gotham SSm", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  margin: 30px auto;
  padding: 12px 16px;
  display: block;
}

.button-holder input:hover {
  -webkit-transition: background-color 0.4s ease-in-out;
  -moz-transition: background-color 0.4s ease-in-out;
  -o-transition: background-color 0.4s ease-in-out;
  transition: background-color 0.4s ease-in-out;
  background-color: #000;
  border-width: 2px;
  border-color: #000;
}

.button-holder input[disabled] {
  width: 230px;
  color: #cfe9c7;
  background-color: #006666;
  cursor: initial;
}

.note {
  color: #62bb46;
  font-family: "HCo Gotham SSm", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: center;
}

.address {
  line-height: 1.2rem;
  padding-top: 20px;
}

.closeBtn.closeContactsBtn,
.closeBtn.closeContactsBtn::before {
  color: #fff;
}

/* Error classes */
form input.error,
form textarea.error,
form fieldset.error {
  border: 2px solid #ff0000;
  -webkit-border-radius: 5px 5px;
  -moz-border-radius: 5px 5px;
  border-radius: 5px 5px;
  background-color: #fff;
  color: #777;
}

form label.error {
  border: 2px solid #ff0000;
  -webkit-border-radius: 5px 5px;
  -moz-border-radius: 5px 5px;
  border-radius: 5px 5px;
}

form fieldset.error {
  background-color: #cfe9c7;
}

form input + div.error,
form textarea + div.error,
form fieldset + div.error,
form label + div.error {
  font-family: "HCo Gotham SSm", sans-serif;
  font-size: 0.75rem;
  color: #ff0000;
  max-width: 390px;
  margin: 0 auto;
  padding: 3px 5px;
  font-weight: 400;
  letter-spacing: 0.002rem;
  text-align: left;
}

form label + div.error {
  margin: 0;
  max-width: 530px;
}

#formStatus {
  position: relative;
  width: 100%;
  z-index: 9999999;
}

#formStatus p {
  position: fixed;
  top: -120px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 500;
  color: #fff;
  background-color: #006666;
  padding: 40px 20px 40px 40px;
  margin: 0;
  box-sizing: border-box;
  -webkit-transition: top 0.6s;
  -moz-transition: top 0.6s;
  -o-transition: top 0.6s;
  transition: top 0.6s;
}

#formStatus p.sent {
  top: 0;
  -webkit-transition: top 0.6s;
  -moz-transition: top 0.6s;
  -o-transition: top 0.6s;
  transition: top 0.6s;
}

#formStatus p span {
  display: inline;
  text-align: center;
  position: absolute;
  background-image: url("../images/checkmark-success.svg");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 20px;
  height: 13px;
  font-weight: 300;
  margin-top: 2px;
  margin-left: -30px;
}

section .wrapper {
  margin-top: 120px;
}

section .central,
section .representatives {
  font-size: 1rem;
}

section .central {
  float: left;
  text-align: left;
}

section .central p:nth-of-type(1),
section .representatives p:nth-of-type(1) {
  font-weight: 400;
}

section .central p:nth-of-type(2), 
section .representatives p:nth-of-type(2),
section .representatives p:nth-of-type(3) {
  font-size: .9rem;
}

section .representatives {
  float: right;
  text-align: left;
}

section .representatives p:nth-of-type(2),
section .representatives p:nth-of-type(3) {
  float: left;
  margin: 0;
}

section .representatives p:nth-of-type(2) {
  margin-right: 55px;
}

footer {
  margin-top: 0;
}

/*
---------------------------------
		 MEDIA QUERIES
---------------------------------
*/

@media screen and (max-width: 1500px) {
  #formStatus p {
    padding: 30px 20px 30px 40px;
  }
}

@media screen and (max-width: 1000px) {
  section .representatives p:nth-of-type(2) {
    margin-right: calc(51vw - 460px);
  }
}

@media screen and (max-width: 950px) {
  section .central,
  section .representatives {
    float: none;
    text-align: center;
  }
  section .representatives p:nth-of-type(2),
  section .representatives p:nth-of-type(3) {
    float: none;
    margin: 16px auto;
  }
  section .representatives p:nth-of-type(1) {
    margin-top: 40px;
  }
}

@media screen and (max-width: 700px) {
  section .container {
    padding: 50px 25px 50px 15px;
  }
  section .wrapper {
    margin-top: 60px;
  }
  h1 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 600px) {
  #formStatus p {
    padding: 20px 20px 20px 40px;
  }
}

@media screen and (max-width: 475px) {
  h1 {
    font-size: 1.4rem;
    margin: 0 auto 30px;
  }
}

@media screen and (max-width: 350px) {
  .checkbox-container {
    font-size: 0.8rem;
  }
  .check::before {
    top: -3px;
  }
  .check::after {
    top: 0;
  }
}
