/*
INDEX:
	- INFO
	- GLOBALS
	- FONTS
	- BUTTONS
	- HEADER
	- CONTENT
	- ME
	- FOOTER
	- MEDIA QUERIES
	- SPECIAL FEATURES
*/

/*** =INFO
	normal-behaviour:
		width: 800px
		a:hover: #7eb9eb
		color-pink: #CC3366
*******************************/



/*** =GLOBALS  
*******************************/
.left { float: left; left: 0;}
.align-left { text-align: left; }
.align-right { text-align: right; }
.right { float: right; right: 0;}
.circle { 
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid #ADADAD;
  display: inline-block;
  height: 8px;
	margin-right: 2px;
	vertical-align: middle;
  width: 8px;
}
.circle.active { border-color: gray; }
.circle:hover { border-color: black; }
.clearfix { clear: both; }

strong {
	font-weight: bold;
}

html, body {
	font: 100% 'Open Sans', Verdana, Helvetica, 'tahoma';
	height: 100%;
	background: url(../img/bck.jpg) repeat-x scroll black;
	min-width: 800px;
}

a { 
	color: #999;
	text-decoration: none;
}


h2,h3,h4,h5,h6{
	color: #888;
	font-family: 'Fjalla One', sans-serif; 
	font-weight: bold;
	line-height: 1;
	margin: 10px 0;
}
h2 {
	font-size: 20px;
}
h3 {
	font-size: 22px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 16px;
}
h6 {
	font-size: 15px;
}

/***  =FONTS
	// Main page
	font-family: 'Open Sans', sans-serif; 
	
	// Logo
	font-family: 'Fjalla One', sans-serif; 
	
	// Nav-menu
	font-family: 'Raleway', sans-serif; 

*******************************/


/***  =BUTTONS
*******************************/
button.cupid-blue {
	background-color: #D7E5F5;
	background-image: -moz-linear-gradient(center top , #D7E5F5, #CBE0F5);
	border-color: #ABBBCC #A7B6C7 #A1AFBF;
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	color: #1A3E66;
	font-size: 16px;
	margin-top: 16px;
	padding: 5px 0 6px;
	text-align: center;
	text-shadow: 0 1px 1px #FFFFFF;
	width: 130px;
	
	-webkit-box-shadow: 0 1px 0 0 white inset;
	-moz-box-shadow: 0 1px 0 0 white inset;
	box-shadow: 0 1px 0 0 white inset;
}

button.cupid-blue:hover {
	background-color: #CCD9E8;
	background-image: -moz-linear-gradient(center top , #CCD9E8, #C2D8EF);
	border-color: #A1AFBF #9CAABA #96A3B3;
	border-style: solid;
	border-width: 1px;
	color: #163659;
	cursor: pointer;
	
	-webkit-box-shadow: 0 1px 0 0 #F2F2F2 inset,0 0 7px -5px black;
	-moz-box-shadow: 0 1px 0 0 #F2F2F2 inset,0 0 7px -5px black;
	box-shadow: 0 1px 0 0 #F2F2F2 inset,0 0 7px -5px black;
}

button.disabled, button.disabled:hover {
	background: none repeat scroll 0 0 #CCCCCC;
	color: gray;
	border-color: #aaa;
	cursor: default;
}



/***  =HEADER SECTION  
*******************************/
h1#title {
	text-indent: -999999px;
	position: absolute;
}
#logo-wrapper {
	background-color: #E1E1E1;
	border-bottom: 1px solid #CCCCCC;
	width: 100%;
}
#logo {
	display: block;
	margin: 0 auto;
	max-width: 830px;
	padding: 10px 70px;
}
#logo h1 {
	font: 31px 'Fjalla One', sans-serif;
	text-shadow: -1px 1px #ccc;
	letter-spacing: 1px;
	
	transition: All .5s ease;
	-webkit-transition:All .5s ease;
	-moz-transition:All .5s ease;
	-o-transition:All .5s ease;
}

