@charset "utf-8";
/* CSS Document  by StarZero */

/* FONT */
@font-face {
    font-family: 'colaborate-medium';
    src: url('../fonts/ColabMed-webfont.eot');
    src: url('../fonts/ColabMed-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ColabMed-webfont.woff') format('woff'),
         url('../fonts/ColabMed-webfont.ttf') format('truetype'),
         url('../fonts/ColabMed-webfont.svg#colaborate-medium') format('svg');
    font-weight: normal;
	font-style: normal;
}
@font-face {
    font-family: 'colaborate-light';
    src: url('../fonts/ColabLig-webfont.eot');
    src: url('../fonts/ColabLig-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ColabLig-webfont.woff') format('woff'),
         url('../fonts/ColabLig-webfont.ttf') format('truetype'),
         url('../fonts/ColabLig-webfont.svg#colaborate-light') format('svg');
    font-weight: normal;
	font-style: normal;
}

body{
	font-family: 'colaborate-light', Arial, sans-serif;
	font-size: 12px;
	margin: 0;
	color: #333333;
	background-color: #FFFFFF;	
}
 
a {
	text-decoration: none!important;
}
a:link		{color:#000;}
a:visited   {color:#000;}
a:active    {color:#000;}
a:hover     {color:#C00;}

.genericList,
.genericListGrid {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
.genericList li {
	padding: 0;
	margin: 0;
	display: block;
	float: left;
}
.genericListGrid li {
	padding: 0;
	display: block;
	float: left;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.browsehappy {
	margin: 0em;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
	position: fixed;
	top: 0em;
	left: 0em;
	text-align: center;
	width: 100%;
	height: 100%;
	z-index: 100000;
}
#oneBg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: top 50%;
  	background-repeat: no-repeat;
  	background-attachment: fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	z-index: -1;
}

#header.row {
	position: relative;
}
#logo {
	position: absolute;
	top: 0px;
}
#boxSocial {
	position: absolute;
	top: 20px;
	right: 0px;
	text-align: right;
	width: auto;
}
#boxSocial a {
	display: block;
	width: 32px;
	height: 32px;
	margin-left: 10px;	
	overflow: hidden;
}
.facebook{
	background:url(../img/ico-facebook.png) no-repeat top left;
	transition: all 0s!important;
}
.facebook:hover{
	background-position: top right;
	transition: all 0s!important;
}
.twitter{
	background: url(../img/ico-twitter.png) no-repeat top left;
	transition: all 0s!important;
}
.twitter:hover{
	background-position: top right;
	transition: all 0s!important;
}
.google{
	background: url(../img/ico-gplus.png) no-repeat top left;
	transition: all 0s!important;
}
.google:hover{
	background-position: top right;
	transition: all 0s!important;
}
.youtube{
	background: url(../img/ico-youtube.png) no-repeat top left;
	transition: all 0s!important;
}
.youtube:hover{
	background-position: top right;
	transition: all 0s!important;
}

#container{
	margin-top: 1px;
	margin-bottom: 100px;
}
#container > .row{
	padding-top:0;
}
.contLoading {
	position: relative;
}
#loading {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.8) url(../js/jquery.bxslider/images/bx_loader.gif) center 100px no-repeat;
	z-index: 99;
}
#loading span {
	display: block;
	text-transform: uppercase;
	font-size: 14px;
	text-align: center;
	padding-top: 70px;
}


/* PERSONALIZZAZIONE MENU */
#mainMenu {
	margin-top: 108px;
}
#mainMenu nav {
	/*background: url(../img/bk-menu.png) repeat-x left top;*/
	border-top: 2px solid black;
}
#mainMenu nav div{
	padding:0!important;
}
#mainMenu ul {
	margin-top: 1px;
	float: right;
	margin-right: 0px;
}
#mainMenu ul li:first-child {
	display: none;
}
#mainMenu nav ul li a,
#mainMenu ul ul li a {
	/*background:url(../img/bk-menu-link.png) repeat center center;*/
	background-color: rgba(0,0,0,0.5);
	font-family: 'colaborate-light', Arial, sans-serif;
	text-transform: uppercase;
	color: #FFFFFF;
	padding: 10px 20px 11px!important;
	display: block;
	font-size: 12px!important;
	margin-left: 1px;
}
#mainMenu nav ul li a:hover,
#mainMenu nav ul li.active a{
	/*background:url(../img/bk-container.png) repeat center center;*/
	background-color: rgba(255,255,255,0.8);
	color: #333;
}
#boxOpenMenu {
	display: none;
}

