/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.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;
}

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

/****/

/**fuentes
    font-family: 'Belleza', sans-serif;

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


**/

/**GENERALES**/

html {
  box-sizing: border-box;
}

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

/**CONTENEDOR**/

body {
  background-color: #f2f2f2;
}

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

p,
li {
  font-family: "Belleza", sans-serif;
  font-size: 18px;
}

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

span {
  color: #000000;
}

.ul {
  list-style: none;
}

.clear,
.clear:after {
  content: "";
  clear: both;
  display: block;
}

.center {
  text-align: center !important;
}

.center span {
  color: rgba(112, 0, 0, 0.959) !important;
}

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

/**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-2 {
  background-image: url(../img/covers/contacto.jpg);
  height: 90vh;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

div.conteido-header {
  padding-top: 40px;
}

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

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

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

nav ul li {
  display: inline-block;
}

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

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

nav ul li a {
  padding: 20px 10px;
  display: inline-block;
  outline: none;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 1.2px;
}

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

@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: #000;
    font-size: 14px;
    font-weight: 600;
    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: #000000;
    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: #000000;
  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;
}

/**submenui**/

/**sub-menu**/

.sub-menu {
  width: 100%;
  margin: auto;
  background: #46e2ec;
}

.sub-menu .submenu {
  margin: auto;
  padding: 10px 10px;
}

.sub-menu .submenu .sub ul {
  margin: auto;
  padding: 0;
}

.sub-menu .submenu .sub ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-menu .submenu .sub ul li {
  list-style: none;
}

.sub-menu .submenu .sub ul li a {
  text-decoration: none;
  margin: 0px 10px;
  padding: 8px;
  color: #000000;
  border-radius: 24px;
  transition: 0.3s;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

.sub-menu .submenu .sub ul li a:hover {
  background: #f2f2f2;
  color: #000000;
}

@media only screen and (max-width: 773px) {
  .sub-menu .submenu .sub ul li a:hover {
    background: #f2f2f2;
    color: #000000;
  }
}

@media only screen and (max-width: 400px) {
  .sub-menu .submenu .sub ul li a:hover {
    background: #f2f2f2;
    color: #000000;
  }
}

@media only screen and (max-width: 950px) {
  .sub-menu .submenu {
    display: none;
  }
}

/****/

/**infomacion**/

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

.encabezado span {
  font-size: 25px;
  display: table;
  margin: 0 auto;
  color: #46e2ec;
}

img.video {
  height: 100px;
}

blockquote {
  color: #46e2ec;
  font-size: 28px;
  border-left: 16px solid #46e2ec;
  padding: 9px 20px;
  text-decoration: none;
  text-transform: none;
}

blockquote a {
  text-transform: none;
  text-decoration: none;
  color: #000000;
}

blockquote a:hover {
  color: #46e2ec;
}

.contenido-principal p {
  line-height: 38px;
}

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

img.efecto-img {
  width: 90%;
  margin-bottom: 10px;
}

/**informacion-cajas**/

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

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

@media only screen and (min-width: 486px) {
  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.contenedro-caja {
  padding: 20px 5px 5px 5px;
}

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

div.contenedro-caja h2 {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 25px;
  color: #000000;
}

div.contenedro-caja p {
  font-size: 20px;
  font-weight: 200;
  text-transform: none;
  text-align: center;
}

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

/**galeria**/

.galeria {
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  margin-top: 40px;
}

div.galeria a > img {
  width: 550px;
  height: 300px;
}

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

div.boton {
  display: flex;
  justify-content: center;
  margin: 10px 10px;
  font-size: 20px;
}

div.boton a {
  background-color: #46e2ec;
  cursor: pointer;
}

@media only screen and (max-width: 773px) {
  div.galeria {
    flex-direction: column;
    align-items: center;
  }
  div.galeria a > img {
    max-width: 100%;
    height: auto;
  }
}

div.mapa {
  height: 500px;
  background-image: url(../img/servicio-1.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;
  }
}

/**contacto**/

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

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

form.video-contacto .campo input,
form.video-contacto .campo textarea {
  width: 100%;
  border: 3px solid #46e2ec;
  padding: 15px 10px;
}

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

form.video-contacto .campo ::-webkit-input-placeholder {
  color: #000 !important;
}

form.video-contacto .campo :-moz-placeholder {
  color: #000 !important;
}

form.video-contacto .campo ::-moz-placeholder {
  color: #000 !important;
}

form.video-contacto .campo ::-ms-input-placeholder {
  color: #000 !important;
}

form.video-contacto input[type="submit"] {
  border: none;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
  padding: 20px 25px 20px 25px;
  text-align: center;
  background-color: #46e2ec;
  cursor: pointer;
}

form.video-contacto input[type="submit"]:hover {
  background-color: #999;
}

/*****/

/**Footer**/

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

footer .contenedor > div {
  color: #222;
  padding: 0px 2px;
  font-size: 12px;
}

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

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

footer .ultimo-nosotros li {
  margin-bottom: 20px;
}

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

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

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

nav.redes-sociales a {
  color: #000000;
  font-size: 2.5em;
  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: #c43083;
}

nav.redes-sociales a:nth-child(3) {
  color: #d92531;
}

.activo {
  border-bottom: 5px solid #46e2ec;
}

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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: " ";
  display: table;
}

.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: #fff !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;
  }
}

/*
   ================================
   fmr-contacto
   ================================

*/
.caja {
  /* border: 1px solid purple; */
  display: flex;
  flex-wrap: wrap !important;
}

.caja .div-1 {
  /*  border: 1px solid green; */
  width: 30%;
}
.caja .div-2 {
  /* border: 1px solid rgba(112, 0, 0, 0.959); */
  width: 70%;
}

.frm-contacto {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.ifr-contacto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.responsive-map-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.responsive-map-container iframe,
.responsive-map-container object,
.responsive-map-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*
  ============================== 
  Direccion
  ==============================
*/

.direccion {
  margin-top: 30px !important;
  margin: auto;
}

.direccion p {
  text-align: center !important;
  font-weight: 700;
}

/*
  =======================
  Responsive
  =======================

*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 1024px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 70.25%;
  }
}

@media only screen and (max-width: 912px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 85.25%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 600px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 110.25%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 540px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 125.25%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 414px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 178.25%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 375px) {
  .div-1,
  .div-2 {
    flex: 100%;
  }
  .frm-contacto,
  .responsive-map-container {
    padding-bottom: 198.25%;
  }
}
