#modal-loader{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.8);
    display: none;
}


body.with-loading #modal-loader{
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 1000;
}


.btn.btn-custom
{
    color: #222;
    background: #ffcc01;
    border: 1px solid #ffcc01;
    text-decoration: none;
    font-weight: normal;
}
.btn.btn-custom:hover{
    background: white;
}


h1,h2,h3,h4{
    line-height: 1em !important;
}


.h-50vh{ height: 50vh; }
.h-40vh{ height: 50vh; }
.h-60vh{ height: 50vh; }


body{
    padding-top: 70px;
}

section.head-nav{
    position: absolute;
    width: 100%;
    left: 0;
    display: block;
    z-index: 5;
    background-color: white;
    
    top: -70px;
    transform: translateY(70px);

    transition: top 800ms ease;
    -moz-transition: top 800ms ease;
    -webkit-transition: top 800ms ease;
    -o-transition: top 800ms ease;
}

body.with-scrolling-nav section.head-nav{
    position: fixed;
    top: 0px;
    transform: translateY(0px);
}


section.head-opening{
    height: 80vh;
    min-height: 500px;
}

.opening-text-container p,
.opening-text-container h1{
    color: white;
}

.opening-bg{
    background-image: url('../img/MECCANICO_small.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.opening-floating-image{
    position: absolute;
    right: 0;
    bottom: -8em;
    
    width: 30%;
}
.opening-floating-image img{
    position: relative;
    width: 100%; height: auto;
    z-index: 2;
}

img.icon{width: 64px; height: auto; max-width: 64px; position: relative; display: block;}

.main-point-entry{
    padding: 3em 1em;
    width: 100%;
    font-size: 14px;
    
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}


a.overlay-on-hover{
    display: block;
    position: relative;
}
a.overlay-on-hover::after{
    position: absolute;
    content: '';
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    
    transition: all 800ms ease;
    -moz-transition: all 800ms ease;
    -webkit-transition: all 800ms ease;
}
a.overlay-on-hover:hover::after{
    background-color: rgba(0,0,0,0);
}

.title-overlay{
    display: flex;
    align-items: center;
    justify-content: center;
    
    position: absolute;
    width: 100%; height: 100%;
    text-align: center;
    left: 0;
    top: 0;
    z-index: 1;
    /*
    transform: translateY(50%);
    -moz-transform: translateY(50%);
    -webkit-transform: translateY(50%);
    */

    font-weight: bold;
    text-decoration: underline;
    color: #FFFFFF;
}


section.encoder{
    height: 80vh;
    min-height: 500px;
    overflow-y: hidden;
}

.bg-centrale-encoder{
    /*background-image: url('../assets/jack24-centrale-encoder.jpg');*/
    background-image: url('../img/Garages.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;

}

.encoder-descriptions{
    /*color: #adadac;*/
    color: #FFFFFF;
}

.encoder-floating-image{
    position: absolute;
    right: 10em;
    bottom: 0;
    
    width: 50%;

}
.encoder-floating-image img{
    width: 100%; height: auto;
}


section.beup-section{
    height: 80vh;
    min-height: 500px;
    overflow-y: hidden;
}

.floating-beup-image{
    position: absolute;
    bottom: 0;
    right: 0;
    
    /*width: 40%;*/
    width: 33%;
}

.section-40-50{
    height: 40vh;
    min-height: 400px;
    overflow-y: hidden;
}


.beup-app-links li{
    display: inline-block;
    margin-right: 1em;
}

.beup-app-links li img{
    height: 50px;
    width: auto;
}


footer{
    background-color: #f8f8f8;
    padding: 1em;
    margin-top: 4em;
}

@media all and (max-width: 576px) {
    
    .section-40-50{
        height: 50vh;
    }
    
    .beup-text-description{
        width: 60%;
    }
    
    section.beup-section p.lead{
        font-size: 1rem;
    }
    
    
}

@media all and (max-width: 768px) {
    
                .opening-text-container{
                    /*width: 80%;*/
                    width: 50%;
                }

                .opening-text-container h1{
                    font-size: 4rem;
                }

                .opening-text-container p.lead{
                    font-size: 1rem;
                }

                .opening-floating-image{
                    /*width: 30%;*/
                    width: 50%;
                    bottom: 0;
                }


        section.beup-section{
            height: 90vh;
        }

        .floating-beup-image{
            width: 40%;
        }


        .encoder-descriptions h3, h4{
            transform: scale(.8,.8);
            -moz-transform: scale(.8,.8);
            -webkit-transform: scale(.8,.8);
        }

        .encoder-floating-image{
            right: 0;
            width: 30%;
        }
        
        
        /*
        .beup-app-links li{
            display: block;
            margin-right: 0;
            margin-bottom: 1em;
        }
        */
        
        .beup-app-links li img{
            height: 32px;
            width: auto;
        }
    
}


/* remove container padding left/right on extra small screens */
@media all and (max-width: 576px) {
    
    section.main-points-section > .container,
    section.with-container-p0-on-xs > .container
    {
        padding-left: 0; padding-right: 0;
    }
    
    
}




#field-entry-privacy .alert {
  background-color: #F8F8F8;
  padding: 2px;
  margin-top: 10px;
  text-align: center;
}