.clear:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clear {display: inline-block;}
/* hide IE mac \*/
* html .clear {height: 1%;}
.clear {display: block;}
/* */

/* JL HACK ~ */
.shareprogress_hack {
    position: relative;
}
.shareprogress_hack span {
    display: block;
    position: absolute;
    left: 39px;
    top: 5px;
    pointer-events: none;
}
.shareprogress_hack .sp_em_small a {
    width: 110px;
}
.shareprogress_hack .sp_tw_small a {
    width: 110px;
}
.shareprogress_hack .sp_fb_small a {
    width: 110px;
}

#historicalData {
    margin: 45px auto 10px auto;
    position: relative;
    display: none;
    border-radius: 5px;
    background-color: #39394D;
    width: 790px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}
section.cta .form-fields {
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    transition: opacity .3s;
    opacity: 1;
}
.thankyoubutton {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    font-size: 30px;
    opacity: 0;
    display: none;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    transition: opacity 1s;
}

#historicalData .resultsHeader {
    position: relative;
    height: 50px;
    margin-top: 20px;
}
#historicalData .resultsHeader h3 {
    position: absolute;
    top: 0px;
    left: 0px;
}

#historicalData .resultsHeader button {
    position: absolute;
    top: 0px;
    right: 0px;
}

#historicalData .resultsTable {
    margin: 45px 0px 10px 0px;
    width: 100%;
    display: table;
}

#historicalData .resultsTable .resultsRow {
    display: table-row;
}

#historicalData .resultsTable .right, #historicalData .resultsTable .left {
    padding: 0px;
    display: table-cell;
    vertical-align: top;
}

#historicalData .resultsTable .left {
    text-align: left;
    width: 440px;
}

#historicalData .resultsTable .right {
    text-align: left;
    width: 320px;
    padding-left: 30px;
}

#historicalData ul {
    width: 100%;
}

#slow_links, #slow_links .result {
    float: none;
    text-align: center;
}

#historicalData ul li {
    width: 100%;
    color: rgb(30, 30, 30);
    background-color: rgb(184, 177, 203);
    border-bottom-color: rgb(204, 204, 204);
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0px;
    border-image-repeat: stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-left-color: rgb(80, 80, 115);
    border-left-style: none;
    border-left-width: 0px;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(80, 80, 115);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-top-style: none;
    border-top-width: 0px;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 0px 20px;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

section.cta li .result {
    border: none;
    background: none;
    text-transform: capitalize;
    float: right;
    font-weight: bold;
}

#historicalData .button.healthtest {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 1em;
    margin: 0px;
    display: block;
    background: rgb(224, 58, 94);
    border: 0px;
    border-radius: 5px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 18px;
    text-decoration: none;
    float: none;
}

section.cta button, a.btn {
    display: block;
    background: #2dbc8f;
    border: 0px;
    border-radius: 5px;
    line-height: 66px;
    text-transform: uppercase;
    color: white;
    padding: 0px 0px;
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 18px;
    margin: 0px auto;
    text-decoration: none;
}
section.cta button {
    float: right;
}
section.cta button:hover, a.btn:hover {
    background: #1dac7f;
}


/* --- */

body {
    margin: 0px;
    padding: 0px 0px 0px 0px;
    background: #2a2a3f;
    font-family: 'Open Sans', sans-serif;
    color: white;
}
a {
    color: white;
    word-wrap: break-word;
}
a:hover {
    color: pink;
}
section.cta {
    padding: 25px 32px 72px;
    text-align: center;
    background: #3d4060;
    /*
    background: -moz-linear-gradient(top, #3d4060 0%, #473362 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3d4060), color-stop(100%,#473362));
    background: -webkit-linear-gradient(top, #3d4060 0%,#473362 100%);
    background: -o-linear-gradient(top, #3d4060 0%,#473362 100%);
    background: -ms-linear-gradient(top, #3d4060 0%,#473362 100%);
    background: linear-gradient(to bottom, #3d4060 0%,#473362 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3d4060', endColorstr='#473362',GradientType=0 );
    */
    background: url(../images/background.jpg);
    background-position: center;
    background-size: auto 100%;
}
section.cta form {
    margin: 45px auto 10px auto;
    width: 790px;
    position: relative;
}
section.cta form .form-fields {
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    transition: opacity .3s;
    opacity: 1;
}
section.cta form .signup-thanks {
    position: absolute;
    left: 0px;
    width: 100%;
    top: 0px;
    text-align: center;
    padding-top: 10px;
    font-size: 30px;
    opacity: 0;
    display: none;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    transition: opacity .3s;
}

