@font-face {
    font-family: 'Androgyne';
    src: url('androgyne_tb-webfont.eot');
    src: url('androgyne_tb-webfont.eot?#iefix') format('embedded-opentype'),
         url('androgyne_tb-webfont.woff') format('woff'),
         url('androgyne_tb-webfont.ttf') format('truetype'),
         url('androgyne_tb-webfont.svg#AndrogyneRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@-webkit-keyframes pulse {
 0% {
   box-shadow: 0px 0px 55px #00eeff;
 }
 50% {
   box-shadow: 0px 0px 35px #00eeff;
 }
 100% {
   box-shadow: 0px 0px 55px #00eeff;
 }
}

@-moz-keyframes pulse {
 0% {
   box-shadow: 0px 0px 55px #00eeff;
 }
 50% {
   box-shadow: 0px 0px 35px #00eeff;
 }
 100% {
   box-shadow: 0px 0px 55px #00eeff;
 }
}

/* Resets and best practice declarations */

* { margin: 0; padding: 0; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }
html { font-size: 100%; overflow-y: scroll; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
svg:not(:root) { overflow: hidden; }
label { cursor: pointer; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
textarea { overflow: auto; vertical-align: top; }
table { border-collapse: collapse; border-spacing: 0; }
::-moz-selection { background: #61bff2; color: #000; }
::selection { background: #61bff2; color: #000; }

/* begin main styles */

body {
	background: white url('body_bg.png') repeat top left;
	font-family: Androgyne, georgia, serif;
}

/* header */
#masthead {
	background: black url('bg.png') repeat top left;
	border-bottom: 3px solid #00a3d4;
	border-top: 3px solid #00a3d4;
	height: 200px;
	margin-bottom: 18px;
	overflow: visible;
	padding-bottom: 40px;
	width: 100%;
}

#masthead h1 {
	-moz-animation-duration: 3s;
	-moz-animation-iteration-count: infinite;
	-moz-animation-name: pulse;
	-moz-animation-timing-function: ease-in-out;
	-moz-border-radius: 75px;
	-moz-box-shadow: 0px 0px 55px #00eeff;
	-moz-transform: translateZ(0) rotate(-2deg);
	-ms-transform: translateZ(0) rotate(-2deg);
	-o-transform: translateZ(0) rotate(-2deg);
	-webkit-animation-duration: 3s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-name: pulse;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-border-radius: 75px;
	-webkit-box-shadow: 0px 0px 55px #00eeff;
	-webkit-transform: translateZ(0) rotate(-2deg);
	background-color: #222;
	background-image: -moz-linear-gradient(top, #222222, #111111);
	background-image: -ms-linear-gradient(top, #222222, #111111);
	background-image: -o-linear-gradient(top, #222222, #111111);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#111));
	background-image: -webkit-linear-gradient(top, #222222, #111111);
	background-image: linear-gradient(top, #222222, #111111);
	border-radius: 75px;
	box-shadow: 0px 0px 55px #00eeff;
	color: white;
	font-family: Androgyne, helvetica, arial, sans-serif;
	font-size: 6em;
	height: 150px;
	line-height: 150px;
	margin: 45px auto 0 auto;
	text-align: center;
	text-shadow: 0px 0px 9px #0073ff;
	transform: translateZ(0) rotate(-2deg);
	width: 800px;
}

#masthead h1:hover {
  cursor: default;
}

/* main content */
body > section {
  min-height: 600px;
}

article, body > section {
	-moz-border-radius: 12px;
	-moz-box-shadow: 0px 0px 20px rgba(0,0,0,0.6);
	-webkit-border-radius: 12px;
	-webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.6);
	background-color: #ffe;
	background-image: -moz-linear-gradient(top, #eee, #ffffff 40%, #ffffff);
	background-image: -ms-linear-gradient(top, #eee, #ffffff 40%, #ffffff);
	background-image: -o-linear-gradient(top, #eee, #ffffff 40%, #ffffff);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ffffff));
	background-image: -webkit-linear-gradient(top, #eee, #ffffff 40%, #ffffff);
	background-image: linear-gradient(top, #eee, #ffffff 40%, #ffffff);
	border-radius: 12px;
	box-shadow: 0px 0px 20px rgba(0,0,0,0.6);
	font-family: 'Lora', cambria, georgia, "times new roman", serif;
	font-size: 18px;
	line-height: 27px;
	margin: 0 auto 38px auto;
	max-width: 680px;
	padding: 10px 35px 15px 35px;
	text-shadow: 1px 1px 1px rgba(200,222,235,0.3);
}

article p, section p {
	margin: 10px;
	text-indent: 21px;
}

article a, section a {
	-moz-transition: color 0.22s ease-out;
	-ms-transition: color 0.22s ease-out;
	-o-transition: color 0.22s ease-out;
	-webkit-transition: color 0.22s ease-out;
	color: #009cee;
	transition: color 0.22s ease-out;
}

article a:hover, section a:hover {
  color: #006ac7;
}

article h1, section h1, article h1 a, section h1 a {
	color: #00a3d4;
	font-family: "Droid Sans", helvetica, arial, sans-serif;
	font-size: 32px;
	letter-spacing: -0.05em;
	line-height: 36px;
	margin: 8px 0 13px 0;
	padding: 0;
	text-shadow: 1px 1px 2px rgb(255,255,255), 2px 2px 3px rgba(0,0,0,0.5);
	text-decoration: none;
}

article h2 {
	font-family: georgia, serif;
	font-size: 13px;
	font-style: italic;
	line-height: 13px;
	margin-bottom: 25px;
	text-indent: 10px;
	text-shadow: 0px 0px 1px rgba(0,0,0,0.5);
}

article h2 a {
  color: black;
}

article img, article a img, section > img {
	-moz-box-shadow: 1px 2px 12px rgba(200,220,255,0.7);
	-webkit-box-shadow: 1px 2px 12px rgba(200,220,255,0.7);
	background: white;
	border: 0;
	box-shadow: 1px 2px 12px rgba(200,220,255,0.7);
	display: block;
	margin: 20px auto 30px auto;
	max-width: 90%;
	padding: 10px;
}

article img > figcaption {
	font-size: 14px;
	font-style: italic;
	padding: 5px;
	position: relative;
	text-align: center;
	top: 10px;
	width: 100%;
}

article a img {
	-moz-transition: -moz-box-shadow 0.22s ease-out;
	-ms-transition: box-shadow 0.22s ease-out;
	-o-transition: box-shadow 0.22s ease-out;
	-webkit-transition: -webkit-box-shadow 0.22s ease-out;
	transition: box-shadow 0.22s ease-out;
}

article a img:hover {
  -moz-box-shadow: 1px 2px 12px rgba(200,222,255,0.7), 0px 0px 20px #009ccc;
	-webkit-box-shadow: 1px 2px 12px rgba(200,222,255,0.7), 0px 0px 20px #009ccc;
	box-shadow: 1px 2px 12px rgba(200,222,255,0.7), 0px 0px 20px #009ccc;
}

article li {
  margin: 0 50px;
}

article ul li, section ul li {
  list-style-type: circle;
}

article blockquote {
  background:#f9f9f9;
  border-left:10px solid #ccc;
  margin:1.5em 10px;
  padding:.5em 10px;
  quotes:"\201C""\201D""\2018""\2019";
}

article blockquote:before {
  color:#ccc;
  content:open-quote;
  font-size:4em;
  line-height:.1em;
  margin-right:.25em;
  vertical-align:-.4em;
}

article blockquote p {
  display:inline;
}

article footer {
  text-align: center;
}

article footer a {
	-moz-border-radius: 5px;
	-moz-box-shadow: inset 0px 0px 7px rgba(0,0,0,0.6);
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	-webkit-border-radius: 5px;
	-webkit-box-shadow: inset 0px 0px 7px rgba(0,0,0,0.6);
	-webkit-transition: all 0.3s ease-out;
	background-color: #00708c;
	background-color: rgba(0,200,255,0.3);
	border-radius: 5px;
	box-shadow: inset 0px 0px 7px rgba(0,0,0,0.6);
	color: #002847;
	font-family: "Droid Sans", helvetica, arial, sans-serif;
	font-size: 1em;
	font-variant: small-caps;
	margin-right: 20px;
	padding: 2px 10px 4px 10px;
	position: static;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	transition: all 0.3s ease-out;
}

article footer a:hover {
	background-color: rgba(0,200,255,0.25);
	color: #0a3da3;
}

fieldset {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: white;
	border-radius: 5px;
	border: 0 solid transparent;
	margin: 1em auto;
	padding: 13px 20px 10px 20px;
	width: 400px;
}

#article fieldset {
  width: 600px;
}

legend {
	color: #111;
	font-family: 'Droid Sans', arial, serif;
	font-weight: bold;
	text-shadow: 1px 1px 3px #ccc;
}

label {
	color: #444;
	display: block;
	font-family: 'Droid Sans', arial, serif;
	font-weight: bold;
	text-indent: 40px;
	text-shadow: 1px 1px 3px #ccc;
}

label[for=status] {
	display: inline;
	margin-left: 40px;
}

#accesstoken label {
  display: inline;
}

#accesstoken fieldset {
	border: 1px solid #444;
	margin: 1em;
	width: auto;
}

#accesstoken input {
	display: inline;
	margin-left: 10px;
	margin-right: 15px;
}

#accesstoken input[type=submit] {
	display: inline;
	font-size: 14px;
	margin: 0;
	width: auto;
}

form ul li {
  list-style-type: none;
}

form p {
	-moz-border-radius: 10px;
	-webkit-background-clip: padding-box;
	-webkit-border-radius: 10px;
	background-color: #ffe;
	border-radius: 10px;
	border: 1px solid red;
	color: #222;
	font-family: 'Droid Sans', arial, serif;
	font-size: 0.9em;
	margin: 0 30px 15px 30px;
	padding: 10px 20px;
	text-align: center;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

form input {
	-moz-border-radius: 5px;
	-webkit-background-clip: padding-box;
	-webkit-border-radius: 5px;
	background-color: #fafafa;
	border-radius: 5px;
	border: 1px solid #666;
	display: block;
	font-size: 18px;
	height: 30px;
	margin: 5px auto 15px auto;
	padding: 5px 15px;
	width: 220px;
}

#article input[name=title] {
	max-width: 500px;
	width: 500px;
}

textarea {
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	display: block;
	margin: 5px auto 15px auto;
	max-width: 500px;
	padding: 5px 15px;
	width: 500px;
}

input, textarea {
	background-image: -moz-linear-gradient(top, #fff, #e8f3fa 1px, #fff 25px);
	background-image: -webkit-gradient(linear, left top, left 25, from(#fff), color-stop(4%, #e8f3fa), to(#fff));
	background-image: -webkit-linear-gradient(top, #fff, #e8f3fa 1px, #fff 25px);
}

input[type=submit], input[type=reset] {
	background: #ddd;
	font-family: 'Droid Sans', arial, serif;
	font-style: normal;
	margin: 2em auto 0 auto;
	text-shadow: 1px 1px 1px rgba(255,255,255,0.6);
	width: 100px;
}

input[type=submit]:hover, input[type=reset]:hover {
  border: 1px solid black;
}

input[type=submit]:active, input[type=reset]:active {
	background: #ccc;
	border-bottom: 1px solid black;
	border-left: 1px solid grey;
	border-right: 1px solid black;
	border-top: 1px solid grey;
}

.lititle {
  font-style: italic;
  list-style-type: none;
}

#modify {
  font-weight: bold;
  margin: 15px 0;
  font-family: "Droid Sans", arial, sans-serif;
  text-align: right;
}

#modify li {
  list-style-type: none;
}

#modify a {
  font-size: 0.8em;
  font-weight: normal;
}

#modify a:first-child {
  margin-left: 20px;
}

.attn {
  color: red;
}

.nukebutton {
  background-color: red;
  border-radius: 8px;
  color: white;
  display: block;
  margin: 10px auto;
  padding: 8px 25px;
  text-align: center;
}

#gallery div {
  display: inline-block;
  margin: 2%;
  padding: 2%;
  text-align: center;
  width: 42%;
}

#gallery div p {
  font-size: 0.9em;
  margin-top: 0;
  text-indent: 0;
}

#links a {
  display: block;
  font-family: "Droid Sans", arial, sans-serif;
  font-size: 1em;
  font-weight: normal;
  text-indent: 0;
  margin: 5px 15px 5px 25px;
}

#presence div {
  border-radius: 6px;
  width: 80%;
  padding: 8px 5%;
  margin: 15px auto 25px auto;
}

#presence div a {
  display: block;
  font-family: "DroidSans",arial,sans-serif;
  font-size: 0.8em;
  font-weight: bold;
  margin: 3px 0;
  text-align: right;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.22);
}

