@font-face {
    font-family: 'Komika';
    src: url('../fonts/kmkdspt_.eot');
    src: url('../fonts/kmkdspt_.eot?#iefix') format('embedded-opentype'),
         url('../fonts/kmkdspt_.woff2') format('woff2'),
         url('../fonts/kmkdspt_.woff') format('woff'),
         url('../fonts/kmkdspt_.ttf') format('truetype'),
         url('../fonts/kmkdspt_.svg#komika_display_tightregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body {
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    font-family: verdana;
    background: #0D4784;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
    margin: 0;
    background-position: center;
    background-size: cover;
}

body.space{
    min-height: 0;
    background-image: url('../img/bg-space.jpg');
    background-repeat: none;
    background-size: cover;
}
@media screen and (max-height: 700px) {
    body.space{
        min-height: 0;
    }
}
@media screen and (min-height: 701px) {
    body.space{
        min-height: 100vh;
    }
}
@media screen and (max-height : 768px){
    body.space #mainSection{
        min-height: 0;
        height: auto;
    }
    footer {
        position: relative;
        bottom: 0;
    }
}
a img {
    border: none;
}

body.earth.t-c #mainSection {
    background-image: url(../img/bg-generic.jpg);
}

#generic {
    padding: 0px 20px;
    text-align: center;
}
#generic #content {
    background-color: rgba(233, 229, 236, 0.9);
    border-radius: 15px 15px 0px 0px;
    font-family: Helvetica;
    font-size: 18px;
    line-height: 1.4;
    margin: 0 auto;
    max-width: 940px;
    padding: 0px 20px;
    padding-bottom: 50px;
}
#generic #content h2 {
    color: #3a3e79;
    font-family: Komika, Verdana, Arial;
    font-size: 46px;
    text-transform: uppercase;
}
#generic #content h2:first-child {
    margin-top: 0px;
}
#generic #content h3 {
    color: #6297cd;
    font-family: Komika, Verdana, Arial;
    font-size: 22x;
    text-transform: uppercase;
}
#generic #content a {
    color: #1194c1;
}
#generic #content a:hover {
    text-decoration: underline;
}
@media screen and (max-width: 767px) {
    body {
        background: url('../img/bg-space-mobile.jpg') repeat-y center top #794688;
        background-size: cover;
    }
    #generic img {
        max-width: 50%;
    }
    #generic #content {
        margin-top: -15vw;
        padding-top: 20vw;
    }
}
@media screen and (min-width: 768px) {
    #generic #content {
        margin-top: -90px;
        padding-top: 140px;
    }
    #generic #contentInner .row:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
    #generic #content .col:first-child {
        float: left;
    }
    #generic #content .col:last-child {
        float: right;
    }
    #generic #content #contentInner {
        margin: 0 auto;
        max-width: 685px;
    }
}
a {
    text-decoration: none;
    border: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.site-nav
{
    display: inline;
}
/* -------------- HEADER ---------------- */
nav a {
    font-family: Komika, Verdana, Arial;
    margin-top: 10px;
    display: inline-block;
    border: none;
    text-decoration: none;
    position: relative;
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s linear;
    -webkit-transition: -webkit-transform 0.2s linear;
}
nav a:hover, nav a.inactive:hover {
    transition: transform 0.1s linear;
    -webkit-transition: -webkit-transform 0.1s linear;
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
nav a.active {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}
nav a.inactive {
    transition: transform 0.1s linear;
    -webkit-transition: -webkit-transform 0.1s linear;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    position: relative;
}

.background {
    width: 100vw;
    min-width: 100vw;
    height: 100vh;
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    overflow: hidden;
    bottom: 0;
    right: 0;
}
@media screen and (min-width:320px){
    .background{
        display: none;
    }
}
@media screen and (min-width:768px){
    .background{
        display: block;
    }
}
.language-nav {
    float: right;
}
.background .background-holder {
    width: 100vw;
    height: 200vh;
    position: relative;
    transition: transform 2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -webkit-transition: -webkit-transform 2s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}
.background.scrolled .background-holder {
    transform: translate3d(0, -50%, 0);
    -webkit-transform: translate3d(0, -50%, 0);
}
.background .background-holder div {
    width: 100vw;
    height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    transition: margin 1s linear -webkit-transition margin 1s linear;
}
.background .earth {
    background-image: url('../img/bg-earth.jpg');
    background-position: center -100px;
}
.background .space {
    background-image: url('../img/bg-space.jpg	');
    background-position: center bottom;
}
nav#main {
    background-image: url(../img/bg-nav.png);
    background-position: top center;
    background-repeat: no-repeat;
    bottom: 0%;
    position: absolute;
    width: 100%;
    text-align: center;
    z-index: 10;
}
nav#main a span {
    color: white;
}
nav#main a:hover {
    text-decoration: none;
}
@media screen and (min-width: 768px) {
    header {
        height: 168px;
    }
}
/* -------------- FOOTER ---------------- */

