﻿@import url("reset.css");

html, body {
    height: 100%;
}

.error_wrap {
    min-height: 100%;
    position: relative;
}

.error_header {
    padding: 10px;
}

    .error_header h1 {
        width: 196px;
        height: 76px;
        margin: 0 auto;
        background-image: url(../images/logo.jpg);
        text-indent: -9999px;
    }

.error_content {
    padding: 10px;
    padding-bottom: 80px;
    width: 830px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: auto;
}

.error_wrap .bg403 {
    background-image: url(../images/403bg.jpg);
}

.error_wrap .bg404 {
    background-image: url(../images/404bg.jpg);
}

.error_wrap .bg500 {
    background-image: url(../images/500bg.jpg);
}

.error_wrap .bg503 {
    background-image: url(../images/503bg.jpg);
}

.error_content h2 {
    font-size: 36px;
    line-height: 1.5;
    letter-spacing: 2px;
    color: #979797;
    text-align: center;
    font-weight: 400;
    margin-top: 240px;
}

    .error_content h2.margin280 {
        margin-top: 280px;
    }

.error_content h3 {
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 2px;
    color: #979797;
    text-align: center;
    font-weight: 100;
    margin-top: 50px;
}

.error_content ul {
    width: 92%;
    margin: 30px auto;
}

    .error_content ul li {
        display: inline-block;
        width: auto;
    }

        .error_content ul li a {
            display: block;
            padding: 10px 20px;
            font-size: 16px;
            line-height: 1.5;
            text-align: center;
            letter-spacing: 2px;
            color: #979797;
            border: 1px solid #979797;
            border-radius: 10px;
            margin-right: 15px;
            margin-bottom: 20px;
            background-color: rgba(255,255,255,1);
            transition: all 0.4s;
        }

            .error_content ul li a:hover {
                color: #fff;
                background-color: rgba(60,60,60,0.4);
                transition: all 0.4s;
            }

.error_footer {
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    line-height: 2.5;
    letter-spacing: 2px;
    color: #979797;
    text-align: center;
}

    .error_footer a {
        color: #979797;
    }

        .error_footer a:hover {
            text-decoration: underline;
        }

@media (max-width: 830px) {
    .error_content {
        width: auto;
        background-size: 80%;
    }

        .error_content ul {
            text-align: center;
        }

            .error_content ul li {
                display: inline-block;
                width: 80%;
                text-align: center;
            }

                .error_content ul li a {
                    padding: 20px;
                    font-size: 16px;
                    margin-right: 5px;
                    letter-spacing: 0px;
                }

        .error_content h2.margin280 {
            margin-top: 220px;
        }

    .error_footer {
        width: 100%;
        height: 80px;
        position: absolute;
        bottom: 0;
        left: 0;
        font-size: 11px;
        line-height: 1.5;
        letter-spacing: 2px;
        color: #979797;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .error_content h2 {
        font-size: 28px;
        margin-top: 200px;
    }

        .error_content h2.margin280 {
            margin-top: 160px;
        }
}

@media (max-width: 320px) {
    .error_content h2 {
        font-size: 20px;
        margin-top: 120px;
    }

    .error_content h3 {
        font-size: 16px;
        margin-top: 20px;
    }

    .error_content h2.margin280 {
        margin-top: 80px;
    }

    .error_content ul li a {
        padding: 15px;
        font-size: 14px;
        margin-right: 5px;
        letter-spacing: 0px;
    }
}
