/* ------ GLOBAL CLASSES ------ */
html, body, header, footer, div, p, a, ul, li, ol {
    font-family: 'Urbanist', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
}

hr {
    opacity: 1;
}

a {
    text-decoration: none;
    color: initial;
}

.sticky-menu {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -ms-sticky;
    position: -o-sticky;
}

:root {
    --light-grey: #dddddd;
    --dark-grey: #5b5b5b;
    --black: #232321;
}

@keyframes fade-left {
    0% {
		opacity: 0;
		transform: translateX(-50px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fade-right {
    0% {
		opacity: 0;
		transform: translateX(50px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fade {
    0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}
/* ------ END GLOBAL CLASSES ------ */

/* ----- COOKIES BANNER ----- */
#cm {
    max-width: 100%;
    right: 0;
    bottom: 0;
    border: 0px;
    width: 100%;
    border-radius: 0px;
    left: 0;
}

#c-inr-i {
    width: 60%;
    float: left;
}

#c-inr {
    width: 80%;
    border-top: 1px solid var(--black);
    padding-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

#c-txt {
    font-size: 0.75rem;
    line-height: 1rem;
}

.cc_div #c-bns {
    margin-top: 0rem;
}

#c-p-bn, #c-s-bn {
    position: relative;
    background: white !important;
    border-radius: 0px;
    border: none;
    color: var(--black) !important;
    font-size: 1rem;
    padding: 5px 0px;
}

#c-p-bn::after, #c-s-bn::after {
    content: "";
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    height: 1px;
    width: 20%;
    border-bottom: 1px solid var(--black);
}

/* ------ HEADER MENU ------ */
.menu-background-white {
    background-color: white;
}
/* ------ END HEADER MENU ------ */

/* ------ FOOTER ------ */
.footer {
    border-top: 1px solid var(--black);
}

.info-page-footer p, .links-footer p {
    font-size: 0.9rem;
}

.info-page-footer p a:hover, .links-footer p a:hover {
    font-weight: 500;
    color: black;
}

p.developed-by {
    font-size: 0.9rem;
    color: var(--light-grey);
}

p.developed-by a {
    font-weight: 500;
    color: var(--light-grey);
}
/* ------ END FOOTER ------ */

/* ------ HOME PAGE ------ */
#menu-home.scroll-menu {
    background-color: white;
    box-shadow: 0 8px 20px -5px var(--black);
}

#menu-home .navbar-nav .nav-item {
    padding: 0px 15px;
}

#menu-home .navbar-nav .nav-item .nav-link {
    color: var(--black);
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
    position: relative;
}

#menu-home .navbar-nav .nav-item .nav-link.current-page::after {
    content: "";
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -25%);
    height: 3px;
    width: 55%;
    border-bottom: 1px solid var(--black);
}

.block-slider {
    position: relative;
}

.banner-text-slider {
    position: absolute;
    bottom: 17%;
    right: 5%;
    width: 18%;
    text-align: right;
    border-bottom: 1px solid white;
    padding-bottom: 10px;
}

.banner-text-slider .content-text {
    background-color: rgba(255, 255, 255, 0.616);
    padding: 10px 10px;
}

.banner-text-slider .content-text p:first-child {
    font-size: 1.3rem;
    line-height: 1.4rem;
}

.banner-text-slider .content-text p {
    font-family: 'Sora', sans-serif;
    color: #232321;
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: 300;
    letter-spacing: -1px;
}

.home-block-catalog {
    background-color: var(--light-grey);
}

.home-block-catalog p {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--dark-grey);
}

.home-block-catalog span {
    font-size: 1.6rem;
    position: relative;
    font-weight: 800;
    letter-spacing: 0px;
    color: var(--dark-grey);
}

.home-block-catalog span::after {
    content: "";
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, 0%);
    height: 3px;
    width: 100%;
    border-bottom: 1px solid var(--dark-grey);
}

.home-block-catalog span:hover, .home-block-catalog span:hover::after {
    color: var(--black);
}

.home-block-features, .home-our-projects {
    padding: 10rem 0rem 12rem;
}

p.title-feature-box {
    font-weight: 400;
    font-size: 1.9rem;
    line-height: 2.1rem;
    color: var(--dark-grey);
    font-family: 'Sora', sans-serif;
}

