/*!
 * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: black;
    color: white;
    font-size: 16px;
}

a{color: white;}
a:hover{color:#999999; text-decoration: none;}

.grigio{color: #999999;}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}

/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    transform: translateX(250px);
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
    font-size: 150%;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    font-size: 30px;
}

#sidebar-wrapper.active {
    left: -250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-chi-siamo {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-chi-siamo.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-come-lavoriamo {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-come-lavoriamo.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-progettazione {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-progettazione.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-portfolio {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-portfolio.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-showroom {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-showroom.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.header-contatti {
    display: table;
    position: relative;
    width: 100%;
    height: 90%;
    background: url(../img/bg-contatti.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}


/* About */

.about {
    padding: 50px 0;
}

/* Services */

.services {
    padding: 50px 0;
}

.service-item {
    margin-bottom: 30px;
}

/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background: url(../img/callout.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

/* Portfolio */

.portfolio {
    padding: 50px 0;
}

.portfolio-item {
    margin-bottom: 30px;
}

.img-portfolio {
    margin: 0 auto;
}

.img-portfolio:hover {
    opacity: 0.8;
}

/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}

.map iframe {
    pointer-events: none;
}

/* Footer */

footer {
    padding: 100px 0 20px 0;
}

#to-top {
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
}



.overlay-rx {
  position: absolute;
  bottom: 0;
  /*left: 0;*/
  right: 0;
  background-color: rgba(0,0,0,0.7);
  overflow: hidden;
  width: 33%;
  height: 100%;
  transition: .5s ease;
}
.overlay-sx {
  position: absolute;
  bottom: 0;
  /*left: 0;*/
  left: 0;
  background-color: rgba(0,0,0,0.7);
  overflow: hidden;
  width: 33%;
  height: 100%;
  transition: .5s ease;
}

.text-hp{
    color: white;
    font-size: 250%;
    margin: 30px;
    position: absolute;
    bottom: 20px;
    text-transform: uppercase;
}

.subtext-hp{
    font-size: 70%;
    text-transform: none;
    line-height: 1.12857;
    font-weight: 100;
    
}

.more-info{
    font-size: 50%;
    color: white;
    font-weight: lighter;
    text-transform: lowercase;
}

#top2{background: url(../img/bg2.jpg) no-repeat center center scroll; -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;}
#top3{background: url(../img/bg3.jpg) no-repeat center center scroll;-webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;}
#top4{background: url(../img/bg4.jpg) no-repeat center center scroll;-webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;}
#top5{background: url(../img/bg5.jpg) no-repeat center center scroll;-webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;}


@media(max-width:768px) {
    .overlay-rx { width: 50%;transition: .5s ease;}
    .overlay-sx { width: 50%;transition: .5s ease;}
    .text-hp{font-size: 120%;transition: .5s ease; margin: 8px;}
}

img.arrow{ margin-bottom: 30px; }

.pagina{padding-top: 50px; padding-bottom: 50px;}

.pagina p{ padding-top:40px; padding-bottom: 40px; }

a.mappa {
    background-color: #999;
    padding: 4px 8px;
    font-size: 200%;
}

a.mappa:hover{color: black;}



/*GALLEry*/

.overlay {
  position: absolute;
  /*top: 0;*/
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: rgba(0,0,0, 0.5);
  text-align: center;
}


.foto:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

div#gallery.container ul.row li.col-lg-2.col-md-2.col-sm-3.col-xs-4 
{
      padding-left: 0;
    padding-right: 0;
    margin-bottom: 0; 
}


div#myModal.modal.fade.in div.modal-dialog div.modal-content div.modal-body div a.controls{ color:black; }

#footermenu a{ font-size: 14px; display: inline-block;margin:10px;margin-top:20px; }

#copy{ text-align: center;font-size: 70%; color: gray;}
