/*
 * Globals
 */


/* Custom default button */
.btn-light,
.btn-light:hover,
.btn-light:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
}


/*
 * Base structure
 */

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
  background-image:url('../img/img-home-hero.webp');
  background-size:cover;
  background-position:center;
  font-family:arial, sans-serif;
}

.cover-container {
  max-width: 40em;
}


/*
 * Header
 */

.nav-masthead .nav-link {
  color: rgba(255, 255, 255, .5);
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.body-overlay {position:absolute;top:0;left:0;width:100vw;height:100vh;z-index:0;
 /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+50,000000+100&0+50,0.5+100 */
background: -moz-linear-gradient(top,  rgba(255,255,255,0) 50%, rgba(0,0,0,0.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 50%,rgba(0,0,0,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0) 50%,rgba(0,0,0,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#80000000',GradientType=0 ); /* IE6-9 */
}

.realizzato-da {position:relative;z-index:1;}
.realizzato-da a, .realizzato-da span {opacity:.5;}
.realizzato-da a {transition:all .2s ease-in-out;text-decoration:none;}
.realizzato-da a:hover {opacity:1;}

.info-panel {text-align:justify;border-bottom:2px solid #acdae1;margin-bottom:10px;position:relative;overflow:hidden;width:100%;}
.info-panel hr.small-part, .info-panel hr.long-part {position:absolute;top:1px;border-width:2px;border-color:#acdae1;margin:0;opacity:1;z-index:1;}
.info-panel hr.small-part {left:0;width:49px;}
.info-panel hr.long-part {left:76px;width:100%;}
.info-panel .payoff {text-transform:uppercase;position:absolute;top:8px;right:0px;transform:scaleX(.9);transform-origin:100% 0;z-index:1;font-size:25px;text-align:right;margin-left:155px;line-height:1.05;}
.info-panel .main-email {position:absolute;z-index:1;top:36px;right:0px;transform-origin: 100% 0;}
.info-panel a {color:#ffffff;text-decoration:none;transform:scaleX(.9);}
.info-panel .links {text-align:right;flex-basis:27%;transform-origin:100% 0;transform:scaleX(.9);}
.info-panel .place {transform:scaleX(.9);transform-origin: 0 0;flex-basis:73%;}
.info-panel, .info-panel a, .info-panel p {font-size:18px!important;}
.info-panel a:hover {color:#acdae1;}
.info-panel .logo-mobile {position:relative;left:50%;z-index:1;margin-left:-240px;}


/* MEDIA QUERIES */
@media only screen and (max-width:575px) {
  .info-panel .place, .info-panel .links {transform-origin:50% 0;text-align:center;}
  .info-panel .payoff {position: static;margin: 0;text-align:center;font-size: 6.1vw;transform-origin:50% 0;}
}
@media only screen and (max-width:479px) {
  .info-panel .place, .info-panel .links, .info-panel .payoff, .info-panel a {transform:none;}
}
@media only screen and (min-width:576px) and (max-width:639px) {
  .info-panel .links {position:absolute;right:-6px;bottom:0;max-width:149px;}
  .info-panel .place {flex-basis:90%;}
}
@media only screen and (min-width:640px) {
  .info-panel .links a {margin-right:-7px;}
}