@import url('https://fonts.googleapis.com/css?family=Open+Sans:300i|Source+Sans+Pro:400,700');
/*font-family: 'Source Sans Pro', sans-serif;
font-family: 'Open Sans', sans-serif;*/

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

a{
	text-decoration: none;
	font-family: 'Open Sans', sans-serif;
}

i{
	color: white;
	margin: 0.3em 0.6em;
}

li{
	text-decoration: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

body {
    font-family:'Source Sans Pro', sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #3272a4;
    max-height: 100vh;
    max-width: 100vw;
   
    
}

main{
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-bottom: 1em;
}

header{
	padding: 0.8em 1.3em;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	margin: auto 1em;
}

header p{
	color: white;
	margin-top:0.3em;
	display: block;
    width: 85%;
    padding-left: 0.5em;
}

header img{
	max-height: 4em;
}

figure{
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 0.8;
	position: relative;
    margin: 0 1.5em 2em;
}

figure p{
	color: white;
	font-weight: 700;
	text-align: center;
}

nav ul{
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}








.destacado{
    margin-top: 2em;
    padding-top: 2em;
	font-size: 1.8em;
}

figure img{
	margin: 2em auto 0;
	padding: 0.5em;
}

.btnNav{
	background-color: white;
	font-family:'Source Sans Pro', sans-serif;
    font-weight: 700;
    width: 15em;
    border-radius: 1em;
    padding: 0.5em;
    border:none;
    margin-bottom: 1em;
    color: #ff5818;
    text-align: center;
    display: flex;
    justify-content: center;
}

.btnNaranja{
	background-color: #ff5818;
	font-family:'Source Sans Pro', sans-serif;
    font-weight: 700;
    width: 15em;
    height: 3em;
    border-radius: 2em;
    padding: 0.8em;
    border:none;
    margin-top: 3em;
    color: white;
    text-align: center;
    font-size: 1em;
}

.textoSec{
	color: white;
	display: block;
	margin: 2.5em;
}

.textoSec span{
	color: #3272a4;
	margin-bottom: 0.5em;
}

.textoSec a{
	color: #ff5818;
	font-family:'Source Sans Pro', sans-serif;
    font-weight: 400;
    padding: 0.3em;
}

.fondoBlanco{
	background-color: white;
	display: flex;
	flex-direction: column;
	padding-bottom: 2em;
}

.formulario{
    min-width: 80%;
	margin-top: 3em;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.formulario input{
	min-width: 100%;
	min-height: 3em;
	padding: 0.5em;
	border-radius: 1em;
}


#logoInicio{
	min-height: 12em;
    max-height: 16em;
    max-width: 95%;
	margin-bottom: 1em;
	margin-top: 3em;
}

#avatar{
	min-height: 12em;
    max-height: 16em;
    max-width: 70%;
	margin-top: 1.3em;
}


.datos{
	padding: 1.3em;
	position: relative;
	margin-left:60px;
	display: flex;
	justify-content: space-between;
}

.datos p{
	color: white;
	font-family:'Source Sans Pro', sans-serif;
    font-weight: 400;
    margin-bottom: 0.3em;
    margin-right: 1.3em;
}

#upload{
	position: absolute;
	top: 2em;
	right: 0;
}

#edit{
	position: absolute;
	top: 0;
	right: 1.3em;
}



/*:::MENU DESPLEGABLE:::*/
#menu-bar{
	display: none;
}

#menu-bar:checked ~ .menu{
	transform: translateX(0);

}

header label{
	float: right;
}

.menu{
	position: absolute;
	width: 45%;
	height: 30vh;
	background-color: white;
	top: 2em;
	right:10%;
	z-index: 99;
	transition: all 0.5s;
	transform: translateY(-150%);
}
.menu ul {
	padding-left: 0.3em;
}

.menu ul li a{
	display: block;
	color: #3272a4;
	text-decoration: none;
	font-size: 0.8em;
}

#cerrarSesion{
	font-size: 0.8em;
	padding-left: 2em;
	color: #ff5818;
}




/*:::FORO:::*/
.buscador{
	width: 80%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	height: 3em;
}
.buscador input{
	width: 85%;
	border-radius: 1.3em;
	height: 2em;
	padding-left: 1em;
}

#lupa{
	font-size: 1.6em;
	margin: 0;
	padding-left: 0.3em;
}

#nueva{
	background-color: #ff5818;
	border-radius: 5em;
	color: white;
	text-align: center;
	margin: 0 0.3em;
	font-size: 1.3em;
	width: 30%;
}
 

.iconosFiltro{
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.8em;
	padding: 0 0.5em;
	height: 8em;
}

.iconosFiltro i{
	font-size: 3em;
}

.filtro a p{
	font-size: 0.6em;
	color: white;
	display: block;
	text-align: center;
}

.filtro{
	display: flex;
	flex-direction: column;
}

.foro{
	display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}


.boxForo{
	background-color: aliceblue;
    width: 80%;
    min-height: 8em;
    border-radius: 2em;
    display: flex;
    justify-content: center;
    margin: 0.6em auto;
}

.boxForo a{
	text-decoration: none;
	display: flex;
	max-height: 100%;
}

#logoForo {
	font-size: 4em;
    color: black;
    margin: 0.5em;
    max-width: 45%;
}

a .pregunta{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 1em 0;
    padding-right: 0.5em;
  	max-height: 100%;
  	font-size: 0.8em
}

a .pregunta p{
	color: black;
	font-family: 'Source Sans Pro', sans-serif;
}

a .pregunta .verMas{
	font-size: 0.9em;
	color: #3272a4;
	text-decoration: underline;
	text-align: right;
	padding-right: 0.6em;
}

a .hastag{
	display: flex;
	justify-content: space-between;
	padding-right: 0.6em;
	padding-top: 0.5em;
}

