/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
@font-face {
    font-family: 'Amsi Regular';
    src: url('fonts/AmsiPro-Regular.otf') format('opentype');
   
}
@font-face {
    font-family: 'Amsi Bold';
    src: url('fonts/AmsiPro-Bold.otf') format('opentype');
   
}
@font-face {
    font-family: 'Amsi Light';
    src: url('fonts/AmsiPro-Light.otf') format('opentype');
}
@font-face {
    font-family: 'Amsi Semi-Bold';
    src: url('fonts/AmsiPro-SemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'Amsi Extra-Bold';
    src: url('fonts/AmsiPro-Ultra.otf') format('opentype');
}

h1,h3,h2,p,a,span,input,div{
	font-family: 'Amsi Regular' !important;
}




.uk-navbar {
    background: rgba(0,0,0,0) !important;
}

.tm-navbar-sticky .tm-navbar-wrapper, .tm-navbar-sticky .tm-navbar-wrapper-animate {
    border-width: 0;
}

.mod span {
    display: none;
}
.mod img {
    width: 280px;
    position: relative;
    top: 35px;
}
.uk-navbar-nav > li:nth-child(2) {
    width: 360px;
    background: #ea4033;
    height: 140px;
    border-radius: 0 0 15px 15px;
    text-align: center;
}
.uk-navbar-nav > li > a {
    font-family: 'Amsi Light' !important;
    color: #818181;
    text-transform: none;
    font-size: 16px !important;
    letter-spacing: 0;
}
.uk-navbar-nav > li.uk-active > a{
    color: #ea4033 !important;
    font-family: 'Amsi Regular' !important;
}
.uk-navbar-nav > li > a:hover,.uk-navbar-nav > li > a:focus{
    color: #ea4033 !important;
    font-family: 'Amsi Regular' !important;
}

.uk-active .uk-navbar {
    background: rgba(255,255,2555,0.5) !important; 
}

.tm-navbar-wrapper-animate.uk-active .mod img {
    
    top: 0;
}
.tm-navbar-wrapper-animate.uk-active .uk-navbar-nav > li:nth-child(2) {
    height: inherit !important;
}
.tm-navbar-wrapper-animate.uk-active {
    position: relative !important;
}
/* Top a ====================================================================================================================================================*/
#tm-top-a{
	padding-top: 0px;
}

.slidetopa a {
    width: 15px;
    height: 15px;
    background-color: rgba(255,255,255,0.5) !important;
    border: none;
}
.slidetopa .uk-active a {
    background: #333 !important;
}



/* Top b ====================================================================================================================================================*/
.cardg .uk-grid {
    margin-left: 0;
}
.cardg p {
    line-height: 16px;
    font-size: 14px;
}
.cardg .uk-width-1-3 {
    width: 60px;
    padding-left: 15px;
    text-align: center;
}
.cardg .uk-width-2-3 {
    width: calc(100% - 60px);
    padding-right: 15px;
    padding-left: 0;
}

.cardg .uk-width-1-2 img {
    height: 21px;
    margin-left: 5px;
}
.cardg .uk-width-1-3 img {
    width: 20px;
}
.cardg .uk-grid .uk-width-1-2 {
    padding-left: 0;
    text-align: center;
    margin-top: 15px;
}
.cardg div.uk-width-1-2:nth-child(4) {
    border-left: 2px solid #ea4033;
}
.cardg .uk-width-1-1 {
    padding-left: 0;
    padding-bottom: 20px;
}
.fac a {
    display: block;
    color: #fff;
    font-family: 'Amsi Bold' !important;
    font-size: 17px;
    text-transform: uppercase;
    top: 3px;
    position: relative;
}
.fac a:hover {
    text-decoration: none !important;
}
.fac {
    position: relative;
    margin-top: 18px;
    width: 150px;
    text-align: center;
    left: calc(50% - 75px);
    background-color: #ea4033;
    border-radius: 5px;
    height: 35px;
}
.sred, .sblue, .sgray {
    margin-left: 5px;
    padding: 0px 6px 3px 6px;
    color: #fff;
}
.sblue {
    background-color: #0036bf;
}
.sred {
    background: #eb443e;
}
.sgray {
    background: #4c4c4c;
}
.cardg h3 span {
    font-family: 'Amsi Extra-Bold' !important;
    position: relative;
    top: 8px;
}
.cardg h3 {
    background-color: #ea4033;
    color: #Fff;
    text-align: center;
    height: 53px;
    border-radius: 5px 5px 0px 0px;
    margin-bottom: 0;
}
.imgas img {
    padding: 15px;
}
.cardg {
    width: 350px;
    background-color: #f2f2f2;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    border-radius: 5px 5px 8px 8px;
}
.cardg.anaya h3 {
    background-color: #d0508b;
}
.anaya .fac {
    background: #d0508b;
}

