/**
 * /user/assets/styles/page/contact.css
 *
 * @author Pablo Rubio
 * @version 1.0
 */

body[data-resource='contact'],
body[data-resource='contact'] #wrap,
body[data-resource='contact'] #main,
body[data-resource='contact'] #contact,
body[data-resource='contact'] .attachments,
body[data-resource='contact'] .attachments .attachment {
  width: 100%;
  height: 100%;
}

body[data-resource='contact'].tablet,
body[data-resource='contact'].tablet #wrap,
body[data-resource='contact'].tablet #main,
body[data-resource='contact'].tablet #contact {
  height: auto;
}

#contact {
  width: 100%;
  height: 100%;
  position: relative;
}

#main #contact .attachments {
  position: relative;
}

.tablet #main #contact .attachments {
  position: fixed;
  top: 0px;
  left: 0px;
}

.tablet #main #contact .attachments,
.smartphone #main #contact .attachments {
  width: 100%;
  height: 100%;
}

#contact .attachments .attachment {
  position: absolute;
  background-position: center;
  background-size: cover;
}

#contact .attachments .attachment > div {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
}

#contact .the-title {
  padding: 30px;
  display: none;
}

#contact .the-title h2 {
  color: #ffffff;
  display: block;
  margin: 0px;
  font-size: 0.7em;
  line-height: 1em;
  padding: 30px 6px 0px 6px;
}

#contact .the-content {
  position: absolute;
  width: 100%;
  z-index: 100;
  max-width: 1020px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tablet #main #contact .the-content {
  background-color: rgba(255, 255, 255, 0);
  position: relative;
  top: 0px;
  left: 0px;
  transform: translate(0%, 0%);
  width: 100%;
  padding: 84px 30px 30px 30px;
}

#main #contact .the-content:before {
  display: none;
}

#contact .the-content .details,
#contact .the-content .form {
  padding: 30px;
}

.tablet #contact .the-content .details,
.tablet #contact .the-content .form {
  float: none;
  width: 100%;
}

.tablet #contact .the-title {
  display: block;
}

.tablet #contact .the-content .form h4 {
  color: #ffffff;
  display: block;
  margin: 0px;
  font-size: 0.6em;
  line-height: 1em;
  padding: 30px 6px 60px 6px;
}

#contact .the-content .details h3 {
  display: none;
}

#contact .the-content .details .ornament {
  height: 15px;
  display: block;
  margin: 24px 0px;
  position: relative;
  left: -36px;
}

#contact ul.social,
#contact ul.write {
  margin: 0px;
  padding: 18px;
  list-style: none;
}

#contact ul.social li,
#contact ul.write li {
  margin: 0px;
  padding: 0px 0px 12px 0px;
}

#contact ul.social li a,
#contact ul.write li a {
  color: #ffffff;
  text-decoration: none;
}

#contact ul.listen {
  margin: 12px 0px;
  padding: 0px;
  list-style: none;
  text-align: left;
}

#contact ul.listen li {
  margin: 0px 6px;
  padding: 0px;
  display: inline-block;
  vertical-align: middle;
}

#contact ul.listen li a {
  font-size: 0em;
  line-height: 0em;
  text-decoration: none;
}

#contact .the-content .form h4 {
  color: #ffffff;
  display: none;
}

#contact .the-content .form .field {
  padding: 0px 6px 6px 6px;
}

#contact .the-content .form .field.clear {
  clear: both;
}

#contact .the-content .form .field label {
  display: block;
  padding: 0px 0px 6px 0px;
  color: #ffffff;
  font-size: 0.7em;
  line-height: 1em;
}

#contact .the-content .form .field .control {
  display: block;
  padding: 0px 0px 12px 0px;
}

#contact .the-content .form .field .input {
  border-radius: 2px;
  width: 100%;
  display: block;
  padding: 6px;
  border: none;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0px;
  font-family: inherit;
  font-size: 1em;
  line-height: 1em;
  height: 48px;
  transition: background-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
}

#contact .the-content .form .field .input:focus {
  background-color: rgba(255, 255, 255, 0.6);
}

#contact .the-content .form .field textarea.input {
  height: 144px;
  font-size: 1em;
  line-height: 1.4em;
}

#contact .the-content .form .submit {
  padding: 0px 6px 6px 6px;
}

#contact .the-content .form .submit:after {
  content: '';
  clear: both;
  display: block;
}

#contact .the-content .form .submit button {
  display: block;
  height: 48px;
  width: 100%;
  margin: 0px;
  padding: 9px;
  background-color: rgba(140, 65, 65, 1);
  color: #ffffff;
  border-radius: 2px;
  border: none;
  font-family: inherit;
  font-weight: 400;
  font-size: 0.7em;
  line-height: 1em;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.12);
}

@media all and (max-width: 500px) {
  .tablet #main #contact .the-content {
    padding: 84px 24px 24px 24px;
  }

  #contact .the-content .details,
  #contact .the-content .form {
    padding: 12px;
  }
}

@media all and (max-width: 430px) {
  .tablet #main #contact .the-content {
    padding: 84px 12px 12px 12px;
  }

  .tablet #main #contact .the-content .details {
    font-size: 0.8em;
  }

  #contact .the-content .form .field {
    width: 100%;
    float: none;
  }
}
