@charset "UTF-8";
/* CSS Document */
:root{
    --bianco:#fafafa;
    --nero:#010101;
    --azzurro:#a9daff;
    --blu:#00264b;
    --rosso:#ee3125;
}

.navbar-brand {
    display: inline-block;
    padding-top: 0;
    
    padding-bottom: 0.3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
p{
    color:white;
}
.video-bg{
    padding-top:22em;
}
.dati-aziendali{
    color:#fff;
}
.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-size: 18px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;

}
.bg1 { background-color: var(--blu); }
        .bg2 { background-color: #00264b; }
        .bg3 { background-color: #00264b }
.nav-link a{
    color:var(--blu)
}
.nav-item{
    margin-right:1.4rem;
}
.navbar-brand{
    max-width:200px;
}

.button{
    transition: 0.5s;
    background-color: var(--azzurro);
    border: 2px solid var(--azzurro);
    color:var(--blu);
    text-decoration: none;
    padding:0.8em;
    border-radius: 10px;

}
.button:hover{
    text-decoration: none;
    background-color: var(--blu);
    border: 2px solid var(--bianco);
    color:var(--bianco);
    padding:0.8em;
    border-radius: 10px;

}
.navbar {
    margin:0.5rem;
    border-radius:10px;
    padding: 0.2rem 0.5rem;
}


body {
    
    background-color: var(--blu);
    font-size: 22px;
    
    font-weight: 500;
    color:var(--white);
    
}

h1 {
    
    font-size: 50px;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 30px;
    margin-bottom: 25px;
    text-align: left;
    color: var(--azzurro);
    line-height: 2.4rem;
    font-weight: 600;
}
h1 span{
    font-size: 25px;
}
h2 {
    font-size: 40px;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 80px;
    margin-bottom: 25px;
    text-align: center;
    color: var(--azzurro);
    line-height: 25px;
    font-weight: 600;
}

h3 {
    font-size: 40px;
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 25px;
    text-align: center;
    color: var(--azzurro);
    line-height: 36px;
    font-weight: 600;
}

h4 {
    font-size: 40px;
    font-family: 'Source Sans Pro', sans-serif;
    margin-top: 12px;
    margin-bottom: 20px;
    margin-left: 40px;
    color: #fff;
    line-height: 50px;

}

h5{
  color:#fff;
  padding-top:10px;
}

.tcontatti {
    font-size: 20px;
    line-height: 15px;
}

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

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



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



a {
    color: #000;
    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;
}


p {
    font-family: 'Source Sans Pro', sans-serif;
}

.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;
    
    
    -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;
}


.hover-photogallery {
    height: 300px;
}



.back1 {
    background-image: url(../img/back1.png);
    background-position: top;
    background-repeat: no-repeat;

}


.back2 {
    background-image: url(../img/back2.png);
    background-position: right;
    background-repeat: no-repeat;

}
.back3 {
    background-image: url(../img/back3.png);
    background-position: left;
    background-repeat: no-repeat;

}

.back4 {
    background-image: url(../img/back4.png);
    background-position: right;
    background-repeat: no-repeat;

}

#backgroundvideo1 {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background: url(polina.jpg) no-repeat;
    background-size: block;
	opacity: 0.3;
}



.cont {
    font-size: 27px;
}



.btn-default {
    color: #fff;
    background-color: #0f151f;
    border-color: #70c377;
}


.btn-default:hover {
    color: #000;
    background-color: #0f151f;
    border-color: #000;
}




.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 3px solid #000;
    border-radius: 5px;
}

.btn-outline-success {
    color: #000;
    background-color: transparent;
    background-image: none;
    border-color: #000;
}

.btn.focus,
.btn:focus,
.btn:hover {
    color: #fff;
    text-decoration: none;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

a:hover {
    color: #fff;
}


#video_container {
    bottom: 0;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: url(polina.jpg) no-repeat;
    min-height: 720px;
}

#bgvid {
    min-width: 100%;
}

