/**
 * user/assets/styles/page/contacto.css
 *
 * @author Pablo Rubio
 * @version 0.1
 */

#contacto .gallery {
  margin-bottom: 20px;
}

#contacto .breadcrumbs {
  margin-bottom: 20px;
}

#contacto .location,
#contacto .the-content {
  width: 50%;
  min-height: 600px;
  margin-bottom: 20px;
  background-color: #f4f4f4;
}

#contacto .the-content {
  float: left;
}

#contacto .location {
  float: right;
  height: 600px;
  border-left: 20px solid #f4f4f4;
}

#contacto .location iframe {
  width: 100%;
  height: 100%;
}

#contacto .form {
  position: relative;
}

#contacto .form .loader {
  position: absolute;
  background-color: rgba(255,255,255,1);
  width: 100%;
  height: 0%;
  top: 0px;
  left: 0px;
  z-index: 500;
  opacity: 0;
  transition: height 0s 0.3s cubic-bezier(.25,.8,.25,1), opacity 0.4s 0s cubic-bezier(.25,.8,.25,1);
}

#contacto .form.submitting .loader {
  height: 100%;
  opacity: 0.9;
  background-image: url('../../images/spinner.gif');
  background-size: 32px;
  background-repeat: no-repeat;
  background-position: center;
  transition: height 0s 0s cubic-bezier(.25,.8,.25,1), opacity 0.3s, 0s cubic-bezier(.25,.8,.25,1);
}

#contacto .form .field-about:after,
#contacto .form:after {
  content: '';
  clear: both;
  display: block;
}

#contacto .form .field {
  float: left;
  position: relative;
  padding-bottom: 10px;
}

#contacto .form label,
#contacto .form .input {
  width: 100%;
  display: block;
  margin: 0px;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
}

#contacto .form .input {
  position: relative;
  background-color: #ffffff;
  padding: 5px 5px 3px 5px;
}

#contacto .form label {
  font-size: 0.9em;
  line-height: 1.5em;
  padding: 5px 0px;
  font-weight: 500;
}

#contacto .form .field > div {
  border-bottom: 2px solid #ffffff;
}

#contacto .form .field.invalid > div {
  position: relative;
}

#contacto .form .field.invalid > div {
  border-bottom: 2px solid #FF8383;
}

#contacto .form .field.invalid > div:after {
  content: "\f158";
  font-family: dashicons;
  position: absolute;
  bottom: 7px;
  right: 5px;
  display: block;
  font-size: 12px;
  line-height: 14px;
  width: 14px;
  height: 14px;
  color: #FF8383;
}

#contacto .form .field-name {
  width: 50%;
  padding-right: 10px;
}

#contacto .form .field-last-name {
  width: 50%;
}

#contacto .form .field-email {
  width: 50%;
  padding-right: 10px;
}

#contacto .form .field-telephone {
  width: 50%;
}

#contacto .form .field-about {
  width: 100%;
  position: relative;
}

#contacto .form .field-about select {
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

#contacto .form .field-about:before {
  content: "\f347";
  font-family: dashicons;
  display: inline-block;
  font-size: 12px;
  line-height: 12px;
  color: #333333;
  position: absolute;
  bottom: 18px;
  right: 12px;
  z-index: 100;
}

#contacto .form .field-message {
  clear: both;
  width: 100%;
  float: none;
}

#contacto .form .field-message textarea {
  height: 110px;
}

#contacto .form .field-submit {
  width: 100%;
  float: none;
  padding-top: 5px;
}

#contacto .form .field-submit button {
  padding: 20px 20px;
  background-color: #F78E1E;
  border: none;
  font-family: inherit;
  color: #ffffff;
  font-size: 1em;
  line-height: 1em;
  font-weight: 500;
}

#contacto .form button:focus,
#contacto .form input:focus,
#contacto .form textarea:focus,
#contacto .form select:focus {
  outline: none;
}

#contacto .success {
  font-size: 2em;
  line-height: 1.4em;
  text-align: center;
  padding: 30px;
}

#contacto .after-content {
  padding: 20px 0px 0px 0px;
}

@media screen and (max-width: 800px) {

  #contacto .location,
  #contacto .the-content {
    width: 100%;
    min-height: 0px;
    margin-bottom: 20px;
    background-color: #f4f4f4;
  }

  #contacto .the-content {
    float: none;
    /*padding: 0px;*/
  }

  #contacto .location {
    float: none;
    height: 400px;
    border-left: none;
  }

  #contacto .location iframe {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 600px) {
  #contacto .form .field-name,
  #contacto .form .field-last-name,
  #contacto .form .field-email,
  #contacto .form .field-telephone {
    width: 100%;
    padding-right: 0px;
  }

  #contacto .form .field-message textarea {
    height: 160px;
  }
}
