/* Botons Bootstrap dins del contingut de l'agenda */

.schedule-content .btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.schedule-content .btn-primary {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.schedule-content .btn-primary:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Botons Bootstrap WARNING (groc) */

.schedule-content .btn-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.schedule-content .btn-warning:hover {
    color: #000;
    background-color: #ffca2c;
    border-color: #ffc720;
}

.schedule-content .btn-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(217, 164, 6, 0.5);
}


/* Distribució de la imatge i el contingut de l'agenda */

.schedule-detail {
    display: flow-root;
}

.schedule-image {
    float: right;
    width: 40%;
    margin: 0 0 20px 25px;
}

.schedule-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* El contingut pot fluir al costat de la imatge */
.schedule-content {
    display: block;
    clear: none;
}

/* Els requadres informatius comencen sota la imatge */
.schedule-content > div[style*="background-color"] {
    clear: both;
}

/* Adaptació a mòbils */
@media (max-width: 767px) {
    .schedule-image {
        float: none;
        width: 100%;
        margin: 0 0 20px;
    }
}

/* Els requadres informatius no poden quedar sota la imatge */
.schedule-detail .schedule-content > div[style*="background-color"] {
    clear: both !important;
}