/*Lluert - base estructura v. 1.0 -*/
:root {
    --color_personalizado: #005ed0; 
}

#main {
    position: absolute;
    width: 100%;
    height: 100%;
}



.preventDobleClick {
    pointer-events: none;
}

.card-1,
.card-2,
.card-3,
.card-4 {
    column-count: 1;
}

.cercle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    font-size: unset;
    border-radius: 50% !important;
    color: #FFF;
}

.border-dotted {
    border-style: dotted;
    border-width: 2px;
}

.border-dashed {
    border-style: dashed;
    border-width: 2px;
}

.d-credits {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    /* position: absolute; */
    /* width: 100%;
    height: 100%; */
}

.enMovil {
    display: inline-flex;
}

.list-unstyled {
    /* background-color: yellowgreen; */
    font-size: 0.75rem;
}

.flexColumn {
    display: block;
    flex-direction: contents;
    width: 100%;
}

.enEscritorio {
    display: none;
}

.flex-1 {
    flex: 0;
}

.flex-2 {
    flex: 0;
}

.flex-3 {
    flex: 0;
}

.flex-4 {
    flex: 0;
}

.flex-5 {
    flex: 0;
}

.flex-6 {
    flex: 0;
}

.flex-7 {
    flex: 0;
}

.flex-8 {
    flex: 0;
}

.flex-9 {
    flex: 0;
}

.flex-10 {
    flex: 0;
}

.flex-20 {
    flex: 0;
}

.flex-30 {
    flex: 0;
}

.flex-40 {
    flex: 0;
}

.flex-50 {
    flex: 0;
}

.flex-60 {
    flex: 0;
}

.flex-70 {
    flex: 0;
}

.flex-80 {
    flex: 0;
}

.flex-90 {
    flex: 0;
}

.ir-arriba {
    border-radius: 50%;
    display: none;
    padding: 1px 8px;
    border: 2px solid #cfacac;
    font-size: 30px;
    color: #cfacac;
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
}

body {
    background-color: rgba(0, 0, 0, 0.03);
    /*overflow: hidden;*/
    font-size: 13px;
}

.btn-personalizado {
    margin-left: 30px;
    float: left;
    position: relative;
}

.handle {
    cursor: move;
    display: inline-block;
    margin: 0 5px;
}


/* SCROLL */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.fletxaDown::after {
    font-family: 'Font Awesome 5 Free';
    content: "\f106";
    font-weight: 900;
    float: right;
    padding-right: 5px;
}

.fletxaDown.collapsed::after {
    content: "\f107";
    font-weight: 900;
}

#sideMenuHead {
    display: flex;
    justify-content: space-between;
    min-height: 90px;
}

#llistat {
    overflow: auto;
    max-height: 100%;
    width: 100%;
    min-height: 100%;
    box-sizing: unset !important;
    background-color: rgba(255, 255, 255, 0.582);
}


/**
    *nav 
    */

.nav-link {
    display: initial;
}

.nav-tabs .nav-item {
    margin-bottom: 7px;
}

.select2-container {
    z-index: 1056;
}

#llistat .select2-container {
    z-index: 1050;
}

#finestra1,
#finestra2,
#finestra3 {
    /*igual que modal*/
    margin: 0 auto;
    background-color: #FCFCFC;
    min-width: 95%;
    max-width: 95%;
    min-height: 230px;
    left: 8px;
    top: 75px;
    position: absolute;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    display: none;
    border-radius: 10px;
}


/* modal */

#finestra1 {
    z-index: 1051;
}

#finestra2 {
    z-index: 1052;
}

#finestra3 {
    z-index: 1053;
}

#popup_modal {
    z-index: 1054;
}


/*swal alert*/

.swal2-container {
    z-index: 1080;
}

#capaMantenerConectado {
    display: flex;
    z-index: 2001;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    justify-content: center;
    align-items: center;
    /*igual que modal*/
    margin: 0 auto;
    background-color: #FCFCFC;
    min-width: 10%;
    max-width: 100%;
    position: absolute;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    display: none;
    border-radius: 10px;
}

#carregant {
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    background-color: #FCFCFC;
    min-width: 10%;
    max-width: 95%;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.77);
    border-radius: 10px;
    transition: 1s all;
}

.card-body {
    padding: 1rem;
}

