/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

/* Webfont: Overpass-Bold */@font-face {
    font-family: 'Overpass';
    src: url(/files/assets/fonts/overpass/2.1/Overpass-Bold.eot); /* IE9 Compat Modes */
    src: url(/files/assets/fonts/overpass/2.1/Overpass-Bold.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
         url(/files/assets/fonts/overpass/2.1/Overpass-Bold.woff) format('woff'), /* Modern Browsers */
         url(/files/assets/fonts/overpass/2.1/Overpass-Bold.ttf) format('truetype'), /* Safari, Android, iOS */
         url(/files/assets/fonts/overpass/2.1/Overpass-Bold.svg#Overpass-Bold) format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

/* Webfont: Overpass-Reg */@font-face {
    font-family: 'Overpass';
    src: url(/files/assets/fonts/overpass/2.1/Overpass-Regular.eot); /* IE9 Compat Modes */
    src: url(/files/assets/fonts/overpass/2.1/Overpass-Regular.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */
         url(/files/assets/fonts/overpass/2.1/Overpass-Regular.woff) format('woff'), /* Modern Browsers */
         url(/files/assets/fonts/overpass/2.1/Overpass-Regular.ttf) format('truetype'), /* Safari, Android, iOS */
         url(/files/assets/fonts/overpass/2.1/Overpass-Regular.svg#Overpass-Regular) format('svg'); /* Legacy iOS */
    font-style: normal;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Overpass', sans-serif;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

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

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

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body{
    margin: 0;
}
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
header{
    background:#820000 url(img/bg-header.png) bottom  no-repeat;
    color: #fff;
}
header div{
    padding: 30px;
    box-sizing: border-box;
}

img{
    width: 100%;
}
img.logo{
    width: 200px;
}
figure{
    margin:0;
    padding: 50px 0;
}
a{
    text-decoration: none;
    transition: all 0.3s ease 0s;
}
h2{
    font-weight: 800;
}
li{
    list-style: none;
}
h1 span{
    font-size: 16px;
    line-height: 100%;
}
header nav{
    background: rgba(0, 0, 0, .5);
} 
header nav a:link, header nav a:visited{
    color: #fff;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
} 
header nav a:hover{
    text-decoration: underline;
    background: rgba(0, 0, 0, 1);
}
header nav li{
    width: 90%;
    display: block;
}
header nav ul{
    margin: 0;
}
section{
    width: 100%;
    display: block;
    padding: 20px;
    box-sizing: border-box;
}
.encuentra h2{
    color: #be0000;
}
.red{
    background: #be0000;
    color: #fff;
}
.red h2{
    font-weight: 400;
    text-align: center;
}
.date{
     background:#820000 url(img/bg-date.png) top right no-repeat; 
}
.date a:link, .date a:visited{
    background:rgba(190, 0, 0, 1);
    display: inline-block;
    margin: 10px 0 0 10px;
    width: 100%;
    max-width: 330px;
}
.date a:hover{
    background:rgba(190, 0, 0, 0.5);
}
.date article{
    width: 100%;
    max-width: 330px;
    padding: 10px;
    box-sizing: border-box;
    margin:0 auto;
}
.date article img{
    width: 80px;
    display: inline-block;
}
.date article p{
    display: inline-block;
    color: #fff;
    padding: 5px 5px;
    box-sizing: border-box;
    font-size: 13px;
}
.date h2{
    width: 100%;
    color: #fff;   
    box-sizing: border-box;
    text-align: left;
}
.acerca{
     background:#007c8b url(img/bg-azul.png) top right no-repeat; 
     color: #fff;
}
.acerca h3{
    font-size: 25px;
    font-weight: 400;
    text-align: center;
}

.opensource{
     background:#000 url(img/bg-person.png) top left no-repeat; 
     color: #fff;
}
.innovacion{
    text-align: center;
}
h4{
    font-weight: 400;
}
i{
    color: #666;
}
footer{
    background:#820000 url(img/bg-header.png) top right no-repeat;
    color: #fff;
    text-align: center;
}
.padding{
    padding: 20px;
    box-sizing: border-box; 
}
footer img{
    width: 70px;
    margin: 0 auto;
    display: inline-block;
}
footer li{
    width: auto;
    display: inline-block;
}
footer a:hover{
    opacity: 0.5;
    filter: alpha(opacity=50); /* For IE8 and earlier */
}
header figure img{
    width: 200px;
} 
.footer{
    font-size: 14px;
    text-align: left;
    margin: 0;
    overflow: hidden;
    background-color: #000;
    color: #666;
}
.footer section{
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding:0;
}
.footer div{
    padding: 10px 20px 0 20px;
    box-sizing: border-box;
    float:left;
    width: 100%;
}
.footer figure {
    width: 100%;
    float: left;
    margin: 0;
    padding: 7px 0 0 0;
    text-align: center;
}
.footer figure img{
    width: 150px;
    height: 56px;
}
.footer a{
    color: #666;
    text-decoration: none;
}
.footer .summit {
    padding-top: 15px;
}
.footer .summit img{
    width: auto;
    height: auto;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

header figure {
    width: 40%;
    float: left;
}
header nav {
    width: 100%;
    text-align: center;

}
header nav li{
    width: 20%;
    margin: 0 auto;
    display: inline-block;
    text-align: center;

}
header nav li a{
    padding: 10px 0;
    display: inline-block;
}
section div{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; 
}
.encuentra{
    max-width: 1024px;
}
h2{
    margin: 0;
}
.date article{
    display: inline-block;
}
.acerca {
    overflow: hidden;
}
.acerca article{
    width: 48%;
    float: left;
    overflow: hidden;
}
.acerca h3{
    font-size: 30px;
    padding: 0 30px;
    box-sizing: border-box;
}
.padding-top-bottom{
    padding: 30px 0;
}
.opensource article{
    width: 50%;
}
.innovacion div{
    max-width: 900px;
}
.padding-footer{
    padding: 10px 0;
}
.date article p{
    font-size: 15px;
}
header h1{
 width: 100%;
 float: right;
 text-align: left;
 font-size: 50px;
 padding: 0 100px 0 0;
 box-sizing: border-box;
}
.footer{
    height: 80px;
}
.footer div{
    width: 74%;
    float: left;
    text-align: center;
}
.footer figure{
    width: 13%;
    float: left;
}
}

@media only screen and (min-width: 65em) {
header section{
    width: 100%;
    margin: 0 auto;
}

header h1{
 width: 60%;
 float: right;
 text-align: right;
 font-size: 50px;
 padding: 0 100px 0 0;
 box-sizing: border-box;
}
header h1 span{
    font-size: 25px;
}


}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    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;
    }
}