﻿:root {
    --tipusLletra: Roboto;
    --tamanyLletra: 11;
    --ampladaViatge: 150;
    --alcadaViatge: 70;
    --marge: 4;
    --alcadaFiltres: 40;
    /* 
        Neteja: #92b88f
        Fustes: #736153
        Reparto: #DEDEDE
    */
    --colorPrincipal: #DA0000;
    /* 
        Neteja: #26711f
        Fustes: #212529
        Reparto: #DA0000
    */
    --colorSecundari: #DA0000;
}

* {
    -webkit-box-sizing: unset !important;
}

html {
    font-family: var(--tipusLletra) !important;
    font-size: calc(var(--tamanyLletra) * 1px) !important;
    margin: 0px;
    padding: 0px;
}

.copyright {
    bottom: 0;
    height: 60px;
    position: absolute;
    width: 100%;
    text-align: center;
    margin-left: -15px;
}

.copyright a {
    color: white;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-family: var(--tipusLletra) !important;
    font-size: calc(var(--tamanyLletra) * 1px) !important;
    
}
tr, td, table {
    line-height: 1 !important;
    border: none !important;
}

.blocRuta, .blocOperari {
    border-top: 1.5px solid black !important;
}
.botoPrincipal {
    height: 0px !important;
}

.blocRutaViatge:hover, .blocOperari:hover {
    background-color: lightgrey;
    cursor: pointer;
}
    /* Ocultar boto de tancar a infowindo de maps*/
.gm-style-iw + div {
    display: none;
}

.gm-style-iw {
    width: 150px !important;
    height: 62px !important;
    top: 15px !important;
    left: 0 !important;
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(178, 178, 178, 0.6);
    border: 1px solid rgba(72, 181, 233, 0.6);
    border-radius: 2px 2px 0 0;
}

.ViatgesPendents {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 200px;
    bottom: 0px;
    padding: 0px 10px 0px 15px;
    /*background: var(--colorPrincipal);*/
    background: url(../img/fondo-menu.png);
    background-size: contain;
    color: #eee;
    z-index: 101;
}

.title {
    background: url(../img/logo.png) center center no-repeat;
    display: block;
    height: 82px;
    background-size: 60%;
}

.bandaBotons {
    clear: both;
}

