/*
Theme Name: Ohixm Child
Theme URI: https://themeforest.net/user/design_grid/portfolio
Author: Design Grid
Author URI: https://themeforest.net/user/design_grid
Description:  A child theme of Ohixm WordPress theme.
Version: 1.0.0
Tested up to: 5.0
Requires PHP: 7.0.0
Text Domain: ohixm
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:	right-sidebar,  custom-background, custom-menu, editor-style, featured-images, flexible-header, sticky-post, threaded-comments, blog , grid-layout, footer-widgets, custom-colors, custom-logo, translation-ready, portfolio
Template: ohixm
*/

/* IMPORTS */
@import url('assets/css/din-fonts.css');
@import url('assets/css/roboto-fonts.css');
@import url('assets/css/_variables.css');


/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  font-family: var(--font-family-primary);
  font-weight: 400;
}
body p {
    font-weight: inherit;
    color: inherit;
}
body .dsn-heading-title:not(.ah-headline) p:not(.animate-number), 
body .dsn-heading-title:not(.ah-headline) span:not(.animate-number) {
    line-height: inherit;
}
body .dsn-btn .title-btn{
    font-size: inherit;
    letter-spacing: inherit;
}
.smooth-scrollbar-option {
    display: none;
}

#dsn_cursor {
    border: 2px solid var(--color-tertiary) !important;
}
#dsn_cursor_inner {
    background-color: var(--color-tertiary) !important;
}

.dsn-scroll-bottom {
    color: var(--color-primary) !important;
}
.dsn-scroll-bottom:after {
    background-color: var(--color-primary) !important;
}

/* Page transition */
.page-transition {
    position: fixed;
    inset: 0;
    background-image: url(/wp-content/uploads/2025/09/fondoMenu2.jpg)!important;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
    z-index: 9999;
}
.page-transition.active {
    opacity: 1;
    pointer-events: all;
}
.page-transition img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
}

/* --- START HEADER --- */
.site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line:nth-of-type(1),
.site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line:nth-of-type(3) {
    transform: none;
}
.site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line {
    background-color: var(--color-white);
}
.site-header.dsn-hamburger #navbar_toggle .toggle-text {
    color: var(--color-white);
}
/* selectors country and language */
.custom-selectors {
    display: flex;
    align-items: center;
    font-family: var(--font-family-primary);
    font-weight: 400;
    margin-right: 15px;
}
.country-selector,
.language-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}
.country-selector:hover,
.language-selector:hover {
    background: rgba(255,255,255,0.10);
}
.flag-icon {
    width: 19.5px;
    height: 13px;
    margin-right: 8px;
    border-radius: 2px;
}
.globe-icon {
    display: flex;
    align-items: center;
    margin-right: 8px;
}
.arrow {
    margin-left: 6px;
}
.country-dropdown {
    display: none;
    position: absolute;
    background: rgba(255,255,255,0.5);
    border-radius: 6px;
    margin-top: 85px;
    min-width: 105px;
    box-shadow: 0 4px 14px #0003;
    z-index: 10;
    padding: 0;
    list-style: none;
}
.language-dropdown {
    display: none;
    position: absolute;
    background: rgba(255,255,255,0.5);
    border-radius: 6px;
    margin-top: 120px;
    min-width: 110px;
    box-shadow: 0 4px 14px #0003;
    z-index: 10;
    padding: 0;
    list-style: none;
}
.country-selector,
.language-selector {
    position: relative;
}
.country-dropdown li,
.language-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    color: var(--color-white);
    display: flex;
    align-items: center;
    text-shadow: 1px 1px black;
}
.country-dropdown li:hover,
.language-dropdown li:hover {
    background: #444;
}
body.over-hidden .custom-selectors{
    opacity: 0;
    visibility: hidden;
}
@media (max-width: 450px) {
    .custom-selectors .selected-country,
    .custom-selectors .selected-language {
        display: none;
    }
    .arrow {
        margin-left: 0px;
    }
    .country-selector, .language-selector {
        padding: 4px 0px;
    }
    .country-selector {
        padding-right: 10px;
    }
}
@media (max-width: 340px) {
    .site-header.dsn-hamburger #navbar_toggle .toggle-icon {
        --width-icon: 15px;
    }
    .site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line {
        width: 15px;
    }
    .country-selector {
        padding-right: 0px;
    }
}
/* --- END HEADER --- */


