body {
    overflow-x: hidden;
    font-weight: normal;
    padding: 0;
    text-align: right;
}

.infobox {
    font-family: IRANSans;
    overflow: hidden;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #7bd7f8;
}

input[type=number]::-moz-placeholder { /* Firefox 19+ */
    color: #7bd7f8;
}

input[type=number]:-ms-input-placeholder { /* IE 10+ */
    color: #7bd7f8;
}

input[type=number]:-moz-placeholder { /* Firefox 18- */
    color: #7bd7f8;
}

ul, ol {
    padding: 0;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    text-decoration: none;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #7F7F7F;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: 0;
}

p {
    color: #666;
    font-size: 14px;
    line-height: 25px;
    margin-bottom: 0;
}

::-moz-selection {
    text-shadow: none;
    background: #7db6ff;
    color: #fff;
}

::selection {
    text-shadow: none;
    background: #7db6ff;
    color: #fff;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

.jalali-date {
    direction: rtl;
    text-align: left;
}

/* --------------------------------------
1. COSTUME BOOTSTRAP-MATERIAL DESIGN
-----------------------------------------*/
.form-group .form-control::-moz-placeholder {
    font-size: 12px;
}

.form-group .form-control {
    margin-bottom: 30px;
}

.form-group textarea {
    min-height: 80px;
}

.form-group.label-floating label.control-label,
.form-group.label-placeholder label.control-label {
    color: #f48d8d;
    font-size: 11px;
    top: -5px;
}

.form-group.label-floating input[readonly] {
    font-size: 11px;
    color: #5F5F5F;
}

.form-group .checkbox label,
.form-group .radio label,
.form-group label {
    font-size: 14px;
}

/* --------------------------------------
2. TYPOGRAPHY
-----------------------------------------*/
/* 2.1 FONTS*/

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_Bold.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_Bold.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/IranSans/woff2/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IranSans/woff/IRANSansWeb(FaNum)_Bold.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IranSans/ttf/IRANSansWeb(FaNum)_Bold.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IranSans/eot/IRANSans(FaNum)_Medium.eot');
    src: url('../fonts/IranSans/eot/IRANSans(FaNum)_Medium.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/IranSans/woff2/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IranSans/woff/IRANSansWeb(FaNum)_Medium.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IranSans/ttf/IRANSansWeb(FaNum)_Medium.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_Light.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_Light.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/IranSans/woff2/IRANSansWeb(FaNum)_Light.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IranSans/woff/IRANSansWeb(FaNum)_Light.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IranSans/ttf/IRANSansWeb(FaNum)_Light.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_UltraLight.eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum)_UltraLight.eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/IranSans/woff2/IRANSansWeb(FaNum)_UltraLight.woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IranSans/woff/IRANSansWeb(FaNum)_UltraLight.woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IranSans/ttf/IRANSansWeb(FaNum)_UltraLight.ttf') format('truetype');
}

@font-face {
    font-family: IRANSans;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum).eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'), /* IE6-8 */ url('../fonts/IranSans/woff2/IRANSansWeb(FaNum).woff2') format('woff2'), /* FF39+,Chrome36+, Opera24+*/ url('../fonts/IranSans/woff/IRANSansWeb(FaNum).woff') format('woff'), /* FF3.6+, IE9, Chrome6+, Saf5.1+*/ url('../fonts/IranSans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}

/*style*/

.bg-404 {
    background-image: url("../img/404.png");
    height: 750px;
    background-size: 100%;
}
.bg-500 {
    background-image: url("../img/503.png");
    height: 750px;
    background-size: 100%;
}
.bg-404 h1 {
    font-family: IRANSans;
    font-size: 14.5em;
    color: #fff;
}.bg-500 h1 {
    font-family: IRANSans;
    font-size: 2em;
    color: #fff;
    font-weight: 600;
    direction: rtl;
     padding-top:5rem;
    padding-bottom: 4rem
 ;
}
.bg-404 h2 ,
.bg-500 h2{
    font-family: IRANSans;
    font-size: 23px;
    direction: rtl;
    color: #fff;
    margin-top: -40px;
    font-weight: 400;

}
.bg-404 h3 ,
.bg-500 h3 {
    font-family: IRANSans;
    font-size: 23px;
    direction: rtl;
    color: #fff;
    font-weight: 400;

}

.bg-404 a,
.bg-500 a{

    padding: 15px 20px;
    background-color: rgb(255,255,255,0.3);
    margin-top: 30px;
    position: relative;
    top: 40px;
    font-family: iransans;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
transition: 0.5s;
}
.bg-404 a:hover,.bg-500 a:hover{
    background-color: rgb(255,255,255,1);
    color: #000;
    transition: 0.5s;



}

@media screen and (max-width: 768px) {
    .bg-500 , .bg-500 {

        background-size: auto;
    }
    .bg-404 h1 {
        font-family: IRANSans;
        font-size: 10em;
        color: #fff;
    }

                          }