@import "cols.css";

/***************************************
  HEADER + FOOTER BASE SIN NAVEGACIÓN
***************************************/
header nav {display: none;}

@media only screen and (min-width: 960px) {
  header nav {display: block;}
  header nav a {
    display: inline-block;
    max-width: 42px;
    -webkit-transition: opacity 600ms; /* Safari */
    transition: opacity 600ms;
  }
  header nav a img {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
  }
  header nav a[href*="mailto"] {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    width: auto;
    max-width: 100%;
    color: #0c3b3d;
  }
  .no-touch nav:hover a:not(:hover){opacity: .4;}
  footer {display: none;}
}

.wf-active h1 {font-family: 'Roboto Condensed', sans-serif;font-size: 42px;}
h1 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  margin: 0 0 15px;
  color: #FFF;
}


footer > div {
   width: 90%;
   text-align: center;
   margin: 0 auto;

   padding: 30px 0
}

footer > div a[href*='mailto'] {
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 16px;
}

/**********************

      formularios

***********************/

form {
  font-size: 16px;
  display: block;
  margin: 0 auto;
  padding: 60px 0 0;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  font-size: 0;
  white-space: inherit;
  color: #0c3b3d;
}

fieldset {
    font-size: 0;
    white-space: inherit;
    display: block;
    margin: 0 auto 30px;
    padding: 0;
}

form * {
  font-size: 16px;
  box-sizing: border-box;
}

input:not([type="checkbox"]), input:not([type="file"]), textarea {
  display: inline-block;
  margin: 0 auto;
  position: relative;
  line-height: 50px;
  padding: 0 10px;
  font-size: 16px;
  color: #0c3b3d;
  width: 100%;
}

.upload-btn-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin: 0 ;
  padding: 0;
}

.upload-btn-wrapper input[type=file] {
  font-size: 100px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}



label {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0 8px 3px;
  display: block;
  text-transform: uppercase;
  /* evitar margin-top */
}

button {
  background-color: #94bb1e;
  color: #fff;
  display: inline-block;
  padding: 15px 30px;
  margin: 0;
  font-family: sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

.no-touch button:hover  {
  background-color: #236067;
}

/* ponerle un nombre de clase*/
button:nth-of-type(2) {
  background-color: #c2f40c;
  color: #0c3b3d;
}

.no-touch button:nth-of-type(2):hover  {
    background-color: #0c3b3d;
    color: #c2f40c;
}

/* ponerle un nombre de clase*/
button:nth-of-type(3) {
  background: none;
  color: #0c3b3d;
  border: 1px solid #0c3b3d;
}

.no-touch button:nth-of-type(3):hover  {
  color: #fff;
  background-color: #0c3b3d;
}

/* ponerle un nombre de clase*/
button:nth-of-type(4) {background-color: #B14444;}
.no-touch button:nth-of-type(4):hover {background-color: #990000;}

/* para ir tocando */
button {
  margin: 15px;
}

label {
  padding-top:12px;
}

section [class*="col"] > * {
  padding: 15px;
}

section > div {
  margin: 0 auto;
  width: 90%;
}

.borrar {
  max-width: 800px;
  margin-bottom: 100px
}

.borrar > div {
  padding: 5vw;
}


input[type="checkbox"] {
  display: inline-block;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: 0 5px 0 0;
  vertical-align: middle;
  background-color: #fff;
  border: #ccc solid 1px;
  border-radius: 0;
  -webkit-transition:  all 500ms ease-in-out; /* Safari */
          transition:  all 500ms ease-in-out;
}

input[type="checkbox"]:checked {
  background: #236067;
  border-color: #236067;
  border-radius: 50%;
  height: 14px;
  width: 14px;
  margin: 3px 8px 3px 3px;
}

input[type="checkbox"] + span {
  display: inline-block;
}

input[type="checkbox"] + span:not(:last-of-type) {
    margin-right: 20px;
}


@media only screen and (max-width: 959px) {
  fieldset {
    padding: 5px 2vw;
  }

  input[type="checkbox"] {
    vertical-align: top;
  }
  input[type="checkbox"] + span {
      width: calc(100% - 60px);
      margin-bottom: 30px;
      vertical-align: middle;
      overflow-y: hidden;
  }

  button {
    display: block;
    width: 50%;
    max-width: 240px;
    margin: 15px auto;
  }


}

/**********************
      textos
***********************/

.wf-active button {font-family: 'Roboto Condensed', sans-serif;font-size: 20px;}

h2 {
  margin: 0;
  padding: 30px 0 8px;
  line-height: 1.3;
  font-size: 20px;
  font-weight: normal;
  border-bottom: solid 1px rgba(0,0,0,.2);
  margin-bottom: 15px;
}

textarea {
    padding: 0 10px;
    width: calc(100% - 20px);
    line-height: 20px;
}
