﻿::-moz-selection {
    background-color: #4870b0;
    color: #ffffff;
}

::selection {
    background-color: #4870b0;
    color: #ffffff;
}

body {
    background-image: url('../images/perforation.png');
    background-color: #E9E9E9;
    color: #4870b0;
    font-size: 20px;
    -ms-text-shadow: 1px 1px 1px #333333;
    text-shadow: 1px 1px 1px #333333;
    font-family: Calibri;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ErrorGeneral {
    padding: 10px;
    width: 500px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -250px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    background-color: #efefef;
    -ms-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
}

.ErrorLeft {
    width: 110px;
    height: 100px;
    float: left;
    margin-left: 5px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

    .ErrorLeft img {
        width: 80px;
        height: 80px;
        -max-width: 80px;
        -max-height: 80px;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        -o-user-select: none;
        user-select: none;
    }

.ErrorRight {
    width: 340px;
    height: 68px;
    float: left;
    margin-left: 10px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ErrorCode {
    width: 140px;
    height: 60px;
    padding: 6px;
    top: 65%;
    left: 50%;
    margin-top: -30px;
    margin-left: -70px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    background-color: #efefef;
    -ms-box-shadow: 0 0 5px #000;
    -moz-box-shadow: 0 0 5px #000;
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
    text-align: center;
    font-weight: bold;
    position: absolute;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*@media only screen and (min-device-width : 500px) and (max-device-width : 1023px){}*/

@media only screen and (min-device-width : 190px) and (max-device-width : 500px) /*and (orientation : portrait)*/
{

    .ErrorGeneral {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        margin: 120px auto 0 auto;
        padding: 10px;
        -ms-border-radius: 5px;
        border-radius: 5px;
    }

    .ErrorLeft {
        width: 100%;
        height: auto;
        float: none;
        margin: 0;
        text-align: center;
    }

        .ErrorLeft img {
            width: 80px;
            height: 80px;
            -max-width: 80px;
            -max-height: 80px;
        }

    .ErrorRight {
        width: 100%;
        height: auto;
        float: none;
        margin: 0;
        text-align: center;
    }

    .ErrorCode {
        width: 140px;
        height: 60px;
        top: 0;
        left: 0;
        margin: 10px auto;
        position: relative;
    }
}
