html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  background-color: #fafafa !important;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

input {
  autocomplete: off !important;
  autocorrect: off !important;
  autocapitalize: off !important;
}

hr {
  border: 0;
  height: 2px;
  background-image: linear-gradient(to right, #e44d26, rgba(0, 0, 0, .25), rgba(0, 0, 0, 1), rgba(0, 0, 0, .25), #e44d26);
  box-shadow: 0px 1px 0px #F16529, 0px -1px 0px #F16529;
  display: block;
  margin: 1em 0px 1.5em 0px;
  padding: 0;
}

strong {
  color: #000033 !important;
}

small {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

input, textarea {
  max-width: 100%
}

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

body {
  font: 15px/25px Arial;
  -webkit-font-smoothing: antialiased;
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}

.header-container {
  border-bottom: 4px solid #e44d26;
  background-image: url('../imgs/pattern1.png') !important;
  background-attachment: fixed !important;
}

.footer-container,
.main aside {
  border-top: 4px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
  background: #f16529;
}

.main aside a {
  color: #fff !important;
}

@font-face {
  font-family: 'Animales Fantastic';
  src: url('http://pyrefox.com/fnts/Animales%20Fantastic.otf');
  src: local('Animales Fantastic'), url('http://pyrefox.com/fnts/Animales%20Fantastic.otf') format('opentype');
}

@font-face {
  font-family: 'Calligrap421';
  src: url('http://pyrefox.com/fnts/Font%20-%20TrueType%20-%20Calligraphic%20421%20BT.ttf');
  src: local('Calligrap421'), url('http://pyrefox.com/fnts/Font%20-%20TrueType%20-%20Calligraphic%20421%20BT.ttf') format('truetype');
}

.hi {
  letter-spacing: 2px;
  font-family: 'Calligrap421';
  float: left;
  font-size: 30px;
  line-height: 32px;
  font-weight: bold;
  text-align: center;
  margin: 6px 10px 0 0;
  text-shadow: 0px 1px #000, 1px 0px, 1px 1px #000;
}

.title {
  letter-spacing: 1px;
  font-weight: bold;
  padding-top: 15px;
  margin-top: 0px;
  margin-bottom: 0px !important;
  text-shadow: -1px -1px 1px #000033, 1px 1px 2px #000033;
}

.title strong {
  margin-right: -5px;
  font-family: Calligrap421;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 40px;
  vertical-align: super;
  text-shadow: 0px 1px #fff, 1px 0px, 1px 1px #fff, -1px -1px 1px #000033, 1px 1px 2px #000033;
}

.title a {
  color: #FFA500;
  font-family: 'Animales Fantastic';
  text-decoration: none !important;
  font-size: 38px;
  letter-spacing: 0px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav a {
  display: block;
  padding: 5px 0;
  box-shadow: inset 1px 1px 0px 0px #ff920a, 0px -1px 1px 0px #990000, inset 0px -5px 5px 5px #E44D26;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  color: white;
  background: #e44d26;
}

nav a:hover {
  text-shadow: 0px 0px 2px #000;
  box-shadow: 1px -1px 0px 0px #ff920a, inset 0px 3px 3px 0px #990000, inset 0px -5px 5px 5px #E44D26;
  text-decoration: none !important;
}

nav a:hover,
nav a:visited {
  color: white;
}

nav a:hover {
  text-decoration: underline;
}

.close {
  float: right !important;
  margin: -21px -7px 0 -23px;
  width: 37px;
  height: 37px;
  opacity: .7 !important;
  z-index: 9999 !important;
}

.close:hover {
  opacity: 1 !important;
}

#sub {
  width: 100%;
  display: none;
  margin: -77px 0 0 -20px;
  padding-top: 5px;
  padding-bottom: 3px;
  background-color: #e44d26;
  list-style-type: none;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: inset 1px 1px 0px 0px #ff920a, 0px -1px 1px 0px #990000;
  float: left;
  z-index: 9999 !important;
}

#sub li {
  margin-left: -28px;
}

#sub li a {
  float: left;
  display: inline-block !important;
  padding: 3px 8px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 1px 0 #E44D26,
    0 2px 2px #E44D26,
    0 0 4px 1px #E44D26,
    0 2px 1px 0 #000033 !important;
  margin: 10px 1.7% 10px 1.7% !important;
  text-decoration-line: none;
  text-decoration-style: solid;
  font-weight: bold;
  color: #f16529;
  letter-spacing: 1px;
}