a .hastag p{
	font-size: 0.9em;
	color: #ff5818;
	font-style: italic;
	font-weight: normal;
}








/*:::CALENDARIO:::*/
.calendario img{
	max-width: 85%;
	height: auto;
}

.itinerario p{
	display: block;
	margin-top:0.6em;
}

.itinerario i{
	font-size: 2em;
}

.itinerario ul{
	display: block;
	max-width: 50%;
	color: white;
	list-style-type: circle;
}

.itinerario ul li{
	color: white;
	list-style-type: circle;
	font-size: 0.8em;
}

.itinerario{
	display: flex;
	justify-content: space-between;
	width: 85%;
	margin: auto;
}




/*:::NUEVA PREGUNTA:::*/

.nuevaPregunta{
	width: 80%;
	margin: auto;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
}

.nuevaPregunta span{
	display: block;
	text-align: right;
	color: #ff5818;
	font-size: 0.8em;
	margin: 0.5em 0;
}

.nuevaPregunta input{
	border-radius: 2em;
	padding: 0.3em 1em;
	margin-bottom: 0.5em;
}

#escribir{
	display: block;
	min-height: 8em;
	margin-top: 0.6em;
	width: 100%;
}

.iconos{
	display: flex;
	justify-content: space-between;
}
.checkIcon{
	display: flex;
	flex-direction: column;
	text-align: center;
}

.checkIcon i{
	font-size: 3em;

}

.checkIcon span{
	font-size: 1em;
	color: white;
	margin: 0
}

.escribir{
	min-height: 8em;
}

.palabraClave{
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	margin-top: 0.6em;
}




/*:::PREGUNTA:::*/
#avatarPregunta{
	width: auto;
	height: 3em;
}

.boxForo figure p{
	color: #3272a4;
}

.boxForo .pregunta{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 1em 0;
    padding-right: 0.5em;
  	max-height: 100%;
  	font-size: 0.8em,
  	font-family: 'Source Sans Pro', sans-serif;
}

.boxForo .pregunta .hastag{
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	padding-right: 0.6em;
	padding-top: 0.5em;
}

.boxForo .pregunta .hastag p{
	font-size: 0.9em;
	color: #ff5818;
	font-style: italic;
	font-weight: normal;
}

.btnPreg{
	width: 85%;
	display: block;
	text-align: right;
	font-size: 1em;
	margin-bottom: 0.5em;
}

.boxRespuesta{
	width: 70%;
	display: flex;
	min-height: 8em;
	margin-left: 20%;
	margin-right: 10%;
	background-color: #e5edf9;
	border-radius: 2em;
}

.boxRespuesta figure p{
	color: #3272a4;
}

.respuesta{
	margin: 1em 0;
    padding-right: 0.5em;
  	max-height: 100%;
  	font-size: 0.8em,
  	font-family: 'Source Sans Pro', sans-serif;
}

.boxRespuesta2{
	width: 60%;
	display: flex;
	min-height: 8em;
	margin-left: 30%;
	margin-right: 10%;
	background-color: #e5edf9;
	border-radius: 2em;
}

.boxRespuesta2 figure p{
	color: #3272a4;
}

.foro .responder{
	margin: 0.6em 10% 1.3em ;
	
}

.foro .responder input{
	display: block;
	min-height: 8em;
	border-radius: 2em;
	width: 100%;
	align-self: flex-end;
}

.btnResp{
	margin-left: 10%;
}


/*:::MEDIA QUERIES:::*/

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

header{
	font-size: 1.6em;
}

#avatar{
	min-width: 15em;
	min-height: 15em;
}


#avatarPregunta{
	height: 6em;
}
.btnNav{
    width: 20em;
    padding: 0.5em;
    margin-bottom: 1em;
}

i{
	font-size: 1.3em;
}

#upload{
	top: 1em;
}

.menu{
	right: 8%;
	width: 30%;
}

.buscador{
	height: 4em;
}

.buscador input{
	font-size: 1.3em;
}

#nueva i{
	font-size: 1.3em;
}

.iconosFiltro{
	height: 12em;
	margin-top: 2em;
}

.filtro a p{
	font-size: 1em;
}

.boxForo .pregunta{
	font-size: 1.3em;
}

.boxForo a .pregunta{
	font-size: 1.3em;
}

.boxForo a .pregunta .hastag{
	flex-direction: row;
	justify-content: center
}

.boxForo a .pregunta .hastag p{
	padding: 0.8em;
}

.foro{
	min-width: 85%;
}

.foro .boxForo{
	min-height: 10em;
}

.calendario img{
	max-width: 58%;
	margin-top: 0;
}
.itinerario{
	width: 55%;
}


}

@media screen and (min-width: 54em){
header{
	height: 4em;
	font-size: 2em
}
.buscador{
	height: 6em;
}

.buscador input{
	font-size: 1.3em;
}

#lupa{
	font-size: 1.7em;
}

#nueva{
	font-size: 1.7em;
}

.menu{
	width: 40%;
	height: 40vh;
}

.iconosFiltro{
	height: 19em;
}
.iconosFiltro i{
	font-size: 5em;
}

#avatarPregunta{
	height: 7em;
}

.btnNav{
	font-size: 1.5em;
}

.datos{
	font-size: 1.2em;
}

.menu{
	right: 7%;
	top: 2.6em;
}

figure p{
	font-size: 1.3em;
}

.checkIcon i{
	font-size: 6em;
}

.checkIcon span{
	text-align: center;
	font-size: 1.4em;
}

.nuevaPregunta p{
	font-size: 1.3em;
}

.palabraClave input{
	font-size: 1em;
}

.calendario img{
	max-width: 45%;
}
.itinerario{
	width: 45%;
}
}