/* PAGINE */
#container .white-bkg {
	/*background:url(../img/bk-container.png) repeat center center;*/
	background-color: rgba(255,255,255,0.7);
}
#container h1{
	font-family:'colaborate-light', Arial, sans-serif;
	padding: 14px 50px;
	font-size: 16px;
	margin: 0;
	text-transform: uppercase;
}
.boxContainer {
	margin: 1px 0 0;
}
#text {
	padding: 0 50px 50px 50px;
	font-size: 14px;
	text-align:justify;
	line-height: 18px;
}
#text ul {
	list-style: square;
	margin-left: 20px;
	margin-bottom: 10px;
	margin-top: 5px;
}
#text ol {
	list-style: decimal;
	margin-left: 20px;
}
#text li {
	margin: 0 0 3px;
}
#text h1 {
	font-size: 18px;
	padding-left: 0;
}
#text h2 {
	font-size: 18px;
	margin-bottom: 30px;
	font-family:'colaborate-medium', Arial, sans-serif;
}

.hoverContainer {
	position: relative;
	cursor: pointer;
}
.hoverContainer .hoverBox {
	display: none;
	padding: 20px;
}
.hoverContainer .hoverBoxVisible {
	padding: 20px;
}
.hoverContainer:hover .hoverBox {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-x: auto;
}
.hoverBox h2,
.hoverBoxVisible h2 {
	font-size: 16px;
	margin-bottom: 14px;
}
.hoverBox h3,
.hoverBoxVisible h3 {
	font-size: 12px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.hoverBox a,
.hoverBoxVisible a {
	padding-bottom: 20px;
}

.progetti label{
	padding-top:15px;
	width: auto;
}
.progetti form {
	margin: 0;
}
.progetti fieldset {
	padding-left: 8px;
}
.progetti .select{
	top: 0px;
	width: 100%;
}
.progetti .select select {
	border: none!important;
	background-color: rgba(0,0,0,0.5);
	text-transform: uppercase;
	font-size: 12px!important;
	font-family:'colaborate-light', Arial, sans-serif!important;
	color: #FFFFFF;
}
.progetti fieldset {
	margin-bottom: 0px!important;
}
.progetti .select:after {
	top: 0px;
	right: 0px;
}
.back{
	padding-top: 14px;
	padding-bottom: 14px;
	text-align: right;
	padding-right: 50px;
	display: block;
	font-size: 11px;
	text-transform: uppercase;
}
.progetti-dettaglio .label{
	font-family:'colaborate-medium', Arial, sans-serif;
	color:#555;
	padding-right:5px;
}
.newsIndex ul {
	margin: 20px 0;
}
.newsIndex li {
	cursor: pointer;
	margin-bottom: 30px;
}
.newsIndex li:nth-child(2n+3) {
	clear: both;
}
.newsIndex li img {
	padding: 0 20px;
}
.newsIndex h2 {
	font-size: 20px;
}
.newsIndex h3 {
	font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    padding-right: 20px;
	font-family:'colaborate-light', Arial, sans-serif;
}
.newsDetail img {
	margin-bottom: 10px;
}
.media {
	border: none;
}

.progetti-dettaglio #text h2 {
	margin-bottom: 0px!important;
}
.progetti-dettaglio #text p {
	margin-bottom: 10px;
	line-height: 18px;
}

.bx-wrapper .bx-viewport {
	border: none!important;
	box-shadow: none!important;
	left: 0px!important;
	background-color: transparent!important;
}
.ui-tooltip, .arrow:after {
	background: #FFF!important;
}
.ui-tooltip {
	color: #222222!important;
	box-shadow: 6px 5px 20px -9px rgba(0,0,0,0.9)!important;
	font-size: 10px!important;
	width: 20%;
	padding: 10px;
	font-size: 14px!important;
	line-height: 18px;
}
.arrow {
	width: 70px;
	height: 16px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	margin-left: -35px;
	bottom: -16px;
}
.arrow.top {
	top: -16px;
	bottom: auto;
}
.arrow.left {
	left: 20%;
}
.arrow:after {
	content: "";
	position: absolute;
	left: 20px;
	top: -20px;
	width: 25px;
	height: 25px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	tranform: rotate(45deg);
}
.arrow.top:after {
	bottom: -20px;
	top: auto;
}

.navbar {
  overflow: hidden
}

.pagination{
	padding: 14px 0 0;
	font-size: 11px;
	text-transform: uppercase;
}
.pagination ul{
	margin:0;
	display:block;
	text-align:center;
}
.pagination ul li{
	display:inline;
	padding:0 5px;	
}
.pagination .disabled{
	color:#555;
}
.pagination .current{
	font-weight:bold;
	color:#c00;
}
.contatti input[type="submit"]{
	margin-left:30%;
}