#sub li a:hover {
  color: #000 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 1px 0px rgba(0, 0, 0, 0.3),
    0 0 2px 0px rgba(0, 0, 0, 0.2) !important;
}

#sub li a:focus {
  border: 1px solid #000033 !important;
}

. .main {
  padding: 30px 0;
}

.main-container h1 {
  margin: 20px 0 0 0 !important;
  padding: 0 !important;
}

article {
  margin-top: -15px;
}

.main article h1 {
  font-size: 2em;
}

.main aside {
  color: white;
  padding: 0 5% 10px;
}

.footer-container footer {
  color: white;
  padding: 0;
}

.footer-container footer a {
  line-height: 15px;
  text-shadow: 0 0 2px #000;
  color: #fff;
  text-decoration: none !important;
  float: left;
}

.site-foot {
  float: right !important;
  font-size: 10px !important;
  line-height: 14px !important;
  text-align: center !important;
  margin-top: 5px !important;
  margin-bottom: 5px;
}

.footer-container {
  width: 100%;
  background-image: url('../imgs/pattern1.png') !important;
  background-attachment: fixed;
  position: absolute;
  z-index: 999;
}

.ie7 .title {
  padding-top: 20px;
}

.parallax {
  max-width: 100%;
  overflow-x: hidden !important;
  height: calc(325px + 0px);
  background-attachment: scroll;
  background-size: cover;
  background-position: top right;
  background-repeat: no-repeat;
  -webkit-box-shadow: inset 0px -2px 10px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: inset 0px -2px 10px 0px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0px -2px 10px 0px rgba(0, 0, 0, 0.2);
  z-index: -1;
  position: relative;
}

.intro-text-tr {
  font-size: 30px;
  color: #fff;
  text-align: center;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  margin: 0 5% 0 0;
}