.bandaBotons a {
    float: left;
    margin-right: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bandaBotons a img{
    height: 22px;
}

.Filtres {
    position: fixed;
    left: 225px;
    top: 0px;
    right: 0px;
    height: 80px;
    background-color: #fff;
    color: #333;
    box-shadow: 0px 0px 10px 0px #ccc;
    z-index: 100;
    padding: 10px 0 13px 160px;
    overflow-x: scroll;
}

    .Filtres .Viatge {
        margin-right: 10px;
        float: left;
    }

.pendientes_title {
    text-align: center;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 2px;
    margin-bottom: 0px;
}

.seccionTotales {
    float: left;
    width: 100%;
    background-color: white;
    margin-top: 0px;
    color: var(--colorPrincipal);
    margin-bottom: 3px;
}

.seccionTotales.clickable {
    cursor: pointer;
}

    .seccionTotales.clickable:hover {
        background-color: lightgrey;
        -webkit-box-shadow: inset 0px 0px 0px 1px #f00;
        -moz-box-shadow: inset 0px 0px 0px 1px #f00;
        box-shadow: inset 0px 0px 0px 1px #f00;
    }

    .seccionTotales.clickable.clicked {
        background-color: lightgrey;
        -webkit-box-shadow: inset 0px 0px 0px 1px #f00;
        -moz-box-shadow: inset 0px 0px 0px 1px #f00;
        box-shadow: inset 0px 0px 0px 1px #f00;
    }

.seccionTotalesInside {
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 4px;
    width: 100%;
    float: left;
    text-align: center;
    font-weight: bold;
}

.ComptadorViatges {
    font-weight: bold;
    //font-size: 2em;
    float: left;
    text-align: right;
    width: 33%;
}

.ViatgesAssignats {
    position: fixed;
    left: 225px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    overflow: auto;
}


.Operari {
    width: 80%;
    height: 25px;
    float: left;
    background: url(../img/usuario.svg) no-repeat 5px 5px;
    background-size: 18px;
    padding: 5px 0px 0px 30px; /* 10px 0 0px 40px; */
    display: table-cell;
    overflow: hidden;
}

.NomOperari{
    float:left;
    width: 70%;
    font-weight: bold;
}

.totalServiciosOperari {
    float: right;
    width:30%;
    font-weight: bold;
}

.Ruta {
    height: 20px;
    float: left;
    background: url(../img/truck.png) no-repeat 6px 5px;
    background-size: 18px;
    padding: 10px 0 0px 40px;
    display: table-cell;
    overflow: hidden;
}

.RutaViatge {
    height: 20px;
    float: left;
    padding: 5px 0px 0px 30px;
    display: table-cell;
    overflow: hidden;
    width:100%;
}

.afegir_nova {
    /*height: 20px;*/
    padding: 0px;
    width: 156px;
    font-weight: bold;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

    .afegir_nova a {
        text-decoration: none;
        text-transform: uppercase;
        padding: 6px;
        color: #333;
        display: block;
        margin-top: -4px;
    }
    .afegir_nova img {
        margin-right: 7px;
    }
    .afegir_nova a:hover {
        background: #222;
        color: #eee;
        text-decoration:none;
    }

.DivViatgesPendents {
    width: 10000%;
}

.Transportista {
    width: 100%;
    font-weight: bold;
}

.CodigoCamion {
    font-weight: bold;
    margin: 3px 0px 0px 0px;
    float: left;
}

.totalServicios {
    font-weight: bold;
    margin-top: 3px;
    float: right;
    margin: 3px 35px 0px 0px;
}

.numViatge {
    font-weight: bold;
    float: left;
    margin-top: -1px;
    margin-left: -22px;
    border: 0.05em solid black;
    border-radius: 10px;
    padding: 2px;
    height: 10px;
    width: 10px;
    text-align: center;
}

.rutaViajesTipos {
    float: left;
    margin-top: 0px;
    margin-left: 0px;
}

.NumViajes {
    float: left;
    margin-top: 2px;
    margin-left: 0px;
}

.Viatge {
    width: 125px;
    height: 50px;
    float: left;
    background-color: #f6f6f6;
    padding: 5px 15px 5px 6px;
    display: table-cell;
    border-left: 4px solid #f6f6f6;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    box-shadow: 0px 3px 7px rgba(193, 193, 193, 0.5);
    overflow: hidden;
    cursor: move;
}

.Empresa1 {
    background-color: #c3efff;
}

.Empresa3 {
    background-color: #ffc3c3;
}

.Empresa8 {
    background-color: #e0ffe0;
}

.client {
    font-weight: bold;
    font-size: 9px;
}

.direccio {
    font-size: 9px;
    color: #888;
}

.movimiento {
    display: block;
    width: 20px;
    height: 60px;
    /*text-indent: -99999px;*/
    float: right;
    margin-top: -5px;
    margin-right: -15px;
}

.alerta {
    background: url(../img/alert.png) no-repeat;
    display:;
    width: 24px;
    height: 24px;
    float: left;
    margin-top: -5px;
    margin-right: -24px;
    padding-right: 0px;
    position: relative;
    left: 94px;
    top: 35px;
}

.Entrega {
    /*background: url(../img/exit2.png) no-repeat 2px 30px #fff;*/
    background: url(../img/exit2.png) no-repeat 2px 43px #fff;
}

.Recogida {
    /*background: url(../img/enter2.png) no-repeat 2px 30px #fff;*/
    background: url(../img/enter2.png) no-repeat 2px 43px #fff;
}

.Cambio {
    /*background: url(../img/loop.png) no-repeat 2px 30px #fff;*/
    background: url(../img/loop.png) no-repeat 2px 43px #fff;
}

.CodigoArticulo {
    text-align: center;
    color: white;
    margin-right: 5px;
    background-color: #38393e;
    padding: 4px 0px 2px 0px;
    display: block;
    width: 20px;
    height: 15px;
    margin-top: 00px;
}

.NumeroLineasTotales {
    text-align: center;
    color: white;
    margin-right: 5px;
    /*background-color: red;*/
    padding: 4px 0px 2px 0px;
    display: block;
    width: 20px;
    height: 15px;
    margin-top: 00px;
}

.SenseViatge {
    float: left;
    min-width: calc(var(--ampladaViatge) * 1px);
    width: 100%;
    height: calc(calc(var(--alcadaViatge) * 1px) - calc(var(--marge) * 2px));
    display: table-cell;
}

.AbansViatge {
    z-index: 10;
    display: inline-block;
    width: calc(var(--ampladaViatge) * 0.5px);
    min-height: 71px;
    position: relative;
    top: -64px;
    left: -4px;
}

.DespresViatge {
    z-index: 10;
    display: inline-block;
    width: calc(var(--ampladaViatge) * 0.5px);
    min-height: 71px;
    position: relative;
    top: -130px;
    left: 71px;
}

.ModificarRuta {
    z-index: 10;
    display: inline-block;
    position: absolute;
    background-color: #ffffff;
    display: none;
    margin-top: -10px;
    left: 2px;
    width: 30px;
    height: 25px;
}
.ModificarRutaViatge {
    z-index: 10;
    display: inline-block;
    position: absolute;
    background-color: #ffffff;
    display: none;
    margin-top: -5px;
    left: 0px;
    width: 82px;
    height: 25px;
}
.modificar {
    display: block;
    background: url(../img/editar.svg) no-repeat;
    height: 16px;
    width: 16px;
    text-indent: -999999px;
    margin: 5px 0 8px 5px;
    float: left;
}

.eliminar {
    display: block;
    background: url(../img/eliminar.svg) no-repeat;
    height: 16px;
    width: 16px;
    text-indent: -999999px;
    margin: 5px 0 0 4px;
    float: left;
}
.afegir {
    display: block;
    background: url(../img/afegir.svg) no-repeat;
    height: 16px;
    width: 16px;
    text-indent: -999999px;
    margin: 5px 0 0 4px;
    float: left;
}
.pujar {
    display: block;
    background: url(../img/pujar.svg) no-repeat;
    height: 16px;
    width: 16px;
    text-indent: -999999px;
    margin: 5px 0 0 4px;
    float: left;
}
.baixar {
    display: block;
    background: url(../img/baixar.svg) no-repeat;
    height: 16px;
    width: 16px;
    text-indent: -999999px;
    margin: 5px 0 0 4px;
    float: left;
}
.FiltreHora {
    width: 43px;
    text-align: center;
    font-weight: bold;
    padding: 6px 2px 6px 0px;
}


.FiltreCodiPostal {
    width: 87%;
    margin-right: 20px;
}

.FiltreMunicipi {
    width: 87%;
    margin-right: 20px;
}

.FiltreTipusContenidor {
    width: 87%;
    margin-right: 20px;
}

.FiltreTipusCamio {
    width: 87%;
    margin-right: 20px;
}

.FiltreTipusMoviment {
    width: 87%;
    margin-right: 20px;
}

.FiltreSeparador {
    width: 100%;
    margin-bottom: 2px;
    display: block;
}

.FiltreDataMoviment {
    width: 87%;
    margin-right: 20px;
    font-family: var(--tipusLletra);
}

.FiltreZona {
    width: 87%;
    margin-right: 20px;
}

.FiltreDataRuta {
    font-family: var(--tipusLletra);
    width: 60% !important;
    float: right;
    margin-right: 0px;
    margin-bottom: 1px;
}
.labelFiltreData {
    float: left;
    font-size: 11px;
    padding-top: 8px;
    line-height: 1;
}
.ViatgeRealitzat {
    cursor: not-allowed;
    border-left-color: #bbb !important;
    background: repeating-linear-gradient( -45deg, #dddddd, #dddddd, 10px, #f6f6f6 10px, #f6f6f6 20px );
}

.Arrossegant {
    opacity: 0.4;
}

.NovaRuta {
    z-index: 1001;
    background-color: #ffffff;
    left: 400px;
    top: 50px;
    width: 300px;
    height: 300px;
    display: block;
    position: absolute;
    border: 1px solid #5a5a5a;
    display: none;
}

#missatgeModatError {
    background-color: #f77;
    color: #6d1d1d;
    margin-top: 20px !important;
    padding: 10px 0px 10px 10px;
    display: block;
    font-size: 14px;
}


.desassignar {
    height: 38px !important;
    text-align: center;
    font-size: 12px;
    padding-top: 17px;
    background-color: #ebcd6a;
    opacity: 0.4;
}

.Assignable.over {
    background: url(../img/bg-assignable-hover.png) #585858 !important;
}

.Assignable.visible {
    background-color: #ebcd6a;
    opacity: 0.4;
}

.Assignable {
    height: 62px;
    float: left;
    display: table-cell;
    box-shadow: none;
}

h2 {
    font-size: 20px;
    font-weight: 400;
    margin-top: 4px;
    display: inline-block;
    color: #ccc;
    text-align: center;
    width: calc(calc(var(--ampladaViatge) * 1px) - calc(var(--marge) * 1px));
}

table {
    border-spacing: 0px;
}

#taulaViatgesAssignats {
    padding-bottom: 44px;
}

.rutas_title {
    z-index: 99999;
    background-color: white;
    display: inline-block;
    text-align: center;
    width: 158px;
    height: 28px;
    min-height: 28px;
    margin: 0px 0px 0px -4px;
    padding-top: 12px;
    color: #2c2c2c;
    text-transform: uppercase;
    font-size: 15px;
}

.filtro_title {
    text-align: center;
    background: #222;
    display: block;
    width: 225px;
    height: 28px;
    margin: 0px 0px 0px -15px;
    padding-top: 12px;
    color: #eee;
    text-transform: uppercase;
    font-size: 15px;
}

.Prioritat1 {
    /*border-left-color: #07BF00;*/
    border-left-color: blue;
}

.Prioritat2 {
    border-left-color: #69C800;
}

.Prioritat3 {
    border-left-color: #D2CF00;
}

.Prioritat4 {
    border-left-color: #DB6F00;
}

.Prioritat5 {
    border-left-color: #E50500;
}

/* CHECKBOXES PRIORIDAD */

input[type=checkbox] {
    /*visibility: hidden;*/
}
/* SQUARED ONE */
.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px !important;
    border-radius: 15px !important;
    text-align: center !important;
    font-size: 12px;
    line-height: 1.42857;
}

