@import url('https://fonts.googleapis.com/css?family=Encode+Sans+Condensed:100,200,300,400,500,600,700,800,900');

/*general*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* 100% = 16px = 1em */
    font-family: 'Encode Sans Condensed', sans-serif;
    background-color: white;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a {
    display: block;
    text-decoration: none;
    color: white;
}

ul { list-style: none; }

h4 {
    font-weight: 500;
}
h5 {
    font-size: .8em;
    font-weight: 400;
}

img {
    /* para que las imágenes nunca sean mayores que la caja que las contienen */
    max-width: 100%;
}

/*especifico*/
.fondonaranja {
    min-height: 100vh;
    background-image: linear-gradient(-222deg, khaki, orange);
}
.azul { color: #025bd7; }
.celeste { color: deepskyblue; }


/*por pantalla*/
/*INDEX*/

/*animación*/
div .aaa {
    width: 50%;
    height: 50%;
    position: relative;
    animation: forwards;
    animation-name: example;
    animation-duration: 3s;
    opacity: 0;
}

@keyframes example {
    0%   {top:3em; }
    100% {top:0; opacity: 1; transition: opacity 1s ease;}
}
            
div .bbb {
    position: relative;
    animation: forwards;
    animation-name: example2;
    animation-duration: 3s;
    opacity: 0;
}

@keyframes example2 {
    70%   {display: none;}
    100% {opacity: 1; transition: opacity 1s ease;}
}


.splash {
    color: white;
    text-align: center;
    font-size: 1.5em;
    margin-top: 5.5em;
}

.splash p {
    margin-top: .5em;
    padding: .5em;
    display: block;
    background-color: orange;
    font-size: 0.8em;
}

.logo {
    height: 50%;
    width: 50%;   
}

.button a {
    display: block;
    text-align: center;
    margin: 1em 10vh 0 10vh;
    padding: .5em;
    background-color: darkorange;
}


/*INICIAR SESION Y REGISTRARME*/
input[type=text],
input[type=email],
input[type=password],
input[type=text],
input[type=date],
select {
    width: 62%;
    padding: .25em 1em;
    margin: .25em 0;
    display: inline-block;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
}

.formulario
input:focus	{
    background-color: orange;
    transition: .3s;
    outline: 0;
    font-size: 1.5em;
}

.formulario {
    margin-top: 4em;
}
.formulario .usuario {
    background-color: white;
    display: block;
    margin: 0 0 1em 6.7em;
    border-radius: 50%;
    width: 7em;
}
.formulario fieldset {
    /*margin: 0 0 0 15vh;*/
    display: block;
    border: none;
    text-align: center;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

.formulario fieldset p {
    margin-top: .75em;
}

label {
    display: block;
    margin-top: .65em;
}

.legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    bottom: 0;
    padding: 1em;
}

.email div {
    margin: 2em;
    position: relative;
    text-align: center;
}

.email h1 {
    font-size: 3em;
    position: absolute;
    top: 23%;
    right: 50%;
    transform: translate(50%,-50%);
}


/*PRINCIPAL*/
/*borde superior (presente en todas las pantallas)*/
.mini {
    height: 1.5em;
}
    
ul.topnav {
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: orange;
}
    
ul.topnav li {float: left;}
    
.woa {
    background-color: deepskyblue;
    }

ul.topnav li a {
    margin: 1em 1em .7em 1em;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 1.em;
}

ul.topnav li.icon {display: none;}

@media screen and (max-width:680px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
    .active {
        float: left;
    }
    .woa {
    background-color: transparent;
    }
    .ini {padding-top: 2em;}
}

    /*menu desplegable*/
@media screen and (max-width:680px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: right;
  }

}

/*contenidos*/
figure .desafio {
    display: flex;
    flex-grow: 1;
}

.desafio figcaption {
    margin: 0;
    padding: 1em;
    color: deepskyblue;
}

