/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

div,
header,
main,
article,
aside,
footer {
    box-sizing: border-box;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */
label {
    display: block;
    width: 150px;
}
input, textarea {
    width: 14em;
    font-size: 1.2em;
}
textarea {
    resize: vertical;
    height: 5.2em;
}
input.error, textarea.error {
    border: solid 1px #cc0000;
    color: #cc0000;
}
span.form-error {
    color: #cc0000;
    font-weight: bold;
    font-size: 1em;
    display: block;
    padding-top: 5px;
}

a {
    color: #f60;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    color: #f60;
    text-decoration: underline;
}

p a, .hc-links a, #sitemap a {
    color:black;
    border-bottom: 2px solid #f90;
    text-decoration: none;
    font-weight: bold;
}
p a:hover, .hc-links a:hover, #sitemap a:hover {
    color: #c60;
    text-decoration: none;
}

#sitemap {
    font-size:20px;
}
#sitemap li {
    margin-bottom:6px;
}

/*#fp-intro a, .fp-apps a {*/
/*    color: #f60;*/
/*    text-decoration: none;*/
/*    border-bottom: none;*/
/*    font-weight: bold;*/
/*}*/
/*#fp-intro a:hover, .fp-apps a:hover {*/
/*    color: #f60;*/
/*    text-decoration: underline;*/
/*}*/

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.container {
    width: 100%;
    background-color: white;
}
header.main {
    width: 100%;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    height: 40px;
    transition: top 0.5s;
    background-color: black;
}
.nav-up {
    top: -40px !important;
}

#logo {
    padding: 1.5em 3em;
    display: none;
}
#logo img {
    max-width: 100%;
}

nav {
    background-color: black;
    color: white;
    position: relative;
}
nav.main {
    z-index: 100;
    width: 100%;
}
nav ul {
    display: block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}
nav.main ul {
    position: absolute;
    z-index: 99;
    top: 40px;
    left: -100%;
    transition: left 0.5s;
    background-color: black;
}
nav.main ul.is-active {
    left: 0;
}
nav li a {
    display: block;
    padding: 15px 1.5em;
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    border-top: solid 1px white;
}
nav li a:hover,
nav li a.active {
    text-decoration: none;
    background-color: #ff9900;
    color: black;
}
nav.main li.hassub {
    display: none;
}
nav.main ul ul {
    display: none;
}
nav .phone {
    display: inline-block;
    float: right;
    vertical-align: text-top;
    margin: 10px 10px 0;
    color: white;
    text-decoration: none;
    font-weight: normal !important;
}
nav .coname {
    font-family: 'Michroma', sans-serif;
    display: inline-block;
    float: left;
    margin: 8px 0 0 0;
}
nav .coname span {
    display: none;
}

nav#footer {
    font-size: 0.8em;
    text-align: center;
}
nav#footer ul {
    margin: 0;
    display: inline-block;
}
nav#footer li {
    float: left;
    text-align: center;
}
nav#footer li a {
    border-top: none;
}
.copyright {
    color: #999;
    float: left;
    margin: 14px 0 14px 40px;
}

.c-hamburger {
    display: block;
    position: relative;
    z-index: 200;
    overflow: hidden;
    float: left;
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.c-hamburger:focus {
    outline: none;
}
.c-hamburger span {
    display: block;
    position: absolute;
    top: 19px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: white;
}

.c-hamburger span::before,
.c-hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: "";
}

.c-hamburger span::before {
    top: -6px;
}

.c-hamburger span::after {
    bottom: -6px;
}
.c-hamburger--htx {
    background-color: black;
}

.c-hamburger--htx span {
    transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
    transition-property: top, transform;
}

.c-hamburger--htx span::after {
    transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.c-hamburger--htx.is-active {
    background-color: #f90;
}

.c-hamburger--htx.is-active span {
    background: none;
}

.c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
    transition-delay: 0s, 0.3s;
}

main {
    padding: 60px 1.5em 20px;
}
article, aside {
    width: 100%;
}

h1 {
    font-family: 'Michroma', sans-serif;
    margin: 0;
    font-weight: normal;
    font-size: 1.65em;
}
.linkbox {
    padding: 10px;
}
.linkbox span {
    width: 100%;
    display: block;
    margin: 20px 0;
}
.linkbox a {
    display: block;
    padding: 10px;
    background-color: #ff9900;
    text-align: center;
    color: black;
    border-radius: 10px;
    text-decoration: none;
    margin: 0 10px;
    box-sizing: border-box;
    font-weight: normal;
}