/* Top c ====================================================================================================================================================*/
#tm-top-c {
    background-image: url('../images/img-frontpage/fondo-ubicacion.jpg');
    background-size: 100%;
}
.mapin {
    padding: 25px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 4px 0px;
}
.titlec {
    font-family: 'Amsi Extra-Bold' !important;
    color: #ea4033;
    text-align: center;
}


/*Nosotros ====================================================================================================================================================*/
.nosotros #tm-main {
    background-image: url('../images/img-interiores/fondo-nosotros.jpg');
    background-size: cover;
}
.nosotros .tm-main {
    
}
.textnosotros {
    text-align: justify;
    padding: 30px;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    background-color: #fff;
    margin-bottom: 50px;
}
/*Contacto ====================================================================================================================================================*/
.uk-form-horizontal .uk-form-controls {
    margin-left: 0;
}
.uk-form-horizontal .uk-form-label {
    width: 100px;
    font-family: 'Amsi Regular' !important;
}

.uk-form-row.rsform-block.rsform-block-antispam > label {
    width: auto;
    color: black;
    font-size: 16px;
}

.uk-form-row.rsform-block.rsform-block-antispam > div > input {
    width: 100% !important;
}

.uk-form input:not([class*="uk-form-width-"]):not([class*="uk-width-"]):not([type="radio"]):not([type="checkbox"]), .uk-form select:not([class*="uk-form-width-"]):not([class*="uk-width-"]), .uk-form textarea:not([class*="uk-form-width-"]):not([class*="uk-width-"]) {
    width: 100%;
    text-transform: none;
    border-color: #ea4033;
    font-family: 'Amsi Regular' !important;
}
#nombre::placeholder,#telefono::placeholder,#email::placeholder,#mensaje::placeholder{
    color: #ea4033;
}
#btncontinuar {
    font-family: 'Amsi Regular' !important;
    background-color: #ea4033;
    letter-spacing: 0;
    top: 20px;
    position: relative;
    top: calc(50% - 20px);
    left: calc(50% - 63.5px);
}
.formadecont {
    position: relative;
    max-width: 700px;
    padding: 40px 40px;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 13px 0px;
    border-radius: 15px;
    background: #fff;
}
.contacto #tm-main {
    background-image: url('../images/img-interiores/fondo-contacto.jpg');
    background-size: cover;
}
.conttitle {
    text-align: center;
    font-family: 'Amsi Extra-Bold' !important;
    color: #ea4033;
    font-size: 35px;
}
.rsform-block-btncontinuar .uk-form-label.control-label.formControlLabel {
    width: 0;
}
.uk-form-row.rsform-block.rsform-block-btncontinuar {
    height: 100%;
}
.rsform-block-btncontinuar .uk-form-controls.formControls {
    height: 100%;
}
.tnksmsj a {
    display: block;
    padding: 10px;
    background: #ea4033;
    width: 100px;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    margin-top: 10px;
}
.tnksmsj {
    color: #000;
}