footer {
    position: absolute;
    width: 100%;
    top: 98%;
}
footer section {
    background-image: url('../img/footer_bg_pattern.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    width: 100%;
}
footer .footer-content {
    text-align: center;
    font-size: 10px;
    color: #fff;
    z-index: 3;
    bottom: 0;
    width: 100%;
    padding-top: 57px;
    min-height: 230px;
}
footer .footer-min-content {
    max-width: 1100px;
    overflow: auto;
    margin: 0 auto;
}
footer #apps-section {
    background-image: url('../img/footer-bg-spaceships.png');
    background-repeat: repeat;
    background-size: auto;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 40px;
}
footer #apps-text {
    margin-top: 15px;
    margin-bottom: 15px;
}
footer #app-icons {
    position: relative;

    margin-top: 15px;
    margin-bottom: 15px;
}
footer .app-icon-link {
    position: relative;
    display: inline-block;

    margin: 1.5rem .375rem 0;

    transition: transform 0.1s linear;
    -webkit-transition: -webkit-transform 0.1s linear;
}
footer .app-icon-link:hover, footer .app-icon-link.inactive:hover {
    transition: transform 0.1s linear;
    -webkit-transition: -webkit-transform 0.1s linear;
    
    transform: translateY(-7px);
    -webkit-transform: translateY(-7px);
}
footer .app-icon-link:hover:after, footer .app-icon-link.inactive:hover:after {
    content: attr(title);

    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0.75rem;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #FFFFFF;
}
footer #app-icon-image {
}
footer #app-icon-image:hover, footer #app-icon-image.inactive:hover {
}
footer #details-section {
    margin-top: 20px;
    padding-bottom: 20px;
}
footer #funded-by, footer #produce-by {
    width: 18%;
    display: inline-block;
}
footer #funded-by span, footer #produce-by span {
    display: inline-block;
    margin-right: 10px;
}
footer #funded-by a, footer #produce-by a {
    display: inline-block;
    vertical-align: middle;
}
footer #blurb {
    font-size: 12px;
    text-align: left;
    width: 64%;
}
footer #blurb .small {
    font-size: 10px;
    margin-top: 5px;
}

