:root {
	--base-color: #fee3ce;
	--blue: #9edaf2;
	--amarillo:#ffd727; 	/* fuentes de energía */
	--rojo: #f36e47; 			/* calor */
	--turquesa: #00ada4; 	/* eficiencia energética */
	--text-base:#000000;
}

.base {
	color: var(--base-color);
}
.blue {
	color: var(--azul);
}
.yellow {
	color: var(--amarillo);
}
.red {
	color: var(--rojo);
}
.turquoise {
	color: var(--turquesa);
}

.white {
	color: white;
}

.black {
	color: var(--text-base)
}

.right { text-align: right; }

.right-flex {
	justify-content: flex-end;
}

.center { text-align: center !important; }

.white-bg {
	background: white;
}

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

html, body { height: 100% }

body { 
	font-family: 'Roboto Mono', monospace;
}

body.sugerencias {
	background: var(--base-color);
}

img { 
	max-width: 100%;
	vertical-align: middle;
}

video {
	margin-bottom: 1.6rem;
}

#logos {
	/*text-align: center;*/
	display: flex;
	justify-content: space-between;
	margin: 2rem 0;
}
#logos img {
	max-height: 40px;
	margin: 1rem;
}

a {
	text-decoration: none;
}

a img {
	border: none;
}

img.saber-mas-img {
	margin-bottom: 1.5rem;
}

ul.ul-saber-mas li {
	position: relative;
}

ul.ul-saber-mas li::before {
	content: '';
	width: 6px;
	height:6px;
	border-radius: 3px;
	background-color: black;
	display: inline-block;
	vertical-align: middle;	
	margin-right: 1.4rem;
}

h2.title {
	font-family: 'Bebas Neue', sans-serif;
	display: inline-block;
	margin: 4rem 0 0rem;
	text-align: center;
	letter-spacing: .2em;	
	transition: all .4s ease-in-out;
}

h2.title a {
	color: black;
}

h2.title.respuesta {
	margin: 0rem 0 1.2rem;
}

h2.seccion, p.highlight-respuesta {
	color: #000;
	background: #fff;	
	padding: 8px 8px 2px 12px;
}

h2.seccion, h2.respuesta {
	font-size: 3rem;
}

body.eficiencia h2.saber {
	font-size: 6rem;
	padding-left: 1.6rem;
	color: var(--turquesa);
}

body.calor h2.saber, body.fuentes-de-energia h2.saber {
	font-size: 6rem;
	padding-left: 1.6rem;
	color: var(--rojo);
}

h2.sugerencias-title {
	margin: 4rem 0;	
	color: black;
	display: inline-block;	
	font-family: 'Bebas Neue', sans-serif;
	font-size: 3rem;
	letter-spacing: 3px;
	padding: 1rem 1.2rem .4rem;
}

h2.sugerencias-title.calor {
	background: var(--rojo);
}

h2.sugerencias-title.eficiencia {
	background: var(--turquesa);
}

h2.sugerencias-title.fuentes {
	background: var(--amarillo);
}

h2.big {
	font-size: 3rem;
	display: inline;
	box-decoration-break: clone;
	background: white;
	padding: 2rem;
	line-height: 10rem;
	margin-bottom: 2rem;
}


h2.comprador {
	text-transform: uppercase;
	background: white;
	font-size: 2.4rem;
	display: inline;
	padding: 1rem;
}

h2.lev {
  text-transform: none;
  font-family: 'Roboto Mono';
  font-size: .8rem;
  color: #000;
}

/*  HEADER */

header h3 { font-weight: normal; }

header {
	background: white;
}

header .centered {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

header .menu-content {
	width: 94%;
}

#logo {
  padding: 1rem;
  /*border: 1px solid red;*/
  display: inline-block;
  padding-left: 0;
}


#logo h1 {
  position: relative;
  margin-bottom: -9px
}

#logo h1::after {
  background: url('../imgs/icon-rayo.png');
  background-size: 12px 24px;
  background-repeat: no-repeat;
  width: 12px;
  height: 24px;
  content: '';
  position: absolute;
  top: 10px;
  margin-left: 5px;
  /*right: 8px;*/
}

#instituciones {
  display: inline-block;
  padding-top: 18px;
}

#instituciones img {
  height: 40px;
  margin-left: 16px;
}

/*  //////// HEADER */

h3.subtitle {
	font-size: 1.3rem;
	/*display: inline-block;*/
	display: table;
	padding: 8px 12px;
	margin: 2.5rem auto;
	transition: all .4s ease-in-out;
}

h3.link {
	display: table;
	margin: 4rem auto ;
	font-family: 'Bebas Neue', sans-serif;
}

h3.link a {
	/*margin: 2rem auto;	*/
	color: black;
	font-size: 1.6rem;
	letter-spacing: 3px;
	padding: 1rem;	
	transition: all .2s ease-in-out;
}

