@font-face {
    font-family: 'sofia';
    src: url('../fonts/sofiapro-light-webfont.eot');
    src: url('../fonts/sofiapro-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/sofiapro-light-webfont.woff2') format('woff2'),
         url('../fonts/sofiapro-light-webfont.woff') format('woff'),
         url('../fonts/sofiapro-light-webfont.svg#sofia_prolight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'opensans';
    src: url('../fonts/OpenSans-ExtraBold-webfont.eot');
    src: url('../fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-ExtraBold-webfont.svg#open_sansextrabold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
      font-family: 'fontello';
      src: url('../fonts/fontello.eot?12046274');
      src: url('../fonts/fontello.eot?12046274#iefix') format('embedded-opentype'),
           url('../fonts/fontello.woff?12046274') format('woff'),
           url('../fonts/fontello.ttf?12046274') format('truetype'),
           url('../fonts/fontello.svg?12046274#fontello') format('svg');
      font-weight: normal;
      font-style: normal;
    }  
	
@font-face {
      font-family: 'fontello-ema';
      src: url('../fonts/ema-custom.eot?12046274');
      src: url('../fonts/ema-custom.eot?12046274#iefix') format('embedded-opentype'),
           url('../fonts/ema-custom.woff?12046274') format('woff'),
           url('../fonts/ema-custom.ttf?12046274') format('truetype'),
           url('../fonts/ema-custom.svg?12046274#fontello') format('svg');
      font-weight: normal;
      font-style: normal;
    }  	
    
	
@font-face {
      font-family: 'fontello-due';
      src: url('../fonts/e80c.eot?63174155');
      src: url('../fonts/e80c.eot?63174155#iefix') format('embedded-opentype'),
           url('../fonts/e80c.woff?63174155') format('woff'),
           url('../fonts/e80c.ttf?63174155') format('truetype'),
           url('../fonts/e80c.svg?63174155#e80c') format('svg');
      font-weight: normal;
      font-style: normal;
    }  	
    

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 0rem;
  padding-bottom: 0rem;
  color: #5a5a5a;
  font-family: sofia;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

@media (min-width: 768px) {

    /* show 3 items */
    .carousel-inner .active,
    .carousel-inner .active + .carousel-item,
    .carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }
    
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left),
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item,
    .carousel-inner .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left) + .carousel-item + .carousel-item {
        transition: none;
    }
    
    .carousel-inner .carousel-item-next,
    .carousel-inner .carousel-item-prev {
      position: relative;
      transform: translate3d(0, 0, 0);
    }
    
    .carousel-inner .active.carousel-item + .carousel-item + .carousel-item + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    
    /* farthest right hidden item must be abso position for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    
    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }

}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-3 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h5 {
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}
.marketing .col-lg-3 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

h1,h2,h3,h4,h5,h6 {
    font-family: opensans;
}

.white {
    color: white;
}

.hover-white:hover {
    color: white;
    text-decoration: none;
}

.opensans {
    font-family: opensans;
}

.rowhome {
    padding-top: 2rem;
    padding-bottom: 6rem;
    margin-bottom: -4rem;
}

.bg-primary {
    background-color: #025389;
    color: #fff;
}

.bg-primary > p {
    color: #fff;
}

.bg-primary > p > a {
    color: #fff;
    font-weight: bold;
}

.bg-secondary {
    background-color: #707070;
    color: #fff;
    text-align: left;
}

.bg-secondary > p {
    color: #fff;
}

.bg-secondary > p > a {
    color: #fff;
    font-weight: bold;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.opacity-light {
    background-color: rgba(246,247,244,0.8);
}

/*   Testimonial    */

.mb-60 {
    margin-bottom: 60px;
}
.testimonial-inner {
    border: 2px solid transparent;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    margin-left: 35px;
    transition: .3s;
}
.our-testimonial-img {
    float: left;
    margin-left: -36px;
    margin-right: 22px;
    margin-top: 28px;
}
.our-testimonial-text {
    padding-right: 10px;
}
.our-testimonial-text {
    overflow: hidden;
    padding: 28px 0 25px;
}
.our-testimonial-text h4 {
    color: #222222;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
}
.our-testimonial-text h4::before {
    background: #ec6d48 none repeat scroll 0 0;
    bottom: 0;
    content: "";
    height: 1px;
    position: absolute;
    width: 35px;
}
.our-testimonial-wrapper:hover .testimonial-inner {
    background: #fff none repeat scroll 0 0;
    border: 2px solid transparent;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
.our-testimonial-text p {
    margin-bottom: 0;
}
p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    /*color: #fff;*/
    margin-bottom: 15px;
}


