/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */

html {
    padding:0;
    margin:0;
}

body {
    font-size: 0.875em;
    font-family: Verdana, Segoe UI, sans-serif;
    color:rgba(0,0,0,0.7);
    padding: 0px;
    margin: 0px;
}

@media (max-width:800px){
    body {font-size:0.75em;}
}

@media (min-width:800px){
    body {font-size:0.875em;}
}

/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */

h1, h2, h3, h4, h5, h6  {
    margin: 0.5em 0;
}

h1 {
    font-size: 4em;
    font-weight: 500;
    letter-spacing: -1px;
}

h2 {
    font-size: 2em;
    font-weight: 300;
}

h3 {
	font-size: 1.7em;
	font-weight: 500;
}

h4 {
    font-size: 1.25em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -1px;
}

h5 {
    font-size: 1.25em;
    padding-bottom: 4px;
    font-weight: 500;
	line-height:1.8rem;
}

h6 {
    font-size: 1.15em;
    font-weight: 300;
}

p {
    font-size: 1.15em;
    font-weight: 300;
    margin: 0.5em 0px;
    line-height:1.8rem;
}

@media (max-width:800px){
    h1 {font-size:2em;}
}

@media (max-width:500px){
    p {font-size:1em;}
}

blockquote {
    padding: 1em;
    font-size: 0.875em;
    font-weight: 500;
    margin: 1.5em;
    background-color: rgba(0,0,0,0.12);
    border-left: 2px solid #3371A3;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

p + * {
    margin-top: 1em;
}

label {
    position: relative;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 500;
    width:100%;
    color: rgba(0,0,0,0.54);
    vertical-align: middle;
    text-transform: uppercase;
}

/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */

a {
    color: #3088BD;
    text-decoration: none;
    cursor: pointer;
    font-weight:500;
}

a:hover {
    text-decoration: underline;
}

a.a-nav {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

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

/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */

button {
    position:relative;
    display: inline-block;
    min-height: 2.75em;
    padding: 0 2em;
    margin: 1em 0;
    line-height: 1.5em;
    font-size: 1em;
    text-transform: capitalize;
    text-align: center;
    box-shadow: none;
    outline: none;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.5s ease-out;
}

button:hover {
    opacity:1;
}

button.animate {
    transition: background-color 0.8s ease-out;
}

button.animate:hover {
    background-color: rgba(255,255,255,0.9);
    border:1px solid #3371A3;
    color: #3371A3;
}

button.icon {
    position: relative;
    display: inline-block;
    padding: 0 0.5em;
    background-color: transparent;
}

button.disabled {
    cursor:not-allowed;
    opacity:0.25;
}



/* Tooltips
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.tt {
    position:relative;
}

.tt span {
    width:auto;
    height:auto;
    text-align: center;
    padding: 0.1875em 0.75em;
    opacity:0;
    font-size:11px;
    font-weight:300;
    color:rgba(255,255,255,0.9);
    background-color:rgba(0,0,0,0.87);
    border-radius:3px;
    transition: opacity 0.2s ease-out;
    pointer-events: none;
    white-space: nowrap;
}

.tt span.tt-bot-r {
    position:absolute;
    top: 115%;
    left: 50%;
}

.tt span.tt-bot-l {
    position:absolute;
    top: 115%;
    right: 50%;
}

.tt span.tt-top-r {
    position:absolute;
    bottom: 115%;
    left: 50%;
}

.tt span.tt-top-l {
    position:absolute;
    bottom: 115%;
    right: 50%;
}

.tt span.tt-right {
    position:absolute;
    top: 0%;
    left: 105%;
}

.tt span.tt-left {
    position:absolute;
    top: 0%;
    right: 105%;
}

.tt:hover span {
    opacity:1
}

/* Forms & Selection
–––––––––––––––––––––––––––––––––––––––––––––––––– */

input,
textarea {
    position: relative;
    font-family: inherit;
    font-size: 100%;
    width: 100%;
    line-height: inherit;
    color: inherit;
    font-weight: 500;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    padding: 8px 0;
    margin: 1em 0 0.125em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color:transparent;
    border-radius:0;
}

textarea {
    min-height: 4em;
    background-color: rgba(255,255,255,0.12);
}

select {
    display: block;
    font-family: inherit;
    font-size: 100%;
    width: 100%;
    font-weight: 500;
    color: rgba(0,0,0,0.87);
    padding: 8px 0;
    margin: 8rem 0;
    min-width: 100px;
    border-radius: 0px;
    overflow: hidden;
    border: none;
    outline: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent url("../img/icons/arrowdown.gif") no-repeat 100% 50%;
}

input:focus,
input.in-dark:focus,
textarea:focus,
textarea.in-dark:focus,
select:focus,
select.in-dark:focus {
    border-bottom: 2px solid #3371A3;
    padding: 8px 0 7px;
    background-color: rgba(255,255,255,0.12);
}

input.in-dark,
textarea.in-dark,
select.in-dark {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}


label div {
    height: 100%;
    width: inherit;
    display: inline-block;
    vertical-align: middle;
}

label div div {
    display: inline;
}

label div div:last-of-type {
    padding-left: 1em;
    max-width: 80%;
    display: inline-block;
}

.error + label{
    color:red;
}

.error:focus {
    border-bottom: 2px solid red;
}

input[type='radio'],
input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    margin: 0em;
    cursor: pointer;
    z-index: 1;
}

input[type='radio'] + label,
input[type='checkbox'] + label {
    position: relative;
    margin: 0em;
    display: block;
    height: 100%;
    transition: all 0.25s ease-in;
    z-index: 0;
    color:rgba(255,255,255,0.4);
}

input[type='radio']:checked + label,
input[type='checkbox']:checked + label {
    color: inherit;
}

input[type='radio']:hover + label,
input[type='checkbox']:hover + label {
    color: inherit;
    opacity: 0.75;
}

input[type='submit']{
    position:relative;
    display: inline-block;
    height: 2.75em;
    padding: 0 2em;
    margin: 1em 0;
    line-height: 1.5em;
    font-size: 1em;
    text-transform: capitalize;
    text-align: center;
    box-shadow: none;
    outline: none;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.5s ease-out;
    background-color:#3371A3;
    color:#FFF
}

input[type='submit']:hover {
    opacity:1;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #BBB;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #BBB;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #BBB;
}
:-moz-placeholder { /* Firefox 18- */
  color: #BBB;
}

/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */

ol, ul {
    font-size: auto;
    padding-left: 0;
    margin: 0 0 0.5em;
    list-style-position: inside;
}

ul {
    list-style: disc outside; 
}

ol {
    list-style: decimal outside; 
}

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

li {
    margin:0.5em;
}

ol ol {
    list-style: lower-alpha inside;
}

ol ol ol {
    list-style: lower-roman inside;
}

.ul-plain {
    list-style:none;
}

.ul-flat li {
    display:inline;
    padding-right:0.75em;
    white-space: nowrap;
}

.ul-flat li:last-of-type {
    padding-right:0;
}

.ul-nav {
    display:inline-block;
    float:left;
    padding:0;
}

.ul-nav li {
    display:inline;
    padding-right:0em;
    margin-right:0em;
    white-space: nowrap;
}

.ul-nav li:after {
    padding-left: 0.5em;
    content: " |";
}

.ul-nav li:last-of-type {
    padding-right:0;
}

.ul-nav li:last-of-type:after {
    content: none;
}

.ul-choose {}

.ul-choose li {
    position: relative;
}

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */

table {
    position: relative;
    border-collapse: collapse;
    margin: 0.5em 0px 1.5em;
    font-size:1em;
    width:100%;
}

tr {
    height: inherit;
    position: relative;
}

th, td {
    padding: 12px;
    font-weight:500;
    text-align: left;
    vertical-align: middle;
    height: inherit;
}

th {
    color:auto;
    opacity:0.54;
    border-bottom:1px solid rgba(0,0,0,0.12);
}

td {
    color:auto;
    border-bottom:1px solid rgba(0,0,0,0.12);
}

table tr:last-child td { 
    border-bottom:none; 
}

table tr:hover td {
    background-color: rgba(187,222,251,0.25);
    cursor: pointer;
}

th:hover {
    color:auto;
    opacity:1;
    cursor:pointer; 
}

table.t-no-border th,
table.t-no-border td {
    border: 0px !important;
}

table.t-no-select tr:hover td {
    background-color: inherit;
    cursor: default;
}

td.t-right, th.t-right {
    text-align: right;
}

td.t-center, th.t-center {
    text-align: center;
}

td.t-narrow, th.t-narrow {
    width: 36px;
    text-align: center;
}

td.t-mid, th.t-mid {
    width: 3em;
}

td.t-wide, th.t-wide {
    width:7em;
}

td.t-overflow {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t-hide {
    display:table-cell;
}

@media (max-width: 900px){
    .t-hide {
        display:none;
    }
}

/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.u-full-width {
    width: 100%;
    box-sizing: border-box; }
.u-pull-right {
    float: right;
    text-align:right;}
.u-pull-left {
    float: left; 
}
.u-pull-center {
    text-align:center;
}

/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */

hr {
    margin-top: 1em;
    margin-bottom: 1em;
    border-width: 0;
    border-top: 1px solid rgba(0,0,0,0.12); 
}

.mb { display: inline-block; }
.dt { display: none; }

@media (min-width: 800px) {
    .mb { display: none; }
    .dt { display: inline-block; }
}

img {
    padding: 0;
    margin: 0;
}

/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
    content: "";
    display: table;
    clear: both; }

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.row {
    padding: 1em;
    margin: 0em;
}

.container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 1em auto;
    padding: 0 1em;
    box-sizing: border-box;
}

