/*! HTML5 Boilerplate v6.0.1 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
   ========================================================================== */
/* Generales ########################################### */

html {
  box-sizing: border-box;
  color: #6f6f6f;
}

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

ul {
  list-style: none;
}

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

div.nosotros {
  margin: 0 auto;
}

/* Contenedor principal ################################# */

div.contendor-principal {
  width: 90%;
  margin: 0 auto;
  margin-top: 20px;
}

/* Barra de Menú / Cabecera ######################### */
div.cabecera-pagina {
  height: auto;
  overflow: hidden;
}

div.cabecera {
  height: 100%;
  vertical-align: middle;
}

div.sector-menu ul {
  margin-top: 0;
  margin-bottom: 40px;
}

div.img-logo {
  width: 70%;
  margin: 0 auto;
}

div.texto-cabecera {
  width: 88%;
  color: #6f6f6f;
}

div.img-logo img {
  width: 100%;
}

div.datos-cabecera {
  width: 80%;
  vertical-align: top;
  float: left;
}

div.datos-cabecera p {
  line-height: 0.3;
}

div.redes-sociales {
 text-align: right;
  width: 20%;
  vertical-align: top;
  float: right;
  display: none;
}

div.menu-principal {
  display: none;
  float: right;
}

div.menu-principal li {
  float: left;
  padding: 5px 15px;
  display: block;
  width: 100%;
  text-align: center;
}

div.menu-principal a {
  text-transform: uppercase;
  color: #b0c1d9;
}

@media only screen and (min-width:768px) {

  div.contendor-principal {
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
    max-width: 1200px;
  }

  div.menu-principal {
    display: block;
    float: right;
  }

  div.img-logo {
    width: 12%;
    float: left;
  }

  div.texto-cabecera {
    width: 88%;
    float: right;
    color: #6f6f6f;
  }

  div.datos-cabecera {
    padding-left: 20px;
    width: 60%;
    vertical-align: top;
    float: left;
  }

  div.redes-sociales {
   text-align: right;
    width: 20%;
    vertical-align: top;
    float: right;
    display: block;
  }

  div.menu-principal  li {
    display: block;
    float: left;
    padding: 5px 15px;
    width: auto;
  }
}

/* Menu movil */

div.menu-movil {
  width: 60px;
  display: block;
  float: right;
  text-align: right;
}

div.menu-movil:hover {
  cursor: pointer;
}

div.menu-movil span {
  height: 8px;
  margin-bottom: 6px;
  background-color: #b0c1d9;
  display: block;
}

@media only screen and (min-width:768px) {
  div.menu-movil {
    width: 60px;
    display: none;
    float: right;
    text-align: right;
  }
}
/* Presentacion - Cuerpo ######################## */

div.presentacion {
  height: auto;
  overflow: hidden;
  margin-top: 20px;
}

div.titulo-contenido h1 {
    text-transform: uppercase;
    font-weight:800;
    margin: 0;
    line-height: 0.9;
}

h1.titulo1 {
    font-size: 2.2em;
}

h1.titulo2 {
  color: #b0c1d9;
  font-size: 3.2em;
}

@media only screen and (min-width:768px) {
  h1.titulo2 {
    color: #b0c1d9;
    font-size: 4.2em;
  }
}

div.imagenes-presentacion {
  align-items: center;
}

div.imagenes-presentacion img {
  width: 100%;
}

div.quienessomos {
  margin-top: 150px;
}

div.texto-presentacion {
  width: 90%;
}

div.texto-presentacion p {
  text-align: justify;
  line-height: 2;
  font-size: 1.1em;
}

div.imagen-nosotros {
  width: 90%;
  text-align: right;
}

div.imagen-nosotros img {
  padding-top: 25px;
  width: 90%;
}

@media only screen and (min-width:768px) {

  div.presentacion {
    height: auto;
    overflow: hidden;
    margin-top: 20px;
  }

  div.texto-presentacion {
    width: 60%;
    float: left;
  }

  div.texto-presentacion p {
    text-align: justify;
    line-height: 2;
    font-size: 1.1em;
  }

  div.imagen-nosotros {
    width: 40%;
    float: right;
    text-align: right;
  }

  div.imagen-nosotros img {
    padding-top: 25px;
    width: 90%;
  }
}

