/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/*
 * Base Style Sheet - Reduces inconsistencies across all browsers
 * Stripped down and improved collection of best practises
 * To avoid redundant code it sets new default values instead of baseline defaults and re-resetting them later
 * Thanks to HTML5 Boilerplate, Yahoo! User Interface (YUI) Library, Normalize.css
 */


/* Useful Snippets
----------------------------------------------------------------------------------------------------*/

/* Force vertical scrollbar, force body height to fit at least the browser window, prevent iOS text size adjust on device orientation change */
html {
	overflow-y: scroll;
	min-height: 100%;
	-webkit-text-size-adjust: 100%;
}

/* Create a stacking context to prevent z-index issues */
body { position: relative; }

/* Remove outline when clicking links: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

/* Removes scrollbar in IE */
textarea { overflow: auto; }

/* Remove background from selected images */
img::selection { background: transparent; }
img::-moz-selection { background: transparent; }

/* Remove borders */
fieldset,
img,
iframe { border: 0; }

/* Consistency of cursor style, Corrects inability to style clickable 'input' types in iOS */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	cursor: pointer;
	-webkit-appearance: button;
}

button[disabled],
input[disabled] { cursor: default; }

/* Removes inner padding and border in FF3+ */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}


/* HTML5 display definitions
----------------------------------------------------------------------------------------------------*/

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section, summary { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* New Base Values
----------------------------------------------------------------------------------------------------*/

body { margin: 0; }

/* Block Space */
p, hr,
ul, ol, dl,
blockquote, pre,
fieldset, figure { margin: 15px 0; }

h1, h2, h3, h4, h5, h6 { margin: 25px 0 15px 0; }

/* Lists */
ul, ol, dl { padding-left: 30px }
dd { margin-left: 40px; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: normal; }

h1 { font-size: 36px; line-height: 36px; }
h2 { font-size: 24px; line-height: 24px; }
h3 { font-size: 18px; line-height: 18px; }
h4, h5, h6 { font-size: 16px; line-height: 16px; }

/* Links */
a, a:hover { text-decoration: none; }

/* Text-level Semantics */
b, strong { font-weight: bold; }

small { font-size: 11px; }

ins { text-decoration: none; }
del { text-decoration: line-through; }

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}
dfn[title] { font-style: normal; }

/* Horizontal Rule */
hr {
	display: block;
	height: 1px;
	padding: 0;
	border: 0;
	border-top: 1px solid;
}

/* Quotes */
q, blockquote {
	quotes: '\201C' '\201D' '\2018' '\2019';
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
}
	
blockquote {
	padding: 0 20px;
	font-size: 16px;
	line-height: 22px;
}

blockquote:before { content: '\201C'; }
blockquote:after { content: '\201D'; }

/* Code */
code, pre { font-family: "Courier New", Courier, monospace; }

code { word-spacing: -2px; }

pre {
	padding: 10px;
	font-size: 12px;
	line-height: 18px;
	white-space: pre-wrap;
	word-wrap: break-word;
}

/* Tables */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

th, td { padding: 1px; }

/* Forms */
input, select { vertical-align: middle; }

select, input, textarea, button { font: 12px Arial, sans-serif; }

form, textarea { margin: 0; }
legend, fieldset, input { padding: 0; }

textarea,
input[type='text'],
input[type='password'],
select { padding: 2px; }
select { line-height: 19px; } /* Needed for Safari */

button,
input[type='button'],
input[type='submit'] { padding: 2px 3px; }


/* Base Values
----------------------------------------------------------------------------------------------------*/

/* Fonts */
body,
input, select, textarea,
.wk-twitter-single .content,
[data-tip]:after { font-family: 'AbelRegular', sans-serif; }


#top-a .module-title,
.skills li > span { font-family: 'GearedSlabRegular', sans-serif; }

h1,
#stats li > div span { font-family: 'GearedSlabExtrabold', sans-serif; }


@media (max-width: 767px) { .skills li > span { font-family: 'AbelRegular', sans-serif; } }

/* HTML Elements */
body {
	font-size: 17px;
	line-height: 22px;
	color: rgba(255,255,255,0.5);
}

ul, ol, dl, p { margin: 0; padding: 0; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { margin: 0; text-transform: uppercase; }
h1 { margin: 30px 0 5px 0; line-height: 50px; font-size: 50px; }
h2 { margin: 0; line-height: 27px; font-size: 27px; }
h3 { font-size: 28px; }
h4 { font-size: 23px; }

hgroup { text-shadow: 0 1px 1px rgba(0,0,0,0.2); }

input,
select,
textarea {
	border: 1px dashed rgba(255,255,255,0.3);
	outline: none;
	border-radius: 3px;
	background-color: rgba(255,255,255,0.05);
	box-shadow: 0 1px 2px rgba(0,0,0,0.4);
	color: rgba(255,255,255,0.4);
	font-size: 15px;
	line-height: 15px;
	text-shadow: 0 1px 0 rgba(0,0,0,0.3);
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
	border-color: rgba(255,255,255,0.3);
	background-color: rgba(0,0,0,0.4);
	color: rgba(255,255,255,1);
}

form input[type="submit"] {
	padding: 4px 15px;
	border: 1px solid rgba(0,0,0,0.6);
	border-bottom-color: rgba(0,0,0,0.7);
	box-shadow:
		0 1px 0 rgba(255,245,178,0.4) inset,
		0 2px 4px rgba(0,0,0,0.3);
	text-shadow: 0 1px 0 rgba(0,0,0,0.2);
	line-height: 17px;
	text-transform: uppercase;
	text-align: center;
}

form input[type="submit"]:hover {
	background: rgba(255,255,255,0.4);
	background: -moz-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(170,170,170,0.4) 100%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(170,170,170,0.4) 100%);
	background: -ms-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(170,170,170,0.4) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,0.4) 0%, rgba(170,170,170,0.4) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0.4) 0%, rgba(170,170,170,0.4) 100%);
    background-clip: padding-box;
    color: rgba(255,255,255,1);
}

form input[type="submit"]:focus {
	border-color: rgba(0,0,0,0.6);
	border-top-color: rgba(0,0,0,1.0);
	background: rgba(0,0,0,0.5);
	background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.4) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.4) 100%);
	background: -ms-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.4) 100%);
	background: -o-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.4) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(20,20,20,0.4) 100%);
    background-clip: padding-box;
	box-shadow:
		0 2px 2px rgba(0,0,0,0.3) inset,
		0 1px 0 rgba(255,255,255,0.08);
}