/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* Globales */
@font-face {
    font-family: 'NewsGothicStdBold';
    src: url('assets/fonts/newsgothicstd-bold.woff') format('woff'),
        url('assets/fonts/newsgothicstd-bold.ttf') format('truetype'),
        url('assets/fonts/newsgothicstd-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}


h1,
h2,
h3 {
    font-family: 'NewsGothicStdBold', Arial, sans-serif !important;
}

p {
    font-family: 'Roboto' !important;
}

header#masthead {
    background: #fff !important;
}


.remove-menu-padding.remove-menu-padding-mobile.header-wrapper.header-uncode-block {
    padding-top: 135px;
}


a.btn-principal {
    color: #02063d !important;
}

a.btn-principal:hover {
    color: #fff !important;
}


h3.t-entry-title {
    font-family: 'NewsGothicStdBold' !important;
    color: #02063d !important;
}

div#row-call-action:after {
    width: 850px;
    height: 300px;
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    right: 0px;
    background-image: url("/wp-content/uploads/2025/09/ico-izquierdo-instalaciones.png");
    background-repeat: no-repeat;
    background-size: cover;
}


.txt-ico h4 {
    color: #02063d !important;
}

#row-iconos .btn-color-836388 {
    color: #14133b !important;
}

li.active a.cursor-init {
    text-decoration: none !important;
    border-bottom: 5px solid #5492ce;
    line-height: 10px !important;


}

/* Footer */
footer img.wp-image-160052 {
    width: 258px !important;
    height: 31px !important;
}



/* Botones del menú */
@media (min-width: 960px) {

    body:not(.menu-force-opacity):not(.navbar-hover) .style-dark-override:not(.is_stuck:not(.menu-desktop-transparent)):not(.is_mobile_open).menu-transparent .menu-horizontal-inner>.nav>.menu-smart>li>a,
    html.overlay-open body:not(.menu-force-opacity):not(.navbar-hover) .style-dark-override .menu-horizontal-inner>.nav>.menu-smart>li>a {
        color: rgb(2, 6, 61, 0.7) !important;
    }
}




/* Home */

.home header#masthead {
    background: transparent;
}


/* Deco N */

.home div#row-deco-n {
    position: absolute !important;
    top: -330px;
}



@media (max-width: 768px) {
    .home div#row-deco-n {
        display: none !important;
    }
}






/* blog */

.post-footer.post-footer-light.row-container {
    display: none !important;
}

span.author-wrap {
    display: none !important;
}

/* Nosotros */

.page-id-160081 div#row-deco-n {
    position: absolute !important;
    top: -300px;
}

/* Servicios */

.page-id-160124 div#row-deco-n {
    position: absolute !important;
    top: -300px;
}


/* Noticias */

.page-id-160150 div#row-deco-n {
    position: absolute !important;
    top: -300px;
}

/* Contacto */

input.wpcf7-form-control.wpcf7-submit {
    border-radius: 0 !important;
}


.page-id-160114 div#row-deco-n {
    position: absolute !important;
    top: -300px;
}