#presence div h2 {
  font-family: "Droid Sans",arial,sans-serif;
  font-weight: bold;
  line-height: 48px;
  margin-left: 32px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

#presence div p {
  font-size: 0.85em;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.35);
}

#presence .twitter {
  background: #c1deee url('http://hawkii.co.uk/social/twitter.png') 10px 10px no-repeat;
}

#presence .twitter h2 {
  color: #55b4f4;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8), 2px 2px 1px rgba(0,0,0,0.3);
}

#presence .lastfm {
  background: #b60300 url('http://hawkii.co.uk/social/lastfm.png') 10px 10px no-repeat;
  color: white;
}

#presence .lastfm p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

#presence .lastfm a {
  color: #ffe3eb;
}

#presence .lastfm a:hover {
  color: #eee5cd;
}

#presence .flickr {
  background: #e9e9e9 url('http://hawkii.co.uk/social/flickr.png') 10px 10px no-repeat;
}

#presence .flickr h2,
#presence .flickr a {
  color: #0063db;
}

#presence .flickr h2 span,
#presence .flickr a:hover {
  color: #d7177a;
}

#presence .delicious {
  background: #e9e9e9 url('http://hawkii.co.uk/social/delicious.png') 10px 10px no-repeat;
}

#presence .delicious h2,
#presence .delicious a {
  color: #3374d0;
}