.column,
.columns {
    width: 100%;
    float: left;
    box-sizing: border-box; 
}

/* For devices larger than 400px */
@media (min-width: 400px) {
    .container {
        width: 95%;
        padding: 0; 
    }
}

/* For devices larger than 550px */
@media (min-width: 800px) {
    .container {
        width: 90%; 
    }
    .column,
    .columns {
        margin-left: 4%; 
    }
    .column:first-child,
    .columns:first-child {
        margin-left: 0; 
    }

    .one.column,
    .one.columns                    { width: 4.66666666667%; }
    .two.columns                    { width: 13.3333333333%; }
    .three.columns                  { width: 22%;            }
    .four.columns                   { width: 30.6666666667%; }
    .five.columns                   { width: 39.3333333333%; }
    .six.columns                    { width: 48%;            }
    .seven.columns                  { width: 56.6666666667%; }
    .eight.columns                  { width: 65.3333333333%; }
    .nine.columns                   { width: 74.0%;          }
    .ten.columns                    { width: 82.6666666667%; }
    .eleven.columns                 { width: 91.3333333333%; }
    .twelve.columns                 { width: 100%; margin-left: 0; }

    .one-third.column               { width: 30.6666666667%; }
    .two-thirds.column              { width: 65.3333333333%; }

    .one-half.column                { width: 48%; }

    /* Offsets */
    .offset-by-one.column,
    .offset-by-one.columns          { margin-left: 8.66666666667%; }
    .offset-by-two.column,
    .offset-by-two.columns          { margin-left: 17.3333333333%; }
    .offset-by-three.column,
    .offset-by-three.columns        { margin-left: 26%;            }
    .offset-by-four.column,
    .offset-by-four.columns         { margin-left: 34.6666666667%; }
    .offset-by-five.column,
    .offset-by-five.columns         { margin-left: 43.3333333333%; }
    .offset-by-six.column,
    .offset-by-six.columns          { margin-left: 52%;            }
    .offset-by-seven.column,
    .offset-by-seven.columns        { margin-left: 60.6666666667%; }
    .offset-by-eight.column,
    .offset-by-eight.columns        { margin-left: 69.3333333333%; }
    .offset-by-nine.column,
    .offset-by-nine.columns         { margin-left: 78.0%;          }
    .offset-by-ten.column,
    .offset-by-ten.columns          { margin-left: 86.6666666667%; }
    .offset-by-eleven.column,
    .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

    .offset-by-one-third.column,
    .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
    .offset-by-two-thirds.column,
    .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

    .offset-by-one-half.column,
    .offset-by-one-half.columns     { margin-left: 52%; }

}

/*
.section {
    padding: 8rem 0 7rem;
    text-align: center;
}
*/

/* For devices larger than 550px */
/*
@media (min-width: 550px) {
    .section {
        padding: 12rem 0 11rem;
    }
}
*/

/* For devices larger than 750px */
/*
@media (min-width: 750px) {
    .section {
        padding: 15rem 0 14rem;
    }
}
*/

/* For devices larger than 1000px */
/*
@media (min-width: 1000px) {
    .section {
        padding: 20rem 0 19rem;
    }
}*/
