
@import url(http://fonts.googleapis.com/css?family=Cabin:400,700);

html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
  -webkit-font-smoothing: antialiased;
  font-family: 'Cabin', sans-serif;
  font-size: 18px;
  color:#888;
  text-align:center;
}

.row {
  margin-left:0px;
  margin-right:0px;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  margin: 0 auto -60px;
  /* Pad bottom by footer height */
  padding: 0 0 60px;
}

/* Set the fixed height of the footer here */
#footer {
  height: 60px;
  background-color: #f5f5f5;
  margin-top:50px;
  padding-top:20px;
  padding-bottom:20px;
}


/* Custom page CSS
-------------------------------------------------- */
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */


/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}


/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
#myCarousel  .item {
  
  background-color:#fff;
  
}

.azzurro{
	color:#00a2d3 !important;
	font-weight:600 !important;
	font-family: 'Cabin', sans-serif !important;
	
}
.cartello-azzurro{
 	color:#fff !important;
	background-color:#00a2d3 !important;
	font-weight:400 !important;
	padding:8px 20px;
}
.titolo-giallo{
 	color:#55a1fa !important;
	background-color:#ffdb54 !important;
	font-weight:400 !important;
	-webkit-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-moz-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-o-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-ms-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	padding:5px 20px;
}
.titolo-azzurro{
 	color:#fff !important;
	background-color:#3cc2f5 !important;
	font-weight:400 !important;
	-webkit-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-moz-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-o-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	-ms-box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	box-shadow:5px 5px 25px -5px rgba(150, 150, 150, 14);
	padding:5px 20px;
}


#home { 
  background: url(../images/home/sfondo.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/home/sfondo.jpg', sizingMethod='scale');
 -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/home/sfondo.jpg', sizingMethod='scale')";
  width:100%;
 height:100%;
 position:fixed;
 top:0px; left:0px;
 z-index:-100;
}


#homebg img {
  background: url(../images/home/sfondo.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/home/sfondo.jpg', sizingMethod='scale');
 -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/home/sfondo.jpg', sizingMethod='scale')";
   width:100%;
 height:50%;
 position:fixed;
 top:0px; left:0px;
 z-index:-100;
}
.carousel-caption{
	background-color:#fff;
}

.carousel-caption h2{
 	font-size:15px;
 	line-height:15px;
}

.container img{
    max-width:100%;
    max-height:90%;
    margin-bottom:5px;
}

.container{
	font-family: 'Verdana', sans-serif;
}

#wrap > .container {
  padding: 5px 15px 0;
}
.container .credit {
  margin: 20px 0;
}


#footer {
  cursor:default;
  font-size:17px;
  border-top:1px solid #ccc;
  background: #fff;
}

#footer a {
 	cursor:pointer;
  	color:#999;
}

header {
  background: #fff;
  color:#555;
}

header .dropdown-menu {
  top:74px;
  background: #ffcc33;
  border-width:0;
}

h1 {
  font-size:50px;
}

.logo {
  font-size:47px;
  position:absolute;
  z-index:1200;
  color:#333;
  top:70px;
  text-align:center;
  width:100%;
  background-color:rgba(250,250,250,0.5);
}

#nav {
  width: 100%;
  position:static;
  top:-32px;
}

#nav.affix {
   position: fixed;
   top: 0;
   z-index:10;
   -webkit-transition: all .6s ease-in-out;
}

#footer > .container {
  
}

@media (min-width: 767px) {
  .navbar-nav.nav-justified > li{
      float:none;
  }
}

  
.navbar-nav {
  margin: 1px 1px; 
}  
  
/* customize nav style */
.navbar{
	margin-bottom: 0px;	
}
.navbar-custom {
    background-color:#fff;
	font-weight:100;
	font-size:16px;
    text-transform:uppercase;
    border-top:1px solid #ccc;
    border-bottom:1px solid #ccc;
}
.navbar-custom  .navbar-nav>li>a {
	color: #666;
	font-family: 'Cabin', sans-serif !important;
}
.navbar-custom  .dropdown-menu li>a:hover {
	color: #333;
	background-color:#fff;
}
.navbar-custom  .navbar-nav li>a:hover, .navbar-nav li .open, .navbar-custom .navbar-nav .active a   {
	background-color:#eee;
}

