/*input number quitar flechas*/

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*input number quitar flechas*/


/*Footer espacio para el Subvencionado */

.footer-logo-espacio {
    margin-bottom: 30px;
    width: 250px;
    height: auto;
}

.footer-logo-espacio img {
    max-width: 100%;
}

/*Footer espacio para el Subvencionado*/


/*contienecheckbox*/

.contienecheckbox {
    text-align: left;
    margin-bottom: 10px;
}

.labelcheck {
    width: 93%;
    vertical-align: middle;
    margin: 0px;
    display: inline-block;
    font-size: 15px;
    line-height: 14px;
}

/*contienecheckbox*/

/*Loader*/

.ajax-loader {width: 79px; display: none;}
.ajax-result {margin-top:10px;}
.ajax-result .success, .ajax-result .error{clear:both; padding: 10px;border: 1px solid green;font-size: 14px;background: #a9e4a9;color:#000;text-align:center; display:none; }
.ajax-result .error{background: #f98e8e;}
.ajax-result-phone {margin-top:10px;}
.ajax-result-phone .success, .ajax-result-phone .error{clear:both; padding: 10px;border: 1px solid green;font-size: 14px;background: #a9e4a9;color:#000;text-align:center; display: none; }
.ajax-result-phone .error{background: #f98e8e;}
.ajax-result-home {margin-top:10px;}
.ajax-result-home .success, .ajax-result-home .error{clear:both; padding: 10px;border: 1px solid green;font-size: 14px;background: #a9e4a9;color:#000;text-align:center; display:none; }
.ajax-result-home .error{background: #f98e8e;}

.hpxpfck {position: absolute !important;  left: -9999px;  top: -9999px;  height: 0;  width: 0;  overflow: hidden;}

/*Loader*/

/* -----------------------------------
    Resaltar los titulos de los avisos
-------------------------------------*/

.resaltartitulos ul li {
    list-style: disc;
    margin: 15px;
}

.resaltartitulos ul {
    height: auto;
}

.resaltartitulos h1,
.resaltartitulos h2,
.resaltartitulos h3,
.resaltartitulos h4,
.resaltartitulos h5,
.resaltartitulos h6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* -----------------------------------
    Resaltar los titulos de los avisos
-------------------------------------*/

.validate-background {
  background-color: #000;
  display: contents;
}

.mt_20 {
    margin-top: 20px;
}

.mt_80 {
    margin-top: 80px;
}

.mr_5 {
    margin-right: 5px;
}

.mb_0 {
    margin-bottom: 0px;
}

.mb_46 {
    margin-bottom: 46px;
}

/* MENU START */

.header-left .header-logo {
    background-color: #fff;
    border-radius: 48px;
}

.header-left .header-logo .logo-menu {
    width: 160px;
}

.header-left .header-logo>a {
    padding: 5px 20px;
}

.main-menu.style-default {
    margin-left: 20px;
}

.offcanvas-header a.site-logo img.logo-menu {
    width: 220px;
}

.nav-ul-mb .nav-mb-item.current-menu .mb-menu-link {
    color: var(--Primary);
}

.nav-ul-mb .nav-mb-item.current-menu .mb-menu-link .btn-open-sub::after,
.nav-ul-mb .nav-mb-item.current-menu .mb-menu-link .btn-open-sub::before {
    background-color: var(--Primary);
}

.nav-ul-mb .nav-mb-item.current-menu .sub-nav-link.current-sub-menu {
    color: var(--Primary);
}

/* MENU END   */


/* DETAILS START */

.page-title.style-1 {
    position: relative;
    margin-top: -110px;
    background-image: url(../images/content/inici/inici-1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: -119px;
}

.width-vh {
    max-width: 92vh;
}

/* BREADCRUMB */

.breadcrumb li:not(:first-child) {
    color: var(--Black);
}

.breadcrumb li.active {
    color: var(--Primary);
}

/* SECTION 1 */

.shape-img-bg .img-bg-shape {
    position: absolute;
    top: -26%;
    right: -13%;
    width: 130%;
    height: 100%;
    pointer-events: none;
}

.font2.text-body-2 a {
    color: var(--Primary);
}

.text-with-img-1 .item .logo {
    width: 50%;
}

/* TEMPLATE 1 */

.text-gradient {
    background: linear-gradient(90deg, #BF1516 54%, #BF1516 24%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.text-gradient > div > * {
    background: linear-gradient(90deg, #BF1516 54%, #BF1516 24%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.box-service.style-3 .title::before {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    content: "";
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #BF1516;
    z-index: -1;
    opacity: 1;
    transition: opacity 350ms linear 0.35s;
}

div.resaltartitulos ul.description.description-2 {
    padding-left: 15px;
}

.box-service.style-3 .left {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    flex: 45%;
}

/* SECTION 2 */

.box-service.style-3 h3.title {
    font-size: 32px;
    line-height: 40px;
}

.single-post .unique-features .right h3.title {
    font-size: 24px;
    line-height: 32px;
}

.single-post .unique-features .left p.text-body-1 {
    margin-top: 17px;
}

.single-post .wrap-text p.text-body-1 {
    margin-top: 17px;
}

.single-post .wrap-text div.resaltartitulos ul {
    margin-top: 17px;
    padding-left: 15px;
}

.single-post .wrap-text div.resaltartitulos ul li {
    color: var(--Mono-gray-6);
    font-size: 18px;
    line-height: 28px;
    margin: 5px 15px;
}

.wrap-counter {
    margin-top: 40px;
}

/* TEMPLATE 2 */

/* Section Container with Background */
.lawyer-custom-section {
    position: relative;
    /* Lawyer theme background */
    background-image: url('../images/content/template-positioning/template-positioning-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content vertically/horizontally in section */
    overflow: hidden;
}

/* Dark overlay for better text contrast */
.lawyer-custom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);
    /* Uniform dark overlay */
    z-index: 1;
}

/* Content Wrapper */
.lawyer-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    /* Increased width for centered layout */
    margin: 0 auto;
    /* Center horizontally */
    padding: 50px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-top: 5px solid var(--Primary);
    /* Top border instead of left for centered look */
    text-align: center;
    /* Center text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center flex items (like button) */
}

/* Brand Name Span */
.lawyer-brand {
    display: block;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: var(--Primary);
    font-weight: 700;
}

/* Main Title H2 */
.lawyer-title {
    font-size: 48px;
    line-height: 1.2;
    color: var(--Mono-dark-9);
    margin-bottom: 24px;
}

.lawyer-title .text-gradient {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial !important;
    color: #BF1516;
}


/* Descriptive Text */
.lawyer-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--Mono-gray-7);
    margin-bottom: 32px;
}

/* CTA Button */
.lawyer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--Primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid transparent;
}

.lawyer-cta-btn:hover {
    background-color: transparent;
    color: var(--Primary);
    border-color: var(--Primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* SECTION 3*/

.section-process.style-1 .wrap {
    border-bottom: 0px solid var(--Mono-gray-3);
    padding-bottom: 60px;
}

/* SECTION 4 */

h3.contact-home a {
    font-size: 24px;
    line-height: 32px;
    color: var(--Primary);
}

h3.contact-home a:hover {
    color: var(--Black);
}

/* CONTACT */

.bot div.section-map {
    padding-top: 40px;
}

.map-item .map {
    margin-bottom: 31px;
    width: 100%;
    height: 270px;
    border-radius: 16px;
}

.info ul.ul-contacte li h2 {
    font-size: 24px;
    line-height: 32px;
    margin-top: 20px;
}

.info ul.ul-contacte li h3 {
    font-size: 24px;
    line-height: 32px;
    margin-top: 20px;
}

.info ul.ul-contacte li h2.title-1,
.info ul.ul-contacte li h3.title-1 {
    margin-top: 0px;
}

h2.title-form {
    margin-bottom: 20px;
}

.form-contact {
    gap: 20px;
}

.df-checkbox {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.contienecheckbox.df-checkbox label {
    font-size: 14px;
    line-height: 18px;
}

.contienecheckbox.df-checkbox label a {
    color: var(--Black);
    text-decoration: underline;
}

.contienecheckbox.df-checkbox label a:hover {
    color: var(--Primary);
}

/* DETAILS END   */

/* FOOTER START */

.footer.style-default .footer-body {
    padding-top: 62px;
}

.footer-about h2.footer-heading.footer-heading-mobile {
    font-size: 24px;
    line-height: 32px;
}

.footer-col-block h3.footer-heading,
.footer-newsletter h3.footer-heading {
    font-size: 24px;
    line-height: 32px;
}

.footer .footer-bottom .wrapper {
    margin-top: 60px;
}

.footer .footer-bottom .wrapper .right {
    gap: 12px 25px;
}

.section-faqs .tf-container .row div.resaltartitulos p,
.section-faqs .tf-container .row div.resaltartitulos ul li {
    color: var(--Mono-gray-7);
    font-size: 18px;
    line-height: 28px;
    margin-top: 20px;
}

.section-faqs .tf-container .row div.resaltartitulos p a,
.section-faqs .tf-container .row div.resaltartitulos ul li a,
.section-faqs .tf-container .row div.resaltartitulos a {
    color: var(--Black);
    text-decoration: underline;
}

.section-faqs .tf-container .row div.resaltartitulos p a:hover,
.section-faqs .tf-container .row div.resaltartitulos ul li a:hover,
.section-faqs .tf-container .row div.resaltartitulos a:hover {
    color: var(--Primary);
}

.section-faqs .tf-container .row div.resaltartitulos ul {
    padding-left: 15px;
}

/* FOOTER END   */

/* RESPONSIVE START */

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .mg-auto {
        margin: auto;
    }

    .main-content.style-1 .text-with-img-2 .tf-container .shape-img-bg.mg-auto {
        margin-top: 60px;
    }

    .pl_20-avisos {
        padding-left: 20px;
    }
    
    .info ul.ul-contacte.ul-2 {
        padding-left: 25px;
    }
}

@media (max-width: 992px) {
    .main-content.style-1 .text-with-img-2 .tf-container .shape-img-bg.mg-auto {
        margin-top: 40px;
    }

    .pl_20-avisos {
        padding-left: 0px;
    }      

    .info ul.ul-contacte.ul-2 {
        margin-top: 20px;
        padding-left: 0px;
    }

    h2.title-form.home {
        margin-top: 40px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .box-service.style-3 h3.title {
        font-size: 22px !important;
        line-height: 30px !important;
    }

    .lawyer-custom-section {
        padding: 80px 0;
    }

    .lawyer-hero-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .lawyer-title {
        font-size: 32px;
    }

    .lawyer-description {
        font-size: 16px;
    }

    .footer .footer-bottom .right {
        gap: 15px !important;
    }

    .footer-menu-list li br {
        display: block;
    }

    .check-input.mrr_5 {
        margin-right: 5px;
    }

    .d-flex-mobile {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .main-content.style-1 .text-with-img-2 .tf-container .shape-img-bg.mg-auto {
        margin-top: 20px;
    }

    .shape-img-bg .img-bg-shape {
        right: -13%;
    }

    .footer .footer-bottom .right .text-body-1 {
        font-size: 16px;
        line-height: 24px;
    }

    .text-display-2 {
        font-size: 48px;
        line-height: 54px;
    }
}

@media (min-width: 768px) {
    .section-service.style-1 .heading-section .right p {
        max-width: 470px;
    }
}

@media (min-width: 992px) {
    .single-post .unique-features {
        margin-top: 0px;
    }

    .single-post .wrap-text {
        margin-bottom: 0px;
    }

    .text-with-img-2.v2 .content.dret-immobiliari {
        padding-top: 14px;
    }

    .section-service.style-1 .heading-section .right {
        padding-top: 24px;
        max-width: 470px;
        width: 100%;
    }

    .text-with-img-2 .content {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .section-process.style-1 .right {
        width: 50%;
        padding-bottom: 0px;
    }

    .text-with-img-1 .content.home {
        padding: 40px 0 83px;
    }
}

@media (min-width: 1540px) {
    .header-left .header-logo .logo-menu {
        width: 210px;
    }

    .main-menu .navigation li a {
        font-size: 20px;
    }
}

/* RESPONSIVE END   */

/********************************************************************************************************************************
****************************************************** FOCUS PARAMETERS ********************************************************* 
*********************************************************************************************************************************/


input:focus,
textarea:focus {
    outline: 2px solid white !important;
}

*:focus-visible,
a:focus-visible img,
a:focus-visible,
a:focus-visible h2,
a:focus-visible h3 {
    outline: 4px dashed darkorange !important;
}

a.AccessibilityLinkFirstLevelWithMenu+.AccessibilityDropDownMenu[aria-expanded="true"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}