body {
	font-family: 'Montserrat', sans-serif;
	color:#2d2d2d;
}

header {
	padding:1em;
	min-height:80px;
	background-color:#fbf9f4;
}

.title-bar {
	background-color:transparent;
	justify-content: end;
}

.logo {
	position:absolute;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Teko", sans-serif;
	font-weight:900;
}

h1 {
	text-transform: uppercase;
}

h2.subtitle {
	font-weight: 600;
	color:#2d2d2d;
}

hr {
	margin: 4em 0;
 	border: solid 1px #fff;
}

#ods hr {
	border: solid 1px #ccc;
}

blockquote {
	font-family: "Teko", sans-serif;
	font-weight:900;
	color:#456579;
	font-size: 1.5em;
}

.rounded-corners img {
	border-radius:8px;
}

.text-small {
	font-size:12px;
}

/* Navigation */

ul.menu {
  	border-radius: 8px;
	font-family: "Teko", sans-serif;
	background: rgba(255, 255, 255, 0.7);
}

ul.menu li {
	font-size:1.25em;
}

.menu li a {
	color: #2d2d2d;
}

.zoom, .translate-down {
	transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	margin-top: 2em;
}

.translate-down:hover {
	transform: translate(0, 10px);
}

.zoom:hover {
	transform: scale(0.95);
}

.grid-container ul li {
  margin-bottom: 16px;
}

.rotate {
  transform: rotate(-90deg);
  /* Safari */
  -webkit-transform: rotate(-90deg);
  /* Firefox */
  -moz-transform: rotate(-90deg);
  /* IE */
  -ms-transform: rotate(-90deg);
  /* Opera */
  -o-transform: rotate(-90deg);
  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* Portadillas */

.portadilla h1 {
	color:#2d2d2d;
}

/* Portada/portadillas */

#portada {
	background-color: #fbf9f4;
	height: 100vh;
	padding: 6em 0;
	min-height: 800px;
}

#portadilla-porque {
	background-image: url(../img/bg_porque.jpg);
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#portadilla-porque h1, #portadilla-porque h2, #portadilla-quien h1, #portadilla-quien h2, #portadilla-que h1, #portadilla-que h2, #portadilla-como h1, #portadilla-como h2, #portadilla-donde h1, #portadilla-donde h2, #portadilla-cuanto h1, #portadilla-cuanto h2 {
	text-align:center;
}

#portadilla-quien {
	/*background-image: url(../img/bg_quien.jpg);*/
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#portadilla-que {
	/*background-image: url(../img/bg_que.jpg);*/
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#portadilla-como {
	/*background-image: url(../img/bg_como.jpg);*/
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#etica {
	background-image: url(../img/bg-etica.png);
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#portadilla-donde {
	background-image: url(../img/bg-donde.jpg);
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#portadilla-cuanto {
	/*background-image: url(../img/bg_cuanto.jpg);*/
	height: 100vh;
    padding: 6em 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Video */

#portadilla-como, #portadilla-quien, #portadilla-que, #portadilla-cuanto {
  position: relative;
  width: 100%;
  height: 100vh; /* altura de pantalla */
  overflow: hidden;
}

#portadilla-como .background-video, #portadilla-quien .background-video, #portadilla-que .background-video, #portadilla-cuanto .background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* detrás del contenido */
}

#portadilla-como .grid-container, #portadilla-quien .grid-container, #portadilla-que .grid-container, #portadilla-cuanto .grid-container {
  position: relative; /* asegura que el contenido quede por encima */
  z-index: 1;
}


/* Secciones */

#presentacion, #ods, #razon-ser, #que-hacemos, #como-hacemos, #comunicacion, #donde, #cuanto, #etica {
	padding-top: 4em;
	padding-bottom: 4em;
}

#ods h3 {
	margin-top: 1em;
}

#ods img {
	border-radius:8px;
}

#razon-ser h3, #razon-ser h4 {
	margin-bottom: 1em;
}

.ods-element {
	margin-bottom:1em;
}

#que-hacemos h3, #que-hacemos h4 {
	margin-bottom: 1em;
}

#como-hacemos h3, #como-hacemos h4, #como-hacemos h5 {
	margin-bottom: 1em;
}

#comunicacion {
	background-color:#dae0e4;
}

#anteriores h3 {
	color:#8bb1ba;
}


.scroll-horizontal {
	margin-bottom:1em;
}

/* Datos */

.dato-texto {
	color:#456579;
	font-weight:400;
	font-size:18px;
	line-height: 1.2;
}

span.dato {
	color:#456579;
	font-weight:800;
	font-size:2em;
}

/* Tablas */

table {
	margin-bottom: 3rem;
}

thead, tbody, tfoot {
  background-color: transparent;
  border: none;
}

.tg th {
    background-color: #456579;
    border-color: #fff;
    border-style: solid;
    border-width: 1px;
    font-size: 14px;
    font-weight: 700;
    overflow: hidden;
    padding: 5px;
    word-break: normal;
}

.tg .tg-0pky {
    border-color: transparent;
    text-align: center;
    vertical-align: top;
    color: #fff;
}

.tg td {
    border-color: #ccc;
    border-style: solid;
    border-width: 1px;
    overflow: hidden;
    padding: 5px;
    word-break: normal;
    border-right: none;
    border-left: none;
	font-size:14px;
}

.tg .tg-0lax {
    /* text-align: left; */
    vertical-align: top;
}

.social-media li {
	display:inline-block;
	list-style-type: none;
}

#top {
  bottom: 10px;
  right: 19px;
  position: fixed;
  z-index: 100;
  background-color: #fff;
}

/* Botones */

.botones ul {
	margin-left:0;
}

.botones ul li {
	display:inline-block;
	list-style: none;
}

.botones a {
    color: #456579;
    padding: 8px 16px;
    border: solid 1px;
}

.botones a:hover {
	color:#fff;
	background-color:#456579;
}

.menu-icon::after {
	background: #4d4d4d;
	box-shadow: 0 7px 0 #4d4d4d, 0 14px 0 #4d4d4d;
}

/* Small only */
@media screen and (max-width: 39.9375em) {

	.menu {
		display:block;
	}

	.scroll-horizontal {
    	width: 100%;
    	overflow-x: scroll;
	}

	.scroll-horizontal img {
    	max-width: inherit;
	}

	#portadilla-cuanto h1 {
		text-align:center;
	}

}

/* Medium and up */
@media screen and (min-width: 40em) {

	.ods-element {
		margin-bottom:4em;
	}
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {

}

/* Large and up */
@media screen and (min-width: 64em) {

	.portadilla .cell {
		margin:auto 0;
	}

	.two-columns-text {
		column-count: 2;
		margin-bottom: 2em;
	}

}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}