/*
Theme Name: Spiua Theme
Author: Neiko
Author URI: http://www.neiko.it/
Description: S+A 2020
Version: 1.0
License: GNU General Public License v2 or later
*/


@import 'https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i&display=swap';

body {
	font-family: 'Roboto',Helvetica,Arial,cursive;
	color: #5e6668;
	font-size:16px;
	line-height:25px;
	font-weight:300;
	text-rendering:optimizeLegibility;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	letter-spacing:0;
}

.sans {
    font-family: 'Roboto', sans-serif;
	font-weight:300;
}

::selection, ::-moz-selection {
	background-color: #e12a1b;
	color:white;
}

b,strong {
	font-weight:700;
}

a:hover {
	color:#5e6668;
}

a {
	color: #5e6668;
}

p {
	margin:0 0 10px;
}

.alignleft {
	float:left;
}

.alignright {
	float:right;
}

.padding_top_15 {
	padding-top:15px;
}

.padding_bottom_15 {
	padding-bottom:15px;
}

.padding_top_20 {
	padding-top:20px;
}

.padding_bottom_20 {
	padding-bottom:20px;
}

.padding_top_30 {
	padding-top:30px;
}

.padding_bottom_30 {
	padding-bottom:30px;
}

.padding_top_50 {
	padding-top:50px;
}

.padding_bottom_50 {
	padding-bottom:50px;
}

.padding_top_60 {
	padding-top:60px;
}

.padding_bottom_60 {
	padding-bottom:60px;
}

.padding_top_70 {
	padding-top:70px;
}

.padding_bottom_70 {
	padding-bottom:70px;
}


.padding_top_80{
	padding-top:80px;
}

.padding_bottom_80{
	padding-top:80px;
}

.padding_top_90{
	padding-top:90px;
}

.padding_bottom_90{
	padding-bottom:90px;
}

.padding_box_50{
	padding:50px;
}

.padding_box_30{
	padding:30px;
}

.no_margin{
	margin: 0;
}

.menu-margin{
	margin-top:80px;
}


/* LOADING */

#loading{
	position:fixed;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:998;
	background: #FFF;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: loadingweb 1.8s infinite ease-in-out;
  animation: loadingweb 1.8s infinite ease-in-out;
}
.loader {
  color: #5b889c;
  font-size: 10px;
  margin: 0px auto;
  position: relative;
  top:45%;
  text-indent: -998em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}
@-webkit-keyframes loadingweb {
  0%,
  80%,
  100% {
	-webkit-box-shadow: 0 2.5em 0 -1.3em;
			box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
	-webkit-box-shadow: 0 2.5em 0 0;
			box-shadow: 0 2.5em 0 0;
  }
}
@keyframes loadingweb {
  0%,
  80%,
  100% {
	-webkit-box-shadow: 0 2.5em 0 -1.3em;
			box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
	-webkit-box-shadow: 0 2.5em 0 0;
			box-shadow: 0 2.5em 0 0;
  }
}


/* TYPO */

h1,h2,h3,h4,h5,h6 {
	margin:0;
	padding:0;
	margin-bottom:10px;
}

h2, .h2{
	font-size:20px;
	font-weight:300;
	color: black;
}

h3, .h3{
	text-transform: uppercase;
	font-size:10px;
	font-weight: 400;
	letter-spacing:3px;
}

h4{
	font-size:12px;
	font-weight:400;
	color:#9c9b9b;
}




/* HEADER */

#header {
	display:inline-block;
	position:fixed; 
	width:100%;
	height:80px;
	background-color:transparent;
	top:0;
	left:0;
	z-index:1000;
	font-weight: 300;
	transition:all ease 0.2s;
	/*border-bottom: 0.1px solid #f0f0f0;*/

}

.scrolled #header{
	background-color:white;
}

#logo img{
	padding-top:15px;
	max-height: 100px;
	padding-left:30px;
	transition:all ease 0.2s;
}

.scrolled #logo img{
	max-height: 60px;
}

.navbar{
	border:none;
	margin:0;
	border-radius: none;
	font-weight: 700;
	font-size: 15px;
	position: relative;
	background-color:transparent;
	padding-top:5px;
	padding-bottom:5px;
}

	
.navbar .navbar-nav {
/* 	background-color:white; */
	display: inline-block;
    float: right;
    vertical-align: top;
    text-align: right;
    padding-top:10px;
}

