/* 	CSS Document 
	By Oswosmedia | Twitter: @oswos
	Get some inspiration here or try to do something better
*/
*{
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}
ul, li{
	margin-left:0;
	padding-left:0;
}
li{
	margin-left:15px;
}
html,body{
	height:100%; min-height:100%;
	background:#E8E8E8;
	margin:0; padding:0;
	overflow-y:scroll;
}
body,td, th, input, textarea{
	font-family:'Cabin',Verdana, Geneva, sans-serif;
	font-weight:400;
	color:#566B80;
	line-height:1.5em;
	font-size:16px;
}
h1{
	font-size:200%;
}
h2{
	font-size:150%;
}
h3{
	font-size:120%;
}
h1,h2,h3{
	font-family: 'Bree Serif', serif;
	line-height:1.2em;
	color:#212121;
}
*::selection {
	background: #00CC99;
	color:#fff;
}
*::-moz-selection {
	background: #00CC99; 
	color:#fff;
}
input, textarea, select{
	padding:10px;
	background:#fff;
	border:1px solid #999;
	min-width:120px;
}
button{
	min-width:160px;
	padding:14px 30px;
	display:block;
	cursor:pointer;	
	font-size:16px;
}
.page-wrap a:link, .page-wrap a:visited{
	color:#2CA7E0;
	text-decoration:none;
}
.page-wrap a:hover{
	color:#F63;
}
#bg{
	position:absolute; z-index:50;
	height:415px; width:100%;
	background-color:#212121;
	background-image:
    linear-gradient(
      to bottom, 
      #000000, #212121
    );
	border-bottom:30px solid #00CC99;
}
#wrap{
	clear:both;
	position:relative;
	z-index:300;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -140px auto; /* the bottom margin is the negative value of the footer's height */
}
.in{
	width:1000px;
	margin:0 auto;
	position:relative;
}
.page-wrap{
	background:#fff;
	margin:0 auto 30px auto;
	padding:20px;
	width:1000px;
	min-height:500px; overflow-y: auto;
	border-radius:7px;
	box-shadow:1px 1px 4px rgba(0,0,0,0.3);
}
.home {
	border-radius:0 0 7px 7px;
}
#header{
	clear:both;
	height:133px;
	position:relative; z-index:500; top:0; left:0;	
	color:#333;
}
@media only screen and (min-width: 1040px) {
	#header{
		width:1000px;
		max-width:1000px;
		margin:0 auto;
	}
}
@media (max-width:50em) {
	#header{
		max-width:none;
		width:100%;
		margin:auto;
	}
}
@media only screen and (max-width: 480px) {
	#header{
		max-width:none;
		width:100%;
	}
}
#logo{
	position:absolute;
	top:10px;
	width:208px;
	height:100px;
}
/*
============================================================
*********   MENU 
============================================================
*/
#menu{
	position:absolute;
	top:40px; right:0px; z-index:400;
	width:630px;
	height:54px;
	margin-bottom:0px;
}
#menu ul{
	position:relative;
	margin:0px 0 0 0; padding:0;
	list-style:none;
	text-align:right;
}
#menu ul li{
	display:inline-block;
	margin:0px 0px 0 0; padding:0;
	
}
#menu ul li:last-child a{
	margin-right:0;
}
#menu li > a:link, #menu li > a:visited{
	display:block;
	position:relative;
	padding:16px 10px 16px 10px;
	text-transform:uppercase;
	text-decoration:none;
	font-size:15px; 
	font-weight:400; color:#eee;
	transition: color 0.4s, background 0.4s;   
	-moz-transition: color 0.4s, background 0.4s; 
	-webkit-transition: color 0.4s, background 0.4s;
	border-radius:9px;
}
#menu li:hover{
	border-radius:0 0;
}
#menu li:hover > a, #menu li#current:hover a{ 
	display:block;
	color:#fff;
	background:#0EA474;
}
#menu li:hover .sub{
	display:block;
}
#menu li span{
	display:none;
	position:absolute;
	top:14px; left:2px;
	font-size:40px; font-weight:700;
	color:#ddd;
}
#menu li:hover span{
	display:none;
	color:#F53131;
}
#menu li#current a{
	color:#0EA474;
}
#menu li#current a span{
	color:#0EA474;
}
#menu ul li:last-child a{
}
#menu li#current .sub li a{
	background:none;
}

#submenu{
	margin:0; padding:0px 0 0px 0;
	list-style:none;
	text-align:left;
}
#submenu li{
	float:none;
	display:block;
	margin:0; padding:3px 0 3px 0;
	
}
#submenu li a:link, #submenu li a:visited{
	display:block;
	border-top:none;
	text-transform:none;
	margin:0; padding:6px 10px;
	font-size:15px;
	border-bottom:1px solid rgba(0,0,0,0.1);
	border-right:10px solid #fff;
}
#submenu li:hover a, #submenu li#current a{
	color:#0EA474;
	border-right:10px solid #0EA474;
}