.imgbox {
    text-align: center;
}
.imgbox div {
    display: inline-block;
    margin: 6px 4px;
    position: relative;
}
.imgbox div img {
    border: solid 2px #ff9900;
    border-radius: 10px;
}
.imgbox div i {
    position: absolute;
    top: 7px;
    left: 10px;
    font-size: 1.5em;
    color: #f90;
}
.holder {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
.holder img {
    width: 100%;
    border-radius: 20px;

}
.balance {
    margin: 0 auto;
    width: 17.5em;
}

#fp-logo-sm {
    padding: 0 5% 5%;
    width: 100%;
}
#fp-logo-sm img {
    width: 100%;
}
#fp-logo-md {
    display: none;
}
#fp-intro {
    position: absolute;
    right: 5%;
    top: inherit;
    bottom: 10%;
    width: 90%;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    font-size: 1.1em;
    text-align: center;
    font-weight: bold;
}
.fp-apps {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    font-weight: bold;
}
.fp-apps ul {
    list-style: none;
}
.fp-apps li {
    padding-top: 2px;
}
.fp-apps li a {
    display: block;
}

.fp-apps.smscr {
    position: relative;
    padding: 0;
}
.fp-apps.smscr h2 {
    font-family: 'Michroma', sans-serif;
    margin: 0;
    font-weight: normal;
    font-size: 1.3em;
    text-align: center;
}
.fp-apps.smscr ul {
    padding-left: 0;
    text-align: center;
}

.fp-apps.lgscr {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 40%;
    padding: 15px 0;
}
.fp-apps.lgscr ul {
    padding-left: 40px;
    text-align: left;
}
.fp-apps.smscr li a {
    color: black;
}
.fp-apps.smscr li.active {
    border-left: solid 5px #e3e3e3;
    padding: 10px;
}
.fp-apps.smscr li.active .accordion-trigger {
    text-align: left;
}
.fp-apps.smscr .accordion-content {
    display: none;
    font-weight: normal;
    text-align: left;
}
.applist {
    padding-left: 0;
    list-style: square;
}
.applist li {
    margin-top: 6px;
}
.applist li::marker {
    color: #f60;
}
.applist li a {
    color: black;
    display: block;
    padding: 3px 10px;
}
.applist li.active a {
    background-color: #e3e3e3;
}
.applist .accordion-content {
    display: none;
    padding-left: 20px;
    border-left: solid 5px #e3e3e3;
}

.orange {
    color: #f90;
}
main table {
    margin: 30px 0 10px;
    border: solid 2px black;
    max-width: 48em;
}
main thead tr:first-of-type {
    background-color: #f90;
    color: black;
    font-size: 1.1em;
    font-family: 'Michroma', sans-serif;
}
main thead tr:first-of-type th {
    font-weight: normal;
}
main thead tr:nth-of-type(2) {
    background-color: rgba(255, 128, 0, 0.2);
}
main th, main td {
    border: solid 1px #666;
}
main th {
    padding: 5px 2px 8px;
}
main td {
    text-align: center;
    padding: 2px;
}
#flows {
    text-align: center;
    padding-right: 20px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
.m0    { margin: 0; }
.mh0   { margin-left: 0 !important; margin-right: 0 !important; }
.mv0   { margin-top: 0 !important; margin-bottom: 0 !important; }
.mt-5  { margin-top: -5px !important;}
.mt0   { margin-top: 0 !important; }
.mt5   { margin-top: 5px !important; }
.mt10  { margin-top: 10px !important; }
.mt20  { margin-top: 20px !important; }
.mt25  { margin-top: 25px !important; }
.mt50  { margin-top: 50px !important; }
.mt75  { margin-top: 75px !important; }
.mt100 { margin-top: 100px !important; }
.mr0   { margin-right: 0 !important; }
.mr5   { margin-right: 5px !important; }
.mr10  { margin-right: 10px !important; }
.mr20  { margin-right: 20px !important; }
.mr25  { margin-right: 25px !important; }
.mr50  { margin-right: 55px !important; }
.mr-60 { margin-right: -60px !important; }
.mr75  { margin-right: 75px !important; }
.mr100 { margin-right: 100px !important; }
.mb0   { margin-bottom: 0 !important; }
.mb5   { margin-bottom: 5px !important; }
.mb10  { margin-bottom: 10px !important; }
.mb20  { margin-bottom: 20px !important; }
.mb25  { margin-bottom: 25px !important; }
.mb50  { margin-bottom: 50px !important; }
.mb75  { margin-bottom: 75px !important; }
.mb100 { margin-bottom: 100px !important; }
.ml0   { margin-left: 0 !important; }
.ml5   { margin-left: 5px !important; }
.ml10  { margin-left: 10px !important; }
.ml20  { margin-left: 20px !important; }
.ml25  { margin-left: 25px !important; }
.ml50  { margin-left: 50px !important; }
.ml75  { margin-left: 75px !important; }
.ml100 { margin-left: 100px !important; }