footer p a {
    color: #fff;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

footer nav a {
    color: yellow;
}

footer nav li {
    display: inline-block;
}

footer nav li::after {
    content: '|';
    font-size: 10px;
    color: rgba(0,0,0,0.2);
}

footer nav li:last-child::after {
    content: '';
}

footer p {
    margin: 0px;
}
.tv-guide {
    width: 250px;
    padding: 40px 30px 30px 30px;
    margin: 0 auto;
    display: block;
    background: url('../img/bg-tv-badge.png') no-repeat center center transparent;
    text-align: left;
}
.tv-guide a {
    color: white;
}
.tv-guide span {
    margin-left: 80px;
}
.tv-guide .title {
    font-family: Komika, Arial, Verdana;
    font-size: 20px;
    display: block;
}
@media screen and (max-width: 768px) {
    footer nav ul {
        padding: 0;
        margin-bottom: 20px;
    }
    footer nav li {
        margin-top: 20px;
        display: block;
    }
    footer nav li a {
        font-size: 12px;
    }
}
#for-parents {
    display: none;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 0px 0px;
    position: relative;
    z-index: 999;
}
#for-parents a {
    color: #fff;
    font-size: 14px;
}
#for-parents a:hover {
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
}
#privacy a  {
    color: #ff6633;
    font-size: 16px;
}
#privacy a:hover  {
    font-size: 16px;
    text-decoration: underline;
}
/* -------------- UNIVERSAL ---------------- */
#mainSection {
    height: auto;
}
.panel {
    background-image: url('../img/bg-promo-orange.png');
    background-size: cover;
    height: 185px;
    position: relative;
    width: 320px;
}

.panel .action {
    font-family: Komika, Verdana, Arial;
    color: white;
    font-size: 25px;
    display: block;
}

.panel .title {
    font-family: Komika, Verdana, Arial;
    color: white;
}

.panel.game {
    background-image: url('../img/bg-promo-orange.png');
    background-size: contain;
    margin-bottom: 10px;
}
.panel a {
    display: block;
}
.panel img {
    width: 310px;
    top: 5px;
    left: 5px;
    position: absolute;
    z-index: 1;
}
.panel .panel-icon {
    background-size: cover;
    position: absolute;
    z-index: 2;
    pointer-events: none;
}
.panel .panel-icon.game-icon{
    background-image: url(../img/bg-game-icon.png);
    bottom: 15px;
    height: 35px;
    left: 20px;
    width: 57px;
}
.panel .panel-icon.video-icon{
    background-image: url(../img/bg-video-icon.png);
    bottom: 15px;
    height: 45px;
    left: 20px;
    width: 50px;
}

 .panel .panel-icon.title-watch-videos{
    background-image: url(../img/title-watch-videos.png);
    width: 120px;
    height: 40px;
    bottom: 130px;
    left: 20px;
}
.panel.video {
    background-image: url('../img/bg-promo-green.png');
    background-size: contain;
    margin-bottom: 30px;
    height: 185px;
    position: relative;
    width: 320px;
}
.panel .description {
    position: absolute;
    top: 30px;
    left: 40px;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}
.panel .description .action {
    color: yellow;
}
.wrap {
    overflow: auto;
}
iframe, object, embed {
    min-height: 100%;
    min-width: 100%;
    overflow: auto;
}
.floating{
    -webkit-animation-name: Floatingx;
    -webkit-animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-name: Floating;
    -moz-animation-duration: 5s;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: ease-in-out;
}
@-webkit-keyframes Floatingx{
    from {-webkit-transform:translate(0, 0px);}
    65% {-webkit-transform:translate(0, 10px);}
    to {-webkit-transform: translate(0, -0px);}
}
@-moz-keyframes Floating{
    from {-moz-transform:translate(0, 0px);}
    65% {-moz-transform:translate(0, 10px);}
    to {-moz-transform: translate(0, -0px);}
}
.container {
    padding: 0 12px;
    position: relative;
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    box-sizing: border-box;

}
@media screen and (min-width: 768px) {
    .container {
        padding: 0;
    }
}
.strap
{
    margin-top: 10px;
}

@media screen and (max-width: 767px)
{
    .strap
    {
        margin-top: 0px;
    }

    .site-nav .channel
    {
        float: left;
    }

    .site-nav .channel img
    {
        float: left;
    }
}

