@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
    font-family: 'brandon_text_regularregular';
    src: url('../fonts/hvd_fonts_-_brandontext-regular-webfont.woff2') format('woff2'),
         url('../fonts/hvd_fonts_-_brandontext-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'helveticaneuemedium';
    src: url('../fonts/helveticaneue_medium-webfont.woff2') format('woff2'),
         url('../fonts/helveticaneue_medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'helveticaneueregular';
    src: url('../fonts/helveticaneue-webfont.woff2') format('woff2'),
         url('../fonts/helveticaneue-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot');
	src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/icomoon.woff') format('woff'),
		url('../fonts/icomoon.ttf') format('truetype'),
		url('../fonts/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

body, html { font-size: 100%; padding: 0; margin: 0; height: 100%;}

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    color: #f2ede3;
    background: #333;
    font-size: 0.9em;
    font-weight: 300;
}

a {
	color: #f0f0f0;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 0 5px;
	text-transform: uppercase;
	font-size: 80%;
}

a:hover {
	color: #fff;
}

.container { height: 100%; position: relative;}

#logo{
    position: fixed;
    left: 40px;
    z-index: 102;
}

.bl-main {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.bl-main > section {
	position: absolute;
	width: 50%;
	height: 50%;
}

.bl-main > section:first-child {
	top: 0;
	left: 0;
    background-image: url("../images/fondo1nuevo.jpg");
    -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bl-main > section:nth-child(2) {
	top: 0;
	left: 50%;
    background-image: url("../images/fondo2nuevo.jpg");
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bl-main > section:nth-child(3) {
	top: 50%;
	left: 0;
    background-image: url("../images/fondo3nuevo.jpg");
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bl-main > section:nth-child(4) {
	top: 50%;
	left: 50%;
    background-image: url("../images/fondo4nuevo.jpg");
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bl-box {
	position: relative;
	width: 100%;
	height: 54%;
	cursor: pointer;
    margin-top: 60px;
	opacity: 1;
	/* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.bl-box h2 {
	text-align: center;
	margin: 0;
	padding: 5px;
	width: auto;
	font-size: 1.4em;
	letter-spacing: 2px;
	font-weight: bold;
	text-transform: uppercase;
     font-family: 'helveticaneueregular';
    -webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
    
}

.bl-icon {
	font-family: 'icomoon'; 
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
    width: 100%;
text-align: center;
}

.bl-icon:before {
	display: block;
	font-size: 2em;
	margin-bottom: 10px;
}

.text-intro{ width: 390px;
height: 309px;
position: absolute;
bottom: 0;
margin-bottom: auto;
margin-top: auto;
background-color: rgba(0, 0, 0, 0.5);
z-index: 90;
top: 0;
padding: 18px;
    margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
}

.text-intro p{  font-family: 'helveticaneueregular';
color: #fff;
text-align: center;
font-size: 1.3em;
font-weight: bold;
    letter-spacing: 1px;}

.redes{position: absolute; right: 20px; z-index: 80; }
.redes ul li a{    display: block;
    width: 26px;
    margin: 0px;
    padding: 0px;
}
.redes ul li{display: inline-block;}

.bl-main > section .bl-icon-close
{
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
    width: 3%;
}

.bl-icon-close:before {
	content: "\e005";
}

.bl-content, 
div.bl-panel-items > div > div {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 60px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	padding: 0 20px;
	overflow: hidden;
	overflow-y: auto;
}

/* Custom content */

.bl-content p {
	margin: 0 auto;
	padding-bottom: 15px;
	font-size: 1.4em;

    font-family: 'Source Serif Pro', serif;
    font-style: italic;
}

.cen{text-align: center; margin-top:20px!important; }
.bl-content h2 {
    padding-left: 137px;
	font-size: 1.4em;
	/* font-weight: 300; */
	margin: 0 0 20px 0;
}

.bl-content article {
	padding: 20px 40px 20px 0px;
}

.bl-content article h3 {
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 10px 0;
	padding-top: 20px;
	font-size: 1.4em;
}

.bl-content article a {
	color: rgba(0,0,0,0.2);
}

.bl-content > ul {
	list-style: none;
	padding-top: 8px;
    padding-left: 95px;
	margin: 0;
} 

.imagenesinterna > ul li {
	display: inline-block;
margin: 0px;
padding: 0px;
width: 80px;
}

.imagenesinterna > ul li a {
	display: block;
	padding-top: 8px;
}

.imagenesinterna > ul li a img {width: 100%;}

.bl-content{overflow: hidden;}
.imagenesinterna{float: left;width: 60%; padding: 30px;}

.fraseinterna{float: left;width: 40%; padding: 30px;}

.fraseinterna p{margin-top: 10%;
margin-bottom: 50px;}

.bl-content > ul li a img {
	display: block;
	max-width: 100%;
}

#bl-work-items{padding: 0px;}
/* Panel Items */

div.bl-panel-items,
div.bl-panel-items > div {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}

div.bl-panel-items > div > div {
	width: 100%;
	margin: 0 auto;
	opacity: 1;
	bottom: 90px;
	top: 130px;
	pointer-events: auto;
    margin-left: 0px;
}

.detail{overflow: hidden;}

.detail img, .detail p{float: left;}

.detail p{
    width: 30%;
margin: 0 auto;
padding: 35px;
font-size: 1.5em;
line-height: 1.5;
font-family: 'Source Serif Pro', serif;
font-style: italic;}

div.bl-panel-items > div > div h3 {
	font-size: 2.4em;
	font-weight: 300;
	margin: 0 0 20px 0;
}

div.bl-panel-items > div > div p {
	font-size: 1.3em;
}

div.bl-panel-items > div > div img {
    width: 60%;
	float: left;
	margin: 0 20px 20px 0;
	max-width: 100%;
    border: 5px solid #fff;
     -webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}

div.bl-panel-items {
	top: 100%;
	z-index: 9999;
}

div.bl-panel-items > div {
	background: url("../images/fondodetallenuevo.jpg");
	z-index: 0;
	opacity: 50;
	-webkit-transform: translateY(0);
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-moz-transform: translateY(0);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	transform: translateY(0);
	transition: transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-ms-transform: translateY(0);
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

div.bl-panel-items nav {
	position: absolute;
	z-index: 9999;
	width: 216px;
	left: 72%;
	top: 0px;
	margin-left: -108px;
	opacity: 0;
	-webkit-transition: opacity 0.2s ease-in-out 0.5s;
	-moz-transition: opacity 0.2s ease-in-out 0.5s;
	transition: opacity 0.2s ease-in-out 0.5s;
}

div.bl-panel-items.bl-panel-items-show nav span {
	float: left;
	margin: 5px;
}

div.bl-panel-items nav span.bl-next-work {
	font-weight: 700;
	letter-spacing: 2px;
	display: block;
	text-transform: uppercase;
	line-height: 2em;
	cursor: pointer;
	margin-right: 2em;
}

div.bl-panel-items.bl-panel-items-show nav {
	opacity: 1;
	top: -21%
}

div.bl-panel-items.bl-panel-items-show .aclose{
	opacity: 1;
top: -98%;
    left: 94%;
}

div.bl-panel-items > div.bl-show-work {
	z-index: 1000;
	opacity: 1;
	-webkit-transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.5s ease-in-out;
	-moz-transform: translateY(-100%);
	-moz-transition: -moz-transform 0.5s ease-in-out;
	transform: translateY(-100%);
	transition: transform 0.5s ease-in-out;
	-ms-transform: translateY(-100%);
}

div.bl-panel-items > div.bl-hide-current-work {
	opacity: 0;
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-webkit-transform: translateY(-100%) scale(0.5);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-moz-transform: translateY(-100%) scale(0.5);
	transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	transform: translateY(-100%) scale(0.5);
	-ms-transform: translateY(-100%) scale(0.5);
	z-index: 0;
}

/* Transition classes and properties */
/* Separated for a better overview and control */

.bl-main > section {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

.bl-main > section.bl-expand {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.bl-main > section.bl-expand-top {
	z-index: 100;
}

.bl-main > section:first-child.bl-expand {
	background: url("../images/fondointernasnuevo2.jpg") 0 0;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bl-main > section:nth-child(2).bl-expand {
	background: url(../images/fondointernasnuevo2.jpg) 0 0;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bl-main > section:nth-child(3).bl-expand {
	background: url("../images/fondointernasnuevo2.jpg") 0 0;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bl-main > section:nth-child(4).bl-expand {
	background: url("../images/fondointernasnuevo2.jpg") 0 0;
     -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bl-main.bl-expand-item > section:not(.bl-expand),
.bl-main.bl-expand-item > section.bl-scale-down {
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
	opacity: 0;
}

.bl-box {
	-webkit-transition: opacity 0.2s linear 0.5s;
	-moz-transition: opacity 0.2s linear 0.5s;
	transition: opacity 0.2s linear 0.5s;
}

section.bl-expand .bl-box {
	opacity: 0;
	-webkit-transition: opacity 0s linear;
	-moz-transition: opacity 0s linear;
	transition: opacity 0s linear;
}

.bl-box h2 {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.no-touch section:not(.bl-expand) .bl-box:hover h2 {
	-webkit-transform: translateY(-15px);
	-moz-transform: translateY(-15px);
	-ms-transform: translateY(-15px);
	transform: translateY(-15px);
}

.bl-content,
.bl-icon-close {
	-webkit-transition: opacity 0.1s linear 0s;
	-moz-transition: opacity 0.1s linear 0s;
	transition: opacity 0.1s linear 0s;
}

section.bl-expand .bl-content,
section.bl-expand .bl-icon-close {
	pointer-events: auto;
	opacity: 1;
	-webkit-transition: opacity 0.3s linear 0.5s;
	-moz-transition: opacity 0.3s linear 0.5s;
	transition: opacity 0.3s linear 0.5s;
}
.bl-icon-deportes{background-color: #204866;}
.bl-icon-romance{background-color: #f7c461;}
.bl-icon-descanso{background-color: #51bd7a;}
.bl-icon-familia{background-color: #ff57ac;}

@media screen and (max-width: 46.5em) {
	.bl-content,
	.bl-box {
		font-size: 75%;
        overflow: auto;
	}

	.bl-expand .bl-box {
		height: 130px;
	}

	.bl-content > ul li {
		width: 40%;
	}
    .imagenesinterna, .fraseinterna{float:none; width: 100%; padding: 0;}
    
    div.bl-panel-items.bl-panel-items-show nav{top:-80px;left:41%;}
    
    .text-intro p img{display: none;}
    .text-intro{ height: 80px;    width: 90%;padding: 0;}
     .text-intro p{font-size: 1em;}
    div.bl-panel-items > div > div img {bottom: 0px; top: 0px; width: 100%;margin: 0px;}
    div.bl-panel-items > div > div img {margin: 0px; width: 100%;}
    .bl-content, div.bl-panel-items > div > div {left:0; right:0;top: 50px;}
    .detail p {
        width: 100%;  padding: 15px;}
   #logo a img{width: 40%}
    .bl-icon img
    {width: 50%;}
    .text-intro-mobile{display: block!important;}
    .text-intro-desktop{display: none;}
    .bl-content h2{padding-left: 6px;}
    .fraseinterna p {
        margin-top: 30px;}
    div.bl-panel-items > div > div p {
        font-size: 1.2em;}
}