/****** Estilos css generales ******/


@media (min-width: 768px) {
    .navbar-nav > li > a {
        padding: 12px;
    }

    .navbar-brand {
        padding: 12px 15px;
        height: 0;
    }
}


html, body {
    height: 100%;
    width: 100%;
    margin: 0px;
    font-size: 12px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Contenedor páginas angular */
.img-footer {
    height: 45px;
}

.container-fluid {
    max-width: 1200px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Ancho páginas login, recuperar contraseña, activacion, etc. */
.form-narrow {
    max-width: 490px;
    padding: 19px 29px 29px;
    margin: 0 auto 20px;
    background-color: #fff;
}

.height-pantalla-completa {
    height: calc(100% - 113px);
}

.height-pantalla-completa-mapa {
    height: calc(100% - 92px);
}

#visor {
    height: calc(100%);
}

/* Barra del menú */
.navbar-default {
    min-height: 20px;
    background-color: #008000;
    background-image: -moz-linear-gradient(top, #008000, #046704);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#008000), to(#046704));
    background-image: -webkit-linear-gradient(top, #008000, #046704);
    background-image: -o-linear-gradient(top, #008000, #046704);
    background-image: linear-gradient(to bottom, #008000, #046704);
    background-repeat: repeat-x;
    border-radius: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff008000', endColorstr='#ff046704', GradientType=0);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065);
}

.navbar-default .navbar-brand {
    color: #ED8404;
    font-size: 20px;
}

.navbar-default li {
    font-size: 14px;
}

.navbar-right li {
    font-size: 12px;
}

/* Toggle Styles */
#wrapper {
    padding-left: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    margin-top: -21px;
    height: 100%;
}

#wrapper.toggled #sidebar-wrapper {
    width: 340px;
}

#sidebar-wrapper {
    z-index: 1000;
    position: absolute;
    left: 340px;
    width: 0;
    height: 100%;
    margin-left: -340px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

#wrapper.toggled {
    padding-left: 340px;
}

#page-content-wrapper {
    width: 100%;
    height: calc(100%); /*-- Footer --*/
    position: absolute;
}

#wrapper.toggled #page-content-wrapper {
    margin-right: -320px;
}

.angular-google-map, .angular-google-map-container {
    height: 100%;
}

/* Tabs */


/* Sidebar Styles */
.sidebar-nav {
    top: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media ( min-width: 768px) {
    #wrapper {
        padding-left: 355px;
    }

    #wrapper.toggled {
        padding-left: 0;
    }

    #sidebar-wrapper {
        width: 355px;
    }

    #wrapper.toggled #sidebar-wrapper {
        width: 0;
    }

    #page-content-wrapper {
        position: relative;
    }

    #wrapper.toggled #page-content-wrapper {
        margin-right: 0;
    }

    .col-sm-1 {
        width: 6%;
    }
}

@media (max-width: 768px) {
    #page-content-wrapper {
        width: calc(100%);
    }

    #page-content-wrapper.toggled {
        width: calc(100% - 340px) !important;
    }
}

/* Margenes dentro de los paneles expandibles */
.panel {
    margin-bottom: 10px;
}

.panel-body .table {
    margin-bottom: 0px;
}

.panel-body {
    padding: 0px;
}

/* Panel para desplegar tipos de rutas y especies */
.panel h4.panel-title {
    font-size: 15px;
}

.panel h4.panel-title a {
    text-decoration: none;
}

td {
    vertical-align: middle !important;
}

#datos-explotacion td,
#datos-explotacion th {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#datos-explotacion th {
    width: 100px;
}

#datos-explotacion table {
    margin: 0px !important;
}

/* Colores */
.color-marcador {
    border: 1px solid #ccc;
}

.badge-green {
    background-color: #008000;
}


.asterisco-campo-requerido {
    color: red;
}

.filaTitulo {
    font-size: 23px;
    color: #2c3e50;
    margin-bottom: 10px;
    margin-top: 20px;
}

.botonEditar {
    margin-right: 12px;
}

.mr-0 {
    margin-right: 0;
}

