body{ margin: 0 0 50px 0 !important; }

textarea{
    resize: none;
}

/* Footer */
footer {
    position: fixed;
    border-top: 1px solid #d3e0e9;
    padding-top: 15px;
    height: 50px;
    bottom: 0;
    background-color: white;
    width: 100%;
    z-index: 100;
}

span.select2.select2-container{
    width: 100% !important;
}

a.fc-day-grid-event, div.fc-content{
    color: white !important;
    cursor: pointer;
}

td.fc-day, td.fc-widget-content{
    cursor: cell;
}

.card-header{
    font-weight: bold;
    font-size: 18px;
}

.card-header a{
    text-decoration: none;
    color:black;
}
.card-header a:hover{
    color: rgba(0, 0, 0, 0.6);
}

.container {
    max-width: 95%;
}

.buttons{margin: 30px 0 0 0;}

.taula{

    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
  }

  .taula>tbody>tr>td,
  .taula>tbody>tr>th,
  .taula>tfoot>tr>td,
  .taula>tfoot>tr>th,
  .taula>thead>tr>td,
  .taula>thead>tr>th
  {
    padding: 2px 0 2px 8px;
  }

  .taula-border,
  .taula-border>tbody>tr>td,
  .taula-border>tbody>tr>th,
  .taula-border>tfoot>tr>td,
  .taula-border>tfoot>tr>th,
  .taula-border>thead>tr>td,
  .taula-border>thead>tr>th
  {
    border: 1px solid black;
  }

.titol{
      background-color: grey;
      font-weight: bold;
    }

.subtitol{
    background-color: rgba(128, 128, 128, 0.3);
    font-weight: bold;
  }

.visites{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.visita{
    width:33.3%;
}

.visita2{
    justify-content: center;
    width:50%;
}

.item{
    text-align: center;
    font-size: 19px;
    background-color: rgba(0, 0, 0, 0.03);
    border: black solid 1px;
    margin: 20px;
    padding: 15px 0;
    border-radius: 20px;
    color: black;
    text-decoration: none;
    display: block;
}

.item:hover{
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: white;
    text-decoration: none;
}

.item2{
    text-align: center;
    font-size: 19px;
    background-color: #378bd8;
    border: #2266a5 solid 1px;
    margin: 20px;
    padding: 15px 0;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    display: block;
}

.item2:hover{
    background-color: #2266a5;
    cursor: pointer;
    color: white;
    text-decoration: none;
}

#adjunt, #elDocument{
    color : white;
    cursor: pointer;
}

/* Boto pujar a d'alt */
a.scroll-top {
    color: #fff;
    display: none;
    width: 30px;
    height: 30px;
    position: fixed;
    z-index: 1000;
    bottom: 60px;
    right: 30px;
    font-size: 20px;
    background: #222;
    border-radius: 3px !important;
    text-align: center;
    border: 1px solid hsla(0, 0%, 78%, 0.3)
}
a.scroll-top i {
    position: relative;
    top: 2px;
}

.accordion-titulo{
    cursor: pointer;
    border-bottom: 1px solid gainsboro;
  }

.accordion-content{
    display: none;
}

.accordion-content.open{
    display: block;
}

.fc-scroller{
    height: 75vh !important;
}

@media only screen and (min-width: 1500px) {
    .container {
        max-width: 80%;
    }
    .fc-scroller{
        height: auto !important;
    }
  }

@media only screen and (max-width: 800px) {
    .visita{
        width:50%;
        font-size: 18px;
    }

    .visita2{
        width:100%;
        font-size: 18px;
    }

    /* AGENDA */
    .fc-center h2{
        font-size: 18px !important;
    }

    .mb-xs-10{
        margin-bottom: 10px;
    }
  }

  @media only screen and (max-width: 500px) {
    .visita, .visita2{
        width:100%;
        font-size: 14px !important;
    }

    /* AGENDA */
    .fc-center h2{
        font-size: 14px !important;
    }
    .fc-scroller{
        height: 400px !important;
    }
  }
