/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * 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 images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
a:hover, a:active, a:focus {
outline:0;}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Raleway';
}
div,#submit,input,textarea{ 
 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;  
}
.nombre{
    color:#457f74;
    font-size: 60px;
    padding: 10px 0;
    max-width: 1024px;
    margin: 0 auto;
    position: relative;
    font-family: 'Satisfy'
}
.nombre-s{
    font-family: 'Satisfy';
    text-decoration: none;
    position: absolute;
    left: 0;
    display: none
}
.lang{
    position: absolute;
    right: 10px;
    font-size: 10px;
    top: 40%;
    font-family: 'Raleway';
        color:#457f74;
}
.dosl{
    max-width: 500px!important
}
.lang a{
    text-decoration: none;
    color: inherit;
}
.lang a.active{
    border-bottom: 1px solid #8ccabe;
}
.menu{
    background: #85c7ba
}
#menu{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px 0;
    text-align: center;

}
#menu li{
    color: #fff;
    margin:0 10px;
    display: inline-block;
}
.frase{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    max-width: 400px;
    text-align: justify;
    position: absolute;
    top: 50%;
    z-index: 9999;
    margin-top: -80px;
    left: 0;
    right: 0;
    margin:-40px auto;
    font-weight: 800;
    text-shadow: 2px 2px 2px rgba(84, 126, 118, 0.58);

}
.phrase{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    max-width: 500px;
    text-align: justify;
    position: absolute;
    top: 50%;
    z-index: 9999;
    margin-top: -80px;
    left: 0;
    right: 0;
    margin:-40px auto;
    font-weight: 400;
    text-shadow: 2px 2px 2px rgba(84, 126, 118, 0.58);

}
.credit{
    font-size: 12px;
    font-weight: 800;
    display: block;
    text-align: right;
        text-shadow:2px 2px 2px #547e76;

}
#slides{
    height: 500px!important
}
.scroll{
    width: 30px;
    margin: 0 auto;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 5px;
    z-index: 9999
}
.bg_png{
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.7;
    background: url(../img/pat_bg.png) repeat;
    z-index: 999
}
.mm{
    padding-top: 60px
}
.content{
    padding: 30px 20px 100px;
    max-width: 960px;
    margin: 0 auto
}
.content h1{
    font-size: 40px;
    font-weight: 400;
}
.verde{
    color: #8ccabe
}
.gris{
    color: #5e5e5e
}
.blanco{
    color: #fff;
}
.verde a{
    color: inherit;
}

a{
    text-decoration: underline;
}
.cv{
    color: #fff;
    padding: 10px;
    background: #8ccabe;
    text-decoration: none;
}
.sesenta{
    width: 60%;
    float: left;
    padding-right: 20px;
    text-align: justify;
}
.treinta{
    width: 35%;
    float: left;
}
.treinta img{
    width: 100%;
}
.left{
    width: 50%;
    float: left;
}
.right{
    width: 50%;
    float: left;
}


.contacto{position: relative;}
.terapias, .publicaciones, .EntTV{
    background: #85c7ba;
    position: relative;

}
.terapias .bg_png, .publicaciones .bg_png, .EntTV .bg_png{
    opacity: 1
}
.content{
    z-index: 9999;
    position: relative;
}
.t-bg{
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../img/slider2.jpg) no-repeat;
    background-position: center center;    
    background-size: cover;/**/
    top: 0;
    opacity: 0.2;
    z-index: 0
}
.ligas a{
    margin-bottom: 15px;
    display: block;
}
.contacto{
    background:#9cd0c6;
}
.contacto .t-bg{
    opacity: 1
}
.contacto .right{
    position: relative;
    margin-top: -60px
}
.sticky {  
    position: fixed;  
    width: 100%;  
    left: 0;  
    top: 0;  
    z-index: 99999999999;  
    border-top: 0;  
}  
.footer{
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 13px
}


/*LIBROS*/
.rowLibros{
    padding: 150px 40px 80px 40px;
}
.colLibros{
    padding: 2% 5% 10% 5%;
    width: 100%;
    display: flex;
}
.contLibro{
    width: 50%;
}

.libro{
    display: flex;
    justify-content: center;
}
.imgLibros{
    width: 50%;
    height: 280px;
}
.comprar{    
    display: block;
    margin-top: 5%;
    width: 25%;
    margin-left: auto;
    margin-right: auto;
}
.comprar img{
    max-width: 100%;
}
.infoLibro{
    padding: 5% 15% 0 15%;
}
.iconoLibro{
    width:19%;
}
.nomLibro{ 
    padding: 15%;
    font-family: 'FilsonPro-Bold';
    font-size: 21px;
    letter-spacing: 0;
    color:#85c7ba;
    text-align: left;
    line-height: 23px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-around;
    align-items: flex-start;
}
.nomLibro_titulo{
    width: 70%;
  display: block;
}
/**/

/*LISTADO DE PUBLICACIONES Y ENTREVISTAS*/
ul.listaPubEnt{
    list-style-type: disclosure-closed;
    padding-left: 30px !important;
    color: white;
}

ul.listaPubEnt li, ul.listaEntRadioe li{
    margin-bottom: 20px;
}

ul.listaEntRadio{
    list-style-type: disclosure-closed;
    padding-left: 30px !important;
    color: #8ccabe;
}
/****************/
@media screen and (min-width: 769px){
    .frase{
font-size: 28px!important;
max-width: 600px!important;
font-weight: 400!important;
margin-top: -75px!important;
margin: -70px auto!important;
letter-spacing: -1px!important;
    }
    .phrase{font-size: 28px;margin-top: -55px}
}
@media screen and (max-width: 1024px) and (min-width: 769px){
    .nombre{
        padding-left: 20px
    }
}

@media screen and (max-width: 768px){
    .treinta{
        width: 40%
    }
    .sesenta{
        font-size: 14px
    }
    .terapias, .publicaciones, .EntTV{
        text-align: justify;
    }
    .t-bg{
        background-size: auto 100%
    }
    .slides-container img{
        bottom: 0!important;
        top: auto!important
    }
    .nombre{
        text-align: center;
    }
}
@media screen and (max-width: 550px){
    .nomLibro {
    font-size: 15px;
    line-height: 20px;
    }
    .iconoLibro {
    width: 15%;
    }
    .imgLibros {
    width: 50%;
    height: 230px;
    }
    .colLibros {
        display: block;}
    .contLibro{
        width: 100%;
    }
    .infoLibro {
        padding: 5% 2% 0 2%;
    }
    .content {
        padding: 30px 20px 20px;
    }
    .treinta,.sesenta,.left,.right{
        width: 100%;
        float: none;
        padding-right: 0!important
    }
    .contacto .right,.treinta{
        margin-top: 20px
    }
    .ligas a{
        margin-bottom: 0
    }
}
@media screen and (max-width: 499px){
    .menu li{
        font-size: 13px
    }
    .frase,.phrase{
        padding: 0 50px;
        font-size: 15px;
    }
    #slides{
        height: 400px!important
    }
    #slides .next img, #slides .prev img{
        width: 30px
    }
    .lang{
        top: 5px
    }
}
@media screen and (max-width: 340px){
    .ligas a,.menu li{
        font-size: 13px;
    }
    .frase,.phrase{
        margin-top: -60px
    }
    .nombre{
        font-size: 40px
    }
    #menu li{
        margin: 0 5px!important
    }
}



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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
