:host {
  --checkbox-on: #347403;
  --checkbox-off: #f32c22;
  --checkbox-textcolor: #ffffff;
  --range-slider-selection: #145374;
  --range-slider-pointer: #f09c67;
  --range-slider-legend: #F8F3F6;
  --control-icon: #ffffff;
}

#mapid {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 2;
}

.leaflet-container.crosshair-cursor-enabled {
  cursor:crosshair;
}

.layerSelector {
  position: absolute;
  top: 45%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 105;
}

div.ks-cboxtags div.layerContainer{
  line-height: 1;
}

div.ks-cboxtags div.layerContainer label {
  display: inline-block;
  background-color: var(--checkbox-off);
  border: 2px solid transparent;
  color: var(--checkbox-textcolor);
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  white-space: nowrap;
  margin: 3px 0px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s;
}

div.ks-cboxtags div.layerContainer label {
  padding: 8px 12px;
  cursor: pointer;
}

div.ks-cboxtags div.layerContainer label::before {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 12px;
  padding: 2px 6px 2px 2px;
  /* content: "\f067"; */
  transition: transform 0.3s ease-in-out;
}

div.ks-cboxtags div.layerContainer input[type="checkbox"]:checked + label::before {
  content: "\f00c";
  transform: rotate(-360deg);
  transition: transform 0.3s ease-in-out;
}

div.ks-cboxtags div.layerContainer input[type="checkbox"]:checked + label {
  border: 2px solid transparent;
  background-color: var(--checkbox-on);
  color: var(--checkbox-textcolor);
  transition: all 0.2s;
}

div.ks-cboxtags div.layerContainer input[type="checkbox"] {
  display: absolute;
}
div.ks-cboxtags div.layerContainer input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
div.ks-cboxtags div.layerContainer input[type="checkbox"]:focus + label {
  border: 2px solid transparent;
}

div.ks-cboxtags div.d-inline-block .btn-outline-primary{
  color: #ffffff;
  background-color: var(--checkbox-off);
  color: var(--checkbox-textcolor);
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-color: var(--checkbox-textcolor);
}

div.ks-cboxtags div.d-inline-block .btn-activate-primary{
  color: #ffffff;
  background-color: var(--checkbox-on);
  color: var(--checkbox-textcolor);
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  border-color: var(--checkbox-textcolor);
}

.show>.btn-outline-primary.dropdown-toggle:focus {
  /* box-shadow: 0 0 0 0.2rem rgba(255, 0, 234, 0.5); */
  box-shadow: unset;
}

.btn-outline-primary.focus, .btn-outline-primary:focus {
  /* box-shadow: 0 0 0 0.2rem rgb(255, 0, 21); */
  box-shadow: unset;
}

div.ks-cboxtags .row{
  margin-top: 3px;
  margin-left: -20px;
  line-height: 0.5;
}

div.ks-cboxtags .row .dropdown-menu.show div.layerContainer{
  font-size: 0.9rem;
  line-height: 0.4;
}

.dropdown-menu.show{
  background-color: transparent;
  border: transparent;
  margin-left: 85px;
}

.time-slider {
  width: 25%;
  position: absolute;
  bottom: 100px;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 105;
}

.slider-wrapper {
  width: 25%;
  position: absolute;
  height: 105px;
  bottom: 46px;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 105;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 5px;
}

.ng5-slider {
  z-index: 5;
}

::ng-deep .ng5-slider .ng5-slider-bubble.ng5-slider-limit {
  visibility: hidden !important;
}

::ng-deep .ng5-slider .ng5-slider-bubble {
  visibility: hidden !important;
}

::ng-deep .ng5-slider .ng5-slider-selection {
  background: var(--range-slider-selection) !important;
}

::ng-deep .ng5-slider .ng5-slider-pointer {
  background-color: var(--range-slider-pointer) !important;
}

::ng-deep .ng5-slider .ng5-slider-pointer.ng5-slider-active::after {
  background: var(--range-slider-selection) !important;
}

::ng-deep .ng5-slider .ng5-slider-tick.ng5-slider-selected {
  background: var(--range-slider-selection) !important;
}

