.edv-tabs-container {
    width: 100%;
    margin: 5px auto;
}

.edv-tabs {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    padding: 0 !important;
    cursor: pointer;
    margin: 5px auto;
}

.edveduca-title-tab {
    font-size: 1.5rem;
    font-weight: bold;
}

.tab-link {
    font-size: 18px;
    padding: 0.5rem 4rem !important;
    background: #fff;
    color: #20264F;
    border: 1px solid #2687BD;
}

.tab-link:hover {
    background: #2687BD;
    color: #fff !important;
    font-weight: bold;
}

.tab-link.current {
    background: #2687BD;
    color: #ffffff !important;
    font-weight: bold;
}

.tab-content {
    display: none;
    border: 1px solid #ccc;
    background-color: #eee;
    padding: 10px;
    border-radius: 5px;
}

.tab-content.current {
    display: block;
}

.courses-grid,
.webinars-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
}

.courses-grid-head,
.webinar-grid-head {
    display: flex !important;
    border-bottom: 2px solid #ddd;
    justify-content: center;
    align-content: stretch;
}

.course-item,
.webinar-item,
.contacto-item {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
}

.course-item-detalle,
.course-item-formulario {
    border: 2px solid #ddd;
    padding: 15px 20%;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: auto;
    text-align: center;
}

.course-item img,
.webinar-item img {
    max-width: 33em;
    width: 100%;
    max-height: 10em;
    height: auto;
    margin-bottom: 10px;
}

.course-item-detalle img,
.webinar-item-detalle img {
    width: 433px;
    max-height: 15em;
    height: 150px;
    text-align: center;
}

.contacto-item-i {
    background-color: #91B728;
    padding: 50px;
}

.contacto-item-i p {
    font-size: 20px !important;
    font-weight: 600;
    color: #FFF !important;
}

.error-edveduca {
    font-size: 18px;
    background-color: red;
    color: white;
    padding: 12px;
}

.wpcf7-form-control {
    width: 75%;
}

.curso-fecnac {
    width: 53%;
}

.curso-dpto-hidden {
    display: none;
}

.wpcf7-select {
    border: 1px solid #ccc;
    padding: 3px;
    border-radius: 3px;
}

.wpcf7-seccion-submit-edveduca {
    width: 100% !important;
    text-align: center;
}

.wpcf7-seccion-submit-edveduca p {
    padding-bottom: 0px !important;
}

.btn-edveduca {
    border-color: #20264F #20264F #20264F !important;
    border-radius: 5px !important;
    background-color: #91B728 !important;
    color: rgb(255 255 255 / 80%) !important;
    padding: 10px !important;
    max-width: 100%;
    width: 32%;
    margin-top: 10px;
}

.wpcf7-submit-bt-edveduca {
    border-color: #20264F #20264F #20264F !important;
    border-radius: 5px !important;
    background-color: #91B728 !important;
    color: rgb(255 255 255 / 80%) !important;
    padding: 15px 10px !important;
    max-width: 100%;
    width: 33%;
    margin-left: 4.5rem;
    margin-top: 10px;
}

.btn-edveduca:hover,
.wpcf7-submit-bt-edveduca:hover {
    border-color: #91B728 #91B728 #91B728 !important;
    background-color: #20264F !important;
    color: #fff !important;
}

.wpcf7 .wpcf7-recaptcha iframe {
    min-height: auto;
}

.contacto-item-f .wpcf7 form .wpcf7-response-output {
    color: #fff;
}

.card-body-edveduca {
    padding: 0 0 0 2.5rem !important;
}

.card-section-edveduca {
    max-width: 100% !important;
    padding: 0 !important;
}

@media (max-width: 767.98px) {
    .edveduca-title-tab {
        font-size: 1.5em;
        font-weight: bold !important;
    }
    .edv-tabs {
        display: grid;
        justify-content: end;
        padding: 0 !important;
        cursor: pointer;
        margin: 1px auto;
    }
}

@media (max-width: 992px) {
    .tab-link {
        padding: 0.5rem 1rem 0.5rem 1rem !important;
    }
}