*{ margin:0; padding: 0;}
body {  font-family: 'Open Sans', sans-serif; font-size: 18px;   background-color: #efefef70; }
.stickytop { position: sticky;  top: 0; background-color: #D8D8D8; z-index: 1000; }
.grishead{    
    width: auto;
    max-width: 1320px;
    padding: 0.5rem;
    text-align: right;
    margin: 0 auto;
    }
.grishead a{ text-decoration: none; }
.grishead span{ display: inline-block; vertical-align: super; }
.headdiv{ position: sticky; width: 100%; top: 0;z-index: 10; }
header{ width: auto;
    height: 120px;
    text-align: left;
    background-color: #004A98;
    transition: height 0.8s;
    border-bottom: solid 10px #00B2E3 ; 
    display:flex; 
    justify-content:center;         
  }
.grishead2{ width: 100%; background-color: #d8d8d8; }
.grishead2 div{ width: 92%; text-align: right; margin-right: 10%;}
.grishead2 img{ width: 30px; padding-top: 5px; }
.grishead2 span{ display: inline-block; color:#706F6F; margin-bottom: 10px; vertical-align: middle; }
.grishead2 span a { color: #706F6F; text-decoration: none; }
.grishead2 span a:visited { color: #706F6F; }
header>div{ max-width: 1320px; width: 80%; display: flex; justify-content: space-between; align-items: center; }
header img{  height: 65px;  padding: 10px 20px; }
.logos>span { display: inline-block; border-right: solid 2px white; height: 80px;  }
.linksheader{  font-weight: 600; font-size: 16px; }
.linksheader a{ display: inline-block; margin-left: 10px; margin-top: 20px; border-right: solid 2px white; padding-right: 10px; }
.last{  border-right: solid 2px #004A98;  }
#pull{ display: none; }
header a{     
    font-size: 18px;
    color: white ;
    text-decoration: none ;
    }
header a:hover{ text-decoration: underline; }   
nav{ width: 100%; height: 55px;  background-color: white; }
nav>ul{  display: block; margin: 0 auto; max-width: 1320px; width: 80%; padding-top: 15px; }
nav>ul li{ display: inline-block; }
nav>ul li a{color: #004A98; font-size: 20px; font-weight: 600; text-decoration: none; margin-left: 10px; padding: 10px 1px;  }
nav>ul li a:hover{ color: white; background-color: #004A98; border-radius: 5px; }
main { max-width: 1320px; width: 85%; background-color: white; margin: 0 auto; }
.titleone { font-family: 'Open Sans', sans-serif; color: #00B2E3; font-size: 42px; font-weight: 800; display: block; text-align: center; }
.num  {color: #969696; font-family: 'Open Sans', sans-serif; font-size: 100px; font-weight: 800; }
.carreras { display: flex; align-items: center; justify-content: space-around; height: 50px; }
.mainelemento { 
    height: 400px;
    background-position: inherit;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center; 
    background-image: url("../images/pedregal2.jpg");   
    font-weight: bold;
    border-bottom: solid 10px #004A98;
 }
 .mainelemento h2{ color: white;  font-weight: 700; font-size: 35px;   text-shadow: 1px 1px 1px black, 0 0 1em rgb(95, 95, 96), 0 0 0.2em rgb(78, 78, 78);   }
 .avisos>div{ background-color: #E7ECF1; width: 100%; display: flex; justify-content: center; align-items: center; }
main h1 { color: #004A98;}
main h2 { padding-bottom: 0.3em; padding-top: 0.7em; }
main h3 { color: #004A98; padding-bottom: 5px;}
main p { color: #4D4D4D; font-size: 20px; }
.derecha{  text-align: right; font-size: 14px; }
main>div { padding: 5em 7em 5em 7em; }
main ul, main ol{ list-style-position: inside; }
.dirizq{ float: left; width: 20%; }
.dirizq2{ float: left; width: 35%; margin-left: 1em; }
.dirizq img{ width: 100%; }
main table{ width: 75%; }
main table th{ background-color: #777; color: white; text-align: left; padding: 4px 4px; }
main table td{ background-color: #CCC; padding: 2px 4px; }
.imagenal90{ width: 90%; }
.imagenal100{ width: 100%; }
.calendar{ display: block; width: 200px; height: 28px; padding: 25px 20px; background-color: #00B2E3; text-decoration: none; color:white; border-radius: 5px; margin-top: 30px; text-align: center; }
.conocemas{ display: block; width: 13%;  margin: 0 auto; text-align: center; background-color: #2080CB; color: white; padding: 5px 20px;  font-family: 'Open Sans', sans-serif; font-size: 20px; border-radius: 20px 20px; text-decoration: none; }
.conocemas:hover { background-color: #00B2E3; text-decoration:underline; }
.mainimg { margin-top: 1em; margin-bottom: 0.5em;   }
.final{ border-top: 3px solid #e7ecf1; 
    border-bottom: 3px solid #e7ecf1;
    padding: 10px 0px 10px 0px;
    margin-top: 2em;
}
.t2{ color: #B09F04; margin-top: -20px; padding-bottom: 30px; font-size: 25px; }
.btntutorias{ display: block; width: 90%; padding-top: 20px; height: 43px; background-color: #004A98; border-radius: 15px 0 15px 0; color: white; text-align: center; margin-top: 1%; text-decoration: none; }
.btntutorias:hover{ background-color: #00B2E3; }
.btntutorias2{ display: inline-block; width: 95%; padding-top: 20px; height: 60px; background-color: #9A9A9A; border-radius: 15px 0 15px 0; color: white; text-align: center; margin-top: 1%; text-decoration: none; cursor: default; }
.grid4tutorias{  
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;    
}
.ocultar{  display: none; padding: 20px 1px; }
.ocultar1{  display: none; padding: 20px 1px; }
.ocultar2{  display: none; padding: 20px 1px; }
.oc{ cursor: pointer; }
.grid2{  
    display: grid;
    grid-template-columns: 1fr 3fr;
    }
.grid3{  
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    }
.grid5{  
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
    }
.grid5 img{          
        width: 100%;        
        }
.grid3tutorias{  
    display: grid;
    grid-template-columns: 4fr 1fr 2fr;
    grid-column-gap: 14px;
}
.final img { max-width: 8%; margin-left: 1em; height: 30px; }
.boton{ display: flex; width: 95%; height: 80px; justify-content: center; align-items: center; background-color: #00B2E3; text-decoration: none; color:white;  margin: 5px 5px; text-align: center; }
.boton:hover{ text-decoration: underline; }
.boton2{ display: block; width: 23%; height: 50px; padding-top: 28px;  background-color: #00B2E3; text-decoration: none; color:white;  margin: 5px 5px; text-align: center; }
.boton2:hover{ text-decoration: underline; }
.oculta { display: inline-block; margin-bottom: 15px; }
.oculta:hover{ color: #444;  cursor:pointer; }
.oculta2 { display: inline-block; margin-bottom: 15px; color: cornflowerblue; }
.oculta2:hover{ color: rgb(15, 57, 207);  cursor:pointer; }
.ocultadiv{ display: none; margin-bottom: 15px; background-color: #ededed;  }
.ocultadiv ol{ list-style-position: inside; }
.vinc { font-size: 1.3em; }
.gridtemplate{  
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;    
}
.grid4{  
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;    
}
.grid4 img{ width: 100%;  }
.grid8{  
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;    
}
.grid8 img{ width: 100%; }
.gridtemplate img{      
    width: 100%;
}
.gridbotones{  
    display: grid;    
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;    
}
.vdo { display: inline-block; width: 40%;  }
.clear{ clear: both; }
.redes img{ width: 50px; margin-right: 15px; }
footer{
    width: auto;
    height: 280px;
    background-color: #004A98;
    padding: 25px 50px 30px 50px;    
    border-top: solid 10px #00B2E3;
    display:flex; 
    justify-content:center;
}
footer>div{     
    max-width: 1320px; width: 80%; display: flex; justify-content: space-between; align-items: center;
    font-size: 18px;
    color: white ;        
    line-height: 1.5em;
    font-weight: 300;
}
footer ul{ list-style-type: none;   }   
footer div a{         
    color: white ;        
    text-decoration: none;      
    font-weight: 600;
}
footer div a:hover{             
    text-decoration: underline;    
}
.abc{  list-style-type: lower-alpha; }
.abc2{  list-style-type: lower-alpha; margin-left: 40px; }
.roman{ list-style-type: lower-roman;  margin-left: 50px; }
.romanup{ list-style-type: upper-roman;  margin-left: 20px; }
.izq{ margin-left: 30px; }
.ia{  display: block; float: left; width: 10%; padding-right: 1%; padding-bottom: 4%; }
.planta{ margin-top: 2%; }
/* AQUI EMPIEZA EL DISEÑO RESPONSIVO */
/* ********************************* */
@media screen and (min-width: 988px) and (max-width: 1024px){
main { width: 95%;  }	
main>div { padding: 4em 4em 4em 4em; }
nav ul li a{ font-size: 0.8em; }
.gridbotones{  
        display: grid;    
        grid-template-columns: repeat(3, 1fr);  
        grid-gap: 10px;    
    }
header img{  height: 60px;  padding: 10px 20px; }
.logos>span { display: inline-block; border-right: solid 2px white; height: 70px;  }
.linksheader a{ display: inline-block; margin-left: 10px; margin-top: 0px;  font-size: 16px;  font-weight: 600; } 
header>div{ width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
}

@media screen and (max-width:987px){
main { width: 100%; }	
main table { width: 100%; }	
header{  height: auto; }
.linksheader a{ display: inline-block; margin-left: 10px; margin-top: 0px;  font-size: 16px;  font-weight: 600; } 
.gridbotones{          
        grid-template-columns: repeat(2, 1fr);        
    }
nav>ul{ display: none; width: 100%; background-color: white; }
nav ul li{ background-color: white; width: 100%; line-height: 2.5em; }
.dirizq{ float: left; width: 30%; }
.dirizq2{ float: left; width: 55%; margin-left: 1em; }
#pull{
    display: block;
    width: 10%;
    height: 30px;	
    padding-top: 15px;
    padding-left: 5px;
    text-decoration: none;
    font-size: 17px;    
    font-weight: bolder;
    padding-left: 90%;
    cursor: pointer
    }   
/*#pull:after{
    content:"";
    background: url('../images/nav-icon.png') no-repeat;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    right: 15px;
    margin-top: 5px;
    }	*/
#menubar {
width: 40px;
height: 40px;
}
.bar {
    height: 5px;
    width: 100%;
    background-color: #00B2E3;
    display: block;
    border-radius: 5px;
    transition: 0.3s ease;
}
#bar1 { transform: translateY(-4px); }
#bar3 { transform: translateY(4px); }
.change { display: block; }
.change #bar1 { transform: translateY(4px) rotateZ(-45deg); }
.change #bar2 { opacity: 0; }
.change #bar3 { transform: translateY(-6px) rotateZ(45deg); }
header>div{ width: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
header img { padding-top: 10px; height: 60px; }
.logos>span { height: 70px; }
main>div { padding: 1em 3em 3em 3.3em; }
main h1 { font-size: 1.8em; }
main h2 { font-size: 1.3em; padding-bottom: 0.3em; padding-top: 0.3em; }
.mainimg { display: block; width: 100%; }
.conocemas{ width:21%; font-size: 0.8em; height: 20px; }
.conocemas:hover{ text-decoration: underline; }
.boton{ font-size: 0.8em; width: 100%;}
.logos{ text-align: center; }
.vdo { display: block; width: 90%;  }
.grid3tutorias{  
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;    
    grid-template-rows: auto;    
    grid-row-gap: 50px;
}
.grid4tutorias{  
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;    
}
.ocultar{  display: none; padding: 20px 1px; font-size: 1em; }
}

@media screen and (max-width:580px){
.linksheader a{ display: block; text-align: center; line-height: 2em;} 
header{   height: auto; }
.logos {  width: 100%; }
.logos img {  height: 60px; }
main>div { padding: 1em 1em 1em 1em; }
main { font-size: 16px; }
main table { font-size: 0.6em;}
.carreras { height: auto; }
.avisos>div{ background-color: #E7ECF1; width: 100%; display: flex; flex-direction: column; }
.avisos img{ width: 100%; }
.vdo { display: block; width: 90%;  }
.linksheader a{ display: inline-block; border-right: none; }
}

@media screen and (max-width:480px){
.titleone { font-size: 2rem; }
.carreras { display: flex; flex-direction: column; align-items: center; justify-content: space-around; height: auto; }
.conocemas{ width:30%; font-size: 0.8em; height: 20px; }
footer>div{     
    width: 100%; 
    font-size: 16px;        
    line-height: 1.6em;
    font-weight: 300;
}
footer li a{          
    line-height: 2em;
}
.linksheader a{ display: inline-block; border-right: none; }
}