﻿body, h2, p, ul, li { margin: 0; padding: 0; }

body, html {
    height: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    background-color: #2068b2;
    font-family: Arial, Verdana;
}

.center { text-align: center; }
.displayNone { display: none; }

div#topAd {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0.5em auto;
    text-align: center;
}

div.mobileAd {
    width: 100%;
    height: auto;
}

div.mobileAd a {
    display: block;
    width: 100%;
    text-align: center;
}

div#container {
    //background: #ffffff url(../../../a/img/mobile/bg.gif) repeat-x;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
}

div#wrapper {
    padding-bottom: 12%;
    //background: transparent url(../../../a/img/mobile/footer_bg.gif) repeat-x bottom left;
}

h1 {
    margin: 0.2em auto 0;
    width: 614px;
    height: 119px;
    background-image: url(../../../a/img/mobile/logo_large.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 90%;
    text-indent: -99999em;
}

ul { list-style: none; }

.rowTitle {
    position: absolute;
    z-index: 2;
    font-size: 0;
    text-indent: -9999em;
}

#gameTitle {
    top: -10%;
    left: 3%;
    width: 25%;
}

#gameTitle:before {
    content: "";
    display: block;
    padding-top: 56.25%;
    //background: transparent url(../../../a/img/mobile/title_onlinegames.png) no-repeat center center;
    background-size: contain;
}

#appsTitle {
    top: -4%;
    left: 10%;
    width: 12%;
}

#appsTitle:before {
    content: "";
    display: block;
    padding-top: 75%;
    //background: transparent url(../../../a/img/mobile/title_apps.png) no-repeat center center;
    background-size: contain;
}

#gameList {
    position: relative;
}

#gameList .row {
    width: 100%;
    padding: 0;
    margin-bottom: 0.5em;
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#2578cc), color-stop(20%,#2578cc), color-stop(20%,#2578cc), color-stop(100%,#2578cc));
}

#gameList .row.alt {
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#2578cc), color-stop(80%,#2578cc), color-stop(80%,#2578cc), color-stop(100%,#2578cc));
}

#gameList .row .wrapper {
    //background: url(../../../a/img/mobile/left_edge.jpg) repeat-y top left;
}

#gameList .row.alt .wrapper {
    //background: url(../../../a/img/mobile/right_edge.jpg) repeat-y top right;
}

#gameList .wrapper {
    display: -webkit-box;
    display: -webkit-flexbox;
    display: -webkit-flex;
    display: flex;

     -webkit-box-align: center;
    -webkit-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
 
    -webkit-box-pack: justify; 
    -webkit-justify-content: space-between;
    justify-content: space-between;

    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    padding: 2% 2% 2% 6%;

    position: relative;
}

#gameList .row .gameThumb {
    display: block;
    width: 35%;
}

#gameList .row img {
    display: block;
    padding: 5% 10% 10% 10%;//4.5% 6%;
    max-width: 80%;//88%;
    width: 100%;
    background-repeat: no-repeat;
    background-image: url(../../../a/img/mobile/thumb_frame.png);
    background-size: contain;
}

#gameList .ductTape { display: none; }

#gameList .content {
    width: 62%;
    color: #fff;
}

#heroCopy h2 {
    width: 70%;
    color: #fff;
    font-size: 1.4em;
    text-transform: uppercase;
}

#heroCopy p {
    font-size: 0.8em;
    color: #ccc;
    margin-bottom: 0.8em;
}

.content h2 {
    color: #fff;
    font-size: 1.1em;
    text-transform: uppercase;
}

.content p {
    font-size: 0.8em;
    color: #ccc;
    margin-bottom: 0.4em;
}

#warning {
    position: relative;
    width: 80%;
    margin: 2% auto 0;
}

#warningCopy h2 {
    /*width: 80%;*/
    color: #CCCCCC;
    font-size: 1.4em;
}

#hero {
    position: relative;
    width: 80%;
    margin: 5% auto 5%;
}

#hero img {
    display: block;
    max-width: 78.667%;
    padding: 6% 10.667%;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-image: url(../../../a/img/mobile/featurebg_16x9.png);
    background-size: contain;
}

#heroCopy {
    position: relative;
    margin: 0.3em 1.5em 0.3em;
}

#heroAsset {
    position: relative;
    display: block;
}

#heroAsset #ductTape {
    position: absolute;
    top: -1%;
    right: 1%;
    width: 28%;
}