/* --- START MENU --- */
.site-header.dsn-hamburger ul.primary-nav li a span:before {
    content: '' !important;
}
.dsn-hamburger.site-header .main-navigation ul.primary-nav li {
    line-height: 0.5;
    letter-spacing: -1px;
    text-transform: uppercase;
}
.dsn-hamburger.site-header .main-navigation ul {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-stretch: condensed;
}
.dsn-hamburger.site-header .main-navigation ul.primary-nav li a {
    font-size: 55px;
    line-height: 0.9;
    overflow: visible !important;
}
.site-header.dsn-hamburger ul.primary-nav a:hover {
    letter-spacing: -1px;
    transform: none;
    color: var(--color-secondary) !important;
}
.site-header.dsn-hamburger ul.primary-nav a::after {
  content: '';
  position: absolute;
  top: 38%;
  right: -55px; 
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  background-image: url('assets/images/Frame.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.site-header.dsn-hamburger ul.primary-nav a:hover::after {
  opacity: 1;
}
@media only screen and (min-width: 992px) {
    .site-header.dsn-hamburger ul.primary-nav {
        height: 80vh !important;
    }
}
/* social menu */
.dsn-sidebar-social {
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
}
.dsn-sidebar-social img {
    width: 30px;
    height: 30px;
    margin: 0 15px;
    transition: transform 0.3s ease;
}
/* close menu */
body.over-hidden #navbar_toggle div.toggle-icon {
    width: 30px;
    height: 30px;
    background-color: red;
    border-radius: 50%;
    position: relative;
    align-items: center;
}
body.over-hidden #navbar_toggle div.toggle-text {
    display: none;
}
body.over-hidden .site-header.dsn-hamburger #navbar_toggle .toggle-icon .toggle-line {
    position: absolute !important;
    top: 13px;
    left: 1px;
    height: 3px;
}
/* contact menu */
.dsn-sidebar-contact {
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    position: fixed;
    bottom: 5%;
}
.dsn-sidebar-contact h6,
.dsn-sidebar-contact p {
    font-family: var(--font-family-primary);
    font-weight: 400;
    letter-spacing: 2px;
}
.dsn-sidebar-contact p {
    color: var(--color-white);
}
.dsn-sidebar-contact h6,
.dsn-sidebar-contact p.dsn-subtitle {
    margin-top: 15px;
    color: var(--color-secondary);
}
.dsn-sidebar-contact p a {
    color: var(--color-white);
}
body.over-hidden .dsn-sidebar-social,
body.over-hidden .dsn-sidebar-contact {
    opacity: 1;
    visibility: visible;
    transition-delay: 2s;
}
@media (max-width: 990px) {
    .dsn-hamburger.site-header .main-navigation ul.primary-nav li a {
        font-size: 2.5rem;
    }
    #dsn-primary-list {
        padding: 120px 0;
        margin-top: 30px;
    }
    .dsn-sidebar-contact h6, .dsn-sidebar-contact p.dsn-subtitle {
        margin-top: 10px;
    }
    .dsn-sidebar-contact p {
        font-size: 12px;
    }
    .dsn-sidebar-contact {
        display: block;
    }
    #animation_container {
        margin: 15px auto;
    }
    .dsn-circle-animation {
        display: none;
    }
}
@media (max-width: 575px) {
    .dsn-sidebar-social img {
        width: 25px;
        height: 25px;
        margin: 0px 7px;
    }
    .dsn-sidebar-social {
        right: 20%;
    }
}
@media (max-height: 700px) {
    .dsn-hamburger.site-header .main-navigation ul.primary-nav li a {
        font-size: 3rem;
    }
    .dsn-sidebar-contact p {
        font-size: 11px;
    }
}
/* --- END MENU --- */


/* --- START SLIDER --- */
.title-revslider h2 {
    font-family: var(--font-family-primary) !important;
    font-weight: 700 !important;
    font-stretch: condensed;
    line-height: 0.8 !important;
    letter-spacing: -3px !important;
}
.subtitle-revslider p {
    padding: 8px 8px 2px 8px !important;
    line-height: 0;
}
.subtitle-revslider p span {
    font-weight: 700 !important;
    font-style: normal !important;
}
/* --- END SLIDER --- */

