/*! 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;
    width: 100vw;
}

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

*, *:before, *:after{
    box-sizing: border-box;
}
.contenedor{
    overflow-x: hidden;
}
body{
    font-family:'Roboto Slab','Roboto', Helvetica, Arial, sans-serif;
}
.imagen{
    width: 100%;
}

nav{
    background: #00a8f3;
    position:fixed;
    width:100%;
    display: inline;
    height:60px; 
    z-index: 2;
}

.nombrenav{
    float:left;
    margin-left: 20px;
    margin-top: 5px;
}

.nombrenav img{
    height: 48px;
    float: left;
    margin: 0 15px 0 0;
}

.nombrenav p{
    display: inline-block;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    color:white;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1rem;
    
}

.nombrenav p a{
    text-decoration: none;
    color:white;
}
.menu ul{
    list-style: none;
    margin-right: 5vw;
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    float: right;
    
}
.menu ul li a{
    float:left;
    margin-left: 40px;
    color:white;
    font-weight:bold;
    letter-spacing: .5px;
    text-decoration: none;
    line-height: 16px;
}

.menu ul li a:hover{
    text-decoration: underline;
}
.franja_header{
    width: 100%;
    height: 18px;
    background-image: url(../img/cubo_morado.png), url(../img/cubo_azul.png);
    background-repeat: repeat-x;
    background-size: 12px,12px; 
    background-position: 0px 0px,6px 6px;
    float: left;
}
main h2{
    color:#00a8f3;
}
article{
    display: table;
    position: relative;
    width: 100vw;
    height: 533px;
    max-height: 533px;
    overflow-y: hidden !important;
}
.mision, .valores, .modelo{
    background-color: #f4f2f25c;
}

.frase{
    height: 300px;
    display: block
}

.modelo{
    display: block;
    height: 320px;
}

.imagenD{
    float: left;
    width: 40vw;
}
.imagenI{
    float: right;
    width: 40vw;
}
/*.imagenfrase{
    float: left;
    width: 30vw;
}
.imagenfrase img{
    display: block;
    height: 130px;
    margin-top: 85px;
    padding-right: 70px;
    float: right;
}
*/
.img_frase img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 36px;
}

.img_oms{
display: none!important;    
}

.img_celular{
    display: none!important;
}

.imagenD img, .imagenI img{
display: block;
height: 467px;
margin:  33px auto;
}

.textoD{
    display: table-cell;
    vertical-align:middle;
    height: 467px;
    width: 60vw;
    max-width: 920px;
    padding-right: 50px;
    text-align: center;
}
.textoI{
    height: 467px;
    width: 60vw;
    max-width: 920px;
    padding-top: 157px;
    padding-left: 50px;
    margin-top: 27px;
    float: right;
    text-align: center;
}

/*.textofrase{
    height: 467px;
    width: 70vw;
    max-width: 1200px;
    margin-top: 70px;
    float: right;
    text-align: justify;
    font-style: italic;
}
.textofrase span{    
    font-style: normal;
    font-family: 'Roboto Slab','Roboto', Helvetica, Arial, sans-serif;
    font-size: 19px;
    float: right;
    text-align: right;
}

.textofrase p{ 
    font-family: serif;
    width: 55vw;
    float: left;
}
*/

article h2{
    font-size: 35px;
    font-weight:normal;
    margin-top: 0px;
}
article p{
    font-size: 20px;
}
.intro p, .vision p, .mision p, valores p {
    font-size: 20px;
    text-align: justify;
} 
.valores li{
    text-align: justify;
}

.space{
    display: block;
    height: 7px;
}
.bold{
    font-weight: bold;
}
.modelo h2{
    text-align: center;
    height: 120px;
    padding-top: 40px;
    margin-bottom: 0;
}
.archivos{
    display: inline-flex;
    height: 200px;
    padding-top:20px;
}

.archivos p{
    margin-top: 5px;
}

.archivos .doc1{
    width: 30vw;
    margin-left: 20vw;
    text-align: center;
}

.archivos .doc2{
    width: 30vw;
    margin-right: 20vw;
    text-align: center;
}
.archivos img:hover{
    cursor: pointer;
    transform: scale(1.04);
}
.archivos a:hover + a p{
    transform: scale(1.02);
}

.modelo a{
    text-decoration: none;
    color: black;
}
.modelo a img{
    margin-top: .5vw;
    height: 60px;
}
.objetivos{
    height: 20vw;
    max-height: 800px;
}
.generalObj{
    width: 100vw;
    max-width: 1366px;
    display: block;
    margin: 0 auto;
}
.tituloObj img{
    width: 40vw;
    max-width: 1000px;
    display: block;
    margin: 1% auto;
    
}
.contentObj{
    width: 95vw;
    max-width: 1366px;
    margin: 0 auto;
}
.contentObj img{
    display: inline-block;
    width: 9.5%;
    padding: 1% 0 0 1%;
}
/*@media only screen and (max-width:1245px){
    .contentObj img{
        width: 24.7%;
    }
}
@media only screen and (max-width:1167px){
    .contentObj {
        width: 90vw;
    }
    .contentObj img{
        width: 90vw;
        width: 33%;
        padding: 5% 0 0 5%; 
    }
}*/

