/*


 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

*/
body.nav-sm .container.body .main-nav {
  width: 70px;
  padding: 0;
  position: fixed;
  height: 100%;
  z-index: 200;
  background: #2A3F54
}

body.nav-sm .navbar.nav_title {
  width: 70px;
}

body.nav-sm .navbar.nav_title a span {
  display: none;
}

body.nav-sm .navbar.nav_title a i {
  font-size: 27px;
  margin: 13px 0 0 3px;
}

.site_title i {
  padding: 5px 6px;
}

body.nav-sm .nav.side-menu li a {
  text-align: center;
  font-weight: 400;
  font-size: 10px;
  padding: 10px 5px;
}

body.nav-sm .nav.side-menu li.active-sm {
  border-right: 5px solid #1ABB9C;
}

body.nav-sm .side-menu-category.active-sm > a {
  color: #1ABB9C;
}

body.nav-sm .nav.side-menu li a i {
  font-size: 25px;
  text-align: center;
  width: 100%;
  margin-bottom: 5px;
}

body.nav-sm ul.nav.child_menu {
  left: 100%;
  position: absolute;
  top: 0;
  padding: 10px;
  width: 210px;
  z-index: 4000;
  background: #3E5367;
  display: none;
}

body.nav-sm ul.nav.child_menu li {
  padding-left: 0;
}

body.nav-sm ul.nav.child_menu li a {
  text-align: left;
}

body.nav-sm .profile {
  display: none;
}

.menu_section {
  margin-bottom: 35px;
}

.menu_section h3 {
  padding-left: 23px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 0;
  margin-top: 0;
  text-shadow: 1px 1px #000;
}

.menu_section >ul {
  margin-top: 10px;
}

body.nav-sm .menu_section {
  margin: 0;
}

.main_menu .fa-sm {
  font-size: 12px;
}

body.nav-md .container.body .col-md-3.main-nav {
  top: 0;
  bottom: 0;
  width: 230px;
  background: #2A3F54;
  padding: 0;
  position: absolute;
  display: flex;
}

.nav.child_menu > li > a {
  font-size: 14px;
  padding: 9px;
}

.sidebar-header {
  border-bottom: 0;
  margin-top: 46px;
}

.sidebar-header:first-of-type {
  margin-top: 0
}

.nav.side-menu> li {
  position: relative;
  display: block;
}

.nav.side-menu> li > a {
  margin-bottom: 6px;
}

.nav.side-menu> li > a:hover {
  color: #F2F5F7;
}

.nav.side-menu>li>a:hover,
.nav>li>a:focus {
  text-decoration: none;
  background: transparent;
}

.side-menu-category .nav.child_menu li:hover a {
  background: transparent;
}

.nav.child_menu li {
  padding-left: 36px
}

body.nav-md ul.nav.child_menu li:before {
  background: #425668;
  bottom: auto;
  content: "";
  height: 8px;
  left: 23px;
  margin-top: 15px;
  position: absolute;
  right: auto;
  width: 8px;
  z-index: 1;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

body.nav-md ul.nav.child_menu li:after {
  border-left: 1px solid #425668;
  bottom: 0;
  content: "";
  left: 27px;
  position: absolute;
  top: 0;
}

.nav.side-menu>li>a,
.nav.child_menu>li>a {
  color: #E7E7E7;
  font-weight: 500;
}

.nav>li>.btn-group>.btn-link {
  position: relative;
  display: block;
  padding: 13px 15px 7px;
}

.nav.side-menu> li.current-page,
.nav.side-menu> li.active {
  border-right: 5px solid #1ABB9C;
}

li.current-page {
  background: rgba(255, 255, 255, 0.05);
}

.nav.side-menu> li.active > a {
  text-shadow: rgba(0, 0, 0, 0.25) 0 -1px 0;
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #5b6479), color-stop(100%, #4c5566)), #686e78;
  background: -webkit-linear-gradient(#334556, #2C4257), #2A3F54;
  background: -moz-linear-gradient(#334556, #2C4257), #2A3F54;
  background: -o-linear-gradient(#334556, #2C4257), #2A3F54;
  background: linear-gradient(#334556, #2C4257), #2A3F54;
  -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
  -moz-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
  box-shadow: rgba(0, 0, 0, 0.25) 0 1px 0, inset rgba(255, 255, 255, 0.16) 0 1px 0;
}

.site_title {
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 400;
  font-size: 22px;
  width: 100%;
  color: #ECF0F1;
  line-height: 59px;
  display: block;
  height: 55px;
  margin: 0;
  padding-left: 10px;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 991px) {
  body.nav-md .container.body {
    .col-md-3.main-nav {
      display: none;
    }
    .top_nav {
      width: 100%;
      margin: 0;
    }
  }
}