p.text-feature-box {
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 400;
}

.home-block-unifa-reha .box-single-family, .home-block-unifa-reha .box-rehabilitation {
    position: relative;
}

.home-block-unifa-reha .box-single-family p.title-unifa-reha, .home-block-unifa-reha .box-rehabilitation p.title-unifa-reha {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home-block-unifa-reha .box-single-family p.title-unifa-reha a, .home-block-unifa-reha .box-rehabilitation p.title-unifa-reha a {
    font-family: 'Sora', sans-serif;
    letter-spacing: -4px;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 3rem;
    line-height: 3rem;
    color: var(--black);
}

.home-block-unifa-reha .box-single-family p.title-unifa-reha::after, .home-block-unifa-reha .box-rehabilitation p.title-unifa-reha::after, .home-our-projects p.block-title-our-projects span::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translate(-50%, 0%);
    height: 1px;
    width: 75%;
    border-bottom: 1px solid var(--black);
}

p.block-title-our-projects {
    margin-bottom: 6rem;
}

p.block-title-our-projects span {
    position: relative;
    text-transform: uppercase;
    font-size: 2.2rem;
    line-height: 2.4rem;
    font-family: 'Sora', sans-serif;
    font-weight: 300;
    letter-spacing: -2px;
}

.home-our-projects .title-project-home {
    border-top: 1px solid var(--black)
}

.home-our-projects .block-project {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.home-our-projects .block-title-project p.title-project-home, .home-our-projects .block-title-project-right p.title-project-home {
    text-transform: uppercase;
    font-size: 1.1rem;
}

.home-our-projects .block-title-project p.title-project-home a:hover, .home-our-projects .block-title-project-right p.title-project-home a:hover {
    font-weight: 500;
    color: black;
}

p.block-info-project {
    font-size: 1.1rem;
    line-height: 1.5rem;
}

#offcanvasSingle, #offcanvasRehabilitation {
    width: 85%;
    z-index: 2;
}

#offcanvasSingle .offcanvas-body, #offcanvasRehabilitation .offcanvas-body {
    padding: 0rem;
    overflow-y: initial;
}

p.title-canvas {
    font-size: 1.7rem;
    line-height: 1.8rem;
    text-transform: uppercase;
    font-weight: 300;
    color: black;
    font-family: 'Sora', sans-serif;
    letter-spacing: -1px;
}

hr.underline-title {
    opacity: 1;
    width: 52%;
}

p.text-canvas {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--dark-grey);
}

p.text-canvas img {
    margin-right: 2.5rem !important;
}

.canvas-show-more a {
    text-transform: uppercase;
    font-size: 1.2rem;
    line-height: 1.4rem;
    color: var(--dark-grey);
    position: relative;
}

.canvas-show-more a:hover {
    color: black;
}

hr.underline-show-more {
    opacity: 1;
    width: 25%;
    float: right;
}

.list-project-main-image, .list-project-main-image-right {
    z-index: 10;
}
/* ------ END HOME PAGE ------ */

/* ------ SINGLE HOME PAGE ------ */
p.type-projects a {
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--dark-grey);
    font-weight: 300;
    letter-spacing: 1px;
}

p.type-projects a:hover {
    font-weight: 400;
    color: black;
}

a.more-projects {
    text-transform: uppercase;
    font-size: 1.2rem;
    padding: 15px 25px;
    border: 0px;
    background-color: rgba(221, 221, 221, 0.7);
}

a.more-projects:hover {
    font-weight: 500;
    color: black;
}

.block-single-projects {
    margin-top: 8rem;
}

p.title-block-projects span {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 3rem;
    line-height: 3rem;
    font-family: 'Sora', sans-serif;
    letter-spacing: -3px;
    position: relative;
}

p.title-block-projects span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    left: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 90%;
    border-bottom: 1px solid var(--black);
}

.box-text {
    padding: 5rem;
}

p.description-box-text, p.description-box-text-left {
    text-align: justify;
    line-height: 1.4rem;
    text-align-last: right;
    font-size: 1.1rem;
    font-weight: 200;
}

p.description-box-text-left {
    text-align-last: left;
}