#presence .delicious a:hover {
  color: black;
}

#presence .youtube {
  background: #dfdfdf url('http://hawkii.co.uk/social/youtube.png') 10px 10px no-repeat;
}

#presence .youtube h2 span {
  background-color: #d32d2d;
  border-radius: 5px;
  color: white;
  padding: 0 3px;
  text-shadow: none;
}

#presence .youtube a {
  color: #d32d2d;
}

#presence .youtube a:hover {
  color: black;
}

/* footer */
body > footer {
	background: #222;
	background: -moz-linear-gradient(top, #222222, #111111);
	background: -ms-linear-gradient(top, #222222, #111111);
	background: -o-linear-gradient(top, #222222, #111111);
	background: -webkit-gradient(linear, left top, left bottom, from(#222), to(#111));
	background: -webkit-linear-gradient(top, #222222, #111111);
	background: linear-gradient(top, #222222, #111111);
	color: black;
	font-family: Helvetica, arial, sans-serif;
	text-align: center;
	width: 100%;
	zoom: 1;
}

.message {
  background-color: #eee;
  border-radius: 8px;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  margin: 25px auto;
  padding: 10px;
  width: 90%;
}

#fContainer {
	margin: 10px auto;
	padding: 0;
	width: 900px;
}

#headlines, #ezcontact, #about {
	float: left;
	margin: 15px 1%;
	padding: 0;
	width: 31%;
}

#headlines, #ezcontact fieldset, #about div {
	-moz-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.4);
	-webkit-box-shadow: inset 0px 0px 15px rgba(0,0,0,0.4);
	box-shadow: inset 0px 0px 15px rgba(0,0,0,0.4);
}

#headlines {
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	background-color: #eee;
	border-radius: 7px;
	padding: 5px 0 10px 0;
}

#headlines h3 {
	font-weight: bold;
	text-align: left;
	text-indent: 10px;
}

#searchblog, #archive {
	display: box;
	margin: 0;
	text-align: left;
}

