/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 *= devise_bootstrap_views





  */
/*
    DEMO STYLE
*/

@import 'bootstrap/dist/css/bootstrap.min';
@import 'admin-lte/dist/css/AdminLTE.min';
@import 'admin-lte/dist/css/skins/skin-blue.min';
@import 'admin-lte/plugins/iCheck/all';
@import 'font-awesome/css/font-awesome.min';


body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar {
    /*padding: 15px 10px;*/
    background: #080808;
    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;
}

i, span {
    display: inline-block;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.container-fluid-main {
    margin-top: 50px;
    overflow-y: auto;
    overflow-x: hidden;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar {
    min-width: 200px;
    max-width: 200px;
    background: #333333;
    color: #fff;
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}

#sidebar.active .sidebar-header h3, #sidebar.active .CTAs {
    display: none;
}

#sidebar.active .sidebar-header strong {
    display: block;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar.active ul li a {
    padding: 15px 10px;
    text-align: center;
    font-size: 1.6rem;
}

#sidebar.active ul li a i {
    margin-right:  0;
    display: block;
    font-size: 1.0rem;
    margin-bottom: 5px;
}

#sidebar.active ul ul a {
    padding: 10px !important;
}

#sidebar.active span.sidebar-menu-text {
  display: none;
}

#sidebar.active a[aria-expanded="false"]::before, #sidebar.active a[aria-expanded="true"]::before {
    top: auto;
    bottom: 5px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #333333;
}

#sidebar .sidebar-header strong {
    display: none;
    font-size: 1.8em;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #5a5a5a;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 12px;
    display: block;
    color: #ffffff;
}
#sidebar ul li a:hover {
    color: #ffffff;
    background: #60AAE9;
}
#sidebar ul li a i {
    margin-right: 10px;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #575656;
}


ul.navbar-nav.navbar-right a[data-toggle="collapse"] {
    position: relative;
}

ul.navbar-nav.navbar-right a[aria-expanded="false"]::before, ul.navbar-nav.navbar-right a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
ul.navbar-nav.navbar-right a[aria-expanded="true"]::before {
    content: '\e260';
}


ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #333333;
}

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: #333333;
}

a.article, a.article:hover {
    background: #333333 !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    padding: 0px 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 15px;
}


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        min-width: 80px;
        max-width: 80px;
        text-align: center;
        margin-left: -80px !important ;
    }
    a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
        top: auto;
        bottom: 5px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
    }
    #sidebar.active {
        margin-left: 0 !important;
    }

    #sidebar .sidebar-header h3, #sidebar .CTAs {
        display: none;
    }

    #sidebar .sidebar-header strong {
        display: block;
    }

    #sidebar ul li a {
        padding: 20px 10px;
    }

    #sidebar ul li a span {
        font-size: 0.85em;
    }
    #sidebar ul li a i {
        margin-right:  0;
        display: block;
    }

    #sidebar ul ul a {
        padding: 10px !important;
    }

    #sidebar ul li a i {
        font-size: 1.3em;
    }
    #sidebar {
        margin-left: 0;
    }
    #sidebarCollapse span {
        display: none;
    }
}






/*
* Top navigation
* Hide default border to remove 1px line.
*/
.navbar-fixed-top {
  border: 0;
}
/*
* Sidebar
*/
/* Hide for mobile, show later */
.sidebar {
  display: none;
}
#navbar-list-menu {
  display: block;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
  #navbar-list-menu {
    display: none;
  }
}


.dropdown-menu {
  background-color: #333333;
  color: #fff !important;
}

a.h-dropdown-a {
  color: #fff !important;
}

a.h-dropdown-a:hover, a.h-dropdown-a:focus {
  background: #60AAE9 !important;
  color: #ffffff !important;
  text-decoration: none;
  transition: all 0.3s;
}

ul ul.h-dropdown a {
  background-color: #333333;
}

.navbar-right {
  margin-right: -5px;
}

.menuac {
    margin-right: 15px;
    color: #333333;
    font-size: 10px;
}

#sidebar span.menuac-disable {
    display: inline;
}
#sidebar span.menuac-active {
    display: none;
}


#sidebar.active .menuac {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    color: #333333;
    font-size: 10px;
}

#sidebar.active span.menuac-disable {
    display: none;
}
#sidebar.active span.menuac-active {
    display: inline;
}

div#header-logo {
    margin: 0px;
    padding: 0px;
    margin-top: 5px;
    background-image: url(/image/sove_logo.png);
    background-repeat: no-repeat;
    width: 114px;
    height: 40px;
    float:left;
}
div#header-version {
    margin-top: 5px;
    margin-left: 20px;
    float: left;
    width: 100px;
    height: 40px;
    display:table;
}
div#version {
    font-size: 12px;
    color: #ffffff;
    width: 100px;
    height: 40px;
    display:table-cell;
    vertical-align: bottom;
}


div#navbar ul li.dropdown a#dropdownMenu1 {
    font-size: 12px;
}
