/* label color */
.input-field label {
  color: #9e9e9e;
}

/* label focus color */
.input-field input[type=text]:focus + label,
.input-field input[type=password]:focus + label,
.input-field input[type=email]:focus + label,
.input-field input[type=number]:focus + label,
.input-field input[type=tel]:focus + label,
.input-field textarea.materialize-textarea:focus + label {
  color: #66bb6a;
}

/* label underline focus color */
.input-field input[type=text]:focus,
.input-field input[type=password]:focus,
.input-field input[type=email]:focus,
.input-field input[type=number]:focus,
.input-field input[type=tel]:focus,
.input-field textarea.materialize-textarea:focus {
  border-bottom: 1px solid #66bb6a;
  box-shadow: 0 1px 0 0 #66bb6a;
}

/* valid color */
.input-field input[type=text].valid,
.input-field input[type=password].valid,
.input-field input[type=email].valid,
.input-field input[type=number].valid,
.input-field input[type=tel].valid,
.input-field textarea.materialize-textarea.valid {
  border-bottom: 1px solid #66bb6a;
  box-shadow: 0 1px 0 0 #66bb6a;
}

/* invalid color */
.input-field input[type=text].invalid,
.input-field input[type=password].invalid,
.input-field input[type=email].invalid,
.input-field input[type=number].invalid,
.input-field input[type=tel].invalid,
.input-field textarea.materialize-textarea.invalid {
  border-bottom: 1px solid #f44336;
  box-shadow: 0 1px 0 0 #f44336;
}

/* icon prefix focus color */
.input-field .prefix.active {
  color: #66bb6a;
}

/* file upload btn */
/*.file-field .btn {
  background-color: #4CAF50 !important;
}*/

/* override button color*/
.btn {
  overflow: hidden;
}

.btn:hover:before {
  opacity:1;
}

.btn:before {
    content: '';
    opacity: 0;
    background-color: rgba(255,255,255,0.1);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    transition: opacity .2s;
    z-index: -1;
}

.btn-flat:hover{
  background-color: rgba(0,0,0,0.1);
  box-shadow: none;
}

/* material size */
.md-36 {
  font-size: 36px;
}

/* toolbar */
.toolbar {
  height: 56px;
  text-align: center;
  z-index: 998;
  position: fixed;
  bottom: 0px;
  overflow: hidden;
  display: none;
}

.toolbar ul {
  display: flex;
  top: 0;
  bottom: 0;
  text-align: center;
  position: absolute;
  margin: 0;
  left: 0;
  right: 0;
}

.toolbar ul li {
  flex: 1;
  height: 100%;
  display: inline-block;
  margin: 0;
  transition: none;
}

.toolbar ul li a {
  line-height: 56px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #fff;
  z-index: 1;
  display: block;
  overflow: hidden;
  position: relative;
  box-shadow: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.toolbar ul li a i {
  line-height: inherit;
}

/* dropdown menu */
.dropdown-content {
  z-index: 1001;
}

/* toast */
.toast a {
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: bold;
}

/* modal */
.modal.modal-grande {
  height: 80% !important;
  max-height: 80% !important;
  width: 70%;
}

.datepicker {
  font-family: "Roboto", sans-serif;
  z-index: 1021 !important;
}

nav.datepicker--nav {
  height: auto;
  line-height: initial;
  width: auto;
  border-bottom: 0px;
  box-shadow: none;
}

.datepicker--nav-action path {
  stroke: #FFFFFF;
}

.datepicker--nav-title i {
  color: #FFFFFF;
  font-size: 16px;
  height: auto;
  line-height: inherit;;
}

.datepicker--nav-action:hover,
.datepicker--nav-title:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.datepicker--cell.-current-,
.datepicker--cell.-current-:hover {
  color: #4caf50;
}

.datepicker--cell.-selected-,
.datepicker--cell.-selected-.-current- {
  background-color: #4caf50;
}

.datepicker--cell.-selected-.-focus- {
  background-color: #66bb6a;
  color: #fff;
}

.floating-box {
  display: inline-block;
}

.nav-logo {
  height: 36px;
  vertical-align: middle;
}

.brand-logo {
  font-size: 0 !important;
}

li.disabled {
  cursor: default;
  opacity: 0.6;
}

.user-view img {
  height: 64px;
}

.dropdown-content li a {
  display: flex !important;
}

/* Upload Progress Bar */
.upload-progress {
  width: 50%;
  margin-left: 10px;
}

/* badges */
.side-nav span.badge.new, .collapsible span.badge.new {
  position: relative;
  background-color: transparent;
}

.side-nav li.active>a>span.badge {
   color: #fff ;
}

.dropdown-content li.highlight {
  background-color: #f1f8e9;
}

.dropdown-content li.highlight:hover {
  background-color: #dcedc8;
}

#dropdown-notificacao {
  width: 500px;
  height: 448px;
}