/* Footer ====================================================================================================================================================*/
#tm-footer{
    background-color: #ea4033;
}
.tm-footer-fixed .tm-block-footer {
    position: relative !important;
    height: 120px !important;
    padding: 0;
    background-color: #ea4033;
    z-index: 10;
}
.tm-footer-fixed {
    padding-bottom: 0px;
}
#tm-anchor-bottom {
    display: none;
}
.mapa {
    border: 14px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
 
}
#tm-footer > div {
    max-width: 100%;
}
.tm-footer.uk-text-center {
    max-width: 100%;
    width: 100%;
}
.textfoot {
    line-height: 15px;
    text-align: left;
    width: 225px;
    position: relative;
    margin: auto;
    margin-bottom: auto;
    color: #fff;
}
.logomc {
    width: 120px;
    position: relative;
    margin: auto;
        margin-bottom: auto;
}
.iconsnav {
    position: fixed;
    left: 0;
    top: 200px;
    width: 70px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
    background-color: #fff;
    border-radius: 0px 20px 20px 0px;
    z-index: 51;
}
.iconsnav > div {
    margin: 15px;
}
.iconsnav img {
    width: 30px;
}
.tm-footer-left.uk-flex.uk-flex-middle .uk-panel {
    width: 100%;
}
.tm-footer-left.uk-flex.uk-flex-middle {
    width: 100%;
}





.tm-block-footer .tm-footer a {
    color: #a4a4a4;
}
#tm-bottom-d {
    z-index: 10;
    padding: 0;
}
.tm-bottom-d .uk-width-1-1.uk-grid-margin {

    margin-top: 0;

}

/* ============================================
   ------- MENÚ DE CELULAR (panel lateral)
 ============================================== */
.menu-boton {
    display: none;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 985; /* sobre la barra fija del tema (980) */
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #222;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.menu-boton:focus-visible {
    outline: 2px solid #ea4033;
    outline-offset: 2px;
}

html.menu-abierto,
html.menu-abierto body {
    overflow: hidden;
}

.menu-movil {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 340px);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #fff;
    color: #222;
    box-shadow: -8px 0 32px rgba(0, 0, 0, .25);
    transform: translateX(100%);
    transition: transform 200ms cubic-bezier(.4, 0, 1, 1); /* salida; DURACION_SALIDA en main.js */
}
.menu-movil.is-open {
    transform: none;
    transition: transform 260ms cubic-bezier(.22, 1, .36, 1); /* entrada */
}
.menu-movil::backdrop {
    background: rgba(17, 17, 17, .55);
    opacity: 0;
    transition: opacity 200ms ease;
}
.menu-movil.is-open::backdrop {
    opacity: 1;
}

