@import url(http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,700italic,400,700,300|Archivo+Narrow:400,400italic,700,700italic&subset=latin,cyrillic-ext,latin-ext);



  body {
    margin: 0;
    padding: 0;
    text-align: center;
  }

  h2 {
    color: #FFFFFF;
    font-family: 'Archivo Narrow',sans-serif;
    font-size: 34px;
    font-weight: 400;
    text-transform: uppercase;
}

b,strong {font-weight: bold;}

  .black {
    background-color: rgba(27, 24, 22, 0.9);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.contenitore {
    position: relative;
    z-index: 0;
}

.milledueottanta {
    max-width: 1280px;
    margin: 0 auto;
    clear: both;}

.copertina {
   
    height: 100%;
    position: relative;
    width: 100%;
}

.copertina img {
    margin: 5% auto 0;
    position: relative;
    z-index: 2;
}

a.link_slide, a.link_slide:link, a.link_slide:active, a.link_slide:visited {
    color: #DFBF10;
    display: block;
    font-family: 'Archivo Narrow',sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin: 10% auto;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    width: 220px;
    z-index: 4;
}

a.link_slide span.arrow_d {
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #dfc010 transparent transparent transparent;
    margin: 15px auto 0;
}



.locale {
    background-color: #1b1816;
    padding: 64px 0;
    position: relative;
    width: 100%;
}

.locale p {
    color: #FFFFFF;
    font-family: 'open sans',sans-serif;
    font-size: 22px;
    font-weight: 300;
    padding: 0 15px;
    margin: 40px auto 10px;
    max-width: 600px;
}

.locale a.link_slide {
    margin: 40px auto 0;
}

/* GALLERY */

#gallery-container {
  font-size: 20px;
  margin: auto;
  position: relative;
  max-width: 1820px;
  text-align: center;
  overflow: hidden;
  padding-top: 1em
}

#gallery-container li.item {
    margin: 24px 0;
}

#gallery-container:full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

#gallery-container:-webkit-full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

#gallery-container:-moz-full-screen {
  max-width: 100% !important;
  width: 100%;
  height: 100% !important;
  background-color: #111
}

ul.items--small {
    list-style: none outside none;
}

.controls {
  text-align: center;
  font-size: 1em;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0
}

.control,
.grid,
.fs-toggle {
  width: .66em;
  height: .66em;
  text-align: center;
  line-height: .5em;
  cursor: pointer;
  display: inline-block;
  margin-right: 10px
}

.showControls {
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: opacity .6s 1s ease;
  transition: opacity .6s 1s ease
}

.hideControls {
  opacity: 0;
  pointer-events: none
}

.icon-grid,
.icon-arrow-left,
.icon-arrow-right,
.icon-fullscreen-exit,
.icon-fullscreen {
  display:inline-block;
  width: 20px;
  height: 20px;
  background-image: url(skin/controls-light2.png);
  background-repeat: no-repeat
}

.icon-grid {
  background-position: 0 0
}

.icon-arrow-left {
  background-position: -40px 0
}

.icon-arrow-right {
  background-position: -80px 0
}

.icon-fullscreen-exit {
  background-position: -120px 0
}

.icon-fullscreen {
  background-position: -160px 0
}
.fs-toggle {
  display: none;
}


/*.item {
  display: inline-block;
  cursor: pointer;
  width: 24%;
  height: auto;
  margin-right: .5%
}*/

.item a {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.8);
    display: block;
    padding: 10px;
}

.item a:hover {
    background-color: #fff;
}

.item img,
.item--big img {
  width: 100%;
  display:block;
}