#heroAsset #ductTape:before {
    content: "";
    display: block;
    padding-top: 75%;
    //background: transparent url(../../../a/img/mobile/duct_tape.png) no-repeat 0 0;
    background-size: contain;
}

#heroCopy a.playButton {
    position: absolute;
    display: block;
    top: 0.2em;
    right: 0;
    width: 18%;
    text-indent: -999em;
}
#heroCopy a.appleButton {
    position: absolute;
    display: block;
    top: 0.2em;
    right: 0;
    width: 18%;
    text-indent: -999em;
}
#heroCopy a.googleButton {
    position: absolute;
    display: block;
    top: 0.2em;
    right: 0;
    width: 18%;
    text-indent: -999em;
}

#gameList a.playButton {
    display: block;
    width: 20%;
    font-size: 0;
}
#gameList a.appleButton {
    display: block;
    width: 20%;
    font-size: 0;
}
#gameList a.googleButton {
    display: block;
    width: 20%;
    font-size: 0;
}

#gameList a.playButton:before {
    content: "";
    display: block;
    padding-top: 50%;
    background: transparent url(../../../a/img/mobile/btn_play.png) no-repeat 0 0;
    background-size: contain;
}

#heroCopy a.playButton {
    content: "";
    display: block;
    padding-top: 50%;
    background: transparent url(../../../a/img/mobile/btn_play.png) no-repeat 0 0;
    background-size: contain;
}
#heroCopy a.appleButton {
    content: "";
    display: block;
    padding-top: 25%;
    margin-right: 33%;
    margin-bottom: 2%;
    background: transparent url(../../../a/img/mobile/btn_apple.png) no-repeat 0 0;
    background-size: contain;
}
#heroCopy a.googleButton {
    content: "";
    display: block;
    padding-bottom: 25%;
    background: transparent url(../../../a/img/mobile/btn_google.png) no-repeat 0 0;
    background-size: contain;
}

@media only screen and (orientation : landscape) {
    #hero {
        display: -webkit-box;
        display: -webkit-flexbox;
        display: -webkit-flex;
        display: flex;

        -webkit-box-align: center;
        -webkit-flex-align: center;
        -webkit-align-items: center;
        align-items: center;

        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        justify-content: space-between;

        margin-bottom: 1.2em;
    }

    #heroAsset {
        width: 65%;
    }

    #heroCopy {
        margin: 0;
        width: 33%;
    }

    #heroCopy h2 { font-size: 1.7em; }
    #heroCopy p { font-size: 0.9em; }

    .content h2 { font-size: 1.5em; }
    .content p { font-size: 1.1em; }

    #heroCopy a.playButton {
        position: static;
        top: 0;
        width: 40%;
    }
    #heroCopy a.appleButton {
        position: static;
        top: 0;
        width: 60%;
    }
    #heroCopy a.googleButton {
        position: static;
        top: 0;
        width: 60%;
    }
}

@media (min-width : 568px) {
    #gameList .content h2 {
        width: 60%;
    }
    
    #gameList a.playButton {
        position: absolute;
        top: 40%;
        right: 5%;
        width: 15%;
    }
    
    #gameList a.appleButton {
        position: absolute;
        top: 40%;
        right: 5%;
        width: 15%;
    }
    
    #gameList a.googleButton {
        position: absolute;
        top: 40%;
        right: 5%;
        width: 15%;
    }
}

#appList {
    position: relative;
    margin-top: 8%;
}

#appList ul {
    text-align: center;
    margin: 1.5em auto 0;
    width: 80%;
    overflow: hidden;
}

#appList li {
    float: left;
    overflow: hidden;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 33.3%;
    padding: 0 6% 4%;
    margin: 0 auto 0.8em 0;
    text-align: center;
}

#appList li a {
    display: block;
    text-decoration: none;
}

#appList li img {
    display: block;
    width: 100%;
    border-radius: 1em;
}

#appList li span {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.8em;
    padding-top: 0.5em;
}

/* Footer */
footer {
    color: #999;
    background-color: #eee;
    padding: 3% 1%;
}

footer ul#social {
    text-align: center;
    margin-bottom: 2%;
}

footer ul#social li {
    display: inline-block;
    overflow: hidden;
    width: 8%;
    margin: 0 2%;
}

footer ul#links {
    text-align: center;
}

footer ul#links li {
    display: inline-block;
}

