/*

@media print{@page {size: landscape}}

@media print{@page {size: portrait}}

*/

/* botones menú izq. */
.leaflet-control-browser-print a {
    border-radius: 4px !important;
}

.leaflet-bar.easy-button-container.leaflet-control,
.geosearch.leaflet-bar.leaflet-control.leaflet-control-geosearch,
.leaflet-bar.leaflet-control,
.leaflet-control-browser-print.leaflet-bar.leaflet-control {
    margin: 0;
    margin-left: 5px;
    margin-top: 3px;
    direction: ltr;
}

.leaflet-control-geosearch .leaflet-bar-part,
.leaflet-control-draw-measure {
    border-radius: 4px !important;
    border-bottom: none !important;
}


/*  ---- Inicio Scroll ---- */

.leaflet-top,
.leaflet-bottom {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
}

.leaflet-top {
    z-index: 2000;
}

.leaflet-top.leaflet-left {
    overflow-y: auto;
    /*overflow-x: hidden;*/
    /* max-height: -webkit-fill-available; */
    /* bottom: 50px; */
    pointer-events: all;
    /*para poder mover el scroll*/
    direction: rtl;
}



/* Tamaño del scroll */
.leaflet-top.leaflet-left {
    scrollbar-width: thin;
}

.leaflet-top.leaflet-left::-webkit-scrollbar {
    width: 8px;
}

/* Estilos barra (thumb) de scroll */
.leaflet-top.leaflet-left::-webkit-scrollbar-thumb {
    background: #ccc;
    /* border-radius: 4px; */
}

.leaflet-top.leaflet-left::-webkit-scrollbar-thumb:active {
    background-color: #999999;
}

.leaflet-top.leaflet-left::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Estilos track de scroll */
.leaflet-top.leaflet-left::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}

.leaflet-top.leaflet-left::-webkit-scrollbar-track:hover,
.leaflet-top.leaflet-left::-webkit-scrollbar-track:active {
    background: #d4d4d4;
}

.leaflet-control-minimap.leaflet-container.leaflet-touch.leaflet-fade-anim.leaflet-grab.leaflet-touch-drag.leaflet-touch-zoom.leaflet-control {
    margin-left: 5px;
}

/*  ---- fin Scroll ---- */


/*
button {
    background-color: rgb(42, 105, 175);
    color: white;
}
*/

/* mientars se use lib/L.Control.Window.js  */
.promptButtons button {
    background-color: rgb(42, 105, 175);
    color: white;
}

/* ---------------------------------------- */

.tituloAmbito {
    font-family: 'Roboto';
    font-size: 12pt;
    font-weight: bold;
}

.optAmbito {
    margin-left: -10px;
}

.winLogin1 {
    background-color: white !important;
    /* border-radius: 20px; */
    margin-top: -30px;
}

.gridCell {
    padding: .2em !important;
    font-size: small !important;
}

#enc {
    height: 25px;
    width: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    /*font-family: "Open Sans", Frutiger, Calibri, "Myriad Pro", Myriad, sans-serif;*/
    font-family: 'Roboto';
}

#mapas {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 100%;
}

#map1 {
    float: left;
    position: relative;
    height: 100%;
    width: 100%;
}

#map2 {
    float: right;
    position: relative;
}

#map3 {
    float: left;
    position: relative;
}

#map4 {
    float: right;
    position: relative;
}

.leaflet-control-layers {
    margin-bottom: 30px
}

.fsmall {
    font-size: small;
}

.tablawin {
    margin-left: 23px;
    margin-right: 20px;
    line-height: normal;
}

.tablawin label {
    margin-right: 10px;
    font-size: small;
}

table.tablawin p {
    margin: 0px;
}


.tablawin input {
    width: 60px;
}

.tablawin select {
    width: 175px;
}

.inforuta {
    cursor: crosshair;
}

h2.title {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;

}

