body {
  background-color: #e7eaef;
}

.tabs {
  .indicator {
    height: 4px;
  }
  .indicator-popin-size {
    right: 400px
  }
  .tab {
    margin-right: 0px;

    a {
      cursor: pointer;
      transition: all 0.2s ease-in-out;
    }
  }
}



.tabs-background {
  background-color: #F5F8FD;
}

.side-nav {
  width: 240px;
}

nav .brand-logo {
  font-size: 24px;
}

span.badge {
  position: relative;
  top: 5;
  display: inline-block;
  min-width: 10px;
  margin-right: 20px;
  margin-bottom: 10px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  height: 22px;
  vertical-align: middle;
  white-space: nowrap;
  text-align: center;
  background-color: #00C853;
  border-radius: 10px;
}

.collection a.collection-item {
  color: #000000;
}

.header-with-nav {
  padding-left: 240px;
}

.main-with-nav,
.footer-with-nav {
  padding-left: 240px;
}

.side-nav .divider {
  margin: 0;
}

nav .brand-logo {
  left: 0;
}

@media only screen and (max-width: 992px) {
  .header-with-nav, .main-with-nav, .footer-with-nav {
    padding-left: 0;
  }
}

.btn-flat {
  background-color: #FFFFFF;
}

* {
  box-sizing: border-box !important;
}

.toast {
  word-break: normal;
}

.side-nav .userView {
  margin-bottom: 0;
  padding: 15px 32px 0;
}

.background {
  background: url('../pictures/background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
  width: 100%;
}

.select-wrapper input.select-dropdown {
  height: 1rem;
}

.btn, .btn-large, .btn-large {
  background-color: $primary-color-light;
}

body .tabs.tabs-fixed-width .tab {
  width: 100%;
}

.margin-top-0-75-rem {
  margin-top: 0.75rem !important;
}

div.tap-target-wrapper {
  bottom: -35vh !important;
}

div.tap-target-wave {
  top: 335px !important;
}

div.tap-target-wrapper.open {
  bottom: -35vh !important;
}

.tap-target-content {
  color: white;
}

body div .dataTables_filter input.form-control {
  height: 2rem;
}

body div .dataTables_filter .input-field.col.s12.no-margin-top {
  margin-top: 0px !important;
}

input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

.select-wrapper input.select-dropdown {
  line-height: 0;
  height: 2rem;
  margin: 4px 0 5px;
  padding-left: 5px;
}

.dropdown-content li > a, .dropdown-content li > span {
  /* font-size: 1rem; */
  color: #000;
  display: block;
  /* line-height: 22px; */
  padding: 8px 16px;
  font-size: small;
  padding-left: 8px !important;
  padding-right: 8px !important;
  padding-bottom: 0px !important;
  padding-top: 0px !important;
}

.dropdown-content {
  max-height: 60vh !important;
}

.select-wrapper {
  position: relative;

  ul.select-dropdown li img {
    height: 22;
    width: 22;
    margin: 2px 12px;
  }
}

.select-wrapper + label {
  position: absolute;
  top: 0px;
  font-size: 1rem;
}

input:not([type]):focus:not([readonly]), input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]), .chips.focus {
  border-bottom: 1px solid #53A1FF;
  box-shadow: 0 1px 0 0 #53A1FF;
}

.input-field label {
  transform: translateY(-18px) !important;
  color: #9e9e9e;
  transform: translateY(-18px);
  font-weight: bold;
  left: 1.2rem;
}

.input-field label:not(.label-icon).active {
  transform: translateY(-18px) !important;
  transform-origin: 0 0;
}

.select-wrapper span.caret {
  color: initial;
  position: absolute;
  right: 5;
  top: 0;
  bottom: 0;
  height: 10px;
  margin: auto 0;
  font-size: 10px;
  line-height: 10px;
  pointer-events: none;
}

.input-field {
  margin-top: 1rem !important;
}

.picker__header .input-field select {
  display: block !important;
  position: relative !important;
  width: none !important;
  pointer-events: none !important;
  height: none !important;
  top: none !important;
  left: none !important;
  opacity: none !important;
}

@for $i from 3 through 200 {
  .padding-top-#{$i}-px {
    padding-top: $i*0.1em !important;
  }
}

@for $i from 3 through 200 {
  .padding-bottom-#{$i}-px {
    padding-bottom: $i*0.1em !important;
  }
}

td, th {
  border-radius: 0px !important;
}

table.dataTable {
  & thead {
    &th, td {
      padding: 10px 10px !important;
    }
  }
  & tbody td {
    font-size: small;
  }
}

.dropdownLinks {
  width: auto !important;
  top: 64px !important;
}

.dropdownLoadings {
  width: 200px !important;
  top: 64px !important;
  right: 15px !important;
}

.dropdownLoading {
  height: 60px;
}

.dropdownLink {
  width: inherit;
  height: 30px;
}

.w-h-30 {
  max-width: 30px;
  max-height: 30px;
}

.breadcrumb {
  font-size: 14px;
  &:last-child {
    font-size: 16px;
  }
  &::before {
    margin: 0 5px 0 3px;
  }
}

.btn-flat.no-hover {
  background-color: white;
}

.font-size-14 {
  font-size: 14px !important;
}

.font-size-16 {
  font-size: 16px !important;
}

body div textarea.materialize-textarea.sieau-input {
  min-height: 5rem;
  padding-left: 5px !important;
  padding-right: 5px !important;
  border: 1px solid #7a7a7a;
}

.long-state-box {
  margin-top: 10px !important;
}

.font-size-20 {
  font-size: 20px !important;
}

.font-size-25 {
  font-size: 25px !important;
}

.background-orange {
  background-color: orange;
}

.microFont {
  font-size: 10px;
}

.switch label {
  color: #9e9e9e !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
}