p.title-box-text {
    text-transform: uppercase;
    font-size: 2.3rem;
    font-weight: 200;
    line-height: 2.7rem;
    letter-spacing: -2px;
    font-family: 'Sora', sans-serif;
}

hr.line-separator-title {
    opacity: 1;
    background-color: black;
    margin-bottom: 10px;
}

.block-other-services {
    margin-top: 15rem;
    margin-bottom: 20rem;
}

.block-images-services {
    margin-top: 6rem;
}

.description-service {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity .2s, visibility .2s;
}

.image-service {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.box-service:hover .image-service {
    opacity: 0.3;
}

.box-service:hover .description-service {
    visibility: visible;
    opacity: 1;
}

.box-service:hover .box-img-title-service {
    visibility: hidden;
}

.box-img-title-service {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.box-img-title-service .title-service {
    text-transform: uppercase;
    font-weight: 200;
    font-size: 1.6rem;
    line-height: 1.8rem;
    color: white;
}

p.title-hover-text {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

p.description-hover-text {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

p.title-block-services {
    text-transform: uppercase;
    font-size: 1.6rem;
    line-height: 1.8rem;
    color: var(--dark-grey);
    font-weight: 400;
}

.fixed-button-more-projects {
    position: fixed;
    bottom: 10%;
    right: 100px; 
}

.block-text-image {
    margin-top: 10rem;
}
/* ------ END SINGLE HOME PAGE ------ */

/* ------ PROJECTS LIST PAGE ------ */

/* ------ END PROJECTS LIST PAGE ------ */

/* ------ PROJECT PAGE ------ */
.page-our-projects {
    padding: 0rem 0rem 12rem;
}

.project-page-info {
    margin-top: 10rem;
}

p.project-page-title span {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 2.7rem;
    line-height: 2.7rem;
    font-family: 'Sora', sans-serif;
    letter-spacing: -3px;
    position: relative;
}

p.project-page-title span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    left: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 90%;
    border-bottom: 1px solid var(--black);
}

p.project-page-description {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.4rem;
}

.block-gallery-photos {
    margin-top: 8rem;
}

.project-block-images {
    margin-top: 6rem;
}

.project-block-images img {
    cursor: pointer;
}

p.project-page-address, p.project-page-year {
    font-size: 1.1rem;
    text-transform: uppercase;
}

p.project-page-additional-info {
    font-size: 1.2rem;
    color: var(--dark-grey);
    font-weight: 400;
}

.carousel-control-prev, .carousel-control-next {
    height: min-content;
    position: fixed;
    bottom: 25px;
    opacity: 1;
}

.carousel-control-prev span, .carousel-control-next span {
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 1.2rem;
    line-height: 1.4rem;
    letter-spacing: 0.5px;
    color: black;
    opacity: 1;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.modal-backdrop.show {
    opacity: 0.7;
}

.modal-backdrop {
    background-color: white;
}

.lightbox .btn-close {
    top: 10%;
    width: auto;
    right: 5%;
    opacity: 1;
}

.lightbox .btn-close:focus {
    box-shadow: none;
}

.lightbox .btn-close span i {
    font-size: 1.4rem;
}

.lightbox .btn-close span {
    display: flex;
    opacity: 1;
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 0.9rem;
    line-height: 1.4rem;
    letter-spacing: 0.5px;
    color: black;
    opacity: 1;
}

.lightbox .lightbox-caption {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-grey);
}

.lightbox .lightbox-caption a {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0px;
    color: var(--dark-grey);
    text-decoration: underline;
}

.open-menu-products {
    transform: rotate(-90deg);
}

.button-show-more-images {
    text-transform: uppercase;
    font-size: 1.1rem;
    line-height: 1.3rem;
    position: relative;
    padding: 0px;
}

.button-show-more-images:focus {
    box-shadow: none;
}

.button-show-more-images:hover {
    font-weight: 500;
}

.button-show-more-images span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    right: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 70%;
    border-bottom: 1px solid var(--black);
}

.pagination-projects {
    margin-bottom: 8rem;
    margin-top: 10rem;
}

.pagination-projects .prev-project, .pagination-projects .next-project {
    color: var(--dark-grey);
}

.pagination-projects .prev-project:hover, .pagination-projects .next-project:hover {
    color: black;
    font-weight: 500;
}

.pagination-projects .prev-project span, .pagination-projects .next-project span {
    position: relative;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.pagination-projects .prev-project span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    left: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 90%;
    border-bottom: 1px solid var(--black);
}

.pagination-projects .next-project span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    right: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 90%;
    border-bottom: 1px solid var(--black);
}
/* ------ END PROJECT PAGE ------ */

/* ------ TEAM PAGE ------ */
p.description-box-team-right {
    text-align: right;
    line-height: 1.5rem;
    text-align-last: right;
    font-size: 1.1rem;
    font-weight: 300;
}

hr.line-separator-title-team {
    background-color: black;
    margin-bottom: 25px;
}

hr.separator-line-about-us {
    background-color: black;
    margin-bottom: 30px;
}

.block-text-image.team-page {
    margin-top: 0rem;
}

.block-about-us {
    margin-top: 15rem;
}

p.title-about-us {
    text-transform: uppercase;
    font-family: 'Sora', sans-serif;
    font-size: 2.6rem;
    line-height: 2.8rem;
    letter-spacing: -3px;
    font-weight: 200;
}

p.text-about-us {
    font-size: 1.1rem;
    line-height: 1.5rem;
    text-align: justify;
    font-weight: 200;
}

.banner-bottom-team {
    margin-top: 8rem;
    margin-bottom: 20rem;
}
/* ------ END TEAM PAGE ------ */

/* ------ CONTACT PAGE ------ */
.block-contact-form {
    margin-top: 3rem;
}

.contact-form {
    margin-top: 5rem;
}

.contact-form .form-label {
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--dark-grey);
}

