/*  ej.widgets.core.office-365.min    */

.e-menu .e-list > .e-menulink {
  white-space: normal;
}

/* .e-excelfilter .e-menu.e-vertical .e-list>a {
    line-height: normal;
} */

.e-excelfilter.e-dlgcontainer {
  padding: 7px 12px 7px 7px;
}

.e-grid .e-filterdiv.e-searchinputdiv span {
  top: 4px;
}

.e-grid .e-toolbaricons.e-searchfind {
  padding-top: 0;
}

.e-excelfilter.e-dlgcustom .e-dlgfields .e-predicate .e-caption {
  display: inline;
  vertical-align: top;
}

.e-grid .e-rowcell {
  overflow: inherit;
}

/*  bootstrap.css  */

.toc.container-fluid {
  padding: 3px;
}

.col-ejgrid {
  position: inherit;
}

/*  bootstrap-drawer-1.0.6.css */

.drawer {
  overflow-y: auto;
  overflow-x: hidden;
  color: unset;
}

/* .drawer ul {
    display: none;
}
.drawer li {
    display: none;
}
.drawer table {
    display: none;
} */

/*  bootstrap.css */

/*
FIXES
*/

.select2BoxAlign {
  text-align: left !important;
}

.card-block {
  word-wrap: break-word;
}

.popover {
  max-width: 700px;
}

.marker-icon,
.marker-icon:focus {
  background-color: var(--millenio-white);
  border: 1px solid #3388ff;
  border-radius: 50%;
  margin: -8px 0 0 -8px !important;
  width: 14px !important;
  height: 14px !important;
  outline: 0;
  transition: opacity ease 0.3s;
}

.marker-icon-middle,
.marker-icon-middle:focus {
  opacity: 0.7;
  margin: -6px 0 0 -6px !important;
  width: 10px !important;
  height: 10px !important;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

.fill {
  min-height: 100%;
  height: 100%;
  width: 100%;
  min-width: 100%;
  overflow: hidden;
}

#page-content {
  padding: 0px 0px 0;
}

.sp-replacer {
  min-width: 50px;
}

.colorBrewerRampColor {
  border: 0px;
  width: 710px !important;
  min-height: 540px;
}

.jscolor {
  z-index: 9999 !important;
}

/* Info Behavior Class - Don't remove */

.control-window2 {
  background-color: var(--millenio-white);
  min-width: 600px;
}

.table-inside-panel {
  max-width: 600px;
  overflow: auto;
}

.clickable {
  cursor: pointer;
}

.searchbox2 {
  min-width: 400px;
  padding: 0 12px;
  height: 55px;
}

@media (max-width: 992px) {
  .wrapper {
    width: 100%;
  }
}

.panel-heading {
  padding: 0;
  border: 0;
}

.panel-title > a,
.panel-title > a:active {
  display: block;
  /*padding:15px;*/
  color: var(--millenio-text-muted);
  font-size: var(--millenio-font-md);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 3px;
  text-decoration: none;
}

/* Aparentemente não está em uso, comentei (Ferraz) */
/*.panel-heading a:before {
    font-family: 'Glyphicons Halflings';
    content: "\e114";
    float: right;
    transition: all 0.5s;
}*/

.panel-heading.active a:before {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  transform: rotate(180deg);
}

body,
.modal-open {
  padding-right: 0px !important;
}

#navbar {
  z-index: 4001 !important;
}

.pac-container {
  z-index: 4051 !important;
}

.pac-container pac-logo {
  position: absolute !important;
}

.searchbox2 {
  min-width: 230px;
  max-width: 100px !important;
}

.retro {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  margin: 0 auto;
  border: none;
  font:
    normal 13px/normal "Anton",
    Helvetica,
    sans-serif;
  color: rgb(255, 255, 255);
  text-align: center;
  text-transform: uppercase;
  -o-text-overflow: clip;
  text-overflow: clip;
  letter-spacing: 3px;
}

