html, body{
height:auto;
}

.navbar{
	background: rgba(255,255,255,0.65) !important;

    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.26);
    box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.26);
}
.logo{
	max-width: 120px;
	max-height: 40px;
	float: left;
	margin-right: 15px;
	margin-top: -10px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	background-color: rgb(255,134,75) !important;
	color:#fff !important;
}
.navbar-default .navbar-nav > li > a:focus ,.navbar-default .navbar-nav > li > a:hover {
    color: rgb(255,134,75) !important;
    background-color: transparent;
}
.navbar-default .navbar-nav > li > a {
    color: rgb(0,0,0) !important;
    background-color: transparent;
}

.banner{
	/*position:relative;
	top: 100px;*/
	}
.w3layouts-banner-slider{
	/*position:relative;
	top: 50px;*/
}

.spazio{
	padding: 20px;
}

.btn-primary{
	background-color: rgb(255,134,75);
	border: solid thin rgb(255,255,255);
}

.oscuratore{
	display: none;
	position:absolute;
	background: rgba(60,60,60,0.95);
	z-index:10000;
	width: 100%;
	height: 100%;
	min-height: 100%;
	padding: 5%;
	color: #fff;
}


.class-grid-img img{
	max-height: 290px;
}

#toTop{
	border: solid thin rgb(255,134,75);
	border-radius: 4px;
	right: 0.5%;
	background: rgba(255,255,255,0.5);
	text-indent: 3px;
}

@media (max-width:414px){
	 .banner {
		position: relative;
		top: 100px;
	}
	 .contenuto {
		position: relative;
		top: 100px;
	}
}


.services{
	background: #8224e3;
}

	.page-banner{
		height: 300px;
		}
	.about-heading{
		position:relative;
		top:65%
		}
	.contenuti{
		position:relative;
		top: 30px;
	}

@media (max-width:414px){
	.page-banner{
		height: 200px;
		}
	.about-heading{
		position:relative;
		top:50%
		}
	.contenuti{
		position:relative;
		top: 108px;
	}
}

	.box{
		background-color: #FFFFFF;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.26);
    box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 2px rgba(0,0,0,0.26);
    width:90%;

    text-align: justify;
    padding: 30px 30px 30px 30px;
    margin: 0 auto;
    margin-bottom: 5px;
    position: relative;
    line-height: 1.8;
	}
	
	evidenzia{
		padding:15px;
		margin:10px;
		background-color: #eee;
		font-weight: 400;
		width: 90%;
		position:relative;
		display:block;
		text-align:left;
		    margin-right: auto;
    margin-left: auto;
	}



/*= input focus effects css
=========================== */
:focus{outline: none;}

.col-3{
 /*float: left; width: 27.33%; margin: 40px 3%;*/ 
position: relative;
z-index: +2;
margin-bottom: 30px;
} /* necessary to give position: relative to parent. */
.col-3 ~ label{
	
	clear:both;
	color:#85B1D8;
}
.col-3 ~ l_input{
	color:#d00;
	clear:both;
}
input[type="text"]{font: 15px/24px "Lato", Arial, sans-serif; color: #333; width: 100%; box-sizing: border-box; letter-spacing: 1px;}

.effect-18{border: 0; padding: 4px 0; border-bottom: 1px solid #ccc; background-color: transparent;}
.effect-18 ~ .focus-border{position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; z-index: 99;}
.effect-18 ~ .focus-border:before, 
.effect-18 ~ .focus-border:after{content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 100%; background-color: #85B1D8; transition: 0.4s;}
.effect-18 ~ .focus-border:after{left: auto; right: 0;}
.effect-18:focus ~ .focus-border:before, 
.effect-18:focus ~ .focus-border:after,
.has-content.effect-18 ~ .focus-border:before,
.has-content.effect-18 ~ .focus-border:after{width: 50%; transition: 0.4s;}

.effect-18 ~ label:after{content:'';}
.effect-18 ~ label:before{content:'';}
.effect-18 ~ label{all:unset;display:block;padding:0;position: absolute; left: 0; width: 100%; top: 9px; color: #aaa; transition: 0.3s; z-index: -1; letter-spacing: 0.5px;}
.effect-18:focus ~ label, .has-content.effect-18 ~ label{display:block;top: -16px; font-size: 14px; color: #85B1D8; transition: 0.3s;}

.effect-18 ~ l_input:after{content:'';}
.effect-18 ~ l_input:before{content:'';}
.effect-18 ~ l_input{display:block;padding:0;position: absolute; left: 0; width: 100%; top: 9px; color: #000; transition: 0.3s; z-index: -1; letter-spacing: 0.5px;}
.effect-18:focus ~ l_input, .has-content.effect-18 ~ l_input{display:block;top: -16px; font-size: 14px; color: #85B1D8; transition: 0.3s;}

/* fine input */


select.soflow, select.soflow-color {
    -webkit-appearance: button;
    -webkit-border-radius: 2px;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-padding-end: 20px;
    -webkit-padding-start: 2px;
    -webkit-user-select: none;
    background-image: url(http://i62.tinypic.com/15xvbd5.png), -webkit-linear-gradient(#FAFAFA, #F4F4F4 40%, #E5E5E5);
    background-position: 97% center;
    background-repeat: no-repeat;
    border: 1px solid #AAA;
    color: #555;
    font-size: inherit;
    margin: 20px;
    overflow: hidden;
    padding: 5px 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    
    width:100%;
    max-width: 300px;
}

#service {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40em;
    height: 40em;
    margin-top: -10em;
    margin-left: -20em;
    border: 1px solid #ccc;
    z-index: 101;
    padding: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 2px 2px 10px 0 #616161;
    -moz-box-shadow: 2px 2px 10px 0 #616161;
    box-shadow: 2px 2px 10px 0 #616161;
    color: #666;
    font: 14px arial;
    background: #fff;
    display: none;
}


/* carousel */
	
		.carousel-inner .item{
		height: 450px;
    background-size: cover;
    background-position: center;
	}
	.carousel-indicators{
		bottom: -10px;
	}
	.carousel-indicators li{
		border-radius: 0;
		border: solid thin #00a0f0;
		width: 40px;
	}
	carousel-indicators li:after{
		content: " ";
        display: block;
        background: #c00;
        height: 29px;
        width: 40px;

        position: absolute;
        bottom: -29px;
	}
	.carousel-indicators .active{
		background-color: #00a0f0;
		width: 40px;
	}
	.carousel-caption h3{
		color: #00a0f0;
	}
	.carousel-control{
		color: #00a0f0;
	}
	
	.car-label{
		display: none;
		width: 40px;
		height: 40px;
		position:absolute;
		bottom: 25px;
		border-radius: 50%;
		background: #d0d;
		background-size: cover;
		border: solid thin #00a0f0;
		background-position: center;
	}
	.carousel{
		border: solid thin #666;
	}
	
	.ombra{
		width: 100%;
		position: relative;
		margin: 0;
		height: 20px;
		top: -7px;
	}
/* fine carousel */