.intro-text-tl2 {
  position: fixed;
  left: 76px;
  top: 0;
  margin: 0;
  padding: 0;
  z-index: 0;
  background: #ff920a;
  background: -moz-linear-gradient(top, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  background: -webkit-linear-gradient(top, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  background: linear-gradient(to bottom, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff920a', endColorstr='#ffffff', GradientType=0);
}

.intro-text-tl {
  color: #fff;
  text-align: center;
  position: fixed;
  left: 135px;
  top: 0;
  z-index: 0;
  font-size: 21px;
  font-weight: bold;
  margin: 0;
  text-shadow: -1px 1px 1px #000;
  background: #ff920a;
  background: -moz-linear-gradient(top, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  background: -webkit-linear-gradient(top, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  background: linear-gradient(to bottom, #ff920a 1%, #ffffff 72%, #ffffff 73%, #ffffff 73%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff920a', endColorstr='#ffffff', GradientType=0);
  padding-left: 20px;
  padding-right: 20px;
}

.intro-text-br {
  font-size: 30px;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
  margin: 0 5%;
}

.intro-text-bl {
  font-size: 30px;
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
  margin: 0;
}

.main.wrapper.clearfix {
  margin-top: 29px !important;
}

.main-container {
  background: #fafafa;
}

.main aside {
  padding-bottom: 220px;
  background-image: url('../imgs/pattern1.png');
  background-repeat: repeat;
  background-attachment: fixed
}

.do {
  display: inline-block;
  margin-right: 20px;
  margin-left: -10px;
  list-style: none;
}

.main aside ul li button {
  font-size: 14px;
}

.main aside ul li {
  display: inline-block;
  text-shadow: 0px 0px 1px #000;
  padding-right: 2px;
  color: #fff;
  text-shadow: 0px 0px 1px #000;
}

.main-container ol li {
  display: inline-block;
  color: #000;
  letter-spacing: 1px;
}

.main-container ol li a {
  text-decoration: none;
}

.main aside h1, .main aside h2, .main aside h3, .main aside h4, .main aside h5, .main aside h6 {
  text-shadow: 1px 1px 1px #000;
}

.main aside ul {
  margin-left: -20px;
  font-weight: bold;
  font-size: 13px;
}

.main-container ol {
  font-weight: bold;
  font-size: 12px;
  margin-left: -40px;
  line-height: 14px;
  margin-top: -6px;
}

.wrap {
  width: 100%;
  margin: 0 auto;
}

.left {
  text-align: center;
  float: left;
  width: 33%;
  font-size: 12px;
  font-weight: bold;
  padding: 20px 0;
  border-right: 2px ridge white;
}

.center {
  text-align: center;
  width: auto;
  font-size: 12px;
  font-weight: bold;
  padding: 20px 0;
  box-shadow: 0px 0px 8px #000033 inset;
  -moz-box-shadow: 0px 0px 8px #000033 inset;
  -webkit-box-shadow: 0px 0px 8px #000033 inset;
  border-radius: 10px;
}

.right {
  text-align: center;
  float: right;
  width: 33%;
  font-size: 12px;
  font-weight: bold;
  padding: 20px 0;
  border-left: 2px ridge white;
}

iframe {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  box-shadow: 0px 0px 8px #000033 inset;
  -moz-box-shadow: 0px 0px 8px #000033 inset;
  -webkit-box-shadow: 0px 0px 8px #000033 inset;
}

a.button {
  display: inline-block;
  padding: 8px;
  background: #f16529;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 2px 2px rgba(0, 0, 0, 0.3),
    0 0 4px 1px rgba(0, 0, 0, 0.2);
  margin: 5px auto 10px auto;
  text-decoration: none;
  text-shadow: 0 1px rgba(255, 255, 255, 0.7);
  font-weight: bold;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 1px 1px 1px #000;
}

a.button:hover {
  border: #000 1px solid;
  text-shadow: -1px -1px 1px #333, 1px 1px 1px #333;
}

aside form {
  text-align: left !important;
}

aside button {
  display: inline-block !important;
  padding: 3px 8px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  border-radius: 4px !important;
  box-shadow: inset 0 1px 0 #E44D26,
    0 2px 2px #E44D26,
    0 0 4px 1px #E44D26,
    0 2px 1px 0 #000033 !important;
  margin: 10px auto 10px auto !important;
  text-decoration: none !important;
  font-weight: bold !important;
  color: #f16529 !important;
  letter-spacing: 1px !important;
}

aside button:hover {
  color: #000 !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 1px 0px rgba(0, 0, 0, 0.3),
    0 0 2px 0px rgba(0, 0, 0, 0.2) !important;
}

aside button:focus {
  border: 1px solid #000 !important;
}

aside input:not([type=submit]):not([type=file]):not([type=reset]), aside textarea {
  border: none !important;
  border-bottom: 2px solid #fff !important;
  color: #000 !important;
  background-color: transparent !important;
  padding: 3px 3px 3px 20px !important;
  margin-bottom: 5px !important;
  box-shadow: none !important;
}

aside input:not([type=submit]):not([type=file]):not([type=reset]):focus, aside textarea:focus {
  border: none !important;
  border-bottom: 2px solid #fff !important;
  color: #000 !important;
  background-color: #fff !important;
  outline: none !important;
}

aside button, aside input, aside select, aside textarea {
  font-family: inherit !important;
  font-size: 100% !important;
}

aside input:required, aside textarea:required {
  background: none !important;
}

aside input, aside textarea {
  width: 50% !important;
  border-radius: 5px !important;
  font-size: 11px !important;
}

aside textarea {
  padding: 3px 3px 3px 20px !important;
}

aside::-webkit-input-placeholder {
  color: #fff !important;
  font-size: 11px !important;
}

aside textarea:focus {
  background-color: #fff !important;
}

aside:-moz-placeholder {
  color: #fff !important;
  font-size: 11px !important;
}

aside::-moz-placeholder {
  color: #fff !important;
  font-size: 11px !important;
}

aside:-ms-input-placeholder {
  color: #fff !important;
  font-size: 11px !important;
}

aside input:invalid:focus, aside textarea:invalid:focus {
  background-image: url(../imgs/invalid.png) !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

aside input:valid {
  background-image: url('../imgs/valid2.png') !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

aside input:valid:focus {
  background-image: url('../imgs/valid.png') !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

aside textarea:valid {
  background-image: url('../imgs/valid2.png') !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

aside textarea:valid:focus {
  background-image: url('../imgs/valid.png') !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

*:focus {
  outline: none;
}

.contact_form {
  font: 14px/21px "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
  margin-bottom: 40px;
}

.form_hint, .required_notification {
  font-size: 11px;
  text-align: center;
  margin-left: 0px !important;
}

.form_hint {
  display: none !important;
}

.contact_form ul {
  list-style-type: none;
  list-style-position: outside;
  margin: 0 0 10px 0;
  padding: 0px;
  display: inline-block;
}

.contact_form li {
  padding: 6px 0;
  position: relative;
  font-size: 12px;
}

.contact_form li:first-child, .contact_form li:last-child {}

.required_notification {
  color: #d45252;
  margin: 5px 0 0 0;
  display: inline;
  float: right;
}

.contact_form input, .contact_form select {
  height: 20px;
  width: 183px;
  padding: 4px 7px;
  margin-bottom: 11px;
}

.contact_form textarea {
  padding: 7px 7px 8px 7px;
  width: 83%;
  margin-bottom: 4px;
  height: 45px;
  line-height: 14px;
}

.contact_form button {
  margin-left: 10px;
  padding: 3px;
}

.contact_form input, .contact_form textarea, .contact_form select {
  border: 1px solid #aaa;
  box-shadow: 0px 0px 3px #ccc, 0 10px 15px #eee inset;
  border-radius: 2px;
  padding-right: 30px;
  -moz-transition: padding .25s;
  -webkit-transition: padding .25s;
  -o-transition: padding .25s;
  transition: padding .25s;
}

.contact_form input:focus, .contact_form textarea:focus, .contact_form select:focus {
  background: #fff;
  border: 1px solid #555;
  box-shadow: 0 0 3px #aaa;
}

.contact_form input:required, .contact_form textarea:required {
  background: #fff url(../imgs/red_asterisk.png) no-repeat 98% center;
}

.contact_form input:required:valid, .contact_form textarea:required:valid {
  background: #fff url(../imgs/valid3.png) no-repeat 98% center;
  box-shadow: 0 0 5px #5cd053;
  border-color: #28921f;
}

.contact_form select:required {
  box-shadow: 0 0 5px #5cd053;
  border-color: #28921f;
}

.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
  background: #fff url(../imgs/invalid.png) no-repeat 98% center;
  box-shadow: 0 0 5px #d45252;
  border-color: #b03535
}

.form_hint {
  background: #d45252;
  border-radius: 3px 3px 3px 3px;
  color: white;
  margin-left: 8px;
  padding: 1px 6px;
  z-index: 999;
  position: absolute;
  display: none;
}

.form_hint::before {
  content: "\25C0";
  color: #d45252;
  position: absolute;
  top: 1px;
  left: -6px;
}

.contact_form input:focus+.form_hint {
  display: inline;
}

.contact_form input:required:valid+.form_hint {
  background: #28921f;
}

.contact_form input:required:valid+.form_hint::before {
  color: #28921f;
}

.contact_form select {
  height: 29px !important;
  width: 223px !important;
  margin-bottom: 11px;
}

.home-content {
  text-shadow: 1px 1px 1px #000;
  letter-spacing: .04em;
  background-color: #000033 !important;
  background: url(../imgs/tear.png), url(../imgs/top-tear.png);
  background-repeat: no-repeat, no-repeat;
  background-position: bottom right, top left;
  background-size: contain, cover;
}

.home-content2 {
  font-family: 'Inconsolata', monospace;
  width: 75%;
  margin: -29px auto -49px auto !important;
  padding-top: 5px;
}

.home-content h2.name {
  color: #F16529;
  text-transform: uppercase;
}

.home-content h2.titles::before {
  content: "<title";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2.titles::after {
  content: "</title>";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2.name::before {
  content: "<h1>";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2.name::after {
  content: "</h1>";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2.coder::before {
  content: "<h2>";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2.coder::after {
  content: "</h2>";
  color: #5079C5;
  font-weight: bold;
  font-size: 16px;
}

.home-content h2 {
  color: #F16529;
  text-transform: uppercase;
}

.home-content .grey::before {
  content: "<!--";
  color: #6f6f6f;
  font-weight: bold;
  font-size: 16px;
}

.home-content .grey::after {
  content: "-->";
  color: #6f6f6f;
  font-weight: bold;
  font-size: 16px;
}

.titles {
  font-size: 16px;
  color: #ff0000 !important;
  font-weight: normal;
}

.name {
  margin-left: 33px;
  font-size: 25px !important;
}

.coder {
  margin-left: 33px;
  font-size: 18px !important;
}

.blink {
  -webkit-animation: blink 1s linear infinite;
  -moz-animation: blink 1s linear infinite;
  -ms-animation: blink 1s linear infinite;
  -o-animation: blink 1s linear infinite;
  animation: blink 1s linear infinite;
}

@-webkit-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  50.01% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  50.01% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-ms-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  50.01% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  50.01% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  50.01% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.highlight {
  background: url(../imgs/high.png) repeat center;
  background-size: contain;
  padding-left: 6px;
  padding-right: 6px;
  font-style: italic;
}

.important {
  background: url(../imgs/imp.png) no-repeat center bottom;
  background-size: contain;
  padding: 0 3px 2px 3px;
  font-weight: bold;
}

@media only screen and (min-width:0px) {
  #sub {
    margin-top: 0px;
    position: relative;
    width: 90%;
    margin-left: 0px;
  }

  .title a, .title strong {
    font-size: 32px;
  }

  .title a {
    float: left !important;
    width: 100%;
    text-align: center !important;
    margin-top: 19px;
    margin-bottom: 15px;
  }

  .title img {
    width: 70px !important;
    height: 70px !important;
  }

  .pg-404 {
    width: 100%;
  }

  nav a {
    float: left;
    width: 27%;
    margin: 0 1.7%;
    padding: 25px 2%;
    line-height: 28px !important;
  }

  nav li:first-child a {
    margin-left: 0px !important;
  }

  nav li:last-child a {
    margin-right: 0;
  }

  .close {
    float: right !important;
    margin: 4px 8px 0 -28px;
    width: 30px;
    height: 30px;
    opacity: .7 !important;
    z-index: 9999 !important;
  }

  #sub h3 {
    margin: 8px 0 2px -21px;
  }

  #sub li {
    margin-left: -21px !important;
  }

  #sub li a {
    margin-left: 0 !important;
    letter-spacing: -1px;
    padding: 3px 7px !important;
  }

  .parallax {
    height: calc(325px - 60px) !important;
  }
}

@media only screen and (min-width:359px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .5% 18px .5% !important;
    padding: 3px 4px !important;
  }
}

@media only screen and (min-width:397px) {
  #sub li a {
    letter-spacing: 0px !important;
    margin: 10px .5% 18px .5% !important;
    padding: 3px 4px !important;
  }
}

@media only screen and (min-width:413px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px 1% 18px 1% !important;
    padding: 3px 5px !important;
  }
}

@media only screen and (min-width:463px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 10px 1% 18px 1% !important;
    padding: 3px 5px !important;
  }
}

@media only screen and (min-width:480px) {
  #sub {
    width: 100%;
    margin-left: -20px;
  }

  #sub li a {
    letter-spacing: 0px;
    padding: 9px 12px !important;
    margin: 15px 1% 18px 1% !important;
  }

  nav a {
    float: left;
    width: 27%;
    margin: 0 1.7%;
    padding: 25px 2%;
    line-height: 28px !important;
  }

  nav li:first-child a {
    margin-left: 0px !important;
  }

  nav li:last-child a {
    margin-right: 0;
  }

  nav ul li {
    display: inline;
  }

  .oldie nav a {
    margin: 0 0.7%;
  }
}

@media only screen and (min-width:494px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 15px 1.5% 18px 1.5% !important;
    padding: 9px 12px !important;
  }
}

@media only screen and (min-width:511px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 15px 2% 18px 2% !important;
    padding: 9px 12px !important;
  }
}

@media only screen and (min-width:532px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 15px 2.5% 18px 2.5% !important;
    padding: 9px 12px !important;
  }
}

@media only screen and (min-width:549px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 15px 2.5% 18px 2.5% !important;
    padding: 9px 12px !important;
  }
}

@media only screen and (min-width:568px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 2.5% 18px 2.5% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:581px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 2.5% 18px 2.5% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:598px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 3.8% 18px 3.8% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:616px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 4% 18px 4% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:628px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 4.2% 18px 4.2% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:646px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 4.6% 18px 4.6% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:663px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 16px 5% 18px 5% !important;
    padding: 10px 12px !important;
  }
}

