:root{
    --white: #FFFFFF;
    --slateWhite: #F1F3F4;
    --transparentWhite-5: rgba(255,255,255, 0.5);
    --transparentWhite-8: rgba(255,255,255, 0.8);
    --blue: #1D71B8;
    --darkBlue: #2A4395;
    --slateGrey: #708090;
}

*{
    font-family: 'Roboto', sans-serif;
}

.containerBox{
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
}

html, body{
    overflow-x:hidden;
}

body{
    background-color: var(--slateWhite) !important;
}

img{
    object-fit: cover;
}

textarea{
    resize: none !important;
}

#projectsModal img{
    height: 60vh;
    width: 100%;
}


.general-contact-email{
    overflow-wrap: anywhere;
}

.HPInput{
    display: block;
    line-height:0;
    width: 0;
    height: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.scrollProgressBar{
    display: inline-block;
    height: 5px;
    background-color: var(--blue);
    transition: 0.2s;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
}

.w-102{
    width: 102%!important;
}

/*-------------------------- C O O K I E S --------------------------*/

.cookies{
    display: none;
    bottom: 0;
    left: 0;
    z-index: 999999;
    width: 100vw;
}

.selectedLang{
    -webkit-box-shadow: 1px 1px 2px 2px #ccc;
    -moz-box-shadow: 1px 1px 2px 2px #ccc;
    box-shadow: 1px 1px 2px 2px #ccc;
}

.rounded-button {
    border-radius: 21px!important;
    height: 2.4rem;
    width: fit-content;
}

.currentSection{
    border-bottom: 4px solid var(--blue);
}

.overflow-visible{
    overflow: visible !important;
}

.dropdown{
    float: right;
}

#dropdownMenuButton{
    width: 10rem;
    background-color: var(--blue) !important;
    border:none;
}

#dropdownMenuButton span{
    width: 70%;
}

.dropdown-toggle::after {
    margin-top: 0.6rem;
}

.row{
    margin: 0 !important;
}

.interactive{
    cursor: pointer !important;
}

#modalSignal{
    font-size: 5rem;
    color: var(--blue);
}

.perspective{
    -webkit-perspective: 500px;
    -moz-perspective: 500px;
    -o-perspective: 500px;
    perspective: 1000px;
}

.lookToMouseAnimation{
    transform-style: preserve-3d;
    transition: 0.4s ease;
}

.projects{
    background-position: 100% 100%;
    background-size:101%;
}

.card-img-top{
    height: 350px;
}

#navbarLinks:hover .nav-item{
    border-bottom: 4px solid transparent;
}

#navbarLinks .nav-item:hover{
    border-bottom: 4px solid var(--blue);
}

#projects .backgroundTransparentWhite{
    background-color: var(--transparentWhite-8);
}

.viga{
    font-family: 'Viga', sans-serif !important;
}

#projects h1{
    color: white;
}

#projects .swiper-slide{
    background-color: white !important;
}

.mh-600{
    max-height: 600px;
}

.overlapLeftToRight{
    position: absolute;
    left: 20%;
    z-index: 1;
}

.scrollTo{
    border-bottom: 4px solid transparent;
    width: fit-content;
}

.scrollTo:hover{
    border-bottom: 4px solid var(--blue);
}

#contact form{
    width: 100% !important;
}

#contact img{
    object-position: 100%;
}

.centerHorizontal{
    margin-left: 50%;
    transform: translate(-50%, 0);
}

.absoluteCenterVerticalAlignRight{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.stylishUnderline, .stylishUnderlineWhite{
    position: relative;
}

.stylishUnderline::after{
    position: absolute;
    content: '';
    height: 4px;
    bottom: -4px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 8rem;
    background: var(--blue);
}

.stylishUnderlineWhite::after{
    position: absolute;
    content: '';
    height: 4px;
    bottom: -4px;
    margin: 0 auto;
    left: 0;
    right: 0;
    width: 8rem;
    background: white;
}

.backgroundImage{
    object-fit: cover;
    width: 100%;
    height:100%;
    position: absolute;
}

.imgSocios {
    width: 39rem;
    margin-left: -24rem;
}

.txtSocios {
    width: 46rem;
}

.containerCarousel{
    height: 70vh ;
}

.noLayer::after{
    background:transparent!important;
}

.pointerEventsNone{
    pointer-events: none;
}

nav a{
    font-size: 1.2rem;
}

.swiper-container-horizontal>.swiper-pagination-bullets{
    z-index: 10000 !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
}

.containerCarousel::after{
    content: " ";
    position: absolute;
    width: 100%;
    height:100%;
    color: white;
    opacity: 0.65;
    left: 0;
    top: 0;
    display: inline-block;
    background: linear-gradient(to top, var(--blue) 0%, var(--white));
    z-index: 300;
}

#contact form textarea{
    height: 200px;
}

.expandable{
    max-height: 0;
    overflow: hidden;
    transition: 1s ease;
}

.expanded{
    max-height: 20rem!important;
}

.expandableTraining{
    max-height: 0;
    overflow: hidden;
    transition: 1s ease;
}

.expandedTraining{
    max-height: 25rem!important;
}