/*
============================================================
*********   PAGES 
============================================================
*/
#last{
	background:#4CB6AC;
	height:450px;
	clear:both;
	width:1000px;
	margin:0 auto;
}
#last_foto{
	float:left;
	width:552px;
	height:450px;
}
#last_foto img{
	width:100%;
}
#last_texto{
	float:left;
	width:40%;
	padding-top:20px;
}
#last_texto div{
	padding:0 20px;
}
#last_texto span{
	clear:both;
	color:#fff;
}
#last_texto h1 {
	margin:0;
	margin-bottom:20px;
}
#last_texto h1 a{
	color:#fff;
	display:block;
	text-decoration:none;
}
#last_texto h1 a:hover{
	color:#212121;
}
.block{
	padding:10px 0;
	border-bottom:1px solid #eee;
}
.button{
	width:150px;
	display:inline-block; 
	padding:7px 10px;
	border-radius:50px;
	background:#066; 
	text-align:center;
	color:#fff; text-decoration:none;
	margin:20px 20px 20px 0;
	border:none;
}
.button:hover{
	background:#E13719;
}
.gris{
	background:#666;
}
.naranja{
	background:#F60;
}
.derecha{
	float:right;
}
.izquierda{
	float:left;
}
.center{
	text-align:center;
}

.publicaciones li{
	padding:7px 0;
}
.articulos li{
	padding-top:7px;
	padding-bottom:7px;
}
.articulos .fecha{
	font-size:80%;
	opacity:0.8;
}


#social{
	width:80%;
	padding:0; margin:20px auto; list-style:none;
	text-align:center;
}
#social li{ 
	display:inline-block;
	padding:0; margin:0 5px 0 0;
	height:48px; width:48px;
	border:4px solid rgba(255,255,255,0.0);
	border-radius:50%;
}
#social li:hover{
	border:4px solid rgba(0,0,0,0.2);
}
#social li img{ 
	width:40px;
}
#social a:link,  #social a:visited{
	display:block;
	height:48px; 
	overflow:hidden;
}


/* 
 	GRID SYSTEM 12 COLUMN BASED.
*/
.row {
    clear: both;
    max-width: 1040px;
    margin: 0 auto;
}
[class^="col-"] {
	display: block;
    float: left;
    margin: 0 3.84615384615% 0 0;
    list-style: none;
    position: relative;
}
[class^="col-"]:last-child {
    margin: 0;
}
.col-1 { width: 4.8076923077% }
.col-2 { width: 13.4615384615% }
.col-3 { width: 22.1153846154% }
.col-4 { width: 30.7692307692% }
.col-5 { width: 39.4230769231% }
.col-6 { width: 48.0769230769% }
.col-7 { width: 56.7307692308% }
.col-8 { width: 65.3846153846% }
.col-9 { width: 74.0384615385% }
.col-10 { width: 82.6923076923% }
.col-11 { width: 91.3461538462% }
.col-12 { width: 100%; margin: 0 }

.col:first-child { margin-left: 0; }

@media only screen and (max-width: 480px) {
	.col {  margin: 1% 0 1% 0%; }
	.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, col-12{
		width:100%;
		text-align:center;
	}
}

/*
============================================================
*********   FOOTER 
============================================================
*/
#footer{
	width:100%; min-width:1000px;
	position:relative;   z-index:300;
	padding:10px 0;
	text-align:center;
	font-size:90%;
}
#footer, .push{
	clear:both;
	height:140px;
}
#footer .links a{
	padding:0 7px;
	text-decoration:none;
}
#footer a:link, #footer a:visited{ color:#000;}
#footer a:hover{
	color:#0EA474;
}
#footer_social{
	width:80%;
	padding:0; margin:10px auto; list-style:none;
	text-align:center;
}
#footer_social li{ 
	display:inline-block;
	padding:0; margin:0 5px 0 0;
	height:28px; width:28px;
	border:4px solid rgba(255,255,255,0.0);
	border-radius:50%;
}
#footer_social li:hover{
}
#footer_social li img{ 
	width:20px;
	filter: gray; /* IE6-9 */
	filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
	-webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
}
#footer_social li:hover img{ 
	filter: none;
 	-webkit-filter: grayscale(0);
}
#footer_social a:link,  #social a:visited{
	display:block;
	height:28px; 
	overflow:hidden;
}

#footer #designby{
	clear:both;
	padding:40px 0 0 20px;
	color:rgba(255,255,255,0.6);
	font-size:90%;
	height:20px;
}
#footer #designby a{
	color:rgba(255,255,255,0.6);
}