.btn-info-ruta {
    margin-right: 2px;
    font-size: 11px !important;
}

.mr-1 {
    margin-right: 5px;
}

.ml-1 {
    margin-left: 5px;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-0 {
    margin-bottom: 0;
}

.m-b-20 {
    margin-bottom: 20px;
}

.m-t-20 {
    margin-top: 20px;
}

.elementoFormulario {
    padding: 2px 10px;
    height: 30px;
}

/* Botones */
.btn {
    border-width: 1px;
}

.btn:hover .glyphicon {
    color: #0C2032;
}

.btn:focus .glyphicon, .btn.focus .glyphicon {
    color: #2c3e50;
    text-decoration: none;
}


.btn-default {
    background-color: #008000;
    border-color: #008000;
}

.btn-success {
    background-color: #ed8404;
    border-color: #ed8404;
}

.sk-spinner-wave div {
    background-color: #008000;
}

.tam-datos-exp {
    width: 380px;
}

.modal-title {
    display: inline;
}

.dl-horizontal dt {
    margin-top: 12px;
}

dd .con-retraso {
    background-color: red;
    color: white;
    font-weight: bold;
    padding: 0px 2px;
}

dd .sin-retraso {
    color: #999;
}

.dl-horizontal dt {
    float: left;
    width: 86px;
    text-align: left;
}

.dl-horizontal dd {
    margin-left: 90px;
}

#mapaGeolocalizacion {
    height: 260px;
}

.jumbotron {
    margin-bottom: 0px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#modalPendientesGeolocalizar {
    overflow-y: scroll;
    height: 435px;
}

.tabset-menu .panel {
    border-top: 0 solid transparent;
}

#tabla-rutas td, #tabla-especies td, #tabla-select-categoria td, #tabla-select-tipo-rutas td, #tabla-select-plantas td {
    padding: 1px 0;
}

#tabla-rutas tr, #tabla-especies tr, #tabla-select-categoria tr, #tabla-select-tipo-rutas tr, #tabla-select-plantas tr {
    border-top: 1px solid #ddd;
}

#tabla-rutas tr, #tabla-especies tr {
    cursor: pointer;
}

.uib-datepicker-popup .btn {
    padding: 5px;
}

.text-info {
    color: #008000;
}

.text-info:hover {
    color: #18bc9c;

}

.marker {
    background-size: 20px 20px !important;
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

#marker1 {
    background: url(../img/markers/marker.png) left top;
}

#marker2 {
    background: url(../img/markers/marker2.png) left top;
}

#marker3 {
    background: url(../img/markers/marker3.png) left top;
}

#marker0 {
    background: url(../img/markers/marker4.png) left top;
}

div#mapa {
    position: absolute;
    width: 96%;
    z-index: 1;
    margin: 2%;
    border-color: white;
}

div .danger {
    font-weight: bold;
    padding: 0px 2px;
    display: inline;
    background-color: red;
}

.panel-visor > .panel-heading {
    color: #000000;
    background-color: #ffffff;
    border-color: #ffffff;
}

.hiddenRow {
    padding: 0 !important;
    border-top: 0px !important;
}

.no-margin {
    margin: 0px;
    overflow: auto;
}

.icono {
    padding-left: 17px !important;
}

.glyphicon-road, .glyphicon-edit {
    vertical-align: bottom;
    font-size: 15px;
}

.badge {
    padding: 3px;
    vertical-align: middle;
    border-radius: 13px;
    font-weight: normal;
    margin-left: 2px;
}

a {
    cursor: pointer;
}

.mr-icono-tabs {
    margin-right: 4px;
}

.m-spinner-traza {
    margin-right: 3px;
    margin-top: 1px;
}

a.colorIcono {
    color: #3498db;
}

a.color-icono-ordenado {
    color: #008000;
}

a.colorIcono:hover, a.colorIcono.seleccionado, a.color-icono-ordenado:hover, a.color-icono-ordenado.seleccionado {
    color: #DB3344;
}

.bloqueado {
    color: #DB3344 !important;
}

.table-button {
    padding: 1px !important;
}

