/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/** Fuentes 

    font-family: 'Bellefair', serif;
    font-family: 'Lato', sans-serif;
    font-family: 'Electrolize', sans-serif;

**/


html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: #f2f2f2;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

p,
li{
    font-family: 'Bellafair', serif;
    font-size: 18px;
}

.contenedor {
    width: auto;
    margin: 40px;
    padding: 0px;
}

span {
    color: #1ed223;
}

.ul {
    list-style: none;
}

.clear,
.clear::after{
    content: '';
    clear: both;
    display: block;
}
.center {
    text-align: center;
}

.verde {
    color: #1ed233;
}

.activo {
    border-bottom: 5px solid #1ed223;
}

img.efecto-normal {
    width: 95%;
    margin-bottom: 5px;
}


@media only screen and (max-width: 768px) {
    div.derecha {
        float: none;
    }
}
/** Grid**/

@media only screen and (min-width: 768px) {
    .contenedor-grid {
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: 15px;
    }

    .contenedor-grid::after {
        content: '';
        display: block;
        clear: both;
    }

    [class*="columnas"] {
        padding: 0 10px;
        float: left;
    }

    .columnas1-4 {
        width: 25%;
    }

    .columnas2-4 {
        width: 50%;
    }

    .columnas3-4 {
        width: 75%;
    }

    .columnas1-3 {
        width: 33.3%;
    }

    .columnas2-3 {
        width: 66.6%;
    }
}

/* Header */

div.hero {
    background-image: url(../img/background01.jpg);
    height: 100vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

div.hero2 {
    background-image: url(../img/background02.jpg);
    height: 100vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

div.hero3 {
    background-image: url(../img/background03.jpg);
    height: 100vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

div.hero4 {
    background-image: url(../img/background04.jpg);
    height: 100vh;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

div.contenido-header {
    padding-top: 48px;
}

.logo {
    float: left;
    margin-left: 50px;
    margin-top: -30px;
}

img.logotipo {
    width: 250px;
    margin-left: 20px;
}

nav ul {
    float: right;
    margin-right: 40px;
}

nav ul li {
    display: inline-block;
}

nav ul li:not(:first-child) { 
    margin-left: 18px;
}

nav ul li:last-child {
    margin-right: 24px;
}

nav ul li a {
    padding: 10px 10px;
    display: inline-block;
    outline: none;
    color: green;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 1.2px;
}

nav ul li a:hover {
    border-bottom: 5px solid #1ed223;
}


/** Animacion Avanzada **/

@media only screen and (max-width: 864px) {
    .logo {
        padding: 0;
    }
    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        background: #fff;
        opacity: 0;
        transition: all 0.2s ease;
    }
    .nav-wrapper ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }
    .nav-wrapper ul li {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }
    .nav-wrapper ul li:nth-child(1) a {
        transition-delay: 0.2s;
    }
    .nav-wrapper ul li:nth-child(2) a {
        transition-delay: 0.3s;
    }
    .nav-wrapper ul li:nth-child(3) a {
        transition-delay: 0.4s;
    }
    .nav-wrapper ul li:nth-child(4) a {
        transition-delay: 0.5s;
    } 
    .nav-wrapper ul li:not(:first-child) {
        margin-left: 0;
    }
    .nav-wrapper ul li a {
        padding: 10px 24px;
        opacity: 0;
        color: deepskyblue;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1.2px;
        transform: translateX(-20px);
        transition: :all 0.2s ease;
    }
    .nav-btn {
        position: fixed;
        right: 10px;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
    }
    .nav-btn i {
        display: block;
        width: 20px;
        height: 2px;
        background: #000;
        border-radius: 2px;
        margin-left: 14px;
  
    }
    .nav-btn i:nth-child(1) {
        margin-top: 16px;
    }
    .nav-btn i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }
    .nav-btn i:nth-child(3) {
        margin-top: 4px;
    }   
} 

#nav:checked + .nav-btn {
    transform: rotate(45deg);      
}
#nav:checked + .nav-btn i {
    background: #000;
    transition: transform 0.2s ease;
}
#nav:checked + .nav-btn i:nth-child(1) {
    transform: translateY(6px) rotate(180deg);
}
#nav:checked + .nav-btn i:nth-child(2) {
    opacity: 0;
}
#nav:checked + .nav-btn i:nth-child(3){
    transform: translateY(-6px) rotate(90deg);
}
#nav:checked ~ .nav-wrapper {
    z-index: 9990;
    opacity: 1;
}

#nav:checked ~ .nav-wrapper ul li a {
    opacity: 1;
    transform: translateX(0);
}
.hidden {
    display: none;
}

/** Información **/

.encabezado {
    color: #276f02;
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 80px;
    text-align: center;
}

.encabezado span {
    color: #1ed900;
    font-size: 20px;
    display: table;
    margin: 0 auto;
}