.info {
    padding: 4px;
    /* font: 10px Arial, Helvetica, sans-serif; */
    font-size: small !important;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    /* border-radius: 5px; */
}

.info h4 {
    margin: 0 0 5px;
    color: 'black';
}

.legend {
    text-align: left;
    line-height: 12px;
    color: #555;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 0.7;
}


.tablawin .labelBox {
    border: 1px solid #ccc;
    padding-left: 5px;
    margin-right: 10px;
}

.tablawin .largo {
    width: 150px;
}

.tablawin .corto {
    width: 60px;
}

.tablawin .corto2 {
    width: 80px;
}

.tablawin .muycorto {
    width: 25px;
    margin-right: 1px;
}

/* tabs */
.nav-tabs .nav-link.active {
    background-color: #ededed;
}

.tab-pane {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0px 0px 5px 5px;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: 0;
}

/* tabs viejo */

.tabs-menu {
    height: 30px;
    /*    float: left;
        clear: both;*/
    list-style-type: none;
}


.tabs-menu1 {
    height: 30px;
    /*    float: left;
        clear: both;*/
    list-style-type: none;
}


.tabs-menu li {
    height: 30px;
    line-height: 30px;
    float: left;
    margin-right: 1px;
    background-color: #ccc;
    border-top: 1px solid #d4d4d1;
    border-right: 1px solid #d4d4d1;
    border-left: 1px solid #d4d4d1;
}


.tabs-menu1 li {
    height: 30px;
    line-height: 30px;
    float: left;
    margin-right: 1px;
    background-color: #ccc;
    border-top: 1px solid #d4d4d1;
    border-right: 1px solid #d4d4d1;
    border-left: 1px solid #d4d4d1;
}

.tabs-menu li.current {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #fff;
    z-index: 5;
}

.tabs-menu1 li.current {
    position: relative;
    background-color: #fff;
    border-bottom: 1px solid #fff;
    z-index: 5;
}

.tabs-menu li a {
    padding: 10px;
    /*text-transform: uppercase;*/
    color: #fff;
    text-decoration: none;
}


.tabs-menu1 li a {
    padding: 10px;
    /*text-transform: uppercase;*/
    color: #fff;
    text-decoration: none;
}

.tabs-menu .current a {
    color: #2e7da3;
}


.tabs-menu1 .current a {
    color: #2e7da3;
}

.tab {
    border: 1px solid #d4d4d1;
    background-color: #fff;
    float: left;
    width: auto;
}

.tab-contentEx {
    width: 550px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: none;
    justify-content: center;
}

.tab-content1 {
    width: 550px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: none;
    justify-content: center;
}

.tabcd {
    width: 340px;
    padding: 15px;
    display: none;
    justify-content: center;
}

/* Fin tab viejo -------------------------- */

.oculto {
    display: none;
}


#header .logo {
    background-image: url(https://nube.vialidad.gob.ar/owncloud/themes/example/core/img/LOGO250.png);
    /* width: 200px; */
    /* height: 97px; */
    background-repeat: no-repeat;
}

.hidden {
    display: none;
}


.control-window.login {
    border-radius: 7px;
}

.txtlogin {
    margin-bottom: 0;
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
    /* border-radius: 5px; */
    font-size: 20px;
    margin: 5px;
    padding: 11px 10px 9px;
    width: 223px !important;
    padding-left: 36px !important;
    box-sizing: content-box;
    background: #fff;
    color: #555;
    cursor: text;
    font-family: "Open Sans", Frutiger, Calibri, "Myriad Pro", Myriad, sans-serif;
    outline: none;
    padding-bottom: 9px;
    padding-left: 36px;
    padding-right: 10px;
    padding-top: 11px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}

.icousr {
    position: absolute;
    left: 25px;
    top: 35px;
    opacity: .3;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    cursor: default;
    text-align: left;
    color: #000;
    background: #ccc;
    background-color: transparent;

}