::ng-deep .ng5-slider .ng5-slider-tick-legend{
  color: var(--range-slider-legend);
  font-weight: bold;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  .time-slider, .slider-wrapper {
    width: 100%;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .time-slider, .slider-wrapper {
    width: 75%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .time-slider, .slider-wrapper {
    width: 75%;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .time-slider, .slider-wrapper {
    width: 50%;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .time-slider, .slider-wrapper {
    width: 30%;
  }
}

::ng-deep .sentiment-neutro {
  border: 3px solid #ffd018;
}

::ng-deep .sentiment-positivo {
  border: 3px solid #198e3c;
}

::ng-deep .sentiment-negativo {
  border: 3px solid #781b0d;
}

::ng-deep .sentiment-indeterminado {
  border: 3px solid #2aaae0;
}

::ng-deep .tweet-neutro {
  border-right: 5px solid #ffd018;
  margin-right: -10px !important;
  min-width: 250px;
}

::ng-deep .tweet-positivo {
  border-right: 5px solid #198e3c;
  margin-right: -10px !important;
  min-width: 250px;
}

::ng-deep .tweet-negativo {
  border-right: 5px solid #781b0d;
  margin-right: -10px !important;
  min-width: 250px;
}

::ng-deep .tweet-indeterminado {
  border-right: 5px solid #2aaae0;
  margin-right: -10px !important;
  min-width: 250px;
}

::ng-deep .userScreenName {
  color: #000;
  font-weight: bold;
  font-size: 16px;
}

::ng-deep .tweetDate {
  color: #808080;
  font-weight: bold;
  font-size: 12px;
}

.twitter-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 180px;
  color: #ffffff;
  /* height: 300px; */
}

/* .twitter-chart:hover{
  background-color: rgba(36, 39, 48, 1);
} */




@keyframes border{
  0% {
    border: 2px dashed orange;
  }
  25% {
    border: 2px solid orange;
  }
  50% {
    border: 2px dashed orange;
  }
  75% {
    border: 2px solid orange;
  }
  100% {
    border: 2px dashed orange;
  }
}

@keyframes wobble {
  50% {
    border-radius: 750px 550px 350px 750px /
                   350px 750px 550px 450px;
  }
  100% {
    border-radius: 750px 250px 750px 250px /
                   250px 750px 250px 750px;
  }
}

.c911-chart {
  position: absolute;
  z-index: 5;
  top: 0px;
  right: 50px;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 250px;
  color: #ffffff;
  /* height: 300px; */
}



.c911-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

.denue-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 230px;
  /* height: 300px; */
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.denue-chart ul{
  list-style:none;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.denue-chart .textCenter{
  text-align: center;
}

.denue-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

.waze-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 200px;
  /* height: 300px; */
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.waze-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

.escuelas-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 180px;
  /* height: 300px; */
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.escuelas-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

.refugios-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 180px;
  /* height: 300px; */
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.refugios-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

.airbnb-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: auto;
  /* height: 300px; */
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.airbnb-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}

::ng-deep .leaflet-popup {
  min-width: 270px;
}

.no-tweets-text {
    /* position: absolute; */
  /* top: 50%;
  left: 50%; */
  padding-left: 40px;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.5em
}


.showBar{
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 0px;
  width: 32px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
}

.information-show {
  position: absolute;
  z-index: 5;
  top: 0px;
  right: 0px;
  background-color: rgba(48, 36, 36, 0.5);
  width: 550px;
  height: 100%;
  max-height: 100%;
  overflow: auto;
  overflow-x: hidden;
  color: white;
}
.information-show .hideBar{
  padding-top: 1.8%;
  padding-left: 5%;
}

.information-show .content{
  padding: 0px;
  margin: 0px;
  padding-top: 20px;
  padding-left: 30px;
}

/*MAP Control*/
::ng-deep .mapControl{
  width: auto;
  height: auto;
  position: absolute;
  left: 5em;
  top:5em;
  z-index: 999;
}

::ng-deep .controlContainer{
  width: auto;
  overflow-y: auto;
  max-height: 60vh;
  border-radius: 8px;
  padding: 3px;
  padding-right: 5px;
}

::ng-deep .controlContainer::-webkit-scrollbar{
  background-color: #ffffff;
  border-radius: 20px;
  width: 10px;
}

::ng-deep .controlContainer::-webkit-scrollbar-track{
  border-radius: 20px;
}

::ng-deep .controlContainer::-webkit-scrollbar-thumb{
  background-color: #A6A6A6;
  border: 2px solid #ffffff;
  border-radius: 10px;
}

::ng-deep .baseMap{
  height: 158px;
  width: 296px;
  padding:3px;
  cursor: pointer;
  background-color: white;
  border-radius: 2px;
}

::ng-deep .mapSelector input[type="radio"]{
  margin-right: 2px;
  vertical-align: sub;
}

::ng-deep .mapSelector span{
  font-weight: bold;
}


::ng-deep .baseMap img{
  border-radius: 8px;
}

::ng-deep .mapSelector{
  position: relative;
  bottom: 2em;
  padding: 4px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}

.showControlMap{
  position: absolute;
  z-index: 105;
  top: 50px;
  top: 10px;
  width: 42px;
  left: 0px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
}

.toggle3D{
  position: absolute;
  z-index: 105;
  top: 95px;
  top: 55px;
  width: 42px;
  left: 0px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
}

.resetMap{
  position: absolute;
  z-index: 105;
  top: 140px;
  top: 100px;
  width: 42px;
  left: 0px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
}

.viaLogo{
  font-family: 'Courier New', Courier, monospace;
}

.date-picker {
  position: absolute;
  z-index: 4;
  bottom: 40px;
  background: #ffffff;
}

.mapboxgl-popup {
  max-width: 400px;
  font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

.charts-boundary {
  position: absolute;
  top: 0vh;
  left: 0vw;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
}

.dummy-area {
  position: absolute;
  background-color: rgba(36, 39, 48, 0.5);
  z-index: 5;
  border-radius: 20px;
  width: 500px;
  text-align: center;
}

.drag-button {
  position: fixed; 
  left: 65px; 
  margin-top: 8px;
  position: absolute;
  background-color: rgba(36, 39, 48, 0.5);
  z-index: 5;
  border-radius: 20px;
  width: 170px;
  padding: .5em;
  text-align: center;
}


.drag-button-inside-circle {
  left: 65px; 
  margin-top: 8px;
  position: absolute;
  background-color: rgba(52, 116, 3, 1);
  z-index: 5;
  border-radius: 20px;
  width: 170px;
  padding: .5em;
  text-align: center;
}

.drag-button-text {
    /* position: absolute; */
  /* top: 50%;
  left: 50%; */
  padding-left: 5px;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-weight: bold;
  font-size: 1em
}

.opacitySelect{
  position: absolute;
  top: 10px;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 105;
  width: 300px;
}

.select {
  background-color: rgba(36, 39, 48, 0.6); 
  border-radius: 5px;
  border-color: white; 
  border-width: thin; 
  border-style: solid; 
  margin-bottom: 10px;
}


.head {
  background-color: #000;
  width: 510px;
  height: 525px;
  border-radius: 50%;
  top: 300px;
  margin:0 auto;
  position: relative;
  z-index: 1000;
  width:920px;
  height:500px;
}

.ear {
  background-color: red;
  width:80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
}

.pos1 {
  top: 40%;
  left:13%;
}

.pos2 {
  top: 40%;
  right:11.5%;
}

.pos3 {
  top: 23%;
  left:25%;
}

.pos4 {
  top: 23%;
  right:25%;
}

.pos5 {
  top: 15.5%;
  left:38%;
}

.pos6 {
  top: 15.5%;
  right:38%;
}
.pos7 {
  bottom: 23%;
  left:19.5%;
}
.pos8 {
  bottom: 15.5%;
  left:28%;
}
.pos9 {
  bottom: 15.5%;
  right:20%;
}
.pos10 {
  bottom: 15.5%;
  right:28%;
}


.pos_roboautos {
  top: 74%;
  right: 2%;
}

.autoTheft-chart {
  position: absolute;
  z-index: 5;
  background-color: rgba(36, 39, 48, 0.5);
  border-radius: 20px;
  width: 160px;
  padding-left: 10px;
  padding-top: 10px;
  overflow: auto;
  overflow-x: hidden;
  color: #ffffff;
}

.autoTheft-chart ul{
  list-style:none;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.autoTheft-chart .textCenter{
  text-align: center;
}

.autoTheft-chart:hover{
  background-color: rgba(36, 39, 48, 1);
}