#container.mainnav-sm #mainnav-menu a {
  padding: 12px 0 12px 18.5px;
}

.mapEdit {
  color: #c0c2cb;
  position: absolute;
}

.loader {
  height: 4px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ddd;
}

.loader:before {
  display: block;
  position: absolute;
  content: "";
  left: -200px;
  width: 200px;
  height: 4px;
  background-color: #2980b9;
  animation: loading 2s linear infinite;
}

@keyframes loading {
  from {
    left: -200px;
    width: 30%;
  }

  50% {
    width: 30%;
  }

  70% {
    width: 70%;
  }

  80% {
    left: 50%;
  }

  95% {
    left: 120%;
  }

  to {
    left: 100%;
  }
}

.hideSelecao {
  display: none;
}

.pesquisa-box {
  height: 55px;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(
    .input-group-btn
  ) {
  width: 140px !important;
}

.buscaSelecao {
  display: none;
  position: relative;
  width: 580px;
  min-height: 40px;
  max-height: 600px;
  background-color: #fff;
  top: -15px;
  left: 12px;
  box-shadow: 1px 2px 1px 1px;
  overflow: auto;
  z-index: 1000;
}

.btn-text {
  display: block;
  float: right;
  padding-left: 5px;
  padding-right: 2px;
}

.textMain {
  font-weight: bold;
  padding-left: 5px;
}

.textBody {
  font-size: 11px;
  padding-left: 5px;
}

.boxLegend {
  line-height: 32px;
  color: var(--millenio-text-muted);
  /*position: absolute;*/
  bottom: 40px;
  right: 20px;
  z-index: 2;
  background-color: var(--millenio-white);
  padding: 5px;
}

.boxLegend i {
  width: 22px;
  height: 22px;
  float: left;
  margin-right: 8px;
  margin-top: 8px;
  opacity: 0.7;
}

.legend i {
  width: 18px;
  height: 18px;
  float: left;
  margin-right: 8px;
  opacity: 0.7;
}

/* Bootstrap gotcha :: Precisamos de revisão para casos que envolvam impressão (Ferraz) */

@media print {
  img {
    max-width: none !important;
  }
}

/* End Bootstrap gotcha */

/* css to customize Leaflet default styles  */

/* .custom .leaflet-popup-tip,
.custom .leaflet-popup-content-wrapper {} */

.leaflet-control {
  float: left;
  clear: none;
}

/*.leaflet-bottom {
    !* bottom: 0px; *!
    !* margin-bottom: 10em; *!
}

[leaflet-browser-print-content] .grid-print-container {
    grid-template: auto 1fr auto / 1fr;
    !* background-color: white; *!
}

[leaflet-browser-print-content] .grid-map-print {
    grid-row: 2;
}

[leaflet-browser-print-content] .title {
    grid-row: 1;
    justify-self: center;
    !*     float: left;
        top: 0px;
        width: 100%;
    *!
    !* color: grey; *!
}

[leaflet-browser-print-content] .sub-content {
    grid-row: 5;
    padding-left: 10px;
}*/

.e-pager .e-currentitem,
.e-grid td.e-active,
.e-grid .e-form-titlebar,
.e-toolbar > .e-horizontal .e-active,
.e-toolbar > .e-vertical > .e-active {
  background: #2f70a873;
  /* linear-gradient(to bottom, #9e9ea0, #93cec7) !important;     */
}

.e-scrollbar .e-vscroll .e-button.e-icon:before,
.e-scrollbar .e-hscroll .e-button.e-icon:before,
.e-scrollbar .e-vscroll .e-icon:before,
.e-scrollbar .e-hscroll .e-icon:before {
  width: inherit;
  background: #2f70a873;
  /* #3c719e;*/
  color: #fffffff3;
}

.btn-detalhes {
  margin-top: 5px;
}

.modal-body {
  padding-left: 33px;
  padding-right: 33px;
}

.e-toolbar > .e-horizontal.e-ul {
  float: right;
}

.e-rowcell e-unboundcell {
  text-align: center;
  vertical-align: middle;
}

#overlay {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

.bs-odd {
  background-color: #e9e9ea7a;
}

.bs-even {
  background-color: #f9f9f97a;
}

/* .cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
} */

/* .spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
} */

/* @keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
} */

/* .is-hide{
    display:none;
} */

/* .dropdown {
    position: relative;
    display: inline-block;
} */

/* .panelBtn {
    padding: 0px;
    text-align: left;
    background-color: #fafafa;
    border: solid 1px var(--millenio-white);
    position: fixed;
    z-index: 1;
    margin-top: 1px;
    display: none;
    font-size: var(--millenio-font-md);
    border: none;
    cursor: pointer;
}

.panel-body {
    width: 60%;
    margin: 0 auto;
    display: none;
    position: absolute;
    background-color: var(--millenio-gray-light);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.customCSS.e-headercell {

    font-size: 15px;
}

.customCSS.e-rowcell {
    font-size: 13px;
}

.e-pager {
    font-size: var(--millenio-font-sm);
}

.e-pagermsg {
    font-weight: bold;
}

.loader {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ddd;
}

.loader:before {
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: #2980b9;
    animation: loading 2s linear infinite;
}

@keyframes loading {
    from {
        left: -200px;
        width: 30%;
    }
    50% {
        width: 30%;
    }
    70% {
        width: 70%;
    }
    80% {
        left: 50%;
    }
    95% {
        left: 120%;
    }
    to {
        left: 100%;
    }
}

.modal-backdrop {
    background-color: #000;
}

.modal-backdrop {
    opacity: 0.6 !important;
}

input {
    width: 100%;
}

.panelAction {
    display: none;
}

.panelAction.on {
    display: block;
} */

/* .dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}
 */

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  /*
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    */
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 5px 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #bbb;
}