div#header {
	background-color: #f5f5f5;
	border-top: 4px solid #999;
	border-bottom: 1px solid #999;
	
	-webkit-box-shadow: 0 0 12px -2px gray;
	-moz-box-shadow: 0 0 12px -2px gray;
	box-shadow: 0 0 12px -2px gray;
	
	position: absolute;
	
	left: 0;
	min-width: 800px;	
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 10;
}
#nav-menu {
	margin: 0 auto;
	position: relative;
	text-align: center;
	width: 800px;
	z-index: 20;
}
#nav-menu li {
	float: left;
	list-style: none outside none;
	font: 20px 'Raleway', sans-serif;
	text-transform: lowercase;
	text-align: center;
	border-bottom: 3px solid transparent;
	/*width: 33.3%; /* It depends on the number of elements of the nav-bar*/
	
	width: 50%;
	
	transition: All .5s ease;
	-webkit-transition:All .5s ease;
	-moz-transition:All .5s ease;
	-o-transition:All .5s ease;
}
#nav-menu a { 
	display: block;
	padding: 4px 0;
	width: 100%; 
	height: 100%;
	line-height: 1;
}

.wai {
	padding: 16px 12px 0;
	position: absolute;
	top: 0;
	z-index: 25;
}
#wai-right { float: right; right: 0; padding-top: 18px; }
#wai-left { float: left; left: 0; }
a.blue { background-color: #7EB9EB; }
a.red { background-color: #EA7E82; }
a.green { background-color: #9FEA7E ; }
#sizeup { font-size: 18px; }
#sizedown { font-size: 14px; }


/*** =CONTENT SECTION
*******************************/
div#wrapper {
	margin: 0 auto;
	/*top: 90px; /* Necessary for IE < 7 */
	position: relative;
	width: 800px;
	height: auto !important;
	/*min-height: 100%;*/
		
	z-index: 2;
}

div#content {
	background-color: white;
	height: 100%;
	/*width: 100%;*/
	width: 760px;
	margin: 0 auto;
	padding: 110px 0 0;
	text-align: justify;
	line-height: 24px;
	color: #333;
	
	border-radius: 4px; 
	
	border: 1px solid #999;
	-webkit-box-shadow: 0 0 10px -2px gray;
	-moz-box-shadow: 0 0 10px -2px gray;
	box-shadow: 0 0 10px -2px gray;
}

div.article.post {
	font-size: 14px;
	padding: 4px 6% 7%;
}
.post-head {
	border-bottom: 1px solid #888888;
	padding-bottom: 10px;
	margin: 30px 0;
}

div.article.post ul {
	list-style: inside disc;
}

div.article.post ul ul {
	font-size: 13px;
	text-indent: 20px;
	list-style: inside circle;
}

p.separator {
	border-bottom: 1px solid #BBBBBB;
    margin-bottom: 10px;
    padding-bottom: 8px;
	
	-webkit-box-shadow: 0 1px 1px -1px #DDDDDD;
	-moz-box-shadow: 0 1px 1px -1px #DDDDDD;
	box-shadow: 0 1px 1px -1px #DDDDDD;
}
label {
	width: 80px;
	display: inline-block;
	margin-top: 10px;
}
textarea#mensaje { height: 120px; overflow: auto; }
form.form-input input, form.form-input textarea{
	vertical-align: text-top;
	border-radius: 4px;
	background-color: #F5F5F5;
	border: 1px solid #bbb;
	padding: 4px 4px 4px 8px;
	color: #666;
	width: 94%;
	
	-webkit-box-shadow: 0 0 10px -5px #888888 inset;
	-moz-box-shadow: 0 0 10px -5px #888888 inset;
	box-shadow: 0 0 10px -5px #888888 inset;
}

/***  =ME
*******************************/
#me {
	border-radius: 100%;
	box-shadow: 0 0 10px -3px black;
	border: 2px solid #444;
	margin-left: 20px;
	display: inline-block;
	line-height: 0;
}
#me img {
	border-radius: inherit;
}


