/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

*{
	border-sizing:border-box;
	margin:0;
	padding:0;
	font-family:helvetica;
	text-align:center;
}

#video_bg{
	position:fixed;
	z-index:1;
	top:0;
	left:0;
  	background-color:#000;
}

#contenedor{
	
	width:100%;
	height:100%;
	overflow:hidden;
	z-index:2;
	position:relative;
}

#footer{
	text-align:center;
	color:#fff;
	font-size:0.8rem;
	width:100%;
	float:left;
	padding:1% 0;
}

#logotipos{
	background-color: rgba(0, 0, 0, 0.5);
	position:fixed;
	bottom:0;
	width:100%;
}

video{
	height:100%;
}

.imagenes{
	background-color: rgba(255, 255, 255, 0.8);
	width:100%;
	float:left;
	text-align:center; 
	padding-top:5%;
}

.imagenes img{
  -webkit-transition:all .5s ease;
  -moz-transition:all .5s ease;
  -o-transition:all .5s ease;
  -ms-transition:all .5s ease;
  width:90%;
}

.imagenes img:hover{
  -webkit-transform:scale(0.95);
  -moz-transform:scale(0.95);
  -ms-transform:scale(0.95);
  -o-transform:scale(0.95);
  transform:scale(0.95);
}

.imagenes h1{
	color:#ED3237;
	margin-top:1%;
	font-weight:normal;
	font-size:2rem;
	border-bottom:3px solid #fff;
  margin-bottom:0;
}

#logotipos img{
	width:35%;
}

.dimensiones1{
	width:100%;
	float:left;
	text-align:center;
	padding-top:2%;
}

.dimensiones1 a{
	filter: grayscale(100%);
 	-webkit-filter: grayscale(100%);
 	transition:filter 0.4s;
 	-webkit-transition:-webkit-filter 0.4s;
}

.dimensiones1 a:hover{
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}

.dimensiones2{
	width:100%;
	float:left;
	text-align:center;
	padding-top:2%;
}

.dimensiones2 a{
	filter: grayscale(34%);
 	-webkit-filter: grayscale(100%);
 	transition:filter 0.4s;
 	-webkit-transition:-webkit-filter 0.4s;
}

.dimensiones2 a:hover{
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}


/*original no responsive:

*{
	border-sizing:border-box;
	margin:0;
	padding:0;
	font-family:helvetica;
	text-align:center;
}

#video_bg{
	position:fixed;
	z-index:1;
	top:0;
	left:0;
}

#contenedor{
	
	width:100%;
	height:100%;
	overflow:hidden;
	z-index:2;
	position:relative;
}

#footer{
	text-align:center;
	color:#fff;
	font-size:0.8rem;
	width:100%;
	float:left;
	padding:1% 0;
}

#logotipos{
	background-color: rgba(0, 0, 0, 0.5);
	position:fixed;
	bottom:0;
	width:100%;

}

video{
	width:100%;
}

.imagenes{
	background-color: rgba(255, 255, 255, 0.8);
	width:100%;
	float:left;
	text-align:center; 
	padding-top:5%;
}

.imagenes img{
  -webkit-transition:all .5s ease;
  -moz-transition:all .5s ease;
  -o-transition:all .5s ease;
  -ms-transition:all .5s ease;
  width:auto;
}

.imagenes img:hover{
  -webkit-transform:scale(1.25);
  -moz-transform:scale(1.25);
  -ms-transform:scale(1.25);
  -o-transform:scale(1.25);
  transform:scale(1.25);
}

.imagenes h1{
	color:#ED3237;
	margin-top:1%;
	font-weight:normal;
	font-size:2rem;
	border-bottom:3px solid #fff;
}

.dimensiones1{
	width:33%;
	float:left;
	text-align:center;
	padding-top:2%;
}

.dimensiones1 a{
	filter: grayscale(100%);
 	-webkit-filter: grayscale(100%);
 	transition:filter 0.4s;
 	-webkit-transition:-webkit-filter 0.4s;
}

.dimensiones1 a:hover{
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}

.dimensiones2{
	width:34%;
	float:left;
	text-align:center;
	padding-top:2%;
}

.dimensiones2 a{
	filter: grayscale(34%);
 	-webkit-filter: grayscale(100%);
 	transition:filter 0.4s;
 	-webkit-transition:-webkit-filter 0.4s;
}

.dimensiones2 a:hover{
	filter: grayscale(0);
	-webkit-filter: grayscale(0);
}*/

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 768px){
  .imagenes img{
    width:auto;
  }
  
  #logotipos{
    flex-direction:row;
  }
  .dimensiones1{
    width:33%;
  }
  .dimensiones2{
  	width:34%;
  }
  
  #logotipos img{
  	width:auto;
  }
}

@media only screen and (min-width:80em){  
  video{
  	width:100%;
    position:absolute;
  }
}

/*@media only screen and (min-width: 360px) {
  
  #contenedor{
    position:fixed;
    height:100%;
    width:100%;
  }
	
}

@media only screen and (min-width: 414px) {
  #contenedor{
    position:fixed;
    width:100%;
    height:100%;
  }
}


@media only screen and (min-width: 768px) {
  
  #contenedor{
    padding:0 10%;
  }
  
  #logotipos{
  	padding-top:20%;
  }
  
  .imagenes img{
  	width:auto;
  }
  
  .imagenes h1{
  	font-size:5rem;
  }
  
}

@media only screen and (min-width: 1024px) {
	#logotipos{
  	padding-top:25%;
  }
}


@media only screen and (min-width: 80em) {
  
#contenedor{
    	position:fixed;
      	width:100%;
      height:100%;
      	padding:0 10%;
      	overflow:hidden;
   	}
  
  #logotipos{
  	display:inline;
    padding-top:0;
   
  }
  
  	#logotipos .imagenes{
		text-align:center;
     }
  		
    #logotipos .imagenes img{
		width:auto;   
    	padding-top:5%;  	
  	} 
  
    #logotipos h1{
		font-size:4rem;
      	margin-top:10%;
      	margin-bottom:5%;
	}
  
	.dimensiones1{
      width:33%;
      height:auto;
      float:left;
      padding-top:0;
	}
  
	.dimensiones2{
      width:34%;
      height:auto;
      float:left;
      padding-top:0;
	}
  
    #footer{
      display:inline;
      padding-top:10%;

    }
  	
  #video_bg{
   	height:auto; 
  }
  
  video{
    position:absolute;
    width:100%;
  }

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}