/*Estils GENERALS*/
body {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
}

#app,main {
    width: 100%;
    height: 100%;
}

/*Estils NAVBAR*/
#titol_principal {
    color: #ffd400;
}

#subtitol_principal {
    color: white;
}

#barra_navegacio {
    background-color: rgb(81, 81, 81);
    background-image: linear-gradient(rgb(107, 107, 107), rgb(43, 43, 43));
    background-repeat: repeat-x;
}

#app .navbar-light .navbar-nav .nav-link {
    color: #e6e6e6;
}

#app .navbar-light .navbar-nav .nav-link:hover {
    color: white;
}

#app .navbar-light .menu #navbarSupportedContent .navbar-child {
    width: 100%;
    margin-left: 5% !important;
}

.menu {
    max-width: 100%;
}

.opcio-lmi {
    margin-left: auto;
}

.opcio-m-l {
    margin-left: 3%;
}

.opcio-usuari {
    margin-left: auto;
    margin-right: 3%;
}

.botons-navbar {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    font-size: 14.4px;
}

/*Estils llistat home USUARI*/
.llistat-incidencies-usuari {
    width: 99%;
    max-width: 99%;
    height: 99%;
}

#incidences-quantity {
    font-size: 150%;
    margin-left: auto;
}

/* .table-responsive { 
    max-height: 90%;
    overflow: auto;
} */

thead { 
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #6c757d;
    color: #ffffff;
}

tr:nth-of-type(2) th {
    background-color: #cccccc;
}

.neteja-icona {
    max-height: 40%;
    max-width: 40%;
    border-radius: 20%;
    background-color: #737373;
    cursor: pointer;
}

.neteja-icona-tecnic {
    max-height: 40%;
    max-width: 40%;
    border-radius: 20%;
    background-color: #737373;
    cursor: pointer;
}

th,td {
    text-align: center;
    vertical-align: middle !important;
}

table th:first-child, table td:first-child, #llistat_usuari th:nth-child(9), #llistat_usuari td:nth-child(10) {
    width: 7%;
}

#llistat_tecnic th:nth-child(11), #llistat_tecnic td:nth-child(11) {
    width: 7%;
}

#llistat_usuari th:nth-child(8), #llistat_usuari td:nth-child(8) {
    width: 9%;
}

#llistat_usuari th:nth-child(2), #llistat_usuari td:nth-child(2) {
    width: 0.1%;
}

.dates {
    margin-top: 2%;
}

#assumpte-llistat {
    text-align: left;
}

#filtrar-feedback {
    display: none;
}

#tancar_incidencia_llistat, #reobrir_incidencia_llistat {
    margin-top: 5%;
}

#tancar_incidencia_llistat {
    background-color: #ffd400;
}

.botons_accions {
    width: 85%;
}

.grid-suport-dedicacio {
    font-size: smaller;
    text-align: center;
}

/*Estils fitxa incidència USUARI*/
.contenido_detalle {
    padding: 20px 20px 5px 20px;
}

.fitxa-detall {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

#navbarNav ul li {
    color: black !important;
}

.contingut-detall {
    height: 100%;
    width: 100%;
}

.btn-comentarios {
    margin: 20px;
    margin-top: 0px;
    margin-left: 0px;
}

.detail {
    max-height: 500px;
}

.comentarios {
    padding-top: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.info-propietari {
    color:gray;
}

.comentari {
    margin: 1%;
    padding: 1.5%;
    background-color: #fff3cd;
    border: 2px solid #ffeeba;
    border-radius: 25px;
}

#estat-tecnic {
    /* width: 130%; */
    margin-bottom: 5%;
    margin-left: 20%;
}

#dedicacio-detall {
    /* width: 130%; */
    margin-left: 20%;
}

#arxius-adjunts {
    width: 85%;
    /* margin-left: 11%; */
}

#arxius-adjunts-contingut {
    width: 100%;
}

.seccio-detall {
    font-style: italic;
    color: #666666;
}

.seccio-detall-dedicacio {
    color: #666666;
}

.formulari-pujar-arxius {
    width: 100%;
}

.pujar-arxius {
    width: 100%;
}

.arxiu {
    display: block;
    margin-bottom: 5%;
}

.boto-eliminar-arxiu {
    margin-left: 15%;
}

#arxiu {
    margin-bottom: 5%;
}

#contingut-comentari {
    display: inline;
    margin-bottom: 0%;
    margin-right: 5%;
}

.boto_color_principal, #tancar_incidencia_detall, .proposta_tancament {
    background-color: #ffd400;
}

.icona-comentari {
    height: 3%;
    width: 3%;
}

#tancar_incidencia_detall {
    /* margin-left: 5%; */
    /* width: 100%; */
    margin-top: 10%;
}

.eliminar_arxiu {
    height: 4%;
    width: 4%;
    margin-left: 3%;
}

.eliminar_comentari {
    height: 2%;
    width: 2%;
    float: right;
}

#opcions_capçalera {
    margin-left: 5%;
}

#proposta_tancament_incidencia_detall {
    /* width: 100%; */
    margin-top: 10%;
}

#anular_incidencia {
    width: 100%;
    margin-top: 0%;
}

#anular_incidencia_tecnic, #cantCancelBtn {
    /* width: 100%; */
    margin-top: 10px;
}

#proposta_tancament_incidencia_llistat, #assignar_incidencia_llistat {
    margin-top: 5%;
}

.botons_assignament_detall {
    display: inline;
}

#incidencia-facturable {
    margin-left: 15%;

}

#minuts-dedicacio {
    display: block;
}

#seccio-dedicacio {
    margin-top: 1rem;
}

#editar-incidencia {
    margin-right: 0.5%;
}

#notes-titol {
    margin-top: 10%;
}

#notes {
    height: 50% !important;
}

#guardar-notes {
    margin-top: 5%;
}

#tornar {
    float: right;
}

/*SEGUIMENT*/
#exportar {
    float: right;
}

.seguiment-option {
    margin-top: 15px;
}

#centre_suport {
    margin-bottom: 1%;
}

.taula-informe th:first-child, .taula-informe td:first-child {
    width: 20%;
}

.taula-informe td:first-child {
    text-align: left;
}

.taula-informe th:nth-child(2), .taula-informe td:nth-child(2) {
    width: 10%;
}

.taula-informe th:nth-child(3), .taula-informe td:nth-child(3) {
    width: 10%;
}

/*ADMINISTRACIO*/
.seccio-administrativa {
    margin-left: 5%;
}

.font-size-comentaris-assumpte{
    font-size: 1.275rem;
}

@media(max-width: 1421px) and (min-width: 768px){
    #assignar_altre_tecnic{
        margin-top: 10px;
    }
    #desassignar_incidencia_detall{
        margin-top: 10px;

    }
}

#assignar_incidencia_detall{
    padding: 5px;
}

#desassignar_incidencia_detall{
    padding: 5px;
}

.numero_incidencia{
    font-size: 16px;
}

.data_creacio_incidencia{
    font-size: 12px;
    margin: 0;
}

#documents_table tr{
    display: flex;
    align-items: center;
    height: 65px;
}

#documents_table tr td{
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: space-around;
    overflow-y: auto;
}

@media(max-width: 1600px){
    #my-incidences-actions{
        flex-direction: column;
        align-items: center;
    }
    .botons_accions{
        width: 60px;
    }
}

/* ENS select with search option style: */
.select2-selection__rendered {
    padding: 5px 10px;
}

.select2-selection__arrow {
    padding: 18px 10px;
}

.select2-selection {
    min-height: 38px;
}

.btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}