h3.link a.eficiencia {
	background: var(--turquesa);
}

h3.link a.calor {
	background: var(--rojo);
}

h3.link a.fuentes {
	background: var(--amarillo);
}

.resultados h3.big {
	font-size: 3rem;
}

.resultados h3 {
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.7rem;
	letter-spacing: 4px;
	margin-bottom: 1rem;
}

.resultados h3 a {
	color: #000;
	transition: all .2s ease-in-out;
	padding: 4px 4px 0px;
}

#controlador h3  {
	border: none;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.7rem;
	letter-spacing: 4px;
	margin-bottom: 1rem;
	text-align: right;
	transition: all .2s ease-in-out;
}

#controlador h3:hover { 
	color: white;
	cursor: pointer;
}

@media(hover: hover) and (pointer: fine) {
	.resultados h3 a:hover, h3.link a:hover {
		color: white;
		background: black;
		cursor: pointer;
	}
}

p, li {
	font-size: 1.3rem;
	line-height: 1.4;
	margin-bottom: 1.7rem;
	transition: all .4s ease-in-out;
}

p.highlight-respuesta {
	color: #000;
	background: #fff;	
	padding: 8px;
	font-weight: bold;
}

.indicaciones p {
	margin-bottom: 0;
}

li {
	list-style: none;
}

header { 
	height: 10vh; 
	min-height: 100px;
	width: 100%;
	background: white;
}

#header-content { 
	background: #fff; 	
	transition: all .4s ease-in-out;
	/*padding-bottom: 10px; */
}

header img {
/*	width: 190px;
	padding: 8px 0 0px;
	transition: all .4s ease-in-out;*/
}

#subnavegacion .centered {
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.intro {
	text-align: center;
}

.wrapper {
	min-height: 90vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: auto;
}

.wrapper.saber-mas {
	background: var(--base-color);
	border-radius: 100vh 100vh 0 0;
	max-width: 1800px;
	margin-top: 20px;
}

.wrapper.saber-mas-inv {
	background: var(--amarillo);
	border-radius: 100vh 100vh 0 0 ;
	max-width: 1800px;
}

.wrapper.saber-mas.sugerencias {
	background: #fff;
}

.centered { 
	position: relative;
	width: 98%;
	max-width: 1100px; 
	margin: auto; 
	padding: 0;
	transition: all .2s ease-in-out;
}

.saber-mas .centered {
	padding: 0 7vw;
}

#subnavegacion .centered {	
	padding-bottom: 1.5rem;
	font-family: 'Bebas Neue', sans-serif;
	font-size: 1.6rem;
}

body.fuentes-de-energia #subnavegacion .centered a {
	color: var(--rojo);
}

body.calor #subnavegacion .centered a {
	color: var(--rojo);
}

body.eficiencia #subnavegacion .centered a {
	color: var(--turquesa);
}

#subnavegacion .centered img {
	width: 35px;
}

:not(.saber-mas) #subnavegacion {
	background: var(--base-color);
	padding: 1.2rem 0 0;
}

.col {
	flex-direction: column;
}

.content {
	display: flex;
}

.content-main {
	display: flex;
	align-items: flex-start;
}

.content-main.bg-base {
	background: var(--base-color);
	margin-bottom: 2rem;
}

.content-main.desc {
	padding: 40px 4% 13px;
}

.indicaciones-fuentes {	
	background: url('../imgs/icon-indicaciones-fuentes.png') no-repeat 17px 27px;
}

.indicaciones-calor {	
	background: url('../imgs/icon-indicaciones-calor.png') no-repeat 17px 27px;
}

.indicaciones-eficiencia {	
	background: url('../imgs/icon-indicaciones-eficiencia.png') no-repeat 17px 27px;
}

.indicaciones {	
	/*background: url('../imgs/icon-indicaciones-fuentes.png') no-repeat 17px 27px;*/
	background-color: #fff;
	background-size: 70px;
	padding: 2.5rem 2rem 2.5rem 7rem;
	margin-bottom: 4rem;
}

.image-container {
	text-align: center;
	margin: 3rem 0;
}

.left {
	width: 50%;
}

.resultados {
	margin: 4rem 0;
}

.highlight {
	background: var(--base-color);
	text-align: left;
	padding: 2.5rem 2.5rem .4rem;
	margin-bottom: 3rem;
}

.highlight.sugerenciasBtn {
	padding-bottom: 2.3rem;
}

.highlight.blue {
	background: var(--blue);
	/*padding: 2.5rem;*/
}

.highlight.dotted {
	/*border: 8px dotted white;*/
}

.big-title {
	margin-bottom: 3rem;
}

div.big-screen {
	min-height: 50vh;
}

.big-margin {
	margin: 4rem 0;
}

.small-margin {
	margin: 1.8rem 0;
}