.absoluteTextBox{
    position: absolute;
    bottom: 5rem;
    width:100%;
    z-index: 500;
}

.absoluteCenterVertical{
    top: 50% !important;
    transform: translate(0, -50%);
    position: absolute;
}

.hoverDropDown{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
    border-bottom: 4px solid var(--blue);

}

.noWrap{
    white-space: nowrap;
}

.smallText{
    font-size: 10px;
}

div:hover > .hoverDropDown{
    display: inline-block !important;
}

.w-fc{
    width: fit-content;
}

.p-6{
    padding: 6rem!important;
}

.servicesIcon{
    font-size: 50px;
    color: var(--blue);
}

.justify{
    text-align: justify;
}

.whiteColor{
    color:var(--white);
}

.backgroundTransparentWhite{
    background-color: var(--transparentWhite-8);
}

.backgroundWhite{
    background-color: var(--white) !important;
}

.bigText{
    font-size: 2.5rem;
    line-height: 1;
}

.floatRightFlex{
    justify-content: space-between;
}

.absoluteCenterBoth{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

nav{
    position:fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 1000;
    overflow: hidden;
    transition: 0.4s ease;
}

.modal-full {
    min-width: 100%;
    margin: 0;
}

#madridConventionModal .modal-content{
    width: fit-content;
    width: -moz-fit-content;
    margin-left: 50%;
    transform: translate(-50%, 0);
}

.madridConventionImg{
    height: 80vh;
}

@media (max-width: 1200px) {
    .absoluteTextBox{
        position: absolute;
        top:15rem;
        border-radius: 5px;
        width:100%;
        z-index: 500;
    }

    .bigText{
        font-size: 2rem;
        line-height: 1;
    }

    .mh-lg-500{
        max-height: 500px;
    }
    #contact form{
        width: 50vw;
    }

    .navbar-brand img{
        padding: 0 !important;
    }
}

@media (min-width: 993px) {
    #navbarNavAltMarkup {
        display: block !important;
    }


}

@media (max-width: 992px) {
    .navbar .glyphicon-chevron-down{
        padding-left: 0.4rem;
    }
    #contact img{
       height: 30vh !important;
    }
    #contact form{
        width: 60vw;
    }

    #contact .col-xl-3{
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .successCases .w-25{
        width: 75% !important;
    }

    .successCases .col-md-12{
        margin-bottom: 2rem;
    }

    .currentSection{
       color: var(--blue) !important;
       border: none !important;
       font-weight: bold;
    }

    #navbarLinks:hover .nav-item{
        color: black !important;
        border: none !important;
        font-weight: normal;
    }

    #navbarLinks .nav-item:hover{
        color: var(--blue) !important;
        border: none !important;
        font-weight: bold;
    }

    .mobile-d-none{
        display: none;
    }

    #projects{
        background-size:cover;
    }

    .navbar-collapse{
        padding-left: 3rem;
    }

    .backgroundTransparentWhite{
        background-color: var(--white);
    }

    #contact form textarea{
        height: 100px;
    }

    .bigText{
        font-size: 1.8rem;
        line-height: 1;
    }
    .navbarMobileWelcome{
       width: fit-content;
       display:inline-block !important;
    }
    .absoluteTextBox{
        position: absolute;
        top:15rem;
        border-radius: 5px;
        width:100%;
        z-index: 500;
    }

    .p-6{
        padding: 1rem!important;
    }
}

@media (max-width: 768px) {
    #contact form{
        width: 100%;
        position: static !important;
        transform: none !important;
        padding: 2rem 1rem !important;
    }

    .navbar-collapse{
        padding-left: 0.5rem;
    }

    #contact form textarea{
        height: initial;
    }

    .containerCarousel{
        height: 60vh;
    }
    .mobileCenterHorizontal{
        margin-left: 50%;
        transform: translate(-50%, 0);
    }

    .absoluteTextBox{
        top:30vh;
    }
    .bigText{
        font-size: 1.5rem;
    }

    .footer{
        font-size: 0.8rem;
    }

    .mobileBrand{
        width: 75%;
    }

    .mobileBrand img{
        width: 50% !important;
    }
    #mobileLogoSwiper{
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {

    .container-fluid{
        padding: 0 !important;
    }

    #projectsModal .modal-dialog, #projectsModal .modal-content{
        margin: 0;
    }

    #projectsModal .modal-content{
        border-radius: 0;
    }

    #projectsModal img{
        height: 40vh;
    }

    #projectsModal .p-4{
        padding-bottom: 0 !important;
    }

    #projectsModal .modal-header{
        padding: 0.5rem;
    }

    #services .col-12{
        padding: 0 !important;
    }

    #services .col-10{
       padding-left: 2rem !important;
    }

    .absoluteTextBox{
        top:25vh;
    }

    .bigText{
        font-size: 1.2rem;
    }

    .mobileBrand img{
        width: 75% !important;
    }

    .w-102{
        width: 105%!important;
    }

    .madridConventionImg{
        height: auto;
        width: 100vw;
    }

    #madridConventionModal .modal-dialog{
        width: 100vw;
        margin: 0;
    }

     #madridConventionModal .modal-content{
        border: 0;
        border-radius: 0;
    }

}
