﻿html, body {
    background-image: url('../images/perforation.png');
    background-color: #E9E9E9;
    color: #2C94AD;
    font-size: 16px;
    text-shadow: 1px 1px 1px #333333;
    font-family: Calibri;
}

.ErrorGeneral, .ErrorGeneral * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.ErrorGeneral {
    width: 500px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -250px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: #efefef;
    -moz-box-shadow: 2px 2px 5px #000;
    -webkit-box-shadow: 2px 2px 5px #000;
    -moz-box-shadow: 2px 2px 5px #000;
    -webkit-box-shadow: 2px 2px 5px #000;
    box-shadow: 2px 2px 5px #000;
    display: Table;
    position: absolute;
}

.ErrorLeft, .ErrorRight {
    margin: 10px 0;
    padding: 0 10px;
}

.ErrorLeft {
    width: 80px;
    height: auto;
    float: left;
    display: Table-cell;
    vertical-align: middle;
}

    .ErrorLeft img {
        width: 80px;
        height: 80px;
        max-width: 80px;
        max-height: 80px;
        display: Table-cell;
        vertical-align: middle;
    }

.ErrorRight {
    width: 420px;
    height: auto;
    float: left;
    display: Table-cell;
    vertical-align: middle;
}

/*.ErrorCode {
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    width: 140px;
    height: 45px;
    padding: 10px;
    border-radius: 5px;
    background-color: #efefef;
    box-shadow: 2px 2px 5px #000;
    text-align: center;
    font-weight: bold;
}*/

.style1, .style2 {
    width: 99%;
    float: right;
}

.style1 {
    color: #CC0000;
    font-size: 25px;
}

.style2 {
    color: #2C94AD;
    font-size: 16px;
}

.space {
    width: 100%;
    height: 5px;
    clear: both;
}

@media only screen and (min-width : 224px) and (max-width : 500px) /*and (orientation : portrait)*/
{
    .ErrorGeneral {
        width: 90%;
        height: 100px;
        background-color: #efefef;
        position: relative;
        display: Table;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 150px auto;
    }

    .ErrorLeft, .ErrorRight {
        width: 100%;
        float: none;
        margin: 10px 0;
        padding: 0 10px;
        display: block;
        text-align: center;
    }
}
