/*! 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
   ========================================================================== */

html {
  box-sizing: border-box;
}

*,*:before,*:after {
  box-sizing: inherit;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(222, 222, 222, 1);

}
a {
  text-decoration: none;
}
/* Formato general de la página */
.contenido {
  width: 90%;
  margin: auto;
}

div.barra-navegacion {
  padding: 15px 0 15px 0;
  background-color: rgba(61, 95, 132, 1);
  position: fixed;
  left: 0;
  top: 0;
}


div.logo-contenedor {
  max-width: 70%;
}

div.logo-contenedor img {
  width: 100%;
}

@media only screen and (min-width:768px) {
  div.logo-contenedor {
    width: 20%;
    float: left;
  }
}

nav.menu-principal {
  display: none;
}

nav.menu-principal a {
  padding: 15px;
  display: inline-block;
}

nav.menu-principal a {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.7em;
}

@media only screen and (min-width:768px) {
  nav.menu-principal {
    width: 67%;
    float: right;
    text-align: right;
    display: block;
  }
}

/* para contenido principal */
div.contenedor {
  display: table;
  margin-top: 50px;
  background-image: url(../img/fondos/decontadores_1.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 400px;
}

div.contenido-principal {
  width: 65%;
  padding: 80px 0 10px 0;
}

div.titulo-principal h1 {
 font-size: 38px;
 color: #000000;
}

div.titulo-principal h4 {
  color: #000000;
}

div.titulo-principal a {
  text-decoration: none;
  color: #000000;
}
@media only screen and (min-width:480px) {
  div.contenido-principal {
    width: 95%;
    margin: 0;
  }
}

@media only screen and (min-width:768px) {
  div.contenido-principal {
    width: 90%;
  }
}

@media only screen and (min-width:992px) {
  div.contenido-principal {
    margin-top: 70px;
    margin-bottom: 20px;
    width: 57%;
    max-width: 1100px;
    padding: 10px 15px;
    float: left;
    display: table-cell;
    background-color: rgba(61, 95, 132, 0.6);
  }
}

div.contenendor-texto-principal {
  display: table;
  height: auto;
  color: #000000;
    width: 100%;
}

div.texto-principal {
    display: table-cell;
  width: 60%;
}
div.nosotros {
  float: left;
}

div.nosotros p {
  font-size: 1em;
  line-height: 2em;
  color: #000000;
  text-align: justify;
}

div.nosotros span {
  font-size: 30px;
  color: #000000;
}

div.contenido-principal-imagenes {
  display: table-cell;
  width: 30%;
}

div.contenido-principal-imagenes img {
  margin: 110px 40px;
  width: 80%;
}

div.imagenes-principal {
    float: right;
}

div.contenedor-prensa {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_prensa2.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}

div.prensa-principal {
  display: table;
  margin: 0;
  color: #ffffff;
  width: 90%;
  padding: 20px 0;
}

div.marco-video {
  width: 354px;
  height: 179px;
  margin: 10px;
  margin-right: 0;
  border: 2px;
  border-style: solid;
  border-color: #ffffff;
}
div.marco-video video {
  width: 100%;

}

div.contenedor-interes {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_interes1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}
div.contenedor-beneficios {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_beneficios1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}

div.beneficios {
  color: #ffffff;
  margin-bottom: 20px;

  max-width: 1100px;
  padding: 10px 0;
}

div.beneficios h2 {
  padding-bottom: 10px;
  border-bottom: 1px white solid;
}

div.articulos {
  width: 100%;
  margin-bottom: 20px;
  max-width: 1100px;
  padding-top: 30px;

}

div.columnaizq {
  width: 60%;
  float: left;
}

div.columnaderecha {
  width: 40%;
  float: right;
}

div.articulos h1 {
 font-size: 38px;
 color: #000000;
 border-bottom: 1px white solid;
}

div.articulos h2 {
  color: #000000;
}

div.articulos p {
  font-size: 20px;
  color: #000000;
}
div.contenedor-contactos {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_contacto_1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}
div.contenedor-notas {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_notas1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}
div.contenedor-articulos {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_estrategias_competitivas_1.jpg);
  background-size: cover;
  width: 100%;
  height: 400px;
}
div.contenedor-novedades {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_novedades1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}
div.contenedor-servicios {
  display: table;
  padding-top: 100px;
  background-image: url(../img/fondos/decontadores_servicios1.jpeg);
  background-size: cover;
  width: 100%;
  height: 400px;
}

div.notas {

  width: 100%;
  margin: 0px;
  padding-top: 0px;
  padding-right: 0PX;
  color: #000000;
  line-height: 25px;
}

/*
@media only screen and (min-width:480px) {
div.notas {
    width: 95%;
    margin: 0;
  }
}

@media only screen and (min-width:768px) {
div.notas {
    width: 90%;
  }
}

@media only screen and (min-width:992px) {
div.notas {
    margin-top: 70px;
    margin-bottom: 20px;
    width: 67%;
    max-width: 1100px;
    padding: 10px 15px;
    float: left;
    display: table-cell;
    background-color: rgba(61, 95, 132, 0.6);
  }
}
*/

div.notas-texto {
  width: 100%;
  margin: 0px;
  padding-top: 0px;
  padding-right: 40PX;
  color: #000000;
  line-height: 25px;
}

.imagen {
  display: table-cell;
  width: 30%;
  float: right;
}

div.imagen img {
  width: 90%;
}

.texto {
  display: table-cell;
  width: 70%;
  float: left;
  padding-right: 20px;
}

div.texto p {
  font-size: 1.2em;
}

div.texto a {
  font-size: 0.8em;
  text-decoration: none;
  color: #000000;
}

div.contactos {
  margin-bottom: 120px;
}

div.formulario-contacto {
  display: table-cell;
  color: #000000;
  margin-bottom: 50px;
  align-items: center;
}

div.mapa-ubicacion {
  display: table-cell;
  margin: 30px;
  float: left;
}
form label {
  font-size: 0.8em;
  text-transform: uppercase;
}
footer {
  display: inherit;
  background-color: rgba(61, 95, 132, 1);
}
div.pie-pagina {
  background-color: rgba(61, 95, 132, 1);
}

div.direccion-pie {
  display: table-cell;
  color: #ffffff;
  float: left;
  font-size: 0.7em;
}

div.direccion-pie a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.8em;
}
nav.menu-pie-pagina a {
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.6em;
  align-items: flex-end;
  margin: 5px 5px;
}
nav.menu-pie-pagina {
    display: table-cell;
    float: right;
    color: #ffffff;
    margin-top: 10px;
}



/* ==========================================================================
   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;
    }
}
