/**
 * rvnm Responsive vertical navigation menu
 *
 * Copyright (C) 2017 4xmen team <a1gard@4xmen.ir>
 *
 * LICENSE: This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by the Free
 * Software Foundation; either version 3 of the License, or (at your option) any
 * later version.  This program is distributed in the hope that it will be
 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
 * Public License for more details.  You should have received a copy of the GNU
 * General Public License along with this program.
 * If not, see <http://opensource.org/licenses/gpl-license.php>.
 *
 * @package    rvnm
 * @subpackage rvnm style sheet
 * @author     4xmen team  <www.4xmen.ir>
 * @author     A1Gard <a1gard@4xmen.ir>
 * @link       https://github.com/4xmen/rvnm
 */

 /*#navbar { width: 14rem; position: fixed; top: 0; left: 0; height: 100vh; }*/

/* ripple */
.rvnm-ripple {
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  transform: scale(0);
  position: absolute;
  opacity: 1;
}
.rvnm-rippleEffect {
    animation: rvnm-rippleDrop .6s linear;
}

@keyframes rvnm-rippleDrop {
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.rvnm-navbar-box{
    /*font-family: Vazirmatn, sans-serif;*/
    position: fixed;
    left: 0px;
    top:0;
    width: 220px;
    background: #153737 ;
    min-height: 100vh;
    height: 100vh;
    overflow-y: hidden;
    z-index: 35;
    transition: 0ms;
    transition-delay: 0ms;
}

.rvnm-wrapper{
    margin-left: 220px;
}


.rvnm-navbar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.rvnm-navbar-box ul li{
    background: none;
    border-bottom:0;
}

.rvnm-navbar-box ul li:hover, .rvnm-navbar-box ul li:active{
    background: #3faba7;
}

.rvnm-navbar-box ul li.rvnm-collapseable{
    background: #0e2525;
}

.rvnm-collapseable > a:first-child { background-color: #3faba7; }
.rvnm-collapseable ul li a span { padding-left: 10px; }

.rvnm-navbar-box ul li ul{
    overflow: hidden;
    display: none;
    padding-left: 2px;
}

.rvnm-navbar-box .fa{
    /*font-size: 16px;*/
}
.rvnm-navbar-box a{
    text-decoration: none;
}

.rvnm-navbar-box .search{
    padding: 4px;
    height: 25px;
    max-height: 25px;
}

.rvnm-navbar-box .search .fa{
    margin-left: 7px;
    margin-right: 3px !important;
    margin-top: 4px;
}

.rvnm-navbar-box .search input{
    padding: 6px;
    background: transparent;
    border: none;
    width: calc(100% - 40px);
    outline: 0;
    box-sizing: border-box;
}


.rvnm-navbar-box ul li a,.rvnm-navbar-box ul li a:visited{
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    /*font-size: 14px;*/
    font-weight: 400;
    color:  white;
    position: relative;
    height: 40px;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing:border-box;
    line-height: 2em;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: .5em .75em;
}

.rvnm-navbar-box ul li a .icon { width: 3rem; }

.rvnm-navbar-box ul li:hover a,.rvnm-navbar-box ul li:hover a:visited{
    color: white;
}

.rvnm-navbar-box ul li span.spliter{
    display: block;
    padding: 10px;
    font-size: 14px;
    font-weight: 400;
    background: #eaeaea ;
    color: #1d4686;
    /*text-align: center;*/
}

.rvnm-navbar-box li .fa{
    margin-right: 10px;
}

.rvnm-navbar-box ul li.rvnm-expandable{
    background-image: url(img/rw.png) ;
    background-repeat: no-repeat;
    background-position: 95% 10px;
}

.rvnm-navbar-box ul li.rvnm-collapseable{
    background-image: url(img/dw.png) ;
    background-repeat: no-repeat;
    background-position: 95% 10px;
}
.rvnm-navbar-box ul li.rvnm-collapseable > ul{

}



/*minmal mode*/

.rvnm-minimal{

}

.rvnm-minimal .search input {
    display: none;
}

.rvnm-minimal .search:hover input{
    display: inline-block;
    width: calc(100% - 45px);
}
.rvnm-minimal .search input:focus {
    display: inline-block;
    width: calc(100% - 45px);
}

.rvnm-navbar-box.rvnm-minimal{
    width: 40px;
    overflow: visible;
}

.rvnm-wrapper.rvnm-minimal{
    margin-left: 40px;
}


.rvnm-navbar-box.rvnm-minimal > li{
    text-align: center;
}
.rvnm-navbar-box.rvnm-minimal li > a,.rvnm-navbar-box.rvnm-minimal li > .spliter{
    font-size: 0;
}

.rvnm-navbar-box.rvnm-minimal > ul > li.rvnm-expandable{
    background-image: none ;
}

.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand{
    width: 240px;
    height: 36px;
    overflow: visible;
    position: relative;
}
.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand  a,.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand  .spliter{
    font-size: 14px;
}
.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand > a,.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand > .spliter{
    background: rgba(0,0,0,0.2) ;
}

.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand .fa{
    margin-right: 20px;
}

.rvnm-navbar-box.rvnm-minimal .rvnm-minimal-expand > ul{
    display: block;
    z-index: 9;
    position: absolute;
    left:40px;
    padding-left: 0;
    top:100%;
    width: 200px;
    padding-top: 1px;
    background-color:#153737;
    border-left: 1px solid #1c4a4a;
}

/*mobile mode*/

.rvnm-navbar-box.rvnm-mobile{
    min-height: 0;
    position: fixed;
    left: 0px;
    top:0;
    width: 40px;
    height:35px;
    overflow: hidden;
    opacity: 0.6;
    -o-transition:.6s;
    -ms-transition:.6s;
    -moz-transition:.6s;
    -webkit-transition:.6s;
    transition:.6s;
    background: #fff url(img/mb.png) center no-repeat ;
    z-index: 9999;
}

.rvnm-navbar-box.rvnm-mobile:hover{
    opacity: 1;
}

.rvnm-navbar-box.rvnm-mobile > ul{
    display: none;
}

.rvnm-mobile-wrapper{
    margin-left: 0;
}

.rvnm-navbar-box.rvnm-mobile.rvnm-mobile-expand{
    overflow: visible;
    background: #fff url(img/cb.png) no-repeat ;
    background-position: 5px 5px;
    opacity: 1 ;
    padding-top: 40px;
    width: 100%;
    position: absolute;
}
.rvnm-navbar-box.rvnm-mobile.rvnm-mobile-expand > ul{
    display: block;
}