
@media(max-width:865px) {
    header .header-up {
        display: none;
    }

    header .header {
        background-color: #ffffff;
        position: relative;
    }

    .header-logo {
        display: none;
    }

    .header-logo-fixed {
        display: block;
    }

    header .header .header-logo a {
        color: #fcb900;
    }

    header .header .header-menu {
        display: none;
    }
    
    .hamburger-global p{
        color:#000;
    }


    header .header .header-hamburger-menu {
        display: block;
    }
}

@media(max-width:390px) {
    header .hamburger-menu .hamburger-menu-inner .contact-ferrovial {
        font-size: 0.625rem;
    }
}



/* =====SLIDER==== */

/* @media(max-width:1139px){
  header .splide .s-title h2{
   font-size: 60px;
 }
 }

 @media(max-width:1010px){
    header .splide .s-title h2{
       font-size: 50px;
     }
 }

 @media(max-width:845px){
    header .splide .s-title h2{
       font-size: 40px;
     }
 } */

@media(max-width:680px) {
    header .splide .s-title h2 {
        font-size: 50px;
    }

    header .splide .s-title p {
        font-size: 1.2rem;
    }
}

@media(max-width:470px) {
    header .splide .s-title h2 {
        font-size: 40px;
    }

    header .splide .s-title p {
        font-size: 1.1rem;
    }
}

@media(max-width:385px) {
    header .splide .s-title h2 {
        font-size: 28px;
    }

    header .splide .s-title p {
        font-size: 1rem;
    }

    header .splide .s-title a {
        font-size: 1rem;
    }

    header .splide__list {
        height: 500px !important;
    }
}

@media(max-width:348px) {
    .hamburger-menu .contact-ferrovial p {
        font-size: 8px !important;
    }

    .hamburger-menu .contact-ferrovial i {
        font-size: 14px !important;
    }
}


/* =======FOOTER==== */

@media (max-width:1246px) {
    .footer-menu {
        padding-left: 30px;
        padding-right: 30px;
    }

    .mobile-app {
        padding-left: 40px;
        padding-right: 40px;
    }

    .social {
        padding-left: 40px;
        padding-right: 40px;
    }

    .copy {
        padding-left: 40px;
        padding-right: 40px;
    }

    .social-copy .copy ul li {
        margin-left: 1.1rem;
    }


}

@media (max-width:1179px) {
    .social-copy .copy ul li {
        margin-left: 0.8rem;
    }
}

@media (max-width:1077px) {
    .social-copy .copy ul li {
        margin-left: 0.3rem;
    }

    .social-copy .social .social-icon {
        margin-left: 0.3rem;
    }

    .menu-app .footer-menu ul li {
        margin-left: 0.7rem;
    }
}


@media (max-width:1124px) {
    .social-copy .copy ul li a {
        font-size: 13px;
    }

    .social-copy .copy ul li {
        margin-left: 0.5rem;
    }

    .social-copy .copy ul li {
        margin-left: 0.5rem;
    }

    .social-copy .social .social-icon a {
        font-size: 18px;
    }
}


@media (max-width:1019px) {
    .menu-app .footer-menu ul li {
        margin-left: 0.5rem;
    }

    .social-copy .copy ul li {
        margin-left: 4px;
    }

    .social-copy .social .social-icon a {
        font-size: 16px;
    }

    .social-copy .social .social-icon {
        margin-left: 0.3rem;
    }

}

@media (max-width:996px) {
    .menu-app .footer-menu ul li a {
        font-size: 0.8rem;
    }

    .menu-app .footer-menu ul li {
        margin-left: 0.3rem;
    }

    .social-copy .copy ul li {
        font-size: 13px;
    }

    .social-copy .copy ul li a i {
        display: none;
    }

    .social-copy .copy ul li a {
        font-size: 11px;
    }
}

@media (max-width:935px) {
    .menu-app {
        flex-direction: column-reverse;
        align-items: normal;
    }

    .menu-app .mobile-app i {
        margin-left: 8px;
    }

    .social-copy {
        display: block;
    }

    .menu-app .footer-menu ul li a {
        font-size: 1rem;
    }

    .social-copy .social .social-icon a {
        font-size: 20px;
    }

    .social-copy .copy ul li a {
        font-size: 16px;
    }

    .social-copy .copy ul {
        flex-wrap: wrap;
    }

    .menu-app .footer-menu ul {
        flex-wrap: wrap;
    }

    .social-copy .copy ul li span {
        font-size: 17px;
    }

}