.card-header {
    padding: 0.40rem 0.90rem;
}

#finestra1>.titolApartat:first-of-type,
#finestra2>.titolApartat:first-of-type,
#finestra3>.titolApartat:first-of-type {
    margin-left: 0px;
    padding: 0px !important;
}

.llistatContingut {
    padding-top: 10px;
    /* pel titol flotant */
}


/*top menu bloque2---*/

a {
    cursor: pointer;
    text-decoration: none;
    color: var(--color_personalizado);
}

a:hover {
    text-decoration: none;
    color: #1b1b1b;
}

.menu-peu {
    color: #000 !important;
    text-decoration: none;
}

.menu-peu:hover {
    text-decoration: none;
    color: var(--color_personalizado) !important;
}
p {
    padding-right: 8px;
    color: grey;
}

.box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.info-box {
    display: flex;
    flex-wrap: wrap;
    min-height: 90px;
    background: #fff;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-bottom: 15px;
    margin-left: 0px;
}

.info-box:first-child {
    margin-left: 0px;
}

.info-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    flex: 30;
    float: left;
    text-align: center;
    /* font-size: 45px; */
    line-height: 90px;
    background: rgba(0, 0, 0, 0.2);
    padding-top: 20px;
    color: #FFF;
}

.info-box-content {
    flex: 70;
    padding: 5px 10px;
}

.info-box-text {
    text-transform: uppercase;
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info-box-number {
    display: block;
    font-weight: bold;
    font-size: 24px;
}

table {
    font-size: 12px;
    border-collapse: collapse;
    /* margin-top:3px !important; */
    background-color: #FFF;
    /* margin-left: 10px; */
    border-radius: 3px;
    /* border: 1px solid #ced4da; */
    border-radius: 0.25rem;
}

.bootstrap-datetimepicker-widget table td,
.bootstrap-datetimepicker-widget table th,
th.day {
    height: 15px !important;
    line-height: 15px !important;
    width: 15px !important;
}

.table th,
.table td {
    padding: 0.4em;
}

.form-control {
    padding: 2px 5px;
    font-size: 1em;
    height: 2.3em;
}

.content-heading {
    height: 75px;
}

.content-heading button {
    margin-left: 0px;
    margin-right: -10px;
    min-width: 80px;
    height: 55px;
    border-left: 1px solid #bbb !important;
    border-right: 1px solid #bbb !important;
}

.content-heading a {
    padding-top: 10px;
    margin-left: 0px;
    margin-right: -10px;
    min-width: 80px;
    height: 55px;
    border-left: 1px solid #bbb !important;
    border-right: 1px solid #bbb !important;
}

.content-wrapper {
    padding: 0px;
}

label {
    font-size: 1em;
    font-weight: 600;
    padding-left: 5px;
    color: #333 !important;
}

input,
select {
    font-size: 1em !important;
    font-weight: 500;
    color: #555 !important;
}

.input-group-text {
    padding: 0px 10px;
}

.separador {
    display: flex;
    align-items: center;
    text-align: center;
}

.separador::before,
.separador::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #000;
}

.separador::before {
    margin-right: .25em;
}

.separador::after {
    margin-left: .25em;
}

select {
    color: #555 !important;
    padding-top: 4px !important;
}

.modal {
    overflow: hidden;
}

