/* BUNDLE 

ORDEN: 

1. PRODUCTOS
2. ENCABEZADO
3. MENU
4. HOME
5. PIE DE PAGINA
6. ICONOS-HOME
7. ICONOS

*/
/* =============== PRODUCTOS ============== */
/* =============== PRODUCTOS ============== */
.busqueda form,
.cenefa,
.sublineas .con-imagen{
	text-align: center;
}

* {
	box-sizing: border-box;
}

body,
html {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	background: #f3f3f3;
}

.cenefa,
.sublineas ul {
	position: relative;
}

.sublineas ul.SinDisco {
	list-style-type: none;
}


.sublineas,
footer {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

#contenedorprincipal {
	padding: 2em 0 0;
}

.cenefa h1 {
	text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
	font-size: 1.3em;
	color: white;
	margin-block-start: 0;
    margin-block-end: 0;
	text-shadow: 1px 1px 3px black;
}

.grisadito {
	color: #D8D8D8;
	font-weight:normal;
}

#contenedorprincipal a,
.cenefa h2 {
	text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
	font-size: 1.15em;
}

#contenedorprincipal a {
	transition: .25s color;
	font-size: 1.15em;
}

.cenefa h2:after {
	content: "";
}

#contenedorprincipal a:hover {
	color: #9dcb3b;
}

#contenedorprincipal a:visited {
	color: #648ec1;
}

#contenedorprincipal article {
	margin-bottom: 2em;
	box-shadow: 1px 1px 5px #d3d3d3;
	background: #fff;
}

.cenefa,
.pedircoti {
	box-shadow: 2px 2px 2px #d3d3d3;
}

.cenefa {
	background: #1e79b8;
}

article:nth-child(odd) .cenefa {
	background: #4596cd;
}

.cenefa a {
	color: #fff!important;
}

.cenefa h2 {
	margin: 0;
	color: #fff;
}

.cenefa,
.sublineas {
	padding: .5em;
}

.sublineas {
	background: #fff;
}

.sublineas ul>a[name]:before {
	display: none;
}

.sublineas a[name]:hover {
	color: #449ec1!important;
}

.sublineas img {
	max-width: 100%;
	display: block!important;
	float: none!important;
	margin: auto auto 2em;
}

.sublineas video {
	max-width: 50%;
	float: right;
	margin-left: 1em;
}

.sublineas:after {
	content: " ";
	display: table;
	clear: both;
}

.sublineas .seccion.agrupar {
	display: flex;
	flex-wrap: wrap;
}

.sublineas .seccion.agrupar div {
	flex: 0 0 100%;
	padding: .5em;
}

.sublineas .seccion.agrupar a {
	padding: .5em 0;
	display: inline-block;
}

.sublineas .EspaciadoV li {
	margin-top:.75em;
}

.pedircoti {
	border: none;
	background: #9dcb3b;
	color: #fff!important;
	padding: .5em 1em;
	font-weight: 700;
	margin-top: 1em;
	display: inline-block;
	transition: .25s background-color;
	text-transform: uppercase;
}

.pedircoti:before {
	display: none;
}

@media screen and (min-width:1000px) {
	#contenedorprincipal a{
		font-size: 1.075em;
	}
	#contenedorprincipal {
		padding: 2em;
		background: #f3f3f3;
	}
	#contenedorprincipal article {
		border: 1px solid #d3d3d3;
	}
	.cenefa {
		padding-left: 1.5em;
		text-align: initial;
		box-shadow: none;
	}
	.sublineas {
		padding: 1em;
	}
	.sublineas img {
		display: initial;
		float: right!important;
		margin: initial;
	}
	.sublineas .ALaDer {
		float: right;
		margin-left: 1em;
	}
	.sublineas .ALaIzq {
		float: left!important;
		margin-right: 1em;
	}
	.sublineas .ConBorde {
		border: 1px solid gray;
	}
	.sublineas .TamanoReal {
		width: auto;
		max-width: none;
		float: none !important;
	}
	.sublineas .PYM {
		font-size: .8em;
	}
	.sublineas .PYM:before {
		display: none;
	}
	.sublineas .seccion.agrupar div {
		flex: 1;
		padding: .5em;
	}
	.sublineas .seccion.agrupar a {
		padding: initial;
	}
	.pedircoti {
		padding: 1em;
	}
	.pedircoti:hover {
		background: #8db92f;
	}
}

