/*
	Fluid Baseline Grid v1.0.0
	Designed & Built by Josh Hopkins and 40 Horse, http://40horse.com	
	Licensed under Unlicense, http://unlicense.org/
	
	Base stylesheet with CSS normalization, typographic baseline grid and progressive responsiveness
*/

/* HTML5 DECLARATIONS */
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section,
dialog {
    display: block;
}

audio[controls],
canvas,
video {
    display: inline-block;
    *display: inline;
    zoom: 1;
}

/* BASE */
html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
}

/* Force scrollbar in non-IE and Remove iOS text size adjust without disabling user zoom */

/* Improve default text rendering, handling of kerning pairs and ligatures */

/* DEFAULT FONT SETTINGS */
/* 16px base font size with 150% (24px) friendly, unitless line height and margin for vertical rhythm */
/* Font-size percentage is based on 16px browser default size */
body,
button,
input,
select,
textarea {
    *font-size: 0.7em;
    color: #333;
}

/* IE7 and older can't resize px based text */
p,
blockquote,
q,
address,
hr,
code,
samp,
dl,
ol,
ul,
form,
table,
fieldset,
menu,
img {
    margin: 0 0 1.5em;
    padding: 0;
}

/* TYPOGRAPHY */
/* Composed to a scale of 12px, 14px, 16px, 18px, 21px, 24px, 36px, 48px, 60px and 72px */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #222;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

h1 {
    margin: 0;
    font-size: 3.75em;
    line-height: 1.2em;
    margin-bottom: 0.4em;
}

/* 60px / 72px */
h2 {
    margin: 0;
    font-size: 3em;
    line-height: 1em;
    margin-bottom: 0.5em;
}

/* 48px / 48px */
h3 {
    margin: 0;
    font-size: 2.25em;
    line-height: 1.3333333333333333333333333333333em;
    margin-bottom: 0.6667em;
}

/* 36px / 48px */
h4 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1em;
    margin-bottom: 1em;
}

/* 24px / 24px */
h5 {
    margin: 0;
    font-size: 1.3125em;
    line-height: 1.1428571428571428571428571428571em;
    margin-bottom: 1.1428571428571428571428571428571em;
}

/* 21px / 24px */
h6 {
    margin: 0;
    font-size: 1.125em;
    line-height: 1.3333333333333333333333333333333em;
    margin-bottom: 1.3333333333333333333333333333333em;
}

/* 18px / 24px */
ul,
blockquote,
td,
th,
label {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5em;
    margin-bottom: 1.5em;
}

/* 16px / 24px */
small,
p.small {
    margin: 0;
    font-size: 0.875em;
    line-height: 1.7142857142857142857142857142857em;
    margin-bottom: 1.7142857142857142857142857142857em;
}

/* 14px / 24px */

/* CODE */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Allow line wrapping of 'pre' */
pre,
code,
kbd,
samp {
    font-size: 0.9em;
    line-height: 1.5em;
}

/* TABLES */
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1.5em;
}

th {
    text-align: left;
}

tr,
th,
td {
    border-bottom: 0 solid #333;
}

/* FORMS */
form {
    margin: 0;
}

fieldset {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

legend {
    *margin-left: -0.75em;
}

button,
input,
select,
textarea {
    vertical-align: baseline;
    *vertical-align: middle;
}

/* IE7 and older */
button,
input {
    line-height: normal;
    *overflow: visible;
}

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;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* QUOTES */
blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
}

blockquote,
q,
cite {
    font-style: italic;
}

blockquote {
    padding-left: 1.5em;
    border-left: 3px solid #ccc;
}

blockquote > p {
    padding: 0;
}

/* LISTS */
ul,
ol {
    list-style-position: inside;
    padding: 0;
}

li ul,
li ol {
    margin: 0 1.5em;
}

dl dd {
    margin-left: 1.5em;
}

dt {
}

/* HYPERLINKS */
a {
    text-decoration: none;
    color: #d06a4e;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: none;
}

a:hover,
a:active {
    outline: none;
}

/* Better CSS Outline Suppression */

/* MEDIA */
figure {
    margin: 0;
}

img,
object,
embed,
video {
    max-width: 100%;
    _width: 100%;
}

/* Fluid images */
img {
    border: 0;
    -ms-interpolation-mode: bicubic;
}

