a.button {
    background-color: transparent;
    border: 2px solid #F59F54;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    width: 100%;
    min-height: 50px;
    display: block;
    text-align: center;
    padding: 5px;
    place-content: center;
    margin: 10px 0px;
}

h3.carousel-item-title,
p.carousel-item-content {
    background-color: rgb(236 140 69 / 48%) !important;
}

.btn-primary {
    color: #FFF;
    background-color: #822f31;
    font-size: 16px;
    font-weight: 600;
}

h5.card-title {
    color: #823031;
}

/*Bloque Ilustración y Botoneras*/
section.block_html {

    .card-text.content.mt-3 {
        margin-top: 0px !important;
    }
}

.block.block_carousel .carousel-item .carousel-caption {
    top: 20px;
    left: 20px;
    padding: 20px;
    width: 40%;
    margin: auto;
    text-align: left;
    position: absolute;
    z-index: 10;
    color: #fff;
}

.block_serveis {
    border-radius: 8px;
    padding: 20px;
    background: linear-gradient(90deg, rgba(130, 48, 49, 1) 0%, rgba(236, 140, 69, 1) 100%);

    h3 {
        font-size: 24px;
        color: #F59F54;
    }

    h4 {
        font-size: 18px;
        color: #F59F54;
    }

    button {
        background-color: transparent;
        border: 2px solid #F59F54;
        border-radius: 3px;
        font-size: 14px;
        font-weight: 600;
        color: white;
        width: 100%;
        min-height: 50px;
    }

    .filera {
        margin-bottom: 20px;
    }

    img {
        display: block !important;
        margin: 20px auto !Important;
    }
}

@media (max-width: 992px) {
    .block_serveis {
        button {
            margin-bottom: 20px;
        }

        h3 {
            margin-bottom: 20px;
        }

        img {
            display: none !important;
        }
    }
}

/*Marc Calvet 13-06-2024*/
/*Botons*/

.btn.btn-outline-secondary {
    color: #fff;
    background-color: #97444e;
    border-color: #97444e;
}

.activityiconcontainer {
    background: #b45a65 !important;
}

h3,
.h3 {
    color: #b45a65;
}

.tile-clickable {
    border-color: #b45a65 !important;
}

.format-tiles .sectiontitle::after,
.format-tiles .badge-info {
    background-color: rgb(180, 90, 101);
}

.format-tiles .course-content li.activity.label h1,
.format-tiles .course-content .section li.activity.label h2,
.format-tiles .course-content li.activity.label h3,
.format-tiles .course-content li.activity.label h4,
.format-tiles .editor_atto_content_wrap h1,
.format-tiles .editor_atto_content_wrap h2,
.format-tiles .editor_atto_content_wrap h3,
.format-tiles .editor_atto_content_wrap h4 {
    border-left-color: rgb(180, 90, 101);
}

/*El canvi del disseny per adaptar tota la plataforma als colors de la xarxa i fer-la més atractiva (i xarxa social)*/
.drawer {
    background-color: #f1eae7;
}

#page #page-content .block_html .card-body {
    padding: 0px !important;
}

body#page-site-index {
    .t4-section {
        background-color: #f1eae7;
        color: #333;
        padding: 20px;
        border-radius: 10px;
        margin-top: 40px;
    }

    h1.hero-title.aos-init.aos-animate {
        font-size: 56px;
        font-weight: 400;
        color: white;
        line-height: 70px;
        background-size: cover;
        background-position: center center;
        margin-bottom: 30px;
    }

    .btn-primary {
        color: #FFF;
        background-color: #a43f4c;
        font-weight: 600;
        font-size: 15px;
        font-weight: 400;
        padding: 1.125rem 2rem;
    }

    .btn-primary:hover {
        background-color: #8a333e;
    }

    .btn-secondary {
        color: white;
        background-color: #ef8903;
        border-color: #ef8903;
        font-weight: 600;
        font-size: 15px;
        font-weight: 400;
        padding: 1.125rem 2rem;
    }

    .btn-secondary:hover {
        background-color: #dd7d00;
        border-color: #dd7d00;
        color: white;
    }

    .hero-content .btn+.btn {
        margin-left: 20px;
    }
}

@media (max-width: 600px) {
    .defaulttemplate-list-body .row{
        flex-direction: column;
    }

    .defaulttemplate-list-body .row .col-4,
    .defaulttemplate-list-body .row div.col-8 {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0px !important;
    }

}

.core-discussionusername, .ion-text-wrap {
    color: #b45a65;
}

.sc-ion-label-md {
    margin-bottom: 1rem !important;
}