footer ul#links li a {
    color: #999;
    text-decoration: none;
    padding: 0em 0.4em 0 0.2em;
}

footer ul#links li:after {
    content: "|";
}

footer ul#links li:last-child:after {
    content: "";
}

/* Terms Of Service */
#terms {
    color: #fff;
    font-family: Arial, Verdana;
    font-size: 1em;
    margin: 5% 0 0 0;
    padding: 0 1em;
}

#terms a {
    color: #fff;
    font-weight: bold;
    padding: 0 1em;
}

#terms .pageTitle {
	color: #ee3524;
	font-family: Arial, Verdana;
	font-size: 2em;
	font-weight: normal;
	line-height: 1;
	text-transform: uppercase;
	margin-bottom: 1.1em;
}

#terms p,
#terms .plainList {
	margin: 0 0 0.7em 0;
}

/* Mobile */
@media only screen and
        (max-width : 480px) and (orientation : portrait),
        (max-width : 640px) and (orientation : landscape)
{
    body { font-size: 1em; }
    h1 {
        width: 291px;
        height: 60px;
        background-image: url(../../../a/img/mobile/logo_small.png);
    }
    div#wrapper {
        //background-image: url(../../../a/img/mobile/footer_bg_mobile.gif);
    }
    footer ul#social li {
        width: 10%;
    }

    /* Remove Hero Frame, Picture Full Screen */
    #hero {
        width: 100%;
        max-width: 100%;
        margin-top: 8%;
    }
    #hero #ductTape { display: none; }
    #hero img {
        max-width: 100%;
        width: 100%;
        padding: 0;
        background-image: none;
    }
    #gameTitle {
        top: -14%;
        left: 2%;
        width: 30%;
    }
    #heroCopy {
        margin: 2% auto 10%;
        width: 80%;
    }
    #heroCopy p { margin-bottom: 0; }
    #heroCopy a.playButton { width: 30%; }
    #heroCopy a.appleButton { width: 30%; }
    #heroCopy a.googleButton { width: 30%; }
    #gameList ul {
        width: 90%;
        margin: 0 auto;
    }
    #gameList ul li.row,
    #gameList ul li.row.alt {
        background: none;
        margin-bottom: 0;
    }
    #gameList ul li.row .wrapper,
    #gameList ul li.row.alt .wrapper {
        background: none;
        width: 100%;
        padding: 0;
    }
    #gameList ul li.row .gameThumb {
        position: relative;
        width: 100%;
    }
    #gameList .content {
        position: relative;
        width: 90%;
        margin: 2% auto 10%;
    }
    #gameList h2, #gameList p {
        max-width: 68%;
    }
    .content h2, #heroCopy h2 {
        font-size: 1.5em;
    }
    .content p, #heroCopy p { font-size: 1.1em; }
    #gameList a.playButton {
        position: absolute;
        top: 0;
        right: 0;
        width: 30%;
    }
    #gameList a.appleButton {
        position: absolute;
        top: 0;
        right: 0;
        width: 30%;
    }
    #gameList a.googleButton {
        position: absolute;
        top: 0;
        right: 0;
        width: 30%;
    }
    #gameList .row img {
        background-image: url(../../../a/img/mobile/featurebg_16x9.png);
        padding: 6% 11.5%;
        max-width: 77%;
    }
    #gameList .ductTape {
        display: block;
        position: absolute;
        top: 0;
        right: -2%;
        width: 30%;
    }

    #gameList .ductTape:before {
        content: "";
        display: block;
        padding-top: 75%;
        //background: transparent url(../../../a/img/mobile/duct_tape.png) no-repeat 0 0;
        background-size: contain;
    }
    #appList li span {
        font-size: 1.1em;
    }
}

/* Mobile Portrait */
@media only screen and (max-width : 480px) and (orientation : portrait) {
    #gameList ul li.row .wrapper,
    #gameList ul li.row.alt .wrapper {
        display: block; /* Drop Flex */
    }
    #appsTitle {
        top: -6%;
        left: 12%;
        width: 16%;
    }
    #appList li:nth-child(2n+3) {
        clear: left;
    }
    #appList li {
        width: 50%;
        padding: 0 10% 4%;
    }
    #gameTitle {
        top: -15%;
        left: 4%;
        width: 22%;
    }
}