/***  =FOOTER SECTION  
*******************************/
div#footer {
	color: gray;
	background-color: white;
	overflow: hidden;
	width: 800px;
	height: 39px;
	position: relative;
	margin: 0 auto;
	z-index: 2;

	font-size: 14px;
	
	border-style: solid;
	border-color: #999;
	border-width: 1px 1px 0;

	border-radius: 4px 4px 0 0;
	
	-webkit-box-shadow: 0 0 10px -2px gray;
	-moz-box-shadow: 0 0 10px -2px gray;
	box-shadow: 0 0 10px -2px gray;
}

#footer div {
	padding: 12px;
}

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

.media {
	background-color: white;
	border-color: #999999 white #999999 #999999;
	border-radius: 4px 0 0 4px;
	border-style: solid;
	border-width: 1px;
	float: left;
	margin-top: 140px;
	padding: 6px 8px 12px;
	width: 2px;
}
.media a {
	background: url(../img/media.png) 0 0 scroll repeat transparent;
	display: inline-block;
	height: 20px;
	text-indent: -99999px;
	width: 20px;
	
	line-height: 40px;
	margin-left: 0;
	
	-webkit-transition:All .5s ease;
	-moz-transition:All .5s ease;
	-o-transition:All .5s ease;
	transition: All .5s ease;
}

.media > a:last-child { line-height: 10px; }

a.iii {
	color: #E1474E !important; 
}

a.telecoming {
	color: #58DBF2 !important;
}

#info_wrapper {
	display: block;
	width: 800px;
	margin: 0 auto;
	position: relative;
	z-index: 20;
	overflow: hidden;
}
#info {
	background-color: #fff;
	color: #999;
    border-color: white #999999 #999999;
    border-radius: 0 0 4px 4px;
    border-style: solid;
    border-width: 1px;
		
    display: inline-block;
    float: right;
    font-size: 13px;
    margin: -8px 30px 40px 0;
    padding: 8px 12px;

		cursor: pointer;
	
	-webkit-box-shadow: 0 4px 10px -4px gray;
	-moz-box-shadow: 0 4px 10px -4px gray;
	box-shadow: 0 4px 10px -4px gray;
	
	transition: All .5s ease;
	-webkit-transition:All .5s ease;
	-moz-transition:All .5s ease;
	-o-transition:All .5s ease;
}

#info:hover {
	margin-top: 0;
	margin-bottom: 33px;
	color: #555;
}

#mail { background-position: 0 -60px; }
#mail:hover { background-position: 100% -60px;  }
#github { background-position: 0 -80px; }
#github:hover { background-position: 100% -80px;  }
#twitter { background-position: 0 0; }
#twitter:hover { background-position: -100% 0; }
#facebook {  background-position: 0 -20px; }
#facebook:hover { background-position: 100% -20px; }
#gplus { background-position: 0 -40px; }
#gplus:hover { background-position: 100% -40px; }


/******************************
***  =MEDIA QUERIES
*******************************/ 

/* Devices smaller than 800px (800 width) gets fluid design and hides wai */
@media
screen and (max-width: 800px) {
	html, body, div#header, ul#nav-menu, div#wrapper {
		min-width: 0;
		width: 100%;
	}

	.media {
		border-radius: 0 4px 4px 0;
		border-color: #999 #999 #999 transparent;
		
		width: 20px;
		padding: 6px 4px 12px;
	}
	
	div.article.post {
		padding: 4px 6% 7% 10%;
	}
	
	div#content {
		border-width: 0 0 1px;
		padding: 140px 0 0;
		width: 100%;
	}
	div#info_wrapper {
		width: 100%;
	}	
	div#header {
		overflow: hidden;
	}
	#header img {
		height: 100%;
	}
	
	#logo {
		padding: 10px;
	}
		#logo h1 {
			float: left !important;
			display: block;
			font-size: 30px;
			clear: both;
		}
}

@media
screen and (max-device-width: 800px) {
	#nav-menu li {
		font-size: 16px;
	}
	#logo h1 {
			float: left !important;
			display: block;
			font-size: 20px;
			clear: both;
		}
}




/******************************
***  =SPECIAL FEATURES
*******************************/ 
.block {
	height: 80px;
}