﻿form {
    height: auto;
}

body {
    color: #FFFFFF;
    background-color: rgb(17,17,17);
}

.errorBackground {
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 520px;

    background-position: 30%;
    background-image: url('/Assets/img/bg-iprestricted.jpg');
}

.errorContent {
    text-align: right;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

    .errorContent .button {
        min-width: 220px;
        margin: 10px 15px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 3px;
        background-color: #439539;
        line-height: 28px;
        padding: 0.5em 1em;
    }

        .errorContent .button:hover {
            color: #439539;
            border: 1px solid #439539;
            background-color: #FFFFFF;
        }

.errorTitle {
    font-size: 32px;
    font-weight: bold;
    padding-bottom: 0.5em;
}

.errorMessageSmall {
    font-size: 16px;
    padding-bottom: 0.5em;
}

.errorMessageNormal {
    font-size: 19px;
    font-weight: bold;
}

.errorMessageLarge {
    font-size: 25px;
    font-weight: bold;
}

.error-redirect-link, .error-redirect-link:hover {
    font-size: 16px;
    color: #439539;
    text-decoration: underline;
    padding-right: 15px;
}

.errorBackground .sideIcon {
    display: inline-block;
    padding: 0;
    width: 32px;
    height: 32px;
    vertical-align: top;
    margin: 0 8px;
}

.error-livechat-icon {
    background: url("/Assets/img/Error/error_sprites.png") no-repeat;
    background-position: -10px -8px;
}

.error-mail-icon {
    background: url("/Assets/img/Error/error_sprites.png") no-repeat;
    background-position: -58px -7px;
}

.errorBackground .sideIcon{

}

#livechat-button:hover .error-livechat-icon {
    background-position: -10px -50px;
}

#mail-button:hover .error-mail-icon {
    background-position: -58px -49px;
}

/* Game maintenance */
#game-maintenance-page.errorBackground {
    max-height: 560px;
}

.errorBackground #maintenance-icon {
    position: absolute;
    right: 0;
    margin-top: 3rem;
}

@media only screen and (min-width : 40em) {
    .errorBackground {
        min-height: 725px;
    }

    .errorContent {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .errorTitle {
        font-size: 40px;
    }

    .errorMessageLarge {
        font-size: 32px;
    }

    .errorMessageNormal {
        font-size: 22px;
    }

    .errorMessageSmall {
        font-size: 18px;
    }
}

@media only screen and (min-width : 64em) {
    .errorBackground {
        min-height: 725px;
    }

    .errorContent {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .errorTitle {
        font-size: 45px;
    }

    .errorMessageLarge {
        font-size: 38px;
    }

    .errorMessageNormal {
        font-size: 24px;
    }

    .errorMessageSmall {
        font-size: 20px;
    }
}

@media only screen and (min-width : 80em) {
    .errorBackground {
        min-height: 725px;
    }

    .errorTitle {
        font-size: 60px;
    }

    .errorMessageLarge {
        font-size: 42px;
    }

    .errorMessageNormal {
        font-size: 30px;
    }

    .errorMessageSmall {
        font-size: 24px;
    }
}

@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation: landscape) {
    .errorBackground {
        min-height: 725px;
    }
}