@media only screen and (min-width:768px) {
  .title a {
    font-size: 46px;
  }

  .title strong {
    font-size: 46px;
  }

  .title img {
    height: 85px !important;
    width: 85px !important;
    margin-top: -37px !important;
    margin-bottom: -17px !important;
    margin-left: -20px !important;
    padding-right: 5px !important;
  }

  #sub {
    margin-top: -75px;
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
  }

  .parallax {
    height: calc(325px - 0px) !important;
  }

  .up {
    margin-top: -32px;
  }

  .header-container,
  .main aside {
    -webkit-box-shadow: 0 2px 8px #000033;
    -moz-box-shadow: 0 2px 8px #000033;
    box-shadow: 0 2px 8px #000033;
  }

  .title a {
    float: left !important;
    width: 100%;
    text-align: left !important;
    margin-top: 23px;
  }

  nav {
    float: right;
    width: 38%;
    margin-top: -75px;
    margin-bottom: 0;
    padding-bottom: 0px !important;
  }

  .close {
    float: right !important;
    margin: -1px 3px -10px 0;
    width: 37px;
    height: 37px;
    opacity: .7 !important;
  }

  #sub h3 {
    margin: 8px 0 2px -6px;
  }

  #sub li {
    margin-left: -28px;
  }

  #sub li a {
    float: left;
    display: inline-block !important;
    padding: 3px 8px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: #e44d26;
    margin: 10px 1% 18px 1% !important;
    text-decoration-line: none;
    text-decoration-style: solid;
    font-weight: bold;
    color: #f16529;
    letter-spacing: 10px !important;
  }

  .main article {
    float: left;
    width: 57%;
  }

  .main aside {
    float: right;
    width: 28%;
  }

  #sub .title {
    display: none;
    visibility: hidden;
  }
}

