@charset "UTF-8";
/* CSS Document */

.navb {
    border-bottom: 10px;
}

.fonav {
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
    color: #008ED6;
}

.logo {
    width: 50%;
    margin-top: 0px;
    margin-bottom: 500px;

}

.navbar-brand {
    padding: 5px 0px 0px 10px;
}


h1 {
    font-size: 70px;
    font-family: 'Open Sans', sans-serif;
    padding-top: 10px;
    text-align: center;
    color: #008ED6;
    font-weight: 700px;

}

h2 {
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    padding-top: 10px;
    text-align: left;
    color: #008ED6;
    font-weight: 400px;

}

h3 {
    font-size: 40px;
    font-family: 'Open Sans', sans-serif;
    padding-top: 10px;
    text-align: left;
    color: #008ED6;
    font-weight: 400px;

}

h5 {
    font-size: 30px;
    font-family: 'Open Sans', sans-serif;
    padding-top: 10px;
    text-align: left;
    color: #000;
    font-weight: 400px;

}

h4 {
    font-size: 40px;
    font-family: 'Open Sans', sans-serif;
    color: #04abcd;
    text-align: center;
}

.testo {
    font-size: 17px;
    font-family: 'Open Sans', sans-serif;
    margin: auto;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 50px;
}

.testodx {
    font-size: 17px;
    font-family: 'Arimo', sans-serif;
    margin: auto;
    margin-top: 10px;
    text-align: right;

}

.testosx {
    font-size: 17px;
    font-family: 'Arimo', sans-serif;
    margin: auto;
    margin-top: 10px;
    text-align: left;
    ;
}

.spazio {
    margin-bottom: 0px;
    margin-top: 60px;
}

.bb {
    background: #000;
    color: #444;
    padding: 100px 0 150px 0;
    background-image: url(img/motore);
    width: 40
}

.tcontatti {
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;

}

.tfoot {
    font-size: 15px;
    font-family: 'Open Sans', sans-serif;
    color: #000;
    padding-top: 5px;
    line-height: 50px;
}

.parallax {
    /* The image used */
    background-image: url(../img/parquet.jpg);

    /* Set a specific height */
    height: 50px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


.backhome{
    background-color: #9abee27e;
    background-image: url(../img/pattern.svg);
    background-position: center;
    background-size: cover;

}

a {
    color: #0f93fa;
    font-weight: 300px;
}

body,
html,
.main {
    height: 100%;
}


.center {
    display: block;
    margin: auto;
    margin-bottom: 60px
}

.freccia {
    background-image: url(../img/freccdx.png);
    height: 100px;

}


.carousel-control {
    opacity: 1;
}


body {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    font-size: 300;
    font-size: 18px;
}

.imgsez {
    margin-top: 130px;
}

div.gallery {
    margin: 50px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
    margin-top: 50px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: max;
}

div.desc {
    padding: 15px;
    text-align: center;
    background-color: rgba(236, 236, 236, 1.00);
}

.photogallery {
    background-size: cover;
    padding: 0;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -webkit-transition: all ease-in-out 0.40s;
    -moz-transition: all ease-in-out 0.40s;
    -o-transition: all ease-in-out 0.40s;
    -ms-transition: all ease-in-out 0.40s;
    transition: all ease-in-out 0.40s;
}

.photogallery:hover {
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
}

.hover-photogallery {
    height: 300px;
}

.back1 {
    background-image: url(../img/back1.jpg);
    background-position: right;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-color: #999;

}

.backditta {
    background-image: url(../img/ditta.jpg);
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #999;

}


h4 {
    font-size: 40px;
    font-family: 'Open Sans', sans-serif;
    color: #04abcd;
}

div.gallery {
    margin: 50px;
    border: 1px solid #ccc;
    float: left;
    width: 180px;
    margin-top: 50px;
}

div.gallery:hover {
    border: 1px solid #777;
}

div.gallery img {
    width: 100%;
    height: max;
}

div.desc {
    padding: 15px;
    text-align: center;
    background-color: rgba(236, 236, 236, 1.00);
}

.photogallery {
    background-size: cover;
    padding: 0;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -webkit-transition: all ease-in-out 0.40s;
    -moz-transition: all ease-in-out 0.40s;
    -o-transition: all ease-in-out 0.40s;
    -ms-transition: all ease-in-out 0.40s;
    transition: all ease-in-out 0.40s;
}

.photogallery:hover {
    filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
}

.hover-photogallery {
    height: 300px;
}


.footer-distributed .footer-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #000;
    border-radius: 2px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}

.footer-distributed .footer-links a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

.footer-distributed .footer-links {
    color: #fff;
    margin: 20px 0 12px;
    padding: 0;
}

.footer-distributed .footer-center p {
    display: inline-block;
    color: #fff;
    vertical-align: middle;
    margin: 0;
}

.footer-distributed .footer-center p a {
    color: #fff;
    text-decoration: none;
}

.footer-distributed .footer-company-about span {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-distributed {
    background-color: #292c2f;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font: bold 16px sans-serif;
    padding: 55px 50px;
    margin-top: 0px !important;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 50%;
    position: relative;
    height: 0;
    padding-left: 0px;
    padding-right: 0px;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 70%;
    width: 100%;
    position: absolute;
    padding-left: 0px;
    padding-right: 0px;
}


.gallery-grid {
    display: grid;
    /* Use the variable --cols, or default to 4 */
    grid-template-columns: repeat(var(--cols, 4), 1fr); 
    gap: 0; 
    width: 100%;
}


.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on phones */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 900px) {
    .logo-nav{
        max-width: 300px;
    }
    .video-head{
        padding-top: 46px;
    }
}
@media only screen and (max-width: 590px) {
   
}