/*

*/


@font-face {
	font-family: "Nexa";
	src: url("fonts/Nexa Light.otf");
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: "Nexa";
	src: url("fonts/Nexa Bold.otf");
	font-weight: bold;
	font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

* {
	margin: 0;
	padding: 0;
	max-height: 1000000px;
}



html,
body,
div,
p,
q,
a,
font,
img,
strong,
u,
em,
var,
s,
del,
dl,
dt,
dd,
ol,
ul,
li,
tbody,
tfoot,
thead,
tr,
th,
td,
figure,
footer,
header,
menu,
nav,{
	border: 0;
	background: none;
}

html{

	box-sizing: border-box;
	height: 100%;
	border: 0;
	background: none;

}
body{
	height: 100%;
	text-decoration: none;
	color: #000;
	font: 14px/1.4 "Nexa", Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: none;
	min-width: 320px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


@media (min-width: 768px) {
	body {
		font-size: 12px;
		line-height: 1.637;
	}
}

@media (max-width: 767px) {
    body {
        padding-left: 0px;
        padding-right: 0px;
    }
}

body .vc_separator {
	display: block;
	background: #e5e5e5;
	border: none;
	height: 1px;
	clear: both;
	margin: 60px auto;
}

a {
    text-decoration: none;
    color: #2b2422;
    outline: none;
    cursor: pointer;
}


ul {
	list-style-type: disc;
	padding: 0;
	margin-left: 10px;
	margin: 0 0 18px;
}

ul ul,
ul ol,
ol ul,
ol ol {
	margin: 0 0 10px 10px;
}

ul li{
	margin: 18px 0 0;
}

@media (max-width: 767px) {
    h1 {
        font-size:0.8em;
        
    }
    h2 {
        font-size:0.8em;
        
    }

    p {
        font-size:0.9em;
        
    }
}

#page {
	width: 100%;
	position: relative;
	overflow: hidden;
	display: table;
	table-layout: fixed;
	height: 100%;
}

@media (min-width: 768px) {

	#page {

	}
}

@media (min-width: 992px) {
	#page {

	}
}





#header {
	background: rgba(255, 255, 255, 1);
	top: 0;
	padding: 0px 5%;
	margin: 0 auto;
	width: 100%;
	z-index: 1000;
	position: fixed;
    -webkit-box-shadow: 0px 7px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 7px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 7px 10px 0px rgba(0,0,0,0.5);

}

#header.fixed-position {
	position: fixed;
	left: 20px !important;
	right: 20px;
}

#header:after {
	content: "";
	display: table;
	width: 100%;
	clear: both;
}

#header:before {
	content: "";
	position: absolute;
	bottom: 0;
	background: #fff;
	left: 20px;
	right: 20px;

}

@media (min-width: 768px) {


	#header {
		z-index:1000;
        padding: 0px;
        margin: 0px;
		position:fixed;
		width:250px;
        height:100%;
		background: rgba(255, 255, 255, 1);
        box-sizing: border-box;
        text-align:center;
        -webkit-box-shadow: 9px 10px 29px -10px rgba(0,0,0,0.75);
        -moz-box-shadow: 9px 10px 29px -10px rgba(0,0,0,0.75);
        box-shadow: 9px 10px 29px -10px rgba(0,0,0,0.75);
	}
}

@media (min-width: 992px) {

	#header {
        width:300px;

	}

	#header:before,
	#header.fixed-position {
		left: 60px !important;
		right: 60px;
	}
}

.header-box {
	margin: 0 auto;
	width: 100px;
	background:#fff;
	border-radius: 10px 10px 10px 10px;
    box-sizing: border-box;
    vertical-align: baseline;
}

@media (min-width: 768px) {

	.header-box {
		top:10px;
        width: 90%;
        height:48%;
        margin-left: 5%;
        margin-right: 5%;
		border-radius: 10px 10px 10px 10px;
	}
}

@media (min-width: 992px) {
    
    .header-box {

    }
}

.logo {
	display: block;
}

.logo a {
	display: block;
}

.logo img {
	width: 100%;
	height: auto;
}

@media (min-width: 768px) {
    
    .logo img {
        width: 150px;
        height: auto;
        padding-top:30%;
        padding-bottom:30%;
    }
}

@media (min-width: 992px) {
    
    .logo img {
        width: 200px;
        height: auto;
    }
}


.grid-item { width: 200px; margin: 10px 10px 0px 0px;}


.grid-itemcuadros { width: 30%; margin:5px;max-width:300px;}


#nav {
	text-transform: uppercase;
	font: 11px/14px "Nexa", Arial, Helvetica, sans-serif;
}




#nav > ul {
	text-align: justify;
}

#nav > ul > * {
	display: inline-block;
	vertical-align: top;
	text-align: left;
}

