div.pestanias{
	clear: both;
	font-size:0;
	max-width:840px;
	margin:0 auto;
	text-align:center;
}
div.pestanias > div,
div.pestanias > a{
	display:inline-block;
	/*float:left;*/
	font-size:0;
	margin:10px;
	width:260px;
}
div.pestanias a.tab{
	cursor:pointer;
	height:130px;
	position:relative;
	display: block;
}
div.pestanias a.tab>div{
	position:absolute;
	width:260px;
	height:130px;
}
div.pestanias a.tab div.img{
	opacity: 1;
	transition: opacity 0.5s linear;
}
div.pestanias a.tab div.txt{
	opacity: 0;
	transition: opacity 0.5s linear;
	padding:5px;
	width:250px;
	height:120px;
}
div.txt p.titulo{
	font-size:13px !important;
	}
div.pestanias a.tab div.txt p{
	color:#313140;
	font-family: 'Open Sans', sans-serif;
	font-size:11px;
	font-weight:bold;
	margin-top: 0;
	text-align:left;
}
div.pestanias a.tab:hover div.img {
	opacity: 0.1;
	transition: opacity 0.5s linear;
}
div.pestanias a.tab:hover div.txt {
	opacity: 1;
	transition: opacity 0.5s linear;
}
div.pestanias div.img{
	background-blend-mode: luminosity;
	background-repeat:no-repeat;
}
div.pestanias div.casa div.img{
	background-color:#6a0000;
	background-image:url(imgs/tabs/1.jpg);
}
div.pestanias div.colegio div.img{
	background-color:#7396FF;
	background-image:url(imgs/tabs/2.jpg);
}
div.pestanias div.mjs div.img{
	background-color:#cfffbf;
	background-image:url(imgs/tabs/3.jpg);
}
div.pestanias div.cfp div.img{
	background-color:#FFFF99;
	background-image:url(imgs/tabs/4.jpg);
}
div.pestanias div.upf div.img{
	background-color:#16c0fb;
	background-image:url(imgs/tabs/5.jpg);
}
div.pestanias div.cesba div.img{
	background-color:#CC99FF;
	background-image:url(imgs/tabs/6.jpg);
}
div.pestanias div.titulo {
	font-family: "Covered By Your Grace",cursive;
    font-size: 30px;
	font-weight: bold;
    padding-top: 10px;
    text-align: left;
}
div.pestanias div.casa div.titulo{color:#D20500;}
div.pestanias div.colegio div.titulo{color:#3486FF;}
div.pestanias div.mjs div.titulo{color:#468C00;}
div.pestanias div.cfp div.titulo{color:#FFBF00;}
div.pestanias div.upf div.titulo{color:#16C0FB;}
div.pestanias div.cesba div.titulo{color:#460D8B;}
div.gris{
	width:100%;
	background-color:#bfc8cf;
	padding-bottom:40px;
	text-align:center;
}
div.gris > div.item{
	border:solid 1px #01203F;
	display:inline-block;
	padding:5px;
	width:260px;
	height:155px;
	margin-top:40px;
	vertical-align: top;
}
div.gris > div.item > div{
	background-color: #778797;
	color: #ffffff;
	height: 145px;
	padding: 5px;
}
div.gris > div.item > a > div{
	background-color: #778797;
	color: #ffffff;
	height: 145px;
	padding: 5px;
}
div.gris > div.item > a{
	color:#ffffff;
	text-decoration: none;
}
div.gris > div.item > a > div:hover{
	background-color: #485868;
}
div.gris h1{
	font-family: "Covered By Your Grace",cursive;
	font-size: 30px;
	font-weight: normal;
	margin: 0;
	text-align: left;
}
div.gris p{
	font-family: "Open Sans",cursive;
	font-size: 12px;
	margin: 0;
	text-align: left;
}

div.galeria{
	margin: 40px auto;
	max-width: 840px;
}
div.galeria div.arriba{
	border-bottom:solid 1px #022140;
	height:40px;
	margin-bottom: 10px;
}
div.galeria div.arriba div.titulo{
	font-family: "Covered By Your Grace",cursive;
	font-size:35px;
	color:#555555;
	float:left;
}
div.galeria div.arriba div.enviar{
	color: #535353;
	float: right;
	font-family: "Open Sans",sans-serif;
	font-size: 15px;
	margin-top: 15px;
}
div.galeria div.imagenes{
	clear:both;
	font-size:0;
	text-align:center;
}
div.galeria div.imagenes img{
	margin:1px;
}

div.galeria #ver_antiguas,
div.galeria #ver_nuevas{
    text-align: right;
	transition:all 1s;
}
div.galeria #ver_antiguas a,
div.galeria #ver_nuevas a{
    font-family: "Open Sans",cursive;
    font-size: 16px;
    font-weight: bold;
	text-decoration:none;
	color:#999;
}
div.galeria #ver_antiguas a:hover,
div.galeria #ver_nuevas a:hover{
	color:#666;
}
div.galeria #novedades_link {
	height: 255px;
	width: 100%;
}
div.galeria #novedades_link div {
	float: left;
	height: 125px;
	padding: 1px;
	position:relative;
	width: 165px;
	-webkit-transition: all 1s;
	transition: all 1s;
}
div.galeria #novedades_link div:hover{z-index:1;}

div.galeria #novedades_link div a{
	background-position:center;
	background-repeat:no-repeat;
	background-size:cover;
	display: block;
	height: 125px;
	width: 165px;
	-webkit-transition: all 1s;
	transition: all 1s;
}
div.galeria #novedades_link div a:hover {
	width:230px!important;
	height:175px;
}
