﻿@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebthinfanum.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanweblightfanum.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebregularfanum.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebmediumfanum.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebboldfanum.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebextraboldfanum.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebblackfanum.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'iranyekanwebfanum';
    src: url('../font/iranyekan/ttf/iranyekanwebextrablackfanum.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    direction: rtl;
    font-family: "iranyekanwebfanum";
}

.Anchor {
    display: block;
    height: 100px; /* space to leave */
    margin-top: -100px; /* pull following content up so visual placement is unchanged */
    visibility: hidden; /* keep it invisible */
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}


.ErrorContain {
    background-image: url(../Images/500Five.png);
    background-repeat: no-repeat;
    background-size: 42%;
    background-position: center;
    position: relative;
    height: 30vh;
}

.Error404ImgContain {
    background-image: url(../Images/404Four.png);
    background-repeat: no-repeat;
    background-size: 40%;
    background-position: center;
    position: relative;
    height: 30vh;
}

.ErrorZeroImg1 {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    margin: auto auto;
    width: 35%;
    top: 0;
    bottom: 0;
    animation: spin 60s linear infinite;
    transition: ease all 0.3s;
}

.ErrorZeroImg2 {
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    margin: auto auto;
    width: 15%;
    top: 20px;
    bottom: 0;
    animation: spin 60s linear infinite;
    transition: ease all 0.3s;
}

.ErrorZeroImg3 {
    position: absolute;
    display: block;
    left: 57%;
    right: auto;
    margin: auto auto;
    width: 13%;
    top: 42px;
    bottom: 0;
    animation: spin 60s linear infinite;
    transition: ease all 0.3s;
}

.ErrorTxt {
    font-size: 1.1rem;
    padding-top: 10px;
    color: #424242;
    width: fit-content;
    margin: auto;
}

.ErrorTxt h3 {
    text-align: center;
    font-size: 2rem;
    position: relative;
    padding: 15px 0;
    font-weight: bold;
    text-transform: capitalize;
}

.ErrorTxt h3:after {
    content: "";
    position: absolute;
    width: 70%;
    border-top: 1px solid;
    border-bottom: 1px solid;
    height: 5px;
    top: 0;
    bottom: -90%;
    margin: auto auto;
    left: -10%;
    right: -10%;
    display: block;
    border-width: 3px;
    border-style: solid;
    border-image-source: linear-gradient(to left, white, #fc6d00 50%, #fc6d00 50%, white 100%);
    border-image-slice: 1;
    border-width: 1px;
    border-right: 0;
    border-left: 0;
}

.CrouseSectionFade {
    opacity: 0.2;
    transform: translateY(20px);
    transition: opacity 1000ms, transform 1000ms;
    will-change: opacity, transform;
}


.CrouseSectionFade.isVisible {
    opacity: 1;
    transform: translateY(0);
}

nav.CrouseSectionFade {
    opacity: 0.72;

}

nav.ScrollInMiddle.CrouseSectionFade {
    opacity: 1;
}

nav.NavFirstShow.CrouseSectionFade {
    transform: translateY(0);
}

/*nav.middle.CrouseSectionFade.isVisible {
    opacity: 1;
    transform: translateY(0);
}*/

@keyframes spin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