.CheckPrioridad0, .CheckPrioridad1, .CheckPrioridad2, .CheckPrioridad3, .CheckPrioridad4, .CheckPrioridad5 {
    width: 24px;
    height: 24px;
    /*background: #fcfff4;*/
    margin: 5px 13px 0px 0px;
    position: relative;
    /*display: inline-block;*/
    /*border-radius: 3px;*/
    border-radius: 11px;
}

    .CheckPrioridad0 label, .CheckPrioridad1 label, .CheckPrioridad2 label, .CheckPrioridad3 label, .CheckPrioridad4 label, .CheckPrioridad5 label {
        cursor: pointer;
        position: absolute;
        width: 22px;
        height: 22px;
        left: 1px;
        top: 1px;
        background: white;
        /*border-radius: 3px;*/
        border-radius: 10px;
    }

    .CheckPrioridad0 span, .CheckPrioridad1 span, .CheckPrioridad2 span, .CheckPrioridad3 span, .CheckPrioridad4 span, .CheckPrioridad5 span {
        margin-left: 38px;
        line-height: 22px;
        font-size: 12px;
    }

    .CheckPrioridad0 label:after, .CheckPrioridad1 label:after, .CheckPrioridad2 label:after, .CheckPrioridad3 label:after, .CheckPrioridad4 label:after, .CheckPrioridad5 label:after {
        filter: alpha(opacity=0);
        opacity: 0;
        font-size: 15px;
        text-align: center;
        position: absolute;
        width: 20px;
        height: 20px;
        top: 1px;
        left: 1px;
        /*border-radius: 2px;*/
        border-radius: 9px;
    }

    .CheckPrioridad0 label:after {
        content: '0';
        /*background: #07BF00;*/
        background: blue;
    }

    .CheckPrioridad1 label:after {
        content: '1';
        /*background: #07BF00;*/
        background: blue;
    }
    
    .CheckPrioridad2 label:after {
        content: '2';
        background: #69C800;
    }
    
    .CheckPrioridad3 label:after {
        content: '3';
        background: #D2CF00;
    }

    .CheckPrioridad4 label:after {
        content: '4';
        background: #DB6F00;
    }

    .CheckPrioridad5 label:after {
        content: '5';
        background: #E50500;
    }

    .CheckPrioridad0 label:hover::after, .CheckPrioridad1 label:hover::after, .CheckPrioridad2 label:hover::after, .CheckPrioridad3 label:hover::after, .CheckPrioridad4 label:hover::after, .CheckPrioridad5 label:hover::after {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
        filter: alpha(opacity=50);
        opacity: 0.5;
    }

    .CheckPrioridad0 input[type=checkbox]:checked + label:after, .CheckPrioridad1 input[type=checkbox]:checked + label:after, .CheckPrioridad2 input[type=checkbox]:checked + label:after, .CheckPrioridad3 input[type=checkbox]:checked + label:after, .CheckPrioridad4 input[type=checkbox]:checked + label:after, .CheckPrioridad5 input[type=checkbox]:checked + label:after {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        opacity: 1;
    }

    .CheckPrioridad0 input[type=checkbox], .CheckPrioridad1 input[type=checkbox], .CheckPrioridad2 input[type=checkbox], .CheckPrioridad3 input[type=checkbox], .CheckPrioridad4 input[type=checkbox], .CheckPrioridad5 input[type=checkbox] {
        margin: 4px 4px 0 !important;
    }