[class^='imghvr-'], [class*=' imghvr-'] {
    position: relative;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    /*background-color: rgba(2, 83, 137, 0.6);*/
    background-color: #000;
    color: #fff;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

[class^='imghvr-'] > img, [class*=' imghvr-'] > img {
    vertical-align: middle;
    max-width: 100%;
}

[class^='imghvr-'] figcaption, [class*=' imghvr-'] figcaption {
    background-color: rgba(2, 83, 137, 0.6);
    padding: 30px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: #ffffff;
}

[class^='imghvr-'] figcaption h1, [class^='imghvr-'] figcaption h2, [class^='imghvr-'] figcaption h3, [class^='imghvr-'] figcaption h4, [class^='imghvr-'] figcaption h5, [class^='imghvr-'] figcaption h6, [class*=' imghvr-'] figcaption h1, [class*=' imghvr-'] figcaption h2, [class*=' imghvr-'] figcaption h3, [class*=' imghvr-'] figcaption h4, [class*=' imghvr-'] figcaption h5, [class*=' imghvr-'] figcaption h6 {
    color: #ffffff;
}

[class^='imghvr-'] .sovra, [class*=' imghvr-'] .sovra {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

[class^='imghvr-'], [class*=' imghvr-'], [class^='imghvr-']:before,
[class^='imghvr-']:after, [class*=' imghvr-']:before, [class*=' imghvr-']:after,
[class^='imghvr-'] *, [class*=' imghvr-'] *, [class^='imghvr-'] *:before,
[class^='imghvr-'] *:after, [class*=' imghvr-'] *:before, [class*=' imghvr-'] *:after {
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    -moz-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

/* imghvr-push-*
   ----------------------------- */
[class^='imghvr-push-']:hover figcaption, [class*=' imghvr-push-']:hover figcaption {
    -webkit-transform: translate(0, 0);
    -moz-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
/* imghvr-push-left
   ----------------------------- */
.imghvr-push-left figcaption {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}


/* ultimo risultato della ricerca */
.card-deck .card {
    max-width: calc(33% - 30px);
}

@media (max-width: 992px) {
    .card-deck .card {
        min-width: 100%;
    }
}

.ombra {
-webkit-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.15);
-moz-box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.15);
box-shadow: -1px 3px 5px 0px rgba(0,0,0,0.15);
}


.sottoblu {
    background-color: rgba(2, 83, 137, 0.6);

    color: #ffffff;
}

.hr-primary {
 border: 0; 
 height: 3px; 
 background: #025389;
}

.tabsspettacolo a{
    color: #707070;
}
.tabsspettacolo a:hover{
    color: #025389;
}
.tabsspettacolo .active {
    color: #025389;
    border-bottom: 6px solid #025389;
}

.videocontainer {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.notify-badge{
    position: relative;
    float: right;
    top: -5px;
    right: 10px;
}


    .fontello
    {
      font-family: "fontello";
      font-style: normal;
      font-weight: normal;
      speak: none;
     
      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */
     
      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;
     
      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;
     
      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;
     
      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */
     
      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
     
      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }
    
	.fontello-ema
    {
      font-family: "fontello-ema";
      font-style: normal;
      font-weight: normal;
      speak: none;
     
      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */
     
      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;
     
      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;
     
      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;
     
      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */
     
      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
     
      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }
    
	.fontello-due
    {
      font-family: "fontello-due";
      font-style: normal;
      font-weight: normal;
      speak: none;
     
      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */
     
      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;
     
      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;
     
      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;
     
      /* You can be more comfortable with increased icons size */
      /* font-size: 120%; */
     
      /* Font smoothing. That was taken from TWBS */
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
     
      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }
    
.immaginecompagnia {
    position: relative;
}
.immaginecompagnia .overimg{
    font-size:20px; 
    color: white;
    position: absolute;
    z-index: 2;
    bottom: 1.5rem;
    left: 0;
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Uncomment for 3D effect */
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); 
}
    
.immaginecompagnia .overimg font{
    display: none;
    font-size:16px; 
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Uncomment for 3D effect */
    text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3);
    background-color:  rgba(0, 0, 0, 0.85);
    padding: 3px 5PX;
    border-radius: 3px;
}

	
/* Hide HTML5 Up and Down arrows. */
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
 
input[type="number"] {
    -moz-appearance: textfield;
}

.disabled {
      /* And disable the pointer events */
  pointer-events: none;
}


  #drop_zone {
      border: 2px dashed #bbb;
      -moz-border-radius: 5px;
      -webkit-border-radius: 5px;
      border-radius: 5px;
      padding: 25px;
      text-align: center;
      font: 20pt bold 'Helvetica';
      color: #bbb;
    }

    /* calendario */
.time {
	cursor:pointer;
}
.pallino {
	cursor:pointer;
}
.tdcal:hover {
	background-color: #F6F7F4;
}
.tdcal:hover {
	background-color: #F6F7F4;
}
.tdcal small{
	font-size: 0.6rem;
}

