/*! 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 */
* {
    margin:0;
    padding:0;
}

body {
    color: #000;
    font-family:"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
    font-weight: normal;
    font-size:0.9em;
    line-height:18px;    
}

div.fondo {
  max-width: max-device-width;
  background: #f3e8be;
  text-align: center;  
}

.imgpost {
    width: 8em;
    height: auto;
}
@media only screen and (min-width:640px) {
    .imgpost {
        width: 11em;
        height: auto;
    }
}    
@media only screen and (min-width:960px) {
    .imgpost {
        width: 14em;
        height: auto;
    }
}

.imgborde {
    float: left;
    margin: 5px 10px 10px 5px;
    padding: 3px 3px 3px 3px;
    background-color: #FFF;
    border: 1px solid #000;
}

div.titulogrisclaro {
    max-width: 980px;
    margin: 0 auto;
    background-color: #808080;
    color: white;
    text-align: left;    
}

p.titulo {
    font-size: 0.9em;
    text-transform: uppercase;
    padding: 0.1em 0 0.1em 0;
    font-weight: bold;
}
@media only screen and (min-width:960px) {
    p.titulo {
        font-size: 1em;        
        padding: 0.2em 0 0.2em 0;
    }
}    

div.contenidonovedades {
    background-color: white;
    max-width: 970px;
    margin: 0 auto;
    -webkit-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    -moz-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
}

div.novedadesizq {
    width: 100%;
    background-color: white;
    float: left; 
}
@media only screen and (min-width:940px) {
    div.novedadesizq {
        width: 49%;  
        float: left;
        background-color: white;
    }
}

div.novedadesder {
    width: 100%;
    float: right;
    background-color: white;
}
@media only screen and (min-width:940px) {
    div.novedadesder {
        width: 49%;
        float: right;
        background-color: white;
    }
}  

div.separadorvertical {
    display:none;

}
@media only screen and (min-width:940px) {  
    div.separadorvertical {
        display: block;
        text-align: center;
        background: white; 
        width: 2%;
        height: auto;
        float: left;
    }
}

p{
    text-align: justify;
    padding: 0.3em 0.3em 0.3em 0.3em;
    margin: 0.3em 0.3em 0.3em 0.3em;
}
h3 {
    text-align: left;
    padding: 0.3em 0.3em 0.3em 0.3em;
    margin: 0.3em 0.3em 0.3em 0.3em;
}