section.cta form input {
    border: 0px;
    border-radius: 5px;
    width: 551px;
    height: 66px;
    box-sizing: border-box;
    padding: 0px 30px;
    line-height: 66px;
    font-size: 18px;
    float: left;
}
section.cta form button, a.btn {
    display: block;
    background: #2dbc8f;
    border: 0px;
    border-radius: 5px;
    height: 66px;
    line-height: 66px;
    text-transform: uppercase;
    color: white;
    padding: 0px 0px;
    text-align: center;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 18px;
    width: 230px;
    margin: 0px auto;
    text-decoration: none;
}
section.cta form button {
    float: right;
}
section.cta form button:hover, a.btn:hover {
    background: #1dac7f;
}
section.cta span.disclaimer {
    display: block;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 25px;
    opacity: 1;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    transition: opacity .3s;
}
section.cta img.wifi {
    display: block;
    margin: 0px auto 30px auto;
}
section.cta img.logo {
    display: block;
    margin: 0px auto 42px auto;
    max-width: 100%;
}
section.shareimages img {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 5px 5px;
}

@media screen and (max-width: 859px) {
    section.cta {
        padding-top: 11.8%;
    }

    section.cta form {
        width: auto;
    }

    section.cta form input {
        margin-bottom: 8px;
        width: 100%;
    }

    section.cta form button {
        clear: both;
        float: none;
        width: 100%;
    }
}

.button_caption {
    display: inline-block;
    width: 202px;
    font-size: 14px;
    text-align: center;
    line-height: 14px;
}

a.button {
    display: inline-block;
    margin: 0px 5px;
    border-radius: 5px;
    background: #9085a1;
    text-align: center;
    width: 202px;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

a.button:nth-of-type(1) {
    margin-bottom: 8px;
}

a.button.facebook {
    background: #3b5998;
}

}
a.button.facebook:hover {
    opacity: .8;
}

a.button.healthtest {
    background: #20B020;
    margin-bottom:25px;
    font-weight:bold;
    font-size:20px;
    width:250px;
    margin-top:35px;
}

a.button.healthtest:hover {
    opacity: .8;
}

a.button.twitter {
    background: #37c5d6;
}
a.button:hover {
    color: white;
    opacity: .8;
}
a.button.twitter:hover {
    background: #27b5c6;
}
p {
    font-size: 19px;
    line-height: 25px;
    max-width: 850px;
    margin: 0px auto 25px auto;
    text-align: center;
    color: #eaebf6;
}

p.faqheader {
    font-weight:bold;
    margin-top:40px;
}

p.faqanswer {
    font-size:15px;
    text-align:left;
}