/* FOOTER */
#footer{
	background-color:#555;
	padding:10px 0;
	font-size: 11px;
	color:#fff;
	position:fixed;
	bottom:0;
	width:100%;
	border-top:1px solid #333;
	z-index:100;
}

#logo {
	left: 20px;
}
.genericListGrid {
	margin: 0 20px 1px;
}
.genericListGrid .grid_3 { 
	width: 24.91%; 
	margin: 1px 1px 0 0;
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
	
	#logo {
		left: 16px;
	}
	/*
	#container:before {
		content: "@media only screen and (min-width: 960px) and (max-width: 1199px)";
		color: red;
	}*/
	.genericListGrid {
		margin: 0 16px 1px;
	}
	.genericListGrid .grid_3 { 
		width: 24.89%; 
	}
	
	
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	
	#logo {
		left: 14px;
	}
	.genericListGrid {
		margin: 0 14px 1px;
	}
	.genericListGrid .grid_3 { 
		width: 24.86%; 
	}
	
}

@media only screen and (max-width: 767px) {
	
	#logo {
		left: 16px;
	}
	#logo img {
		width: 140px;
	}
	.grid_12 {
	    margin: 1px 0 0!important;
	}
	.ui-tooltip {
		width: 90%;
	}
	/*
	#container:before {
		content: "@media only screen and (max-width: 767px)";
		color: red;
	} */
	.genericListGrid {
		margin: 0;
	}
	.genericListGrid .grid_3 { 
		width: 100%; 
		margin: 2px 0 0 0;
	}
	
	#boxSocial {
		right:15px;
	}

	#boxOpenMenu {
		display: block;
	}
	#openMenu {
		display: block;
		background-color: rgba(0,0,0,0.5);
		margin-top: 39px;
	}
	#openMenu img {
		padding: 17px;
		margin-right: 20px;
	}
	#menuList{
		display: none;
	}
	#header.row {
	    padding-top: 100px!important;
	}
	#mainMenu {
		margin-top: 0px;
	}
	#mainMenu nav {
		border-top: none;
	}
	#mainMenu ul li {
		display:block;
		float:none;
		width: 100%;
	}
	#mainMenu nav ul li a {
		display:block;
		margin-bottom: 2px;
	}
	#textHome .riga1, #textHome .riga2, #textHome .riga3, #textHome .riga4{
		font-size: 2em;
		padding: 3px 6px;
		margin-left:15px;
	}
	#container h1{
		padding: 10px 20px;
	}
	#container #text h1{
		padding:25px 0px 10px;
	}
	.intestazione {
		position: relative;
	}
	.progetti fieldset {
		padding-left: 0px;
	}
	.back {
		padding: 0px;
		position: absolute;
		top: 8px;
		right: 20px;
	}
	#text {
		padding: 0px 20px 30px;
		text-align: left;
	}
	#footer{
		padding:10px 0;
		font-size:0.75em;
		position:relative;
		bottom:0;
		width:100%;
	}
	.bx-wrapper .bx-controls-direction a {
		display: none;
	}
	#boxBxslider .bx-wrapper img {
		height: auto!important;
	}
	
}

@media only screen and (min-width: 768px) {
	header {
		height: 150px;
	}
	#boxBxslider {
		width: 580px!important;
		margin: 50px auto 0!important;
		max-height: 440px;
	}
	.bx-wrapper {
    	margin: 0 auto 40px;
	}
	.bx-wrapper .bx-viewport {
		border: none!important;
		box-shadow: none!important;
	}
	#boxBxslider .bx-wrapper img {
		max-height: 440px;
		height: auto;
		margin: 0 auto!important;
		width: auto !important;
		position: relative!important;
	}
	.bx-wrapper .bx-controls-direction a {
		width: 39px;
		height: 39px;
		margin-top: -17px;
		transition: none!important;
	}
	.bx-wrapper .bx-prev {
		background: url(../img/arrow-prev.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
		left: -36px;
	}
	.bx-wrapper .bx-prev:hover {
		background-position: -39px 0px;
		transition: none!important;
	}
	.bx-wrapper .bx-next {
		background: url(../img/arrow-next.png) no-repeat scroll 0 0 rgba(0, 0, 0, 0);
		right: -44px;
	}
	.bx-wrapper .bx-next:hover {
		background-position: -39px 0px;
		transition: none!important;
	}
	.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
		bottom: auto;
		top: -50px;
	}
	.bx-wrapper .bx-pager.bx-default-pager a {
		background-color: rgba(0, 0, 0, 0.5);
		width: 24px;
		height: 4px;
		margin: 0 1px 0 0;
	}
	.bx-wrapper .bx-pager.bx-default-pager a:hover, 
	.bx-wrapper .bx-pager.bx-default-pager a.active {
		background-color: rgba(0, 0, 0, 0.2);
	}
}