div.big-padding-bottom {
	padding-bottom: 3rem;
}

a.saber { 
	font-family: 'Bebas Neue', sans-serif; 
	font-size: 24px;
	letter-spacing: 1px;
	margin-top: 12px;
	transition: all .15s ease-in-out;
}

a.saber:hover {
	color: var(--turquesa);
	transform: scale(1.1);
}

.tablas {
	text-align: center;
}

.tablas img {
	/*max-width: 360px;*/
	/*margin-bottom: 3rem;*/
}




/* =======================
	Modal
	========================*/
.modal {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	opacity: 0;
	visibility: hidden;
	background: rgba(0,0,0,.6);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: all .2s ease-in-out;
}

	.modal.open-modal {
		opacity: 1;
		visibility: visible;
	}

	.modal-content, .close-modal {
		opacity: 0;
		transition: opacity .2s;
		z-index: 2;
	}

	.modal-visible, .modal-content,
	.modal-visible, .close-modal {
		opacity: 1;
	}

	.modal-content {
		position: relative;
		width: 90%;
		max-width: 760px;
		overflow: auto;
		padding: 40px;
		text-align: center;
		border: 1px solid white;
	}

	.modal-respuesta {
		padding: 23px 20px 40px;
		background: var(--base-color);
		width: 100%;
	}

.close-modal {
	position: absolute;
	top: 0px;
	right: 0px;
	cursor: pointer;
	height: 56px;
	width: 56px;
	background: none;
	border-radius: 4px;
	border: none;
	text-indent: 100%;
	overflow: hidden;
	color: transparent;
	white-space: nowrap;
	transition: background .2s;
}

.close-modal:hover { cursor: pointer; }

.close-modal::before, .close-modal::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	height: 8px;
	width: 36px;
	background: var(--base-color);
}

.close-modal::before {
	transform: translate(-50%) rotate(45deg);
}

.close-modal::after {
	transform: translate(-50%) rotate(-45deg);
}

/****************************

MEDIA QUERIES

****************************/

@media screen and (max-width: 820px) {
	header {
		/*margin-bottom: 1rem;*/
		min-height: 68px;
	} 

	header img {
		height: 33px;
	}

	#logo {
		padding: 0;
	}

	#logo h1 {
		font-size: 1.1rem;
	}

	#logo h3 {
		font-size: 13px;
	}
	
	#instituciones img {
		height: 14px;
		margin-left: 3px;
	}

	h2.title {
		font-size: 2rem;
		margin: 1rem 0 1rem;
	}

	h2.saber {
		font-size: 3rem;
		padding-left: 1.6rem;
		margin-top: 3rem;
	}

	body.eficiencia h2.saber, body.calor h2.saber, body.fuentes-de-energia h2.saber {
	font-size: 3rem;
}

	h2.sugerencias-title {
		font-size: 2rem;
		margin: 6rem 0 3rem;
		padding: 1rem 1.2rem .4rem;
	}

	h2.etiqueta {
		padding: 3rem 1rem;
	}

	h3.subtitle {
		margin-bottom: 1rem
	}

	.resultados h3 a:hover, h3.link a:hover {
		color: #000;
	}

	p, li, h3.subtitle {
		font-size: 1rem;
	}

	span.saber { 
		font-size: 20px;
		margin-top: 4px;
	}

	.content-main {
		flex-direction: column;
		align-items: center;
	}

	.content-main.desc {
		padding: 20px 4% 13px;
		margin-bottom: 2.03rem;
	}

	.centered {
		padding: 0 2vw;
	}
	
	#subnavegacion .centered {
		padding: 3px 18px 16px;
		font-size: 1.3rem;
	}

	#subnavegacion .centered img {
		width: 25px;
	}

	.left {
		width: 100%;
		padding-bottom: 1.6rem;
	}

	.modal-content {
		width: 100%; 
		padding: 40px 5%;
	}

	.modal-respuesta {
		padding: 28px 23px;
	}

	h2 + br { 
		line-height: .1rem; 
		display: none;
	}
}

@media screen and (max-width: 600px) {
	.highlight {
		padding: 1rem;
	}

	.tablas img {
		width: 100%;

	}

}

@media screen and (max-width: 500px) {
	h2.title {
		font-size: 1.5rem;
		margin: 2rem 0;
	}

	h3.subtitle {
		margin: 0 auto 2rem;
	}

	#logo {
    padding: 1rem;
    padding-left: .4rem;
  }

  #logo h1 {
    font-size: 1.1rem;
    margin-bottom: -4px;
  }

  #logo h1::after {
    top: 0;

  }

  #logo h3 {
    font-size: .7rem;
  }

  #instituciones {
    padding-top: 0px;
    padding-right: .4rem;
  }

  #instituciones img {
    height: 14px;
    margin-left: 3px;
  }
}