/* Selector de menu areas ############################ */

div.selector-areas {
 margin: 20px auto;
}

div.selector-areas h1 {
  margin: auto;
}

div.selector-areas li {
  text-align: center;
  margin: 0 auto;
  padding-top: 5px;
}

ul.lista-areas {
  padding: 0;
}

ul.lista-areas li:nth-child(2) {

}

div.area {
  width: 90%;
  margin: 0 auto;
  padding-left: 5px;
  padding-right: 5px;
}

div.area a {
  color: #727272;
}

div.area p {
  text-align: justify;
}

div.imagen-areas img {
  width: 80%;
}

@media only screen and (min-width:480px) {
  div.selector-areas {
    margin-top: 20px;
    height: auto;
    overflow: hidden;
  }

  div.selector-areas li {
    text-align: center;
    margin: 0 auto;
    padding-top: 5px;
  }
}

@media only screen and (min-width:768px) {
  div.selector-areas {
    margin-top: 20px;
    height: auto;
    overflow: hidden;
  }

  div.selector-areas li {
    width: 33.3%;
    float: left;
    text-align: center;
    margin: 0 auto;
    padding-top: 5px;
  }
}

/* Pie de pagina ################################# */

div.pie-de-pagina {
  margin-top: 5px;
  background-color: #b0c1d9;
  color: #727272;
}

div.texto-del-pie {
  width: 60%;
  float: left;
  font-size: 0.8em;
}

