/*
Theme Name: <hpcaTheme>
Description: Designed by Ruvic Soluciones Informáticas, S.L.
Author:  <Ruvic>
Author URI:  https://ruvic.es
Template: Divi
Version:  1
*/

@import url("../Divi/style.css");

/** COMUN **/
.error {
    color: darkred;
}
.small-info {
    font-size: 12px;
    color: #091166;
}
.bold {
    font-weight: 700;
}

/* ESTILO ADICIONAL PARA EL FORMULARIO EN DIVI */
.et_pb_contact_form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    /*background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);*/
}
.et_pb_contact_field {
    margin-bottom: 15px;
}
.et_pb_contact_field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.et_pb_contact_input {
    width: 100%;
}
.et_pb_contact_input input,
.et_pb_contact_input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
.et_pb_contact_submit {
    background-color: #0a126c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.et_pb_contact_submit:hover {
    background-color: #0a126c;
}
.et_pb_contact_image {
    margin-bottom: 15px;
}
.et_pb_contact_image img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
}
.et_pb_contact_field {
    margin-bottom: 20px;
}
.et_pb_contact_field label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.et_pb_contact_field input[type="text"],
.et_pb_contact_field input[type="email"],
.et_pb_contact_field input[type="password"],
.et_pb_contact_field input[type="url"],
.et_pb_contact_field input[type="date"],
.et_pb_contact_field input[type="file"],
.et_pb_contact_field textarea,
.et_pb_contact_field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.et_pb_contact_submit {
    background-color: #0a126c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.et_pb_contact_submit:hover {
    background-color: #0a126c;
}

/* ESTILO PAGINAS */
.recent-talks {
    margin: 20px 0;
}
.recent-talks table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}
.recent-talks table th, .recent-talks table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.recent-talks table th {
    background-color: #f4f4f4;
    color: #333;
}
.recent-talks table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.recent-talks table tr:hover {
    background-color: #f1f1f1;
}
.recent-talks table th, .recent-talks table td {
    padding: 12px;
}
.recent-talks table th {
    background-color: #0a126c;
    color: white;
}
.recent-talks h2 {
    font-size: 24px;
    margin-bottom: 15px;
}
.add-recent-talk {
    margin: 20px 0;
}
.add-recent-talk h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

/**** INTRANET ****/
.intranet.et_pb_contact_submit.et_pb_button {
    color: #ffffff;
    background-color: #091166;
    border-width: 0 !important;
    border-color: #091166;
    margin-left: 0;
}
.intranet.et_pb_contact_submit.et_pb_button.small {
    padding: 5px !important;
    font-size: 13px;
    line-height: 1em !important;
}
.intranet.et_pb_contact_cancel.et_pb_button {
    color: #ffffff;
    background-color: #aca0d7;
    border-width: 0 !important;
    border-color: #aca0d7;
    margin-left: 0;
    cursor: pointer;
}
.intranet.et_pb_contact_cancel.et_pb_button.small {
    padding: 5px !important;
    font-size: 13px;
    line-height: 1em !important;
}

/** BANNER **/
div#hpca-member-banner.et_pb_section.et_pb_section_0 {
    background-blend-mode: overlay;
    background-image: linear-gradient(135deg, #0a126c 0%, #aca0d7 100%), url(https://www.hpca.uji.es/wp-content/uploads/coding-background-texture.jpg) !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: inherit !important;
}
div#hpca-member-banner h1 {
    font-family: 'Rubik', Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 1.1em;
}

/** MENU PERFIL **/
#menuProfile ul {
    padding-left: 0 !important;
}
#menuProfile,
#menuProfile li {
    display: block !important;
}
#menuProfile li {
    margin: 0;
    width: 100%;
}
#menuProfile li a {
    /*padding: 10px 15px;*/
    display: block;
    font-weight: 600;
    color: rgba(0,0,0,0.6)!important;
    font-size: 16px;
    padding-bottom: 8px;
    line-height: 1em;
}

/** LOGIN FORM **/
#hpca-login-form #wp-submit {
    background-color: #0a126c;
    border-width: 0px !important;
    border-color: #0a126c;
    color: #ffffff;
}
#hpca-login-form #wp-submit:hover {
    background-color: rgba(172, 160, 215, 0.9);
    border-color: rgba(172, 160, 215, 0.9) !important;
    cursor: pointer;
}

/** PROFILE FORM **/
#hpca-profile-form .et_pb_contact_field_half {
    padding-right: 10px;
}
p.success,
div.success {
    color: rgb(86, 61, 207);
    background-color: rgba(172, 160, 215, 0.4);
    border: 1px solid rgba(172, 160, 215, 0.9);
    padding: 10px !important;
    text-align: center;
    margin-bottom: 40px;
}
p.error,
div.error {
    color: rgb(207, 61, 78);
    background-color: rgba(207, 61, 78, 0.4);
    border: 1px solid rgba(207, 61, 78, 0.9);
    padding: 10px !important;
    text-align: center;
    margin-bottom: 40px;
}
div.error ul {
    list-style: none;
    padding-bottom: 0;
}

/** TALKS PAGE **/
a.upload-talk {
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #0a126c;
}

/* Responsive */
@media only screen and (max-width: 981px) {
    #top-menu li a {
        font-size: 16px;
    }
}
@media only screen and (max-width: 1024px) {
    #top-menu li a {
        font-size: 15px;
    }
}