/*
 *Design By Vahid Majidi
 *Powered By اسکریپت.com
 */
 #.active{
     display:none;
 }
*{
    margin:0px;
    padding:0px;
    border:none;
    outline:none;
}
img{
    width:100%;
}
section,footer{
    display:block;   
}
body, html{
    width:100%;
    height:100%;
}
body{
    background:url(../images/back.jpg);
    background-size:cover;
    font-family:tahoma;
    font-size:13px;
}
a:link{
    color:#39F;
    text-decoration:none;
}
a:hover{
    color:#fff;
    text-decoration:none;
}
a:visited{
    color:#39F;
    text-decoration:none;
}
a:active{
    color:#39F;
    text-decoration:none;
}
h1{
    font-size:16px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
h2{
    font-size:15px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
h3{
    font-size:14px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
h4{
    font-size:13px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
h5{
    font-size:12px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
h6{
    font-size:11px;
    letter-spacing:2px;
    color:#FC0;
    margin:10px 0px;
}
p{
    color:#FFF;
    margin:12px 0px;
}
.main{
    width:970px;
    display:block;
    margin:80px auto;
    direction:rtl;
    word-wrap:break-word;
    line-height:23px;
}
#top{
    background:url(../images/about-t.png) no-repeat;
    background-position:center;
    position:fixed;
    top:-2px;
    left:50%;
    margin-left:-100px;
    width:200px;
    height:50px;
    z-index:100;
    border:2px solid #FFF;
    background-color:#444;
    border-bottom-left-radius:30px;
    border-bottom-right-radius:30px;
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    -ms-transition:all 0.5s;
    transition:all 0.5s;
}
#top:hover{
    background:url(../images/about.png) no-repeat;
    background-position:center;
    height:150px;
    cursor:pointer;
    background-color:#069;
}
#right{
    background:url(../images/portfolio-t.png) no-repeat;
    background-position:center;
    position:fixed;
    right:-2px;
    top:50%;
    margin-top:-100px;
    width:50px;
    height:200px;
    background-color:#444;
     z-index:100;
    border:2px solid #FFF;
    border-top-left-radius:30px;
    border-bottom-left-radius:30px;
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    -ms-transition:all 0.5s;
    transition:all 0.5s;
}
#right:hover{
    background:url(../images/portfolio.png) no-repeat;
    background-position:center;
    width:200px;
    cursor:pointer;
    background-color:#063;
}
#bottom{
    background:url(../images/contact-t.png) no-repeat;
    background-position:center;
    position:fixed;
    bottom:-2px;
    left:50%;
    margin-left:-100px;
    width:200px;
    height:50px;
    background-color:#444;
    z-index:100;
    border:2px solid #FFF;
    border-top-left-radius:30px;
    border-top-right-radius:30px;
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    -ms-transition:all 0.5s;
    transition:all 0.5s;
}
#bottom:hover{
    background:url(../images/contact.png) no-repeat;
    background-position:center;
    height:150px;
    cursor:pointer;
    background-color:#900;
}
#left{
    background:url(../images/resume-t.png) no-repeat;
    background-position:center;
    position:fixed;
    left:-2px;
    top:50%;
    margin-top:-100px;
    width:50px;
    height:200px;
    background-color:#444;
    z-index:100;
    border:2px solid #FFF;
    border-top-right-radius:30px;
    border-bottom-right-radius:30px;
    -webkit-transition:all 0.5s;
    -moz-transition:all 0.5s;
    -o-transition:all 0.5s;
    -ms-transition:all 0.5s;
    transition:all 0.5s;
}
#left:hover{
    background:url(../images/resume.png) no-repeat;
    background-position:center;
    width:200px;
    cursor:pointer;
    background-color:#71a;
}
#top-in{
    width:100%;
    height:0px;
    position:fixed;
    top:0px;
    background-color:rgba(0,0,0,0.7);
    overflow:auto;
}
#right-in{
    width:0px;
    height:100%;
    position:fixed;
    right:0px;
    background-color:rgba(0,0,0,0.7);
    overflow:auto;
}
#bottom-in{
    width:100%;
    height:0px;
    position:fixed;
    bottom:0px;
    background-color:rgba(0,0,0,0.7);
    overflow:auto;
}
#left-in{
    width:0px;
    height:100%;
    position:fixed;
    left:0px;
    background-color:rgba(0,0,0,0.7);
    overflow:auto;
}
@media all and ( max-width:1024px ){
    .main{
    width:850px;
    display:block;
    margin:80px auto;
}  
}
.footer{
    position:fixed;
    bottom:30px;
    left:20px;
    width:100%;
    height:20px;
}
.footer p{
    color:#fff;
}
/*
 *Design By Vahid Majidi
 *Powered By اسکریپت.com
 */