.icopass {
    position: absolute;
    left: 25px;
    top: 20px;
    opacity: .3;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    cursor: default;
    text-align: left;
    color: #000;
    background: #ccc;
    background-color: transparent;

}

.icoverpass {
    position: absolute;
    right: 25px;
    top: 20px;
    opacity: .3;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    cursor: default;
    text-align: left;
    color: #000;
    background: #ccc;
    background-color: transparent;

}

.icousr2 {
    position: absolute;
    left: 136px;
    top: 22px;
    opacity: .3;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    cursor: default;
    text-align: left;
    color: #000;
    background: #ccc;
    background-color: transparent;

}

.grouptop,
.groupbottom {
    position: relative;
    color: black;
}

#login fieldset,
#cambiarClave fieldset {
    margin-bottom: 20px;
    text-align: left;
    border-style: none;
}

#btnIngresar {
    color: rgb(11, 136, 182);
    background-color: white;
    border-color: rgb(11, 136, 182);
    border-width: 2px;
    border-style: solid;
    height: 54px;
    width: 150px;
    border-radius: 50px;
    position: fixed;
    top: 242px;
    /* 455px; */
    right: 40px;
}

#btnIngresarEx:hover {
    background-color: rgb(42, 105, 174);
}

#agreedisclaimerDiv a {
    text-decoration: underline;
}

.login h2.title {
    display: none;
}


.btnbar {
    font-size: large;
    line-height: 1.6em;
}

.btnon {
    color: #000000;
}

.btnoff {
    color: #4F8EF7;
}