#searchblog {
  margin-bottom: 15px;
}

#searchblog input[type=text] {
	display: inline;
	font-size: 10px;
	height: 18px;
	margin: 8px 0 0 15px;
	padding: 0;
	width: 65%;
}

#searchblog input[type=submit],
#archive input[type=submit] {
	display: inline;
	font-size: 12px;
	height: 20px;
	line-height: 16px;
	margin: 0;
	padding: 2px 5px;
	vertical-align: middle;
	width: auto;
}

#archive select:first-child {
  margin: 0 0 0 15px;
}

#headlines h3 {
	color: #325580;
	font-size: 16px;
}

#headlines ul {
	display: inline;
	margin: 0 12px;
	text-align: left;
}

#headlines ul li {
	list-style: none;
	margin: 0 15px;
}

#headlines h4, #headlines h4 a {
	color: black;
	font-family: "Droid Sans", arial, sans-serif;
	font-size: 12px;
	font-weight: normal;
	margin-bottom: 4px;
	text-decoration: none;
}

#headlines h4 a:hover {
  color: #222;
}

#headlines h4 a:active {
 color: #444;
}

#ezcontact form {
	font-size: 16px;
	font-weight: bold;
	padding: 5px;
}

#ezcontact fieldset {
	background-color: #eee;
	margin: -5px auto 0 auto;
	width: 240px;
}

#ezcontact h3 {
	color: #325580;
	font-size: 16px;
	margin: -3px 0 9px 0;
	padding: 0;
	text-align: left;
}