.items--big {
  position: absolute;
  top: 0;
  left: 0
  right:0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.item--big {
  position: absolute;
  width: 60%;
  height: auto;
  left: 20%;
  right: 20%;
  list-style: none outside none;
  top: 3em;
  opacity: 0;
  -webkit-transform: scale(.8);
  transform: scale(.8)
}
.item--big .img-caption{
    display: none;
  position:absolute;
  width:100%;
  bottom:0;
  left:0;
  right:0;
  background-color: rgba(0,0,0,0.6);
  color:white;
  padding:10px;
  font-size:.8em;
  text-align:center;
}
.fadeInScaleUp {
  -webkit-animation: fadeInScaleUp .5s ease-out .6s forwards;
  animation: fadeInScaleUp .5s ease-out .6s forwards;
  z-index: 3
}

.fadeOut {
  -webkit-animation: fadeOut .4s ease-out forwards;
  animation: fadeOut .4s ease-out forwards;
  z-index: 1
}

@keyframes fadeOut {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  to {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@keyframes fadeInScaleUp {
  from {
    opacity: 0;
    -webkit-transform: scale(.8);
    transform: scale(.8)
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes fadeInScaleUp {
  from {
    opacity: 0;
    -webkit-transform: scale(.8);
    transform: scale(.8)
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.scaleDownFadeOut {
  -webkit-animation: scaleDownFadeOut .4s ease-in forwards;
  animation: scaleDownFadeOut .4s ease-in forwards;
  pointer-events: none
}

@keyframes scaleDownFadeOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes scaleDownFadeOut {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.scaleUpFadeIn {
  opacity: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-animation: scaleUpFadeIn ease-in-out .4s forwards;
  animation: scaleUpFadeIn ease-in-out .4s forwards;
  -webkit-animation-duration: .4s;
  animation-duration: .4s
}

@keyframes scaleUpFadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes scaleUpFadeIn {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

.showLastSecond {
  opacity: 0;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-animation: showLastSecond ease-in-out .4s forwards;
  animation: showLastSecond ease-in-out .4s forwards;
  -webkit-animation-duration: .4s;
  animation-duration: .4s
}

@keyframes showLastSecond {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

@-webkit-keyframes showLastSecond {
  0% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  1% {
    opacity: 0;
    -webkit-transform: scale(.5);
    transform: scale(.5)
  }

  99% {
    opacity: 0;
    -webkit-transform: scale(1);
    transform: scale(1)
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1)
  }
}

/* cosa facciamo */

.cosa_facciamo {
    background-color: #DDBE24;
    padding: 64px 15px;
}

.cosa_facciamo h2 {
    color: #181818;
    margin: 0 0 72px;
}

.cosa_facciamo p {
   clear: both;
    color: #333333;
    font-family: 'open sans',sans-serif;
    font-size: 36px;
    font-weight: 300;
    padding: 44px 0 0;
    text-transform: uppercase;
}

.bev_cib {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 35px 15px;
}

.bev_cib p {
    color: #333333;
    font-family: 'open sans',sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 24px 0;
    text-transform: uppercase;
}

.cosa_facciamo a.link_slide, .cosa_facciamo a.link_slide:link, .cosa_facciamo a.link_slide:active, .cosa_facciamo a.link_slide:visited {
    color: #181818;
    margin: 60px auto 0;
}

.cosa_facciamo a span.arrow_d {
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #181818 transparent transparent transparent;
    margin: 15px auto 0;
}

/* CONTATTI */
.contatti {position: relative;clear: both;}

#map_canvas {
    width:100%;
    min-height: 600px;
}

.recapiti {
    background-color: rgba(0, 0, 0, 0.85);
    color: #FF0000;
    left: 0;
    padding: 10px 20px;
    position: absolute;
    text-align: center;
    bottom: 0;
    z-index: 2;
    width: 100%;
}

.recapiti h2 {
    font-size: 22px;
    font-weight: 300;
    margin: 0 0 14px;
}

.recapiti p {
    color: #fff;
    font-family: 'Open Sans',sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin: 0 0 14px;
}

@media screen and (max-width: 30em) {
  .item--big {
    width: 80%;
    right: 10%;
    left: 10%
  }
}


@media (max-width: 1022px) { 
	   
       .locale p{font-size: 16px;}
       #map_canvas {
    width:100%;
    min-height: auto;
    height: 100%;
}

}