.style-light .ui-br,
.style-dark .style-light .ui-br,
.style-light hr,
.style-dark .style-light hr,
.style-light pre,
.style-dark .style-light pre,
.style-light table,
.style-dark .style-light table,
.style-light table td,
.style-dark .style-light table td,
.style-light table th,
.style-dark .style-light table th,
.style-light input,
.style-dark .style-light input,
.style-light textarea,
.style-dark .style-light textarea,
.style-light select,
.style-dark .style-light select,
.style-light .seldiv,
.style-dark .style-light .seldiv,
.style-light .select2-choice,
.style-dark .style-light .select2-choice,
.style-light .select2-selection--single,
.style-dark .style-light .select2-selection--single,
.style-light fieldset,
.style-dark .style-light fieldset,
.style-light .seldiv:before,
.style-dark .style-light .seldiv:before,
.style-light .tab-container .nav-tabs,
.style-dark .style-light .tab-container .nav-tabs,
.style-light .nav-tabs>li.active>a,
.style-dark .style-light .nav-tabs>li.active>a,
.style-light .border-100 .tab-content::before,
.style-dark .style-light .border-100 .tab-content::before,
.style-light .tab-content.vertical,
.style-dark .style-light .tab-content.vertical,
.style-light .nav-tabs.tabs-vertical>li,
.style-dark .style-light .nav-tabs.tabs-vertical>li,
.style-light .panel,
.style-dark .style-light .panel,
.style-light .panel-group .panel-heading+.panel-collapse:before,
.style-dark .style-light .panel-group .panel-heading+.panel-collapse:before,
.style-light .divider:before,
.style-dark .style-light .divider:before,
.style-light .divider:after,
.style-dark .style-light .divider:after,
.style-light .plan,
.style-dark .style-light .plan,
.style-light .plan .plan-title,
.style-dark .style-light .plan .plan-title,
.style-light .plan .item-list>li,
.style-dark .style-light .plan .item-list>li,
.style-light .plan .plan-button,
.style-dark .style-light .plan .plan-button,
.style-light .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced),
.style-dark .style-light .uncode-single-media-wrapper.img-thumbnail:not(.single-advanced),
.style-light .post-share,
.style-dark .style-light .post-share,
.style-light .post-tag-share-container,
.style-dark .style-light .post-tag-share-container,
.style-light .widget-container .widget-title,
.style-dark .style-light .widget-container .widget-title,
.style-light .widget-container.widget_calendar #wp-calendar caption,
.style-dark .style-light .widget-container.widget_calendar #wp-calendar caption,
.style-light .widget-container.widget_calendar .wp-calendar-nav,
.style-dark .style-light .widget-container.widget_calendar .wp-calendar-nav,
.style-light #comments .comment-list .comments-list:first-child,
.style-dark .style-light #comments .comment-list .comments-list:first-child,
.style-light #respond .comment-list .comments-list:first-child,
.style-dark .style-light #respond .comment-list .comments-list:first-child,
.style-light #comments .comments-list .comment-content,
.style-dark .style-light #comments .comments-list .comment-content,
.style-light #respond .comments-list .comment-content,
.style-dark .style-light #respond .comments-list .comment-content,
.style-light ul.dwls_search_results,
.style-dark .style-light ul.dwls_search_results,
.style-light ul.dwls_search_results li,
.style-dark .style-light ul.dwls_search_results li,
.style-light .ajax-filter-sidebar .ajax-filter-sidebar-header,
.style-dark .style-light .ajax-filter-sidebar .ajax-filter-sidebar-header,
.style-light .ajax-filter-sidebar .ajax-filter-sidebar-footer,
.style-dark .style-light .ajax-filter-sidebar .ajax-filter-sidebar-footer,
.style-light .swatch-type-label,
.style-dark .style-light .swatch-type-label,
.style-light .swatch--logo,
.style-dark .style-light .swatch--logo,
.style-light .widget-container .tagcloud a,
.style-dark .style-light .widget-container .tagcloud a {
    border-color: #02063d !important;
}

p {
    color: #000 !important;
}



/* Ajustes Gtranslate */
.gt_float_switcher {
    font-size: 15px !important
}

.gt_float_switcher img {
    width: 22px !important
}

.gt-current-lang {
    padding: 7px 10px !important
}

.gt-selected {
    width: 110px !important;
}

span.gt_float_switcher-arrow {
    float: right;
}
/* Fin Ajustes Gtranslate */

/* BOtón de accesibilida */

button#accessibility_settings_toggle {
    left: 141px;
    bottom: 18px;
}

h1.post-title {
    text-transform: uppercase;
}

.page-id-160206 h2, .page-id-160204 h2, .page-id-160204 h3 {text-transform: uppercase;}
















/* Tablet (entre 768px y 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .txt-h3 h3 {
        font-size: 22px !important;

    }
}

/* Móvil (menos de 768px) */
@media (max-width: 767px) {
    .txt-slider p {
        font-size: 22px !important;
    }

    .row-header {
        padding-top: 200px !important;
    }

    .txt-h3 h3 {
        font-size: 22px !important;
    }

    div#row-call-action:after {
        display: none !important;
    }

    .deco-ico {
    display: none !important;
}

