/* ----- global styles -----*/

html, body, .site-wrapper {
  height: 100%;
}

h1 {  
  color: #2196F3;
  font-size: 2.2em;
  font-family: 'Montserrat', sans-serif;
  margin: 40px 0 10px 0;

}
h2, h4 {  
  color:  #2196F3;
  font-size: 2em;
  font-family: 'Montserrat', sans-serif;
  margin: 20px 0 10px 0;

}
h4 {font-size: 1.4em;}

h3, h5 {  
  color:  #7A868C;
  font-size: 1.2em;
  font-family: 'Montserrat', sans-serif;
  margin: 10px 0 23px 0;
}
p {
  font: 1em 'Roboto', sans-serif;
  color: #333;
}
button, input, optgroup, select, textarea {
  font: inherit;
  margin: 0;
  font-family: "Roboto", sans-serif;

}
.blanco {
  color: white;
}

.alert h1, .alert h2, .alert h3 {
    color: inherit;
}
.alert-danger {
  margin: 0;
  background-color: #d9534f;
  border-radius: 0px;
  color: #FFF;
}

.panel-default {
  border: 1px solid #e9e9e9;
  margin-bottom: 12px;
}
.panel-default>.panel-footer {
  background-color: #eceff1;
  border-top: 1px solid #e9e9e9;
}
.panel-default>.panel-heading {
  background-color: #eceff1;
  border-bottom: 1px solid #e9e9e9;
}
.panel-default>.panel-body {
  padding: 0;
  position: relative;
}
.panel h3 {
  margin: 0;
}
.panel-heading h3 {
  cursor: pointer;
  color: #2196F3;
}
.btn-primary.btn.disabled, .btn-primary.btn[disabled] {
  background-color: #7a868c;
}
/* --- branding ---*/  

#top {
  height: auto;
  width: 100%;
  margin-bottom: 0px;	
  color: #101010;
  background: rgba(255,255,255,1);
  font:  1.8em 'Montserrat', sans-serif;
  padding: 12px 0 3px 12px;
  line-height: 28px;
}
#top span {
  color: #7a868c;
  font-size: 60%;
  /*display: block;*/
}
.borders {
  border-bottom: 1px solid rgb(230,230,230);
}
#logo {
  width: 250px;
  height: 60px;
  float: right;
  margin-top: -10px;
  /*position: absolute;
  right: 0;
  top:0;*/
  display: block;  
  cursor: pointer;
}
.alert {
  font-family: Montserrat, sans-serif;
}

/* --- componentes mapa --- */

#map {
  /*height: 93.3%;*/
  height: 100%;
  width: 100%;
  margin: 0;
  /*position: relative;*/
}
.info {
 font: 12px/14px 'Montserrat', Helvetica, sans-serif;
 /*background: #2F3641;
 box-shadow: 0 0 15px rgba(0,0,0,0.2);*/
 border-radius: 0px;
 padding: 0
}
.legend {
    line-height: 18px;
    color: #fff;
    margin: 0;
    cursor: move;
}
.legend > i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.legend .titulo-capa {
  padding-right: 10px;
  max-width: 250px;
}
.legend .cerrar-leyenda {
  cursor: pointer;
  padding: 2px;
  font-size: 16px;
  position: absolute;
  top: 7px;
  right: 7px;
}


/* --- creditos --- */ 

dl {
  font-family: "Montserrat", sans-serif;
}
.dl-vertical dt {color:  #2196F3;}

/* --- ayuda --- */ 

.dl-horizontal dt, .dl-horizontal dd {
padding: 5px;
line-height: 20px;
}

/* Slider ui control */

#slider-timestamp  {
  color: #333; 
  text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
  font:  120% 'Roboto', sans-serif;
}
.ui-slider-handle.ui-state-default.ui-corner-all  {
  background: #ccc;
  border-radius: 50%;
}
.ui-slider-range.ui-widget-header.ui-slider-range-min {
  background: #fff;
  border-radius: 4px;
}
.ui-slider.ui-slider-horizontal.ui-widget.ui-widget-content.ui-corner-all  {
  background: #bbb;
}