.posts-swiper .dsn-btn .title-btn {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.posts-swiper h2.post-title{
    font-stretch: condensed;
}

/* --- START SOCIAL SIDE --- */
.social-side {
    bottom: 0px;
}
.social-side .icon {
    background: var(--color-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-side .icon:before {
    content: none;
}
.social-side .icon:after {
    content: "";
    position: relative;
    display: inline-block;
    background: var(--color-white);
    width: 1px;
    height: 85px;
    margin: 35px 0;
}
.social-side .icon {
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-white);
}
.socials li a {
    margin-bottom: 25px;
}
.social-side ul li a img {
    width: 30px;
    height: 30px;
}
.socials li a:hover:after {
    content: none;
}
.socials-svg {
	width: 40px;
    height: 40px;
    background: var(--color-white);
    -webkit-mask-size: contain;
    mask-size: contain; 
}
.Facebook {
    -webkit-mask: url('assets/images/facebook.svg' ) no-repeat center;
    mask: url('assets/images/facebook.svg' ) no-repeat center;
}
.Instagram {
    -webkit-mask: url('assets/images/instagram.svg' ) no-repeat center;
    mask: url('assets/images/instagram.svg' ) no-repeat center;
}
.Linkedin {
    -webkit-mask: url('assets/images/linkedin.svg' ) no-repeat center;
    mask: url('assets/images/linkedin.svg' ) no-repeat center;
}
/* --- END SOCIAL SIDE --- */


/* --- START HOME --- */
/* play nuestros servicios */
#trigger_video {
    margin-top: 0px;
}
.move-circle.background-main .icon-circle {
    background-color: var(--color-white);
}
/* carrousel */
.dsn-posts .dsn-item-post:not(.background-section) .metas a {
    background-color: var(--color-primary);
}
.swiper-pagination {
    color: var(--color-white);
}
.background-transparent .dsn-swiper-paginate .dsn-revere-bg {
    background-color: var(--color-primary);
}
/* noticias */
.dsn-posts .dsn-item-post.background-section .metas a {
    color: var(--color-white);
    background-color: var(--color-primary);
}
/* --- END HOME --- */

/* --- START QUIENES SOMOS --- */
.mision-vision .number.background-theme.h6 {
    color: var(--color-primary);
    background: var(--color-secondary);
}
.v-light .works-about .number-item:before,
.v-dark .works-about .number-item:before {
    background: linear-gradient(-90deg, #009CDE 0%, #009CDE 90%, #0033A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.works-about .post-title-info h2.post-title {
    background: linear-gradient(-90deg, #009CDE 0%, #009CDE 25%, #0033A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.v-dark .service-content .service_description {
    color: var(--color-white)!important;
}
.qh-works .dsn-category a:nth-child(2) {
    display: none;
}
/* --- END QUIENES SOMOS --- */

/* START QUE HACEMOS */
.qh-ventajas .dsn-service .service-item .number-item:after {
    border: 1px dashed var(--color-secondary);
}
.qh-ventajas .dsn-service .service-item .service-content .dsn-list-icon a {
    background-color: var(--color-secondary);
}
.v-light .qh-ventajas .number-item:before {
    background-color: var(--color-secondary);
}
/* --- END QUE HACEMOS --- */

/* START PORTFOLIO */
#dsn_header.header-project #hero_content .intro-title {
    display: grid;
    grid-template-columns: 111px 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
}
#dsn_header.header-project #hero_content .intro-title  img {
    width: 111px;
    grid-row: span 2;
}
#dsn_header.header-project #hero_content .intro-title  h1 {
    font-size: 66px;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(-90deg, #009CDE 0%, #009CDE 25%, #0033A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 40px;
    font-family: "DINNextLTPro", Sans-serif;
}
#dsn_header.header-project #hero_content .intro-title #dsn_metas {
    margin-left: 40px;
}
#dsn_header.header-project #hero_content .intro-title #dsn_metas div span {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 200px;
}
#dsn_header.header-project #hero_content .intro-title #dsn_metas div span a {
    font-size: 15px;
    font-weight: 500;
}
div.cap {
    background: transparent;
}
div.cap span {
    font-size: 60px;
    font-weight: 700;
    font-stretch: condensed;
    letter-spacing: -1px;
}
/* PAGINACION */
.pagination-post.d-flex.align-items-center.border-style.border-radius.mt-section {
    width: 500px;
    margin: 80px auto;
    border: none;
    z-index: 999;
}
.pagination-post .pagination-item a {
    background: linear-gradient(-90deg, #009CDE 0%, #009CDE 25%, #0033A0 100%);
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 10px 20px;
    font-size: 24px;
}
.pagination-post .pagination-item.text-right a {
    background: linear-gradient(-90deg, #0033A0 0%, #0033A0 25%, #009CDE 100%);
    border-radius: 0 50px 50px 0;
}
.pagination-post .pagination-item a span {
    margin-bottom: 0;
}
.pagination-post .pagination-item h4 {
    display: none;
}

/* Mobile pagination styles */
@media (max-width: 767px) {
    .pagination-post.d-flex.align-items-center.border-style.border-radius.mt-section {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        gap: 20px;
        width: auto;
        margin: 40px auto;
    }
    
    .pagination-post .pagination-item {
        width: 60px !important;
        padding: 0 !important;
        flex: none !important;
    }
    
    .pagination-post .pagination-item a {
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        font-size: 0 !important;
        text-decoration: none !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .pagination-post .pagination-item a * {
        display: none !important;
    }
    
    .pagination-post .pagination-item a .pagination-arrow-only {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
        line-height: 1 !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 999 !important;
        width: 24px !important;
        height: 24px !important;
        background-image: url('assets/images/arrow-left.svg') !important;
        background-size: 32px 32px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
    }
    
    .pagination-post .pagination-item.text-right a .pagination-arrow-only {
        background-image: url('assets/images/arrow-right.svg') !important;
    }
    
    .pagination-post .pagination-item:not(.text-right) {
        border-bottom: none !important;
    }
        /* Botón izquierdo */
    .pagination-post .pagination-item:first-child a {
        background: rgb(0, 122, 202);
        color: #fff; /* opcional si tiene ícono o texto */
    }

    /* Botón derecho */
    .pagination-post .pagination-item:last-child a {
        background: rgb(1, 153, 220);
        color: #fff;
    }
    div.js-marquee-wrapper {
        box-sizing: content-box !important;
    }
    .dsn-sidebar-contact {
        bottom: 30% !important;
    }
}

/* Hide arrow-only on desktop, show text */
@media (min-width: 768px) {
    .pagination-post .pagination-item a .pagination-arrow-only {
        display: none !important;
    }
    
    .pagination-post .pagination-item a .pagination-text,
    .pagination-post .pagination-item a span.mb-5.pagination-text {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        left: auto !important;
    }
}
@media screen and (max-width: 767px) {
    #dsn_header.header-normal {
        padding-top: 130px;
    }
    #dsn_header.header-project #hero_content .intro-title {
        display: flex;
    }
    #dsn_header.header-project #hero_content .intro-title #hero_title {
        width: 100%;
    }
    #dsn_header.header-project #hero_content .intro-title h1 {
        margin-left: 0;
        font-size: 30px;
    }
    #dsn_header.header-project #hero_content .intro-title #dsn_metas {
        margin: 0px;
    }
    #dsn_header.header-project #hero_content .intro-title img {
        width: 72px;
    }
    #dsn_header.header-project #hero_content .intro-title #dsn_metas div span a {
        font-size: 12px;
    }
    div.cap span {
        font-size: 30px;
    }
    .pagination-post.d-flex.align-items-center.border-style.border-radius.mt-section {
        width: auto !important;
        display: flex !important;
        flex-direction: row !important;
    }
    .pagination-post .pagination-item {
        width: 60px !important;
    }
    .pagination-post .pagination-item a {
        width: 60px !important;
        height: 60px !important;
        border-radius: 50% !important;
    }
    .pagination-post .pagination-item:not(.text-right) {
        border-bottom: none;
    }
    .list-with-number.dsn-style-list .dsn-posts .number-item::before {
        font-size: 50px;
    }
    h2.title.dsn-heading-title.d-inline-block.p-relative.color-inherit-bg.custom br {
        display: block;
    }
    .elementor-9463 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-8640 .elementor-element.elementor-element-fbdd5d1 .tab-title,
    .elementor-10089 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10116 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10128 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10141 .elementor-element.elementor-element-67ee4e9 .tab-title {
        width: 80%;
    }
    ul#menu-footer-custom-menu {
        text-align: center;
    }
    .dsn-sidebar-contact-elementor {
        text-align: center;
    }
}
/* --- END PORTFOLIO */