.Etiqueta {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-right: 4px;
    display: inline-block;
    width: 100%;
    font-size: 13.33px;
}

    .Etiqueta.desde, .Etiqueta.hasta {
        width: 22px;
    }

th {
    text-align: left;
    text-indent: 10px;
}


/* Taula amb columna fixe */
.fixedTable .table {
    background-color: white;
    width: auto;
}

    .fixedTable .table tr td,
    .fixedTable .table tr th {
        min-height: 20px;
        height: 20px;
        padding: 0px;
        border-right: 1px solid #eee;
    }

    .fixedTable .table tr th {
        padding: 10px 0px;
        font-size: 13px;
        font-weight: 100;
    }

.fixedTable-header {
    height: 40px;
    right: 0px;
    margin-left: 156px;
    overflow: hidden;
}

.fixedTable-sidebar {
    width: 156px;
    /*height: 150%;*/
    float: left;
    overflow: hidden;
    margin-top: -40px;
    padding-top: 0px;
    /*background: #eee;*/
}

.fixedTable-body {
    overflow: auto;
    height: 100%;
    right: 0px;
}







/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 101; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

.modalDret {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 400px;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    box-shadow: 0px 10px 10px 0px #ccc;
}

.modal_title {
    font-size: 16px;
    font-weight: 100;
    padding: 10px 0 0px 0 !important;
    border-bottom: 1px solid #eee;
    text-transform: none !important;
    font-weight: 100 !important;
}

