/*! HTML5 Boilerplate v5.2.0 | 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
 *
 * 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 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
   ========================================================================== */

body { font-family: 'Ubuntu', sans-serif; }

p, li {font-size: 16px;}


h2 { text-align: center; padding-bottom: 25px; margin-top: 20px;}

.novedades h2 {text-align: left;}

h4 {
    font-weight: 600;
    letter-spacing: 1px
    }

header { height: 120px; position: relative; z-index: 998;  }

nav { background-color: #414141!important; border: none!important; }
.navbar a.active { background-color: #ff0000!important; color: white!important; }
nav li a:link { text-decoration: none; text-transform: none; font-size: 16px; margin-top: 50px; padding-top: 20px; height: 95px; 
    color: white!important; }
nav li a:visited { background-color: #ff0000!important; color: white!important; }
nav li a:active { color: white!important; }
nav li a:hover { color: red!important;}
nav li ul {  border: none!important; background-color: #CCC!important; }

nav .dropdown-toggle { color: white!important; }
.navbar-brand { margin-top: 20px; padding-top: 0; margin-right: 10px; }

.activo {
    border-bottom: 2px solid red; 
}

.servicios {
    padding: 0 0 50px 0;
   margin-top: 60px;
}

.novedades {
  background-color: #414141;
  color: white; 
  padding: 50px 0 50px 0;
   margin-top: 50px;
}

.novedades h2 {
  text-align: center;
}

.titulo {
  color: white;
  font-size: 20px;
  text-align: left;
  margin-bottom: 5px;

}

.bajada {
  color: #E6E6E6;
  font-size: 14px;
  text-align: left;
  margin-bottom: 15px;
}

.fecha {
  text-align: left;
  font-size: 12px;
  color: #E6E6E6;
  margin-bottom: 10px;
}

.desarrollo_nota h5 {
  color: #414141;
  margin-top: 25px;
}

.desarrollo_nota .bajada {
  color: black;
  margin-top: 25px;
  font-size: 18px;
  font-weight: 700px;
}

.desarrollo_nota .nota {
  color: #414141;
  margin-top: 25px;
  font-size: 18px;
}


.sombra img {
    margin-bottom: 25px;
    -webkit-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
    border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #ff0000;
}



.fondo_consejos {
    padding: 50px 0;
    background-color: #EEEEEE;
}

.fondo_consejos img {
    -webkit-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 4px 3px 5px 0px rgba(0,0,0,0.75);
}

.fondo_footer {
    border-top-width: 2px;
  border-top-style: solid;
  border-top-color: #ff0000;
    padding: 50px 0;
    background-color: #414141;
    color: white;
}

.objetivos {
    padding: 50px 0;
}


.quienes {
  padding: 0 0 50px 0;
  background-image: url("../img/quienes_somos.jpg");
  height: 500px;
}

.gradient {
  padding: 4rem 0;
  margin-top: 3%;
  color: white;
  border-bottom: 1px solid red;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+2,000000+100&0+7,0.75+7,0.9+75 */
background: -moz-linear-gradient(top,  rgba(0,0,0,0.9) 2%, rgba(0,0,0,0.9) 7%, rgba(0,0,0,0.5) 75%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(0,0,0,0.9) 2%,rgba(0,0,0,0.9) 7%,rgba(0,0,0,0.5) 75%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(0,0,0,0.9) 2%,rgba(0,0,0,0.9) 7%,rgba(0,0,0,0.5) 75%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bf000000', endColorstr='#e6000000',GradientType=0 ); /* IE6-9 */


}

.quienes p {
    font-size: 1.2rem;
}

.textoSlide { font-size: 20px; color: white; padding-top: 50px; font-size: 40px; text-align: left; line-height: 42px; 
left: 5%; text-shadow: 10px 10px 18px rgba(81, 81, 81, 1); }
.textoSlide strong { font-weight: 900; }


h2 {text-transform: uppercase;}

.fondo_footer a {
  color: white;
  font-weight: 700;
}

.fondo_footer a:hover {
  color: red;
  text-decoration: none;
}

.fondo_gris {
  background-color: #EEEEEE;
  margin-top: 138px;
  margin-bottom: 25px;
}






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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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:
   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,
    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;
    }

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

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

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