@media (max-width:495px) {
    .menu-app .mobile-app {
        flex-wrap: wrap;
    }

    .menu-app .mobile-app .googleplay {
        margin-left: 29px;
    }
}

@media (max-width:436px) {
    .menu-app .footer-menu ul {
        position: relative;
    }

    .menu-app .footer-menu ul {
        display: block;
    }

    .menu-app .footer-menu ul li:nth-child(2) {
        position: absolute;
        left: 153px;
        width: 110px;
        top: 0;
    }

    .menu-app .footer-menu ul li:nth-child(4) {
        position: absolute;
        left: 153px;
        width: 110px;
        top: 24px;
    }

    .social-copy .copy ul {
        display: block;
        position: relative;
    }

    .social-copy .copy ul li a {
        font-size: 12px;
    }

    .social-copy .copy ul li span {
        font-size: 12px;
    }

    .social-copy .copy ul li:nth-child(6) {
        position: absolute;
        left: 175px;
        width: 100px;
        top: 80px;
    }
}

@media (max-width:395px) {
    .social-copy .copy ul li:nth-child(4) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(3) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(2) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(1) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(6) {
        width: 75px;
        left: 150px;
        top: 140px;
    }

    .menu-app .footer-menu ul li:nth-child(1) {
        margin-bottom: 15px;
    }

    .menu-app .footer-menu ul li:nth-child(4) {
        top: 40px;
    }

    .menu-app .footer-menu ul li:nth-child(3) {
        margin-bottom: 15px;
    }

    .menu-app .footer-menu ul li:nth-child(4) {
        margin-bottom: 15px;
    }

}

@media (max-width:369px) {
    .menu-app .mobile-app .googleplay {
        margin-left: 10px;
    }
}