/* Modal Header */
.modal-header {
    padding: 8px 16px 8px 20px !important;
    background-color: var(--colorSecundari);
    color: white;
}

.modal-header-title{
    float:left;
}

.modal-header-subcontent {
    float: right;
    margin-bottom: -4px;
    margin-top: -4px;
}
/* Modal Body */
.modal-body {
    padding: 2px 2px 2px 2px !important;
}

    .modal-body td:first-child {
        /*font-weight: bold;*/
        text-transform: uppercase;
    }

    .modal-body td:first-child {
        width: 30%;
    }

    .modal-body td:last-child {
        width: 70%;
    }

    .modal-body tr td {
        padding: 5px 0;
        vertical-align: top;
    }

/* Modal Footer */
.modal-footer {
    margin-top: 20px;
    padding: 12px;
    background-color: #333;
    color: white;
}
/* Modal Content */
.modal-content {
    font-size: 16px;
    background-color: #fefefe;
    margin: auto;
    overflow-y: scroll;
}
    .modal-content table {
        font-size: 10px;
    }
        .modal-content table tr, .modal-content table td, .modal-content table th {
            height: 10px !important;
            text-align: left;
            line-height: 1.42857143 !important;
        }

        .modal-content table > tbody > tr > td, .modal-content table > tbody > tr > th, .modal-content table > tfoot > tr > td, .table > tfoot > tr > th, .modal-content table > thead > tr > td, .modal-content table > thead > tr > th {
            padding: 1px;
        }
    .modal-content thead {
        color: white;
        background-color: var(--colorSecundari);
    }