.padding-left-5 {
    padding-left: 5px !important;
}

.pesoPrevisto {
    font-weight: bold;
    padding-top: 4px !important;
}

.ellipsis {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: -6px;
}

.overflow-direccion {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

#btn-distancias, #btn-centrar, #btn-geolocalizar {
    height: 100%;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
    cursor: pointer;
    float: left;
    text-align: center;
    color: #333;
}

#btn-distancias {
    padding: 4px 6px;
}

#btn-geolocalizar {
    margin-left: 10px;
}

#btn-distancias:hover, #btn-centrar:hover, #btn-geolocalizar:hover {
    background-color: #E6E6E6;
    border-color: #E6E6E6;
    color: #333;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #135613;
}

.panel-heading {
    padding: 5px 15px;
}

#btn-replanificar, #btn-aceptar {
    background-position: 10px 8px;
    border: none;
    cursor: pointer;
    height: 32px;
    padding-left: 20px;
    vertical-align: middle;
    padding-top: 5px;
}

.height-100 {
    /*height: 100%;
    width: 100%;*/
}

.overflow-y {
    position: absolute;
    height: calc(100% - 130px);
    overflow-y: auto;
}

.overflow-y-recogidas {
    position: absolute;
    overflow-y: auto;
}

#recogidas > tbody > tr > td {
    line-height: 1.1;
    font-size: 11.5px;
}

.pl-0 {
    padding-left: 0;
}

.pl-1 {
    padding-left: 5px;
}

.pr-0 {
    padding-right: 0;
}

.px-0 {
    padding-left: 0;
    padding-right: 0;
}

.pt-1 {
    padding-top: 10px;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.seleccionarFecha {
    margin-left: 10px;
    width: 205px;
}

.nav-tabs.nav-justified > li > a {
    padding: 4px 15px;
}

.panel-group {
    margin-bottom: 5px;
}

ul.listaDescargas li {
    margin: 10px 0px;
    font-size: 14px;
}

/*
    LEYENDA
 */

.leyenda {
    margin-left: 6px;
    padding: 5px;
    background-color: white;
    border: 1px solid;
    margin-bottom: 5px;
    /*bottom: 5px !important;
    z-index: 9999999 !important;*/
}

.leyenda .leyenda-titulo {
    text-align: left;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: bold;
}

.leyenda .leyenda-box ul {
    padding: 0;
    margin: 0;
}

.leyenda .leyenda-box ul li {
    line-height: 15px;
    margin-bottom: 2px;
    font-size: 14px;
    list-style: none;
}

.leyenda li img {
    margin-right: 5px;
    margin-bottom: 3px;
}

.cursor-move {
    cursor: move;
}

.text-center {
    text-align: center;
}

.container-ordenar-rutas {
    padding-left: 1px;
}

.btn-ordenar-rutas {
    padding: 2.5px 0;
}

.btn-small {
    font-size: 12px;
    padding-inline: 10px;
}

.btn-active, .btn-active:hover {
    color: #DB3344 !important;
}

.btn-glyphicon {
    font-size: 12px;
    top: 0;
}

.modal-recogidas {
    max-height: 340px;
    overflow-y: auto;
}

.modal-recogida-realizada {
    background-color: #effdef !important;
}

.modal-recogida-pendiente {
    background-color: #d8efff !important;
}

.modal-recogida-incidencia {
    background-color: #ffeedc !important;
}

.glyphicon-panel-rutas {
    vertical-align: bottom;
    font-size: 16px;
}

.marcador-distancia-recogida {
    margin-left: 5px;
}

.marcador-distancia-optima {
    color: #008000;
}

.marcador-distancia-mayor {
    color: #FF0000;
}

.modal-tooltip-observaciones {
    font-size: 15px;
}

.banner-error-global {
    height: 90px;
    padding-left: 8px;
    padding-right: 8px;
}

.table-recogidas {
    max-height: 649px;
    min-width: 405px;
}

@media (max-width: 992px) {
    .table-recogidas {
        max-height: 613px;
    }
}

.btn-primera-parada {
    background-color: #DB3344;
    color: white;
}