/*--- Slider HTML5 ---*/

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 4.5px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  box-shadow: 0px 0px 2.5px rgba(0, 0, 0, 0.3), 0px 0px 0px rgba(13, 13, 13, 0.3);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25px;
  border: 0.5px solid rgba(0, 0, 0, 0);
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #2196f3;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -5px;
}
input[type=range]:disabled::-webkit-slider-thumb {
  background: #ccc;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: rgba(255, 255, 255, 0.98);
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  box-shadow: 0px 0px 2.5px rgba(0, 0, 0, 0.3), 0px 0px 0px rgba(13, 13, 13, 0.3);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25px;
  border: 0.5px solid rgba(0, 0, 0, 0);
}
input[type=range]::-moz-range-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #2196f3;
  cursor: pointer;
}
input[type=range]:disabled::-moz-range-thumb {
  background: #ccc;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: rgba(242, 242, 242, 0.98);
  border: 0.5px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  box-shadow: 0px 0px 2.5px rgba(0, 0, 0, 0.3), 0px 0px 0px rgba(13, 13, 13, 0.3);
}
input[type=range]::-ms-fill-upper {
  background: rgba(255, 255, 255, 0.98);
  border: 0.5px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  box-shadow: 0px 0px 2.5px rgba(0, 0, 0, 0.3), 0px 0px 0px rgba(13, 13, 13, 0.3);
}
input[type=range]::-ms-thumb {
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 15px;
  width: 15px;
  border-radius: 15px;
  background: #2196f3;
  cursor: pointer;
  height: 6px;
}
input[type=range]:disabled::-ms-thumb {
  background: #ccc;
}
input[type=range]:focus::-ms-fill-lower {
  background: rgba(255, 255, 255, 0.98);
}
input[type=range]:focus::-ms-fill-upper {
  background: rgba(255, 255, 255, 0.98);
}


/* --- misc --- */
.menuicono{
  font-size: 22px;
}

/*
a.menuicono, a.menuicono:visited {
  color: #2196F3;
  font-size: 22px;
}

a.menuicono:hover {
  color: #0A68B4;
}

a.menuicono + a.menuicono {
  left:  130px;
}

a.menuicono + a.menuicono + a.menuicono {
  left:  180px;
}

.resultado-grafico .menuicono {
  position: absolute;
  right: 15px;
  top: 495px;
  z-index: 99999;
}*/

#dialog-wms input {
  width: 100%
}

#loading {
  margin: 0;
  top: 40%;
  margin-left: 25%;
  position: relative;
}

.loading {
  color:  #0A68B4;
  margin: 20%;
}

.loading-mini {
  color:  #0A68B4;
}

#loading-mini{
  margin:0;
  text-align: center;
  position: relative;
}

#chartdiv01 {
  width: 100%;
  min-height: 400px;  
  max-height: 70%; 
  margin: 0 auto;
  padding:0;
}
.alert-aviso {
  background-color: #eaeaea;
  margin-top: 20px;
}
.alert-blue {
  background-color: #0A68B4;
  margin-bottom: 0;
}
button.activo, button.activo:active, button.activo:focus{
  color:  #2196F3;
}
/* ---- lista de visores ----*/
.listados ul {
  list-style-type: none;
  font:  1.4em "Roboto", sans-serif;
  padding-left: 0;
  line-height: 1em;
}
.listados li {
  margin: 0;
  /*border-left: 4px solid #2196F3;*/
}
.listados li a {
  text-decoration: none;
  padding: 0 0 20px 20px;
  display: block; 
}
.listados li:last-child a {
  padding: 0 0 0 20px;
}
.listados li:hover {
  border-left: 4px solid #0A68B4;
}
.listados ul small {
  font-size: 0.8em;
  color: #7A94B4;
}

/* --- leaflet overrides ---*/
.leaflet-control-layers {
  border-radius: 3px;
  box-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
a.sidebarClose.justmobile {
  background-color: #0A68B4;
  font-size: 17px;
  position: absolute;
  right: 15px;
  bottom: 15px;
  z-index: 999999;
  text-decoration: none;
  opacity: 1;
  padding: 10px 16px;
}
.leaflet-bar a:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}
.leaflet-bar a:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.leaflet-control-coordinates, .leaflet-control-measure {
  border-radius: 2px;
}
.leaflet-control-coordinates {
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  background: white;
  padding: 5px 0;
}
.leaflet-control-coordinates .label {color: #111; font-size: 100%;font-weight: normal}

.inputX, .inputY {
  width: 55px;
  color: #2196F3;
  margin-right: 10px;
}

/*
.leaflet-google-layer{
 z-index: 0;
}
.leaflet-map-pane{
 z-index: 100;
}
*/
.leaflet-control-scale-line {
  border-color: #454E59;
  background: transparent;
  border-width: 1px;
}
#sidebar {
  color: #000;
  background: #f2f6f9;
  padding: 15px;
  box-shadow: 10px 0px 10px -10px rgba(0,0,0,0.75);
}
.leaflet-control-layers-expanded {
  min-width: 200px;
}
.leaflet-control-layers label {
  font: normal 120% 'Roboto', sans-serif;
}