@media screen and (min-width:516px) and (max-width:999px) {
	#contenedorprincipal {
		padding-top: 0;
	}
	.sublineas .seccion.agrupar div {
		flex: 0 0 50%;
	}
	.sublineas .seccion.agrupar a {
		padding: .15em;
	}
}

img.juntito {
	float: none !important;
	display: inline-block!important;
}

.sublineas:after {
	content: "";
}

.marroncito {color: maroon;
}
.verdecito {
color: #006000;
}

@media print {
	@page {
		size: auto portrait;
	}
	canvas,
	.slides,
	nav,
	.pedircoti {
		display: none;
	}
	article img {
		max-height: 180px;
		width: auto;
	}
}

.basic-grey {
	margin: auto;
	width: 70%;
	font-size: 1.15em;
}

.basic-grey .campo-obligatorio:before {
	content: "*";
	color: red;
}

.basic-grey h1 {
	font-size: 1.25em;
	display: block;
}

.basic-grey h2 {
	border-bottom: 1px;
	border-bottom-color: #C0C0D0;
	border-bottom-style: solid;
	clear: both;
	display: block;
	font-size: 1.2em;
	padding: 1em 0 0.25em 2em;
	width: 90%;
}

.basic-grey label {
	clear: both;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 1em 0;
}

.basic-grey label>span {
	flex: 0 0 100%;
	width: 15%;
	padding-right: 1em;
	font-weight: bold;
	margin-top: 0.5em;
}

.basic-grey input {
	width: 100%;
}

.basic-grey input,
.basic-grey textarea {
	border: 1px solid lightgray;
	flex: 0 0 100%;
	font-size: 1.2em;
	padding: .5em .5em;
	box-shadow: 1px 1px 3px rgba(70, 70, 70, .3);
}

.basic-grey select {
	border: 1px solid #DADADA;
	height: 2em;
	margin: 2px 0.5em 0.5em 0.5em;
	padding: 0.2em 1em 0.2em 1em;
	line-height: 1em;
	box-shadow: inset 0px 1px 4px #ECECEC;
	background: #FFF url('/img/down-arrow.png') no-repeat right;
	background: #FFF url('/img/down-arrow.png') no-repeat right;
	text-indent: 0.01px;
	text-overflow: '';
}

.basic-grey textarea {
	padding: 1em;
	height: 7em;
	font: inherit;
	resize: none;
}

.basic-grey img {
	float: right;
	margin-left: 1em;
	max-width: 25%;
	height: auto;
}

.basic-grey .enviar {
	padding: 1em;
	background: #449ec1;
	cursor: pointer;
	font-weight: bold;
	font-size: 1em;
	color: white;
	border: none;
	box-shadow: 1px 1px 3px rgba(70, 70, 70, .3);
	text-transform: uppercase;
	transition: .25s background-color;
}

.basic-grey .enviar:hover {
	background: #71cbef;
}

@media screen and (min-width:700px) {
	.basic-grey label>span {
		flex: 1;
	}
	.basic-grey input,
	.basic-grey textarea {
		flex: 4; 
	}
}/* =============== ENCABEZADO ============== */
/* =============== ENCABEZADO ============== */
header {
    display: flex;
    flex-direction: column;
}

.logo-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 1em;
}

.kenburns-panel {
    display: none;
}

.isotipo {
    width: 6em;
}

.logotipo {
    width: 80%;
    max-width: 21em;
}

.info-panel {
    background: #1A478D;
    color: white;
    padding: 1em;
    text-align: center;
    margin: .75em .25em;
    font-weight: 500;
}

@media screen and (min-width:768px) {
    .logo-panel {
        flex-direction: row;
        justify-content: center;
        padding: 2em 0;
    }
    .isotipo {
        margin-right: 1.5em;
    }
}

@media screen and (min-width:1011px) {
    .info-panel {
        display: none;
    }
}

