﻿

/*  GENERAL SELECTORS ============================================================================= */
hr {
    float: left;
    clear: both;
    background: #ddd;
    height: 1px;
    border: 0;
    width: 100%;
    margin: 1em 0;
}

p, ul, ol {
    margin-bottom: 1em;
}

.clear {
    clear: both;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

/* apply a natural box layout model to all elements */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

blockquote, q {
    quotes: none
}

    blockquote:before, blockquote:after, q:before, q:after {
        content: '';
        content: none
    }

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent
}

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none
}

mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold
}

del {
    text-decoration: line-through
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input, select {
    vertical-align: middle
}

.resetlist {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: blue;
    -moz-transition: color 0.1s linear;
    -o-transition: color 0.1s linear;
    -webkit-transition: color 0.1s linear;
    transition: color 0.1s linear;
    cursor: pointer;
}

    a:focus {
        outline: none;
    }

    a:hover,
    a:active {
        outline: 0;
        color: red;
    }

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    max-width: 100% !important;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

button,
input,
select,
textarea {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}

button,
input {
    *overflow: visible;
    line-height: normal;
}

    button::-moz-focus-inner,
    input::-moz-focus-inner {
        padding: 0;
        border: 0;
    }

    button,
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        cursor: pointer;
        -webkit-appearance: button;
    }

    input[type="search"] {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        -webkit-appearance: textfield;
    }

        input[type="search"]::-webkit-search-decoration,
        input[type="search"]::-webkit-search-cancel-button {
            -webkit-appearance: none;
        }

textarea {
    overflow: auto;
    vertical-align: top;
}

.clearfix {
    *zoom: 1;
}

    .clearfix:before,
    .clearfix:after {
        display: table;
        line-height: 0;
        content: "";
    }

    .clearfix:after {
        clear: both;
    }

select {
    cursor: pointer;
}

/*fix twitter scrollbar*/
iframe[name="twttrHubFrame"] {
    display: none !important;
}

/* My generic classes */
.paddingmain {
    padding: 1.2em;
}

form i {
    font-style: normal;
}


/*
*************************************************

THE RESPONSIVE GRID SYSTEM
Taken from http://www.responsivegridsystem.com/

*************************************************
*/

/*  SECTIONS  */
.section {
    clear: both;
    padding: 0px;
    margin: 0px;
}

/*.sectionColumns
{
    clear: both;
	padding-left: 15px;
	padding-right:15px;
	margin: 0px;
	background-color: #a61f2e;
}*/

.sectionColumns {
    clear: both;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0px;
    background-color: #011c3a;
}

/*  COLUMN SETUP  */
.column {
    display: block;
    float: left;
    margin: 1% 0 1% 3.5%;
}

    .column:first-child {
        margin-left: 0;
    }

/*  GROUPING  */
.group:before,
.group:after {
    content: "";
    display: table;
}

.group:after {
    clear: both;
}

/*  GRID OF TWO   ============================================================================= */


.span_2_of_2 {
    width: 100%;
}

.span_1_of_2 {
    width: 65.2%;
}



/*  GO FULL WIDTH AT LESS THAN 480 PIXELS */

@media only screen and (max-width: 480px) {
    .span_2_of_2 {
        width: 100%;
    }

    .span_1_of_2 {
        width: 100%;
    }
}
/*  GRIDS  */
.span_5_of_6 {
    width: 82.75%;
}

.span_4_of_6 {
    width: 58.5%;
}

.span_3_of_6 {
    width: 48.25%;
}

.span_2_of_6 {
    width: 38%;
}

.span_1_of_6 {
    width: 13.75%;
}

.span_6_of_7 {
    width: 85.214285714286%;
}

.span_5_of_7 {
    width: 70.428571428571%;
}

.span_4_of_7 {
    width: 55.642857142857%;
}

.span_3_of_7 {
    width: 40.857142857143%;
}

.span_2_of_7 {
    width: 26.071428571429%;
}

.span_1_of_7 {
    width: 11.285714285714%;
}

.span_7_of_8 {
    width: 96.0625%;
}

.span_6_of_8 {
    width: 74.125%;
}

.span_5_of_8 {
    width: 61.1875%;
}

.span_4_of_8 {
    width: 42%;
}

.span_3_of_8 {
    width: 36%;
}

.span_4_of_8 {
    width: 48.25%;
}

.span_3_of_8 {
    width: 35.3125%;
}

.span_2_of_8 {
    width: 22.375%;
}

.span_1_of_8 {
    width: 9.4375%;
}

.span_8_of_9 {
    width: 88.5%;
}

.span_7_of_9 {
    width: 77%;
}

.span_6_of_9 {
    width: 65.5%;
}

.span_5_of_9 {
    width: 54%;
}

.span_4_of_9 {
    width: 42.5%;
}

.span_3_of_9 {
    width: 31%;
}

.span_2_of_9 {
    width: 19.5%;
}

.span_1_of_9 {
    width: 8%;
}

.span_9_of_10 {
    width: 89.65%;
}

.span_8_of_10 {
    width: 79.3%;
}

.span_7_of_10 {
    width: 68.95%;
}

.span_6_of_10 {
    width: 58.6%;
}