@media (max-width:316px) {

    .menu-app .mobile-app p,
    a,
    span {
        font-size: 15px;
    }

    .social-copy .copy ul li:nth-child(6) {
        width: 75px;
        left: 150px;
        top: 140px;
    }

    .menu-app .footer-menu ul li a {
        font-size: 13px;
    }

    .social-copy .copy ul li:nth-child(4) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(3) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(2) {
        margin-bottom: 15px;
    }

    .social-copy .copy ul li:nth-child(1) {
        margin-bottom: 15px;
    }

    .menu-app .footer-menu ul li:nth-child(4) {
        left: 120px;
    }

    .menu-app .footer-menu ul li:nth-child(2) {
        left: 120px;
    }

    .footer-menu {
        padding-left: 15px;
        padding-right: 15px;
    }

    .mobile-app {
        padding-left: 20px;
        padding-right: 20px;
    }

    .social {
        padding-right: 20px;
        padding-left: 20px;
    }

    .copy {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/*Construction  */

@media (max-width:1155px) {
    .construction .container ul li a {
        padding: 35px 45px;
    }
}

@media (max-width:1091px) {
    .construction .container ul li a {
        padding: 35px 40px;
    }
}

@media (max-width:1009px) {
    .construction .container ul li a {
        padding: 35px 35px;
    }
}

@media (max-width:974px) {
    .construction .container ul li a {
        padding: 35px 30px;
    }
}

@media (max-width:907px) {
    .construction .container {
        justify-content: start;
    }

    .construction .container ul li:nth-child(3) a p{
        margin-left: 1.3rem;
    }

    .construction .container ul {
        flex-direction: column;
        width: 100%;
        padding: 3px 0;
    }

    .construction .container ul li {
        width: 100%;
        padding: 0 5px;
    }

    .construction .container ul li a {
        border-bottom: 1px solid #fff;
        border-right: none;
        align-items: center;
        flex-direction: inherit;
        padding: 0px 0px 13px 0px;
    ;
    }

    .construction .container ul li a svg {
        width: 25px;
        height: 25px;
        margin-bottom: 0;
        margin-right: 35px;
    }

    .construction .container ul li a p {
        font-weight: 600;
    }

    .construction .container ul li a p br {
        display: none;
    }

    .construction .container ul li a {
        padding: 10px 10px;
    }
}

/* =====Horizob-slider=== */
@media(max-width:715px) {
    .horizon-slider .swiper .swiper-wrapper .swiper-slide .s-title h2 {
        font-size: 60px;
    }
}

@media(max-width:530px) {

    .horizon-slider {
        height: 570px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .s-title h2 {
        font-size: 45px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .video-title h2 {
        font-size: 45px;
    }


}

@media(max-width:400px) {


    .horizon-slider {
        height: 400px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .s-title h2 {
        font-size: 35px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .video-title h2 {
        font-size: 35px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .video-title p {
        font-size: 1rem;
    }


}

@media(max-width:315px) {

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .play-pause-icon {
        width: 230px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .play-pause-icon i,
    p,
    span {
        font-size: 1rem;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .s-title h2 {
        font-size: 30px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .video-title h2 {
        font-size: 30px;
    }

    .horizon-slider .swiper .swiper-wrapper .swiper-slide .video-title p {
        font-size: 1rem;
    }
}

/* Keys */

@media (max-width:1333px) {
    .figures-revenues {
        flex: 0.7;
    }
}


@media (max-width:1190px) {
    .fig-value p span {
        font-size: 3rem;
    }

    .fig-value p {
        font-size: 3rem;
    }

    .figures-button a {
        width: 19.25rem;
        padding: 16px 30px;
    }
}


@media (max-width:1020px) {
    .fig-value p span {
        font-size: 2rem;
    }

    .fig-value p {
        font-size: 2rem;
    }

    .figures-text p {
        width: 17.25rem;
        font-size: 1.15rem;
    }

    .figures-button a {
        width: 16.25rem;
        padding: 10px 30px;
    }
}

@media (max-width:865px) {
    .key-info {
        flex-direction: column;
    }

    .figures-text {
        display: flex;
        justify-content: center;
        margin-bottom: 0;
    }

    .figures-button {
        display: flex;
    }

    .figures-button a {
        width: 100%;
        padding: 16px 30px;
    }

    .figures-text p {
        width: 100%;
        margin-bottom: 1.875rem;
        font-weight: 400;
        letter-spacing: 0px;
        line-height: 1em;
    }

    .figures-revenues {
        flex: 0.7;
        display: flex;
        flex-direction: column;
        margin-top: 40px;
    }

    .figures-button a span {
        margin: 0;
        font-size: 13px;

    }

    .fig-value span {
        margin: 0;
    }
}

@media (max-width:400px) {
    .figures-text p {
        font-size: 1rem;
    }

    .figures-button a {
        padding: 12px 30px;
    }

    .fig-value p {
        font-size: 1.5rem;
    }

    .fig-value p span {
        font-size: 1.5rem;
    }
}

@media (max-width:328px) {
    .figures-button a span {
        font-size: 10px;
    }
}

@media (max-width:288px) {
    .figures-button a span {
        font-size: 8px;
    }
}






/* ======SOCIETY====== */


@media(max-width:545px) {
    .society .society-title h2 {
        font-size: 2rem;
    }
}

@media(max-width:455px) {
    .society .society-title h2 {
        font-size: 1.5rem;
    }
}

@media(max-width:350px) {
    .society .society-title h2 {
        font-size: 20px;
    }
}

@media(max-width:1180px) {
    .about-card {
        width: 150px;
        height: 180px;
    }
}

@media(max-width:1080px) {

    .about-inner-center-one .board-link {
        width: 100% !important;
    }

    .about-inner-center-one .management-link {
        width: 100% !important;
    }
}

@media(max-width:1030px) {
    .about-inner-right {
        display: none;
    }

    .about-inner-center-one {
        width: 100%;
        justify-content: start;
    }
}

@media(max-width:320px) {
    .hamburger-about-dropdown-inner-link-dropdown a {
        font-size: 14px;
    }
}



/* =====CAREERS==== */

@media(max-width:1225px) {
    .careers .join-us .h2-title h2 {
        font-size: 1.8rem;
    }
}

@media(max-width:1110px) {
    .careers .join-us .h2-title h2 {
        font-size: 1.4rem;
    }
}

@media(max-width:975px) {
    .careers .join-us .join-us-buttons .button-b {
        width: 250px;
    }
}


@media(max-width:860px) {

    .careers {
        margin-bottom: 200px;
    }

    .careers .join-us-buttons {
        margin-top: 200px;
    }

    .key {
        margin-top: 30%;
    }

    .careers .join-us-inner {
        display: flex;
        flex-direction: column;
    }
}

@media(max-width:760px) {
    .key {
        margin-top: 50%;
    }



    .careers .join-us-buttons {
        display: flex;
        flex-direction: column;
        margin-top: 220px;
        width: 100%;

    }

    .careers .join-us-buttons .div {
        width: 100%;
        border-top: 1px solid #666;
    }

    .careers .join-us-buttons .div:nth-child(3) {
        border-bottom: 1px solid #666;
    }

    .careers .join-us-buttons .div .button-b {
        width: 100%;
        padding: 0;
        box-shadow: none;
    }

    .careers .join-us-buttons .div .button-b a {
        border: none;

    }


}


@media(max-width:567px) {
    .careers .join-us-buttons {
        margin-top: 100px;
    }
}

@media(max-width:460px) {
    .careers .join-us .h2-title h2 {
        font-size: 1rem;
    }

    .careers .join-us-buttons {
        margin-top: 10px;
    }

    .key {
        margin-top: 50px;
    }
}


@media(max-width:345px) {
    .careers .join-us .h2-title h2 {
        font-size: 12px;
    }

    .careers .join-us .office-p {
        font-size: 12px;
    }

    .careers .join-us .tomas-p {
        font-size: 12px;
    }

    .careers .join-us-buttons .div .button-b a {
        font-size: 12px;
    }

    .careers .join-us-buttons .button-b {
        height: 30px;
    }

    .careers .join-us-inner {
        margin-bottom: -120px;
    }

    .key {
        margin-top: -250px;
    }


}

@media(max-width:290px) {
    .careers .join-us-inner {
        margin-bottom: -80px;
    }

    .key {
        margin-top: -200px;
    }
}

/* latest-new */

@media (max-width:1142px) {
    .lat-new .relea-new h2 {
        width: 20rem;
    }

    .releases:nth-child(2) .releases-text {
        margin-top: 0;
    }
}


@media (max-width:1100px) {
    .releases-cont {
        flex-direction: column;
    }

    .releases-cont .releases:nth-child(1) {
        width: 100%;
        height: 500px;
        margin-bottom: 6rem;
    }

    .releases:nth-child(1) .releases-image {
        height: 100%;
    }

    .releases:nth-child(1) .releases-image img {
        height: 100%;
    }

    .releases-cont .releases:nth-child(2) {
        width: 100%;
        height: 500px;
        margin-bottom: 6rem;
    }
    .releases:nth-child(1) .releases-text{
        position: absolute;
        margin-top: 10px;
    }
    .releases:nth-child(2) .releases-text{
        position: absolute;
    }
    .releases:nth-child(1) .releases-text a{
        font-size: 18px;
    }

    .releases:nth-child(1) .releases-text p{
        margin-top: 0.5rem;
    }
    .releases:nth-child(2) .releases-text p{
        margin-top: 0.5rem;
    }

    .lat-new{
        margin-top: 15px;
    }

    .releases-cont .releases:nth-child(2) .releases-image img {
        height: 100%;
    }

    .releases:nth-child(2) .releases-image {
        height: 100%;
    }

    .lat-new .relea-new {
        width: 100%;
        height: 100%;
        flex-direction: column;
    }

    .relea-new .relea-text {
        margin: 0;
    }


    .lat-new .relea-new h2 {
        width: auto;
    }

    .lat-new .relea-new:nth-child(1) {
        height: 500px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .lat-new .relea-new:nth-child(2) {
        height: 500px;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .lat-new .relea-new {
        height: 500px;
        margin-top: 0;
    }
    .relea-new .relea-img{
        width: 100%;
        height: 100%;
    }

}

@media (max-width:488px) {
    .room-text h3 {
        font-size: 2rem;
    }
}


/* ======SOCIETY====== */


@media(max-width:545px) {
    .society .society-title h2 {
        font-size: 2rem;
    }
}

@media(max-width:455px) {
    .society .society-title h2 {
        font-size: 1.5rem;
    }
}

@media(max-width:350px) {
    .society .society-title h2 {
        font-size: 20px;
    }
}



/* ===== drop menu mobile */

@media(max-width:1180px) {
    .about-card {
        width: 150px;
        height: 180px;
    }
}

@media(max-width:1080px) {

    .about-inner-center-one .board-link {
        width: 100% !important;
    }

    .about-inner-center-one .management-link {
        width: 100% !important;
    }
}

@media(max-width:1030px) {
    .about-inner-right {
        display: none;
    }

    .about-inner-center-one {
        width: 100%;
        justify-content: start;
    }
}

@media(max-width:320px) {
    .hamburger-about-dropdown-inner-link-dropdown a {
        font-size: 14px;
    }
}


/* =====PROJECTS SECTION==== */


@media(max-width:1225px) {
    .projects-left {
        width: 50%;
    }
}

@media(max-width:1025px) {
    .projects-sliders .swiper2 {
        width: 250px;
        height: 400px;
    }
}

@media(max-width:890px) {
    .projects .projects-inner .projects-left .projects-left-items h2 {
        font-size: 2rem;
    }

}



@media (max-width:856px) {
    .projects .projects-inner {
        flex-direction: column;
    }

    .projects-left {
        height: auto;
    }

    #swipper3 {
        display: block;
    }

    #slider-pro {
        display: none;
    }
}



@media (max-width:856px) {
    .projects .projects-inner{
        flex-direction: column;
    }
    .projects-left{
        height: auto;
    }
    #swipper3{
        display: block;
    }
}
@media(max-width:800px) {
    .projects {
        margin-bottom: 35%;
    }



    .projects .projects-inner .projects-left {
        width: 100%;
    }

    .projects-left-items button {
        margin-bottom: 0px !important;
    }

    .projects .projects-inner {
        display: flex;
        flex-direction: column;
    }

    .projects-sliders {
        margin-top: -260px;
        width: 100%;
    }

    .projects-sliders .swiper2 {
        width: 200px;
        height: 300px;
    }

    .swiper-slide-image-title p {
        font-size: 18px;
    }
}

@media(max-width:380px) {
    .projects-left-buttons .project-left-button button {
        width: 36px;
        height: 36px;
    }

    .projects-left-buttons .project-left-button button i {
        font-size: 16px;
    }

    .projects-left-buttons .project-right-button button {
        width: 36px;
        height: 36px;
    }

    .projects-left-buttons .project-right-button button i {
        font-size: 16px;
    }

    .project-buttons-numbers span {
        font-size: 16px;
    }

    .projects-left-items h2 {
        font-size: 20px !important;
    }

    .projects-sliders .swiper2 {
        width: 150px;
        height: 200px;
    }

    .projects-sliders {
        margin-top: -357px !important;
    }

    .projects-left-items button {
        width: 180px;
        height: 60px;
        font-size: 12px !important;
    }
}


@media (max-width:1200px) {
    .society-svg svg:nth-child(3) {
        position: absolute;
        top: -6rem;
        right: -30rem;
        z-index: -5;
        width: 107rem;
        height: 126rem;
    }
}


@media (max-width:1000px) {
    .society-svg svg:nth-child(3){
        right: -45rem;
    }
    .society-svg svg:nth-child(1){
        top: -4rem;
    }
}

@media (max-width:760px) {
    .society-svg svg:nth-child(3){
        right: -61rem;
    }
}

@media (max-width:500px) {
    .society-svg svg:nth-child(3){
        right: -72rem;
    }
}

@media (max-width:1219px) {
    #wrapper{
        left: 41rem;
    }
}

@media (max-width:1100px) {
    #wrapper{
        display: none;
    }
}
@media (max-width:865px) {
    .key .svg-key{
        display: none;
    }
    .reven-capit svg{
        display: none;
    }
}

@media (max-width:860px) {
    .animat-machine{
        display: none;
    }
}

@media (max-width:1190px) {
    .key .svg-key{
        position: absolute;
        top: -40rem;
        transform: rotate(66deg);
        width: 117rem;
        left: -19rem;
    }
}

@media(max-width: 359px){
    .releases-cont .releases:nth-child(1){
        margin-bottom: 7rem;
    }
    .releases-cont .releases:nth-child(2){
        margin-bottom: 9rem;
    }
}

@media(max-width:2308px){
    .s-title{
        left: 20%;
    }
}

@media(max-width:2000px){
    .s-title{
        left: 12%;
    }
}




@media(min-width:2000px){
    .splide{
        height:87rem;
    }
    .splide__track{
        height:87rem;
    }
    .splide__slide {
        height:87rem;
    }
    .horizon-slider{
        height:87rem;
    }
    .swiper-slide img{
        height:87rem;
    }
}

@media(max-width:908px){
    .construction .cons-inner ul li:nth-child(5) a img{
        width: 85px!important;
        height: 95px!important;
    }
    .construction .cons-inner ul li:nth-child(5) a p{
        margin-left: 15px!important;
    }
}


@media(max-width:540px){
    .construction .cons-inner ul li a img{
        width:70px;
        height:70px;
    }
    .construction .container ul li a p{
        margin-bottom:15px;
    }
    .construction .cons-inner ul li:nth-child(3) a img{
        width:50px!important;
        height:50px!important;
    }
    
    .construction .cons-inner ul li:nth-child(5) a img{
        width:55px!important;
        height:55px!important;
    }
    
}
