/* HOJA DE ESTILOS UDN 
 RESET DE CSS -------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

*{
    box-sizing: border-box;
}


/* ESTILOS GENERALES ------------------------- */


p{
    color: dimgray;
    font-size: 15px;
    font-family: 'roboto', sans-serif;
    font-weight: 100;
    line-height: 1.5;
}

body{
    align-content: left;
    background: #fcfcfc;
}

h1{
    font-size: 70px; 
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    color: rgba(0, 86, 176, .9);
    letter-spacing: 1.1pt; 
    line-height: 1em;
}

h2{
    font-size: 35px;
    font-family: 'Heebo', sans-serif;
    font-weight: 500;
    color: rgba(0, 149, 235, 1);
    letter-spacing: 0pt;
    line-height: 1.4;
}

h3{
    font-size: 25px;
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2pt;
    line-height: 1.3em;
    text-align: left;
    padding-top: 20px;
}

h6{
    font-size: 13px;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    color: white;
}

img{
    max-width: 100%;
}

a{
    color: dimgray;
}
a:hover{
    color: rgba(0, 149, 235, 1);
    text-decoration: none;
    transition: 1s red;
}
a:active{
    color: dodgerblue;
    text-decoration: none;
}

/*
a:visited{
    color: red;
}
*/


/* ESTILOS ESPECÍFICOS ----------------------- */


/* 1.- CABEZA CON REDES + CONTACTO */

.cabeza{
	height: 50px;
	background: #1488CC;  /* Respaldo de navegadores viejos */
    background: -webkit-linear-gradient(to right, #2B32B2, #1488CC);  
    background: linear-gradient(to right, #2B32B2, #1488CC);
    overflow: hidden;
    padding: 5px;
    }

.contenedor-dos-columnas{
	max-width: 1300px;
	margin-left:auto;
	margin-right:auto;
    overflow: hidden;
    height: 100%;
}

.columna-izquierda{
	float: left;
	max-width: 35%; 
    height: 100%;
    display: flex;
    align-items: center;
}

.columna-derecha{
	float: right;
	max-width: 65%; 
    height: 100%;
    display: flex;
    align-items: center;
    padding: none;
}

@media screen and (max-width: 900px){
    .columna-izquierda
    {
        max-width: 50%;
    }
    .columna-derecha{
        max-width: 50%;
    }
}


/* 2.- MENÚ DE NAVEGACIÓN */

.menu{
    background: #ECE9E6;  /* Respaldo de navegadores viejos */
    background: -webkit-linear-gradient(to right, #FFFFFF, #ECE9E6);
    background: linear-gradient(to right, #FFFFFF, #ECE9E6);
    height: 85px;
    padding: 2px;
    }

.menu li{
    display: inline;
    list-style-type: none;
    font-size: 15.5px;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    letter-spacing: 0.7pt;
    }

.menu a{
    color: dimgray;
    text-decoration: none;
    transition: 1s color;
}
.menu a:hover{
    color: rgba( 0, 149, 235, 1);
    background-color: rgba(105, 105, 105, 0.1);
	padding-top: 98%;
	padding-bottom: 98%;
}
.menu a:active{
    color: rgba(0, 86, 176, 1);
}

@media screen and (max-width: 600px){
    .menu li
    {
        font-size: 11px;
        letter-spacing: 0pt;
    }
}


/* 3.- TEXTO PRINCIPAL + VIDEO INTRO */

.video{
    background-image: url(/themes/principal/imagenes/background-home.jpg);
    background-size: cover;
	padding: 35px 3px;
	overflow: hidden;
}

.columna-izquierda-video{
	max-width: 38%; 
    height: 100%;
    float: right;
    padding: 10px;
}

.columna-derecha-video{
    height: 100%;
	max-width: 62%; 
    padding: 10px;
}

.vimeo{
    height: 0px;
    width: 100%;
    max-width:100%; /* Así establecemos el ancho máximo (si lo queremos) */
    padding-top:56.25%; /* Relación: 16/9 = 56.25% */
    position:relative;
}

iframe{
    position:absolute;
    height:100%;
    width:100%;
    top:0px;
    left:0px;
}

@media screen and (max-width: 1200px){
    h1{
    font-size: 60px; 
    letter-spacing: 1pt; 
    line-height: 1em;
    }
    h3{
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 0.1pt;
    line-height: 1.1em;
    padding-top: 10px;
    }
}

@media screen and (max-width: 1000px){
    h1{
    font-size: 50px; 
    }
    h3{
    font-size: 20px;
    }
}

@media screen and (max-width: 750px){
    .columna-izquierda-video{
    max-width: 2%; 
    display: none;
    }
    .columna-derecha-video{
    max-width: 100%; 
    }
}


/* 4.- SIETE PRODUCTOS DE LA UNIDAD */

.negrita{
    font-weight: 400;
    color: black;
}

.contenedor-tres-columnas{
	max-width: 1200px;
	margin-left:auto;
	margin-right:auto;
    overflow: hidden;
}

.tres-columnas{
    width: 30%;
	float: left;
    min-height: 450px;
    margin: 1%;
    padding: 20px;
    position: relative;
    
}

.boton_azul{
    color: white;
    width: 98%;
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background-color: rgba(0, 149, 235, 1);
    border: 1px solid #fff;
    border-radius: 7px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    margin: 4px;
    cursor: pointer;
}

.boton_azul:hover{
    background-color: rgba(0, 149, 235, 0.8);
  }


@media screen and (max-width: 900px){
    .tres-columnas
    {
    width: 45%;
    float: left;
    padding: 5%;
    }
    h2{
        font-size: 25px;
    }
}


@media screen and (max-width: 600px){
    .tres-columnas
    {
        width: 100%;
        float: none;
        padding: 5%;
    }
}


/* 5.- FOOTER */

footer{
    background: #1488CC;  /* Respaldo de navegadores viejos */
    background: -webkit-linear-gradient(to right, #2B32B2, #1488CC); 
    background: linear-gradient(to right, #2B32B2, #1488CC); 
    bottom: 0px;
    width: 100%;
    height: 100px;
}

.flotante{
    right: 15px;
    top: 15px;
    color: aqua;
}

/* Nuevos estilos */

.contenedor-flex{
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
    /* overflow: hidden; */

    display: flex;
    flex-direction: row;
    flex-flow: wrap;
    justify-content: center;
}

.elemento-flex{
	min-height: 500px;
	width: 380px;
    padding: 15px;
    text-align: center;
    
    /* position: relative; */
}
