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


body {
    margin: 0;
    padding: 0 20px;
    background-color: #8c1f1f;
    font-family: iransasweb;
}



.info a{
  text-decoration: none;
  color:#333
}
.info a:after{
  content:" | ";
  color:#FFC900
}

.info a:last-of-type:after{content:""}

.box{
    text-align: center;
    position: relative;
}

    .box div {
        width: 250px;
        height: 70px;
        line-height: 70px;
        color: #8c1f1f;
        background-color: #fff;
        font-size: 280%;
        position: absolute;
        top: 380px;
        left: 40%;
        text-transform: capitalize;
        animation: moving 8s linear infinite;
        -webkit-animation: moving 8s linear infinite;
        -moz-animation: moving 8s linear infinite;
        -o-animation: moving 8s linear infinite;
        transform-origin: 50% -400%;
        -webkittransform-origin: 50% -400%;
        font-family: 'IRANSansWeb';
        -moz-transform-origin: 50% -400%;
        -o-transform-origin: 50% -400%;
    }

.box div:before{
    content: "";
    width: 25px;
    height: 25px;
    background-color:#fff;
    border-radius: 50%;
    display: block;
    position: absolute;
    left:45%;
    top:-350px;
}

.box div:after{
    content: "";
    width: 3px;
    height: 335px;
    background-color: #fff;
    display: block;
    position: absolute;
    left: 50%;
    top: -330px;
}

.box p{
    position: absolute;
    top:470px;
    left:38%;
    font-weight: 700;
    text-transform: uppercase;
  color:#fff;
  width: 300px;
  font: 16px iransansweb;
  line-height:30px;  
}

.box p span{
  display: block;
  font-size:300%;
  
}

@keyframes moving{
    0%,100%{
        transform: rotate(0)
    }
    25%{
        transform: rotate(3deg);
    }
    50%{
        transform: rotate(-3deg)
    }
}

@-webkit-keyframes moving{
    0%,100%{
        transform: rotate(0)
    }
    25%{
        transform: rotate(3deg);
    }
    50%{
        transform: rotate(-3deg)
    }
}

@-moz-keyframes moving{
    0%,100%{
        transform: rotate(0)
    }
    25%{
        transform: rotate(3deg);
    }
    50%{
        transform: rotate(-3deg)
    }
}

@-o-keyframes moving{
    0%,100%{
        transform: rotate(0)
    }
    25%{
        transform: rotate(3deg);
    }
    50%{
        transform: rotate(-3deg)
    }
}