body {
    margin-top: 60px;
    overflow-xa: hidden;
    font-family: Lato;
}

.txtblu {
    color: rgb(0, 78, 146);
}

@media only screen and (min-width:768px){
    .servizi {
        display: none;
    }
}

h2 {
    font-weight: 800;
    color: rgb(0, 78, 146);
}

.fondomenu {
    background-color: #090962;
    background: -webkit-linear-gradient(top, rgb(18, 22, 88) 0%, rgb(0, 78, 146) 100%);
    margin-top: 30px;
}

.fondomenu2 {
    background-color: #090962;
    background: -webkit-linear-gradient(bottom, rgb(18, 22, 88) 0%, rgb(0, 78, 146) 100%);
}

.logo-keyvalue {
    top: -26px;
    left: 0;
    width: 281px;
	max-width:calc(100vw - 120px)
}



.testatabianca {
    height: 60px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 99;
}

.coverimage {
    background-image: url('esterni.JPG');
    background-size: cover;
    height: calc(100vh - 275px);
    background-repeat: no-repeat;
    background-attachment: fixed;
	background-position: 50% 50%
}

.box {
    text-align: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.box img {
    width: 100%;
    height: auto;
}

.box .box-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: all 0.3s ease 0s;
}

.box:before,
.box:after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,#000,rgba(0,0,0,0.6),transparent,rgba(0,0,0,0.6),#000);
    position: absolute;
    top: 0px;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
}

.box:before {
    top: auto;
    bottom: 0;
    height: 55px;
    opacity: .5;
    background: linear-gradient(to top,#000,rgba(0,0,0,0.6),transparent);
}

.box:hover:after {
    opacity: 1;
}

.box:hover:before {
    opacity: 0;
}

.box .inner-content {
    text-align: right;
    position: absolute;
    right: 20px;
    bottom: 10px;
    z-index: 1;
}

.box .title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0 0 4px 0;
    transform: translateY(100%);
    transition: all 0.3s ease 0s;
}

.box:hover .title {
    transform: translateY(0);
}

.box .post {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease 0s;
}

.box:hover .post {
    opacity: 1;
    transform: translateX(0);
}

.box .icon {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 20px;
    left: 20px;
}

.box .icon li {
    display: inline-block;
    opacity: 0;
    transition: all 0.3s ease 0s;
}

.box .icon li:first-child {
    transform: translateY(80px);
}

.box .icon li:last-child {
    transform: translateY(-80px);
}

.box:hover .icon li {
    opacity: 1;
    transform: translateY(0);
}

.box .icon li a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 22px;
    color: #fff;
    margin-right: 5px;
    z-index: 1;
    position: relative;
}

.box .icon li a:before {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgb(0, 78, 146);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.3s ease 0s;
}

.box .icon li a:hover:before {
    border-radius: 20% 0;
}

@media only screen and (max-width:390px){
.logo-keyvalue {
    top: -17px;
    left: 0;
    width: 170px;
}

.fondomenu {
margin-top: 20px;
}
	.testatabianca {
    height: 40px;
}
	body {
    margin-top: 40px;
}
}
@media only screen and (max-width:991px){
.navbar-nav{margin-top:50px; margin-bottom: 50px}
	.nav-item{border-top: solid thin #fff}
	.coverimage, .jumbotron-fluid {
    
    background-attachment:scroll!important
}
	.vasotto{position: relative!important}
}