.menu-movil__interior {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* El botón de cerrar cae justo donde está el de abrir */
.menu-movil__cabecera {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 12px 24px;
    background: #ea4033;
}
.menu-movil__logo {
    width: 150px;
    height: auto;
}
.menu-movil__cerrar {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.menu-movil__cerrar:hover,
.menu-movil__cerrar:active {
    background: rgba(255, 255, 255, .16);
}
.menu-movil__cerrar:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.menu-movil__nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 8px 0;
}
.menu-movil__nav a {
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 0 24px;
    border-bottom: 1px solid #eee;
    font-family: 'Amsi Semi-Bold' !important;
    font-size: 22px;
    line-height: 1.2;
    color: #222;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.menu-movil__nav a:hover,
.menu-movil__nav a:active {
    background: #f6f6f6;
    color: #ea4033;
}
.menu-movil__nav a[aria-current="page"] {
    color: #ea4033;
    box-shadow: inset 4px 0 0 #ea4033;
}
.menu-movil__nav a:focus-visible,
.menu-movil__redes a:focus-visible {
    outline: 2px solid #ea4033;
    outline-offset: -2px;
}

.menu-movil__pie {
    flex: none;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    background: #f6f6f6;
}
.menu-movil__pie p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.2;
    color: #595959;
}
.menu-movil__redes {
    display: flex;
    gap: 8px;
    margin-left: -9px; /* alinea el ícono, no su área táctil, con el texto */
}
.menu-movil__redes a {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}
.menu-movil__redes img {
    width: 30px;
    height: 30px;
}

@media (max-width: 767px) {
    .menu-boton { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .menu-movil,
    .menu-movil.is-open,
    .menu-movil::backdrop { transition: none; }
}


/* Responsivo ====================================================================================================================================================*/
@media(max-width: 1400px){
    .nosotros .tm-middle.uk-grid {
    margin-left: 0;
}
}




/* ====================================================================================================================================================*/

@media(max-width: 1220px){
.gridcards > div:nth-child(1){
    width: 100%;
    margin-bottom:25px;
}
.gridcards > div:nth-child(2),.gridcards > div:nth-child(3){
    width: 50%
}
.cardg {
    position: relative;
    margin: auto;
        margin-bottom: auto;
}

}


/* ====================================================================================================================================================*/
@media(max-width: 959px){
  .tm-navbar-center.uk-flex.uk-flex-center.uk-hidden-small.uk-hidden-medium {
    display: flex !important;
}  
.contacto .iconsnav {
    top: 72px;
}
}

/* ====================================================================================================================================================*/
@media(max-width: 767px){
.logosmall {
    background: #ea4033;
    width: 130px;
    height: 100%;
    border-radius: 0 0 10px 10px;
}
.tm-logo-small.uk-visible-small {
    height: 100%;
}
.tm-navbar-left {
    left: calc(50% - 65px);
}
.logosmall img {
    position: relative;
    top: calc(50% - 20px);
}
.uk-grid.gridcards > .uk-width-1-3 {
    width: 100%;
    margin-bottom: 25px;
}
.uk-grid.gridfoot > div {
    width: 100%;
    margin-bottom: 20px;
}
.textfoot {
    text-align: center;
}
.mapin {
    padding: 0;
}
#mapa1 {
    position: absolute;
    left: 0;
    padding: 10px;
    top: -70px;
}
.textnosotros {
    font-size: 15px;
    line-height: 18px;
}
.uk-grid.gridcont .uk-width-1-2 {
    padding-left: 0;
    width: 100%;
}
.uk-grid.gridcont {
    margin-left: 0;
}

#g-recaptcha-27 > div {
    position: relative;
    left: calc(50% - 152px);
}
.contacto .iconsnav {
    top: 20px;
}
.slidetopa > div > ul,
    .slidetopa > div > ul > li{
       height: 400px !important;;
       min-block-size: 400px !important;;
    }
}
/* ====================================================================================================================================================*/
@media(max-width: 550px){
.iconsnav {
    top: auto !important;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: auto !important;
    border-radius: 0px;
    text-align: center
}
.iconsnav > div {
    margin: 15px;
    display: inline-table;
}
#tm-footer {
    margin-bottom: 60px;
}
}
/* ====================================================================================================================================================*/
@media(max-width: 500px){
.formadecont {
    padding: 20px 10px;
}
.contacto #tm-main .uk-container.uk-container-center {
    padding: 0;
}


}

/* ====================================================================================================================================================*/
@media(max-width: 400px){
.cardg {
    width: 300px;
}
.uk-grid.gridcards > div {
    padding-left: 0;
}
.uk-grid.gridcards {
    margin-left: 0;
}
.inicio #tm-top-b .uk-container.uk-container-center {
    padding: 0px 10px;
}
.textnosotros {
    font-size: 13px;
    line-height: 14px;
}
}

/* Agregado: honeypot del formulario (oculto para personas) y boton centrado */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contacto-enviar { text-align: center; }
.contacto-enviar .uk-button { background-color: #ea4033; letter-spacing: 0; }
.formadecont textarea, .formadecont select { width: 100%; }

/* Agregado: filas del formulario alineadas y pie siempre al fondo en Contacto */
.formadecont .gridcont { margin-top: 0; }
.formadecont .gridcont > .uk-form-row { margin-top: 0; }
.formadecont .gridcont + .uk-form-row { margin-top: 25px; }
@media (max-width: 767px) {
    .formadecont .gridcont > .uk-form-row + .uk-form-row { margin-top: 25px; }
}
.contacto #tm-main { min-height: calc(100vh - 120px); }
@media (max-width: 550px) {
    .contacto #tm-main { min-height: calc(100vh - 180px); }
}