@media screen and (min-width:1024px) {
    header {
        flex-direction: row;
        justify-content: space-around;
    }
    .logo-panel {
        flex-grow: 1;
        padding: 1em;
    }
    .kenburns-panel {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-grow: 0;
        flex-basis: 50%;
        padding: 1em;
    }
    .kenburns-panel a {
        width: 100%;
        height: 100%;
        min-height: 10em;
    }
    #kenburns {
        height: 100%;
    }
    .slides {
        width: 100%;
        background: white;
        max-height: 10em;
        position: relative;
        overflow: hidden;
        border: 1px solid lightgray;
        box-shadow: 2px 2px 2px lightgray;
    }
    .slides .text {
        top: 0;
        position: absolute;
        left: 0;
        padding: .5em .75em;
        text-align: left;
        z-index: 2;
        font: bold 1.5em Roboto, Arial, Verdana;
        color: #fff;
        text-shadow: 2px 2px rgba(0, 0, 0, .8);
        width: 100%;
        height: 100%;
    }
    .slides .text:after {
        position: absolute;
        bottom: 0;
        padding: .5em .75em;
        right: 0;
        content: attr(data-secondary);
    }
    .slides img {
        width: 100%;
        opacity: 0;
        transform: scale(1.5);
        transition-property: opacity, transform;
        transition-duration: 3s, 10s;
        transform-origin: bottom left;
    }
    .slides img:nth-child(2n+1) {
        transform-origin: top right;
    }
    .slides img:nth-child(3n+1) {
        transform-origin: top left;
    }
    .slides img:nth-child(4n+1) {
        transform-origin: bottom right;
    }
    .slides img.current {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 1;
        z-index: 1;
        transform: scale(1);
    }
    .slides img.current.going-away {
        z-index: 0;
    }
    .slides img.current:first-child+img~img {
        z-index: -1;
    }
}

@media screen and (min-width:2560px) {
    header {
        padding: 3em;
    }
    .logotipo {
        max-width: 40em;
    }
    .isotipo {
        width: 12em;
    }
    .kenburns-panel .slides {
        max-height: 20em;
    }
    .kenburns-panel .slides .text {
        font-size: 3em;
    }
}


/* Animations */

.st0 {
    fill: #4596cd;
}

.st1 {
    fill: #3c92cb;
}

.st2 {
    fill: #1e79b8;
}

.st3 {
    fill: #378dc6;
}

.st4 {
    fill: #1a478d;
}

.st5 {
    fill: #3d8fc9;
}

.st6 {
    fill: #3891c9;
}

.st7 {
    fill: #3e90ca;
}

.st8 {
    fill: #18488b;
}

.st9 {
    fill: #0e75b7;
}

.st10 {
    fill: #197bb9;
}

.st11 {
    fill: #5ebb47;
}

.st12 {
    fill: #bed730;
}

.st13 {
    fill: #97c93d;
}

.st14 {
    fill: #9dcb3b;
}

.st15 {
    fill: #9bcb3c;
}

.st16 {
    fill: #0f9c49;
}

.st17 {
    fill: #089a49;
}

.st18 {
    fill: #139f49;
}

.st19 {
    fill: #0d9c49;
}/* =============== MENU ============== */
/* =============== MENU ============== */
/* PHONE & TABLET (up to 1010px)*/

.menu-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    background: #9DCB3B;
    border: none;
    border-radius: 50%;
    width: 3rem;
    font-size: 1.5rem;
    color: white;
    height: 3rem;
    cursor: pointer;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    animation: call-for-action .5s;
    animation-delay: .5s;
    box-shadow:0 2px 2px rgba(128, 162, 27, 0.52);
    z-index:9;
}

.menu-btn.with-menu-open {
    right: 16.5rem;
}

nav {
    width: 16rem;
    height: 100vh;
    position: fixed;
    top:0;
    z-index:3;
    right: 0;
    background: #9DCB3B;
    overflow: auto;
    transform: translateX(100%);
    user-select: none;
}

nav.opened {
    transform: translateX(0);
    box-shadow:-2px 0 1px rgba(150, 150, 150, 0.2);    
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 1.5rem;
}

nav .items {
    /* 1st lvl */
    display: flex;
    flex-direction: column;
}

nav .subitems {
    /* 2nd lvl */
    display: none;
    background: #92C12C;
}

nav .elements {
    /* 3rd lvl */
    display: none;
    background: #9ACB30;
}

nav ul li.opened>ul {
    display: block;
}

nav ul li a {
    color: white;
    text-decoration: none;
    display: block;
    position: relative;
    padding: .75em 1em;
    -webkit-tap-highlight-color: transparent;
}