#ezcontact input, #ezcontact textarea {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-color: #333;
	border-color: rgba(0,140,255,0.3);
	border-radius: 4px;
	margin: 5px;
	padding: 5px;
	width: 225px;
}

#ezcontact textarea {
	height: 80px;
	resize: none;
}

#ezcontact input[type=submit] {
	margin: 0 auto;
	width: 180px !important;
}

#ezcontact label {
	text-align: left;
	text-indent: 0;
}

#about div {
	-moz-border-radius: 4px;
	-webkit-background-clip: padding-box;
	-webkit-border-radius: 4px;
	background-color: #eee;
	border-radius: 4px;
	height: 65px;
	margin: 0px 5px 20px 5px;
	overflow: hidden;
	padding: 0;
	width: 260px;
}

#about div:hover h4 {
  margin-top: -65px;
}

#about div:hover p {
	-moz-transform: rotate(0);
	-ms-transform: rotate(0);
	-o-transform: rotate(0);
	-webkit-opacity: 1;
	-webkit-transform: rotate(0);
	opacity: 1;
}

#about h4 {
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	height: 65px;
	line-height: 65px;
	transition: all 0.3s linear;
	width: 260px;
}

#about p {
	-moz-border-radius: 4px;
	-moz-transform: rotate(-8deg);
	-ms-transform: rotate(-8deg);
	-o-transform: rotate(-8deg);
	-webkit-border-radius: 4px;
	-webkit-opacity: 0;
	-webkit-transform: rotate(-8deg);
	background-color: #ddd;
	border-radius: 4px;
	color: white;
	display: block;
	font-family: "Droid Sans",arial,sans-serif;
	font-size: 12px;
	height: 45px;
	margin: 0;
	opacity: 0;
	padding: 10px;
	text-align: left;
	text-indent: 0;
	transform: rotate(-8deg);
	width: auto;
}

#about div:nth-child(1) p { background-color: #005ca3; }
#about div:nth-child(2) p { background-color: #14507d; }
#about div:nth-child(3) p { background-color: #08426b; }

#social ul {
	list-style: none;
	margin: 0 auto;
}

#social ul li {
	display: inline-block;
	margin: 10px 9px;
}

#social ul li img {
  vertical-align: middle;
}

#social a img {
	-moz-transition: all 0.3s linear;
	-ms-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;
}

#social a:hover img {
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
}

#fContainer > p {
	clear: both;
	color: white;
	font-family: Androgyne, arial, sans-serif;
	text-align: center;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

footer > nav {
  background: #242424;
}

footer > nav ul {
	background-image: -moz-linear-gradient(top, #242424, #484848 50%, #242424);
	background-image: -ms-linear-gradient(top, #242424, #484848 50%, #242424);
	background-image: -o-linear-gradient(top, #242424, #484848 50%, #242424);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#242424), to(#242424), color-stop(.6,#484848));
	background-image: -webkit-linear-gradient(top, #242424, #484848 50%, #242424);
	background-image: linear-gradient(top, #242424, #484848 50%, #242424);
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
}

footer > nav ul li {
	display: inline;
	margin: 0;
	padding: 0;
}

footer > nav ul li a {
  color: white;
	display: inline-block;
	font-family: 'Droid Sans', arial, sans-serif;
	font-weight: bold;
	margin: 0;
	padding: 8px 0;
	width: 90px;
}

footer > nav ul li a:hover {
  color: #ddd;
}

footer > nav ul li a:active {
  color: #bbb;
}
/* END MAIN STYLES */


/* Media Queries */

@media only screen and (min-width: 481px) and (max-width: 810px) {
  #masthead {
    height: 100px;
    padding-bottom: 20px;
  }

  #masthead h1 {
    -moz-border-radius: 35px;
    -moz-box-shadow: 0px 0px 25px #00eeff;
    -webkit-border-radius: 35px;
    -webkit-box-shadow: 0px 0px 25px #00eeff;
    border-radius: 35px;
    box-shadow: 0px 0px 25px #00eeff;
    font-size: 3em;
    height: 75px;
    line-height: 75px;
    margin-top: 23px;
    width: 400px;
  }
  
  article, body > section {
    max-width: 445px;
    padding: 10px 10px 15px 10px;
  }

  #article fieldset {
    width: 400px;
  }

  #article input[name=title], textarea {
    max-width: 350px;
    width: 350px;
  }

  #gallery div {
    width: 92%;
  }
  
  #presence div h2 {
    margin-left: 40px;
  }
}

