﻿ 
        *{
     font-family: "IRANSans"; 
     font-weight:normal;
  
    transition: all .5s linear;
    /*direction:rtl;*/   /*this css shoud be check*/
}

html, body{
  width: 100%;
  margin: 0px auto;
  padding: 0px;
}
html, body {
    overflow-x: hidden;
}
.menurightwidth {
    background-color:#746F6E;
   
   
}
/*Menu*/
.background-fade{
    /*display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    background: black;
    opacity: 0.7;*/
}

.background-fade.active{
  /*display: block;*/
}

nav#nav{
  z-index: 1000000000;
  display: block;
  position: fixed;
  padding: 0px 0px 0px 0px;
  top: 0;
  /*left: -201px;*/
  /*right: -301px;*/
  right: -290px;
  height: 100%;
  
  border-right: 1px solid #707070;
  /*transition: left 1.5s;*/
  transition: right 1.5s;
  animation-duration: 2s;
  transform: translate(0px, 0px);
  transition-duration: 1s, 1s;
      -webkit-transform: translate(0px, 0px);
      -webkit-transition-duration: 1s, 1s;
      -moz-transform: translate(0px, 0px);
      -moz-transition-duration: 1s, 1s;
      -o-transition: translate(0px, 0px);
      -o-transition-duration: 1s, 1s;
      -ms-transform: translate(0px, 0px);
      -ms-transition-duration: 1s, 1s;
}

nav#nav.active{
  z-index: 1;
  /*left: 0px;*/
  right: 0px;

  /*transition: left 1s;*/
  transition: right 1s;
  animation-duration: 2s;
  transition-duration: 1.5s, 1.5s;
  transform: translate(0px, 0px);
      -webkit-transform: translate(0px, 0px);
      -webkit-transition-duration: 1.5s, 1.5s;
      -moz-transform: translate(0px, 0px);
      -moz-transition-duration: 1.5s, 1.5s;
      -o-transform: translate(0px, 0px);
      -o-transition-duration: 1.5s, 1.5s;
      -ms-transform: translate(0px, 0px);
      -ms-transition-duration: 1.5s, 1.5s;
}

nav#nav ul{
  /*background: #746F6E;*/
  background-color:#746F6E;
  list-style-position: inside;
  list-style-type: none;
  /*width: 250px;*/
  height: 100%;
  margin: 0px auto 0px auto;
  padding: 10px 0px 10px 0px;
  /*padding-top:90px;*/
}
.extraULnav {
    width: 280px;
   
}
nav#nav li{
  margin: 0px auto 3px auto;
  padding: 5px 15px 5px 0px;
  /*cursor: pointer;*/
  /*746F6E*/
  background-color:#746F6E;
  text-align:right;
}

nav#nav li a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    font-size:1em;

}
nav#nav li a:hover {
    color:#CE2127;
}
nav#nav li .folder:hover {
    color:#CE2127;
}
/*nav#nav li:hover{
    background: #FFF;
    color: #CE2127;
}*/

/*nav#nav li:hover a{
    color: #CE2127;
}*/

nav#nav.active span.menu{
    /*background: #CE2127;*/
    /*border-color: white;*/
   
}

nav#nav.active span.menu:before{
    /*background: #fff;
    box-shadow: 0 .45em 0 0 #fff, 0 .9em 0 0 #fff;*/
}

span.menu {
    width: 60px;
    height:60px;
    display: block;
    vertical-align: middle;
    position: relative;
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    /*background: #FFF;*/
    /*border: 1px solid #293088;*/
    position: absolute;
    left: -80px;
    top: 15px;
    
    /*border-radius: 5px;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        -ms-border-radius: 5px;*/
}

span.menu:before {
    content: "";
    display: block;
    margin: 7px auto;
    width: 70%;
    height: 0.25em;
    /*background: #293088;
    box-shadow: 0 .45em 0 0 #293088, 0 .9em 0 0 #293088;*/
}
/*Menu*/

/*Section*/
section#section {
    background: #fff;
}

section#section header{
    background: #808080;
    overflow: hidden;
}

section#section header h1{
    text-align: center;
    font-size: 1.5em;
    color: #FFF;
}
/*Section*/

/*Article*/
article{
    margin: 10px auto;
    padding: 0px 10px;
}
/*Article*/
.bxlogo {
    width:100%;
    height:200px;
    /*background-color:#746F6E;*/
    background-color:#746F6E;
    display:block;
    text-align:center;
    padding-top:100px;
}
    .bxlogo h1 {
        font-family: "IRANSans"; 
        font-weight:normal;
        font-size: 1.2em;
        color:#29308B;
        direction:rtl;
        margin-top:-10px;

    }


	*{
		/*margin:0;padding:0;*/
	}
.treeview {
    padding-top:80px;
    /*background-color:#1ad881;*/
}
	.treeview li ul{
		display:none;
	}
	.folder{
		/*width:15px;*/
		display:inline-block;
		/*text-align:center;*/
		cursor:pointer;
        color:#000000;
            font-family: "IRANSans"; 
            font-weight:normal;
            direction:rtl;
            /*font-size:1.2em;*/
            font-size:1em;
	}
      
   .treeview ul li i{
		margin-right:10px;
      
       
		
		/*padding:2px;*/
	}
    .treeview ul li a {
           
    }

@media (min-width: 1px) and (max-width:420px){
    
    .bxlogo {
        padding-top:10px;
        height:100px;
    }
    .treeview {
    padding-top:0px;
    
       }
    .extraULnav {
        width:250px;
    }
    span.menu {
        left:-110px;
       
    }
    
    
}
@media (min-width:421px) and (max-width:750px) {
    .hide-tablet {
        display:none;
    }
    .treeview {
    padding-top:0px;
    
       }
    .extraULnav {
        width:250px;
    }
    span.menu {
        left:-110px;
       
    }
   
}
@media (min-width: 1px) and (max-width:750px) {

   
    span.menu {
        display:none;
    }
}