.tabctrl ul.tabs {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.tabctrl ul.tabs li {
    background: none;
    color: #222;
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
}

.tabctrl ul.tabs li.current {
    background: #ededed;
    color: #222;
}

.tabctrl .tab-content2 {
    display: none;
    /*    background: #ededed;  */
    padding: 5px;
    /*width:auto;*/
}

.tabctrl .tab-content2.current {
    display: inherit;
}


::placeholder {
    /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: rgb(139, 139, 139);
    opacity: 1;
    /* Firefox */
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: rgb(139, 139, 139);
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: rgb(139, 139, 139);
}


.error {
    color: red
}

.grupoinfo {
    font-style: italic;
}


tr.highlight td.jsgrid-cell {
    background-color: #0080005e;
}

.leaflet-top .leaflet-control {
    margin-top: 3px;
}

.ui-datepicker {
    z-index: 9999 !important;
}


td input {
    font-family: 'Roboto' !important;
    font-size: small !important;
}

/*
.tituloPeriodo {   
    font-size:10px;
}
*/

.btn-vial {
    font-size: 12px;
    padding: 2px 10px;
    border: 3px solid transparent;
    font-weight: 600 !important;
    text-transform: inherit;
    vertical-align: top;
    white-space: normal;
    word-break: initial;
    text-decoration: none;
    letter-spacing: inherit;
    border-radius: 30px;
    line-height: 1.42857143;
    background-color: #0072bb;
    color: #fff;
    display: inline-block;
    text-align: center;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    user-select: none;
    font-family: inherit;
    overflow: visible;
    margin: 0;
    text-rendering: auto;
    word-spacing: normal;
    text-indent: 0px;
    text-shadow: none;
    align-items: flex-start;
}

.poncho.tabctrl ul.tabs li.current {
    background: #0072bb;
    color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
}

.poncho li {
    font-size: 16px;
    line-height: 24px
}

.poncho {
    font-family: "Encode Sans", Arial, sans-serif;
    font-weight: 500;
}

.leaflet-container .leaflet-control-attribution {
    font-size: 8px;
}

.leaflet-contextmenu-item-negrita {
    font-weight: 700;
    opacity: 1 !important;
    color: green !important;
}


/* al agregarle scroll al toolbar se oculto el form del geobuscador, por lo tanto lo siguiente:  */
/*
.leaflet-control-geosearch.active form {
  display: contents !important;
}

.leaflet-control-geosearch form {
		postion: fixed !important;
}

.leaflet-control-geosearch form input {
	position: fixed !important;
	min-width: 200px !important;
	width: unset !important;
    left: 50px !important;
}

.leaflet-control-geosearch a.reset {
	left: 220px !important;
    position: fixed !important;	
	top: unset !important;
}

.leaflet-control-geosearch .results.active {
	left: 35px;
    top: 30px;
    position: relative;
}
*/

/* evitar "cursor: pointer" en las capas KMZLayer */
/*
canvas.leaflet-interactive {
    cursor: -webkit-grab;
    cursor: -moz-grab;
}
*/
canvas.leaflet-interactive {
    cursor: crosshair;
}

canvas.leaflet-interactive.inforuta {
    cursor: crosshair;
}


/* windows leaflet */
.leaflet-control-window input {
    box-sizing: content-box;
}

.leaflet-control-window .tab,
.leaflet-control-window .tab-contentEx,
.leaflet-control-window .tablawin {
    box-sizing: content-box;
}



.leaflet-control-window .title {
    font-size: 1.5em;
    font-weight: bold;
    margin: revert;
}

.leaflet-control-window .close {
    text-decoration-line: none;
}

.leaflet-control-window .container {
    padding: 0;
    width: unset;
}

.leaflet-control-window input {
    line-height: normal;
    font-size: revert;
}

.leaflet-control-window select {
    font-size: revert;
}

.leaflet-control-window table {
    border-collapse: separate;
}

.leaflet-control-window button {
    line-height: normal;
}

.leaflet-control-window input[type="radio" i] {
    margin: 3px 3px 0px 5px;
}



/* grilla */
th.jsgrid-header-cell {
    text-align: revert;
}

.jsgrid-pager {
    font-size: small
}

/* */

.tituloLegend {
    display: block;
    max-width: 300px;
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
}


.tooltip {
    z-index: 100000000 !important;
    pointer-events: none;
}

/* multiselect  */
/*
.ms-parent.form-control {
    padding: 0;
}

.ms-parent.form-control .ms-choice {
    height: 100%;
    border: 0;
}

.ms-parent.form-control .ms-choice>span {
    top: 50%;
    transform: translateY(-50%);
}
*/


/* combo multiselect */
/*
.control-window .ms-drop input[type='checkbox'] {
    width: 60px;
}
.ms-drop {
    width: 330px;
}
*/
.leaflet-control-window .ms-choice {
    line-height: 26px;
}

.ms-choice {
    font-weight: normal !important;
    font-size: 14px !important;
    border: 1px solid #aaa !important;
    margin-left: 0px !important;

}



/* Menú Layer  */
.leaflet-panel-layers label {
    margin-bottom: 0;
    /* bootstrap 4 compatibilidad */
}

.leaflet-panel-layers-overlays {
    padding-bottom: 10px;
}

.leaflet-panel-layers-title {
    padding-left: 2px;
}


/*   */
.leaflet-control-attribution {
    display: none;
}


@media (max-width: 768px) {

    h2 {
        font-size: 1em;
    }
}

/* pequeña referencia para indicar de que año son los datos de IE, IS, etc */
.reference-text {
    font-size: 10px;
    /* Texto pequeño */
    color: #6c757d;
    /* Color tenue */
    font-style: italic;
    /* Opcional: estilo cursivo */
    margin-top: 2px;
    /* Espaciado pequeño respecto al campo */
}



/* pie y paneles */
#mapas {
    display: grid;
    width: 100%;
    height: 100%;
}

/* Layout para 1 div: ocupa toda la pantalla */
.vermapas-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

/* Layout para 2 divs: 1 fila, 2 columnas (50% cada uno) */
.vermapas-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