/* Mobile Landscape */
@media only screen and (max-width : 640px) and (orientation : landscape) {
    #hero {
        margin-top: 5%;
    }
    #heroCopy {
        width: 34%;
        margin: 0;
    }
    #heroCopy h2 { font-size: 1.7em; }
    #heroCopy p { font-size: 1.3em; padding-bottom: 0.4em; }
    #heroAsset {
        width: 65%;
    }
    #heroCopy a.playButton { width: 40%; }
    #heroCopy a.appleButton { width: 40%; }
    #heroCopy a.googleButton { width: 40%; }
    #gameTitle { top: -26%; }
    #gameList ul li.row .gameThumb {
        width: 50%;
    }
    #gameList .content {
        width: 48%;
        margin: 0;
    }
    #gameList ul li.row .wrapper {
        margin-bottom: 3%;
    }
    #gameList a.playButton {
        position: static;
        width: 30%;
    }
    #gameList a.appleButton {
        position: static;
        width: 30%;
    }
    #gameList a.googleButton {
        position: static;
        width: 30%;
    }
    #gameList h2, #gameList p { max-width: 100%; }
    #gameTitle {
        top: -18%;
        width: 20%;
    }
    #appsTitle {
        top: -4%;
        left: 9%;
        width: 10%;
    }
    #appList li:nth-child(3n+4) {
        clear: left;
    }
    #terms {
        font-size: 0.5em;
    }
}

/* Tablet */
@media only screen and (min-width : 641px) {
    body { font-size: 1.4em; }
}

/* Tablet Portrait */
@media only screen and (min-width : 641px) and (orientation : portrait) {
    #gameTitle {
        top: -10%;
        left: -3%;
        width: 28%;
    }
    #appsTitle {
        top: -6%;
        left: 10%;
        width: 10%;
    }
}
/* Tablet Landscape */
@media only screen and (min-width : 641px) and (orientation : landscape) {
    #heroAsset {
        width: 75%;
    }
    #heroCopy {
        margin: 0;
        width: 23%;
    }
    #gameTitle {
        top: -13%;
        left: -2%;
        width: 22%;
    }
    #appsTitle {
        top: -7%;
        left: 10%;
        width: 10%;
    }
    #appList li span {
        font-size: 1.1em;
    }
}


/**
 * Ikenna I : 09/29/2015
 * Privay Policy Styles
 */
 .PrivacyPolicy {
    color: #FFF;
    padding: 40px 15px 40px 15px;
    font-size: 1em;
 }

 .PrivacyPolicy h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
 }

 .PrivacyPolicy p {
    color: #CCC;
    line-height: 1.1em;
    padding: 0 0 20px 0;
 }

 .PrivacyPolicy a:link,
 .PrivacyPolicy a:hover,
 .PrivacyPolicy a:active {
    color: #FFF;
}

.PrivacyPolicy ul {
    margin: 0 0 0 40px;
    padding: 0 0 20px 0;
    color: #CCC;
    list-style: disc;
}

.PricacyPolicy ul li {
    color: #CCC;
    list-style: disc;
}

/**
 * Ikenna I : 09/29/2015
 * Copyright Styles
 */
 .Copyright {
    color: #FFF;
    padding: 40px 15px 40px 15px;
    font-size: 1em;
 }

 .Copyright h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
 }

 .Copyright p {
    color: #CCC;
    line-height: 1.1em;
    padding: 0 0 20px 0;
 }

 .Copyright a:link,
 .Copyright a:hover,
 .Copyright a:active {
    color: #FFF;
}

.Copyright ul {
    margin: 0 0 0 40px;
    padding: 0 0 20px 0;
    color: #CCC;
    list-style: disc;
}

.Copyright ul li {
    color: #CCC;
    list-style: disc;
}

/**
 * Ikenna I : 09/29/2015
 * Terms of Use Styles
 */
 .TermsOfUse {
    color: #FFF;
    padding: 40px 15px 40px 15px;
    font-size: 1em;
 }

 .TermsOfUse h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
 }

 .TermsOfUse p {
    color: #CCC;
    line-height: 1.1em;
    padding: 0 0 20px 0;
 }

 .TermsOfUse a:link,
 .TermsOfUse a:hover,
 .TermsOfUse a:active {
    color: #FFF;
}

.TermsOfUse ul {
    margin: 0 0 0 40px;
    padding: 0 0 20px 0;
    color: #CCC;
    list-style: disc;
}

.TermsOfUse ul li {
    color: #CCC;
    list-style: disc;
}