.contact-form .form-input textarea, .contact-form .form-input input {
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
}

.contact-form .form-input textarea:focus-visible, .contact-form .form-input input:focus-visible {
    outline: none;
    border: none;
    border-bottom: 2px solid black;
}

.button-send-form {
    position: relative;
    font-size: 1.4rem;
    line-height: 1.4rem;
    letter-spacing: 1px;
    background: transparent;
    border: 0px;
    text-transform: uppercase;
    font-weight: 300;
    color: var(--dark-grey);
    padding: 0px;
    margin-top: 2rem;
}

.button-send-form span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    right: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 70%;
    border-bottom: 1px solid var(--black);
}

p.contact-text.mt-5 {
    line-height: 1.3rem;
    font-size: 1.1rem;
    text-align: justify;
}

.contact-info {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.contact-info .phone, .contact-info .email, .contact-info .address {
    margin-left: 40px;
    font-size: 1.1rem;
    line-height: 1.3rem;
    color: var(--dark-grey);
}

.contact-info .phone a, .contact-info .email a {
    color: var(--dark-grey);
    font-size: 1.2rem;
}

.contact-info .phone a:hover, .contact-info .email a:hover {
    color: black;
    font-weight: 500;
}
/* ------ END CONTACT PAGE ------ */


/* PRUEBAS */
.button-container {
    position: fixed;
    top: 5%;
    right: 5%;
    padding: 5px;
    background-color: tomato;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}


.button-text-container {
    order:1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: lightblue;
    white-space:nowrap;
    overflow:hidden;
    width:0;
    transition: width 1s;
}

.button-icon-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*.button-icon-container:hover + .button-text-container {
    width:200px;
}*/

/* MAIN LIGHTBOX PROJECT */
.modal-content {
    background-color: rgba(255, 255, 255, 0.9);
}

/* The Close Button */
.close {
    position: absolute;
    top: 5%;
    right: 2%;
    z-index: 1070;
}

.close span {
    font-weight: 300;
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 0.9rem;
    line-height: 1rem;
    letter-spacing: 0.5px;
    color: black;
    opacity: 1;
}
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* Hide the slides by default */
body.modal-open {
    overflow: hidden;
}

.lightbox-gallery {
    display: none;
    position: absolute;
    top: 50%; 
    right: 50%;
    transform: translate(50%,-50%);
    width: 90%;
    overflow: inherit;
}

.container-image {
    display: flex;
    gap: 10px;
    flex-flow : row nowrap;
    justify-content: center;
}

.box-image-slider {
    width: 62%;
    
    order: 1;
    height: max-content;
}

    .box-image-slider-expand {
        width: 75% !important;
    }

    .box-image-slider img {
        box-shadow: 0 0 20px black;
    }

.box-buttons-lightbox {
    order: 2;
}

    .box-buttons-lightbox-expand {
        order: 3;
    }

.box-products-image {
    width: 0%;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

    .box-products-image-expand {
        box-shadow: 0 0 20px black;
        /*width: 40%;*/
        background-color: white;
        order: 2;
        opacity: 1;
        /*height: auto;*/
        /*animation: fade 1s linear;*/
        overflow-y: auto;
    }

.button-products {
    background-color: white;
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 15px 12px;
    line-height: 1rem;
    font-weight: 300;
    box-shadow: 0 0 20px black;
    cursor: pointer;
}

.button-products span {
    font-size: 1.2rem;
    line-height: 1.2rem;
}

.button-products .icon-arrow-open-products {
    transform: rotate(-180deg);
    margin-left: -7px;
}

.button-open-product {
    background-color: white;
    padding: 8px 0px;
    box-shadow: 0 0 20px black;
    cursor: pointer;
}

.next {
    right: 25px;
}

.prev {
    left: 25px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    bottom: 25px;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1070;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.2rem;
    line-height: 1.4rem;
    letter-spacing: 0.5px;
    color: black;
    opacity: 1;
}

.prev span, .next span {
    text-decoration: underline;
}

.prev:hover, .next:hover {
    font-weight: 400;
    color: black;
}

.single-product:hover {
    background-color: var(--light-grey);
}

.product-name {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.1rem;
}

.product-price {
    font-size: 1rem;
    line-height: 1.1rem;
}

.product-url {
    font-size: 0.85rem;
    line-height: 1rem;
    position: relative;
}

.product-url a:hover {
    color: black;
    font-weight: 500;
}

.product-url span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    left: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 40%;
    border-bottom: 1px solid var(--black);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}
  
/* Caption text */
.caption-container {
    text-align: center;
    background-color: transparent;
    padding: 2px 16px;
    color: black;
}

/* ----- LEGAL PAGES ----- */
.legal-page {
    padding: 0rem 15rem;
}

.legal-page .title-box-text span {
    position: relative;
}

.legal-page .title-box-text span::after {
    content: "";
    position: absolute;
    bottom: -6%;
    left: 0%;
    transform: translate(0%, 0%);
    height: 1px;
    width: 90%;
    border-bottom: 1px solid var(--black);
}
/* ----- END LEGAL PAGES ----- */

@media only screen and (min-width: 1024px) {
    .list-project-second-image, .block-project-left:hover > .list-project-info, .list-project-second-image-right,  .block-project-right:hover > .list-project-info-right {
        display: none;
        z-index: 2;
        opacity: 0;
        visibility: hidden;
    }

    .block-project-left:hover > .list-project-second-image {
        display: block;
        visibility: visible;
        opacity: 1;
        animation: fade-left 0.4s linear;
    }

    .block-project-right:hover > .list-project-second-image-right {
        display: block;
        visibility: visible;
        opacity: 1;
        animation: fade-right 0.4s linear;
    }

    .block-project-left:hover > .block-title-project .title-project-home {
        text-align: right;
    }

    .block-project-right:hover > .block-title-project-right .title-project-home {
        text-align: left !important;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px){
    #offcanvasSingle, #offcanvasRehabilitation {
        width: 95%;
    }

    p.text-canvas {
        font-size: 1.1rem;
    }

    p.title-box-text {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    p.description-box-text, p.description-box-text-left {
        line-height: 1.3rem;
        font-size: 1rem;
    }

    .box-text {
        padding: 3rem;
    }

    .box-img-title-service .title-service {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    p.description-hover-text {
        font-size: 0.8rem;
        line-height: 0.9rem;
    }

    p.title-hover-text {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }

    .description-service > img {
        width: 22px;
    }

    .block-about-us {
        margin-top: 12rem;
    }

    .banner-bottom-team {
        margin-bottom: 15rem;
    }

    .block-text-image {
        margin-top: 3rem;
    }

    .block-contact-form {
        margin-top: 5rem;
    }

    p.description-box-team-right {
        line-height: 1.2rem;
        font-size: 1rem;
    }
}

/* Escritorio grande */
@media only screen and (min-width: 992px) and (max-width: 1199px){
    #menu-home .navbar-nav .nav-item {
        padding: 0px 6px;
    }

    #menu-home .navbar-nav .nav-item .nav-link {
        font-size: 1rem;
        letter-spacing: 1px;
        line-height: 1.2rem;
    }

    .home-block-catalog p {
        font-size: 1.2rem;
    }

    .home-block-catalog span {
        font-size: 1.4rem;
    }

    p.title-feature-box {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    p.text-feature-box {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    .home-block-features, .home-our-projects {
        padding: 6rem 0rem 8rem;
    }

    .home-block-unifa-reha .box-single-family p.title-unifa-reha a, .home-block-unifa-reha .box-rehabilitation p.title-unifa-reha a {
        font-size: 2rem;
        line-height: 2rem;
    }

    p.text-canvas {
        font-size: 1rem;
    }

    p.title-canvas {
        font-size: 1.4rem;
        line-height: 1.6rem;
    }

    #offcanvasSingle, #offcanvasRehabilitation {
        width: 95%;
    }

    .canvas-show-more a {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    p.title-block-projects span {
        font-size: 2rem;
        line-height: 2rem;
    }

    p.type-projects a {
        font-size: 1rem;
    }

    .box-text {
        padding: 2rem;
    }

    p.title-box-text {
        font-size: 1.5rem;
        line-height: 1.7rem;
    }

    p.description-box-text, p.description-box-text-left {
        line-height: 1.1rem;
        font-size: 0.9rem;
    }

    .block-other-services {
        margin-top: 8rem;
        margin-bottom: 12rem;
    }

    .box-img-title-service .title-service {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    p.description-hover-text {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    p.title-hover-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .block-text-image {
        margin-top: 2rem;
    }

    p.description-box-team-right {
        line-height: 1.2rem;
        font-size: 1rem;
    }

    .block-about-us {
        margin-top: 10rem;
    }

    p.text-about-us {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }

    p.title-about-us {
        font-size: 2rem;
        line-height: 2.2rem;
    }

    .banner-bottom-team {
        margin-bottom: 12rem;
    }

    .block-contact-form {
        margin-top: 5rem;
    }

    .project-page-info {
        margin-top: 8rem;
    }

    p.project-page-description {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    p.project-page-address, p.project-page-year {
        font-size: 1rem;
    }

    p.project-page-additional-info {
        font-size: 1.1rem;
    }

    p.project-page-title span {
        font-size: 2.5rem;
    }

    .project-block-images {
        margin-top: 4rem;
    }

    .button-products {
        font-size: 0.8rem;
        padding: 10px 8px;
    }

    .product-name, .product-price {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .product-url {
        font-size: 0.7rem;
        line-height: 0.9rem;
    }
}

/* Escritorio pequeño / tablet */
@media only screen and (min-width: 768px) and (max-width: 991px){

}

/* TABLETS */
@media only screen and (min-width: 576px) and (max-width: 767px){

}

/* MOBILE VERSION */
@media only screen and (max-width: 575px){
    .navbar-brand-mobile img {
        width: 30px;
    }

    span.navbar-toggler-icon {
        width: 30px;
        height: 30px;
    }

    .navbar-toggler {
        padding: 0px;
        font-size: 30px;
        line-height: 30px;
        background-color: transparent;
        border: 0px;
        border-radius: 0px;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .home-block-catalog p {
        font-size: 1rem;
        letter-spacing: 0px;
        font-weight: 500;
    }

    .home-block-catalog span {
        font-size: 1.1rem;
    }

    .home-block-catalog p img {
        width: 13px;
    }

    .home-block-features, .home-our-projects {
        padding: 5rem 0rem 2rem;
    }

    .normal-page .home-our-projects {
        padding: 2rem 0rem 5rem;
    }

    .home-block-features img {
        width: 50px;
    }

    p.title-feature-box {
        font-size: 1.1rem;
        line-height: 1.3rem;
        letter-spacing: -1px;
    }

    p.text-feature-box {
        font-size: 0.9rem;
        line-height: 1.2rem;
    }

    .home-block-unifa-reha .title-canvas {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .home-block-unifa-reha .title-canvas a {
        font-weight: 500;
    }

    .home-block-unifa-reha .title-canvas::after {
        content: "";
        position: absolute;
        bottom: -10%;
        left: 50%;
        transform: translate(-50%, 50%);
        height: 1px;
        width: 75%;
        border-bottom: 1px solid var(--black);
    }

    p.block-title-our-projects span {
        font-size: 1.1rem;
        line-height: 1.4rem;
        font-weight: 400;
        letter-spacing: -1px;
    }

    p.block-title-our-projects {
        margin-bottom: 3rem;
    }

    p.block-info-project {
        font-size: 0.7rem;
        line-height: 1rem;
    }

    .home-our-projects .block-title-project p.title-project-home, .home-our-projects .block-title-project-right p.title-project-home {
        font-size: 0.9rem;
    }

    .home-our-projects .block-project {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .info-page-footer p, .links-footer p {
        font-size: 0.65rem;
        font-weight: 500;
    }

    .info-page-footer img {
        width: 20px;
    }

    p.developed-by {
        font-size: 0.7rem;
    }

    p.developed-by a {
        font-weight: 600;
    }

    .navbar-collapse .navbar-nav {
        background-color: white;
        height: calc(100vh - 95px);
        justify-content: center;
    }

    #menu-home .navbar-nav .nav-item .nav-link {
        font-size: 1rem;
        line-height: 1.2rem;
        padding: 1rem 0rem;
    }

    .block-single-projects {
        margin-top: 5rem;
    }

    p.title-block-projects span {
        font-size: 1.5rem;
        line-height: 1.7rem;
        letter-spacing: -2px;
    }

    p.type-projects {
        margin-bottom: 15px;
        line-height: 1.1rem;
    }

    p.type-projects a {
        font-size: 0.85rem;
        letter-spacing: 0px;
    }

    .block-text-image {
        margin-top: 3rem;
    }

    .box-text {
        padding: 2rem 3rem;
    }

    p.title-box-text {
        font-size: 1.1rem;
        line-height: 1.3rem;
        letter-spacing: -1px;
    }

    hr.line-separator-title {
        margin-bottom: 6px;
        margin-top: 5px;
    }

    p.description-box-text, p.description-box-text-left {
        line-height: 1.1rem;
        text-align-last: right;
        font-size: 0.9rem;
    }

    .block-other-services {
        margin-top: 3rem;
        margin-bottom: 8rem;
    }

    p.title-block-services {
        font-size: 1.1rem;
        line-height: 1.2rem;
    }

    .block-images-services {
        margin-top: 2rem;
    }

    .box-img-title-service > img {
        width: 30px;
    }

    .box-img-title-service .title-service {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }

    p.description-hover-text {
        text-align: justify;
        font-size: 0.6rem;
        line-height: 0.6rem;
    }

    p.title-hover-text {
        font-size: 0.8rem;
        line-height: 0.8rem;
    }

    .description-service img {
        width: 20px;
    }

    a.more-projects {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    a.more-projects img {
        width: 8px;
    }

    .team-page .box-text {
        padding: 2rem;
    }

    .team-page hr.line-separator-title-team {
        margin-bottom: 20px;
    }

    .team-page p.description-box-text, .team-page p.description-box-text-left {
        line-height: 1rem;
        text-align-last: left;
        font-size: 0.8rem;
    }

    .team-page p.description-box-team-right {
        line-height: 1rem;
        text-align-last: right;
        font-size: 0.8rem;
    }

    .block-about-us {
        margin-top: 6rem;
    }

    p.title-about-us {
        font-size: 1.2rem;
        line-height: 1.4rem;
        letter-spacing: -2px;
    }

    hr.separator-line-about-us {
        margin-bottom: 15px;
    }

    p.text-about-us {
        font-size: 0.8rem;
        line-height: 1.1rem;
    }

    .banner-bottom-team {
        margin-top: 5rem;
        margin-bottom: 8rem;
    }

    .team-page.block-text-image {
        margin-top: 0rem;
    }

    .block-contact-form, .contact-form {
        margin-top: 3rem;
    }

    p.contact-text {
        font-size: 0.8rem;
        line-height: 1rem;
        text-align: justify;
    }

    .contact-form .form-label {
        margin-bottom: 0rem;
        font-weight: 400;
        font-size: 0.8rem;
        line-height: 0.9rem;
    }

    .button-send-form {
        font-size: 0.9rem;
        line-height: 1.1rem;
        letter-spacing: 0px;
        margin-top: 0rem;
    }

    .contact-form .form-input textarea, .contact-form .form-input input {
        font-size: 0.9rem;
        line-height: 0.9rem;
    }

    .contact-info {
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .contact-info .phone, .contact-info .email, .contact-info .address {
        margin-left: 15px;
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .contact-info .phone a, .contact-info .email a {
        font-size: 0.8rem;
    }

    .separator-line-contact.w-25 {
        width: 90% !important;
    }

    .normal-page #menu-home {
        box-shadow: 0 8px 20px -5px var(--black);
    }

    .project-page-info, .block-gallery-photos {
        margin-top: 5rem;
    }

    p.project-page-title span {
        font-size: 1.7rem;
        line-height: 1.9rem;
        letter-spacing: -2px;
    }

    p.project-page-address, p.project-page-year {
        font-size: 0.85rem;
        line-height: 1rem;
    }

    p.project-page-description {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    p.project-page-additional-info {
        font-size: 0.85rem;
        line-height: 1rem;
    }

    .project-block-images {
        margin-top: 2rem;
    }

    .container-image {
        display: block;
    }

    .button-products {
        writing-mode: inherit;
        transform: rotate(0deg);
        font-size: 0.7rem;
        padding: 6px 10px;
        line-height: 0.9rem;
    }

    .box-image-slider {
        width: 100%;
    }

    .box-buttons-lightbox {
        margin-top: 5px;
        width: 53%;
        margin-left: auto;
        margin-right: 18px;
    }

    .prev, .next {
        bottom: 20px;
        padding: 0px;
        margin-top: 0px;
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .project-block-images .prev img, .project-block-images .next img {
        width: 10px;
    }

    .close {
        top: 4%;
        right: 4%;
    }

    .button-show-more-images {
        font-size: 0.9rem;
        line-height: 1.1rem;
    }

    .pagination-projects {
        margin-bottom: 4rem;
        margin-top: 5rem;
    }

    .pagination-projects .prev-project, .pagination-projects .next-project {
        line-height: 1.1rem;
    }

    .pagination-projects .prev-project img, .pagination-projects .next-project img {
        width: 8px;
    }

    .pagination-projects .prev-project span, .pagination-projects .next-project span {
        font-size: 0.7rem;
    }

    .box-image-slider-expand {
        width: 100% !important;
    }

    .product-name, .product-url {
        font-size: 0.8rem;
        line-height: 0.9rem;
    }

    .product-price {
        font-size: 0.7rem;
        line-height: 0.9rem;
    }

    .lightbox-gallery {
        width: 100%;
    }

    .box-products-image-expand {
        margin-left: auto;
        margin-right: auto;
        margin-top: 8px;
    }

    .button-products .icon-arrow-open-products {
        transform: rotate(-90deg);
        margin-left: 7px;
        width: 8px;
        vertical-align: top;
    }

    .banner-text-slider .content-text p {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .banner-text-slider .content-text p:first-child {
        font-size: 1.1rem;
        line-height: 1.2rem;
    }

    .banner-text-slider {
        width: 60%;
        bottom: 15%;
        padding-bottom: 5px;
    }

    #menu-home .navbar-nav .nav-item .nav-link.current-page::after {
        width: 12%;
    }

    .banner-text-slider .content-text {
        padding: 5px 10px;
    }

    #c-inr {
        width: 100%;
        padding-top: 5px;
    }

    #c-inr-i {
        width: 100%;
        float: none;
    }

    #c-txt {
        font-size: 0.6rem;
        line-height: 0.8rem;
        text-align: justify;
    }

    .cc_div #c-bns {
        flex-direction: row;
    }

    #c-p-bn, #c-s-bn {
        font-size: 0.8rem;
        padding: 5px 0px;
        margin-top: 5px !important;
    }

    #c-p-bn::after, #c-s-bn::after {
        width: 35%;
    }

    #cm {
        padding: 15px 20px !important;
    }

    .legal-page {
        padding: 0rem;
    }
}