.principal {
    max-width: 75em;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.principal figure {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.principal img { display: block; }

.principal figcaption {
    background-color: orange;
    padding: 1em;
    line-height: auto;
    height: 100%;
}

.principal figcaption h2 { bottom: 2em; }

.principal figure:hover figcaption {
    background-color: #025bd7;
    top: 50%;
    transition: all 1s ease;
}

.plegales {display: none;}

/*contenidos responsive*/
@media (min-width: 35em) {
    
    /*principal*/
    section {
        background-image: linear-gradient(-222deg, khaki, orange);
    }
    .principal {
        display: flex;
        flex-wrap: nowrap;
        padding-bottom: 5em;
    }
    .plegales {
        display: inline;
        text-align: center;
    }
    .desafio {
        display: block;
        font-size: 2em;
        margin: 0 auto 0 auto;
        padding-top: 1em;
        width: 50%;
    }
    .desafio figcaption {
    color: white;
}
}


/*SECCIONES*/
/*desafios (una parte)*/
.grande {
    margin-top: 2em;
    font-size: 3em;
}

/*calculadora*/
input[type=number],
input[type=checkbox],
input[type=radio],
select {
    margin: .5em;
}

input[type=reset] {
    border: none;
    font-family: inherit;
    margin-top: .5em;
    padding: 1em;
    font-size: 1em;
    background-color: orange;
    color: white;
}

.calcular fieldset {border: none;}

.calcular fieldset p {margin-bottom: 2em;}

button {
    background-color: darkorange;
    color: white;
    border: none;
    font-family: inherit;
    font-size: 1em;
    padding: 1em;
    text-align: left;
}

.huella {
    padding: 1.5em;
}

/*buscador*/
.articulo
input[type=text] {
    font-family: inherit;
    border: 2px solid orange;
    margin: .5em 3.5em 0;
    padding: .5em;
    font-size: 1em;
}

.pantallainterna {
    margin: 5em 1em 2em;
}

article { 
    margin: 0 1em 0 1em;
    padding: 0 0 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
article ul { padding: .5em; }

.perfil .sirgi img { 
    margin: 2em;
    width: 50vmin; 
    border-radius: 50%;
    border: 2px solid orange;
}

.perfil div p {
    padding: .5em 5em .5em 5em;
    margin-bottom: 1em;
    background-color: orange;
}

.perfil li {
    font-weight: 700;
}

.avatar { 
    width: 18vmin;
}



/*Micaela*/
.mitad {
    display: block;
    width: 40%;
    height: 40%;
}
.titular {
    display: flex;
    flex-wrap: wrap;
}

.titular ul {
    margin: 5em 0 0 1em;
}

.articulo > h3{
    color: white;
    background-color: orange;
    padding: .75em;
    margin-top: .50em;    
} 
.articulo > p {
    padding: 1em;
    margin: 0 auto -1.25em auto; 
}
.contacto {
    color: aquamarine;
    background-color: #025bd7;
    padding: 1em;
    margin: 2em 0 1.25em;
    }

.parrafo {
    color:#025bd7;
}

video {
    width: 100%;
}

#organizar fieldset {
    display: block;
    border: none;
    text-align: center;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

#organizar button {
    max-width: 50%;  
    margin: .5em;
}

.donde h2 {
    background-color: orange;
    padding: .5em;
     color: white;
}

/*noticias*/
.galeria {
    max-width: 100%;
}

.galeria p {
    padding: .5em;    
}

.galeria figure {
    position: relative;
    overflow: hidden;
}

.galeria img {
    display: block;
}

.galeria figcaption {
    background-color: rgba(2, 91, 215, 0.51);
    color: white;
    padding: .5em;
    line-height: 1em;
    position: absolute;
    height: 100%;
    top: calc(100% - 2em);
    transition: all .5s ease;
    
}

.galeria figure:hover figcaption {
    color:rgba(2, 91, 215, 0.51);
    background-color: snow;
    top: 0;
    transition: all .5s ease;
}

.galeria figcaption span {
    display: block;
    font-size: .75em;
    padding:1em;
    color:rgba(2, 91, 215, 0.51);
}

figcaption {
    display: block;
}

/*Gabriel*/
/*calendario*/
.container{
  margin: auto;
  padding: 0.3em;
  width: 100%;
}
.light{
  background-color: #fff;
}
.calendar{
  width: 80%;
  padding: 20px 30px;
  color:#363b41;
  display: inline-block;
}
.calendar_events a{
  color: black;
}
a .event_item:hover{
  color:white;
}
.calendar_header{
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.header_copy{
  color: grey;
  font-size:20px;
}
.calendar_plan{
  margin: 10px 0 20px;
}
.cl_plan{
  -moz-border-radius: 10px;
  border-radius: 10px;
  display: flex;
        flex-direction: column;
        flex-wrap: wrap;
  width:130%;
  height: 140px;
  background-image: linear-gradient(-222deg, orange, khaki);
  box-shadow: 0px 0px 52px -18px rgba(0, 0, 0, 0.75);
  padding:20px;
  color:white;
}
.cl_title{
font-size: 1.7em;
font-weight: 600;
margin: 5px 0;
text-shadow: 0px 0px 52px -18px rgba(0, 0, 0, 0.75);
}
.cl_copy{
  align-items: stretch;
  font-size:14px;
  margin: 5px 0;
text-shadow: 0px 100px 52px -18px rgba(0, 0, 0, 0.75);
}
.cl_copy2{
  font-size: 12px;
}
.cl_add img{
    max-width: 5em;

  -moz-border-radius: 10px;
  border-radius: 10px;
  cursor: pointer;
  color: white;
margin: 0px 10px 2px 20px;

}

.calendar_events{
  color: grey;

}
.ce_title{
  font-size:14px;
}
.event_item{
  -moz-border-radius: 10px;
  border-radius: 10px;
  margin: 18px;
  padding: 5px 10px;
}
.event_item:hover{
  margin: 18px;
  padding: 5px;
  cursor: pointer;
    background-image: linear-gradient(-222deg, deepskyblue, white);
    box-shadow: 0px 0px 52px -18px rgba(0, 0, 0, 0.75);
    .ei_Dot{
      background-color: #fff;
    }
    .ei_Copy,.ei_Title{
      color:#fff;
    }
  }
}

.ei_Dot,.ei_Title{
  display:inline-block;
}

.ei_Dot{
  border-radius:10%;
  width:10px;
  height: 10px;
  background-color: grey;
  box-shadow: 0px 0px 52px -18px rgba(0, 0, 0, 0.75);
}
.dot_active{
  background-color: orange;
}

.ei_Title{
  margin-left:10px;
  color:#363b41;
}

.ei_Copy{
  font-size:12px;
  margin-left:27px;
}
/*Termina el calendario*/


/*desafios*/
.map_insert{
  margin: 0px 5px 0px 5px;
  padding: 18px 10px 10px 20px;
  background-image:linear-gradient(-222deg, deepskyblue, lightblue);
  -webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.map_insertdown{
  padding: 5px 0 0 0;
}

.map_insert2{
  padding: 5px 0 0 0;
}

@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/

 .flex-caption {
  width: 100%;
  padding: 2%;
  left: 0;
  bottom: 0;
  background: rgba(0,0,0,.85);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.5);
  font-size: 14px;
  line-height: 18px;
  margin-top:-8%;
  position:relative
}

.flexslider {
  margin: 0 0 60px;
  background: #ffffff;
  border: 4px solid #ffffff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;
}
.flex-viewport {
  max-height:2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 2000px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
  content: '\f002';
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}
/*fin desafios*/