@media only screen and (min-width:768px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .5% 18px .5% !important;
    padding: 8px !important;
  }
}

@media only screen and (min-width:778px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .6% 18px .6% !important;
  }
}

@media only screen and (min-width:795px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .7% 18px .7% !important;
  }
}

@media only screen and (min-width:812px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .8% 18px .8% !important;
  }
}

@media only screen and (min-width:829px) {
  #sub li a {
    letter-spacing: -1px !important;
    margin: 10px .8% 18px .8% !important;
  }
}

@media only screen and (min-width:847px) {
  #sub li a {
    letter-spacing: 0px !important;
    margin: 10px .5% 18px .5% !important;
  }
}

@media only screen and (min-width:864px) {
  #sub li a {
    letter-spacing: 0px !important;
    margin: 10px .6% 18px .6% !important;
  }
}

@media only screen and (min-width:881px) {
  #sub li a {
    letter-spacing: 0px !important;
    margin: 10px .8% 18px .8% !important;
  }
}

@media only screen and (min-width:911px) {
  #sub li a {
    letter-spacing: 0px !important;
    margin: 10px .9% 18px .9% !important;
  }

  .pg-404 {
    width: 63%;
  }
}

@media only screen and (min-width:964px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 10px .8% 18px .8% !important;
    padding: 9px !important;
  }

  .parallax {
    height: calc(325px + 0px) !important;
  }
}

@media only screen and (min-width:981px) {
  #sub li a {
    letter-spacing: 1px !important;
    margin: 10px .9% 18px .9% !important;
    padding: 8px !important;
  }

  .parallax {
    height: calc(325px + 0px) !important;
  }
}

@media only screen and (min-width:1140px) {
  #sub {
    border-top-right-radius: 10px !important;
    border-top-left-radius: 10px !important;
  }

  #sub li a {
    letter-spacing: 1px !important;
    margin: 10px 1.6% 18px 1.6% !important;
  }

  .up {
    margin-top: -32px;
  }

  .wrapper {
    width: 1026px;
    margin: 0 auto;
  }
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

@media print {

  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  abbr[title]:after {
    content: " ("attr(title) ")";
  }

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}