.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus {
color: #666;
background-color:#ddd;
}

.navbar-custom .navbar-nav>.dropdown>a .caret {
	border-top-color: #999;
	border-bottom-color: #999;
	background-color: rgba(190,190,190,1);
}

.navbar-collapse.in { /*3.0.2 bug workaround*/
    overflow-y: visible;
}

.navbar-toggle {
	outline:0;
	background-color:#888;
	border-color:#666 !important;
}

.divider {
	height:20px;
	background-color:#ccc;
}

.panel {
	border-width:0;
}

@media (max-width: 768px) {
	header {
	
	}
}

.lead {
font-size: 17px;
}

.text-justify{
	text-align: justify;
}

#map-canvas {
  	width: 100%; 
  	height: 300px;
	margin: 0;
	padding: 15px;
}

.scroll-top {
   position:fixed;
   bottom:0;
   right:6%;
   z-index:100;
   background: #f2f3f2;
   font-size:24px;
   border-top-left-radius:3px;
   border-top-right-radius:3px;
   display:none;
}
.scroll-top a:link,.scroll-top a:visited {
  color:#222;
} 
 
.page-header {
padding-bottom: 9px;
margin-top: 90px !important;
border-bottom: 0pc !important;
}

.lead {

line-height: 1.3 !important;
letter-spacing: -1px !important;
}

section {
  color: #ffffff;
  height: auto !important;
}

.bg-0 {
   	background: url('../images/bg1.png');
	background-size: 100%,100%;
    background-repeat: no-repeat;
}

.bg-1 {
	background: url('../images/bg1.png');
	background-size: 100%,100%;
    background-repeat: no-repeat;
}

.bg-2 {
	background: url('../images/bg1.png');
	background-size: 100%,100%;
    background-repeat: no-repeat;
}

.bg-3 {
	background: url('../images/bg1.png') no-repeat center center fixed; 
    -webkit-background-size: cover;
  	-moz-background-size: cover;
  	-o-background-size: cover;
  	background-size: cover;
}

.bg-4 {
	padding-top:20px;
	padding-bottom:20px;
    background-color:#fff;
}

.panel .img-responsive {
	min-height:270px;
    max-height:270px;
}

.gadgets-img-responsive {	
	max-height:270px;
}
.gadgets-link, .gadgets-link hover {
	font-weight:600;
    font-size:14px;
    text-decoration:none;
    color:#3cc2f5
}


@media (max-width: 320px) {
	
	#footer {
  		font-size:11px;
	}
	html, body, .lead {
		font-size: 10px;
	}
	.scroll-top {
   		font-size:11px
   	}
	
}

@media (max-width: 480px) {
	
	#footer {
  		font-size:11px;
	}
	html, body, .lead {
		font-size: 11px;
	}
	.scroll-top {
   		font-size:12px
   	}

}

@media (max-width: 600px) {
	
	#footer {
  		font-size:11px;
	}
	
}

@media (max-width: 767px) {
	
	#footer {
  		font-size:14px;
	}
	html, body, .lead {
		font-size: 14px;
	}
	.scroll-top {
   		font-size:19px;
   	}
   	.container>.navbar-header, .container>.navbar-collapse {
  		background-color:#efefef !important;
	}
   #wrap{
	
	}
   .row{
	width:100%;
	float: left !importan;
	}
}

@media (min-width: 768px) and (max-width: 900px) {

	#footer {
  		font-size:12px;
	}
	html, body, .lead {
		font-size: 12px;
	}
	.nav li a{
		font-size:12px !important;
		padding: 10px !important;
	}
}

@media (min-width: 901px) and (max-width: 960px) {
	
	#footer {
  		font-size:11px;
	}
	html, body, .lead {
		font-size: 13px;
	}
	.gadgets-link{
		font-size:12px;
	}
}

@media (min-width: 961px) and (max-width: 1024px) {
	
	#footer {
  		font-size:11px;
	}
}

@media (min-width: 1025) and (max-width: 1280px) {
	
	#footer {
  		font-size:12px;
	}
}