/* Improve IE's resizing of images */
svg:not(:root) {
    overflow: hidden;
}

/* Correct IE9 overflow */

/* ABBREVIATION */
abbr[title],
dfn[title] {
    border-bottom: 1px dotted #333;
    cursor: help;
}

/* MARKED/INSERTED/DELETED AND SELECTED TEXT */
ins,
mark {
    text-decoration: none;
}

mark {
    background: #c47529;
}

ins {
    background: #d49855;
}

del {
    text-decoration: line-through;
}

::-moz-selection {
    background: #c47529;
    color: #fff;
    text-shadow: none;
}

/* selected text */
::selection {
    background: #c47529;
    color: #fff;
    text-shadow: none;
}

/* selected text */

/* OTHERS */
strong,
b,
dt {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

var,
address {
    font-style: normal;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/* Position 'sub' and 'sup' without affecting line-height */
sup {
    top: -0.5em;
}

/* Move superscripted text up */
sub {
    bottom: -0.25em;
}

/* Move subscripted text down */
span.amp {
    font-style: italic;
    font-size: 110%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

/* Best available ampersand */

/* MICRO CLEARFIX HACK */
.cf:before,
.cf:after {
    content: '';
    display: table;
}

/* For modern browsers */
.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}

/* For IE 6/7 (trigger hasLayout) */

body {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    background: #fefefe;
    color: #ffffff;
    overflow: visible;
}

div.inner {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

div.divider {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(
        left,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0)
    );
    background-image: -moz-linear-gradient(
        left,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0)
    );
    background-image: -ms-linear-gradient(
        left,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0)
    );
    background-image: -o-linear-gradient(
        left,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0)
    );
    margin: 20px 0;
}

/* column grid */
.g1,
.g2,
.g3 {
    display: block;
    position: relative;
    margin-left: 1%;
    margin-right: 1%;
}

/* 1 column grid */
.g1,
.g2,
.g3 {
    width: 98%;
}

div.logo-cont {
    text-align: center;
    padding-top: 40px;
}

div.content {
    margin: 0 auto;
    color: #444;
    text-shadow: 1px 1px 1px #fff;
    padding: 20px;
    width: 75%;
}

span.hl {
    color: rgb(0, 191, 162);
    font-weight: bold;
}

span.runner {
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    padding: 4px 8px;
    font-size: 14px;
    line-height: 40px;
}

span.runner:hover {
    color: #e17b19;
    cursor: pointer;
}

span.lay-title {
    display: block;
}

div.layout-demo {
    text-align: center;
}

div.layout-demo h6 {
    padding: 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-shadow: 1px 1px 0 #fff;
}

.custom_container {
    text-shadow: none !important;
}

div.inner-menu {
    float: right;
    text-align: center;
    font-size: 13px;
    border: 1px solid #dedede;
    border-radius: 5px;
}

div.inner-menu a {
    border-right: 1px solid #ccc;
    padding: 0 8px 0 5px;
    color: #666;
    font-weight: normal;
}

div.inner-menu a:last-child {
    border-right: none;
}

p {
    margin: 10px 0;
}

code {
    display: block;
    font-size: 12px;
    text-shadow: none;
    font-weight: bold;
}

footer {
    text-align: center;
    width: 80%;
    margin: 15px auto 10px;
}

div.top-right {
    margin-top: 45px;
    margin-bottom: 20px;
    overflow: auto;
    text-align: center;
}

div.top-right div.btn-top {
    display: inline;
}

.gh-count {
    display: block !important;
}

input,
textarea,
select,
.uneditable-input {
    border: 1px solid #cccccc;
    border-radius: 3px 3px 3px 3px;
    color: #555555;
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    padding: 4px;
    width: 200px;
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    font-family: 'PT Sans', Tahoma, Arial, sans-serif;
    vertical-align: middle;
}

select {
    width: 210px;
}

input:focus,
textarea:focus {
    border-color: rgba(82, 168, 236, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 2px rgba(82, 168, 236, 0.6);
    outline: 0 none;
}

input.big {
    font-size: 18px;
    line-height: 25px;
    padding: 8px;
    width: 100%;
    text-align: center;
}

textarea#getCodeResult {
    width: 100%;
    margin-bottom: 20px;
    resize: none;
    display: none;
    min-height: 70px;
}