.span_5_of_10 {
    width: 48.25%;
}

.span_4_of_10 {
    width: 37.9%;
}

.span_3_of_10 {
    width: 27.55%;
}

.span_2_of_10 {
    width: 17.2%;
}

.span_1_of_10 {
    width: 6.85%;
}

/*fifths*/
.span_2_of_10:nth-child(5n+1) {
    clear: both;
    margin-left: 0;
}
/* quarters */
.span_2_of_8:nth-child(4n+1) {
    clear: both;
    margin-left: 0;
}
/* thirds */
.span_2_of_6:nth-child(3n+1),
.span_3_of_9:nth-child(3n+1) {
    clear: both;
    margin-left: 0;
}

/* halves */
.span_2_of_4:nth-child(odd),
.span_3_of_6:nth-child(odd),
.span_4_of_8:nth-child(odd),
.span_5_of_10:nth-child(odd) {
    clear: both;
    margin-left: 0;
}

@media screen and (max-width: 800px) {
    /* turns sixths into thirds */
    .span_1_of_6 {
        width: 31%;
    }

        .span_1_of_6:nth-child(3n+1) {
            clear: both;
            margin-left: 0;
        }
}

.span_alt_small {
    width: 23.375%;
}

.span_alt_large {
    width: 73.125%;
}

/*  BITS (MODIFIED) FROM BOOTSTRAP ============================================================================= */

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    display: inline-block;
    padding: 4px 6px;
    font-size: 1em;
    color: #555555;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

    textarea:focus,
    input[type="text"]:focus,
    input[type="password"]:focus,
    input[type="datetime"]:focus,
    input[type="datetime-local"]:focus,
    input[type="date"]:focus,
    input[type="month"]:focus,
    input[type="time"]:focus,
    input[type="week"]:focus,
    input[type="number"]:focus,
    input[type="email"]:focus,
    input[type="url"]:focus,
    input[type="search"]:focus,
    input[type="tel"]:focus,
    input[type="color"]:focus,
    .uneditable-input:focus {
        border-color: rgba(82, 168, 236, 0.8);
        outline: 0;
        outline: thin dotted \9;
        /* IE6-9 */

        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
        -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    }

input[type="radio"],
input[type="checkbox"] {
    margin: 0 0 0;
    line-height: normal;
    cursor: pointer;
    margin-right: 0.5em;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
    width: auto;
}


select {
    width: 80%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

    select[multiple],
    select[size] {
        height: auto;
    }

    select:focus,
    input[type="file"]:focus,
    input[type="radio"]:focus,
    input[type="checkbox"]:focus {
        outline: thin dotted #333;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }


input:-moz-placeholder,
textarea:-moz-placeholder {
    color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #999999;
}

.radio,
.checkbox {
    min-height: 18px;
    padding-left: 18px;
}

    .radio input[type="radio"],
    .checkbox input[type="checkbox"] {
        float: left;
        margin-left: -18px;
    }

.controls > .radio:first-child,
.controls > .checkbox:first-child {
    padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
    display: inline-block;
    padding-top: 5px;
    margin-bottom: 0;
    vertical-align: middle;
}

    .radio.inline + .radio.inline,
    .checkbox.inline + .checkbox.inline {
        margin-left: 10px;
    }

input:focus:required:invalid,
textarea:focus:required:invalid,
select:focus:required:invalid {
    color: #be3f18;
    border-color: #be3f18;
}

    input:focus:required:invalid:focus,
    textarea:focus:required:invalid:focus,
    select:focus:required:invalid:focus {
        border-color: #e9322d;
        -webkit-box-shadow: 0 0 6px #f8b9b7;
        -moz-box-shadow: 0 0 6px #f8b9b7;
        box-shadow: 0 0 6px #f8b9b7;
    }


/* VENDOR-SPECIFIC ============================================================================= */

label.error {
    float: left;
    width: 100%;
    clear: both;
    border: 0;
    padding-bottom: 1em !important;
    margin: 0;
    color: #fff;
    font-weight: bold;
    display: inline-block;
    font-size: 1em;
    background: #ff0000; /* Old browsers */
    background: -moz-linear-gradient(top, #ff0000 0%, #ce0000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff0000), color-stop(100%,#ce0000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #ff0000 0%,#ce0000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #ff0000 0%,#ce0000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #ff0000 0%,#ce0000 100%); /* IE10+ */
    background: linear-gradient(to bottom, #ff0000 0%,#ce0000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff0000', endColorstr='#ce0000',GradientType=0 ); /* IE6-9 */
}


html {
    -webkit-overflow-scrolling: touch;
    -webkit-tap-highlight-color: rgb(52,158,219);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

.clearfix {
    zoom: 1;
}

::-webkit-selection {
    background: #000;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

::-moz-selection {
    background: #000;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}

::selection {
    background: #000;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
}


button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
}

::-webkit-input-placeholder {
    font-size: .875em;
    line-height: 1.4;
}

input:-moz-placeholder {
    font-size: .875em;
    line-height: 1.4;
}

.ie7 img,
.iem7 img {
    -ms-interpolation-mode: bicubic;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
}

input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.line {
    line-break: normal;
}
