*,
*:after,
*:before {
    /* uprava box modelu */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* reset vseho */
    border:0;
    margin:0;
    padding: 0;
    -webkit-text-size-adjust:none;
    color: #333;
    text-decoration: none;
    background: transparent;
    line-height:1.35em;
    font-family: sans-serif;
}
html,body{-webkit-text-size-adjust: 100%;}
body{font-size:112%;background:#fff;color:#333;font-family: sans-serif;
    position: relative;
}


h1 {
    font-size: 160%;
    color: black;
    text-align: center;
}

p {
    font-size: 100%;
    text-align: left;
    font-weight: normal;
    margin-top: 2em;
}

p.thx {
    font-style: italic;
}
p.code { font-size: 60%; border-top:1px #767676 solid; padding-top: 0.3em; }
p.contactus { margin-top: 0; }
a {
    color: #d13936;
    text-decoration: underline;
}

* { display: none; }
.ERRR * { display: inline; }
html, body, .ERRR, .ERRR h1, .ERRR p { display: block; }
.ERRR p.thx span { display: block; }

.ERRR {
    position: absolute;
    top: 20px;
    left: 5%;
    width: 90%;
    height: auto;
}


@media (min-width: 500px) {
    h1 { text-align: left; }
}
@media (min-width: 700px) {
    .ERRR { left: 10%; width: 80%; }
}

@media (min-width: 1000px) {
    .ERRR { left: 25%; width: 50%; }
}

@media (min-width: 1200px) {
    .ERRR { left: 600px; max-width: 600px; }
}


@media (min-height: 400px) {
    .ERRR { top: 40px; }
}

@media (min-height: 600px) and (min-width: 700px) {
    .ERRR { top: 200px; }
}