nav ul li.has-subitems>a:before {
    position: absolute;
    content: "\ m";
    font-family: iconos,iconos-home;
    top: 50%;
    transform: translate3d(0, -50%, 0) rotate(0);
    right: 1em;
    transition: transform .25s;
    transform-origin: 50%;
}

nav ul li.has-subitems.opened>a:before {
    content: "\ t";
}

nav .home {
    order: -2;
    text-align: center;
}

nav .home i {
    font-size:1.5em;
    line-height: 1.75em;
}

nav .search {
    display: flex;
    align-items: center;
    padding: 0 .25em 0 .75em;
    order: -1;
}

nav .search button {
    order: 1;
    background:none;
    border:none;
    color:inherit;
    color:white;
    font-size:1.1em;
    display: inline-block;
    vertical-align: middle;
}

nav .search button {
    transition: transform .25s;
}

nav .search input {
    flex-grow: 1;
    width: 80%;
    outline: 0;
    border: none;
    box-shadow: 2px 2px 1px rgba(150, 150, 150, .2);
    padding: .5em .5em;
    font: .75em Roboto,Arial,Verdana;
    box-sizing: border-box;
}


/* MOBILE ANIMATIONS */

.menu-btn.with-menu-open {
    animation: roll-in .35s;
}

.menu-btn.with-menu-closed {
    animation: roll-out .35s;
}

@keyframes roll-in {
    0% {
        transform: rotate(0);
        right: 1rem;
    }
    100% {
        transform: rotate(-360deg);
        right: 16.5rem;
    }
}

@keyframes roll-out {
    0% {
        transform: rotate(0);
        right: 16.5rem;
    }
    100% {
        transform: rotate(360deg);
        right: 1rem;
    }
}

@keyframes call-for-action {
    0% {
        transform: rotate(0);
    }
    20% {
        transform: rotate(180deg);
    }
    40% {
        transform: rotate(0);
    }
    80% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

nav.opened {
    animation: slide-in .35s;
}

nav.closed {
    animation: slide-out .35s;
}

@keyframes slide-in {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(0)
    }
}

@keyframes slide-out {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}

nav .items>li.opened>.subitems,
nav .subitems>li.opened>.elements {
    animation: grow-in .25s;
}