.leaflet-control.leaflet-control-geosearch {
  margin-top: 0;
  margin-left: 0;
}
.leaflet-marker-icon {
  cursor: pointer;
}
.leaflet-left .leaflet-control-scale {
  margin-left: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
.leaflet-control-layers-toggle {
    background-image: none !important;
    color: #222; 
    text-align: center;  
    height: 50px;
    width: 50px;
    font-family: 'FontAwesome';
    font-size: 32px;
    border-radius: 3px;
}
.leaflet-control-layers-toggle:before {
    content: "\f278";
}
.leaflet-control-zoom-fullscreen {
    background-image: none !important;
    color: #222; 
    text-align: center;  
    font-family: 'FontAwesome';
    font-size: 15px;
}
.leaflet-control-zoom-fullscreen:before {
    content: "\f0b2";
}

/* --- nuevos ---*/
.btn-circle {
  width: 36px;
  height: 36px;
  text-align: center;
  padding: 6px 0;
  font-size: 17px;
  line-height: 1;
  border-radius: 18px;
}
.botonera {
  margin-bottom: 10px;
}
.botonera-capa {
overflow: hidden;
}
.botonera-capa.panel {
  padding-top: 8px;
  /*padding-bottom: 8px;*/
  padding: 0;
  /*margin-bottom: 12px;*/
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3);
}
.btn-capa {
font-size: 20px;
cursor: pointer;
margin-left: 3px;
}
input.entrada, input.capaWMS, input.punteroWMS {
    padding:10px;
    margin: 5px 20px 10px 20px;
    font-family: "FontAwesome", "Roboto", sans-serif;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}
.WMSexterno {
  margin-bottom: 5px;
}
ul.list-wms {
  max-height: 250px;
  overflow: auto;
  border-top: 1px solid #b0bec5;
  border-bottom: 1px solid #b0bec5;
  margin-bottom: 0;
}
ul.list-wms .list-group-item {
 border-left: none;
 border-right: none;
 background-color: #cfd8dc;
 font-family: "Roboto", sans-serif;
 color: #222;
 cursor: pointer;
  border-top: 1px solid #b0bec5;
}

ul.list-wms .list-group-item:first-child {
  border-top: none;
  box-shadow: inset 0px 7px 28px -15px rgba(0,0,0,0.75);
}
ul.list-wms .list-group-item:last-child {
  border-bottom: none;
  box-shadow: inset 0px -7px 28px -15px rgba(0,0,0,0.75);
}
ul.list-wms .list-group-item:hover {
  color: #fff;
  background-color: #90a4ae;
}
ul.list-wms .list-group-item.active {
  color: #ffffff;
  background-color: #2196f3;
}
option.filtrado {
  display:none;
}
datalist#tags option {
  font:  1.4em "Roboto", sans-serif;
}
.form-control.sel-wms {
  width: 100%;

}
.sel-wms:disabled {
  cursor: text;
  background-image: none;
  font-weight: bold;
}
.botones-control-capas {
  /*padding: 10px 4px 2px 0;*/
}
.btn-circle.btn-lg {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  line-height: 1.33;
  border-radius: 25px;
}
.capas {
  background-color: #ffffff;
  z-index: 5;
  width: 100%;
}
.selector-efectos {
  background-color: #ffffff;
  z-index: 3;
  width: 100%; 
  padding: 10px 15px 15px 15px;
}
.selector-efectos label {
font-family: 'Montserrat', sans-serif;
color: #555;
text-transform: uppercase;
margin-top: 0px;
margin-bottom: 5px;
font-size: 13.2px;
}
.selector-efectos .row {
margin-top: 10px;
}
select.efecto {
  padding: 0;
  margin-top: -5px;
}
select.efecto, select.efecto  option {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}
.select-control-capas {
  padding: 10px 20px 10px 20px;  
  /*border-bottom: 2px solid #f2f6f9;*/
}
.legend {
  background-color: #fff;
  opacity: 0.8;
  color: #000;
  padding: 8px 16px 8px 8px;
  border-radius: 3px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  max-height: 172px;
  overflow-y: auto;
  overflow-x: hidden;
}
.btn-plain {
  background-color: #fff;
  border:  1px solid #f9f9f9;
  font-size: 24px;
  padding: 4px 10px
}
.btn-plain:hover {
  border: 1px solid #e9e9e9;
}
.btn1-group {
  margin-bottom: 10px;
}
/* get feature info */

