﻿body {
    background: none;
    background-image: none;
    font-family: IranSans, 'PT Sans', Arial, sans-serif;
    font-size: 13px;
    zoom: 1;
    margin: 0;
    direction: rtl;
}

    body section[role="main"] {
        margin-right: 20%;
        margin-left: 0;
    }

h1, h2, h3, h4, h5, h6 {
    text-shadow: 0 1px 1px #B3B3B3;
}

.error-page {
    width: 690px;
    height: auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 10px #b3b3b3;
    -moz-box-shadow: 0 0 10px #b3b3b3;
    box-shadow: 0 0 10px #b3b3b3;
    background: none repeat scroll 0 0 transparent;
    margin: 0;
    overflow: visible;
}

.header {
    height: 88px;
    width: 100%;
    color: #FFF;
    text-align: center;
    vertical-align: middle;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border: 1px solid #555;
    background-image: url('../../content/img/error/error-header.jpg');
    background-repeat: repeat-y;
}

    .header h1 {
        font-size: +4em;
        font-weight: bold;
    }

.main {
    height: auto;
    width: 100%;
    background-image: url('../../content/img/error/error-main.jpg');
    background-repeat: repeat-x;
    background-position: bottom;
    background-color: #fff;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #555;
    overflow: visible;
}

.content {
    height: auto;
    margin: 20px;
    background-color: White;
    background-repeat: repeat-x;
    border-radius: 7px;
    border-radius: 7px;
    border: 1px solid #555;
    -webkit-box-shadow: 0 0 10px #b3b3b3;
    -moz-box-shadow: 0 0 10px #b3b3b3;
    box-shadow: 0 0 10px #b3b3b3;
    overflow: visible;
}

.icon {
    width: 320px;
    height: 307px;
    padding: 0px;
    float: left;
    vertical-align: middle;
    text-align: center;
}

.message {
    width: 280px;
    padding: 20px;
    direction: rtl;
    text-align: center;
}

.ipblocked {
    background-image: url('../../content/img/error/ip-blocking.gif');
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
}

.accessdenied {
    background-image: url('../../content/img/error/accessdenied.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
}

.pagenotfound {
    background-image: url('../../content/img/error/404.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
}

.message .code h2 {
    font-size: +5em;
    font-family: Times New Roman;
    margin: 0;
    color: red;
}

.message .code {
    min-height: 80px;
}

.message .message-content {
    margin-bottom: 10px;
    min-height: 150px;
    font-weight: bold;
}