/* --- START PROYECTOS --- */
.proyectos-slider .dsn-slider-content .metas span {
    border: 1px solid var(--color-white);
    padding: 5px 15px 2px 15px;
    line-height: 2;
}
.proyectos-slider .dsn-slider-content h2.title {
    font-stretch: condensed;
    overflow: visible;
}
.proyectos-slider .dsn-slider-content .title-btn span {
    text-transform: uppercase;
    letter-spacing: 3px;
}
.proyectos-slider .control-nav .prev-paginate span,
.proyectos-slider .control-nav .next-paginate span {
    background-color: var(--color-white);
}
.proyectos-slider .control-nav .prev-paginate span.dsn-icon svg path,
.proyectos-slider .control-nav .next-paginate span.dsn-icon svg path {
    fill: var(--color-black);
}
/* --- END PROYECTOS --- */

/* --- START FOOTER --- */
.dsn-sidebar-contact-elementor .elementor-shortcode p {
    font-family: var(--font-family-primary);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-white);
}
.dsn-sidebar-contact-elementor .elementor-shortcode h6,
.dsn-sidebar-contact-elementor .elementor-shortcode p.dsn-subtitle {
    margin-top: 15px;
    color: var(--color-secondary);
}
.dsn-sidebar-contact-elementor .elementor-shortcode p.dsn-subtitle:nth-of-type(4) {
    margin-top: 15px;
}
.dsn-sidebar-contact-elementor .elementor-shortcode p.dsn-subtitle:nth-of-type(6) {
    margin-top: 27px;
}
.dsn-sidebar-contact-elementor .elementor-shortcode h6 {
    font-family: var(--font-family-primary);
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 0px;
}
.dsn-sidebar-contact-elementor .elementor-shortcode p a {
    color: var(--color-white);
}
.btnbrochure {
    font-family: var(--font-family-primary);
    font-weight: 700;
    font-style: normal;
    color: var(--color-secondary);
}
.powered-elementor,
.powered-elementor a {
    color: rgba(255, 255, 255, 0.5);
}
.powered-elementor a {
    text-decoration: underline;
}
#menu-footer-custom-menu li a {
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--color-white);
    line-height: 1.6;
}
/* --- END FOOTER --- */
.dsn-scroll-bottom {
     background: linear-gradient(-90deg, #009CDE 0%, #009CDE 25%, #0033A0 100%);
    -webkit-background-clip: text;  
    -webkit-text-fill-color: transparent; 
}
.dsn-scroll-bottom:after {
    background: linear-gradient(-90deg, #009CDE 0%, #009CDE 25%, #0033A0 100%);     
}
/* ajustar el ancho de los titulos de acordeon en elementor para que no rompa el item de numeración y no se junte con el selector */
.elementor-9463 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-8640 .elementor-element.elementor-element-fbdd5d1 .tab-title,
    .elementor-10089 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10116 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10128 .elementor-element.elementor-element-67ee4e9 .tab-title,
    .elementor-10141 .elementor-element.elementor-element-67ee4e9 .tab-title {
        width: 80%;
    }
/*estilos para form de contacto en elementor*/
.dsn-form input[type=submit] {
    color: #0033A0;
    border-radius: 30px;
    border: 1px solid #0033A0;        
}
.dsn-form .entry-box textarea {
    border-radius: 10px;
}
.dsn-form .entry-box textarea, .dsn-form .entry-box input:not([type=submit]) {
    border: 1px solid #0033A0 !important;
    border-radius: 10px;    
}
#layout_option {
    display: none;
}
.p-relative.dsn-marquee.over-hidden {
    overflow: visible !important;
}
.language-selector {
    display: none !important;
}