img.planta {
    height: 150px;
}

blockquote {
    color: #3B9009;
    font-size: 28px;
    border-left: 10px solid #3B9009;
    padding: 9px 28px;
}

.contenido-prinicpal p{
    line-height: 20px;
}

.imagen-principal {
    text-align: center;
    margin: 0 auto;
}

.imagen-secundaria {
    text-align: center;
    margin: 0 auto;
    float: right;
}

img.efecto-imagen {
    width: 65%;
    margin-bottom: 5px;
}

.efecto-imagen {
    transform: rotate(-10deg);
}



/* Información de cajas */

div.informacion-cajas > div {
    text-align: center;
}

div.informacion-cajas > div img {
    width: 100%;
}

@media only screen and (min-width: 480px) {
    div.informacion-cajas > div {
        width: 50%;
        float: left;
    }
    
    div.informacion-cajas > div:last-child {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) {
    div.informacion-cajas > div,
    div.informacion-cajas > div:last-child {
        width: 33.3%;
    }
}

div.informacion-cajas > div:nth-child(1) {
    background-color: #f2f2f2;
}

div.informacion-cajas > div:nth-child(2) {
    background-color: #f2f2f2;
}

div.informacion-cajas > div:nth-child(3) {
    background-color: #f2f2f2;
}

div.contenido-caja {
    padding: 20px 5px 5px 5px;
}

@media only screen and (min-width: 992px) {
    div.contenido-caja {
        padding: 72px 0;
    }
}

div.contenido-caja h2 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 24px;
}

.informacion-cajas.contenedor.clear {
    margin: 90px;
}

/** Galería **/

.galeria {
    text-align: center;
    margin-top: -40px;
}

div.galeria a {
    display: inline-block;
    margin-bottom: 5px;
    margin-left: 5px;
}

/** Mapa **/

div.mapa {
    height: 450px;
    background-image: url(../img/separador.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

@media only screen and (max-width: 768px) {
    div.mapa {
        height: 150px;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

/** Footer **/

footer {
    background-color: #585858;
    padding-top: 20px;
}

footer .contenedor > div {
    color: #fff;
    padding: 0px 8px;
    font-size: 15px;
}

@media only screen and (min-width: 768px) {
    footer .contenedor > div {
        width: 33.3%;
        float: left;
    }
}

footer h3 {
    color: white;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    margin-bottom: 22px;
}

footer .ultimos-tweets li {
    margin-bottom: 11px;
}

/* Redes Sociales */

footer nav.redes-sociales {
    text-align: center;
    float: left;
}

p.copyright {
    background-color: orangered;
    color: #000;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    padding: 10px 0;
    margin: 20px 0 0 0;
    text-align: center;
}

nav.redes-sociales {
    text-align: center;
    float: left;
}
nav.redes-sociales a {
    color: white;
    font-size: 2em;
    margin-right: 20px;
}

nav.redes-sociales a:last-child {
    margin-right: 0;
}
nav.redes-sociales a:nth-child(1) {
    color: #3D5998;
}
nav.redes-sociales a:nth-child(2) {
    color: #1CA0F2;
}
nav.redes-sociales a:nth-child(3) {
    color: #BE071A;
}
nav.redes-sociales a:nth-child(4) {
    color: #D92531;
}
nav.redes-sociales a:nth-child(5) {
    color: #C43083;
}

/** Contacto **/

@media only screen and (min-width: 768px){
    form.reserva-contacto {
        margin: 15px 250px 15px 250px;
    }
}

form.reserva-contacto .campo {
    margin-bottom: 20px;
    width: 100%;
}

form.reserva-contacto .campo input,
form.reserva-contacto .campo textarea {
    width: 100%;
    border: 3px solid #276F02;
    padding: 15px 16px;
}

form.reserva-contacto .campo textarea {
    height: 200px;
}

form.reserva-contacto ::-webkit-input-placeholder {
    color: #000000!important; 
}

form.reserva-contacto :moz-placeholder {
    color: #000000!important;
}

form.reserva-contacto ::moz-placeholder {
    color: #000000!important;
}

form.reserva-contacto ::-ms-input-placeholder {
    color: #000000!important;
}

form.reserva-contacto input[type="submit"] {
    border: none;
    margin: 0 auto;
    display: block;
    padding: 20px 25px 20px 25px;
    text-align: center;
    background-color: #1ed223;
    color: #fff;
}

form.reserva-contacto input[type="submit"]:hover {
    background-color: darkgreen;   
}
/*.imagen-caja0 {
    transform: rotate(-10deg);
}

.imagen-caja1 {
    transform: rotate(+10deg);
}

.imagen-caja2 {
    transform: rotate(-10deg);
}*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
     * Printing Tables:
     * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
     */
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