a.leermas {
    color: white;
    text-decoration: none;
    text-transform: none;
    font-size: 1em;
    font-weight: normal;
    padding: 4px 15px 4px 15px; 
    margin: 10px 0px 15px 0px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#959595+0,0d0d0d+46,010101+50,0a0a0a+53,4e4e4e+76,383838+87,1b1b1b+100;Black+Gloss+Pipe */
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7d7e7d+0,0e0e0e+100;Black+3D */
    background: #7d7e7d; /* Old browsers */
    background: -moz-linear-gradient(top, #7d7e7d 0%, #0e0e0e 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #7d7e7d 0%,#0e0e0e 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #7d7e7d 0%,#0e0e0e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
}
a.leermas:hover {
    text-shadow: 4px 4px 4px #aaa; 
    font-size: 1.2em;
}


/*******************************/
/********* Cabecera ************/
/*******************************/

header.banner {
    max-width: 980px;      
}

div.logo {
    padding-top: 5px;
    background-color: #f3e8be;
    position:relative;
}


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

div.menuprincipal {
    padding-top: 4px;
    padding-bottom: 4px;
    max-width: 980px;
    margin: 0 auto;
     /*margin: 0 auto; */
     /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#45484d+26,000000+100 */
    background: #45484d; /* Old browsers */
    background: -moz-linear-gradient(top, #45484d 26%, #000000 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #45484d 26%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #45484d 26%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
}
@media only screen and (min-width:960px) {
    div.menuprincipal {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

a.menuprincipal {
  display: inline-block;
  color: white;
  padding: 5px 7px 5px 7px;
  text-decoration: none;
  width: auto;
  font-family: 'Dancing Script', cursive;
  font-size: 1.4em;
  margin-right: 15px;
  margin-left: 15px;  
}
@media only screen and (min-width:960px) {
    a.menuprincipal {
        font-size: 1.75em;
        margin-right: 30px;
        margin-left: 30px;
    }
}
a.menuprincipal:hover {
    text-shadow: 4px 4px 4px #aaa; 
    color: #f3edb9;
}
   

div.menusecundario {
    padding-top: 7px;
    padding-bottom: 7px;    
    background: white;
    max-width: 970px;
    margin: 0 auto; 
    text-align: left; 
    -webkit-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    -moz-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);    
}

a.menusecundario {
    color: black;
    width: auto;
    text-decoration: none;
    font-family: 'Dancing Script', cursive;
    font-size: 1.3em;
    margin-left: 0px;  
}
@media only screen and (min-width:960px) {
    a.menusecundario {
        font-size: 1.6em;
        margin-left: 70px;      
    }
}
a.menusecundario:hover {
   text-shadow: 4px 4px 4px #aaa; 
   font-size: 1.4em;
   color: #d3c024;
}
@media only screen and (min-width:960px) {
    a.menusecundario:hover {
       text-shadow: 4px 4px 4px #aaa; 
       font-size: 1.7em;
       color: #d3c024;
    }
}    

div.menusecundario table {
    width: 100%;
    text-align: center;
    max-width: 970px;    
}

div.menusecundario table td {
    width: 30%;
    text-align: center;     
}


div.menusecundario table tr {
    height: 3em;
}

/*******************************/
/********* Contenido ***********/
/*******************************/

/****** Sección novedades ******/

div.titulogrisoscuro  {
    padding-top: 0.1em;
    padding-bottom: 0.1em;
    max-width: 980px;
    color: white;
    margin: 0 auto;
    background-color: #808080;
    text-align: left;
}

.novedades div p {
    font-weight: bold;
    display: inline-block;
    color: white;
    padding: 5px 5px;
    width: auto;    
    font-size: 0.9em;
    margin-left: 0px; 
    text-transform: uppercase;
}
@media only screen and (min-width:960px) {
    .novedades div p {
        font-weight: bold;
        display: inline-block;
        color: white;
        padding: 5px 5px;
        width: auto;    
        font-size: 1em;
        margin-left: 0px; 
        text-transform: uppercase;
    }
}

.redessociales {
    width: 3em;
} 
@media only screen and (min-width:940px) {
    .redessociales {
        width: 7em;
    } 
}

div.todoslosarticulos {
    max-width: 980px;
    color: black;
    margin: 0em auto;
    padding-bottom: 10px;
    background-color: white;
    -webkit-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    -moz-box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
    box-shadow: 2px 2px 10px 3px rgba(0,0,0,0.43);
}

div.contenidoarticulos {
    margin: 12px 8px 0px 8px;    
    background-color: #f7f7f7;
}

div.titulosarticulos {
    width: 100%;
    height: 3em;
    background-color: #c0c0c0; 
    padding-top: 7px;
    padding-bottom: 0px;
    color: black;
    margin: 0.1em auto;
    text-align: left;
}

div.articulosizquierda {
    width: 100%;
    background-color: white;
    float: left; 
}
@media only screen and (min-width:940px) {
    div.articulosizquierda {
        width: 50%;
        background-color: white;
        float: left;    
    }
}    

div.articulosderecha {
    width: 100%;
    background-color: white;
    float: right;
}
@media only screen and (min-width:940px) {
    div.articulosderecha {
        width: 50%;
        float: right;
        background-color: white;
    }
}

footer {
    margin-top: 10px;
}

div.piedepagina p {
    text-align: center;
}



/* ==========================================================================
   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;
    }
}