ul {
    margin: 0px auto;
    padding: 0px;
    text-align: center;
    max-width: 750px;
}
li {
    font-size: 19px;
    display: inline-block;
    line-height: 25px;
    color: #eaebf6;
    margin-bottom: 25px;
    width: 100%;
    text-align: left;
}
h1 {
    font-size:75px;
    text-align:center;
    margin-bottom:20px;
    margin-top:20px;
}
h2 {
    margin: 0px auto 0px auto;
    padding: 0px 0px 19px 0px;
    font-size: 50px;
    font-weight: 300;
    text-align: center;
    border-bottom: 1px solid #424263;
}
h3 {
    padding: 0px;
    margin: 0px auto 25px auto;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
}
pre {
    display: block;
    padding: 9.5px;
    font-size: 13px;
    line-height: 1.42857;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: #F5F5F5;
    border: 1px solid #CCC;
    border-radius: 4px;
    max-width: 820px;

    margin: 0px auto;
    text-align: center;
    color: #827495;
    background: #000 none repeat scroll 0% 0%;
    border-radius: 10px;
    border: 0px none;

    white-space: pre-wrap;       /* CSS 3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
img.content {
    display: block;
    margin: 0px auto;
}
section {
    padding: 50px 32px;
    text-align: center;
}
section:nth-child(even) {
    background-color: #202030;
}

section.code {
}
section.code img {
    max-width: 100%;
}
section.code img.banner {
    display: block;
    margin: 25px auto;
}
section.code .idl {
    margin-top: 25px;
    font-size: 13px;
}
section.code .idl a {
    text-decoration: none;
    opacity: .7;
}
section.code .idl a:hover {
    color: white;
    opacity: 1;
}
section.code .idl img {
    display: inline-block;
    width: 300px;
    height: auto;
    margin: 5px auto 0px auto;
}
section.code hr {
    border: 0px;
    border-bottom: 1px solid #424263;
    display: block;
    margin: 40px auto;
    width: 70px;
}

section.notification {
    background-image: url(../images/notification.png);
    background-position: center 120px;
    background-repeat: no-repeat;
}
section.notification h3 {
    margin-bottom: 220px;
}

@media screen and (max-width: 767px) {
    section.notification {
        background-position: center 160px;
    }

    section.notification h3 {
        margin-bottom: 230px;
    }

}
@media screen and (max-width: 1100px) {
    .shareprogress_hack span {
        display: none;
    }
    .shareprogress_hack .sp_em_small a {
        width: 33px;
    }
    .shareprogress_hack .sp_tw_small a {
        width: 33px;
    }
    .shareprogress_hack .sp_fb_small a {
        width: 33px;
    }
}

section.hope {
    background: #ddd;
    padding-bottom: 20px;
}
section.hope h3 {
    color: #000;
}
section.hope p {
    font-weight: 400;
    color: #333;
}
section.hope a {
    color: #333;
    font-weight: 600;
}
section.hope img {
    display: block;
    margin: 60px auto;
    max-width: 100%;
}
section.share .buttons {
    margin-bottom: 25px;
}
section.share .buttons > div {
    display: inline-block;
    margin: 0px 5px;
}


#sharing {
    position: fixed;
    top: 50%;
    margin-top: -100px;
    z-index: 9001;
}
#sharing > div {
    margin: 5px 0px;
}

#learn .embed {
    max-width: 768px;
    margin: 0px auto;
}
#learn .embed .wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}
#learn .embed .wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    display: table;
    display: none;
    z-index: 9001;

    -webkit-transition: opacity 0.4s ease-out 0s, left 0s linear 0s;
            transition: opacity 0.4s ease-out 0s, left 0s linear 0s;
}
.overlay.invisible {
    pointer-events: none;
    opacity: 0;
    left: 99999px;

    -webkit-transition: opacity 0.4s ease-out 0s, left 0s linear 0.5s;
            transition: opacity 0.4s ease-out 0s, left 0s linear 0.5s;
}
.overlay .gutter {
    display: table-cell;
    vertical-align: middle;
}
.overlay .gutter .modal {
    max-width: 550px;
    border-radius: 10px;
    background: white;
    color: black;
    margin: 0px auto;
    padding-bottom: 10px;
    position: relative;
    text-align: center;
}
.overlay .modal a.close {
    position: absolute;
    right: 10px;
    top: 0px;
    color: black;
    opacity: .4;
    text-decoration: none;
    font-size: 30px;
}
.overlay .modal a.close:hover {
    opacity: .6;
}
.overlay .modal h1 {
    background: #20cba1;
    color: white;
    text-align: center;
    padding: 30px 10px;
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.overlay .modal h2 {
    font-size: 16px;
    line-height: 20px;
    padding: 0px 25px;
    margin: 0px auto;
}
.overlay .modal p {
    padding-left: 30px;
    padding-right: 30px;
    color: #333;
    margin-bottom: 0px;
}
.overlay .modal label {
    font-size: 13px;
    display: inline-block;
    width: 130px;
    text-align: left;
}
.overlay .modal label span {
    color: gray;
}
.overlay .modal input {
    width: 280px;
    font-size: 20px;
}
.overlay .modal select {
    width: 280px;
    font-size: 20px;
}
.overlay .modal hr {
    border: 0px;
}
.overlay .modal button {
    display: inline-block;
    margin: 25px auto 20px auto;
    outline: medium none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;

    padding: 0.5em 2em 0.55em;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
    border-radius: 0.5em;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid #12A1D6;

    background: #32c0f2; /* Old browsers */
    background: -moz-linear-gradient(top, #32c0f2 0%, #028bbb 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#32c0f2), color-stop(100%,#028bbb)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #32c0f2 0%,#028bbb 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #32c0f2 0%,#028bbb 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #32c0f2 0%,#028bbb 100%); /* IE10+ */
    background: linear-gradient(to bottom, #32c0f2 0%,#028bbb 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#32c0f2', endColorstr='#028bbb',GradientType=0 ); /* IE6-9 */

    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;


    color: white;
}
.overlay .modal .no_thanks {
    display: inline-block;
    margin: 0px 10px;
    font-size: 16px;
}
#battle .overlay .modal p {
    color: #444;
    max-width: 500px;
    margin: 0px auto;
    padding: 30px 25px;
    font-size: 18px;
}
#battle .overlay .modal p.nopad {
    padding: 0px 25px;
}
#battle .overlay .modal p.small {
    padding: 20px 25px 20px 25px;
    font-size: 14px;
}

.visible-on-mobile {
    display: none;
}

@media screen and (max-width: 767px) {
    .visible-on-mobile {
        display: block;
    }
}
