/*
	FONTS
*/
@font-face {
    font-family: 'Titillium';
    src: url('titillium700.woff2') format('woff2'),url('titillium700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 300;
	src: url("nunito300.woff2") format('woff2'), url("nunito300.ttf") format('truetype');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400;
	src: url("nunito400.woff2") format('woff2'), url("nunito400.ttf") format('truetype');
}
/*
	HEADINGS, TITLES
*/
h1,h2,h3,h4,h5,h6{
	font-family:'Titillium', sans-serif;
	color:#FFFFFF;
	margin:1.7em 0 0.5em 0;
	font-weight:700;
	line-height:1em;
	text-transform:uppercase;
}
h1{
	font-size:2.5em;
}
h2{
	font-size:2.1em;
}
h3{
	font-size:2em;
}
h4{
	font-size:1.7em;
}
h5{
	font-size:1.5em;
}
h6{
	font-size:1.3em;
}
/*
	UTILS
*/
div.clear{
	clear:both;
	margin:0;
	padding:0;
	border:none;
	height:0 !important;
	overflow:hidden;
}
iframe{
	border:none;
	margin:0;
	padding:0;
	overflow:hidden;
}
.clickOverlay{
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	color:rgba(0,0,0,0);
	border:none;
	margin:0;
	padding:0;
	cursor:pointer;
	z-index:99;
}
span.bold{
	font-weight:400;
}
#resp_test{
	width:0;
	position:fixed;
	z-index:0;
}
/*
	BASIC PAGE STYLING AND POSITIONING
*/
html,body{
	border:none;
	margin:0;
	padding:0;
	color:#FFFFFF;
	font-weight:300;
	font-family:'Nunito',sans-serif;
	line-height:1.55;
	overflow-x:hidden;
}
html{
	overflow-y:scroll;
}
body{
	background-color:#0e0a41;
	font-size:0.9em;
}
#fragment{
	margin-top:6.2em;
}
/*
	NAV MENU
*/
#nav{
	background-color:#FFEEEE;
	background:linear-gradient(10deg, #EEDDDD 0%, #FFEEEE 100%);
	box-shadow:0 0 1em rgba(0,0,0,0.3);
	position:fixed;
	top:0;
	width:100%; height:4em;
	z-index:3;
	text-align:right;
	z-index:999;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none !important;
}
#logo{
	font-size:1.95em;
	line-height:2.1em;
	font-family:'Titillium', sans-serif;
	color:#000000;
	opacity:0.77;
	display:inline-block;
	width:auto;
	margin-right:2em;
	float:left;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:-0.01em;
}
#nav a{
	margin:0;
	padding:0;
	height:100%;
	line-height:4em;
	display:inline-block;
	text-align:center;
	color:#000000 !important;
	padding-left:1em;
	padding-right:1em;
	text-decoration:none !important;
	font-family:'Titillium', sans-serif;
	font-size:1em;
	font-weight:700;
	text-decoration:none !important;
	transition: background-color 0.2s;
	text-transform:uppercase;
}
#nav a:hover{
	background-color:rgba(0,5,20,0.3);
}
#nav a:active{
	background-color:rgba(0,5,20,0.4);
}
/*
	FOOTER
*/
#footer{
	margin-top:10em;
	padding:2em 0;
	background-color:#203b47;
	box-shadow:0 0 1em rgba(0,0,0,0.6);
	font-weight:400;
}
/*
	PAGE CONTENT AND STYLE
*/
div.stripe{
	width:100%;
	display:block;
	clear:both;
	position:relative;
}
div.content{
	width:95%;
	max-width:70em;
	margin-left:auto;
	margin-right:auto;
	clear:both;
	position:relative;
}
div.section{
	clear:both;
}
p{
	text-align:justify;
	margin:0.8em 0;
	padding:0;
	clear:both;
}
a{
	color:#FFFFFF;
	font-weight:400;
	text-decoration:underline;
	cursor:pointer !important;
}
h2 a{
	text-decoration:none;
}
h2 a:hover, h2 a:active{
	text-decoration:underline;
}
img.icon, img.articleIcon{
	float:left;
	display:inline-block;
	width:6em;
	height:auto;
	margin:0 1em 0.1em 0;
	cursor:pointer;
}
a.downloadButton{
	display:inline-block;
	font-size:1.32em;
	padding:0.3em 0.75em;
	margin:0.5em 0.8em 0.5em 0;
	border:0.1em solid #FFFFFF;
	border-radius:0.12em;
	transition: all 0.2s;
	text-decoration:none;
	font-weight:400;
}
a.downloadButton:hover, a.downloadButton:focus, a.downloadButton:active{
	color:#000000 !important;
	background-color:#FFFFFF !important;
	font-weight:400;
}
a.downloadButton > *{
	margin-bottom:0.35rem;
}
a.downloadButton > div.small{
	font-size:0.67em; 
	line-height:1em;
	font-weight:300;
}
/*
	ARTICLE LIST
*/
span.date{
	margin-left:1em;
	display:inline-block;
	float:right;
	color:#AAAAAA;
}
div.compactList{
	margin:1em 0;
}
div.compactList div.stripe{
	padding:0.4em 0;
	margin-bottom:1em;
}
div.basicArticleEntry{
	position:relative;	
}
div.basicArticleEntry h2{
	margin:0 0 0.4em 0;
}
div.description{
	display:inline;
	width:auto;
}

