html, body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    overflow: auto;
    height: 1690px;
    background: url(fb_images/bg1.png) no-repeat 50% 115px, url(fb_images/bg2.png) no-repeat, #17433f url(fb_images/bg3.png) repeat-x 0 0;
}

object:focus {
    outline: none;
}

#AngryBirdsFacebook {
    visibility: visible !important;
}

#topExtraContent, #iframe-banner {
    position: relative;
    width: 972px;
    height: 120px;
    margin: 0 auto 0 auto;
    padding-top: 0;
    overflow: hidden;
    display: block;
    border: 0;
}

#bottomExtraContent {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 990px;
    margin: 25px auto 0 auto;
    display: block;
    border: 0;
}

#bottomExtraContentAds {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 990px;
    margin: 25px auto 0 auto;
    overflow: hidden;
    display: block;
    border: 0;
}

#bottomContentAds {
    max-width: 990px;
    min-width: 980px;
    margin: 6px auto 0 auto;
}

#footer {
    text-align: center;
    width: 100%;
    font-family: Arial;
    font-size: 13px;
    color: #fff;
    clear: both;
    padding-top: 20px;
    margin: 0;
    padding: 0;
}

#footer a {
    color: #fff;
    text-decoration: none;

    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

#footer a:hover {
    -webkit-filter: brightness(70%);
    -moz-filter: brightness(70%);
    -o-filter: brightness(70%);
    filter: brightness(70%);
}

#allContent {
    position: relative;
    min-width: 760px;
    max-width: 940px;
    margin: 0 auto;
    height: 570px;
}

#mainContent {
    margin-top: 10px;
    width: 100%;
    position: absolute;
}

#unity-container {
    width: 100%;
    height: 570px;
}

#imageContent {
    display: none;
    position: absolute;
    width: 100%;
    top: 10px;
}

#screenshot, #pauseLoading {
    width: 100%;
    height: 570px;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    user-select: none;
    -moz-user-select: none; /* fix for FUP-17211 as suggested here: https://discussions.unity.com/t/odd-issue-with-focus-in-firefox/1651226/2 */
}

#unity-loading-screen {
    background-image: url(fb_images/splash_750.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 940px;
    height: 570px;
    align-content: center;
    display: flex;
    flex-direction: column-reverse;
}

#unity-progress-bar {
    width: 205px;
    align-self: center;
    height: 15px;
    border: 2px solid #DF0223;
    margin-bottom: 130px;
    position: absolute;
    background-color: #DF0223;
    left: 362px;
}

#unity-progress-bar-full {
    display: inline-block;
    width: 0%;
    height: 15px;
    background-color: white;
}

.theme.background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.theme.background .contentRelative {
    width: 100%;
    height: 100%;
    display: table;
    table-layout: fixed;
}

.theme.background .left {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
}

.theme.background .right {
    position: absolute;
    left: 50%;
    top: 0;
    width: 50%;
    height: 100%;
}

.theme.background .contentLeft {
    display: table-cell;
    height: 100%;
}

.theme.background .content {
    display: table-cell;
    width: 940px;
    height: 100%;
}

.theme.background .contentRight {
    display: table-cell;
    height: 100%;
}

#bottomContent {
    max-width: 990px;
    min-width: 980px;
    margin: 0 auto 0 auto;
}

#socialButtons {
    padding: 8px;
    width: 971px;
    height: 20px;
}

#button4 a {
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

#button4 div:hover {
    -webkit-filter: brightness(80%);
    -moz-filter: brightness(80%);
    -o-filter: brightness(80%);
    filter: brightness(80%);
}

#button1, #button2 {
    float: left;
}

#button3, #button4 {
    float: right;
}

div#underGameButton {
    padding: 20px 0 0 10px;
    width: 971px;
    height: 70px;
}

.redirectingButton {
    height: 60px;
    margin-right: 10px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.redirectingButton:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}

#scheduleButton {
    cursor: pointer;
    height: 60px;
    margin-right: 10px;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

#scheduleButton:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
}

#upcomingTournamentDescription {
    padding: 0 16px;
    color: #464646;
    font-size: 15px;
    max-height: 78px;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (-webkit-min-device-pixel-ratio: 0) {
    #upcomingTournamentDescription {
        display: -webkit-box;
        -webkit-line-clamp: N;
        -webkit-box-orient: vertical;
    }
}

.active {
    color: #265e9e;
}

.fb_iframe_widget iframe {
    position: fixed !important;
    z-index: 999 !important;
}

.cl-effect a::before, .cl-effect a::after {
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
    -moz-transition: -moz-transform 0.3s, opacity 0.2s;
    transition: transform 0.3s, opacity 0.2s;
}

.cl-effect a::before {
    margin-right: 3px;
    content: '[';
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    transform: translateX(20px);
}

.cl-effect a::after {
    margin-left: 3px;
    content: ']';
    -webkit-transform: translateX(-20px);
    -moz-transform: translateX(-20px);
    transform: translateX(-20px);
}

.cl-effect a:hover::before, .cl-effect a:hover::after, .cl-effect a:focus::before, .cl-effect a:focus::after {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
}