.m-width-50 {
  min-width: 50px;
}

.side-nav li > a {
  height: 40px !important;
}

.custom-padding{
  padding-right: 0px !important;
  > * {
    padding-left: 0.75rem !important;
    padding-right: 0px !important;
  }
}

div .input-field div.picker__header select {
  display: inline-block;
  position: inherit;
  opacity: 1;
  height: auto;
  width: auto;
  pointer-events: auto;
}

.side-nav li > a.waves-effect.slide-nav-link {
  padding-left: 15px;
}

div.bg-overlay{
  display: flex;
  align-items: center;
  .wait{
    position: initial;
    width: 100%;
    .sk-spinner.ball-grid-pulse{
      margin: 0 auto;
    }
  }
}

body .navbar-fixed nav .nav-wrapper ul.right.hide-on-med-and-down{
    margin-right: 15px;
    .nav-actions span.badge.new {
        font-weight: 300;
        color: #fff;
        background-color: #53A1FF;
        border-radius: 100px;
        padding: 0 6px;
        margin-left: 14px;
        text-align: center;
        font-size: 12px;
        line-height: 17px;
        height: 18px;
        float: right;
        position: absolute;
        right: 5px;
        top: 8px;
        &:after {
            content: "";
        }
    }

    div.dropdown-content {
        top: 64px !important;
        color: initial;
        right: 1025px !important;
        width: 485px !important;
        box-shadow: -1px 8px 10px -5px rgba(0, 0, 0, 0.7);


        div.title {
          background-color: $blue-secondary !important;
          color: #FFFFFF !important;

          h6 b {
            font-size: 20px;
            font-weight: bold !important;
          }
        }

        .no-padding.no-margin.col.s2.center-align {
          width: 20% !important;
        }

        .no-padding.no-margin.col.s10 {
          width: 75% !important;

          h6 b {
            font-weight: bold;
            line-height: 20px;
          }
        }
    }
}

body div [type="checkbox"].filled-in:checked + label:after {
    border: 2px solid $secondary-color;
    background-color: $secondary-color;
}

div.action-wrapper > a.nav-actions.active {
  position: relative;

  &.blue-arrow::after {
    border-bottom: 10px solid #53A1FF;
  }

  &::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
    left: 34%;
  }
}

div.card-panel.card-list-title.row h6 {
  font-size: 22px;
}

.collection-item.clickable.row.no-margin.valign-wrapper:hover {
  background-color: #eee;
}
.collection-item.clickable.center-align:hover {
  background-color: #eee;
}

body div .ag-theme-material {
    .ag-header-cell, .ag-header-group-cell {
        padding: 0 10px;
        line-height: 40px;

        .ag-header-cell-label {
            text-align: center;
            & > .ag-header-cell-text{
                width: 100%;
            }
        }

        .ag-header-group-cell-label .customExpandButton i {
            font-size: 1.4rem;
            margin-left: 10px;
            line-height: 40px;
        }

        & > .ag-header-cell-resize::after {
            margin-top: 8px;
        }
    }

    .ag-floating-filter-body {
        margin-top: 10px;
        input { border-radius: 0; }
    }
    .ag-paging-panel {
        justify-content: flex-start;
    }

    &.no-floating-filter-icon .ag-header {
        .ag-header-cell-label, .ag-header-group-cell-label {
            font-weight: bold;
            font-size: 14px;
            color: black;
        }
        .ag-floating-filter-button { display: none; }
        .ag-floating-filter-body { width: 100%; }
        &, .ag-pinned-left-header { border-bottom: 1px solid #111; }
    }
}

body div {
  input:not([type]):disabled, input:not([type])[readonly="readonly"], input[type=text]:not(.browser-default):disabled, input[type=text]:not(.browser-default)[readonly="readonly"], input[type=password]:not(.browser-default):disabled, input[type=password]:not(.browser-default)[readonly="readonly"], input[type=email]:not(.browser-default):disabled, input[type=email]:not(.browser-default)[readonly="readonly"], input[type=url]:not(.browser-default):disabled, input[type=url]:not(.browser-default)[readonly="readonly"], input[type=time]:not(.browser-default):disabled, input[type=time]:not(.browser-default)[readonly="readonly"], input[type=date]:not(.browser-default):disabled, input[type=date]:not(.browser-default)[readonly="readonly"], input[type=datetime]:not(.browser-default):disabled, input[type=datetime]:not(.browser-default)[readonly="readonly"], input[type=datetime-local]:not(.browser-default):disabled, input[type=datetime-local]:not(.browser-default)[readonly="readonly"], input[type=tel]:not(.browser-default):disabled, input[type=tel]:not(.browser-default)[readonly="readonly"], input[type=number]:not(.browser-default):disabled, input[type=number]:not(.browser-default)[readonly="readonly"], input[type=search]:not(.browser-default):disabled, input[type=search]:not(.browser-default)[readonly="readonly"], textarea.materialize-textarea:disabled, textarea.materialize-textarea[readonly="readonly"] {
    color: inherit;
  }
}

.background-blue-primary {
  background: #161832 !important;
}

div.picker#end-date_root > .picker__holder > .picker__frame {
    top: 5%;
}

body div .modal-content .modal-header-assignment {
    margin: calc(-24px + -2.052rem) -24px 10px -24px;
    padding: 35px 24px 24px 24px;
    color: white;
}

body div #map.sieau-ol-map {
    &.fixed {
        position: fixed;
    }
}

body div .input-field .multiple-select-dropdown {
    label {
        transform: translateY(0px) !important;
    }
}

body input[type=color]:not(.browser-default).sieau-input {
    border: 1px solid #7a7a7a;
    background-color: white;
    color: black;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    outline: none;
    width: 100%;
    font-size: 1rem;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s;
}
