*,html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,tr,select,input{appearance: inherit; -moz-appearance: inherit; -webkit-appearance: inherit; background: transparent; border: none; border-radius: 0; margin: 0; outline: 0; padding: 0; text-decoration: none;}

/* ========== FUENTE ========== */
/*@font-face {font-family: MuseoSans; src: url(../aym_fonts/MuseoSans_500.otf);}
@font-face{font-family: MuseoBold; src: url(../aym_fonts/MuseoSans_900.otf);}
@font-face{font-family: MuseoLight; src: url(../aym_fonts/MuseoSans-100.otf);}*/

@font-face{font-family: 'Myriad'; src: url('/aym_fonts/MyriadHeadline.ttf') format('truetype'); font-weight: bold; font-style: normal;}
@font-face{font-family: 'Myriad'; src: url('/aym_fonts/MyriadRoman.ttf') format('truetype'); font-weight: normal; font-style: normal;}
@font-face{font-family: 'Myriad'; src: url('/aym_fonts/MyriadLight.otf') format('truetype'); font-weight: 300; font-style: normal;}

:root{--aym_tone_1 : #00457b; --aym_tone_2 : #228AC1; --aym_tone_3 : #003d82; --aym_tone_4 : #dc3545;}

/* ========== ResetCSS ========== */
* {margin: 0px; padding: 0px; transition: all .2s ease;}
body{color: #333; line-height: 1.6; background: #f5f7fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;} 
body a{text-decoration: none; color: inherit;}
body a:visited{color: inherit;}

/* ELIMIANR COLOR ACTIVE ENLACE*/
*{-webkit-tap-highlight-color: transparent !important; outline-color: transparent !important; outline-style: none !important;}
*:focus, *:active{outline-color: transparent !important; outline-style: none !important;}
*:focus *, *:active * {outline-color: inherit !important; outline-style: inherit !important;}
 
/* ======================== ESTILOS GENERALES ========================== */
main, header, footer {width: 100%; display: flex; flex-flow: column; align-items: center;}
main > section, header > section, footer > section, #aym_wrap_menu_footer > section {width: 90%; max-width: 1600px;}
header > section {display: flex; flex-flow: row nowrap; justify-content: space-between; align-items: flex-end;}
.aym_clear_fix{clear: both;}

h2 {margin-bottom: 20px; color: var(--aym_tone_1);}

/*Noticias relacionadas*/
.aym_content_document{position: relative}
.aym_content_document .aym_read_more a{position: absolute; width: 100%; left: 0; top: 0; bottom: 0; height: 100%; display: flex; justify-content: flex-end; align-items: end;}

/*Return*/

button.aym_return_back{display: none}
#aym_load_opacity {background: rgba(255, 255, 255, 0.7) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-sizing: border-box;height: 100vh; left: 0; position: fixed; top: 0; width: 100%; z-index: 10000; flex-direction: column; align-items: center; justify-content: center;display: flex;}
#aym_load_opacity[style*="display: block"], #aym_load_opacity[style*="display: block"] {display: flex !important;}
#aym_load_opacity img {display: none !important;}
#aym_load_opacity::after {content: ''; width: 50px; height: 50px; border: 4px solid rgba(0, 69, 130, 0.1); border-top: 4px solid var(--aym_tone_1); border-right: 4px solid var(--aym_tone_1); border-radius: 50%; animation: aym_load_spin 0.7s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;}
#aym_load_opacity::before {content: 'Cargando...'; margin-top: 15px; font-family: 'Myriad', sans-serif; color: var(--aym_tone_1); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;}

@keyframes aym_load_spin {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

/*ESTILOS INPUTS*/
input[type=text],input[type=password],input[type=date],input[type=datetime],input[type=email],input[type=number],input[type=search],input[type=tel],input[type=time],input[type=url],textarea,select{display: block; font-size: 1em; background: #fff; padding: 10px 15px; border: 0; width: 100% ; color: rgba(0, 0, 0, 0.7); -webkit-appearance: none; -moz-appearance: none; appearance: none; box-sizing: border-box;}
::placeholder {color: #858585;}
textarea {font-family: Myriad; font-weight: normal;}

/*ESTILOS RADIO Y CHECKBOX*/

.checkbox-custom, .radio-custom {opacity: 0; position: absolute;}
.checkbox-custom, .checkbox-custom-label, .radio-custom, .radio-custom-label {box-sizing: border-box; display: inline-block; vertical-align: middle; margin: 5px; cursor: pointer;}
.checkbox-custom-label, .radio-custom-label {position: relative;}
.checkbox-custom + .checkbox-custom-label:before, .radio-custom + .radio-custom-label:before {content: ''; background: #ccc; display: inline-block; vertical-align: middle; width: 15px; height: 15px; padding: 3px; margin-right: 5px; text-align: center;}
.checkbox-custom:checked + .checkbox-custom-label:before {background: var(--aym_tone_1);}
.checkbox-custom:checked + .checkbox-custom-label:after {content: ''; position: absolute; left: 6px; top: 6px; width: 3px; height: 6px; border: solid white; border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg);}

.radio-custom + .radio-custom-label:before {border-radius: 50%;}
.radio-custom:checked + .radio-custom-label:before {background: #003883;}

/*====================== MODAL OUT ====================*/
.aym_window-modal {width: 100% !important; height: 100% !important; position: fixed !important;}
.aym_window-wrapper {border-radius: 10px; border-color: var(--aym_tone_1) !important; ;}
.aym_window-content {height: 100% !important;}
.aym_window-content .aym_window-closebtn {border: 3px solid #fff; background: var(--aym_tone_1) !important; color: #fff !important; opacity: 1 !important; right: -20px; top: -20px !important;}
.aym_window-titlebox {border-color: var(--aym_tone_1) !important;}
.aym_window-actions .btnbox button {border: 3px solid #fff; background: var(--aym_tone_1) !important; color: #fff !important; opacity: 1 !important; right: -20px; top: -20px !important;}
.aym_window-actions .btnbox button:hover {border: 3px solid #fff; background: var(--aym_tone_2) !important; color: #fff !important; opacity: 1 !important; right: -20px; top: -20px !important;}

/*====================== FORMULARIOS ====================*/
.aym_form {flex-flow: column; width: 100%;}
.aym_form form {box-sizing: border-box; display: flex; justify-content: center; width: 100%;}
.aym_form form label {color: #333; font-weight: 500; font-size: 14px;}
.aym_form form label a {color: var(--aym_tone_1);}
.aym_form form h3 {color: var(--aym_tone_1); font-size: 1.2em; margin-bottom: 25px; padding: 0 !important;}
.aym_form form fieldset {background: rgba(0,0,0,0.06); border-bottom: 4px solid var(--aym_tone_2); border-radius: 5px; box-sizing: border-box; margin-bottom: 25px; padding: 30px; width: 100%;}
.aym_form form fieldset > div {padding-top: 15px; position: relative;}
.aym_form form fieldset > div .sho_pwd{background-image: url(/admin/aym_image/aym_icon/aym_hide_pass.png); background-position: center; background-size: 20px; background-repeat: no-repeat; border: none; cursor: pointer; height: 20px; position: absolute; padding: 0; right: 15px; top: 48px; width: 20px; opacity: 0.6; transition: opacity 0.3s; margin-top: 0;}
.aym_form form fieldset > div .sho_pwd:hover{opacity: 1;}
.aym_form form fieldset > div .sho_pwd:checked{background-image: url(/admin/aym_image/aym_icon/aym_show_pass.png);}
.aym_form form fieldset > div:first-child {padding-top: 0;}
.aym_form form fieldset .aym_two_column {-ms-display: grid; display: grid; grid-gap: 15px; grid-template-columns: repeat(2, 1fr);}
.aym_form form fieldset .aym_three_column {-ms-display: grid; display: grid; grid-gap: 15px; grid-template-columns: repeat(3, 1fr);}
.aym_form form input,
.aym_form form select {border: 1px solid #ddd; border-radius: 8px; height: 50px; margin-top: 8px; width: 100%; padding: 12px 15px; font-size: 15px; transition: all 0.3s;}
.aym_form form input:focus{outline: none; border-color: var(--aym_tone_3); box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);}
.aym_form form select {background: rgba(255,255,255,.9) url('/aym_image/aym_ico/aym_flecha.png') right 0.8em center/1rem no-repeat;}
.aym_form form input[type=submit] {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_2) 100%); border: none; border-radius: 8px; color: #fff; cursor: pointer; font-size: 16px; font-weight: 600; height: auto; margin: 0; padding: 15px; transition: all .5s linear; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; width: 100%; box-shadow: 0 4px 8px rgba(0, 61, 130, 0.2);}
.aym_form form input[type=submit]:hover{background: linear-gradient(135deg, var(--aym_tone_2) 0%, var(--aym_tone_3) 100%); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 61, 130, 0.3); transition: all .5s linear}
.aym_form form input[type=submit]:active{transform: translateY(0);}
.aym_form form textarea {border-radius: 5px; height: 100px; margin-top: 10px; resize: none;} 
.aym_form form .aym_link {color: var(--aym_tone_1); display: flex; flex-direction: column; gap: 12px; font-weight: normal; margin: 25px 0;}
.aym_form form .aym_link a{font-size: 14px; font-weight: 500; transition: color 0.3s;}
.aym_form form .aym_link a:hover{color: var(--aym_tone_2); text-decoration: underline;}
.aym_form form .aym_text_required {align-items: center; display: flex; justify-content: center; font-size: .75em;}
.aym_form form .aym_termins_google {align-items: center; display: flex; justify-content: center; font-size: .75em;}
.aym_form form .aym_termins_google a{color: var(--aym_tone_1); font-size: 14px; font-weight: 500; transition: color 0.3s;}
.aym_form form .aym_submit {align-items: center; display: flex; justify-content: center; margin-top: 10px;}
.aym_form form .aym_center {display: flex; justify-content: center;}

/* Estilos específicos para formulario de login */
#frm_login_out {max-width: 480px; margin: 0 auto;}
#frm_login_out fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_login_out h2,
#frm_login_out h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_login_out fieldset > div {margin-bottom: 25px; padding-top: 0;}
#frm_login_out input[type="email"],
#frm_login_out input[type="password"] {padding-right: 45px;}
#frm_login_out .aym_link::before {content: ''; display: block; width: 100%; height: 1px; background: #ddd; margin: 10px 0;}
#frm_change_pass {max-width: 480px; margin: 0 auto;}
#frm_change_pass fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_change_pass h2,
#frm_change_pass h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_change_pass fieldset > div {margin-bottom: 25px; padding-top: 0;}
#frm_change_pass input[type="email"],
#frm_change_pass input[type="password"] {padding-right: 45px;}
#frm_change_pass .aym_link::before {content: ''; display: block; width: 100%; height: 1px; background: #ddd; margin: 10px 0;}
#frm_forgot_my_password {max-width: 480px; margin: 0 auto;}
#frm_forgot_my_password fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_forgot_my_password h2,
#frm_forgot_my_password h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_forgot_my_password fieldset > div {margin-bottom: 25px; padding-top: 0;}
#frm_forgot_my_password input[type="email"],
#frm_forgot_my_password input[type="password"] {padding-right: 45px;}
#frm_forgot_my_password .aym_link::before {content: ''; display: block; width: 100%; height: 1px; background: #ddd; margin: 10px 0;}
#frm_verify_code {max-width: 480px; margin: 0 auto;}
#frm_verify_code fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_verify_code h2,
#frm_verify_code h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_verify_code p {text-align: center; color: #555; line-height: 1.6; margin-bottom: 30px;}
#frm_verify_code .aym_frm_six_col {display: flex; justify-content: space-between; gap: 10px; margin-bottom: 30px;}
#frm_verify_code .aym_frm_six_col > div {flex: 1;}
#frm_verify_code .aym_frm_six_col input {width: 100%; height: 60px; text-align: center; font-size: 28px; font-weight: 800; border: 2px solid #ddd; border-radius: 10px; background: #f9f9f9; transition: all 0.3s; color: var(--aym_tone_3);}
#frm_verify_code .aym_frm_six_col input:focus {border-color: var(--aym_tone_3); background: #fff; box-shadow: 0 0 0 4px rgba(0, 61, 130, 0.1); outline: none;}
#frm_verify_code .aym_frm_six_col input.error {border-color: #ff4d4d; color: #ff4d4d;}
#frm_restore_pass {max-width: 480px; margin: 0 auto;}
#frm_restore_pass fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_restore_pass h2,
#frm_restore_pass h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_restore_pass fieldset > div {margin-bottom: 25px; padding-top: 0;}
#frm_restore_pass input[type="email"],
#frm_restore_pass input[type="password"] {padding-right: 45px;}
#frm_restore_pass .aym_link::before {content: ''; display: block; width: 100%; height: 1px; background: #ddd; margin: 10px 0;}

/* Estilos específicos para formulario de validación de usuario */
#frm_validate_user {max-width: 480px; margin: 0 auto;}
#frm_validate_user .aym_frm_content {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_validate_user h2,
#frm_validate_user h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_validate_user .aym_wrap_field {margin-bottom: 25px; padding-top: 0;}
#frm_validate_user input[type="text"],
#frm_validate_user input[type="email"] {padding: 14px 15px;}
#frm_validate_user .aym_link {margin-top: 20px;}
#frm_validate_user .aym_link::before {content: ''; display: block; width: 100%; height: 1px; background: #ddd; margin: 10px 0;}
#frm_validate_user .aym_link a {display: block; text-align: center;}

/* Estilos específicos para formulario de contacto */
#frm_contact {max-width: 600px; margin: 0 auto;}
#frm_contact fieldset {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.15); border: none; border-bottom: none;}
#frm_contact h2,
#frm_contact h3 {text-align: center; font-size: 28px; color: var(--aym_tone_3); margin: 0 0 30px 0; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
#frm_contact fieldset > div {margin-bottom: 25px; padding-top: 0;}
#frm_contact input[type="text"],
#frm_contact input[type="email"],
#frm_contact input[type="tel"] {padding: 14px 15px;}
#frm_contact .aym_frm_textarea {margin-bottom: 25px;}
#frm_contact textarea {border: 1px solid #ddd; border-radius: 8px; padding: 14px 15px; font-size: 15px; transition: all 0.3s; width: 100%; box-sizing: border-box; margin-top: 8px; min-height: 120px; resize: vertical;}
#frm_contact textarea:focus {outline: none; border-color: var(--aym_tone_3); box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);}
#frm_contact .aym_frm_submit {margin-top: 30px; text-align: center;}
#frm_contact .aym_button.aym_type_4 {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_2) 100%); border: none; border-radius: 8px; color: #fff; cursor: pointer; font-size: 16px; font-weight: 600; height: auto; padding: 15px 50px; transition: all 0.3s; text-align: center; text-transform: uppercase; letter-spacing: 0.5px; width: 100%; box-shadow: 0 4px 8px rgba(0, 61, 130, 0.2); max-width: 250px;}
#frm_contact .aym_button.aym_type_4:hover {background: linear-gradient(135deg, var(--aym_tone_2) 0%, var(--aym_tone_3) 100%); transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 61, 130, 0.3);}
#frm_contact .aym_button.aym_type_4:active {transform: translateY(0);}

.aym_radio_content {align-items: center; display: flex; height: 50px; justify-content: flex-start; margin-top: 10px;}
.aym_radio_content span {align-items: center; display: flex; height: 50px; justify-content: center; padding: 0 10px;}
.aym_radio_content input[type=radio] {height: 0; width: 0;}

.aym_check_content {align-items: center; display: flex;}
.aym_check_content input[type=checkbox] {height: 0; width: 0;}
.aym_validate_form {border: 2px solid var(--aym_tone_4) !important; border-color: var(--aym_tone_4);}
#aym_frm_search select#cat_nam {background: rgba(255,255,255,.9) url('/aym_image/aym_ico/aym_flecha.png') right 0.8em center/1rem no-repeat; /*border-left: 1px solid var(--aym_tone_1); /*border-top: 2px solid var(--aym_tone_1); */ padding: 10px 15px; position: relative; width: 150px;} 
#aym_frm_search input[type="text"].aym_validate_search  {border-color: var(--aym_tone_2);}
#aym_frm_search input[type="text"].aym_validate_search + input[type="submit"]  {background: var(--aym_tone_2) !important;}
.aym_validate_form.valid {border: none !important;}
.aym_validate_form::placeholder {opacity: 1;}
.aym_validate_search::placeholder {color: var(--aym_tone_2); opacity: 1;}

.aym_check_content {display: flex; align-items: center;}
.aym_check_content label {font-size: .9em; margin-left: 5px; padding-bottom: 0;}
.aym_check_content input[type=checkbox] {max-width: 25px !important; margin: 0; margin-right: 15px; width: 25px; opacity: 1; height: 25px; padding: 8px; position: relative; background-color: #ccc;}
.aym_check_content input[type=checkbox]:checked {background: var(--aym_tone_1); border-color: #fff; z-index: 5;}
.aym_check_content input[type=checkbox]:checked:after {background: #fff; content: ''; height: 2px; left: 8px; position: absolute; top: 10px; transform: rotate(-53deg); width: 15px !important;}
.aym_check_content input[type=checkbox]:checked:before {background: #fff; content: ''; height: 2px; left: 4px; position: absolute; top: 13px; transform: rotate(40deg); width: 9px !important;}

.aym_check_content input[type=radio] {max-width: 25px !important; margin: 0; margin-right: 15px; width: 25px; opacity: 1; height: 25px; padding: 8px; position: relative; background-color: #ccc;}
.aym_check_content input[type=radio]:checked {background: var(--aym_tone_1); border-color: #fff; z-index: 5;}
.aym_check_content input[type=radio]:checked:after {background: #fff; content: ''; height: 2px; left: 8px; position: absolute; top: 10px; transform: rotate(-53deg); width: 15px !important;}
.aym_check_content input[type=radio]:checked:before {background: #fff; content: ''; height: 2px; left: 4px; position: absolute; top: 13px; transform: rotate(40deg); width: 9px !important;}

.aym_wrap_input_radio:has(input[type=radio].error.aym_validate_form){border: 2px solid var(--aym_tone_4) !important; border-color: var(--aym_tone_4);}

/*ESTILOS PAGINADOR*/

.aym_wrap_paginador {display: flex; justify-content: center; margin-bottom: 15px;}
.aym_wrap_paginador a {display: inline-flex;}
.aym_wrap_paginador .aym_pagina {border: 1px solid var(--aym_tone_1); cursor: pointer; margin: 0 2px; padding: 5px 10px;}
.aym_wrap_paginador .aym_pagina:hover, .aym_wrap_paginador .aym_pagina_active {background: var(--aym_tone_1); border: 1px solid var(--aym_tone_1); color: #fff; cursor: pointer; margin: 0 2px; padding: 5px 10px;}

/*TABLAS*/

table {width: 100% !important;}
table tr td {padding: 3px;}

/* ======================== HEADER MODERNIZADO ========================== */
/* Alerta de renovación */
.aym_link_renovate {display: block; position: fixed; width: 100%; top: 0; z-index: 111; background: #5487BE;}
.aym_link_renovate * {transition: unset;}
#aym_renovate_header {box-sizing: border-box; display: flex; justify-content: center; top: 0; z-index: 21; width: 90%; max-width: 1600px; margin: auto; position: relative;}
#aym_renovate_header > div {display: flex; color: #fff; padding: 15px 0; width: 50%;}
#aym_renovate_header .aym_left_renovate {background: #5487BE; flex-flow: column; justify-content: center; margin-left: 40px}
#aym_renovate_header .aym_right_renovate {align-items: center; background: #5487BE; justify-content: center;}
#aym_renovate_header .aym_right_renovate .aym_italic{text-align: center; width: 50%; font-size: 1.8em}
#aym_renovate_header .aym_right_renovate .aym_bold {padding-left: 5px; font-size: 2.5em; margin-top: 27px}
#aym_renovate_header .aym_right_renovate .aym_bold:after {content: 'HASTA'; font-size: .48em; left: 5px; position: absolute; top: -30px;}
.aym_italic {font-size: 1.5em; font-style: italic; font-weight: 100; position: relative;}
.aym_bold {font-size: 2em; font-style: normal; position: relative;}
.aym_close {border: 1px solid #fff; border-radius: 50%; color: #fff; cursor: pointer; display: flex ; height: 20px; justify-content: center; position: absolute; right: -5px; top: 0; width: 20px; z-index: 1000; bottom: 0; margin-top: auto; margin-bottom: auto}
.aym_link_renovate img {position: absolute; height: auto; width: 25px; left: 10px; top: 0; bottom: 0; margin-top: auto; margin-bottom: auto;}

/* Header Principal */
header {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_1) 100%); box-shadow: 0 2px 20px rgba(0, 61, 130, 0.15); height: 90px; padding-bottom: 0; position: fixed; top: 0; width: 100%; z-index: 100; transition: all 0.3s ease;}
header.scrolled {height: 70px; box-shadow: 0 4px 30px rgba(0, 61, 130, 0.2);}
#aym_wrap_header {align-items: center; padding: 0 30px; position: relative; display: flex; justify-content: space-between; height: 100%;}

/* Logo */
#aym_wrap_header .aym_logo {z-index: 101; transition: all 0.3s;}
#aym_wrap_header .aym_logo img {height: 70px; transition: all 0.3s; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));}
header.scrolled #aym_wrap_header .aym_logo img {height: 55px;}

/* Menú Desktop */
#aym_wrap_header .aym_menu {font-family: Myriad; display: flex; align-items: center; gap: 5px;}
#aym_wrap_header .aym_menu a {color: rgba(255, 255, 255, 0.9); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; padding: 10px 20px; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s; position: relative; border-radius: 50px; border-bottom: none; height: 40px; box-sizing: border-box;}
#aym_wrap_header .aym_menu a::before {content: ''; position: absolute; bottom: 5px; left: 18px; right: 18px; height: 2px; background: rgba(255, 255, 255, 0.9); transform: scaleX(0); transition: transform 0.3s; display: none;}
#aym_wrap_header .aym_menu a:hover {background: rgba(255, 255, 255, 0.1); color: #fff;}
#aym_wrap_header .aym_menu a:hover::before,#aym_wrap_header .aym_menu a.aym_menu_active::before {transform: scaleX(1);}
#aym_wrap_header .aym_menu a.aym_menu_active {color: #fff; background: rgba(255, 255, 255, 0.15); font-weight: bold;}

/* Login Desktop */
#aym_wrap_header .aym_login {display: flex; align-items: center; gap: 5px; margin: 0; padding: 0; background: transparent; border: none; backdrop-filter: none;}
#aym_wrap_header .aym_login a {color: rgba(255, 255, 255, 0.9); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; padding: 10px 20px; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s; position: relative; border-radius: 50px; height: 40px; box-sizing: border-box; white-space: nowrap;}
#aym_wrap_header .aym_login_responsive {display: none;}
#aym_wrap_header .aym_login a:hover {background: rgba(255, 255, 255, 0.1); color: #fff;}
/*#aym_wrap_header .aym_login .aym_login_out {background: transparent url('/aym_image/aym_ico/aym_user.png') no-repeat left center / 20px; padding: 5px 5px 5px 28px; display: flex; align-items: center; gap: 8px;}
#aym_wrap_header .aym_login_responsive .aym_login_out {background: transparent url('/aym_image/aym_ico/aym_user.png') no-repeat right center / 25px 25px;}*/

/* Icono Móvil */
#aym_wrap_header .aym_mobile_icon {order: 3; display: none;}

/* SEARCH IN HEADER */
#aym_header_search_container {flex-grow: 1; display: flex; justify-content: center; align-items: center; margin: 0 20px; max-width: 500px;}
#aym_header_search_container .aym_search {width: 100%;}
#aym_header_search_container .aym_search form {display: flex; width: 100%; background: rgba(255, 255, 255, 0.15); border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2); overflow: hidden; transition: all 0.3s; box-shadow: none;}
#aym_header_search_container .aym_search form:focus-within {background: rgba(255, 255, 255, 0.25); border-color: rgba(255, 255, 255, 0.5); box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);}
#aym_header_search_container input[type="text"] {background: #fff; border: none; color: var(--aym_tone_1); padding: 10px 20px; width: 100%; font-size: 14px; height: 40px; box-shadow: none; border-radius: 0;}
#aym_header_search_container input[type="text"]::placeholder {color: var(--aym_tone_1);}
#aym_header_search_container input[type="text"]:focus {outline: none; box-shadow: none;}
#aym_header_search_container button[type="submit"] {background: #fff; border: none; color: var(--aym_tone_1); padding: 0 15px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; height: 40px; width: auto; min-width: auto;}
#aym_header_search_container button[type="submit"]:hover {color: var(--aym_tone_2); transform: scale(1.1);}

#aym_wrap_search, #aym_btn_search {display: none !important;}

/* Menú Mobile */
#aym_mobile {background: linear-gradient(180deg, rgba(0,61,130,.98) 0%, rgba(0,69,123,.98) 100%); box-sizing: border-box; display: none; height: calc(100vh - 90px); left: 0; position: fixed; text-transform: uppercase; top: 90px; width: 100%; z-index: 95; overflow-y: auto; padding: 20px 0; backdrop-filter: blur(10px);}
#aym_mobile a {border: none; border-bottom: 1px solid rgba(255,255,255,0.1); box-sizing: border-box; color: rgba(255, 255, 255, 0.9); cursor: pointer; display: block; font-size: 14px; font-weight: 500; margin: 0; padding: 18px 30px; transition: all 0.3s; width: 100%; letter-spacing: 0.5px;}
#aym_mobile a:hover {background: rgba(255, 255, 255, 0.15); color: white; padding-left: 40px;}
#aym_mobile a.aym_menu_active {background: rgba(255, 255, 255, 0.1); color: white; font-weight: 600;}

/* Clase para renovar */
.aym_click_renovate {background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%) !important; padding: 10px 20px !important; position: relative; animation: custom_pulse 2s infinite; border-radius: 50px; color: #fff !important; font-weight: bold !important; box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); display: flex !important; align-items: center; gap: 8px; border: none !important;}
.aym_click_renovate i {font-size: 1.2em; animation: ring 4s .7s ease-in-out infinite; transform-origin: 50% 4px;}
.aym_click_renovate:hover {transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 71, 87, 0.6);}

@keyframes custom_pulse {
	0% {box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);}
	70% {box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);}
	100% {box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);}
}

@keyframes ring {
  0% {transform: rotate(0);}
  1% {transform: rotate(30deg);}
  3% {transform: rotate(-28deg);}
  5% {transform: rotate(34deg);}
  7% {transform: rotate(-32deg);}
  9% {transform: rotate(30deg);}
  11% {transform: rotate(-28deg);}
  13% {transform: rotate(26deg);}
  15% {transform: rotate(-24deg);}
  17% {transform: rotate(22deg);}
  19% {transform: rotate(-20deg);}
  21% {transform: rotate(18deg);}
  23% {transform: rotate(-16deg);}
  25% {transform: rotate(14deg);}
  27% {transform: rotate(-12deg);}
  29% {transform: rotate(10deg);}
  31% {transform: rotate(-8deg);}
  33% {transform: rotate(6deg);}
  35% {transform: rotate(-4deg);}
  37% {transform: rotate(2deg);}
  39% {transform: rotate(-1deg);}
  41% {transform: rotate(1deg);}
  43% {transform: rotate(0);}
  100% {transform: rotate(0);}
}

.aym_title_fixed {margin: auto; max-width: 1600px; width: 100%;}
.aym_wrap_content_search .aym_title_fixed {margin: auto; max-width: 1600px; width: 75%;}

/*HEADER PAY*/
#aym_wrap_header_pay {box-shadow: 0 -3px 10px rgba(0,0,0,0.4); height: auto; padding-bottom: 0; z-index: 44;}
#aym_wrap_header_pay #aym_wrap_logo {padding: 10px;}
#aym_wrap_header_pay #aym_wrap_logo img{height: auto; max-width: 200px;}
#aym_wrap_header_pay #aym_wrap_header {padding: 5px 0;}

#aym_wrap_body_pay .aym_wrap_info_pay.last {padding: 20px 0 !important;}
#aym_wrap_body_pay .aym_form form fieldset {padding: 15px;}
#aym_wrap_body_pay .aym_wrap_content {margin: 0;}
/* ======================== MAIN ========================== */
main {margin-top: 90px; transition: unset;}
main.aym_fixed {margin-top: 90px !important; transition: unset;}

main > section {margin: 40px 0;}
#aym_main_home > section {margin-top: 0 !important;}

#aym_wrap_banner_home {margin: 0; max-width: none; width: 100%;}
#aym_wrap_banner_home img {display: block; width: 100%;}

/*HOME CONTENT*/
#aym_wrap_content {-ms-display: grid; display: grid; grid-gap: 20px; grid-template-columns: 70% 30%; box-sizing: border-box; margin-top: 0!important;}
#aym_wrap_content *{box-sizing: border-box;}
#aym_wrap_content .aym_wrap_content_document {box-sizing: border-box; margin-top: 90px; padding: 0 15px; transition: unset;}
#aym_wrap_content .aym_wrap_content_document.aym_fixed {margin-top: 0;}
#aym_wrap_content .aym_title_news {margin-bottom: 0; padding: 10px 0;}
#aym_wrap_content #aym_head_news.aym_fixed_after {background: #fff; box-shadow: 0 -3px 10px rgba(0,0,0,0.4); left: 0; position: fixed; transition: unset; top: 320px; width: 100%; z-index: 2;}
.aym_wrap_content_search #aym_head_news.aym_fixed_after {background: #fff; box-shadow: 0 -3px 10px rgba(0,0,0,0.4); left: 0; position: fixed; transition: unset; top: 200px; width: 100%; z-index: 2;}
#aym_wrap_content #aym_head_news.aym_fixed_before {background: #fff; box-shadow: 0 -3px 10px rgba(0,0,0,0.4); left: 0; position: fixed; top: 167px; width: 100%; z-index: 2;}
.aym_wrap_content_search #aym_head_news.aym_fixed_before {background: #fff; box-shadow: 0 -3px 10px rgba(0,0,0,0.4); left: 0; position: fixed; top: 166px; width: 100%; z-index: 2;}
/* #aym_wrap_content  * {transition: unset;} */
#aym_wrap_content .aym_title_news,
#aym_wrap_content .aym_title_document {align-items: center; display: flex; flex-flow: row wrap; justify-content: space-between;}
#aym_wrap_content .aym_title_news > div{align-items: center; display: flex; flex-flow: row wrap; justify-content: space-between; width: 100%;}
#aym_wrap_content .aym_title_news.aym_fixed_after > div{align-items: center; display: flex; flex-flow: row wrap; justify-content: space-between; margin-left: 8%; width: 59%;}
/*.aym_fixed #aym_wrap_content .aym_title_news > div{align-items: center; display: flex; flex-flow: row wrap; justify-content: space-between; margin-left: 8%; width: 59%;}*/
#aym_wrap_content .aym_title_news h2 {background: transparent url('/aym_image/aym_ico/noticia.png') no-repeat 5px center / 40px; padding: 10px 0; padding-left: 50px; text-transform: uppercase;}
#aym_wrap_content .aym_title_news .aym_btn_news {display: flex; margin-left: 20px;}

#aym_wrap_content .aym_title_news .aym_btn_news a {align-items: center; border: 1px solid #e0e0e0; border-radius: 50px; display: flex; font-family: 'Myriad', sans-serif; justify-content: center; margin: 0 8px; padding: 10px 25px; background: #fff; color: #555; font-weight: 600; font-size: 0.9em; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.05);}
#aym_wrap_content .aym_title_news .aym_btn_news a:hover {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_1) 100%); border-color: transparent; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0, 61, 130, 0.2);}
#aym_wrap_content .aym_title_news .aym_btn_news a i {margin-right: 10px; font-size: 1.1em;}
#aym_wrap_content .aym_title_document h2 {background: transparent url('/aym_image/aym_ico/lapiz.png') no-repeat 5px center / 40px; margin: 0; padding: 10px 0; padding-left: 50px; text-transform: uppercase;}

/* RUTAS */
.mapcontainer{width: 70%; margin: auto}
.mapcontainer svg{width: auto}
.mapcontainer .map{position: relative; text-align: center}
.mapcontainer .zoomButton{display: none}
.mapTooltip{left: 43%; top: 50%; background: white; position: absolute; padding: 5px; border-radius: 10px;}

/*NEWS*/
#aym_wrap_content .aym_grid_news {-ms-display: grid; display: grid; box-sizing: border-box; grid-gap: 20px; grid-template-columns: 2fr 1fr; /*grid-template-rows: repeat(12, 100px); */}
#aym_wrap_content .aym_grid_news article {border: 1px solid #ccc; border-bottom: 3px solid var(--aym_tone_2); box-sizing: border-box; background: white;} 
#aym_wrap_content .aym_grid_news article:first-child {background: rgba(0,0,0,0.04); border: none; position: relative;} 
#aym_wrap_content .aym_grid_news article:first-child time {padding-bottom: 10px; padding-right: 50px;} 
#aym_wrap_content .aym_grid_news article:first-child::after {background: #fff; border-color: transparent transparent transparent var(--aym_tone_2); border-style: solid; border-width: 40px 0 0 40px; content: ''; height: 0; position: absolute; right: -1px; top: -1px; width: 0;} 
#aym_wrap_content .aym_grid_news article:nth-child(odd) {height: 100%; grid-row: span 2; grid-column: 1;} 
#aym_wrap_content .aym_grid_news article:nth-child(even) {height: 100%; grid-row: span 3; grid-column: 2;} 
#aym_wrap_content .aym_grid_news article:nth-child(7) {height: 100%; grid-row: 7 / span 2;} 
#aym_wrap_content .aym_grid_news article:nth-child(9) {height: 100%; grid-row: 9 / span 2;} 
#aym_wrap_content .aym_grid_news article:nth-child(10) {height: 100%; grid-row: 11 / span 2; grid-column: 1;} 

.aym_content_news a{padding: 15px; display: flex; flex-flow: column; height: 100%; justify-content: space-between;}
.aym_content_news time {display: block; font-family: Myriad; text-align: right;}
.aym_content_news h3 {text-transform: uppercase;}
.aym_content_news div > span {font-style: normal; font-size: 1.2em;}
.aym_content_news p {box-sizing: border-box; font-family: Myriad; font-size: 1.125em; padding: 20px 0; text-align: justify;}
.aym_content_news .aym_read_more {padding-top: 10px; text-align: right;}
.aym_content_news .aym_read_more span {background: var(--aym_tone_3); color: #fff; padding: 10px 25px; border-radius: 50px; font-size: 0.9em; font-weight: 600; display: inline-block; transition: all 0.3s;} 
.aym_content_news a:hover .aym_read_more span {background: var(--aym_tone_2); box-shadow: 0 4px 15px rgba(0,0,0,0.2); transform: translateY(-2px);} 

/*DOCUMENTS*/
#aym_wrap_content .aym_grid_document {align-items: center; box-sizing: border-box; display: flex; flex-flow: column;}
#aym_wrap_content .aym_grid_document article {box-sizing: border-box; padding: 20px 0;}
 
.aym_content_document {border-bottom: 1px solid #CCC; box-sizing: border-box; display: flex; flex-flow: row nowrap; width: 100%;}
.aym_content_document:last-child {border-bottom: none; display: flex; flex-flow: row nowrap;}
.aym_content_document .aym_number_document{position: relative; width: 30%; height: 100px; display: flex; justify-content: center; align-items: center;}
.aym_content_document .aym_number_document:before{content: ''; height: 100%; position: absolute; left: 0; top: 0; width: 50%;}
.aym_content_document .aym_number_document:after{content: ''; height: 100%; position: absolute; right: 0; top: 0; width: 50%; background: rgba(0,0,0,0.03);}
.aym_content_document .aym_number_document span {font-size: 3em;}
.aym_content_document .aym_number_document span strong{color: var(--aym_tone_2);}
.aym_content_document .aym_descript_document{border-left: 2px solid var(--aym_tone_1); box-sizing: border-box; width: 100%; padding: 10px 15px;}
.aym_content_document .aym_descript_document h4 {color: var(--aym_tone_1);}
.aym_content_document .aym_descript_document span {display: inline-block; font-size: 1.125em; text-align: justify;}
.aym_content_document .aym_descript_document .aym_read_more {margin: 10px 0; text-align: right;}
.aym_content_document .aym_descript_document .aym_read_more span {color: var(--aym_tone_1); padding: 0 5px;}
.aym_content_document .aym_descript_document .aym_read_more span:hover {background: var(--aym_tone_1); color: #FFF;}

.aym_request_link {box-sizing: border-box; -ms-display: grid; display: grid; grid-gap: 20px; grid-template-columns: repeat(1, 1fr); grid-template-rows: repeat(1, 1fr);}
.aym_request_link a {align-items: center; border-radius: 5px; box-sizing: border-box; display: flex; flex-flow: row wrap; font-weight: bold; justify-content: center; padding: 15px 10px; padding-right: 30px; text-align: center; text-transform: uppercase;}
.aym_request_link a.oferta {background: rgba(0,0,0,0.1) url('/aym_image/aym_ico/lista.png') no-repeat right 7px center / 30px; color: var(--aym_tone_1);}
.aym_request_link a.clave {background: rgba(0,0,0,0.1) url('/aym_image/aym_ico/candado.png') no-repeat right 7px center / 30px; color: var(--aym_tone_1);}
.aym_request_link a.aym_buy {background: var(--aym_tone_1) linear-gradient(to right, var(--aym_tone_1) 0%, rgba(255,255,255,.4) 50%,var(--aym_tone_1) 100%); color: #fff; grid-row: 3 / span 2; grid-column: span 1; padding: 20px 0;}
.aym_request_link a.aym_buy span {background: transparent url('/aym_image/aym_ico/carrito-comprador.png') no-repeat left 15px center / 60px; display: flex; flex-flow: column; height: 100%; justify-content: center; padding: 20px 0; font-weight: lighter; width: 100%;}
.aym_request_link a.aym_buy span strong {font-size: 1.5em;}

.aym_request_link a.aym_buy.aym_login_buy span {background: transparent url('/aym_image/aym_ico/carrito-comprador.png') no-repeat left 15px center / 60px; display: flex; flex-flow: column; height: 100%; justify-content: center; padding: 20px 0; font-size: 1.2em; font-weight: lighter; width: 100%;}

/* ======================== FOOTER ========================== */
footer {margin-top: 60px; background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%); border-top: 1px solid #e0e0e0;}
/*MENU FOOTER*/
#aym_wrap_menu_footer {background: white; box-sizing: border-box; display: grid; width: 100%; justify-content: center; font-family: Myriad; padding: 20px 0;}
#aym_wrap_menu_footer section {box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 15px; max-width: 1600px; width: 100%; justify-content: center; align-items: center;}
#aym_wrap_menu_footer a {box-sizing: border-box; color: #666; display: inline-block; padding: 12px 20px; text-transform: capitalize; font-size: 14px; font-weight: 500; transition: all 0.3s; position: relative; border-radius: 6px; border-bottom: 0 !important;}
#aym_wrap_menu_footer a::after {content: ''; position: absolute; bottom: 8px; left: 20px; right: 20px; height: 2px; background: var(--aym_tone_3); transform: scaleX(0); transition: transform 0.3s;}
#aym_wrap_menu_footer a:hover {color: var(--aym_tone_3); background: #f0f7ff;}
#aym_wrap_menu_footer a:hover::after,#aym_wrap_menu_footer a.aym_menu_active::after {transform: scaleX(1);}
#aym_wrap_menu_footer a.aym_menu_active {color: var(--aym_tone_3); font-weight: 600; background: #f0f7ff;}

/* REDES SOCIALES */
#aym_wrap_menu_footer .aym_social {display: flex; justify-content: center; align-items: center; gap: 20px; width: 100%; margin-top: 20px; padding: 25px 0; border-top: 1px solid #eef0f2;}
#aym_wrap_menu_footer .aym_social a {width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: #fff !important; text-decoration: none; position: relative; padding: 0;}
#aym_wrap_menu_footer .aym_social .aym_ico_fb {background: #1877f2;}
#aym_wrap_menu_footer .aym_social .aym_ico_tw {background: #000;}
#aym_wrap_menu_footer .aym_social a:hover {transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.15);}
#aym_wrap_menu_footer .aym_social a svg {fill: #ffffff; width: 18px; height: 18px; display: block; margin: 0;}

/* COPYRIGHT */
footer > section {margin: 0;}
#aym_wrap_footer {width: 100%; max-width: 1600px; margin: 0 auto;}
#aym_rights {color: #888; font-size: 13px; text-align: center; line-height: 1.8; padding: 30px 20px; background: #f8f9fa; border-top: 1px solid #e0e0e0;}
#aym_rights a {color: var(--aym_tone_3); font-size: 1em; text-align: center; font-weight: 600; transition: color 0.3s;}
#aym_rights a:hover {color: var(--aym_tone_2); text-decoration: underline;}
.aym_copyright {padding: 0;}

/*FOOTER PAY*/
#aym_wrap_footer_pay {border-top: 2px solid var(--aym_tone_2);}

/*======================= INTERNAS ===========================*/

.aym_wrap_content {align-items: center; display: flex; flex-flow: column; max-width: 1200px; padding: 0; width: 100%}
.aym_wrap_content .aym_content p {margin-bottom: 15px;}
.aym_wrap_content .aym_content p a{color: var(--aym_tone_2);}

/*LISTADO DE NOTICIAS*/
#aym_wrap_content #aym_title_list_news {border-bottom: 0 !important; justify-content: space-between;} 
#aym_wrap_content .aym_wrap_list_news {box-sizing: border-box;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news {border: 1px solid #ccc; border-bottom: 3px solid var(--aym_tone_2); box-sizing: border-box; display: flex; flex-flow: column; height: 100%; justify-content: space-between; margin: 20px 0; padding: 15px; background-color: #fff;} 
#aym_wrap_content .aym_wrap_list_news .aym_list_news:first-child {background: rgba(0,0,0,0.04); border: none; margin-top: 0; position: relative;} 
#aym_wrap_content .aym_wrap_list_news .aym_list_news:first-child time {padding-bottom: 10px; padding-right: 50px;} 
#aym_wrap_content .aym_wrap_list_news .aym_list_news:first-child::after {background: #fff; border-color: transparent transparent transparent var(--aym_tone_2); border-style: solid; border-width: 40px 0 0 40px; content: ''; height: 0; position: absolute; right: -1px; top: -1px; width: 0;} 
#aym_wrap_content .aym_wrap_list_news .aym_list_news time {display: block; font-family: Myriad; text-align: right;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news h3 {text-transform: uppercase;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news span {font-style: normal;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news p {box-sizing: border-box; font-family: Myriad; padding: 10px 0;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news .aym_read_more {text-align: right; padding-top: 10px;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news .aym_read_more span {background: var(--aym_tone_3); color: #fff; padding: 10px 25px; border-radius: 50px; font-size: 0.9em; font-weight: 600; display: inline-block; transition: all 0.3s; font-style: normal;}
#aym_wrap_content .aym_wrap_list_news .aym_list_news:hover .aym_read_more span {background: var(--aym_tone_2); box-shadow: 0 4px 15px rgba(0,0,0,0.2); transform: translateY(-2px);}

/*DETALLE DE NOTICIAS*/
#aym_wrap_content .aym_wrap_detail_news .aym_news_title h2 {margin: 0; margin-top: 0; padding: 10px 0 0 0;}
#aym_wrap_content .aym_wrap_detail_news .aym_news_title p {box-sizing: border-box; font-weight: bold; padding: 0 0 10px 0;}
#aym_wrap_content .aym_wrap_detail_news .aym_news_content {padding: 20px 0; font-family: 'Myriad'; font-weight: normal; font-size: 1.125em; text-align: justify; word-wrap: anywhere;}
#aym_wrap_content .aym_wrap_detail_news .aym_news_content p {margin-bottom: 10px;}
#aym_wrap_content .aym_wrap_detail_news .aym_news_content a {color: var(--aym_tone_2) !important;}
.aym_wrap_content_search .aym_wrap_detail_news .aym_news_content a {color: var(--aym_tone_2) !important;}
#aym_wrap_content .aym_back {color: var(--aym_tone_1); padding: 20px 0;}

/* Volver Button */
.aym_go_back {display: flex; justify-content: flex-start;}
.aym_go_back button {display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_1) 100%); color: #fff !important; padding: 12px 30px; border-radius: 50px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 12px rgba(0, 61, 130, 0.2); cursor: pointer; border: none; font-family: inherit;}
.aym_go_back button:hover {background: linear-gradient(135deg, var(--aym_tone_1) 0%, var(--aym_tone_3) 100%); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 61, 130, 0.3);}
.aym_go_back button::before {content: '←'; margin-right: 12px; font-size: 1.2em; font-weight: bold; transition: transform 0.3s ease;}
.aym_go_back button:hover::before {transform: translateX(-3px);}
.aym_go_back button:active {transform: translateY(0); box-shadow: 0 2px 8px rgba(0, 61, 130, 0.2);}
 
/* MODAL PERSONALIZADA */
.aym_modal_custom {display: none; position: fixed; z-index: 10001; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;}
.aym_modal_custom[style*="display: block"] {display: flex !important;}
.aym_modal_custom_content {background-color: #fff; padding: 40px; border-radius: 20px; width: 100%; max-width: 450px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.4); animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-sizing: border-box;}
@keyframes slideDown { from {transform: translateY(-50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }
.aym_modal_custom_content i {font-size: 50px; margin-bottom: 20px; display: block; text-align: center;}
.aym_modal_custom_content .fa-exclamation-triangle {color: #ff922b;}
.aym_modal_custom_content .fa-check-circle {color: #51cf66;}
.aym_modal_custom_content .fa-times-circle {color: #ff6b6b;}
.aym_modal_custom_content .fa-info-circle {color: #339af0;}
.aym_modal_custom_content h2 {color: #1a1a1a; margin-bottom: 15px; font-size: 24px; font-weight: 700; text-transform: none; letter-spacing: normal; width: 100%; display: block; text-align: center; margin: 0;}
.aym_modal_custom_content p {color: #555; margin-bottom: 30px; line-height: 1.6; font-size: 16px; width: 100%; display: block; text-align: center;}
.aym_modal_custom_buttons {display: flex; gap: 15px; justify-content: center; flex-wrap: wrap;}
.aym_modal_custom_buttons button {padding: 12px 25px; border-radius: 50px; border: none; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; min-width: 140px;}
.aym_btn_confirm_modal {color: #fff;}
.aym_btn_confirm_modal:hover {transform: scale(1.05);}
.aym_btn_confirm_modal {background: linear-gradient(135deg, #ff6b6b 0%, #fa5252 100%);}
.aym_btn_close_modal {background: #f1f3f5; color: #495057;}
.aym_btn_close_modal:hover {background: #e9ecef; color: #212529;}

/*MI CUENTA*/
#aym_account h2{text-align: center; margin: 20px; color: var(--aym_tone_3); font-weight: 700;}

/* MODERN MY ACCOUNT MENU */
.aym_wrap_menu_my_account ul {display: flex; justify-content: center; list-style: none; margin: 0; padding: 20px 0; gap: 15px; flex-wrap: wrap;}
.aym_wrap_menu_my_account li {margin: 0;}
.aym_wrap_menu_my_account a {display: flex; align-items: center; padding: 12px 25px; border-radius: 50px; background: #fff; color: #555; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #eee; font-family: 'Myriad', sans-serif; text-transform: uppercase; font-size: 0.9em; letter-spacing: 0.5px;}
.aym_wrap_menu_my_account a i {margin-right: 10px; font-size: 1.1em; color: var(--aym_tone_3); transition: color 0.3s;}
.aym_wrap_menu_my_account a:hover {background: #fff; color: var(--aym_tone_1); transform: translateY(-2px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); border-color: var(--aym_tone_1);}
.aym_wrap_menu_my_account a:hover i {color: var(--aym_tone_1);}
.aym_wrap_menu_my_account a.aym_menu_active {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_1) 100%); color: #fff; border-color: transparent; box-shadow: 0 4px 12px rgba(0, 61, 130, 0.2);}
.aym_wrap_menu_my_account a.aym_menu_active i {color: #fff;}

#aym_account form {flex-flow: column;}
#aym_account form h3{padding-top: 15px;}

.aym_user_actions {display: flex; justify-content: space-between; list-style: none; gap: 20px; margin-top: 40px; padding: 0; transition: opacity 0.3s;}
.aym_user_actions li a {color: #555; font-size: 11px; text-decoration: none; font-weight: 400; transition: color 0.3s; display: flex; align-items: center; gap: 6px; line-height: normal; cursor: pointer;}
.aym_user_actions li a i {font-size: 9px;}
.aym_user_actions li a:hover {text-decoration: underline;}

/* PROGRESS BAR */
.aym_token_consumption {grid-column: 1 / -1;}
.aym_progress_container {background-color: #e9ecef; border-radius: 10px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); height: 24px; margin-top: 10px; overflow: hidden; width: 100%; position: relative;}
.aym_progress_bar {background: linear-gradient(90deg, var(--aym_tone_2), var(--aym_tone_1)); border-radius: 10px; height: 100%; transition: width 0.5s ease-in-out;}
.aym_progress_text {display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: #555; margin-top: 8px;}
.aym_progress_text span{font-size: .7em;}

/* ======================== TYPING EFFECT - aym_text_write ========================== */

/* Animación: cursor parpadeante */
@keyframes aym_blink_cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Animación: aparición suave del mensaje */
@keyframes aym_fade_in_up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* Animación: puntos rebotando (ellipsis de espera) */
@keyframes aym_dot_bounce {
    0%, 80%, 100% { transform: translateY(0);    opacity: 0.4; }
    40%           { transform: translateY(-6px); opacity: 1;   }
}

.aym_text_write {display: inline-flex;align-items: center;gap: 10px;background: linear-gradient(135deg, rgba(0, 69, 123, 0.06) 0%, rgba(34, 138, 193, 0.08) 100%);border: 1px solid rgba(0, 69, 123, 0.15);border-left: 3px solid var(--aym_tone_2);border-radius: 8px;padding: 10px 16px;margin: 6px 0;font-family: 'Myriad', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;font-size: 0.92em;font-style: italic;color: var(--aym_tone_1);font-weight: 500;animation: aym_fade_in_up 0.35s ease forwards;position: relative;max-width: 100%;box-sizing: border-box;}

/* Icono de "IA escribiendo": tres puntos animados antes del texto */
.aym_text_write::before {content: '';display: inline-flex;width: 36px;height: 10px;flex-shrink: 0;background:radial-gradient(circle, var(--aym_tone_2) 3px, transparent 3px) 0px center,radial-gradient(circle, var(--aym_tone_2) 3px, transparent 3px) 13px center,radial-gradient(circle, var(--aym_tone_2) 3px, transparent 3px) 26px center;background-repeat: no-repeat;background-size: 10px 10px;animation: aym_dot_bounce 1.2s ease-in-out infinite;}
/* Cursor parpadeante al final del texto */
.aym_text_write::after {content: '';color: var(--aym_tone_2);font-style: normal;font-weight: 300;font-size: 1.1em;margin-left: 2px;animation: aym_blink_cursor 0.8s step-end infinite;flex-shrink: 0;}
/* ---- Estado COMPLETADO: .aym_text_write.write_out ---- */
/* Detiene todas las animaciones y muestra el mensaje como paso finalizado */
.aym_text_write.write_out {animation: none;opacity: 0.65;font-style: normal;background: transparent;border: none;border-left: 2px solid rgba(0, 69, 123, 0.2);border-radius: 0;padding: 4px 12px;color: #666;font-weight: 400;}
/* Oculta los puntos animados */
.aym_text_write.write_out::before {display: none;animation: none;}
/* Reemplaza el cursor parpadeante por un check estático */
.aym_text_write.write_out::after {content: '✓';color: var(--aym_tone_2);font-style: normal;font-weight: 700;font-size: 0.95em;margin-left: 6px;animation: none;opacity: 0.8;}

/*LISTADO DE BUSQUEDAS*/
main .aym_wrap_content_search:first-child {margin-bottom: 0;} 
main .aym_wrap_content_search:nth-child(2) {margin-top: 0;} 

.aym_wrap_content_news{grid-column: 1 / -1;}
.aym_wrap_content_search {align-items: center; display: flex; flex-flow: column; margin-top: 0 !important; padding: 0; width: 75%}
.aym_wrap_content_search * {transition: unset;}
.aym_wrap_content_search .aym_wrap_content_news{width: 100%;}
/* NOTICIAS DETALLE MODERNIZADO */
.aym_wrap_detail_news {max-width: 1000px; margin: 0 auto; padding: 20px 0;}

.aym_wrap_detail_news .aym_news_title h2 {font-size: 2.2rem; color: var(--aym_tone_1); font-weight: 800; line-height: 1.2; margin-bottom: 15px; letter-spacing: -0.5px; text-transform: uppercase;}

.aym_wrap_detail_news .aym_news_title p {font-size: 1.1rem; color: #666; margin-bottom: 20px;display: flex;align-items: center;}

.aym_wrap_detail_news .aym_news_title p time {font-weight: 600; color: var(--aym_tone_2);font-size: .6em;margin-right: 5px;}

.aym_line {border: none; height: 1px; background: linear-gradient(to right, var(--aym_tone_1), rgba(0, 69, 123, 0.1)); margin: 25px 0;}

.aym_wrap_detail_news .aym_news_content {font-size: 1.15rem; line-height: 1.85; color: #333; text-align: justify; font-family: 'Myriad', sans-serif;}

.aym_wrap_detail_news .aym_news_content p {margin-bottom: 20px;}

.aym_wrap_content_search .aym_descript_document {border: none;}
.aym_wrap_content_search .aym_grid_document a {display: block; margin-bottom: 10px;}
.aym_wrap_content_search .aym_grid_document a .aym_content_document{color: var(--aym_tone_2); position: relative;}
.aym_wrap_content_search .aym_grid_document a .aym_content_document::after {color: var(--aym_tone_1); content: 'â€¢'; font-size: 2em; position: absolute; left: -.3em; top: 12px;}
.aym_wrap_content_search .aym_grid_document a:last-child .aym_content_document{border-bottom: none}
.aym_wrap_content_search .aym_grid_document a .aym_content_document figure {text-align: left;}
#aym_search_internal ol {padding-left: 1.5em;} 
#aym_search_internal ol li .aym_link_search {color: #00457A !important;}
.aym_link_search li {list-style: decimal;}
.aym_link_search span{color: #00457A !important;}

/*RESTALTADO DE PALABRAS BUSQUEDA*/
.aym_highlight {color: #FFF400; font-weight: bold !important;}

/*SUSCRIPCION*/
#aym_account .aym_wrap_info_pay {border-bottom: 1px solid var(--aym_tone_1); padding: 10px 0;}
#aym_account .aym_wrap_info_pay.last {border: none !important;}
#aym_account .aym_wrap_info_pay h3 {color: var(--aym_tone_1);}

#frm_add_pay .aym_wrap_field {display: flex; flex-flow: row wrap; justify-content: center;}
#frm_add_pay .aym_wrap_field.aym_flex_radio {display: flex; flex-flow: row nowrap; justify-content: center;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio{border: 1px solid var(--aym_tone_1); box-sizing: border-box; cursor: pointer; padding: 10px; margin: 15px; position: relative; text-align: center; max-width: 160px; width: 20%;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio:hover {background: var(--aym_tone_2); border-color: var(--aym_tone_2); color: #fff;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio:hover label {color: #fff !important;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio.active {background: var(--aym_tone_1); color: #fff;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio.active label {color: #fff !important;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio .aym_check{height: auto; margin: 0 !important; position: absolute; visibility: hidden;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio .aym_check_label:before {content: ''; height: 100%; left: -3px; position: absolute; top: -3px; width: 100%;}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio .aym_check:checked + .aym_check_label:before {border: 3px solid var(--aym_tone_1);}
#frm_add_pay .aym_wrap_field .aym_wrap_input_radio + .aym_check:checked {background: var(--aym_tone_1); color: #fff;}
#frm_add_pay .aym_wrap_submit .aym_button_send {border: 1px solid var(--aym_tone_1); font-weight: bold; height: auto; margin: 0; padding: 10px 15px;}
#frm_add_pay .aym_wrap_submit .aym_button_send:hover {background: var(--aym_tone_2); color: white;}
#frm_add_pay .aym_btn_pagar {background: var(--aym_tone_2); border-radius: 5px; color: white; max-width: 250px; width: 100% !important;}
#frm_add_pay .aym_btn_pagar:hover {background: var(--aym_tone_1); color: white;}

@keyframes aym_latidos {
    from {transform: none;}
    50% {transform: scale(1.1);}
    to {transform: none;}
}
.epayco-button-render{background: var(--aym_tone_2) !important; border-radius: 5px; color: white; max-width: 270px; width: 100% !important; background-color: var(--aym_tone_2); border: 1px solid; border-radius: 5px; color: #fff; cursor: pointer; font-size: 1.2em; height: unset; margin: 0 auto; padding: 10px !important; transition: all 0.4s; text-align: center; display: flex; justify-content: center; animation: aym_latidos 3s infinite; transform-origin: center;}
.epayco-button-render::before{content: 'PAGAR';} /* CON E-PAYCO */
.epayco-button-render img{display: none;}

.aym_wrap_pagos {align-items: center; background: #fff; display: flex; flex-flow: row wrap; justify-content: space-around; margin: 0 auto; padding: 15px 0;}
.aym_wrap_pagos input[type=image]{margin: 0; height: 40px; width: 80%; object-fit: contain;}
.aym_wrap_pagos .owl-item {align-items: center; display: flex; justify-content: center;}

/* PRELOADER */
#aym_preloader {text-align: center;}
#aym_preloader div {display: inline-block; padding: 20px 0; position: relative;}
#aym_preloader div::after {animation: preloader 1s linear infinite; border: 3px solid #f5f5f5; border-radius: 50%; border-top: 3px solid var(--aym_tone_1); content: ''; display: inline-block; height: 30px; position: relative; width: 30px;}

/* AVISO DE COOKIES */
#aym_cookie_consent {background-color: var(--aym_tone_1); bottom: 0; color: #ffffff; display: none; height: auto; padding: 1.5rem 0; position: fixed; width: 100%; z-index: 1000;}
#aym_cookie_consent>div {align-items: center; display: flex; justify-content: space-evenly;}
#aym_cookie_consent h2{color: #ffffff; margin: 20px 0;}
#aym_cookie_consent #aym_accept_cookies {background-color: #e5e5e5; border: none; border-radius: 5px; color: var(--aym_tone_1); cursor: pointer; display: inline-block; font-weight: 700; font-size: 16px; margin-top: 10px; padding: 10px 20px; text-align: center; text-decoration: none;}

/* SHARE BUTTONS */
.aym_share_buttons {display: flex; align-items: center; gap: 15px; flex-wrap: wrap;}
.aym_share_buttons span {font-family: 'Myriad', sans-serif; font-weight: 600; color: var(--aym_tone_1); font-size: 14px; margin-right: 5px;}
.aym_share_buttons a.aym_social_btn {width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; transition: all 0.3s; text-decoration: none; padding: 0;}
.aym_share_buttons a.aym_social_btn.facebook {background: #1877f2;}
.aym_share_buttons a.aym_social_btn.twitter {background: #000;}
.aym_share_buttons a.aym_social_btn:hover {transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15);}
.aym_share_buttons a.aym_social_btn svg {fill: #ffffff; width: 16px; height: 16px; display: block; margin: 0;}
@keyframes preloader {
	0% {transform: rotate(0deg);}
	100% {transform: rotate(360deg);}
}

/*404*/
.aym_404 {text-align: center;}

.aym_hidden{display: none !important;}

/*INDEX RESPONSE*/
.aym_logo_blue {display: none;}

.aym_link_reference{padding: 5px 10px; background: #164d80; color: white !important; border-radius: 10px; font-size: .9em; display: inline; white-space: nowrap;}

/* Estilos modernos solo para el detalle de la noticia */
.aym_wrap_detail_news .aym_list_documents {display: flex; flex-direction: column; gap: 12px; margin: 20px 0; align-items: flex-start;}

.aym_wrap_detail_news .aym_link_reference {display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; background: #ffffff; color: var(--aym_tone_3) !important; border: 1px solid #e1e8ed; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); cursor: pointer; position: relative; overflow: hidden;}

.aym_wrap_detail_news .aym_link_reference i {font-size: 20px; color: var(--aym_tone_2); transition: transform 0.3s ease; margin-right: 0;}

.aym_wrap_detail_news .aym_link_reference:hover {background: #fff; border-color: var(--aym_tone_1); transform: translateX(5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); color: var(--aym_tone_1) !important;}

.aym_wrap_detail_news .aym_link_reference:hover i {transform: scale(1.2); color: var(--aym_tone_1);}

#aym_wrap_pay {background: rgba(0,0,0,0.03); margin-top: 86.25px; padding: 20px 0;}
#aym_wrap_pay section {max-width: 700px;}

.aym_print {margin-bottom: 20px;}
.aym_print a {background: var(--aym_tone_2); color: #fff !important; display: inline-block; padding: 10px; margin-left: 20px;}
.aym_print a:hover {background: var(--aym_tone_1); color: #fff;}
.aym_print a:first-child {margin-right: 20px; margin-left: 0;}

/* ESTILOS DE REGISTRO/PAGO */
.subscription-container {max-width: 1400px; padding: 0 20px;}
.subscription-header {background: white; border-radius: 12px; padding: 30px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 30px;}
.subscription-header h2 {font-size: 28px; color: var(--aym_tone_3); margin: -10px 0 20px 0 !important; padding-bottom: 15px; border-bottom: 2px solid var(--aym_tone_3);}
.client-info-grid {display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px;}
.client-info-item {display: flex; gap: 10px; padding: 10px; background: #f8f9fa; border-radius: 6px;}
.client-info-item strong {color: var(--aym_tone_3); min-width: 140px;}
.subscription-grid {display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start;}
.registration-grid {display: grid; grid-template-columns: 60% 40%; gap: 30px; align-items: start;}

/* CARDS */
.form-card {background: white; border-radius: 12px; padding: 40px; box-shadow: 0 2px 8px rgba(0,0,0,0.08);}
.form-section {margin-bottom: 35px;}
.form-section:last-child {margin-bottom: 0;}
.form-section h3 {font-size: 20px; color: var(--aym_tone_3); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--aym_tone_3);}
.form-group {margin-bottom: 20px;}
.form-group label {display: block; margin-bottom: 8px; font-weight: 500; color: #333; font-size: 14px;}
.form-group input[type="text"],.form-group input[type="email"] {width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; transition: all 0.3s;}
.form-group input:focus {outline: none; border-color: var(--aym_tone_3); box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);}
.form-row {display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}
.form-row-three {display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 15px;}
.form-section .aym_two_column {-ms-display: grid; display: grid; grid-gap: 15px; grid-template-columns: repeat(2, 1fr);}

/* CARD TYPE SELECTOR */
.card-type-selector {display: flex; gap: 20px; margin-bottom: 25px; padding: 15px; background: #f8f9fa; border-radius: 8px;}

/* SAVED CARDS TABLE */
.saved-cards-table {width: 100%; border-collapse: collapse; margin-bottom: 20px; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05);}
.saved-cards-table thead {background: var(--aym_tone_3); color: white;}
.saved-cards-table th {padding: 12px; text-align: center; font-weight: 600; font-size: 14px;}
.saved-cards-table td {padding: 15px 12px; text-align: center; border-bottom: 1px solid #e9ecef;}
.saved-cards-table tbody tr:hover {background: #f8f9fa;}
.saved-cards-table tbody tr:last-child td {border-bottom: none;}
.saved-cards-table input[type="radio"] {width: 18px; height: 18px; accent-color: var(--aym_tone_3); cursor: pointer;}

/* BILLING TOGGLE */
.billing-toggle {display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 30px; padding: 15px; background: #f8f9fa; border-radius: 8px;}
.billing-toggle .toggle-option {font-weight: 500; color: #666; font-size: 15px;}
.billing-toggle .toggle-option.active {color: var(--aym_tone_3); font-weight: 700;}
.billing-toggle .toggle-switch {position: relative; width: 60px; height: 30px; background: #ddd; border-radius: 15px; cursor: pointer; transition: background 0.3s;}
.billing-toggle .toggle-switch.active {background: var(--aym_tone_3);}
.billing-toggle .toggle-slider {position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: white; border-radius: 50%; transition: transform 0.3s;}
.billing-toggle .toggle-switch.active .toggle-slider {transform: translateX(30px);}
.billing-toggle .save-badge {background: #28a745; color: white; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600;}
.save-badge {background: #28a745; color: white; padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600;}

/* GRID DE 2x2 PARA PLANES */
.plans-grid-three {display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto; gap: 20px; margin-bottom: 30px;}
.plans-grid-two {display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 30px;}
.plan-card-column {position: relative;}

/* Free ocupa las 2 columnas en la segunda fila */
.plan-card-column[data-plan="free"] {grid-column: 1 / -1;}
.plan-card-column[data-plan="free"] .plan-card-inner {height: auto; min-height: auto;}
.plan-radio {display: none;}
.plan-card-inner {border: 2px solid #e9ecef; border-radius: 12px; padding: 30px 25px; text-align: center; cursor: pointer; transition: all 0.3s; background: white; min-height: 150px; height: auto; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; position: relative;}
.plan-card-inner:hover {border-color: var(--aym_tone_3); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,61,130,0.15);}
.plan-radio:checked + .plan-radio + .plan-card-inner,
.plan-radio:checked ~ .plan-card-inner {border-color: var(--aym_tone_3); background: #f0f7ff; box-shadow: 0 6px 20px rgba(0,61,130,0.2);}
.plan-badge {display: inline-block; background: var(--aym_tone_3); color: white; padding: 5px 15px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; position: absolute; top: 10px; right: 10px;}
.plan-title {font-size: 1.2em; color: var(--aym_tone_3); margin-bottom: 10px; font-weight: 700;}
.plan-price-container {margin-bottom: 10px; min-height: 60px;}
.plan-price-container .price {font-size: 2em; font-weight: 700; color: var(--aym_tone_3); line-height: 1; margin-bottom: 5px;}
.plan-price-container .period {font-size: 14px; color: #666; font-weight: 400;}
.plan-card-inner .description {font-size: .75em; color: #666; line-height: 1.5; font-style: italic; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical;}
.tax-notice {padding: 15px; background: #fff3cd; border-left: 4px solid #ffc107; border-radius: 6px; font-size: 13px; color: #856404; margin-top: 20px; line-height: 1.6;}

/* BOTÓN ENVIAR */
.submit-section {margin-top: 30px; text-align: center;}
.required-text {font-size: 13px; color: #666; margin-bottom: 20px;}
.btn-submit {background: var(--aym_tone_3); color: white; border: none; padding: 15px 50px; font-size: 16px; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.5px; width: 100%;}
.btn-submit:hover {background: #002654; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,61,130,0.3);}
.btn-submit:active {transform: translateY(0);}

/* Estilos para error de validación de planes */
.plans-grid-three.plan-error, .plans-grid-two.plan-error {border: 2px solid var(--aym_tone_4); border-radius: 12px; padding: 10px; animation: shake 0.5s;}
@keyframes shake {0%, 100% {transform: translateX(0);}10%, 30%, 50%, 70%, 90% {transform: translateX(-5px);}20%, 40%, 60%, 80% {transform: translateX(5px);}}

/* Mensaje de error para planes */
.plan-error-message {color: var(--aym_tone_4); font-size: 14px; text-align: center; margin-top: -20px; margin-bottom: 20px; font-weight: 600;}

/* CARD INPUT LIST */
.aym_card_content{position: relative;}
.aym_card_list{position: absolute; bottom: 15px; right: 5px; display: flex; gap: 5px; align-items: center;}
.aym_card_list img{width: 25px; height: 20px; object-fit: contain; object-position: center; margin-bottom: -4px;}

/* Estilos para planes deshabilitados */
.plan-current-badge {background: #6c757d !important;}
.plan-card-column[data-monthly-disabled="1"] .monthly-price,
.plan-card-column[data-monthly-disabled="1"] .monthly-desc {opacity: 0.6;}
.plan-card-column[data-annual-disabled="1"] .annual-price,
.plan-card-column[data-annual-disabled="1"] .annual-desc {opacity: 0.6;}
input[type="radio"].plan-radio:disabled {cursor: not-allowed;}

/* Estilos para la sección de suscripción pendiente */
.pending-subscription-info {background: #f8f9fa; padding: 20px; border-radius: 8px; margin: 15px 0; border-left: 4px solid #ffc107;}

.subscription-choice {padding: 15px 0;}

.subscription-choice .aym_check_content {padding: 10px 15px; border-radius: 6px; transition: background-color 0.3s ease;}

.subscription-choice .aym_check_content:hover {background-color: #f8f9fa;}

/* RESPONSIVE */

 

/*responsive alerta renovaciÃ²n */

/* ======================== RESPONSIVE (MEDIA QUERIES) ========================== */

@media print {
    .aym_logo_white {display: none;}
    .aym_logo_blue {display: inline-block;}
}

@media screen and (min-width: 900px) {
    #aym_mobile{display: none !important;}
    .aym_mobile_icon{display: none;}
}

@media screen and (max-width: 1770px) {
    .aym_title_fixed {margin: auto; max-width: 1600px; width: 90%;}
    /*.aym_wrap_content_search .aym_title_fixed {margin: auto; max-width: 1600px; width: 90%;}*/
}

@media screen and (max-width: 1399px) {
    #aym_wrap_content #aym_head_news.aym_fixed_after{top: 220px}
    #aym_wrap_content #aym_head_news.aym_fixed_before{top: 167px}
    #aym_wrap_search {margin-top: 25px;}
}

@media (min-width: 1024.99px) and (max-width: 1331px) {
    #aym_renovate_header .aym_right_renovate .aym_bold{font-size: 1.8em;}
    #aym_renovate_header .aym_right_renovate .aym_italic{font-size: 1.5em;}
    #aym_renovate_header .aym_left_renovate .aym_bold{font-size: 1.5em;}
    #aym_renovate_header .aym_left_renovate .aym_italic{font-size: 1.2em;}
    #aym_renovate_header .aym_left_renovate .aym_italic:before{height: 18px; widows: 18px;}
}

@media screen and (max-width: 1270px) {
    #aym_wrap_content {grid-template-columns: repeat(2, 1fr);}
    #aym_wrap_content .aym_title_news.aym_fixed_after > div {flex-flow: row nowrap; margin-left: 5%; width: 44%;}
    /*.aym_fixed #aym_wrap_content .aym_title_news > div {margin-left: 5%; width: 44%;}*/
    #aym_wrap_content .aym_grid_news {grid-template-columns: 1fr; grid-template-rows: none !important; grid-auto-rows: auto;}
    #aym_wrap_content .aym_grid_news article {grid-row: auto !important; grid-column: auto !important;}
}

@media screen and (max-width: 1110px) {
    .aym_close {right: 10px;}
    #aym_cookie_consent>div {padding: 0 4rem; gap: 4rem;}
}

@media screen and (max-width: 1024px) {
    #aym_renovate_header {flex-wrap: wrap;}
    #aym_renovate_header .aym_left_renovate{width: 100%; padding: 7px; display: block}
    #aym_renovate_header .aym_left_renovate .aym_italic{font-size: 1.4em; display: flex; width: 50%; justify-content: center; float: left; margin-left: 0}
    #aym_renovate_header .aym_left_renovate .aym_italic:before{left: 0; width: 26px; height: 26px}
    #aym_renovate_header .aym_left_renovate .aym_bold{font-size: 1.4em; display: flex; width: 50%;}
    #aym_renovate_header .aym_right_renovate{width: 100%; padding: 0; display: flex}
    #aym_renovate_header .aym_right_renovate .aym_italic{font-size: 1.4em; display: flex; width: 50%; justify-content: center; float: left; margin-left: 0}
    #aym_renovate_header .aym_right_renovate .aym_bold{font-size: 1.3em; display: flex; width: 45%; padding: 0; margin-top: 0}
    #aym_renovate_header .aym_right_renovate .aym_bold:after{left: 0; top: 0; font-size: 1.1em; display: none}
    .subscription-grid {grid-template-columns: 1fr;}
    .registration-grid {grid-template-columns: 1fr;}
    .client-info-grid {grid-template-columns: 1fr;}
    .plans-grid-two {grid-template-columns: 1fr;}
    .plans-grid-three {grid-template-columns: 1fr;}
    .plan-card-column[data-plan="free"] {grid-column: 1;}
    .form-row,.form-row-three {grid-template-columns: 1fr;}
    .plan-card-inner {min-height: auto; max-height: none;}
}

@media screen and (max-width: 942px) {
    .aym_right_renovate .aym_italic{font-size: 1em; width: 50%; padding-left: 5px}
    #aym_renovate_header .aym_right_renovate .aym_bold:after{font-size: .25em}
}

@media screen and (max-width: 900px) {
    h2 {margin: 20px; color: var(--aym_tone_1); display: flex; justify-content: left;}
}

@media screen and (max-width: 899px) {
    button.aym_return_back{display: block!important; position: fixed; z-index: 2; background: var(--aym_tone_1); color: white; cursor: pointer; bottom: 30px; left: 10px; font-size: 30px; padding: 0 10px; border-radius: 5px}
    /* Header responsive */
    header {background: linear-gradient(135deg, var(--aym_tone_3) 0%, var(--aym_tone_1) 100%); box-sizing: border-box; height: 130px;}
    main {margin-top: 130px !important;}
    #aym_wrap_header {flex-flow: row wrap; padding: 0 20px; justify-content: space-between; align-content: center; height: 100%;}
    #aym_wrap_header .aym_logo img {height: 50px;}
    #aym_wrap_header .aym_logo {order: 1;}
    /* Ocultar menú desktop y login */
    #aym_wrap_header .aym_menu {display: none;}
    #aym_wrap_header .aym_login {display: none;}
    /* Mostrar icono hamburguesa */
    #aym_wrap_header .aym_mobile_icon {display: flex; color: #fff; cursor: pointer; font-size: 26px; padding: 10px; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.3s; order: 2;}
    #aym_wrap_header .aym_mobile_icon:hover {background: rgba(255, 255, 255, 0.1);}
    #aym_wrap_header .aym_login_responsive {display: block;}
    /* Menú mobile ajustado */
    #aym_mobile {top: 130px; height: calc(100vh - 130px);}
    /* Ajustar buscador móvil */
    #aym_header_search_container {margin: 5px 0 0 0; max-width: none; order: 3; width: 100%;}
    #aym_header_search_container input[type="text"] {height: 35px; font-size: 13px; padding: 5px 15px;}
    #aym_header_search_container button[type="submit"] {height: 35px;}
    .aym_click_renovate {background-size: 18px !important; padding: 18px 30px 18px 28px !important;}
    /* Responsive Login */
    #frm_login_out {margin: 30px auto; padding: 0 15px;}
    #frm_login_out fieldset {padding: 30px 20px;}
    #frm_login_out h2,
    #frm_login_out h3 {font-size: 24px;}
    #frm_change_pass {margin: 30px auto; padding: 0 15px;}
    #frm_change_pass fieldset {padding: 30px 20px;}
    #frm_change_pass h2,
    #frm_change_pass h3 {font-size: 24px;}
    #frm_forgot_my_password {margin: 30px auto; padding: 0 15px;}
    #frm_forgot_my_password fieldset {padding: 30px 20px;}
    #frm_forgot_my_password h2,
    #frm_forgot_my_password h3 {font-size: 24px;}
    #frm_restore_pass {margin: 30px auto; padding: 0 15px;}
    #frm_restore_pass fieldset {padding: 30px 20px;}
    #frm_restore_pass h2,
    #frm_restore_pass h3 {font-size: 24px;}
    /* Responsive Validate User */
    #frm_validate_user {margin: 30px auto; padding: 0 15px;}
    #frm_validate_user .aym_frm_content {padding: 30px 20px;}
    #frm_validate_user h2,
    #frm_validate_user h3 {font-size: 24px;}
    /* Responsive Contact */
    #frm_contact {margin: 30px auto; padding: 0 15px;}
    #frm_contact fieldset {padding: 30px 20px;}
    #frm_contact h2,
    #frm_contact h3 {font-size: 24px;}
    #aym_wrap_content .aym_title_news.aym_fixed_after > div {flex-flow: row wrap; margin-left: 0; width: 100%; justify-content: flex-start; gap: 15px;}
    #aym_wrap_content .aym_title_news {padding: 15px 0;}
    #aym_wrap_content .aym_title_news h2,
    .aym_wrap_content_search .aym_wrap_detail_news .aym_news_title h2,
    #aym_wrap_content .aym_wrap_detail_news .aym_news_title h2{font-size: 1.1em; margin: 0; white-space: normal; line-height: 1.3; font-weight: 700;}
    #aym_wrap_content .aym_title_news > div {flex-direction: column; align-items: flex-start; gap: 12px;}
    #aym_wrap_content .aym_title_news .aym_btn_news {margin-left: 0; gap: 10px; flex-wrap: wrap; width: 100%; justify-content: middle;}
    #aym_wrap_content .aym_title_news .aym_btn_news a {font-size: .75em; padding: 8px 15px; white-space: nowrap; border-radius: 50px; flex: 1; text-align: center; min-width: 120px;}
    #aym_wrap_content .aym_title_news .aym_btn_news a i {margin-right: 5px;}
    #aym_wrap_content #aym_head_news.aym_fixed_after {top: 137px;}
    #aym_wrap_content .aym_wrap_detail_news .aym_news_title p {padding: 0;}
    .aym_wrap_content {width: 100%;}
    .aym_wrap_content .aym_content {box-sizing: border-box; padding: 0 10px;}
    .aym_wrap_content_search {width: 95%;}
    .aym_form {width: 95%;}
    .aym_form form {padding: 15px;}
    .aym_form form fieldset {padding: 15px;}
    .aym_form form fieldset .aym_two_column, .form-section .aym_two_column,
    .aym_form form fieldset .aym_three_column {-ms-display: grid; display: grid; grid-gap: 15px; grid-template-columns: 1fr;}
    .aym_form form .aym_link {flex-flow: row wrap; justify-content: center;}
    .aym_form form .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    .aym_wrap_content_search #aym_head_news.aym_fixed_after {top: 147px;}
    .aym_wrap_content_search .aym_title_fixed {width: 95%;}
    .aym_form {width: 100%;}
    /* Footer responsive */
    footer {margin-top: 40px;}
    #aym_wrap_menu_footer {padding: 30px 0 15px 0;}
    #aym_wrap_menu_footer section {flex-direction: column; gap: 10px;}
    #aym_wrap_menu_footer a {width: 100%; text-align: center; padding: 15px 10px; border-bottom: 1px solid #e0e0e0; border-radius: 0;}
    #aym_wrap_menu_footer a::after {display: none;}
    #aym_wrap_menu_footer .aym_social {margin-top: 10px; padding: 20px 0 10px 0;}
    #aym_rights {font-size: 12px; padding: 25px 15px;}
    .aym_link_renovate img{left: -10px;}
    .aym_link_renovate .aym_close{right: -10px;}
}

@media screen and (max-width: 800px) {
    #aym_detail article.aym_descript {width: 90%;}
    #aym_detail .aym_inner_content {width: 100%;}
}

@media screen and (max-width: 799px) {
    #aym_wrap_header .aym_logo {padding: 10px 0 0 0;}
    /* #aym_wrap_header .aym_mobile_icon {margin-right: 2%;}*/
    #aym_wrap_content {grid-template-columns: 1fr;}
    #aym_wrap_content .aym_title_news {padding-bottom: 20px;}
    #aym_wrap_content .aym_title_news .aym_btn_news {display: flex; margin-left: 0;}
    #aym_wrap_content .aym_wrap_content_document {border-left: none; padding: 0;}
    .aym_content_document .aym_descript_document {border: 0; padding: 0;}
    .aym_request_link {grid-template-columns: repeat(1, 1fr); grid-template-rows: repeat(3, auto);}
    .aym_request_link a {grid-row: auto!important; grid-column: auto !important; padding: 15px 30px 15px 10px;}
    .aym_link_renovate{top: auto; bottom: 0;}
    .form-card {padding: 25px;}
    .billing-toggle {flex-direction: column; gap: 10px;}
    .card-type-selector {flex-direction: column;}
    /* Login mobile pequeño */
    #frm_login_out .aym_link {flex-direction: column;}
    #frm_login_out .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    #frm_change_pass .aym_link {flex-direction: column;}
    #frm_change_pass .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    #frm_forgot_my_password .aym_link {flex-direction: column;}
    #frm_forgot_my_password .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    #frm_restore_pass .aym_link {flex-direction: column;}
    #frm_restore_pass .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    /* Validate user mobile pequeño */
    #frm_validate_user .aym_link {flex-direction: column;}
    #frm_validate_user .aym_link a {width: 100%; text-align: center; padding: 10px 0;}
    /* Contact mobile pequeño */
    #frm_contact .aym_button.aym_type_4 {max-width: 100%;}
}

@media (max-width: 768px) {
    .aym_wrap_detail_news {padding: 15px;}
    .aym_wrap_detail_news .aym_news_title h2 {font-size: 1.6rem; margin: 0 0 20px;}
    .aym_wrap_detail_news .aym_news_title p {font-size: 1rem; margin-bottom: 15px;}
    .aym_wrap_detail_news .aym_news_content {font-size: 1.05rem; line-height: 1.6;}
    .aym_wrap_detail_news .aym_link_reference {padding: 12px 20px; font-size: 14px; width: 100%; box-sizing: border-box; justify-content: center;}
}

@media screen and (max-width: 742px) {
    #aym_renovate_header .aym_right_renovate .aym_bold{font-size: 1.5em}
    #aym_renovate_header .aym_right_renovate .aym_bold:after{font-size: .35em}
}

@media screen and (max-width: 699px) {
    #aym_wrap_content .aym_title_news.aym_fixed_after > div {flex-flow: row nowrap; margin: 0 auto !important; width: 90% !important;}
    .aym_grid_list_news {grid-template-columns: 1fr;}
    .aym_grid_list_news .aym_wrap_list_news .aym_news_title {flex-flow: row wrap;}
    #frm_add_pay .aym_wrap_field.aym_flex_radio {display: flex; flex-flow: row wrap; justify-content: center;}
    .aym_wrap_paginador {flex-flow: row wrap;}
    .aym_wrap_paginador .aym_pagina {font-size: .8em; padding: 5px; margin: 2px;}
    .aym_wrap_paginador .aym_pagina_active {font-size: .8em; padding: 5px; margin: 2px;}
    .aym_wrap_paginador .aym_pagina:hover {font-size: .8em; padding: 5px; margin: 2px;}
}

@media screen and (max-width: 650px) {
    #aym_frm_search select#cat_nam {background: rgba(255,255,255,.9) url('/aym_image/aym_ico/aym_flecha.png') right 0.4em center/1rem no-repeat; color: transparent; padding: 10px 15px; position: relative; width: 25px;}
    /* Header móvil pequeño */
    #aym_wrap_search {width: 100%; margin-top: 0;}
    .aym_search input[type=submit] {min-width: 70px;}
}

@media (max-width: 600px) {
    .aym_modal_custom_content {padding: 30px 20px;}
    .aym_modal_custom_content h2 {font-size: 20px;}
    .aym_modal_custom_content p {font-size: 14px;}
    .aym_modal_custom_buttons {flex-direction: column;}
    .aym_modal_custom_buttons button {width: 100%;}
}

@media screen and (max-width: 560px) {
    .mapcontainer{width: 90%;}
}

@media screen and (max-width: 555px) {
    #aym_renovate_header {flex-wrap: wrap;}
    #aym_renovate_header .aym_left_renovate{padding: 7px 0; display: block; margin-left: 0; width: calc(50% - 10px)}
    #aym_renovate_header .aym_left_renovate .aym_italic{font-size: 1em; display: flex; width: 100%; justify-content: center; float: left; margin-left: 0}
    #aym_renovate_header .aym_left_renovate .aym_italic:before{left: 0; width: 16px; height: 16px}
    #aym_renovate_header .aym_left_renovate .aym_bold{font-size: 1em; display: flex; width: 100%; justify-content: center}
    #aym_renovate_header .aym_right_renovate{padding: 7px 0; display: flex; width: calc(50% - 10px); flex-wrap: wrap;}
    #aym_renovate_header .aym_right_renovate .aym_italic{font-size: 1em; display: flex; width: 100%; justify-content: center; float: left; margin-left: 0}
    #aym_renovate_header .aym_right_renovate .aym_bold{font-size: .90em; display: flex; width: 100%; justify-content: center; padding: 0}
    #aym_renovate_header .aym_right_renovate .aym_bold:after{left: 0; top: 0; font-size: 1em; display: none}
    #aym_cookie_consent>div {flex-direction: column; gap: 20px;}
}

@media (max-width: 480px) {
    .aym_wrap_detail_news {padding: 10px;}
    .aym_wrap_detail_news .aym_news_title h2 {font-size: 1.4rem;}
    .aym_wrap_detail_news .aym_news_title p {font-size: 0.95rem;}
    .aym_wrap_detail_news .aym_news_content {font-size: 1rem;}
    .aym_line {margin: 15px 0;}
    .aym_wrap_detail_news .aym_link_reference {padding: 10px 15px; font-size: 13px;}
}

@media screen and (max-width: 480px) {
    /* Header mobile muy pequeño */
    #aym_wrap_header {padding: 0 15px;}
    #aym_wrap_header .aym_logo img {height: 45px;}
    #aym_mobile a {font-size: 13px; padding: 16px 20px;}
    /* Login mobile muy pequeño */
    #frm_login_out {max-width: 100%;}
    #frm_login_out fieldset {padding: 25px 15px;}
    #frm_change_pass {max-width: 100%;}
    #frm_change_pass fieldset {padding: 25px 15px;}
    #frm_forgot_my_password {max-width: 100%;}
    #frm_forgot_my_password fieldset {padding: 25px 15px;}
    #frm_restore_pass {max-width: 100%;}
    #frm_restore_pass fieldset {padding: 25px 15px;}
    /* Validate user mobile muy pequeño */
    #frm_validate_user {max-width: 100%;}
    #frm_validate_user .aym_frm_content {padding: 25px 15px;}
    /* Contact mobile muy pequeño */
    #frm_contact {max-width: 100%;}
    #frm_contact fieldset {padding: 25px 15px;}
}

@media screen and (max-width: 464px) {
    #frm_add_pay .aym_wrap_field .aym_wrap_input_radio {max-width: none; width: 100%;}
}

@media screen and (max-width: 434px) {
    main {margin-top: 150px !important;}
}

@media screen and (max-width: 400px) {
    #aym_renovate_header .aym_left_renovate .aym_italic{font-size: .75em; margin-left: 0}
    #aym_renovate_header .aym_left_renovate .aym_bold{font-size: .75em;}
    #aym_renovate_header .aym_right_renovate .aym_italic{font-size: .75em; margin-left: 0}
    #aym_renovate_header .aym_right_renovate .aym_bold{font-size: .75em;}
}

@media screen and (max-width: 330px) {
    #aym_wrap_content .aym_title_news h2{font-size: 1em;}
}