.cardaggiungistruttura {
	min-height: 10rem;
}
.cardaggiungistruttura:hover {
	background-color: #F6F7F4;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 10px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}



/* semaforini */

.circle {
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 3px;
}

.circle2 {
    border-radius: 50%;
    display: inline-block;
    text-align:center;
    color:white;
    font-weight:bold;
    font-size: 9px;
    margin:5px 0px 0 3px;
    float:right;
}

.circle2 p {
    margin-top: -4px;
}

#semafororosso {
    width: 15px;
    height: 15px;
    background: #CC0000;
}
#semaforogiallo {
    width: 15px;
    height: 15px;
    background: #edb10a;
}
#semaforoverde {
    width: 15px;
    height: 15px;
    background: #008000;
}
#semaforoverdechiaro {
    width: 15px;
    height: 15px;
    background: #62c462;
}
#semaforoblu {
    width: 15px;
    height: 15px;
    background: #2C9BDB;
}

.btn-modal {
	float: right;
	cursor:pointer;
}
.btn-modal:hover {
	color: black;
	text-decoration: none;
}


.text-small {
	font-size: 0.6em;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    /* webkit specific CSS */
    .immaginispettacoli { max-height:241px; }
}

.bg-streaming {
  background-color: #103450 !important; }

a.bg-streaming:hover, a.bg-streaming:focus,
button.bg-streaming:hover,
button.bg-streaming:focus {
  background-color: #194266 !important; }
  
.border-streaming {
  border-color: #4AC4BD !important; }

.bg-streamingpag {
  background-color: #EF8354 !important; }

a.bg-streamingpag:hover, a.bg-streamingpag:focus,
button.bg-streamingpag:hover,
button.bg-streamingpag:focus {
  background-color: #194266 !important; }
  
.border-streamingpag {
  border-color: #EF8354 !important; }

.border-3 {
    border-width:3px !important;
}

.text-streaming {
  color: #FFFFFF !important; }

a.text-streaming:hover, a.text-streaming:focus {
  color: #4AC4BD !important; }
  
.text-streaming .info {
  color: #4AC4BD !important; }
  
.text-streamingpag {
  color: #FFFFFF !important; }

a.text-streamingpag:hover, a.text-streaming:focus {
  color: #EF8354 !important; }

.text-streamingpag .info {
  color: #EF8354 !important; }
  
.bg-pag {
	background-color: #EF8354 !important;
	color: white;}
.bg-gratis {
	background-color: #4AC4BD !important;
	color: white;}

.gradienteschede {
position: relative; 
bottom: 4em; 
left: 0; 
height: 4em; 
margin-bottom: -4em;
background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(16, 52, 80, 1.0)); }




header {
  position: relative;
  background-color: black;
  height: 50vh;
  min-height: 25rem;
  width: 105%;
  overflow: hidden;
  margin-left: -1em;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header .container {
  position: relative;
  z-index: 2;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.0;
  z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('../img/cielo.jpg') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}


.btn-streaming {
  color: #fff;
  background-color: #4AC4BD;
  border-color: #4AC4BD; }
  .btn-streaming:hover {
    color: #fff;
    background-color: #0097a1;
    border-color: #088f98; }
  .btn-streaming:focus, .btn-streaming.focus {
    box-shadow: 0 0 0 0.2rem rgba(35, 93, 143, 0.5); }
  .btn-streaming.disabled, .btn-streaming:disabled {
    color: #fff;
    background-color: #4AC4BD;
    border-color: #4AC4BD; }
  .btn-streaming:not(:disabled):not(.disabled):active, .btn-streaming:not(:disabled):not(.disabled).active,
  .show > .btn-streaming.dropdown-toggle {
    color: #fff;
    background-color: #194266;
    border-color: #163c5c; }
    .btn-streaming:not(:disabled):not(.disabled):active:focus, .btn-streaming:not(:disabled):not(.disabled).active:focus,
    .show > .btn-streaming.dropdown-toggle:focus {
      box-shadow: 0 0 0 0.2rem rgba(35, 93, 143, 0.5); }


.btn-streamingpag {
  color: #fff;
  background-color: #EF8354;
  border-color: #EF8354; }
  .btn-streamingpag:hover {
    color: #fff;
    background-color: #e3581b;
    border-color: #ff99266; }
  .btn-streamingpag:focus, .btn-streamingpag.focus {
    box-shadow: 0 0 0 0.2rem rgba(35, 93, 143, 0.5); }
  .btn-streamingpag.disabled, .btn-streamingpag:disabled {
    color: #fff;
    background-color: #EF8354;
    border-color: #EF8354; }
  .btn-streamingpag:not(:disabled):not(.disabled):active, .btn-streamingpag:not(:disabled):not(.disabled).active,
  .show > .btn-streamingpag.dropdown-toggle {
    color: #fff;
    background-color: #EF8354;
    border-color: #163c5c; }
    .btn-streamingpag:not(:disabled):not(.disabled):active:focus, .btn-streamingpag:not(:disabled):not(.disabled).active:focus,
    .show > .btn-streamingpag.dropdown-toggle:focus {
      box-shadow: 0 0 0 0.2rem rgba(35, 93, 143, 0.5); }


.carousel-cell {
	margin-top: -10em;
  counter-increment: gallery-cell;
}	

/* transition height change */
.flickity-viewport {
  transition: height 0.2s;
}

/* cell number */
.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 200px;
  font-size: 80px;
  color: white;
}

.logobianco {
width:30px;
-webkit-filter: invert(100%);
filter: invert(100%);
}

#footer a:hover{
	color:white;
}

.container {
	margin-left: auto;
	margin-right: auto;
}

.navbar-toggler {
  background: none;
  border: none;
}

.navbar-toggler:active,
.navbar-toggler:focus {
  outline: 0;
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  margin: 4px 0 4px 0;
  transition: all 0.2s;
}

.navbar-toggler .icon-bar {
  background: #dddddd;
}

.navbar-toggler .icon-bar:nth-of-type(1) {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .icon-bar:nth-of-type(2) {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .icon-bar:nth-of-type(3) {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .icon-bar:nth-of-type(1) {
  transform: rotate(0);
}

.navbar-toggler.collapsed .icon-bar:nth-of-type(2) {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .icon-bar:nth-of-type(3) {
  transform: rotate(0);
}

@media screen and (min-width: 992px) {
    .navbar-brand img {
    max-height: 50px !important;
    }
}
@media screen and (max-width: 991px) {
    .navbar-brand img {
    max-height: 40px !important;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
       padding-right: 1rem;
    }
}
.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border-top: 1px solid rgba(225, 225, 225, 0.3);
}


nav .nav-link{
  position: relative;
}

nav .nav-link:before {    
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 3px;
  left: 70%;
  position: absolute;
  background: #025389;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}
nav .nav-link:hover:before { 
  width: 90%; 
  left: 0; 
}

#balenavolante {
    -webkit-animation: custom-shake 6s ease-in-out 3s infinite;
    animation: custom-shake 6s ease-in-out 3s infinite;
    -webkit-transform: translate(0) rotate(0deg);
    -webkit-transform-origin: top;
    transform: translate(0) rotate(0deg);
    transform-origin: top;
}

@keyframes custom-shake {
   0% { transform: rotate(0deg); }
   25% { transform: rotate(0deg); }
   50% { transform: rotate(1deg); }
   75% { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}


.headerino {
	background:  url(../img/cielo.jpg); 
	background-size: cover; 
	padding: 20px 0 20px 0; 
	min-height: 140px;
	text-align: center;
}

.ulofferte li {
	margin-bottom: 14px;
}

.numeriblu {
	text-shadow: 0pt 0pt 5px #ffffff, 0pt 0pt 5px #ffffff, 0pt 0pt 15px #ffffff;
}

.badge-tipo {
	position:absolute;
	top:1em;
	right:1em;
	font-weight: bolder;
}

.sottohover{
	cursor: pointer;
}

.sottohover:hover{
	text-decoration: underline;
}

.cardaggiungiimmagina{
  width: 100%;
  padding-top: 57%; /* 1:1 Aspect Ratio */
  position: relative; /* If you want text inside of it */
  background-color: white;
  background: url('../img/add.png');
  background-size: cover;
}
.cardaggiungiimmagina:hover{
  background-color: #F6F7F4;
}


.form-inline .form-check {
justify-content: left;
}

.gradiente {
	background: -webkit-linear-gradient(top, rgb(244, 247, 249) 0%, rgb(183, 205, 219) 60%, rgb(112, 155, 185) 100%);
	background: -o-linear-gradient(top, rgb(244, 247, 249) 0%, rgb(183, 205, 219) 60%, rgb(112, 155, 185) 100%);
	background: -ms-linear-gradient(top, rgb(244, 247, 249) 0%, rgb(183, 205, 219) 60%, rgb(112, 155, 185) 100%);
	background: -moz-linear-gradient(top, rgb(244, 247, 249) 0%, rgb(183, 205, 219) 60%, rgb(112, 155, 185) 100%);
	background: linear-gradient(to bottom, rgb(244, 247, 249) 0%, rgb(183, 205, 219) 60%, rgb(112, 155, 185) 100%);
}

.bordone {
	border: 0.3em solid white;
}

.modal-header--sticky {
  position: sticky;
  top: 0;
  background-color: inherit; /* [1] */
  z-index: 1055; /* [2] */
}

/* Footer fixed to the bottom of the modal */
.modal-footer--sticky {
  position: sticky;
  bottom: 0;
  background-color: inherit; /* [1] */
  z-index: 1055; /* [2] */
}
