/*
TEMPLATE:	Poliz.es
DATE:		Jan 2015
AUTHOR:		Miguel Poliz
*/

/* ============================= BASIC FORMAT ============================= */
html, body {
	height: 100%;
    margin: 0;
}
body {
	margin: 0;
	/*background-color: #252525;*/	
	background-color:rgba(37, 37, 37, 1);
	background-image: url('../img/bg1.jpg');
	background-repeat: no-repeat;
    background-position: right;
    /*background-size: auto 100%;*/
	background-size: cover;
	font-family: 'Open Sans', sans-serif;
	color: #CCC;
}
*:focus, .btn:focus {
    outline: none!important;
}
/* ============================= ASIDE / NAVIGATION ============================= */
nav .navContainer {
    width: 100%;
    /*max-width: 1050px;*/
    margin: 0px auto;
	box-sizing: border-box;
    padding: 0px 16px;
}
nav .logo {
    float: left;
    margin: 20px 0px 16px 0px;
    width: 170px;
    pointer-events: all;
    cursor: pointer;
    letter-spacing: 0.8px;
    font-size: 1.5em;
    line-height: 28px;
}
nav ul {
    float: right;
    margin: 0px;
    position: relative;
    padding: 0px;
    pointer-events: all;
    cursor: pointer;
}
nav ul, nav ol {
    list-style: none;
    list-style-image: none;
}
nav li {
    float: left;
    padding: 0px 16px;
    text-transform: uppercase;
    font-size: 14px;
	line-height: 5em;
}
nav ul li a:hover, nav ul li a:focus{
	text-decoration:none;
	border:none;
	color: #3498db!important;
}
nav ul li.navIndicator {
    position: absolute;
    pointer-events: none;
    bottom: 16px;
    left: 16px;
    height: 4px;
    width: 0px;
    background: #3498db;
    margin: 0px;
    padding: 0px;
	
	/*{ position: absolute; bottom: -2px; left: 0; width: 100px; height: 2px; background: #fe4902; }*/
}
section{
	height: 100%;
}
/* ============================= MAIN LAYOUT ============================= */
.table-wrapper{
	display: table;
	height: 100%;
	width: 502px;
	margin-left: 100px;
}

.table-center{
	display: table-cell;
	vertical-align: middle;
}
.wrapper{
	overflow: auto;
	position: absolute;
	width: 100%;
	height: 100%;
	z-index:-1;
}
h1,
h2,
p {
	color: white;
}

h1,
h2 {
	font-weight: 300;
}

h1 {
	text-align: center;
	font-size: 100px;
	margin-top: 0px;
	margin-bottom: 40px;
	letter-spacing: 3px;
}
h1::selection{background: none;}
h1::-moz-selection{background: none;}
h2::selection{background: none;}
h2::-moz-selection{background: none;}

h2 {
	font-size: 40px;
	color: #a1a2a5;
	border-top: 1px solid #a1a2a5;
	margin-top: 20px;
	margin-bottom: 30px;
	padding-top: 30px;
}
.name-light{font-size:120%; color:#ecf0f1!important;}
.name-light::selection{color:#3498db!important;}
.name-light::-moz-selection{color:#3498db!important;}
.surname{font-size:120%; color: #3498db!important;}
.surname::selection{color:#ecf0f1!important;}
.surname::-moz-selection{color:#ecf0f1!important;}
header.top-header h3{
	margin-top: 15px;
	margin-bottom: 15px;
}
.title-name{ margin-left: 0.5em;}
.title-center{
	position: absolute;
	width: 100%;
	text-align: center;
	left: 0;
	z-index:-1;
}
.table-center h3 span.flag_red::selection{background:red;}
.table-center h3 span.flag_red::-moz-selection{background:red;}
.table-center h3 span.flag_yellow::selection{background:yellow; color:black;}
.table-center h3 span.flag_yellow::-moz-selection{background:yellow; color:black;}
p { 
	font-weight: 300;
	font-size: 22px;
	line-height: 2em;
	color: #a1a2a5;
}

a {
	color: white;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	border-bottom: 1px solid currentColor;
}
a.no_underline:hover {
	border-bottom: 0px;
	text-decoration: none;
}

a.feedly,
a.feedly:visited,
a.feedly:hover {
	color: #29b14b;
}

a.map,
a.map:visited,
a.map:hover {
	color: #e94b88;
}

a.feed,
a.feed:visited,
a.feed:hover {
	color: #f39c12
}

a.linkedin,
a.linkedin:visited,
a.linkedin:hover {
	color: #0081c1;
}

a.twitter,
a.twitter:visited,
a.twitter:hover {
	color: #2aa8e0;
}
@media screen and (max-width: 1500px) {
	body {
    	/*background-position: top right;
        background-size: 100%; */
    }
}
@media screen and (max-width: 1270px) {
	body {
    	/*background-image: none;*/
    }
    .table-wrapper {
		margin: 0px auto 0px auto;
	}
}

@media screen and (max-width: 700px) {
	body {
    	/*background-image: none;
		background-position: top;
		background-size: 100%;*/
    }
    .table-wrapper {
		margin: 0px auto auto auto;
		height: 100%;
		width: 400px;
	}
	.table-center {
		display: table-cell;
		vertical-align: middle;
	}
	h1 {
		text-align: center;
		font-size: 80px;
		margin-top: 20px;
		margin-bottom: 30px;
	}
	h2 {
		font-size: 30px;
		margin-bottom: 30px;
	}
	p {
		font-size: 18px;
	}
	/*.title-name{font-size:65%;}*/
	/*.name-light{display: none;}
	.surname{display: none;}
	.surname:after{ content:'mp';}*/
	/*aside div.media{text-align: left;}
	aside div.media span.media-heading{font-size: 3em;}
	
	a.icon{right:1em!important;}*/
	
	aside div.media div.profile-img{ 
		width: 4em; 
		height: 4em;
		background: url(https://lh6.googleusercontent.com/-o0fJ8Fbhez8/AAAAAAAAAAI/AAAAAAAAOLk/htYTEXAHsNc/photo.jpg?sz=60) no-repeat;
	}
	aside div.media span.media-heading, 
	aside nav ul li a {font-size: 2.5em;}
	.footer-message{display:none;}
}

@media screen and (max-width: 440px) {
	body {
    	/*background-image: none;
		background-position: top;
		background-size: 100%;*/
    }
    .table-wrapper {
		margin: 0px auto auto auto;
		height: 100%;
		width: 90%;
	}
	.table-center {
		display: table-cell;
		vertical-align: middle;
	}
	h1 {
		text-align: center;
		font-size: 80px;
		margin-top: 20px;
		margin-bottom: 30px;
	}
	h2 {
		font-size: 30px;
		margin-bottom: 30px;
	}
	p {
		font-size: 18px;
	}
	header.top-header span{font-size:85%!important;}
	header.top-header span.title-center{line-height:1.5;}
	aside div.media div.profile-img{ 
		width: 4em; 
		height: 4em;
		background: url(https://lh6.googleusercontent.com/-o0fJ8Fbhez8/AAAAAAAAAAI/AAAAAAAAOLk/htYTEXAHsNc/photo.jpg?sz=60) no-repeat;
	}
	aside div.media span.media-heading, 
	aside nav ul li a {font-size: 2em;}
	.footer-message{display:none;}
}