.p0    { padding: 0; }
.p20   { padding: 20px; }
.ph0   { padding-left: 0 !important; padding-right: 0 !important; }
.ph20  { padding-left: 20px !important; padding-right: 20px !important; }
.pv0   { padding-top: 0 !important; padding-bottom: 0 !important; }
.pt0   { padding-top: 0 !important; }
.pt5   { padding-top: 5px !important; }
.pt10  { padding-top: 10px !important; }
.pt20  { padding-top: 20px !important; }
.pt25  { padding-top: 25px !important; }
.pt50  { padding-top: 50px !important; }
.pt75  { padding-top: 75px !important; }
.pt100 { padding-top: 100px !important; }
.pr0   { padding-right: 0 !important; }
.pr5   { padding-right: 5px !important; }
.pr10  { padding-right: 10px !important; }
.pr20  { padding-right: 20px !important; }
.pr25  { padding-right: 25px !important; }
.pr50  { padding-right: 50px !important; }
.pr60  { padding-right: 60px !important; }
.pr75  { padding-right: 75px !important; }
.pr100 { padding-right: 100px !important; }
.pb0   { padding-bottom: 0 !important; }
.pb5   { padding-bottom: 5px !important; }
.pb10  { padding-bottom: 10px !important; }
.pb20  { padding-bottom: 20px !important; }
.pb25  { padding-bottom: 25px !important; }
.pb50  { padding-bottom: 50px !important; }
.pb75  { padding-bottom: 75px !important; }
.pb100 { padding-bottom: 100px !important; }
.pl0   { padding-left: 0 !important; }
.pl5   { padding-left: 5px !important; }
.pl10  { padding-left: 10px !important; }
.pl20  { padding-left: 20px !important; }
.pl25  { padding-left: 25px !important; }
.pl50  { padding-left: 50px !important; }
.pl75  { padding-left: 75px !important; }
.pl100 { padding-left: 100px !important; }

.tc {
    text-align: center;
}
.tc-sm {
    text-align: center;
}
.fll {
    float: left;
    margin-right: 1em;
}
.flr {
    float: right;
    margin: 1.5em 0 1.0em 1.5em;
}
.atop {
    margin-top: 0.25em !important;
}
.abot {
    margin-bottom: 0.25em !important;
}
.rc {
    border-radius: 10px;
}
.w100 {
    width: 100%;
}
.mw50 {
    max-width: 50%;
}
.smscr {
    display: block !important;
}
.lgscr {
    display: none !important;
}

main th, main td {
    font-size: 0.6em;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 22em) {
    #fp-intro {
        padding: 20px;
    }
    main th, main td {
        font-size: 0.7em;
    }
    main th {
        padding: 5px 2px 8px;
    }
}
@media only screen and (min-width: 30em) {
    .balance {
        width: 22em;
    }
    input, textarea {
        width: 18em;
    }
    span.form-error {
        width: 22em;
    }

    main th, main td {
        font-size: 1em;
    }
    main th {
        padding: 5px 10px 8px;
    }
}