div.texto-del-pie h3 {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

div.redes-sociales-pie {
  padding-right: 20px;
  float: right;
  width: 40%;
  text-align: right;
}

div.redes-sociales-pie h3 {
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* Areas ########################### */
div.seccion-area {
  margin: 0 auto;
  margin-top: 40px;
}

div.subseccion {
  height: auto;
  overflow: hidden;
}

div.subseccion h1 {
  color: #6f6f6f;
  padding-left: 10px;
  margin: 0 auto;
  text-transform: uppercase;
  font-weight:600;
  margin: 0;
  line-height: 0.9;
}

div.subseccion p {
  padding-left: 10px;
  width: 95%;
  text-align: justify;
  padding-bottom: 30px;
}

div.titulo-subseccion {
  margin-top: 30px;
  margin-bottom: 20px;
}

div.titulo-subseccion h2 {
    padding-left: 10px;
    margin: 0 auto;
    text-transform: uppercase;
    font-weight:800;
    margin: 0;
    line-height: 1;
    font-size: 2em;
}

h2.titulo1-area {
    font-size: 2.5em;
}

h2.titulo2-area {
  color: #b0c1d9;
  font-size: 4.5em;
}

div.parrafo-subseccion {
  width: 100%;
  float: left;
  margin-bottom: 20px;
}

div.imagen-subseccion {
  text-align: center;
  width: 100%;
}

div.imagen-subseccion img {
  width: 100%;
  padding: 30px 0 20px 0;
}

@media only screen and (min-width:480px) {

  div.seccion-area {
    margin: 0 auto;
    margin-top: 40px;
  }

  div.subseccion {
    height: auto;
    overflow: hidden;
  }

  div.imagen-subseccion {
    text-align: center;
    width: 40%;
    float: right;
  }

  div.parrafo-subseccion {
    width: 55%;
    float: left;
    margin-bottom: 20px;
  }
}

@media only screen and (min-width:768px) {

  div.seccion-area {
    margin: 0 auto;
    margin-top: 40px;
  }

  div.subseccion {
    height: auto;
    overflow: hidden;
  }

  div.imagen-subseccion {
    text-align: center;
    width: 40%;
    float: right;
  }

  div.parrafo-subseccion {
    width: 55%;
    float: left;
    margin-bottom: 20px;
  }
}


/* -- .Subseccion areas -- */

div.faqs-cabecera {
  margin-bottom: 40px;
  margin-top: 20px;
}

div.faqs-cabecera p {
  font-size: 1.4em;
}

div.preguntas-respuestas {
  padding-left: 10px;
  width: 100%;
}

div.preguntas-respuestas p {
  text-align: justify;
}

div.publicaciones {
  padding-left: 10px;
  width: 90%;
}

div.publicaciones p {
  text-align: justify;
}

@media only screen and (min-width:768px) {
  div.preguntas-respuestas {
    padding-left: 10px;
        width: 70%;
  }
}


/* Contactos ####################### */

div.contenedor-contactos {
    margin-top: 0;
    margin-bottom: 30px;
    height: auto;
    overflow: hidden;
}

div.formulario-contacto {
  text-align: left;
}

form.contactform {
  text-align: right;
}

div.mapa-ubicacion {
  height: auto;
  text-align: center;
  margin-top: 20px;
}

@media only screen and (min-width:768px) {
  div.formulario-contacto {
    text-align: left;
    padding-left: 40px;
    float: right;
  }

  form.contactform {
    padding-left: 40px;
    text-align: right;
  }

  div.mapa-ubicacion {
    float: left;
    padding: 10px;
    margin: 20px auto;
    width: 600px;
    height: 450px;
  }
  div.mapa-ubicacion iframe {
    width: 100%;
    height: 100%;
  }
}



/* Perfil ######################### */

div.perfil-principal {
  margin-bottom: 30px;

}

div.perfil {
  padding: 20px;
  float: left;
  width: 100%;
}

div.perfil h2 {
  padding-left: 20px;
}

div.perfil p {
  text-align: justify;
  padding-top: 20px;
  padding-left: 0;
  font-size: 1.1em;
  margin: 0;
}

div.perfil a {

}

div.mis_publicaciones {
  padding: 10px 10px;
  width: 100%;
}

div.mis_publicaciones h2{
    padding-left: 0;
}

div.mis_publicaciones p {
  text-align: justify;
  padding-top: 20px;
  padding-right: 20px;
  font-size: 1.3em;
  margin: 0;
}

@media only screen and (min-width:768px) {
  div.perfil {
    padding: 20px;
    float: left;
    width: 45%;
    line-height: 1.5em;
    font-size: 1.4em;
  }
  div.mis_publicaciones {
    padding: 10px 10px;
    width: 55%;
    float: right;
  }
}

div.mi_foto img {
  width: 100%;
}

div.proyectos {
  height: auto;
  overflow: hidden;
}

div.libro {
  float: left;
  width: 100%;
  padding-left: 20px;
  padding-right: 30px;
}

div.libro p {
  text-align: justify;
}

div.club-divorciadas {
  float: right;
  width: 100%;
}

div.club-divorciadas p {
  text-align: justify;
}

h3.verIntro:hover {
  cursor: pointer;
}

div.introduccion {
  display: none;
}


@media only screen and (min-width:768px) {

  div.libro {
    float: left;
    width: 50%;
    padding-left: 20px;
    padding-right: 30px;
  }

  div.club-divorciadas {
    float: right;
    width: 50%;
  }
}


/*  prensa grafica y televisiva **/
div.prensa-seccion {
  width: 80%;
}

div.prensa-grafica {
  width: 90%;
}

div.prensa-grafica img {
  width: 100%;
}

div.prensa-video {
  width: 300px;
  text-align: center;
}

div.videos video {
   width: 90%;

}
@media only screen and (min-width:768px) {
  div.prensa-seccion {
    width: 100%;
  }

  div.prensa-grafica {
    width: 50%;
    float: left;
  }

  div.prensa-grafica img {
    width: 100%;
  }

  div.prensa-video {
    width: 50%;
    float: right;
    text-align: center;
  }

  div.titulo-videos {
    text-align: left;
    padding-left: 50px;
  }

  div.videos video {
    width: 500px;
    height: 400px;
  }
}
/* ==========================================================================
   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
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

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

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * 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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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:
     * 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;
    }
}