.btn-sm {
    border-radius: 3px;
    padding: 3px;
    font-size: 0.8rem;
    margin-left: 3px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.mb {
    margin-bottom: 10px;
}

.ml {
    margin-left: 10px;
}

.mt {
    margin-top: 10px;
}

.mr {
    margin-right: 10px;
}

.mb-5px {
    margin-bottom: 5px;
}

.ml-5px {
    margin-left: 5px;
}

.mt-5px {
    margin-top: 5px;
}

.mr-5px {
    margin-right: 5px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mr-0 {
    margin-right: 0px !important;
}


/* LLISTATS (Colors) */

.bg-success {
    background-color: #2e7d32 !important;
}

.bg-primary {
    background-color: #5d9cec !important;
}

.bg-warning {
    background-color: #ff8517 !important;
}

.bg-danger {
    background-color: #ee3d3d !important;
}

.blPrimPrimary {
    border-left: 1px solid #5d9cec !important;
}

.brPrimPrimary {
    border-right: 1px solid #5d9cec !important;
}

.btPrimPrimary {
    border-top: 1px solid #5d9cec !important;
}

.bbPrimPrimary {
    border-bottom: 1px solid #5d9cec !important;
}

.bPrimPrimary {
    border: 1px solid #5d9cec !important;
}

.blGruiPrimary {
    border-left: 3px solid #5d9cec !important;
}

.brGruiPrimary {
    border-right: 3px solid #5d9cec !important;
}

.btGruiPrimary {
    border-top: 3px solid #5d9cec !important;
}

.bbGruiPrimary {
    border-bottom: 3px solid #5d9cec !important;
}

.bGruiPrimary {
    border: 3px solid #5d9cec !important;
}

.blPrimSucces {
    border-left: 1px solid #2e7d32 !important;
}

.brPrimSucces {
    border-right: 1px solid #2e7d32 !important;
}

.btPrimSucces {
    border-top: 1px solid #2e7d32 !important;
}

.bbPrimSucces {
    border-bottom: 1px solid #2e7d32 !important;
}

.bPrimSucces {
    border: 1px solid #2e7d32 !important;
}

.blGruiSucces {
    border-left: 3px solid #2e7d32 !important;
}

.brGruiSucces {
    border-right: 3px solid #2e7d32 !important;
}

.btGruiSucces {
    border-top: 3px solid #2e7d32 !important;
}

.bbGruiSucces {
    border-bottom: 3px solid #2e7d32 !important;
}

.bGruiSucces {
    border: 3px solid #2e7d32 !important;
}

.blPrimWarning {
    border-left: 1px solid #ff8517 !important;
}

.brPrimWarning {
    border-right: 1px solid #ff8517 !important;
}

.btPrimWarning {
    border-top: 1px solid #ff8517 !important;
}

.bbPrimWarning {
    border-bottom: 1px solid #ff8517 !important;
}

.bPrimWarning {
    border: 1px solid #ff8517 !important;
}

.blGruiWarning {
    border-left: 3px solid #ff8517 !important;
}

.brGruiWarning {
    border-right: 3px solid #ff8517 !important;
}

.btGruiWarning {
    border-top: 3px solid #ff8517 !important;
}

.bbGruiWarning {
    border-bottom: 3px solid #ff8517 !important;
}

.bGruiWarning {
    border: 3px solid #ff8517 !important;
}

.blPrimDanger {
    border-left: 1px solid #ee3d3d !important;
}

.brPrimDanger {
    border-right: 1px solid #ee3d3d !important;
}

.btPrimDanger {
    border-top: 1px solid #ee3d3d !important;
}

.bbPrimDanger {
    border-bottom: 1px solid #ee3d3d !important;
}

.bPrimDanger {
    border: 1px solid #ee3d3d !important;
}

.blGruiDanger {
    border-left: 3px solid #ee3d3d !important;
}

.brGruiDanger {
    border-right: 3px solid #ee3d3d !important;
}

.btGruiDanger {
    border-top: 3px solid #ee3d3d !important;
}

.bbGruiDanger {
    border-bottom: 3px solid #ee3d3d !important;
}

.bGruiDanger {
    border: 3px solid #ee3d3d !important;
}

.blPrimInfo {
    border-left: 1px solid #23b7e5 !important;
}

.brPrimInfo {
    border-right: 1px solid #23b7e5 !important;
}

.btPrimInfo {
    border-top: 1px solid #23b7e5 !important;
}

.bbPrimInfo {
    border-bottom: 1px solid #23b7e5 !important;
}

.bPrimInfo {
    border: 1px solid #23b7e5 !important;
}

.blGruiInfo {
    border-left: 3px solid #23b7e5 !important;
}

.brGruiInfo {
    border-right: 3px solid #23b7e5 !important;
}

.btGruiInfo {
    border-top: 3px solid #23b7e5 !important;
}

.bbGruiInfo {
    border-bottom: 3px solid #23b7e5 !important;
}

.bGruiInfo {
    border: 3px solid #23b7e5 !important;
}

input[required]:valid,
textarea[required]:valid {
    border: 1px solid #0180ad;
}

input[required]:invalid,
textarea[required]:invalid {
    border: 1px solid red;
}

select[required]:valid,
textarea[required]:valid {
    border: 1px solid #0180ad;
}

select[required]:invalid,
textarea[required]:invalid {
    border: 1px solid red;
}

textarea .disabled,
input .disabled,
select .disabled {
    border: 0px solid #d9dde0;
}

.textTransparent {
    border: 0px solid #d8d8d8;
}

.tablaAdaptativa {
    flex-wrap: wrap;
    overflow: auto;
}

.tablaAdaptativa .row {
    flex-wrap: wrap;
    border-bottom: solid 1px #dee2e6;
}

.tablaAdaptativa .col-md {
    padding-right: 5px;
    padding-left: 5px;
}

.table-stripped .row:nth-of-type(odd):not(.thead) div {
    background: rgba(0, 0, 0, 0.03);
}

.table-stripped .row:nth-of-type(even):not(.thead) div {
    background: rgba(255, 255, 255, 1);
}

.btn-group-sm>.btn,
.btn-sm {
    padding: 0.1rem .5rem;
}

.btnConnectedSortable::after {
    font-family: 'Font Awesome 5 Free';
    content: "\f142 \f142";
    font-weight: 900;
    float: left;
    padding: 0px;
    width: 20px;
}

.btn-personalizado {
    color: var(--color_personalizado);
    border-color: var(--color_personalizado);
}

.btn-personalizado:hover {
    color: #000;
    border-color: var(--color_personalizado);
    background-color: var(--color_personalizado);
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    padding: 0px;
    margin-left: 2px;
    cursor: pointer;
}


/*--------------CIERRA #llistat----------------------------------------*/


/**********************************************************************@media Query********************************************************/


/**********************************************************************@media Query********************************************************/

@media (min-width: 992px) {
    .d-credits {
        display: flex;
        flex: 70;
    }

    .enEscritorio {
        display: inline-flex;
    }

    .box {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: initial;
    }

    .info-box {
        margin-left: 15px;
    }

    .flexColumn {
        display: flex;
        flex-direction: row;
    }

    .flex-1 {
        flex: 1;
    }

    .flex-2 {
        flex: 2;
    }

    .flex-3 {
        flex: 3;
    }

    .flex-4 {
        flex: 4;
    }

    .flex-5 {
        flex: 5;
    }

    .flex-6 {
        flex: 6;
    }

    .flex-7 {
        flex: 7;
    }

    .flex-8 {
        flex: 8;
    }

    .flex-9 {
        flex: 9;
    }

    .flex-10 {
        flex: 10;
    }

    .flex-20 {
        flex: 20;
    }

    .flex-30 {
        flex: 30;
    }

    .flex-40 {
        flex: 40;
    }

    .flex-50 {
        flex: 50;
    }

    .flex-60 {
        flex: 60;
    }

    .flex-70 {
        flex: 70;
    }

    .flex-80 {
        flex: 80;
    }

    .flex-90 {
        flex: 90;
    }

    .enMovil {
        display: none;
    }

    /*------#llistat-------------*/
    #llistat {
        width: 100%;
        display: block;
        transition: margin 1s;
        box-sizing: border-box !important;
    }

    /*------#llistat--------------*/
    /**
        card 
        */
    .card {
        border: 1px solid rgba(0, 0, 0, .125);
    }

    .card-1 {
        column-count: 1;
    }

    .card-2 {
        column-count: 2;
    }

    .card-3 {
        column-count: 3;
    }

    .card-4 {
        column-count: 4;
    }

    #finestra1,
    #finestra2,
    #finestra3 {
        position: fixed;
        min-width: 40%;
        max-width: 75%;
        max-height: 90%;
        overflow: auto;
    }

    .positionAuto {
        left: 50% !important;
        /*top: 50% !important;*/
        -ms-transform: translate(-50%, 0) !important;
        -moz-transform: translate(-50%, 0) !important;
        -webkit-transform: translate(-50%, 0) !important;
        transform: translate(-50%, 0) !important;
    }

    #finestra1>.titolApartat:first-of-type,
    #finestra2>.titolApartat:first-of-type,
    #finestra3>.titolApartat:first-of-type {
        margin-left: 0px;
        padding: 0px 10px;
    }

    .tablaAdaptativa {
        flex-wrap: nowrap
    }

    .tablaAdaptativa .row {
        flex-wrap: nowrap;
        border-bottom: none;
    }
}