/*                       nostros
.intro h2{
    position: absolute;
    font-size: 2rem;
    top:20%;
    left:10%;
}
.intro p{
    position: absolute;
    display: inline-block;
    width: 80%;
    font-size: 1.5rem;
    top: 30%;
    left: 10%;
    margin: 0;
}
*/



/*===============================================================
Media queries
===========================================================
*/
@media only screen and (max-width:1150px){
    .menu ul{
        display: none;
    }
    nav{
        margin-top:0px;
    }
    
    .imagenD img, .imagenI img {
    width: 40vw;
    }
    .textoD{
    padding: 0px 4vw;
    }
    .textoI{
        padding-left: 4vw;
        padding-right: 4vw;
    }
    .intro p, .vision p, .mision p, valores p {
    font-size: 15px;
    }
    
    .valores{
    height: 663px!important;
    max-height: 678px!important;
    }
    
    .valores .textoI{
    padding-left: 0vw;
    padding-right: 2vw;
    }
    .valores ul{
        font-size: 15px;
    }
    .img_frase img {
    width: 92vw;
    }
    .objetivos{
    margin-bottom: 3vw;
    }
    
    .contentObj {
    width: 94vw;
    }
    
    .contentObj img {
    display: inline-block;
    width: 18.3vw;
    padding: 1vw 0 0 2vw;
    }
    
}

@media only screen and (max-width:766px){
    nav{
    height: 55px; 
    }
    
    .nombrenav img {
    height: 40px;
    margin: 2px 10px 0 0;
    }
    
    .nombrenav p {
    font-size: 10px;
    line-height: inherit;
    margin-top: 5px;
    }
    
    .franja_header {
    background-size: 9px,9px;
    background-position: 0px -3px,5px 1px;
    }
    
    article h2 {
    font-size: 23px;
    margin-top: 9vw;
    }
    .intro p, .vision p, .mision p, valores p, .valores .textoI li{
    font-size: .8rem;
    }
    
    .textoI {
    width: 100vw;
    height: 83vw;
    display: inherit;
    max-width: none;
    padding: 0px 5vw;
    }
     
    .textoD{
    width: 100vw;
    height: 83vw;
    display: inherit;
    max-width: none;
    padding: 0px 5vw;
    }
    
    .vision .textoD{
        height: 20vw;
        height: 50vw;
    }
    
    .imagenD, .imagenI {
    float: inherit;
    width: 80vw;
    margin: 0px 0px;
    }
    
    .imagenD img, .imagenI img {
    width: 100vw;
    height: 90vw;
    object-fit: cover;
    margin: 0px 0px;
    }
    
    .valores{
    max-height: 0!important;
    }
    .valores .imagenI img{
        display: none;
    }
    
    .valores ul{
    padding-left: 4vw;
    padding-right: 4vw;
    list-style: none;
    }
    
    .valores .textoI{
    width: 100vw;
    margin-top: -10px;
    float: inherit;
    
    }
    .frase{
    height: 196px;
    }
    .img_oms{
    display: block!important;
    width: 17vw!important;
    margin-top: 4vw!important;
    margin-bottom: -11vw;
    }
    .img_general{
    display: none!important;
    }
    
    .img_celular{
    display: block!important;
    width: 96vw!important;
    margin-top: 0!important;
    }
    
    .modelo {
    height: 172px;
    }
    
    .modelo h2{
    padding-top: 0vw;
    margin-top: 3vw;
    height: 30px;
    }
    
    .archivos .doc1{
    width: 40vw;
    margin-left: 10vw;   
    }
    
    .modelo a img{
        height: 35px;
    }
    
    .archivos p{
    font-size: .8rem;    
    }
    
    .tituloObj img {
    width: 70vw;
    margin-bottom: 4vw;
    }
    
    .contentObj img {
    width: 30.5vw;
    padding: 3vw 2vw 0 2vw;
    }
    
}
     /*
    .intro h2, .vision h2, .mision h2, .valores h2, .historia h2 {
        position:inherit;
        text-align: center;
    }
     .intro p, .vision p, .mision p, .valores p, .historia p {
        font-size:5vw;
        margin-top:5vw;
    }
    }
    main article{
        text-align: center;
    }   
    .valores{
        height: 426vw;
    }
    .mision, .vision{
        height: 85vw;
    } */
}
/* ===========================================================================
   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;
    }
}