@media only screen and (min-width: 35em) {
    nav .phone {
        margin-top: 10px;
    }
    nav .coname span {
        display: inline;
    }
    nav#footer ul {
        display: block;
        float: right;
        margin: 0 20px 0 0;
    }
    #fp-logo-sm {
        display: none;
    }
    #fp-logo-md {
        display: block;
        position: absolute;
        top: 20px;
        left: 5%;
        width: 90%;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 20px;
    }
    h1 {
        font-size: 2em;
    }
    .linkbox span {
        width: 50%;
        float: left;
    }
    .balance {
        width: 29em;
    }
    input, textarea {
        width: 24em;
    }
    span.form-error {
        width: 29em;
    }
}
@media only screen and (min-width: 48em) {
    nav .coname {
        margin-left: 40px;
    }
    #fp-intro {
        right: 5%;
        top: inherit;
        bottom: 18%;
        width: 90%;
        padding: 20px;
        text-align: center;
    }
}
@media only screen and (min-width: 60em) {
    .smscr {
        display: none !important;
    }
    .lgscr {
        display: block !important;
    }
    .tc-sm {
        text-align: left;
    }
    body {
        background-color: white;
    }
    body:after {
        content: 'lgscreen';
        display: none;
    }
    form {
        padding: 10px 30px 10px;
        margin-left: 40px;
        border-left: solid 5px #e3e3e3;
    }
    label {
        display: inline-block;
        float: left;
        vertical-align: top;
        width: 120px;
        padding-top: 5px;
    }
    input, textarea {
        font-size: 1.2em;
        padding: 5px;
        border: solid 1px #ccc;
        width: 14em
    }
    textarea {
        height: 5.2em;
    }
    span.form-error {
        width: 17.5em;
        margin-left: 120px;
    }
    input[type="submit"] {
        margin-left: 120px;
    }
    .container {
        width: 59em;
        margin: 0 auto;
    }
    header.main {
        background: bottom center repeat-x url('/assets/img/hbg.png');
        position: static;
        height: inherit;
        transition: none;
        background-color: none;
    }
    #logo {
        display: block;
    }
    .c-hamburger {
        display: none;
    }
    nav {
        line-height: 0.7em;
        border-radius: 20px;
    }
    nav.main {
        position: static;
    }
    nav#footer {
        margin-bottom: 50px;
        font-size: 0.8em;
    }
    nav#footer ul {
        float: right;
        margin: 0 40px 0 0;
    }
    nav ul {
        display: inline-block;
        padding: 0;
    }
    nav.main ul {
        position: static;
        margin: 0 0 0 40px;
    }
    nav.main li {
        float: left;
        text-align: center;
        border-left: solid 1px white;
        border-right: solid 1px white;
        font-size: 0.8em;
        position: relative;
    }
    nav.main ul li:first-of-type {
        border-left: solid 2px white;
    }
    nav.main ul li:last-of-type {
        border-right: solid 2px white;
    }
    nav.main li a {
        padding-bottom: 13px;
        border-top: none;
    }
    nav.main li.hassub {
        display: block;
    }
    nav.main li.nosub {
        display: none;
    }
    nav.main li ul {
        position: absolute;
        top: 39px;
        left: -1px;
        right: -20px;
        border: none;
        margin: 0;
        display: none;
    }
    nav.main li:hover ul {
        display: block;
    }
    nav.main li ul li {
        float: none;
        text-align: left;
    }
    nav.main li ul li:first-of-type {
        border-left: solid 1px white;
    }
    nav.main li ul li:last-of-type {
        border-right: solid 1px white;
    }
    nav.main li ul li a {
        border: none;
        border-top: solid 1px white;
    }
    nav.main ul li a i.fa.fa-caret-down,
    nav.main ul li a i.fa.fa-caret-up {
        position: relative;
        left: 10px;
        font: normal normal normal 14px/11px FontAwesome;
    }
    nav .phone {
        margin: 11px 40px 0 0;
    }
    nav .coname {
        display: none;
    }

    main {
        padding: 40px;
    }
    article, aside {
        float: left;
        padding: 0;
    }
    article {
        width: 66%;
        padding-right: 3em;
    }
    aside {
        width: 34%;
    }
    h1 {
        font-size: 2.25em;
    }
    .linkbox span {
        width: 100%;
        float: none;
    }
    .copyright {
        display: inline-block;
        margin-left: 40px;
    }
    #fp-logo-md {
        display: none;
    }
    #fp-intro {
        right: 5%;
        top: 30px;
        bottom: inherit;
        width: 45%;
        padding: 20px;
        text-align: right;
        font-size: 1.5em;
        text-align: right;
    }
    .appslist {
        padding-left: 30px;
    }
    .balance {
        width: 100%;
    }
    #mc-micrograph {
        text-align: center;
    }
    #flows {
        padding-right: 50px;
    }
}
@media only screen and (min-width: 75em) {
    input, textarea {
        width: 20em;
    }
    .container {
        width: 74em;
    }
    .holder img {
        border-radius: 30px;
    }
    #fp-intro {
        font-size: 2em;
    }
    .fp-apps li {
        padding-top: 5px;
    }
    input, textarea {
        width: 22em;
    }
    span.form-error {
        width: 27em;
    }
}

button.g-recaptcha {
    font-size: 1.2em;
    background-color: #eeeeee;
    border: solid 1px #ccc;
    padding: 4px;
    width: 14.4em;
}
@media (min-width: 30em) {
    button.g-recaptcha {
        width: 18.3em;
    }
}
@media (min-width: 35em) {
    button.g-recaptcha {
        width: 24.3em;
    }
}
@media (min-width: 60em) {
    button.g-recaptcha {
        margin-left: 120px;
        width: 14.6em;
    }
}
@media (min-width: 75em) {
    button.g-recaptcha {
        width: 22.6em;
    }
}

.thanks {
    border: solid 3px #ff9900;
    padding: 8px;
    text-align: center;
    border-radius: 24px;
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