@keyframes grow-in {
    0% {
        transform: scale(.5);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes grow-out {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
        height: 0;
    }
}

nav ul li.has-subitems.opened>a:before {
    transform: translateY(-50%) rotate(180deg);
}

nav .search input:focus+button {
    transform: rotate(90deg);
}

nav .search-box {
    display: none;
}


/* END OF - MOBILE ANIMATIONS */


/* DESKTOP (from 1011px) */

@media screen and (min-width:1011px) {
    .menu-btn {
        display: none;
    }
    nav {
        width: 100%;
        height: 2.5em;
        position: relative;
        top:auto;
        right:auto;
        transform: none;
        overflow: visible;
        margin-bottom:.25rem;
        box-shadow: 0 1px 2px rgba(70, 70, 70, .5);
    }
    nav li {
        cursor: pointer;
    }
    nav .items {
        /* 1st lvl */
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        height: 100%;
        font-size: 1.1em;
    }
    nav .items>li {
        flex-basis: auto;
        flex-grow: 1;
        position: relative;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition:background-color .5s;
    }
    nav .items>li:hover {
        background:#88b132;
    }
    nav .items>li.has-subitems:hover>.subitems {
        display: flex;
    }
    nav .items>li.has-subitems:hover:before {
        content: "";
        width: 100%;
        position: absolute;
        top: 100%;
        height: 10%;
    }
    nav .items>li.has-subitems>a:before {
        display: none;
    }
    nav .items>li>a {
        padding: 0;
        display: block;
        width: 100%;
        text-align: center;
        height: 100%;
        line-height: 2.5em;
    }
    nav .subitems {
        /* 2nd lvl */
        max-width: 35em;
        z-index: 2;
        position: absolute;
        top: 95%;
        width: 65vw;
        left: -20%;
        padding: .25em 1em;
        flex-wrap: wrap;
		border-width:1px 0 0 0;
		border-color:white;
		border-style:solid
        box-shadow: 4px 4px 4px rgba(0, 0, 0, .2);
    }
    nav .items>li.open-left>.subitems {
        left: auto;
        right: 0;
    }
    nav .subitems>li {
        flex: 0 0 25%;
        padding: .5em .25em;
        display: flex;
        align-items: center;
        word-break: auto-phrase;
        flex-wrap: wrap;
        box-sizing: border-box;
    }
    nav ul li>ul>li.has-subitems a:before {
        left: auto;
        right: 3%;
    }
    nav .subitems>li>a {
        padding: 0 1.5em 0 0;
        font-size: .7em;
        width: 100%;
    }
    nav .subitems>li>a:hover {
        text-decoration: underline;
    }
    nav .subitems>li.opened>.elements {
        /*Third level*/
        position: absolute;
        top: 0;
        height: 100%;
        right: 0;
        transform: translateX(99%);
        max-width: 8em;
        box-shadow: 1px 2px 2px rgba(70, 70, 70, .5);
    }
    nav .subitems>li.open-left.opened>.elements {
        right: auto;
        left: 0;
        transform: translateX(-99%);
        box-shadow: -1px 2px 2px rgba(70, 70, 70, .5);
    }
    nav .elements>li a {
        font-size: .7em;
        transition: .25s;
    }
    nav .elements>li a:hover {
        background: #ABDF38;
    }
    nav .divider {
        width: 100%;
        padding: .25 .25em;
        background: rgba(255, 255, 255, .5);
        box-shadow: 0 1px 1px rgba(150, 150, 150, .2);
        height: 1px;
    }
    nav ul li.search {
        display:none;
    }
    nav .search-box {
        display:flex;
        z-index:1;
        position: absolute;
        top: 2.5em;
        background: #9DCB3B;
        right: 5em;
        align-items: center;
        justify-content: space-around;
        width: 20em;
        height: 1.75em;
        padding: 0 .5rem;
        box-shadow: 4px 4px 2px -1px rgba(0, 0, 0, .2);
    }
    nav .search-box:before {
        position: absolute;
        right: 100%;
        content: "";
        width: 0;
        height: 0;
        border-top: 1.75em solid #9DCB3B;
        border-left: 1.75em solid transparent;
    }
    nav .search-box:after {
        top: 0;
        position: absolute;
        left: 100%;
        content: "";
        width: 0;
        height: 0;
        border-top: 1.75em solid #9DCB3B;
        border-right: 1.75em solid transparent;
    }
    nav .search-box form {
        display: flex;
        width:100%;        
    }
    nav .search-box button {
        flex: 0 0 7%;
        text-align: right;
        color: white;
        font-size: 1em;
        background:none;
        border:0;
        margin-bottom:.25em;      
        cursor:pointer;  
    }
    nav .search-box input {
        flex-grow: 1;
        outline: 0;
        padding: .25em .5em;
        margin-right: .5em;
        margin-bottom:.25em;
        font-size: 1rem;
        border: none;
        box-shadow: 1px 1px 1px rgba(150, 150, 150, .2);
    }
    /* DESKTOP ANIMATIONS  */
    nav .items>li.has-subitems:hover>.subitems {
        animation: fade-in .35s;
    }
    @keyframes fade-in {
        0% {
            opacity: .1;
            transform: translateY(.25em);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    nav .subitems>li.opened>.elements {
        animation: appear .25s;
    }
    @keyframes appear {
        0% {
            opacity: .1;
        }
        100% {
            opacity: 1;
        }
    }
    nav .search-box,
    nav .search-box:before,
    nav .search-box:after {
        animation: appear .25s;
    }
    .rotate-out {
        animation: rotate-out-360 .25s;
    }
    .rotate-in {
        animation: rotate-in-360 .25s;
    }
    @keyframes rotate-in-360 {
        0% {
            transform: rotate(0) scale(0);
            opacity: 0;
        }
        100% {
            transform: rotate(360deg) scale(1);
            opacity: 1;
        }
    }
    @keyframes rotate-out-360 {
        0% {
            transform: rotate(0) scale(1);
            opacity: 1;
        }
        100% {
            transform: rotate(360deg) scale(0);
            opacity: .5;
        }
    }
    .search-box button:hover {
        animation: vibrate .25s;
    }
    @keyframes vibrate {
        0%,
        50%,
        100% {
            transform: rotate(0);
        }
        25%,
        75% {
            transform: rotate(15deg);
        }
    }
    nav .search-box a i {
        animation: search-call-for-action .5s;
    }
    @keyframes search-call-for-action {
        0% {
            transform: scale(0);
        }
        70% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
    /* END OF - DESKTOP ANIMATIONS */
}

@media screen and (min-width:2560px) {
    nav {
        font-size:2em;
    }
    nav .subitems {
        font-size:1.25em;
    }
    nav .elements {
        font-size:1em;
    }
}/* =============== HOME ============== */
/* =============== HOME ============== */
body {
    margin: 0;
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
    background: #f5f5f5;
}

* {
    box-sizing: border-box;
}

.tile-layout {
    display: flex;
    flex-direction: column;
    padding: 0em;
    margin-bottom: .25rem;
}

.tile-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tile-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #2D7FBB;
    color: white;
    cursor: pointer;
    transition:background-color .25s;
    margin: .25em;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}

.tile.C,
.tile.H {
    background: #184797;
}

.tile.B,
.tile.E,
.tile.G {
    background: #549ACB;
}

.tile.I {
    background: #A9D624;
}

.tile a {
    text-decoration: none;
    color: inherit;
}

.tile .icons {
    padding-bottom: 1em;
    display: flex;
    justify-content: space-around;
    color: #2D7FBB;
}

.tile .icons i {
    width: 2em;
    font-size: 1.5em;
    height: 2em;
    background: white;
    text-align: center;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile .big-icon {
    margin: auto;
    text-align: center;
    flex-basis: 35%;
    font-size: 5em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 .75rem 0;
}

.tile .big-icon i {
    display: flex;    
}

.tile .big-icon+.info h1,
.tile .big-icon.plus+.info h1,
.tile .big-icon.plus+h1 {
    margin-top: .25em;
}

.tile .info {
    padding: 0 1em 1em 1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.tile h1 {
    font-size: 1.75em;
    margin: .75em 0 .5em 0;
    text-align: center;
    text-shadow:1px 1px 1px rgba(0,0,0,.2);
}

.tile .info ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tile .info .and-more {
    margin-top:1em;
    font-size:.85em;
    font-style: italic;
}

.tile .image {
    background: url(/img/BotonAudiovisuales.jpg);
    background-size: cover;
    min-height: 8em;
}

.tile.B .image {
    background-image: url(/img/EdTecnica1recortado.jpg);
}

.tile.C .image {
    background-image: url(/img/BotonCsMedicas.jpg);
}

.tile.D .image {
    background-image: url(/img/BotonCsNaturales.jpg);
}

.tile.E .image {
    background-image: url(/img/BotonMobiliario.jpg);
}

@media screen and (min-width:426px){
    .tile .image {
        min-height: 12em;
    }
}

@media screen and (min-width:550px){
    .tile .image {
        min-height: 15em;
    }
}

@media screen and (min-width:768px) {
    
    .tile-group,
    .tile-pane {
        flex-direction: row;
    }
    .tile-pane.A,
    .tile-pane.D {
        flex-direction: column;
    }
    .tile {
        margin: .2em;
        font-size: 1rem;
    }
    .tile.A .icons {
        display: none;
    }
    .tile.F,
    .tile.I {
        justify-content: center;
    }
    .tile .big-icon {
        flex-basis: 1.5em;
        margin: .25em auto;
    }
    .tile.F .big-icon,
    .tile.I .big-icon {
        margin-bottom: 0;
    }
    .tile .image {
        min-height:8em;
    }
    .tile .info {
        flex-grow: 1;
        flex-shrink: 0;
    }
    .tile.C .info,
    .tile.D .info,
    .tile.E .info,
    .tile.H .info {
        justify-content: flex-start;
    }
    .tile h1 {
        font-size: 1.35em;
    }
    .tile-pane.C {
        flex: 0 0 25%;
    }
    .tile.two-thirds {
        flex: 2 0 .4em;
    }
}

ul.espaciadov li {padding: 1em}

@media screen and (min-width:1024px) {
    .tile-layout {
        padding: .5em;
    }
    .tile {
        font-size: 1.25rem;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, .5);        
    }
    .tile.A,
    .tile.B,
    .tile.G,
    .tile.H {
        flex-direction: row;
    }
    .tile .image {
        min-width: 10em;
        position: relative;
    }
    .tile.A .image {
        display: none;
    }
    .tile.A .icons {
        display: flex;
        flex-direction: column;
        padding: 0 0 0 1em;
        order: -1;
        transition: color .25s;
    }
    .tile.A:hover .icons {
        color: #2f92d8;
    }
    .tile.B .image {
        display: none;
    }
    .tile.v-flex .info {
        padding-bottom:2em;
    }
    .tile.G .info,
    .tile.H .info {
        justify-content: center;
        padding-left: 0;
    }
    .tile .big-icon {
        font-size: 5em;
        transition:transform .5s;
        text-shadow:1px 1px 2px rgba(0,0,0,.4);
    }
    .tile .big-icon.plus {
        font-size: 6em;
    }
    .tile.G .big-icon,
    .tile.H .big-icon {
        flex-basis: 40%;
    }
    /* Animations */
    .tile:hover {
        background: #2f92d8;
    }
    .tile.C:hover,
    .tile.H:hover {
        background: #215abd;
    }
    .tile.B:hover,
    .tile.E:hover,
    .tile.G:hover {
        background: #43a3e6;
    }
    .tile.I:hover {
        background: #b6ea1c;
    }
    .tile:hover>.image:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        animation: flash 2s;
    }
    @keyframes flash {
        0% {
            background: white;
            opacity: .15;
        }
        100% {
            background: transparent;
            opacity: 0;
        }
    }
    .tile ul a {
        transition: color .25s;
    }
    .tile ul a:hover {
        color: #9dcb3b;
    }
    .tile:hover>.big-icon {
        transform:scale(1.15);
    }
    .tile .info .and-more {
        transition:transform .5s;
    }
    .tile:hover .info .and-more {
        transform:scale(1.1);
    }
}

@media screen and (min-width:1175px) {
    .tile .image {
        min-width: 10em;
        min-height: 10em;
    }
    .tile.A .image {
        order: 1;
    }
    .tile.E .image {
        order: 1;
    }
}

@media screen and (min-width:1280px) {
    .tile.A .image,
    .tile.B .image {
        display: inline-block;
    }
}

@media screen and (min-width:1440px) {
    .tile {
        font-size: 1.25rem;
    }
    .tile h1 {
        font-size: 1.5em;
    }
    .tile .image {
        min-width: 12em;
        min-height: 12em;
    }
}

@media screen and (min-width:2560px) {
    .tile {
        font-size: 2.25rem;
    }
    .tile h1 {
        font-size: 1.5em;
    }
    .tile .icons i {
        font-size: 2em;
    }
    .tile .big-icon {
        font-size: 6em;
    }
}/* =============== PIE DE PAGINA ============== */
/* =============== PIE DE PAGINA ============== */
footer {
    background: #1a222f ;
    padding: 4em 1em;
    color: white;
}

footer .fast-contact {
    text-align: center;
}

footer h1,
footer h2 {
    margin: 0 auto 1.5em auto;
    text-align: center;
}

footer h1 {
    background: #7da529;
    text-decoration: none;
    transition: background-color .25s;
    font-size:1.15em;
    font-weight: normal;
    width:95%;
    max-width:20em; 
    box-sizing: border-box;
    display: inline-block;
    box-shadow:2px 2px 2px rgba(70,70,70,.7);
}

footer h1 a {
    display: block;
    height:100%;
    padding:.75em 1em;
}

footer h1 a i {
    margin-right:.5em;
    vertical-align: middle;
    display: inline-block;
}

footer h1:hover {
    background: white;
    color: #7da529;
}

footer h2 {
    font-size: 1.25em;
    font-weight: normal;
    margin-bottom:2em;    
}

footer h2 i {
    margin-right: .5em;
    display: inline-block;
    vertical-align: middle;    
}

footer h2:hover  i {
    animation:vibrate .15s 3;
}

@keyframes vibrate {
    0%,
    50%,
    100%{
        transform:translate3d(-1px,-1px,0);
    }
    25%,
    75%{
        transform:translate3d(1px,1px,0);
    }
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer .gmaps {
    font-weight:bold;
    color:#2D7FBB;
    transition:color .25s;
}

footer .gmaps:hover {
    color:#4fabef;
}

footer .additional-info {
    text-align: center;
    max-width:40em;
    margin:auto;
    margin-bottom:3em;
}

footer .bold {
    font-weight: bold;
}

footer .social-media {
    display:flex;
    justify-content: space-around;
    max-width:12em;
    margin:auto;
}

footer .social-media a {
    display: block;
    background: white;
    width: 2.25em;
    height: 2.25em;
    position: relative;
    cursor: pointer;
}

footer .social-media a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: bottom left;
    background: cadetblue;
    transition: transform .25s;
}

footer .social-media a:after {
    font: 1em iconos,iconos-home;
    content: "\ n";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    color: white;
}

footer .social-media a:hover:before {
    transform: rotate(-7deg) ;
}

footer .social-media a.facebook:before {
    background:#3B5998;
}

footer .social-media a.facebook:hover:before {
    background:#4d6fb7;
}

footer .social-media a.youtube:before {
    background:#E62117;  
}

footer .social-media a.youtube:hover:before {
    background:#f74137;
}

footer .social-media a.youtube:after {
    content:"\ o";
}

footer .social-media a.googleplus:before {
    background:#DA4835;
}

footer .social-media a.googleplus:hover:before {
    background:#e85a47;
}

footer .social-media a.googleplus:after {
    content:"\ p";
}

@media screen and (min-width:768px){
    footer h1,
    footer h2 {
        font-size:1.5em;
    }
}

@media screen and (min-width:2560px){
    footer {
        font-size:2em;
    }
}/* =============== ICONOS-HOME ============== */
/* =============== ICONOS-HOME ============== */
@charset "UTF-8";

@font-face {
  font-family: "iconos-home";
  src:url("/fonts/iconos-home.eot");
  src:url("/fonts/iconos-home.eot?#iefix") format("embedded-opentype"),
    url("/fonts/iconos-home.woff") format("woff"),
    url("/fonts/iconos-home.ttf") format("truetype"),
    url("/fonts/iconos-home.svg#iconos-home") format("svg");
  font-weight: normal;
  font-style: normal;

}

[data-icon]:before {
  font-family: "iconos-home" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-family: "iconos-home" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-home:before {
  content: "\61";
}
.fa-search:before {
  content: "\62";
}
.fa-video-camera:before {
  content: "\63";
}
.fa-headphones:before {
  content: "\64";
}
.fa-desktop:before {
  content: "\65";
}
.fa-user-md:before {
  content: "\66";
}
.fa-diamond:before {
  content: "\67";
}
.fa-cog:before {
  content: "\68";
}
.fa-flask:before {
  content: "\69";
}
.fa-adjust:before {
  content: "\6a";
}
.fa-user-circle-o:before {
  content: "\6b";
}
.fa-bars:before {
  content: "\6c";
}
.fa-plus-square:before {
  content: "\6d";
}
.fa-facebook:before {
  content: "\6e";
}
.fa-youtube-play:before {
  content: "\6f";
}
.fa-google-plus:before {
  content: "\70";
}
.fa-envelope:before {
  content: "\71";
}
.fa-fax:before {
  content: "\72";
}
.fa-map-marker:before {
  content: "\73";
}
.fa-minus-square:before {
  content: "\74";
}
/* =============== ICONOS ============== */
/* =============== ICONOS ============== */
@charset "UTF-8";

@font-face {
  font-family: "iconos";
  src:url("/fonts/iconos.eot");
  src:url("/fonts/iconos.eot?#iefix") format("embedded-opentype"),
    url("/fonts/iconos.woff") format("woff"),
    url("/fonts/iconos.ttf") format("truetype"),
    url("/fonts/iconos.svg#iconos") format("svg");
  font-weight: normal;
  font-style: normal;

}

[data-icon]:before {
  font-family: "iconos" !important;
  content: attr(data-icon);
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: "iconos" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-youtube-alt:before {
  content: "\62";
}
.icon-facebook-square:before {
  content: "\64";
}
.icon-map-marker:before {
  content: "\65";
}
.icon-print:before {
  content: "\66";
}
.icon-google-plus:before {
  content: "\67";
}
.icon-email-mail-streamline:before {
  content: "\68";
}
.icon-search:before {
  content: "\61";
}