.detallViatgeGrup {
    background-color: var(--colorSecundari);
    color: white;
    border-radius: 10px;
    padding: 8px;
    font-size: 14px;
}

.detallViatgeCaixa {
    border: 0.05em solid var(--colorSecundari);
    border-radius: 10px;
    padding: 8px;
}

.detallViatgeSubtitol {
    font-size:10px;
}

.detallViatgeIcona {
    height: 11px;
    margin-right: 18px;
    margin-top: -3px;
}
#divModalNovaRuta .modal-body {
    padding-top: 10px;
}

/* The Close Button */
.close {
    color: #ffffff !important;
    float: right !important;
    font-weight: bold !important;
    opacity: unset !important;
}

    .close:hover,
    .close:focus {
        color: #000 !important;
        text-decoration: none !important;
        cursor: pointer !important;
    }

.BotoModal {
    padding: 5px 20px;
    font-size: 15px;
    background-color: darkgrey;
}

.multiselect.dropdown-toggle {
    text-align: left;
}

.multiselect-container > li > a > label {
    padding: 3px 20px 3px 0px;
}

.bootstrap-select {
    width: 87% !important;
}
.btn {
    text-align: left !important;
    border-radius: 0px !important;
    font-weight: bold;
    color: var(--colorPrincipal);
    -webkit-appearance: none;
    padding: 2px 12px !important;
}

    .btn .caret {
       /* display: none;*/
    }
input, button.btn {
    background-color:white !important;
}

    input::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
        color: #999;
        opacity: 1; /* Firefox */
    }

    input:-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #999;
    }

    input::-ms-input-placeholder { /* Microsoft Edge */
        color: #999;
    }

.bs-actionsbox .btn-group button {
    /*width: 30%; */
}

.red {
    background-color: red;
}

#mapaViatgesAssignats {
    width: 100%;
    height: 100%;
    float: left;
}

.dropdown-menu > li > a {
    color: var(--colorPrincipal);
}

    .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
        color: var(--colorPrincipal);
    }