.resultados-getinfo {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  padding: 0 5px
}
.panel-gfi {
  padding-left: 0;
}
.panel-gfi dl {
  color: #000;
  font-size:12px;
  font-weight: normal;
  line-height: 5px;
  margin-bottom: 0;
}
.panel-gfi dl dt, .panel-gfi dl dd {
  line-height: 15px;
  padding:1px;
}
.panel-gfi dl dt {
  width: 49%;
  white-space: normal;
}
.panel-gfi dl dd {
  margin-left: 51%;
}
.panel-gfi .panel-heading{
  background-color: #2196F3;
  color: #FFF;
  font-family: 'Roboto', sans-serif;
}
/*
#snapshot {
  position:absolute;
  bottom:30px;left:10px;
  width:300px;
  height: 200px;
  background-color: #eaeaea;
  border: 3px solid #2196F3;
  z-index: 99999;
}
#snapshot img {
  width: 100%;
  height: 100%;
}
*/
#snap {
  position:absolute;
  top:140px;
  right:10px;
  z-index:1000;
  font-size: 24px;
  padding: 12px;
}
a.alert-close {
  font-size: 17px;
  text-decoration: none;
}
option span.small {
  color: grey;
  font-size: 12px;
}

/* la tabla */
table#tabla-grafico {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  background-color: #ffffff;
}
.card-view:nth-child(5) .title {  color: #0a71b4;}
.card-view:nth-child(3) .title {  color: #182763;}
.card-view:nth-child(2) .title {  color: #b4007c;}
.card-view:nth-child(4) .title {  color: #f29400;}

/* The switch */
.switch {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 34px;
}
.switch input {display:none;}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:hover:before {
  background-color: #90CAF9;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: -3px;
  top: -2px;
  background-color: #f0f0f0;
  box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:active:before { transform: scale(1.15, 0.85); }
input:checked + .slider { background-color: #90CAF9; }
input:focus + .slider { box-shadow: 0 0 1px  rgba(0,0,0,0.2); }
input:checked + .slider:before {
  -webkit-transform: translateY(17px);
  -ms-transform: translateY(17px);
  transform: translateY(17px);
  background: #2196F3;
}
.slider.round { border-radius: 20px; }
.slider.round:before { border-radius: 50%; }

input:disabled + .slider { background-color: #eaeaea; }
input:disabled + .slider:before { box-shadow: 0px 1px 4px rgba(0,0,0,0.2); }
input:disabled + .slider:hover:before { background-color: #f0f0f0; }
/* Tooltip */
.tooltip {
  position: fixed;
}
.tooltip > .tooltip-inner {
  font-size: 14px;
  line-height: 20px;
}
/* */
.labs {
  position:absolute;
  top:140px;
  right:10px;
  z-index:1000;
  padding: 10px;
  color: #FFF;
  background-color: #222;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
   border-radius: 50%;
}
.ejestematicos {
  margin: 0 0 5px 15px;
  padding: 0 0 0 15px;
}
.checkbox-circle label {
    font-family: 'Montserrat', sans-serif;
    color: #555;
    max-width: 100%;
    width: 100%;
}
li.agroindustria:before {
   font-family: FontAwesome;
   padding-right: 8px;
   color: #337ab7;
   content: "\f111";
}
li.informacion-censal:before {
   font-family: FontAwesome;
   padding-right: 8px;
   color: #5bc0de;
   content: "\f111";
}
li.analisis-territorial:before {
   font-family: FontAwesome;
   padding-right: 8px;
   color: #5cb85c;
   content: "\f111";
}
li.informacion-geografica-basica:before {
   font-family: FontAwesome;
   padding-right: 8px;
   color: #f0ad4e;
   content: "\f111";
}
li.produccion-y-mercados:before {
   font-family: FontAwesome;
   padding-right: 8px;
   color: #d9534f;
   content: "\f111";
}
.panel-heading h3:before {
   font-family: FontAwesome;
   padding-right: 10px;
   content: "\f142";
}
h3.no-clickeable {
  color:  #7A868C;
  cursor:not-allowed;
}
h3.no-clickeable:before {
   font-family: FontAwesome;
   padding-right: 10px;
   content: "\f276";
}
.container-fixed {
  margin: 0 auto;
  width: 376px;
}
/* ------- mobile -------*/
@media (min-width: 800px) {
  #top {
    background: rgba(255,255,255,1) url("magyp.png") no-repeat right bottom;
    font-size: 2.2em;
    height: 65px;
    line-height: 35px;
  }
  .justmobile {
    display: none;
  }
}
@media screen and (max-width: 600px){
  #top {
    padding: 5px 0 0 10px;
    background-color: #0A68B4;
    color: white;
   overflow: hidden;
   /*  z-index: 999;*/
  }
  #top span {
    display: none;    
    color: #2196F3;
    clear: both;
    white-space: nowrap;
  }
  #logo {
    display: none;
  }
  .botones-control-capas {
    float: left;
  }
  .nomobile {
    display: none;
  }
  #chartdiv01 {
    min-height: 300px;  
    max-height: 70%; 
  }
  .btn-plain {
  background-color: #0A68B4;
  border: none;
}

}