/*================================================================================
	
  Funções personalizadas ispsys


================================================================================
*/



  $primary-color: color("materialize-blud", "lighten-2") !default;
  $primary-color-light: false !default;
  $primary-color-dark: false !default;
  @if not $primary-color-light {
    $primary-color-light: lighten($primary-color, 15%);
  }
  @if not $primary-color-dark {
    $primary-color-dark: darken($primary-color, 15%);
  }
  $secondary-color: color("teal", "lighten-1") !default;
  $success-color: color("green", "base") !default;
  $error-color: color("red", "base") !default;

  $link-color: color("light-blue", "darken-1") !default;


/*//////////////////////////////// implementado por Rafael Alves Lemos    */

body.menubranco h1 span.logo-text {
  padding-left: 0px;
}

body.menubranco #header .header-search-wrapper {
  margin: 10px auto 0 80px;
}

body.menubranco #header .header-search-wrapper.sideNav-lock {
  margin: 10px auto 0 260px;
}



  /*** Legendas quadradas pequenas dos gráficos JS***/
li.desativados:before {
  background: #f7464a;
}

li.bloqueados:before {
  background: #FDB45C;
}

li.observados:before {
  background: #2AD673;
}

li.malhafina:before {
  background: #7B40D7;
}

li.livres:before {
  background: #5CCFFD;
}


/* Interruptores implementados por Rafael Alves Lemos
   ========================================================================== */


.switch label input[type=checkbox]:checked + .InterruptorVermelho {
  background-color: #951414;
}

.switch label input[type=checkbox]:checked + .InterruptorVermelho:before, .switch label input[type=checkbox]:checked + .InterruptorVermelho:after {
  left: 18px;
}

.switch label input[type=checkbox]:checked + .InterruptorVermelho:after {
  background-color: #F40403;
}

.switch label .InterruptorVermelho {
  content: "";
  display: inline-block;
  position: relative;
  width: 36px;
  height: 14px;
  background-color: rgba(0, 0, 0, 0.38);
  border-radius: 15px;
  margin-right: 10px;
  transition: background 0.3s ease;
  vertical-align: middle;
  margin: 0 16px;
}

.switch label .InterruptorVermelho:before, .switch label .InterruptorVermelho:after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 0;
  top: -3px;
  transition: left 0.3s ease, background .3s ease, box-shadow 0.1s ease, transform .1s ease;
}

.switch label .InterruptorVermelho:before {
  background-color: rgba(3, 169, 244, 0.15);
}

.switch label .InterruptorVermelho:after {
  background-color: #303030;
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
}

input[type=checkbox]:checked:not(:disabled) ~ .InterruptorVermelho:active::before,
input[type=checkbox]:checked:not(:disabled).tabbed:focus ~ .InterruptorVermelho::before {
  transform: scale(2.4);
  background-color: rgba(3, 169, 244, 0.15);
}

input[type=checkbox]:not(:disabled) ~ .InterruptorVermelho:active:before,
input[type=checkbox]:not(:disabled).tabbed:focus ~ .InterruptorVermelho::before {
  transform: scale(2.4);
  background-color: rgba(0, 0, 0, 0.08);
}

.switch input[type=checkbox][disabled] + .InterruptorVermelho {
  cursor: default;
  background-color: rgba(0, 0, 0, 0.12);
}

.switch label input[type=checkbox][disabled] + .InterruptorVermelho:after,
.switch label input[type=checkbox][disabled]:checked + .InterruptorVermelho:after {
  background-color: #949494;
}



.checkbox-orange[type="checkbox"].filled-in:checked + label:after{
     border: 2px solid #ff9800;
     background-color: #ff9800;
}



.FocoVermelho input[type=text]:focus {
  border-bottom: 1px solid red;
  box-shadow: 0 1px 0 0 red;
}

.FocoVermelho input[type=text]:focus + label {
  color: red;
}

/* 
   ========================================================================== */