label,
img {
    margin-bottom: 0 !important;
}

/* media Queries

FOLDING FLUID GRID
< 767px			- 1-Column Fluid Grid
768px - 1023px	- 2-Column Fluid Grid
> 1024px			- 3-Column Fluid Grid
Change widths as necessary
------------------------------------------- */

/* MOBILE PORTRAIT */
@media only screen and (min-width: 320px) {
    ul.layouts .g1 {
        display: inline;
        float: left;
    }

    ul.layouts .g1 {
        width: 31.333%;
    }

    div.top-right {
        text-align: left;
        margin-top: 10px;
    }

    div.top-right div.btn-top {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* MOBILE LANDSCAPE */
@media only screen and (min-width: 480px) {
    ul.layouts .g1 {
        display: inline;
        float: left;
    }

    ul.layouts .g1 {
        width: 31.333%;
    }
}

/* SMALL TABLET */
@media only screen and (min-width: 600px) {
    ul.layouts .g1 {
        display: inline;
        float: left;
    }

    ul.layouts .g1 {
        width: 31.333%;
    }
}

/* TABLET/NETBOOK */
@media only screen and (min-width: 768px) {
    /* COLUMN GRID */
    .g1,
    .g2,
    .g3 {
        display: inline;
        float: left;
    }

    /* 2 COLUMN GRID */
    .g1 {
        width: 48%;
    }

    .g2 {
        width: 48%;
    }

    .g3 {
        width: 98%;
    }

    div.top-right {
        text-align: center;
        margin-top: 55px;
    }

    div.top-right div.btn-top {
        display: inline;
        width: auto;
        text-align: center;
    }
}

/* LANDSCAPE TABLET/NETBOOK/LAPTOP */
@media only screen and (min-width: 1024px) {
    body {
    }

    /* 3 COLUMN GRID */
    .g1 {
        width: 31.333%;
    }

    .g2 {
        width: 64.667%;
    }

    .g3 {
        width: 98%;
    }
}

@media only screen and (min-width: 1280px) {
    /* DESKTOP */
    body {
        max-width: 100%;
    }
}

/* WIDESCREEN */
/* Increased body size for legibility */
@media only screen and (min-width: 1400px) {
    /* 18.5px / 28px */
}

/* PRINT */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    /* Black prints faster */
    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 print links for images, javascript or internal links */
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    /* Repeat header row at top of each printed page */
    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;
    }
}

.termic {
    text-align: center;
}

.termic a {
    border: 2px dashed #073642;
    color: #073642;
    padding: 2px 5px;
}

.termic a:hover {
    border: 2px dashed #444;
    color: #444;
    text-decoration: none;
}

span.new {
    color: red;
}

div.top-bar {
    border-bottom: 1px solid #444;
    color: #fff;
    background-color: #ee5f5b;
    overflow: auto;
    padding: 0;
    height: 30px;
}

div.top-bar .left-bar {
    float: left;
}

div.top-bar .right-bar {
    float: right;
}

div.top-bar a {
    color: #fff;
    line-height: 30px;
    display: inline-block;
    padding: 0 15px;
    -webkit-transition: all 700ms ease;
    -moz-transition: all 700ms ease;
    -o-transition: all 700ms ease;
    transition: all 700ms ease;
}

div.top-bar a:hover {
    color: #ee5f5b;
    background-color: #fff;
}

div.top-bar .left-bar a {
    border-right: 1px solid #dedede;
}

div.top-bar .right-bar a {
    border-left: 1px solid #dedede;
}

.pixel-race h2 {
    margin-bottom: 10px !important;
    font-size: 28px;
}

.pixel-race {
    padding: 10px 0;
}

.pixel-race,
.pixel-race h2 {
}
span.runner_primary:hover {
    color: #418bca;
    cursor: pointer;
}
span.runner_success:hover {
    color: #01bc8c;
    cursor: pointer;
}
span.runner_danger:hover {
    color: #ef6f6c;
    cursor: pointer;
}
span.runner_info:hover {
    color: #67c5df;
    cursor: pointer;
}
span.runner_warning:hover {
    color: #f89a14;
    cursor: pointer;
}
span.runner_default:hover {
    color: #a9b6bc;
    cursor: pointer;
}