.branding {
    width: 100%;
}
.show > img {
    height: 120px;
    vertical-align: middle;
}
.show .gamepages {
    height: 60px;
    vertical-align: middle;
}
.channel > img {
    height: 60px;
    vertical-align: top;
    margin-right: 12px;
}
.channel .gamepages {
    height: 35px;
    vertical-align: top;
}
.site-nav {
    padding-top: 30px;
    padding-left: 40px;
}
.site-nav .pop img {
    transition: 0.1s transform linear;
    -webkit-transition: 0.1s -webkit-transform linear;
}
.site-nav .pop img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.sponsors {
    color: #fff;
    padding-top: 13px;
    padding-bottom: 12px;
    font-size: 16px;
    font-family: Komika;
    text-transform: uppercase;
    padding-right: 90px;
}
section.character{
    overflow: hidden;
}
@media screen and (min-width: 768px) {
    .sponsors {
        padding-bottom: 106px;
    }
}

.sponsor > img {
    vertical-align: middle;
    max-width: 130px;
    max-height: 30px;
    margin: 0 6px;
}
@media screen and (min-width: 768px) {
    .sponsor > img {
        max-width: 130px;
        max-height: 30px;
    }
}
/* Navigation */
.navigation-link {
    height:140px;
    text-transform: uppercase;
}

.navigation-link img {
    height:100%;
    display:block;
}

.navigation-link span {
    margin-top: -50px;
    display: block;
}

@media screen and (max-width: 1024px) {
    .strap {
        padding-right: 20px;
    }
    .sponsors {
        padding-right: 0px;
    }
    .main-home {
        margin-right: 20px;
    }
}
@media screen and (max-width: 767px) {
    footer .footer-content, footer #main {
        display: none;
    }
    footer {
        display: block;
        height: 20%;
        position: relative !important;
        bottom: 0 !important;
    }
    footer #for-parents {
        display: block;
    }
    #for-parents.hide {
        display: none;
    }
    .strap {
      /*  padding-right: 4px; */
        background-color: rgba(0, 0, 0, 0.4);
        height: 55px;
    }

    .sponsors {
        font-size: 14px;
        padding-top: 10px;
    }
    .sponsors > a:last-child img {
        margin-right: 0px;
    }
    .channel > img {
        height: 55px;
        padding-left: 4px;
        margin-right: 5px;
        margin-top: 60px;
    }
    .show > img {
        height: 86px;
        margin-top: 60px;

    }
    .branding {
        padding-left: 0px;
        width: 100%;
    }
    .branding a {
        display: inline-block;
        vertical-align: top;
    }
    nav#main {
        display: none;
    }
    .main-home {
        display: none;
    }
    section.home {
        margin-bottom: 0px;
        padding: 0px 10px;
    }
    #nasa-logo {
        height: 70px;
        width: 91px;
    }
}
.t-c footer {
    bottom: 0px;
    position: relative;
}
.u-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

@media screen and (max-width: 641px)
{
    section.home
    {
        margin-top: 50px !important;
    }

    .site-nav
    {
        padding-left: 5px;
    }
    .sswim {
      display: none;
    }
}

 @media screen and (max-width: 440px) {
  .show > img {
      height: 86px;
      margin-top: 10px;
  }
  .sponsors {
      font-size: 12px;

    }
  .sponsor > img {
        vertical-align: middle;
        max-width: 100px;
        max-height: 30px;
    }
  .channel > img {
        margin-top: 30px;
    }
 .sswim {
   display: none;
 }



/* iPhone 5 and 5S */
@media only screen and (min-device-width : 320px) and (max-device-width : 568px)
and (orientation : portrait)
{
    #mainSection
    {
        min-height: 950px !important;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 568px)
and (orientation : landscape)
{
    #mainSection
    {
        min-height: 1350px !important;
    }
}

/* iPhone 6+ */
@media only screen and (min-device-width : 414px) and (max-device-width : 736px)
and (orientation : portrait)
{
    #mainSection
    {
        min-height: 1100px !important;
    }
}

@media only screen and (min-device-width : 414px) and (max-device-width : 736px)
and (orientation : landscape)
{
    #mainSection
    {
        min-height: 1600px !important;
    }
}