#video_container2 {
    bottom: 0;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    background: url(polina.jpg) no-repeat;
    min-height: 720px;
}

#bgvid2 {
    min-width: 100%;
}

.nopadding {
    padding: 0;
}


.fa:hover {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    color: #70c377;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-light .navbar-toggler {
    color: #fff;
    border-color: #fff;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: #ccc;
}



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;
    
    -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;
}
.item{
    overflow: hidden;
}

.photogallery:hover {
    transform: scale(1.1);
    
}

.hover-photogallery {
    height: 300px;
}

.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid #fff;
	background-color: #fff;
    border-radius: 5px;
	color:#000
}

.box{
    padding-left:12vh;
    padding-right:12vh;
}
.btn-outline-light {
    color: #f8f9fa;
    background-color: transparent;
    background-image: none;
    border-color: #f8f9fa;
}

.btn-outline-light:hover {
    color: #ee3125;
    background-color: transparent;
    background-image: none;
    border-color: #ee3125;
}

footer{
	background-color: var(--blu);
}



/* Slider */
.slick-slide {
    margin: 0px 0px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
.loghi-partner{
	max-width:150px;
	padding:0px;
	margin:0px;
}




.hoverimg {
    position: relative;
    opacity: 0.8;
    transition: 0.3s ease;
    cursor: pointer;
}

.hoverimg:hover {
    transform: scale(1.1, 1.1); /** default is 1, scale it to 1.5 */
    opacity: 1;
}


.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: #161616;
    background-clip: padding-box;
    border: 1px solid #fff;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.tcontatti > a {
    color:#fff;
}

.link-privacy{
    color:#fff;
}
.list-footer{
    list-style: none;
}
.btn-outline-light2 {
    color: #fff;
    background-color: transparent;
    background-image: none;
    border-color: #fff;
}

.btn-outline-light2:hover {
    color: #000;
    background-color: #fff;
    background-image: none;
    border-color: #fff;
}
.card-cert{
    justify-content: center;
    padding:0.5em;
    background-color: var(--bianco);
    display: flex;
    height: 100%;
    border:4px solid var(--blu);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.bar1,
.bar2,
.bar3 {
    transition: ease 0.4s;
    right: 0;
    height: 5px;
    width: 37px;
    margin: 4px;
    background: var(--blu);
    border-radius: 5px;
}
.change .bar1 {
    transform: rotate(-45deg) translate(-8px, 3px);
    transition: ease 0.4s;
}

.change .bar2 {
    transition: ease 0.4s;
    opacity: 0;
}

.change .bar3 {

    transform: rotate(45deg) translate(-11px, -4px);
    transition: ease 0.4s;
}

.button-navbar {
    transition: ease 0.4s;
    right: 0;
    cursor: pointer;
    transition: 0.4s;
}
.list-unstyled li a{
    text-decoration: none;
}
.title-cert{
    font-size: 1.6rem;
    padding-left:0.3em;
    padding-right:0.3em;
    color: var(--blu);
}

@media only screen and (max-width:1650px){
    .navbar-brand {
        max-width: 150px;
    }
   .title-cert{
    font-size: 20px;
   }
    h1{
        padding-top:0
    }
    .box{
        padding-left:2vh;
        padding-right:2vh;
    }
}
@media only screen and (max-width:790px){
    .list-footer{
        display: inline-flex;
        flex-direction: row;
    }
}
@media only screen and (max-width:590px){
    .nav-link{
        font-size: 18px;
    }
    .back3{
        background-position: 7%;
    }
    p{
        color:white;
    }
    #video-bg{
        overflow: hidden;
        width:100%!important;
        padding-top:4em;
    }
    h1{
        line-height: 22px;
        font-size: 22px;
    }
    h3{
        font-size: 22px;
        line-height: 22px;
    }
    h2{
        margin-top:0;
    }
    h1 span{
        line-height: 22px;
        font-size: 22px;
    }
    body{
        font-size:12px;
    }
    .subtitle{
        color:var(--rosso)!important;
        font-size: 17px;
    }
}
