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

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html, button, input, select, textarea { font-family: sans-serif; color: #777; }
body { margin: 0; font-size: 1em; line-height: 1.4; font-weight: 300; }

a { color: #1949d1; }
a:visited { color: #1949d1; }
a:hover { color: #1949d1; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _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; }

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; clear: both; }

label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
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, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }

/*==== CUSTOM STYLES ====*/


body { padding: 0 2em; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; background: rgb(226, 226, 226); color: #222; }

#page { max-width: 1000px; margin: 2em auto; background: none repeat scroll 0 0 #FFFFFF; }
#branding { border-top: 2px solid #BBBBBB; position: relative; z-index: 9999; border-bottom: 10px solid black; }
#branding h1{ text-align: left; padding-left: 10%; }
#branding img {width: 100%}


#main { clear: both; padding: 1.625em 0 0 }
#main:after { display: block; content: ""; clear: both; }

#primary { float: left; margin: 0 -26.4% 0 0; width: 100% }
#content { width: 58.4%; margin: 0 34% 0 7.6%; }

#secondary { float: right; margin-right: 7.6%; width: 18.8% }

#sidebar { clear: both; margin: 0 0 2.2em; vertical-align: top; padding-top: 10px; }
#sidebar fieldset { margin-bottom: 20px; font-size: 0.9em; }
fieldset ul { margin-left: 0; padding-left: 0; margin-top: 5px; }
fieldset li ul { padding-left: 15px; }
fieldset li { list-style: none; }
#sidebar { margin-top: 10px; }
#sidebar form { float: left; clear: both; margin-bottom: 25px; }
#sidebar input { font-size: 85%; border: 1px solid #aaa; border-radius: 3px; padding: 3px; }
#sidebar input[type="text"] { width: 100%; }
#sidebar input[type="submit"] { padding: 3px 5px; color: #222; }
#sidebar div { text-align: left; margin-bottom: 20px; font-size: 0.85em; }

.profile { text-align: left; }
.profile img{ float: left; margin-right: 15px; padding: 2px; border: 1px solid rgba(0, 0, 0, 0.2); }

.title h2 { font-size:2em;padding: 0; margin-top: 0; line-height: 1} 
.title a { color: #222; text-decoration: none; font-size: 85%; }
.title a:hover { color: rgb(25, 130, 209); }

.date { font-size: 0.75em; letter-spacing: 1px; color: #666; text-transform: uppercase; }
.post { margin-bottom: 5px; }
.post p { line-height: 1.6em; margin-bottom: 20px; font-size: 0.9em; }
.post img { max-width: 97.5%; height: auto; }
.tags { text-align: right; }

legend { font-size: 0.8em; font-weight: 500; color: #666; text-transform: uppercase; margin-bottom: 10px; }
legend a { }
legend a:hover { }
legend img { font-weight: bold; }
pre { overflow:	auto; border-width: thin; padding: 5px 10px; }

.social { margin-top: 20px; margin-bottom: 40px; }
iframe { max-width: 100% !important;border: none;border-width:0px; }

  @media only screen and (max-width: 900px) {
    .profile img{ float: none; display: block; }
  }

  /* Mobile */
  @media only screen and (max-width: 767px) {
    body { font-size: 16px; font-size: 1.2rem; line-height: 1.4; -webkit-text-size-adjust: none; }
    #primary, #secondary { float: none; max-width: 90%; min-width: 0; width: auto !important; }
    #content{ margin: 0; width: 100%; }
    #page { max-width: 100% }
    #sidebar form { float: none; }
  }
  @media handheld, only screen and (max-width: 767px) {
    body, #content, #secondary { width: 100%; float: none; padding: 0; margin: 0; min-width: 0; }
    #content, #secondary { padding: 0 15px; clear: both; }
  }
a.skip-main {
  left:-999px;
  position:absolute;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
  color: #fff;
  background-color:#000;
  left: auto;
  top: auto;
  width: 30%;
  height: auto;
  overflow:auto;
  margin: 10px 35%;
  padding:5px;
  border-radius: 15px;
  border:4px solid yellow;
  text-align:center;
  font-size:1.2em;
  z-index:999;
}
