/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
#sidebar {
    min-width: 300px;
    max-width: 300px;
    transition: all 0.3s;
    color: white;
    z-index: 1000;
    position: relative;
    float: left;
    height: 100%;
    overflow: auto;
    background-image: url(../imagens/fundoMenu.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border: 2px solid white;
    
}
#sidebarMini {
    min-width: 50px;
    max-width: 50px;
    transition: all 0.3s;
    color: white;
    z-index: 1000;
    position: relative;
    float: left;
    height: 100%;
    overflow: auto;
    background-color: white;
}

#sidebar.active {
    margin-left: -300px;
}

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

.internoMini {
    margin-left: 50px !important;
}

#sidebar ul.components {
    padding: 20px 10px;
    overflow-y: auto;
    height: 100%;
}

#sidebar a {
    color: black !important;
}

.menuLista {
    padding-bottom: 80px;
    height: 100%;
}

.menuLista a {
    padding: 6px 15px;
}



/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -300px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    .interno {
        margin-left: 0px !important;
    }
    
}

/* ---------------------------------------------------
    CSS Toggle switch Modo Admin
----------------------------------------------------- */


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 14px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #21212114;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: -1px;
  bottom: -3px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #1976D261;
}

input:checked + .slider:before {
  background-color: #1976D2;
  border: none;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 7px;
}

.slider.round:before {
  border-radius: 50%;
  border: rgb(209,209,209) solid 1px;
}