#dropdown-notificacao .collection-item {
  white-space: normal;
  min-height: 64px;
  border-bottom: 0px;
  padding: 10px 10px 0px 72px;
}

#dropdown-notificacao .title {
  padding: 0px;
}

#icone-btn-nova-safra {
  line-height: 40px;
}

#fazenda-talhao-timeline {
  margin-top: 0;
  margin-bottom: 18px;
}


/*------------*/
/*  SIDEMENU  */
/*------------*/

/* left */
.sidemenu.left-side {
  height: calc(100% - 64px); /* 100% Full-height */
  width: 250px; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Stay on top */
  left: -250px;
  background-color: white;
  transition: 0.25s; /* 0.5 second transition effect to slide in the sidenav */
}

.sidemenu.left-side.active {
  left: 0;
}

.sidemenu.left-side .activator .material-icons {
  line-height: 50px;
}

.sidemenu.left-side .activator {
  top: calc(50% - 25px);
  right: -24px;
  position: absolute;
  z-index: 1001;
  width: 24px;
  height: 50px;
  border-radius: 0 2px 2px 0;
}

.sidemenu.left-side .activator {
  transition: margin-left .25s;
}

.sidemenu.left-side p {
  margin: 0.5em 0;
}

/* right */
.sidemenu.right-side {
  height: calc(100% - 64px);
  width: 300px;
  position: fixed;
  z-index: 1001;
  right: -300px;
  background-color: white;
  transition: 0.25s;
}

.sidemenu.right-side.active {
  right: 0;
}

.sidemenu.right-side .activator .material-icons {
  line-height: 50px;
}

.sidemenu.right-side .activator {
  top: calc(50% - 25px);
  left: -24px;
  position: absolute;
  z-index: 1001;
  width: 24px;
  height: 50px;
  border-radius: 2px 0 0 2px;
}

.sidemenu.right-side .activator {
  transition: margin-left .25s;
}

/* bottom */
.sidemenu.bottom-side {
  width: 100%;
  height: 160px;
  position: fixed;
  z-index: 1001;
  bottom: -160px;
  background-color: white;
  transition: 0.25s;
}

.sidemenu.bottom-side.active {
  bottom: 0;
}

.sidemenu.bottom-side .activator {
  left: calc(50% - 25px);
  top: -24px;
  position: absolute;
  z-index: 1001;
  width: 50px;
  height: 24px;
  text-align: center;
  border-radius: 2px 2px 0 0;
}

.sidemenu.bottom-side .activator {
  transition: .25s;
}

/* Modal Header */
.modal.modal-fixed-header .modal-header {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  position: absolute;
  top: 0;
  border-radius: 0 0 2px 2px;
  /* background-color: #fafafa; */
  padding: 4px 6px;
  height: 56px;
  width: 100%;
}

.modal.modal-fixed-header .modal-content {
  position: absolute;
  top: 56px;
  height: calc(100% - 56px);
  max-height: 100%;
  width: 100%;
  overflow-y: auto;
}

.modal.modal-fixed-header.modal-fixed-footer .modal-content {
  height: calc(100% - 112px);
  bottom: 56px;
}

/* Controles de mapa */

.leaflet-control-coordinates.leaflet-control {
  margin-right: 100px;
}

.leaflet-control-scale .leaflet-control {
  margin-right: 100px;
}

.leaflet-control-scale-line {
  background: rgba(255, 255, 255, 0.7);
}

.leaflet-google-mutant {
  width: 100% !important;
  height: 100% !important;
}

ul.select-dropdown {
  max-height: 500px;
}