.row-header {
    margin-bottom: 60px !important;
}

.home .row-header {
    margin-bottom: 0px !important;
}

div#page-header {
    background: #fff !important;
}
}

/* Re captcha */
.grecaptcha-badge {
    opacity: 0 !important;
}



/* Modal Solicitud de presupuesto */
      /* VISIBILIDAD */
        .presu-modal {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
            z-index: 9999;
            opacity: 0;
            visibility: hidden;
            transition: opacity .2s, visibility .2s;
            background: rgb(255, 255, 255, 0.6);
            backdrop-filter: blur(29px);
        }

        .presu-modal:target {
            opacity: 1;
            visibility: visible
        }

        .presu-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, .5);
            backdrop-filter: blur(8px);
            z-index: 0;
            display: block
        }

        /* BLOQUEO FONDO CUANDO ESTÁ ABIERTO */
        html.presu-open,
        body.presu-open {
            overflow: hidden;
            height: 100%;
            overscroll-behavior: none
        }

        /* CAJA MODAL */
        .presu-box {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 720px;
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
            padding: 24px;
            height: auto imprt !important;
            display: flex;
            flex-direction: column;
            overflow: hidden
        }

        .presu-close {
            position: absolute;
            top: 10px;
            right: 12px;
            text-decoration: none;
            font-size: 26px;
            line-height: 1;
            color: #111
        }

        .presu-box>h2,
        .presu-box>.presu-intro {
            flex: 0 0 auto
        }

        /* SOLO SCROLLEA EL FORM */
        .presu-form {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto; 
            overscroll-behavior: contain;
            -webkit-overflow-scrolling: touch;
            padding-right: 26px;
            height: 60vh;
        }

        .presu-form form {
            height: auto !important;
            max-height: none !important;
            overflow: visible !important
        }

        .presu-form::-webkit-scrollbar {
            width: 6px
        }

        .presu-form::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, .2);
            border-radius: 3px
        }

      

        .presu-form::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, .3);
            border-radius: 6px;
        }

        .presu-form::-webkit-scrollbar-track {
            background: #14133b73;
        }

      /*

          .presu-form label {
            position: absolute !important;
            width: 1px !important;
            height: 1px !important;
            padding: 0 !important;
            margin: -1px !important;
            overflow: hidden !important;
            clip: rect(0, 0, 0, 0) !important;
            white-space: nowrap !important;
            border: 0 !important;
        }

        */
              
        .presu-form input {
            border: none !important;
            border: none !important;
            box-shadow: none !important;
        }

        .presu-form select#service {
            border: none !important;
            border-bottom: 1px solid #000 !important;
        }

        .presu-form textarea#your-message {
            box-shadow: none !important;
            border-bottom: 1px solid #000 !important;
            height: 60px;
            margin-bottom: 30px;
        }

        .presu-form form p {
            margin: 0 !important;
        }


        .wpcf7-response-output {
            position: relative;
            bottom: 165px;
            max-width: 650px;
            width: 100%;
            border-radius: 0px !important;
            padding: 20px !important;
            margin-top: 28px !important;
            margin-bottom: 20px !important;
        }


        .presu-form input.wpcf7-submit {
            margin-top: 80px !important;
            background: #5492ce;
        }

        .presu-form h2#presu-title {
            color: #5492ce !important;
        }

        .presu-form form p {
            line-height: 1.3;
        }

        .presu-form span.wpcf7-not-valid-tip {
            margin-left: 15px !important;
        }


        .presu-form p.presu-intro {
            margin-bottom: 40px;
        }


        @media (max-width:480px) {
            .presu-box {
                padding: 18px;
                border-radius: 10px
            }
        }

        .sr-only{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}

.presu-form input[type=checkbox] {
    width: 15px !important;
    border: 1px solid #000 !important;
}


.wpcf7-inline-wide.txt-legales {
    margin-top: 20px;
}

.wpcf7-inline-wide.txt-legales p {
    font-size: 13px !important;
    font-weight: 400;
}