/*
    DEMO STYLE
*/


a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    padding: 15px 20px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#sidebar {
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    background: #28303e;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -240px;
}

#sidebar .sidebar-header {
      text-align: left;
      background: #f1f2f7;
      height: 65px;
}
#sidebar .sidebar-header .logo {
  height: 35px;
  margin: 15px 0 15px 18px;
  }
#sidebar ul.components {
    /*padding: 20px 0;
    border-bottom: 1px solid #47748b;*/
}

#sidebar ul.components li .spanicon{
  width: 25px;
  display: inline-block;}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 20px;
    font-size: 16px;
    display: block;
    font-weight: 300;
    border-bottom: 1px solid #ffffff2b;
}

#sidebar ul li a:hover {
    /*color: #fff;*/
    background: #76ca55;
}

#sidebar ul li.active>a, #sidebar a[aria-expanded="true"] {
    color: #f1f2f7;
    border-left: 4px solid;
    /*background: #6d7fcc;*/
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    padding-left: 30px !important;
    background: #49515f;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
      width: calc(100% - 240px);
      /*padding: 40px;*/
      min-height: 100vh;
      transition: all 0.3s;
      position: absolute;
      top: 0;
      right: 0;
      /*margin-top: 65px;*/
}

#content.active {
    width: 100%;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -240px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
    #content.active {
        width: calc(100% - 240px);
    }
    #sidebarCollapse span {
        display: none;
    }
}
