@import url(http://fonts.googleapis.com/css?family=Exo:400,700,900);
@import url(http://fonts.googleapis.com/css?family=Fredoka+One);
@keyframes underscore {
  0% {
    color: #12fe00;
  }
  49% {
    color: #12fe00;
  }
  50% {
    color: transparent;
  }
  100% {
    color: transparent;
  }
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9/10.
 */
img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  border: none;
  border-bottom: 1px solid #ccc;
}

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"], input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-transform: uppercase;
}

html, body {
  margin: 0px;
  width: 100%;
  height: 100%;
  font-family: "Exo", Verdana, sans-serif monospace;
  background: #000 url(../images/bg.jpg) no-repeat center;
}

.table {
  display: table;
  width: 100%;
  height: 100%;
}

.table > .cell {
  display: table-cell;
  vertical-align: middle;
}

.table > .cell > div {
  vertical-align: top;
  margin: 80px auto;
}

.msg {
  color: #21c0e9;
  background: rgba(0, 0, 0, 0.7);
  width: 445px;
  position: absolute;
  text-align: center;
  top: 200px;
  left: 200px;
  padding: 35px;
  z-index: 100;
}

.msg h1 {
  margin: 0px;
  text-transform: uppercase;
}

.msg a.btn {
  margin-top: 20px;
}

.msg .close {
  color: #21c0e9;
  font-family: "Fredoka One", cursive;
  text-decoration: none;
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-block;
  width: 25px;
  height: 25px;
  text-align: center;
  font-size: 25px;
  line-height: 25px;
}

.msg.dead {
  color: #e65b5b;
}

.msg.dead .close {
  color: #e65b5b;
}

.msg.on {
  color: #12fe00;
}

.msg.on .close {
  color: #12fe00;
}

a.btn,
button.btn {
  display: inline-block;
  background: #21c0e9;
  border-radius: 4px;
  color: #000;
  padding: 0 30px;
  line-height: 40px;
  opacity: 1;
  transition: none;
  transition: background 0.2s ease-in-out;
  border: none;
  text-decoration: none;
  font-weight: bold;
}

a.btn:hover,
button.btn:hover {
  background: #139fc4;
}

.options .btn {
  width: 45px;
  height: 34px;
  background: url(../images/sprite.btn.png);
  opacity: 0.5;
}

.options .btn.a {
  background-position: 0px -34px;
}

.options .btn.b {
  background-position: -45px -34px;
}

.options .btn.c {
  background-position: -90px -34px;
}

.options .btn.play {
  background-position: -135px -34px;
}

.options .btn.inactive {
  background-position-y: 0px;
}

.options .btn.opacte {
  opacity: 1;
}

.options .btn.selected {
  background-position-y: -68px;
  opacity: 1;
}

.header {
  position: absolute;
  width: 775px;
  top: -18px;
  left: 50px;
}

.header .glow {
  bottom: -0px;
  width: 50%;
  height: 3px;
  margin: 0 auto;
  border-radius: 50% 50% 0 0/40px 40px 0 0;
  box-shadow: 0 0 14px 3px black, inset 0 0 2px 0 rgba(0, 0, 0, 0.7);
  background: #000;
  transition: all 1s ease;
}

.header .logo {
  position: absolute;
  width: 125px;
  height: 95px;
  bottom: -28px;
  left: 50%;
  margin-left: -62.5px;
  background: url("../images/logo-off.png");
  transition: all 1s ease;
}

.grid {
  overflow: hidden;
  box-sizing: border-box;
}

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.grid [class*='col-'] {
  box-sizing: border-box;
  float: left;
}

.grid [class*='col-'].inver {
  float: right;
}

.grid [class*='row-'] {
  box-sizing: border-box;
  float: left;
  width: 100%;
}

.grid [class*='row-']:after {
  content: "";
  display: table;
  clear: both;
}

.grid [class*='row-'] [class*='col-'] {
  height: 100%;
}

.grid .col-1-1 {
  width: 100%;
}

.grid .col-1-2, .grid .col-2-4, .grid .col-3-6, .grid col-4-8, .grid .col-5-10, .grid .col-6-12 {
  width: 50%;
}

.grid .col-1-3, .grid .col-2-6, .grid .col-3-9, .grid .col-4-12 {
  width: 33.33333%;
}

.grid .col-2-3, .grid .col-4-6, .grid .col-6-9, .grid .col-8-12 {
  width: 66.66667%;
}

.grid .col-1-4, .grid .col-2-8, .grid .col-3-12 {
  width: 25%;
}

.grid .col-3-4, .grid .col-6-8, .grid .col-9-12 {
  width: 75%;
}

.grid .col-1-5, .grid .col-2-10 {
  width: 20%;
}

.grid .col-2-5, .grid .col-4-10 {
  width: 40%;
}

.grid .col-3-5, .grid .col-6-10 {
  width: 60%;
}

.grid .col-4-5, .grid .col-8-10 {
  width: 80%;
}

.grid .col-1-6, .grid .col-2-12 {
  width: 16.66667%;
}

.grid .col-5-6, .grid .col-10-12 {
  width: 83.33333%;
}

.grid .col-1-7 {
  width: 14.28571%;
}

.grid .col-2-7 {
  width: 28.57143%;
}

.grid .col-3-7 {
  width: 42.85714%;
}

.grid .col-4-7 {
  width: 57.14286%;
}

.grid .col-5-7 {
  width: 71.42857%;
}

.grid .col-6-7 {
  width: 85.71429%;
}

.grid .col-1-8 {
  width: 12.5%;
}

.grid .col-3-8 {
  width: 37.5%;
}

.grid .col-5-8 {
  width: 62.5%;
}

.grid .col-7-8 {
  width: 87.5%;
}

.grid .col-1-9 {
  width: 11.11111%;
}

.grid .col-2-9 {
  width: 22.22222%;
}

.grid .col-4-9 {
  width: 44.44444%;
}

.grid .col-5-9 {
  width: 55.55556%;
}

.grid .col-7-9 {
  width: 77.77778%;
}

.grid .col-8-9 {
  width: 88.88889%;
}

.grid .col-1-10 {
  width: 10%;
}

.grid .col-3-10 {
  width: 30%;
}

.grid .col-7-10 {
  width: 70%;
}

.grid .col-9-10 {
  width: 90%;
}

.grid .col-1-11 {
  width: 9.09091%;
}

.grid .col-2-11 {
  width: 18.18182%;
}

.grid .col-3-11 {
  width: 27.27273%;
}

.grid .col-4-11 {
  width: 36.36364%;
}

.grid .col-5-11 {
  width: 45.45455%;
}

.grid .col-6-11 {
  width: 54.54545%;
}

.grid .col-7-11 {
  width: 63.63636%;
}

.grid .col-8-11 {
  width: 72.72727%;
}

.grid .col-9-11 {
  width: 81.81818%;
}

.grid .col-10-11 {
  width: 90.90909%;
}

.grid .col-1-12 {
  width: 8.33333%;
}

.grid .col-5-12 {
  width: 41.66667%;
}

.grid .col-7-12 {
  width: 58.33333%;
}

.grid .col-11-12 {
  width: 91.66667%;
}

.grid .col-1-13 {
  width: 7.69231%;
}

.grid .row-1-1 {
  height: 100%;
}

.grid .row-1-2, .grid .row-2-4, .grid .row-3-6, .grid row-4-8, .grid .row-5-10, .grid .row-6-12 {
  height: 50%;
}

.grid .row-1-3, .grid .row-2-6, .grid .row-3-9, .grid .row-4-12 {
  height: 33.33333%;
}

.grid .row-2-3, .grid .row-4-6, .grid .row-6-9, .grid .row-8-12 {
  height: 66.66667%;
}

.grid .row-1-4, .grid .row-2-8, .grid .row-3-12 {
  height: 25%;
}

.grid .row-3-4, .grid .row-6-8, .grid .row-9-12 {
  height: 75%;
}

.grid .row-1-5, .grid .row-2-10 {
  height: 20%;
}

.grid .row-2-5, .grid .row-4-10 {
  height: 40%;
}

.grid .row-3-5, .grid .row-6-10 {
  height: 60%;
}

.grid .row-4-5, .grid .row-8-10 {
  height: 80%;
}

.grid .row-1-6, .grid .row-2-12 {
  height: 16.66667%;
}

.grid .row-5-6, .grid .row-10-12 {
  height: 83.33333%;
}

.grid .row-1-7 {
  height: 14.28571%;
}

.grid .row-2-7 {
  height: 28.57143%;
}

.grid .row-3-7 {
  height: 42.85714%;
}

.grid .row-4-7 {
  height: 57.14286%;
}

.grid .row-5-7 {
  height: 71.42857%;
}

.grid .row-6-7 {
  height: 85.71429%;
}

.grid .row-1-8 {
  height: 12.5%;
}

.grid .row-3-8 {
  height: 37.5%;
}

.grid .row-5-8 {
  height: 62.5%;
}

.grid .row-7-8 {
  height: 87.5%;
}

.grid .row-1-9 {
  height: 11.11111%;
}

.grid .row-2-9 {
  height: 22.22222%;
}

.grid .row-4-9 {
  height: 44.44444%;
}

.grid .row-5-9 {
  height: 55.55556%;
}

.grid .row-7-9 {
  height: 77.77778%;
}

.grid .row-8-9 {
  height: 88.88889%;
}

.grid .row-1-10 {
  height: 10%;
}

.grid .row-3-10 {
  height: 30%;
}

.grid .row-7-10 {
  height: 70%;
}

.grid .row-9-10 {
  height: 90%;
}

.grid .row-1-11 {
  height: 9.09091%;
}

.grid .row-2-11 {
  height: 18.18182%;
}

.grid .row-3-11 {
  height: 27.27273%;
}

.grid .row-4-11 {
  height: 36.36364%;
}

.grid .row-5-11 {
  height: 45.45455%;
}

.grid .row-6-11 {
  height: 54.54545%;
}

.grid .row-7-11 {
  height: 63.63636%;
}

.grid .row-8-11 {
  height: 72.72727%;
}

.grid .row-9-11 {
  height: 81.81818%;
}

.grid .row-10-11 {
  height: 90.90909%;
}

.grid .row-1-12 {
  height: 8.33333%;
}

.grid .row-5-12 {
  height: 41.66667%;
}

.grid .row-7-12 {
  height: 58.33333%;
}

.grid .row-11-12 {
  height: 91.66667%;
}

.grid .row-1-13 {
  height: 7.69231%;
}

.game {
  width: 880px;
  height: 720px;
  position: relative;
  background: url(../images/pc-bg.png) no-repeat center;
}

.game:before {
  content: "";
  display: block;
  width: 907px;
  height: 974px;
  position: absolute;
  top: -133px;
  left: -12px;
  background: url("../images/frame.png") no-repeat center;
}

.game .options {
  position: absolute;
  top: 55px;
  right: -95px;
  width: 81px;
  background: url(../images/options.png) no-repeat center;
  height: 300px;
  padding: 25px 29px 22px 5px;
  font-size: 14px;
  color: #5c5c5c;
  font-weight: bolder;
}

.game .options hr {
  margin: 10px 0 20px;
}

.game .options .btn {
  margin-bottom: 20px;
}

.game .log {
  padding: 10px;
  width: 100%;
  height: 100%;
  color: #12fe00;
}

.game .log span i {
  display: none;
}

.game .log span.last i {
  display: inline;
  animation-name: underscore;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.game .log ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: inline;
}

.game .log ul li {
  display: inline;
  margin-right: 30px;
}

.game .health {
  position: absolute;
  bottom: 5px;
  right: 5px;
  color: #e65b5b;
}

.game .health i {
  width: 15px;
  height: 15px;
  display: inline-block;
  background: #e65b5b;
  margin-right: 5px;
}

.game .grid {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: url(../images/path.png) no-repeat center;
  /*[class*='col-'].wall{
			background:#ccc;
		}

		[class*='col-'].misc{
			background:#dd3333;
		}*/
}

.game .grid .empty {
  display: block;
  width: 100%;
  height: 100%;
  border: 3px solid #393939;
  color: #393939;
  font-weight: bolder;
  text-align: center;
  line-height: 62px;
  cursor: default;
}

.game .viruses {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.game .viruses .virus {
  background: url(../images/viruses.png) no-repeat;
  width: 20px;
  height: 20px;
  display: block;
  margin: 23px 24px;
  position: absolute;
}

.game .viruses .virus.a {
  background-position: -0px;
}

.game .viruses .virus.b {
  background-position: -20px;
}

.game .viruses .virus.c {
  background-position: -40px;
}

.game .sequence {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 20px;
}

.game.on .header .glow {
  box-shadow: 0 0 14px 3px #12fe00, inset 0 0 2px 0 rgba(0, 0, 0, 0.7);
  background: #12fe00;
}

.game.on .header .logo {
  background: url("../images/logo-on.png");
}

.game.dead .log {
  color: #e65b5b;
}

.game.dead .grid {
  background: url(../images/path.dead.png) no-repeat center;
}

.game.dead .header .glow {
  box-shadow: 0 0 14px 3px #e65b5b, inset 0 0 2px 0 rgba(0, 0, 0, 0.7);
  background: #e65b5b;
}

.game.dead .header .logo {
  background: url("../images/logo-dead.png");
}

footer {
  position: absolute;
  bottom: 0px;
  left: 0px;
  text-align: center;
  width: 100%;
}

.cpu {
  height: 100%;
  width: 100%;
  text-align: center;
  line-height: 50px;
  position: relative;
  padding: 3px 3px;
}

.cpu:before {
  height: 60px;
  width: 60px;
  display: block;
  content: "";
  border: 3px solid #076500;
  border-radius: 50%;
}

.cpu:after {
  height: 44px;
  width: 44px;
  display: block;
  content: "";
  background: url(../images/sprite.cpu.png) no-repeat;
  position: absolute;
  top: 11px;
  left: 12px;
}

.cpu.cpu-a:after {
  background-position: 0px 0px;
}

.cpu.cpu-b:after {
  background-position: -44px 0px;
}

.cpu.cpu-c:after {
  background-position: -88px 0px;
}

.cpu.broken.cpu-a:after {
  background-position: 0px -44px;
}

.cpu.broken.cpu-b:after {
  background-position: -44px -44px;
}

.cpu.broken.cpu-c:after {
  background-position: -88px -44px;
}

.cpu span {
  background-image: url("../images/cpu-healing.png");
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
}

.cpu span[class*='space'] {
  top: -5px;
  left: -5px;
}

.cpu span[class*='space']:before {
  content: '';
  display: block;
  width: 33px;
  height: 33px;
  position: absolute;
  top: -7px;
  left: -7px;
  border: 3px solid #12fe00;
  border-radius: 50%;
}

.cpu span[class*='heal'] {
  bottom: -5px;
  right: -5px;
}

.cpu span[class*='heal']:before {
  content: '';
  display: block;
  width: 33px;
  height: 33px;
  position: absolute;
  top: -7px;
  left: -7px;
  border: 3px solid #e65b5b;
  border-radius: 50%;
}

.cpu .space-4 {
  background-position: -80px 0px;
}

.cpu .space-3 {
  background-position: -60px 0px;
}

.cpu .space-2 {
  background-position: -40px 0px;
}

.cpu .space-1 {
  background-position: -20px 0px;
}

.cpu .heal-4 {
  background-position: -80px -20px;
}

.cpu .heal-3 {
  background-position: -60px -20px;
}

.cpu .heal-2 {
  background-position: -40px -20px;
}

.cpu .heal-1 {
  background-position: -20px -20px;
}