@media only screen and (min-width: 481px) and (max-width: 959px),
only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  body > footer,
  #fContainer {
    width: 100%;
  }

  #about {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  #about div {
    float: left;
    height: 80px;
    margin: 0 1%;
    padding: 0;
    width: 31%;
  }
  
  #about div:hover h4 {
    margin-top: -80px;
  }
  
  #about h4 {
  height: 80px;
  line-height: 80px;
  width: 100%;
  }
  
  #about p {
    height: 65px;
    font-size: 10px;
  }
  
  #ezcontact, #headlines {
    margin-left: 1%;
    margin-right: 1%;
    padding-left: 1%;
    padding-right: 1%;
    width: 46%;
  }
  
  #headlines {
    clear: both;
    margin-top: 20px;
  }
  
  #ezcontact {
    margin-left: 0;
    padding: 0;
  }

  #ezcontact fieldset {
    margin: 0;
    padding-left: 3%;
    padding-right: 3%;
    width: 100%;
  }
  
  #ezcontact input, #ezcontact textarea {
    width: 90%;
  }
  
  #archive select:first-child {
    margin-left: 15px;
  }
}

@media only screen and (max-width: 480px) {
  #masthead {
   border-width: 2px;
   height: 88px;
   margin: 0;
   padding: 0;
   width: 100%;
  }

  #masthead h1 {
   -moz-border-radius: 16px;
   -moz-box-shadow: 0px 0px 20px #00eeff;
   -moz-transform: rotate(-1deg) translateZ(0);
   -ms-transform: rotate(-1deg) translateZ(0);
   -o-transform: rotate(-1deg) translateZ(0);
   -webkit-border-radius: 16px;
   -webkit-box-shadow: 0px 0px 20px #00eeff;
   -webkit-transform: rotate(-1deg) translateZ(0);
   border-radius: 16px;
   box-shadow: 0px 0px 20px #00eeff;
   font-size: 40px;
   height: auto;
   line-height: 40px;
   text-align: center;
   margin: 18px 3% 0 3%;
   padding: 7px 18px 6px 12px;
   text-shadow: 0px 0px 5px #0073ff;
   transform: rotate(-1deg) translateZ(0);
   width: 80%;
  }
  
  article, body > section {
   -moz-box-shadow: 0px 0px 5px rgba(0,0,0,0.6);
   -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.6);
   box-shadow: 0px 0px 5px rgba(0,0,0,0.6);
   margin: 25px 2%;
   padding: 10px;
   width: 90%;
  }

  body > section {
    min-height: 30px;
  }
  article h1, section h1 {
   font-size: 24px;
  }
  article p, section p {
   font-size: 14px;
   line-height: 19px;
  }
  article img, article a img {
   max-width: 90%;
  }
  
  fieldset, #article fieldset {
    padding-left: 12px;
    padding-right: 12px;
    width: 90%;
  }
  
  #article fieldset {
    width: 90%
  }
  
  label {
    text-indent: 20px;
  }
  
  label[for=status] {
    margin-left: 20px;
  }
  
  input, #article input[name=title] {
    font-size: 14px;
    margin: 5px;
    padding: 2px 4px;
    width: 90%;
  }
  
  textarea {
    max-width: 90%;
    width: 90%;
  }
  
  #accesstoken input {
    width: 75%;
  }

  #gallery div {
    width: 92%;
  }

  #presence div h2 {
    margin-left: 48px;
  }
  
  body > footer {
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
  }

  #fContainer {
    width: 320px;
  }

  #headlines, #ezcontact, #about {
    margin: 10px;
    padding: 0;
    width: 300px;
  }
  
  #headlines {
    padding: 10px 0;
  }

  #ezcontact form {
    padding: 0;
  }

  #ezcontact fieldset {
    width: 260px;
  }

  #about div {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    margin: 10px auto 10px auto;
    text-align: center;
    text-indent: 0;
    width: 300px;
  }

  #social {
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    margin: 0;
    padding: 10px;
    width: 280px;
  }

  #social ul {
    margin: 0 20px;
  }

  footer > nav {
    background: transparent;
    margin: 0 auto;
    width: 300px;
  }

  footer > nav ul {
    background: none;
    text-align: center;
  }

  footer > nav ul li {
    color: #444;
    display: inline;
    text-align: left;
    text-indent: 15px;
  }

  footer > nav ul li a {
    color: #eee;
    line-height: 18px;
  }
}

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}