.navbar-default .navbar-nav>li>a {
	font-family: 'Roboto',Helvetica,Arial,cursive;
	color: white;
	font-size:15px;
	line-height:25px;
	font-weight:500;
	text-transform: uppercase;
}

.scrolled .navbar-default .navbar-nav>li>a {
	color:#9c9b9b;
}

.navbar-default .navbar-nav>.active>a {
	background-color: transparent;
	text-decoration:underline;
	color:white;
}

.scrolled .navbar-default .navbar-nav>.active>a {
	color:#9c9b9b;
}

.navbar-default .navbar-toggle {
	border:none;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
/* 	background-color:white; */
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color:transparent;
}

@media (max-width: 991px) {
	
	#header{
		background-color:white;
		color:#bbb;
	}
	
	#header a{
		color:#bbb;
	}
	
	#logo img{
		padding-top:10px;
		max-height: 60px;
		padding-left:30px;
		transition:all ease 0.2s;
	}
	
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	
	#header{
		background-color:white;
	}
	
	.navbar-default .navbar-nav>li>a {
		color:#9c9b9b;
	}
	
	.navbar-default .navbar-nav>.active>a {
		color:#9c9b9b;
	}
	
	.navbar-default .navbar-collapse, .navbar-default .navbar-form {
		background-color:white;
		border-color:transparent;
	}
	
	#logo img{
		padding-top:10px;
		max-height: 60px;
		padding-left:30px;
		transition:all ease 0.2s;
	}
	
	.navbar-toggle{
		margin-top:20px;
	}
	
}

/* FOOTER */

#footer{
	color:white;
	background-color:#5b889c;
	font-size:14px;
	line-height:16px;
	padding-top:50px;
}

#footer a{
	color:white;
}

#call2action{
	color:white;
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:16px;
	line-height:18px;
}

.logo_footer{
	width: auto;
	height: 70px;
	margin: 0 auto;
	margin-bottom: 15px;
}

/* IMMAGINI */

.icon{
	width:100px;
	height:auto;
}

/* SLIDE HOME */

#slideshow_container {
	position:relative;
	overflow:hidden;
	background:url(images/architecniko-placeholder.jpg) no-repeat;
	background-size:cover;
	background-position:center center;
}

#slideshow_container video{
	position:absolute;
	display:block;
	top:50%;
	left:50%;
	min-width:100%;
	min-height:100%;
	width:auto;
	height:auto;
	transform:translateX(-50%) translateY(-50%);
	}

#slide_prev, #slide_next {
	position:absolute;
	overflow:hidden;
	top:0;
	left:0;
	height:100%;
	width:50px;
	background-color: white;
	z-index: 100;
}
#slide_next {
	left:auto;
	right:0;
}
#slide_prev .fa, #slide_next .fa {
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%,-50%);
}


#slideshow{
}

.slide {
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
	width:100%;
	overflow: hidden;
}

#home #slideshow_container #slideshow:before{
	content:'';
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
}

.green_overlay{
	background-color: rgba(150,255,235,0.1);
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index: 1;
}

.white_overlay{
	background-color: rgba(255,255,255, 0.3);
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index: 1;
}


.slide_titolo{
	font-size:48px;
	line-height:53px;
}

.slide_slogan {
	width:40%;
	position:absolute;
	top:40%;
	left:52%;
	right:8%;
	text-align:right;
	-webkit-transform:translate(0%,-50%);
	-ms-transform:translate(0%,-50%);
	transform:translate(0%,-50%);
	z-index: 10;
	color: white;
}


/* Portrait phones and smaller */
@media (max-width: 480px) {
	
	#slide_prev, #slide_next {
		width:0px;
	}
	
	.slide_titolo{
		font-size:24px;
		line-height:30px;
	}
	
	.slide_slogan {
		left:10%;
		right:10%;
		width:80%;
		top:31%;
	}
}

/* HOME */

#sezione_cosa_facciamo{
	display: inline-block;
}


.preview_progetti {
	position:relative;
} 

.preview_progetti .grid-item-text {
	position:absolute;
	bottom:20%;
	left:0;
	background-color:white;
	padding:5px;
	display:none;
} 

.preview_progetti:hover .grid-item-text {
	display:block;
} 

