/*Tappy Chicken HTML5 Page */
html {height:100%;min-height: 100%}
body {
    background-color:#fafafa;
    color: #161617;
    background-image: url('https://de45xmedrsdbp.cloudfront.net/TappyChicken/WebBG2-2004x691-2128061205-2004x691-1076223088.png');
    background-repeat: no-repeat;
    background-size: cover;
    min-width: 320px;
    padding:0;
    margin:0;
    text-align: center;
    font-family: 'Eurostile',Helvetica, sans-serif;
    min-height: 100%;
    height: 100%;
}
a:link { color: #f7931d}
a:visited {color:#f7931d;}
a:hover {color: #c16b07;}
a:active {color:#c16b07;}
.emscripten {
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

textarea.emscripten {
    font-family: consolas, "lucida sans console", monospace;
    background: gray;
    font-size: 80%;
    width: 80%;
    display: none !important;
}
div.emscripten {
    text-align: center;
}

div.masterContainer {
    margin: 0 auto;
    max-width: 1272px;
    min-width: 320px;
    height: 100%;
    min-height: 100%;
}
div.shadow {
    width:16px;
    min-height: 100%;
    position: relative;
    display: block;
    float: left;
}
div.shadow:last-child {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
div.mobileHeader {
    display: none;
}
div.container {
    position: relative;
    float:left;
    background-color: #fff;
    padding-top: 20px;
    max-width: 1240px;
    min-height:100%;
    height: 100%;
    background-color: rgb(255,255,255); /*Fallback*/
    background-color: rgba(255,255,255,.5);
}
div.intro {
    border:3px solid #772f17;
    border-radius: 4px;
    margin: 0 30px 10px 30px;
    background: rgb(255,255,218);
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 43%, rgba(255,255,218,1) 53%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%,rgba(255,255,255,1)), color-stop(43%,rgba(255,255,255,1)), color-stop(53%,rgba(255,255,218,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -o-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffda',GradientType=0 );
}
div.intro p {
    color: #161617;
    padding:10px;
    font-size: 18px;
    font-weight: bold;
}
div#left,div#right {
    position: relative;
    float: left;
    padding: 30px;
    max-width: 22%;
    text-align: left;
}
div#left p {
    padding-bottom: 10px;
}
div.listBlock {
    margin-top: 10px;
}

.listBlock h2 {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    padding-bottom: 10px;
}
div.listBlock li {
    background-image: url('https://de45xmedrsdbp.cloudfront.net/TappyChicken/EggBullet-18x21-226033852-18x21-120812478.png');
    background-repeat: no-repeat;
    background-position-y:-2px;
    padding-left: 20px;
    padding-bottom: 8px;
}
div#display_wrapper {
    position: relative;
    display: block;
    float: left;
    margin: 0 auto;
    text-align: center;
    max-width: 576px;
    background: url('https://de45xmedrsdbp.cloudfront.net/TappyChicken/Game_BG-576x768-847185746-576x768-150773530.png') no-repeat;
    -moz-box-shadow: 0px 8px 6px -6px rgba(68,68,68,0.6);
    -webkit-box-shadow: 0px 8px 6px -6px rgba(68,68,68,0.6);
    box-shadow: 0px 8px 6px -6px rgba(68,68,68,0.6);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30);
    -ms-filter: "progid:DXImageTransform.Microsoft.Blur(PixelRadius=3,MakeShadow=true,ShadowOpacity=0.30)";
    zoom: 1;
}
.chicken {
    position: absolute;
    top: 44%;
    left: 40%
}
a#startthegame {
    color:#fffff8;
    position:absolute;
    top:561px;
    left: 172px;
    background: url('https://de45xmedrsdbp.cloudfront.net/TappyChicken/loadBtn-219x252-2129419810-219x252-2007568255.png') no-repeat;
    display: block;
    width:219px;
    height: 125px;
    border: none;
}
a#startthegame:hover {
    color:#fffffc;
    background-position: 0 -125px;
}
canvas.main {
    border: none;
    background: url('https://de45xmedrsdbp.cloudfront.net/TappyChicken/Game_BG-576x768-847185746-576x768-150773530.png') no-repeat;
    display: block;
    position: relative;
    width: 576px;
}
div#buttons {
    clear: both;
    position: relative;
    max-width: 576px;
    margin: 0 auto;
}
#buttons ul li {
    display: inline-block;
    padding: 0 5px;
}
div#buttons a.btn {
    position: relative;
    margin: 1em auto;
    padding: 0;
    display: block;
    width: 120px;
    height: 30px;
    border-radius: 4px;
    background-color: #f7931d;
    color: #fff;
    font-family: 'Eurostile',Helvetica, sans-serif;
    font-size: 1.125em;
    line-height: 32px;
    text-align: center;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration:none;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    transition: 0.3s all ease-in;
}
div#buttons a.btn:hover {
    background: #c16b07;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    transition: 0.3s all ease-in;
}
footer {
    clear: both;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}