/*
	COMMENTS
*/
#article_comments textarea{
	background-color:rgba(255,255,255,0.7);
	width:100%;
	border:none;
	margin:0;
	padding:0;
	resize: vertical;
	overflow:auto;
}
#article_comments input[type="text"]{
    background-color:rgba(255,255,255,0.7);
    display:block;
    border:none;
    margin-bottom:0.5em;
}
#article_comments textarea:focus, #article_comments textarea:active, #article_comments input[type="text"]:focus, #article_comments input[type="text"]:active{
	background-color:#FFFFFF;
}
#article_comments input[type="button"]{
	display:block;
	min-width:8em;
	margin:0.5em 0 0 auto;
}
#article_comments .loading{
	width:3em;
	height:3em;
}
#article_comments div.commentsArea{
	margin-top:0.2em;
}
#article_comments div.comment{
	padding:0.6em 0;
	margin-bottom:0.3em;
	border-bottom:1px solid #606060;
	font-size:1em;
}
#disqus_thread{
	background-color:#FFFFFF;
	color:#000000;
	padding:1em;
}
#disqus_thread a{
	color:#000000;
}
/*
	SHARE LINKS
*/
a.share{
	display:inline-block;
	width:2em;height:2em;
	background-size:100% 100%;
	margin:0.15em;
	vertical-align:middle;
}
.share_fb{
	background-image:url('fb.png');
}
.share_tw{
	background-image:url('tw.png');
}
.share_gplus{
	background-image:url('gplus.png');
}
input[type="text"].share{
	display:inline-block;
	margin:0.2em;
	width:8em;
	height:1.5em;
}
/*
	MUH RESPONSIVE
*/
@media all and (min-width:180em){
	body{
		font-size:0.9vw;
	}
}
@media all and (min-width:150em){
	body{
		font-size:0.65vw;
	}
}
@media all and (max-width:72em) and (min-width:50em){
	div.content{
		width:95%;
	}
	#nav div.content{
		width:100%;
	}
	#logo{
		margin-left:0.5em;
	}
}
@media all and (max-width: 50em){
	html,body{
		overflow-x:hidden;
	}
	#nav{
		box-shadow:0 0 0.5em rgba(0,0,0,0.4);
		text-align:center;
		font-size:0.8em;
		margin-bottom:1em;
		overflow:hidden;
		max-height:4em; height:auto;
		transition:max-height 0.4s ease-out;
	}
	#nav a{
		font-size:1.2em;
		letter-spacing:0;
		display:block !important;
	}
	#nav.expanded{
		max-height:30em;
	}
	#fragment{
		margin-top:5em;
	}
	#nav a, #logo{
		width:100%;
		height:auto;
		padding:0;
	}
	#logo{
		background:url('menu.png');
		background-repeat:no-repeat;
		background-size: auto 2.1em;
		background-attachment: fixed;
	}
	#nav a{
		border-top:1px solid rgba(0,0,0,0.3);
		clear:both;
		line-height:2.5em;
	}
	div.content{
		max-width:95%;
	}
	#nav div.content{
		max-width:100%;
		width:100%;
	}
	.resp_hidden{
		display:none !important;
	}
	#resp_test{
		width:1em;
	}
	a.downloadButton{
		display:block;
		margin:0.5em;
	}
}
@media all and (min-width: 50em){
	.resp_only{
		display:none !important;
	}
}
@media all and (max-width: 30em){
	a.downloadButton{
		font-size:1em;
	}
}
@media all and (max-width: 25em){
	#nav{
		font-size:0.7em;
	}
	#page{
		top:2.95em;
		height:calc(100vh - 2.5em);
	}
}