.preview_progetti:after {
	content: '';
	display:block;
	position:absolute;
	background-color: rgba(150,255,235,0.15);
	transition: all 0.5s ease 0s;
}

.preview_progetti:hover:after {
	background-color: transparent;
}



.preview_progetti img{
	overflow:hidden;
}

#sezione_aree img{
	max-width:120px;
	height:auto;
}

.portfolio_home{
	height:300px;
	overflow:hidden;
	position: relative;
}

body .portfolio_home img{
	position:Absolute;
	top:50%;
	left:50%;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: 100% !important;
	height:auto !important;
	width:auto !important;
	transform: translate(-50%,-50%);
}

@media (max-width: 991px) {
	
	body .portfolio_home img{
		position:Absolute;
		top:50%;
		left:50%;
		min-width: auto !important;
		min-height: auto !important;
		max-width: auto !important;
		max-height: none !important;
		height:auto !important;
		width:auto !important;
		transform: translate(-50%,-50%);
	}
	
}

/* SFONDI */

.sfondo_grigio{
	background-color: #f4f4f4;
}


/* PULSANTI */

.pulsante_grigio {
  background-color: #8c9299;
  opacity: 0,8;
  border: none;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight:300;
  text-transform:uppercase;
  letter-spacing: 2px;
  padding: 5px 40px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.pulsante_grigio .fa{
	font-size:12px;
	padding-left:5px;
	vertical-align: middle;
}


/* AZIENDA */

#immagine_intro_azienda {
	height:550px;
	width:auto;
	overflow:hidden;
	
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
	
	#immagine_intro_azienda {
	height:auto;
	width:auto;
	overflow:hidden;
	
}

	.immagine_arte{
		padding-bottom:30px;
	}

}

#azienda-storia ul{
	padding: 0;
	list-style: none;
}

#azienda-storia ul li{
	margin: 0 20px;
	font-family:'Roboto',Helvetica,Arial,sans-serif;
	font-size: 13px;
	color: #999;
	box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    letter-spacing: normal;
    line-height: 1;
    padding-bottom: 30px;
    position: relative;
    text-align: center;
    vertical-align: bottom;
}


/*#azienda-storia ul li:first-child, #azienda-storia ul li:last-child{
	font-family:'Roboto',Helvetica,Arial,sans-serif;
	font-weight: 700;
	font-size: 24px;
	line-height: 30px;
	color: #000;
}*/

#azienda-storia ul li::after {
    background-color: #999;
    bottom: -15px;
    content: "";
    display: block;
    height: 30px;
    left: 50%;
    margin-left: -0.5px;
    position: absolute;
    width: 1px;
}

#azienda-storia ul li:hover::after, #azienda-storia ul li.cycle-pager-active::after {
    background-color: #5b889c;
    margin-left: -1.5px;
    transition: background-color 0.3s ease 0.3s;
    width: 3px;
}

#azienda-storia #timeline-storia{
	position: relative;
	margin: 30px 0 60px 0;
}

#azienda-storia #timeline-linea{
	background-color: #999;
    bottom: 0;
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    width: 100%;
}

li#anno.inline.cycle-pager-active{
	font-family:'Roboto',Helvetica,Arial,sans-serif;
	font-weight: 400;
	color: #5b889c;
}

#azienda-storia #slider-storia {
    -moz-user-select: none;
    box-sizing: border-box;
    display: block;
    position: relative;
}

#azienda-storia h3.anno_storia{
	font-size: 50px;
}

#azienda-storia #slider-storia-inner{
	z-index: 0;
}

#azienda-storia .btn-prev, #azienda-storia .btn-next{
    background: transparent none repeat scroll 0 0;
    border: medium none;
    color: transparent;
    cursor: pointer;
    display: block;
    font-size: 0;
    height: 14px;
    line-height: 0;
    margin-top: -7px;
    outline: medium none;
    padding: 0;
    position: absolute;
    top: 30px;
    transform: translate(0px, -50%);
    width: 84px;
    z-index: 10;
    transition: all 0.3s ease 0s;
}

#azienda-storia .btn-prev {
	background: url('images/arrow_left.png') no-repeat scroll center center; 
	left: 25%;
}

#azienda-storia .btn-next {
	background: url('images/arrow_right.png') no-repeat scroll center center; 
    right: 25%;
}

.single_storia{
	width: 100%;
}