#nav > ul:after {
	content: "";
	width: 100%;
	display: inline-block;
	vertical-align: top;
}


#nav ul li {
	margin-top: 0;
}

#nav a {
	color: #bdbcbc;
	text-decoration: none;
}

#nav:focus,
#nav:hover,
#nav .active > a,
#nav li:hover > a {
	text-decoration: none;
	color: #a7ccee;
}

#nav .drop {
	display: none;
	width: 280px;
	margin: 20px -999px 0 0;
	overflow: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

#nav .drop:focus,
#nav .drop:hover,
#nav .drop .active > a,
#nav .drop li:hover > a {
	color: #bdbcbc;
}

.splash-page #nav .drop a {
	color: #bdbcbc;
}

#nav > ul {
	margin-bottom: -14px;
}

#nav ul{
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav > ul ul {
	width: 100%;
	background: #7a736f;
	-moz-column-count: 2;
	-moz-column-gap: 20px;
	-webkit-column-count: 2;
	-webkit-column-gap: 20px;
	-webkit-column-count: 2;
	-moz-column-count: 2;
	column-count: 2;
	-webkit-column-gap: 20px;
	-moz-column-gap: 20px;
	column-gap: 20px;
	padding: 20px;
	text-transform: capitalize;
	font: 13px/17px "Nexa", Arial, Helvetica, sans-serif;
}

#nav > ul ul li {
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

#nav > ul ul a {
	display: block;
	padding: 5px 10px;
}

@media (min-width: 768px) {
	#nav {
		font-size: 13px;
		line-height: 10px;
		margin-top: 15px;
		color:#fff;
        height:48%;
	}
	#nav a{
		font-weight: normal;
	 	color:#111111;
	}

	#nav > ul > li {
        width:100%;
		position: relative;
        text-align:center;
	}

	#nav > ul > li > a {
		display: block;
		padding: 5px 2px;
	}
}	


@media (min-width: 992px) {


	#nav {
		font-size: 13px;
		letter-spacing: 1.5px;
	}

	#nav > ul > li {

	}
}

@media (max-width: 767px) {
	.portada {
	margin-top: 92px;
    	margin-bottom: 30px;
        width:150%;

}
}

@media (min-width: 768px) {
	.portada {
        margin-left:250px;
        width:95%;
	}
}
@media (min-width: 992px) {
    .portada {

        margin-left:300px;
        width:95%;
    }
}


@media (max-width: 767px) {
main {
	margin-top: 112px;
    margin-bottom: 30px;

}
}

@media (min-width: 768px) {
	main {
        margin-left:250px;
        height:100%
	}
}
@media (min-width: 992px) {
    main {

        margin-left:300px;
        height:100%
    }
}

.contenedor-img {

    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    background: #fff;
}
.contenedor-img .mascara,.contenedor-img .contenido {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0
}
.contenedor-img img {
    display: block;
    position: relative;
    
}
.contenedor-img h2 {
    text-transform: uppercase;
    color: #000;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.6);
    margin: 20px 0 0 0
}
.contenedor-img p {
    font-size: 12px;
    position: relative;
    color: #000;
    padding: 10px 20px 10px;
    text-align: center
}





.contentindex img {

}
.contentindex .mascara {
    opacity: 0;
}
.contentindex h2 {
    opacity: 0;

}
.contentindex p {
    opacity: 0;

}
.contentindex a.link{
    opacity: 0;

}
.contentindex:hover img {
    transform: scale(1);/*Damos un ligero zoom a la imagen*/
    opacity: 0.5;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 50);
    filter: alpha(opacity = 50);
    transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    -o-transition-duration: 0.5s;
}
.contentindex:hover .mascara {
    opacity: 1;
    width:100%;
    height:100%;
}
.contentindex:hover h2,
.contentindex:hover p,
.contentindex:hover a.link {
    opacity: 1;
    transition-delay: 0.4s;
    transform: translateX(0px);/*Regresamos a las posiciones originales*/
}




.todo {
    width: 100%;
    display: inline-block;
    border:none;
    
}

.mitad {
    width: 50%;
    display: inline-block;
    border:none;
    float:left;
    
}


.tercio {
    width: 33.33333%;
    display: inline-block;
    border:none;
    float:left;
    
}

@media (max-width: 767px){
    .cuadros {
        width:90%;
        margin: 0px 5% 5% 5%;
        padding-top:10px;
        
    }
    .cuadros .contenido {
        width: 90%;
        margin:5%;
        display: inline-block;
        border:none;
        float:left;
        margin: 0px 20px;
        
    }
    
    
    .cuadros .contenido .tercio {
        width: 100%;
        display: inline-block;
        border:none;
        float:left;
        margin: 10px 0px;
        
    }
    
    
    .cuadros .contenido .tercio img{
        width: 100%;
        display: inline-block;
        border:none;
        float:left;
        border: #d6d6d6 10px solid;
  		padding: 10px;
  		margin: 0px 0px 10px 0px;
        
    }
    .cuadros .contenido .tercio h2{
	    text-align: center;
	}
}