.dropdown-submenu.pull-left {
  float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  /*
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
    */
}

#container:not(.mainnav-sm) #mainnav-menu-wrap > .nano > .nano-content {
  padding-top: 4px;
}

.tab-content,
td,
th {
  padding: unset;
}

#mainnav-container {
  position: absolute;
  width: 300px;
  left: -300px;
  padding-top: 55px;
  top: 0;
  bottom: 0;
  z-index: 4000;
  min-height: 100%;
  box-shadow: 1px 0 20px #00000014;
}

.navbar-content {
  /* border-bottom: 1px solid rgba(0,0,0,0.08); */
  border-bottom: unset;
  /* box-shadow: 0 5px 10px -5px rgba(0,0,0,0.05); */
  box-shadow: unset;
}

.dd-item .small,
small {
  font-size: unset;
}

#mapLegendListGroup #serverThemeListGroup #clientThemeListGroup,
p.no-mar.text-main.small {
  font-size: unset;
}

/* #mapLegendListGroup, #serverThemeListGroup, #clientThemeListGroup .small, small {
    font-size: unset;
} */

/* Simple Theme Color Picker Spacing */
.sp-replacer {
  margin-bottom: 10px !important;
  display: inline-block !important;
}

/* FIX: Spectrum Color Picker Grid Layout */
.sp-palette .sp-thumb-el {
  display: block !important;
  position: relative !important;
  float: left !important;
  width: 16px !important;
  height: 16px !important;
  margin: 2px 1px !important;
  cursor: pointer !important;
  border: solid 1px #d0d0d0 !important;
}

.sp-palette-row {
  display: block !important;
  clear: both !important;
}

.sp-cf:after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

/* Accessibility fix: list item header styling */
.layer-legend-node .list-item-header {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--millenio-gray-border);
  padding: 5px 0;
}

.layer-legend-node .list-item-header > span {
  display: inline-block;
}

.list-group.layer-legend-node {
  margin-bottom: 10px;
}
