body {
    background-color: #fafafa;
}

.body-noscroll {
    overflow: hidden;
}

.contenidor {
    padding: 20px 10px;
    width: 95%;
    min-height: Calc(100vh - 70px - 70px);
    background-color: #fafafa;
    max-width: 1800px;
    margin: 0 auto;
}

.contenidortitol {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* ---------------------- Opcions ----------------------*/

.contenidoropcions {
    display: flex;
    flex-direction: row;
    margin: 50px 0 10px 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}


/* .contenidoropcions {
    display: flex;
    flex-direction: row;
    margin: 20px 0 10px 0;
    overflow-y: hidden;
    overflow-x: hidden;

} */

.contenidoropcions>* {
    flex-shrink: 0;
    /* Evita que els elements en el contenidor es redueixin en grandària */
}

.opcio {
    height: 40px;
    display: flex;
    margin-right: 10px;
    margin-top: 10px;
    border: 1px solid gray;
    padding: 5px 25px;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
}

.opcio:hover {
    background-color: #82b9ff;
    color: white;
}

.opciomarcada {
    border: 3px solid #2f8afe;
    color: white;
    background-color: #2f8afe;
}

@media (max-width: 900px) {

    .contenidoropcions {
        margin-top: 20px;
        overflow-x: auto;
        overflow-y: hidden;
        flex-direction: unset;
        flex-wrap: unset;
        justify-content: unset;
    }
}



/* ---------------------- Taules ----------------------*/
table,
th,
td {
    border: 1px solid #c7c7c7;
    padding: 10px;
}

table {
    margin-bottom: 10px;
}

.acctiontable {
    width: 100px;
}

.buttontable {
    width: 100%;
}

.contenidortaula {
    width: 100%;
    display: flex;
    flex-direction: column;
}

tr:nth-child(even) {
    background-color: #f1f1f1;
}

th {
    background-color: #e1e1e1;
}


/* ---------------------- Botons ----------------------*/
.btn.btn-primary {
    background-image: linear-gradient(132deg, #4c60ff 20%, #2b91fe);
}

.btn.btn-success {
    background-image: linear-gradient(132deg, #248859 20%, #339c24);
}

.btn.btn-secondary {
    background-image: linear-gradient(132deg, #646769 20%, #9da3a6);
}

.btn.btn-warning {
    color: white;
    background-image: linear-gradient(132deg, #efb300 20%, #ffc822);
}

.btn.btn-light {
    background-color: white;
    border: 1px solid #c7c7c7;
}

.btn.btn-danger {
    background-image: linear-gradient(132deg, #bd2636 20%, #d35764);
}

.btn.btn-light:active {
    background-color: white;
}

.btn.btn-light:hover {
    color: #575757;
}

#buttoncrear {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}


/* ---------------------- Login ----------------------*/
img.logologin {
    width: 250px;
    height: auto;
    margin: 20px auto;
}

/* ---------------------- Projecte ----------------------*/
.contenidormenuprojecte {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

#botoenrere {
    width: 12%;
}

#botomenuopcions {
    width: 42%;

}

@media screen and (max-width: 1000px) {

    .contenidor {
        min-height: Calc(100vh - 90px - 200px);
    }
}