footer ul {
    position: relative;
    width: 100%;
    padding-top: 20px;
    margin:0 auto;
}
footer ul li {
    list-style: none;
    display: inline-block;
}
img.epicLogo {
    padding-bottom: 13px;
}
footer p.legal {
    font-size: 12px;
    letter-spacing: 1px;
    padding-top: 20px;
}
#desktopNeedsBiggerWindow {
    display:none;
}

/*Media Queries*/

@media (max-width: 1300px){
    .shadow {
          display:none !important;
    }
    .container {
        max-width: 100% !important;
    }
}
/*Tablet CSS */
@media (max-width: 1200px){
    div#desktopNeedsBiggerWindow {
        display:block;
    }
    div.mobileHeader {
        display:block;
        max-width:393px;
        margin: 0 auto;
        padding:0 20px 20px 20px;
    }
    div.intro {
        max-width: 450px;
        margin:0 auto;
    }
    div.intro p {
        font-size: 16px;
    }
    div#left,div#display_wrapper,div.emscripten {
        display: none !important;
    }
    div#right {
        min-width: 100% !important;
        float: none;
        text-align:center;
        padding: 0;
    }
    div.listBlock {
        margin: 10px auto;
        width: 272px;
    }
    div.container {
        max-width: 100% !important;
        float: none;
        padding-top: 0;
    }
}

/*Mobile View*/
@media (max-width: 600px){
    div.intro {
        max-width: 100%;
        margin: 0 20px 10px 20px;
    }
    div#buttons  {
        max-width: 100%;
        padding: 0 20px;
    }
    div#buttons ul li {
        display:block !important;
    }
    div#buttons ul li a.btn {
        width: 100%;
        margin: .5em auto;
    }
}

/* messages */
#store, #warning, #ie-noshow, #loading-message {
    display: none;
}

#loading-message {
    position: absolute;
    width: 300px;
    height: 62px;
    color: #000;
    /* z-index: 1000; */

    top: -webkit-calc(50% - 42px);
    top: -moz-calc(50% - 42px);
    top: calc(50% - 42px);

    left: -webkit-calc(50% - 170px);
    left: -moz-calc(50% - 170px);
    left: calc(50% - 170px);

    border:3px solid #772f17;
    border-radius: 4px;
    background: rgb(255,255,218);
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 43%, rgba(255,255,218,1) 53%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%,rgba(255,255,255,1)), color-stop(43%,rgba(255,255,255,1)), color-stop(53%,rgba(255,255,218,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -o-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffda',GradientType=0 );
    padding: 20px;
}

div#status {
    font-size: 34px;
    margin-bottom: 10px;
}

#warning, #ie-noshow{
    color: #000;
    z-index: 1000000;
    border:3px solid #772f17;
    border-radius: 4px;
    background: rgb(255,255,218);
    background: -moz-linear-gradient(top, rgba(255,255,255,1) 43%, rgba(255,255,255,1) 43%, rgba(255,255,218,1) 53%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%,rgba(255,255,255,1)), color-stop(43%,rgba(255,255,255,1)), color-stop(53%,rgba(255,255,218,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -o-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: -ms-linear-gradient(top, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    background: linear-gradient(to bottom, rgba(255,255,255,1) 43%,rgba(255,255,255,1) 43%,rgba(255,255,218,1) 53%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffda',GradientType=0 );
    font-size: 14px;
    font-weight: bold;
    padding: 20px;
}

#warning {
    position: absolute;
    width: 300px;
    height: 140px;
    top: -webkit-calc(40% - 10px);
    top: -moz-calc(40% - 10px);
    top: calc(40% - 10px);
    left: -webkit-calc(50% - 180px);
    left: -moz-calc(50% - 180px);
    left: calc(50% - 180px);
}

#ie-noshow{
    position: absolute;
    width: 300px;
    height: 100px;
    top: -webkit-calc(40% - 10px);
    top: -moz-calc(40% - 10px);
    top: calc(40% - 10px);
    left: -webkit-calc(50% - 180px);
    left: -moz-calc(50% - 180px);
    left: calc(50% - 180px);
}

#warning img, #ie-noshow img {
    display: block;
    margin: 0 auto;
    padding-bottom: 5px;
    width: 38px;
}

#warning a {
    margin: 1em auto;
    padding: 0;
    display: block;
    width: 120px;
    height: 30px;
    border-radius: 4px;
    background-color: #f7931d;
    color: #fff;
    font-family: eurostile;
    font-size: 1.125em;
    line-height: 32px;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    transition: 0.3s all ease-in;
}

#warning a:hover{
    background: #c16b07;
    -webkit-transition: 0.3s all ease-in;
    -moz-transition: 0.3s all ease-in;
    -o-transition: 0.3s all ease-in;
    transition: 0.3s all ease-in;
}      

/* download stuff */
div#downloadOtherMobile {
    display: none;
}

div#canvasContainer {
    width: 576px;
    height: 768px;
    display: block;
}