@media (max-width: 992px){
	
	
	#azienda-storia ul li{
	margin: 0 10px;
	}
	
	#azienda-storia .btn-prev {
		left: 5%;
	}

	#azienda-storia .btn-next {
	    right: 5%;
	}
	
	.single_storia{
		padding-left: 15px;
		padding-right: 15px;
	}
}


@media (max-width: 768px){
	#azienda-storia .single_storia {
		margin-bottom: 30px
	}
}

.btn-prev:hover {
	transform: translate(-15px, -50%);
}

.btn-next:hover {
	transform: translate(15px, -50%);
}

/* PROGETTI e SERVIZI */

#slideshow_staf .background-container{
	width:100%;
	max-height:650px;
	overflow:hidden;
}

#slideshow_staf .slogan{
/* 	margin-top:-200px; */
}

#slideshow_staf .img-circle{
/* 	max-width:500px; */
	margin-top:-250px;
}

#slideshow_staf h5{
	position:absolute;
	left:auto;
	top:-550px;
	font-size:15vw;
	color:white;
	opacity:0.7;
	font-weight:700;
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	
	#slideshow_staf .img-circle{
		margin-top:-150px;
	}
	
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	
	#slideshow_staf .img-circle{
		margin-top:0;
	}
	
}

/* Portrait phones and smaller */
@media (max-width: 480px) {
	
	#gallery h1{
		font-size:24px;
		line-height:30px;
	}
	
	#servizi h1{
		font-size:24px;
		line-height:30px;
	}
	
}


/* SINGLE PROGETTO */

.nome_sezione_progetto{
	font-weight:bold;
}

.contenitore_freccette{
	font-family: 'Roboto',Helvetica,Arial,cursive;
	font-size:30px;
}

/* GALLERY */

/*
// Within style tags in your html file
* { box-sizing: border-box; }

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.grid-sizer,
.grid-item {
  width: 33.333%;
  padding:7.5px;
}
@media (max-width: 575px) {
  .grid-sizer,
  .grid-item {
    width: 100%;
    padding:7.5px;
  }
}
@media (min-width: 576px) and (max-width: 767px) {
  .grid-sizer,
  .grid-item {
    width: 50%;
    padding:7.5px;
  }
}
*/

.grid-item {
	position:relative;
	margin-bottom: 30px;
} 

.grid-item-text {
	text-transform: uppercase;
	margin-left:10px;
}

.grid-item .grid-item-text {
	position:absolute;
	bottom:20%;
	left:0;
	background-color:white;
	padding:5px;
	display:none;
} 

.grid-item:hover .grid-item-text {
	display:block;
} 

.grid-item:after {
	content: '';
	display:block;
	position:absolute;
	top:0;
	left:15px;
	right:15px;
	bottom:0;
	background-color: rgba(20,70,90,0.6);
	transition: all 0.5s ease 0s;
}

.grid-item:hover:after {
	background-color: transparent;
}

/* To change the amount of columns on larger devices, uncomment the code below */

/* @media (min-width: 768px) and (max-width: 991px) {
  .grid-sizer,
  .grid-item {
    width: 33.333%;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .grid-sizer,
  .grid-item {
    width: 25%;
  }
}
@media (min-width: 1200px) {
  .grid-sizer,
  .grid-item {
    width: 20%;
  }
} */

/*
.grid-item {
  float: left;
}
*/

.grid-item img {
  display: block;
  max-width: 100%;
}

.singolo_elemento_galleria{
	background-color: rgba(0,0,0,0.2);
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	z-index: 1;
}

.preview_progetti img{
/*
	height:200px;
	width:auto;
	overflow:hidden;
*/
}

/* FORM CONTATTI */

#info_contatti h1 {
	margin-top:0px;
}

.form-control {
	border-radius: 0px;
	background-color:white;
	border:none;
}

#form_contatti label{
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:16px;

}

#form_contatti p{
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:16px;

}

.test{
	position: absolute;
	bottom:0;
	left:0;
	width:100%;
}

.wpml-ls-legacy-list-horizontal.wpml-ls-statics-footer{
margin-bottom: 0 !important;	
}

iframe{
	width: 100%;
	height: 640px;
}

@media (max-width: 767px){
	iframe{
		width: 100%;
		height: 300px;
	}
}

.dropdown-menu{
	background-color: transparent;
	border: none;
	box-shadow: none;
	font-size: 16px;
}