@media (min-width: 768px){
    .cuadros {
        width:90%;
        margin:5%;
    }
    
    
    .cuadros .contenido .tercio {
        width: 49%;
        padding: 10px;
        display: inline-block;
        border:none;
        float:left;
        margin: 0.5%;
        border: #d6d6d6 1px solid;
        
    }
    
    
    .cuadros .contenido .tercio img{
        width: 100%;
        height:200px;
        display: inline-block;
        border:none;
        float:left;
	    margin: 0px 0px 20px 0px;
	    border: #d6d6d6 10px solid;
  		padding: 10px;
    }
    .cuadros .contenido .tercio h2{
	    text-align: center;
	}
}

@media (min-width: 992px){
	.cuadros {
	    width:90%;
	    margin:5%;

	}


	.cuadros .contenido .tercio {
	    width: 32%;
	    display: inline-block;
	    padding: 15px;
	    border:none;
	    float:left;
	    margin: 0.666666%;
	    border: #d6d6d6 1px solid;
	}


	.cuadros .contenido .tercio img{
	    width: 100%;
	    height:200px;
	    display: inline-block;
	    border:none;
	    float:left;
	    margin: 0px 0px 20px 0px;
		border: #d6d6d6 10px solid;
  		padding: 10px;
	}
	
	.cuadros .contenido .tercio h2{
	    text-align: center;
	}
}

.cuadro{
    width:90%;
    margin:5%;
}

.cuadro .mitad{
    width:90%;
    margin:10px 5%;
}
.contacto{
    width:90%;
    margin:10px 3%;
    padding-top:10px;
}

.contacto .contenido {

    margin: 50px 0px;
    
}
@media (max-width: 767px) {


	.contacto .contenido {

	    margin: 10px 0px;
	    
	}
}

@media (max-width: 991px){  
    .contacto .contenido .contacttercio{
        width:33.330%;
        padding:10px 10px;

    }
    
    .contacto .contenido .contactdostercios{
        padding:10px 10px;

    }
}

@media (min-width: 992px){

.contacto .contenido .contacttercio{
    width:33.330%;
    padding:10px 10px;
    display: inline-block;
    float:left;
}

.contacto .contenido .contactdostercios{
    width:66.66%;
    padding:10px 10px;
    display: inline-block;
    float:left;
}
}










@media (max-width: 767px) {

    .pjl {
        position:fixed;
        bottom:0;
        text-align:center;
        z-index:1000;
        background: rgba(255, 255, 255, 1);
        bottom:0;
        width:100%;
        height:20px;

    }

    .pjl .pjltext{

    }

    .pjl .pjltext:hover{
        opacity: .6;
	
    }

}

@media (min-width: 768px) {

	.pjl {
        width:250px;
        position:fixed;
        bottom:0;
        text-align:center;
        z-index:1000;

	}
    .pjl .pjltext:hover{
        opacity: .6;
        
    }
    
}

@media (min-width: 992px) {
    
    .pjl {
        width:300px;
        position:fixed;
        bottom:0;
        text-align:center;
        z-index:1000;
        
    }
    .pjl .pjltext:hover{
        opacity: .6;
        
    }
    
}



#footer {
	color: #2b2422;
	text-transform: uppercase;
	text-align: center;
	font-family: "Nexa", Arial, Helvetica, sans-serif;
	letter-spacing: 1.5px;
	display: table-footer-group;
	height: 1%;
	font-size: .75em;
	line-height: 1.8;
}



#footer .footer-frame {
	display: table-cell;
	padding: 20px 0;
}

#footer .sep {
	margin: 0 15px;
	display: block;
	text-indent: -9999px;
	line-height: 0;
}

#footer a {
	color: inherit;
	white-space: nowrap;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

#footer address {
	font-style: normal;
	margin: 0;
}

#footer .text-right {
	text-align: center;
}

#footer [class*=col-] {
	margin-top: 10px;
	margin-bottom: 10px;
}

@media (min-width: 768px) {

	#footer {
		font-size: 1em;

	}

	#footer .footer-frame {
		padding: 17px 0;
	}

	#footer .sep {
		display: inline;
		text-indent: 0;
		line-height: inherit;
	}
}

@media (min-width: 1200px) {

	#footer .text-right {
		text-align: right;
	}

	#footer {
		text-align: left;
	}

	#footer .footer-frame {
		padding-bottom: 60px;
	}
}