/* Layout para 3 divs: 1 fila, 3 columnas (33.33% cada uno) */
.vermapas-3 {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
}

/* Layout para 4 divs: 2 filas y 2 columnas (50% cada celda) */
.vermapas-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}


#paneles {
    position: absolute;
    top: 0;
    bottom: 7%;
    width: 100%;
}

#paneles-pie {
    height: 7%;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgb(1, 144, 210);
}

#pie-fondo {
    position: fixed;
    left: 0;
    z-index: -1;
    height: 7%;
    width: 100%;
}

#pie-izq {
    position: fixed;
    left: 0;
    z-index: 1;
    height: 7%;
    max-width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#pie-derecha {
    position: fixed;
    right: 0;
    z-index: 1;
    height: 7%;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#vialidad_logo {
    max-height: 110%;
    padding-right: 12%;
    min-width: 0;
}

@media (max-width: 768px) {

    #paneles {
        bottom: 5%;
    }

    #paneles-pie {
        height: 5%;
    }

    #pie-fondo {
        height: 5%;
    }

    #pie-izq {
        height: 5%;
    }

    #pie-derecha {
        height: 5%;
    }

    #vialidad_logo {
        padding-right: 7%;
    }

    #btnDividirPantalla {
        display: none;
    }
}

/* Menú año */
.leaflet-panel-layers-titlePrincipal {
    padding: 0;
    margin-bottom: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    /* min-width: 306px; */
}

.selectAno {
    display: flex;
    align-items: center;
    height: 32px;
}

.ordenCapa {
    float: left;
    padding-right: 6px;
    padding-left: 6px;
    /* color: lightseagreen; */
    border: solid rgba(0, 0, 0, 0.2);
    border-left: 0;
    border-top: 0;
    border-bottom: 0;
    border-width: thin;
    padding-top: 3px;
    padding-bottom: 3px;
    content: url('/images/capas.svg');
    height: 26px;
}

.cboAno {
    padding: 7px;
    border-width: 0;
    margin-right: 3px;
}

.btnDescarga {
    background: #1580ff;
    color: #fff;
    float: right;
    display: flex;
    align-items: center;
    height: 32px;
    width: 100%;
}

.imgDescarga {
    width: 24px;
    margin-left: 6px;
    margin-right: 6px;
    content: url('/images/descargar.svg');
}

.verMenuLayer {
    width: 24px;
    height: 24px;
    transform: rotate(0deg);
    float: right;
    margin-left: 4px;
    margin-right: 4px;
    content: url('/images/Subir menu.svg');
}

.btnFiltro {
    margin: 4px 8px 4px 6px;
    width: 12px;
    content: url('/images/embudo-filtro.svg');
}

.btnBuscar {
    margin: 4px 8px 4px 0px;
    width: 12px;
    content: url('/images/mini_busqueda.svg');
}

.btnEdit {
    margin: 4px 8px 4px 6px;
    width: 12px;
    content: url('/images/edit.png');
}

.btnMasCU {
    margin: 4px 8px 4px 8px;
    width: 12px;
}


/* cascadeButtons */

.leaflet-control-cascadeButtons {
    margin-left: 2px !important;
    margin-top: 0px !important;
}

.leaflet-control-cascadeButtons button {
    border: 2px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    width: 34px;
    height: 34px;
    margin-top: 3px;
    margin-bottom: 0px;
}

/* saco la posibilidad de selección para evitar selección acidental, pero lo permito en las grillas */
body {
    user-select: none;
}

.jsgrid {
    user-select: text;
}

/*  */
[src="images/excel.svg"]  {
    cursor: pointer;
    /* (Opcional) Puedes añadir una transición para un efecto más suave al pasar el mouse */
    transition: opacity 0.3s; 
}

[src="images/excel.svg"]:hover {
    /* (Opcional) Un pequeño cambio al pasar el mouse para reforzar que es interactivo */
    opacity: 0.7; 
}


