/* GENERAL */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Montserrat', sans-serif;
}

.site-header {
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.40) 45%, rgba(0,0,0,0.1) 80%, rgba(0,0,0,0.0) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(45%,rgba(0,0,0,0.40)), color-stop(80%,rgba(0,0,0,0.1)), color-stop(100%,rgba(0,0,0,0.0)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44000000', endColorstr='#ee000000',GradientType=0 );
}
.site-header,
.featured-section .site-header {
	color:#fff;
	position:absolute;
}
.site-header.dark {
	background-image:none;
	background-color:transparent;
	color:#fff;
	border-bottom:none;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.65)), color-stop(45%,rgba(0,0,0,0.40)), color-stop(80%,rgba(0,0,0,0.1)), color-stop(100%,rgba(0,0,0,0.0)));
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
    background: -o-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
    background: -ms-linear-gradient(top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.40) 45%,rgba(0,0,0,0.1) 80%,rgba(0,0,0,0.0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44000000', endColorstr='#ee000000',GradientType=0 );
}
.site-header .title-area {
	width:430px;
}
.site-title {
	text-align:left;
}
.site-title a, .site-title a:hover {
	color:#fff !important;
}
.site-header .title-area {
	margin: 0 auto;
	/*float: none;*/
}
.site-header .title-area .site-title a {
	height: 180px;
	background-position-x: 0 !important;
}
@media only screen and (max-width: 1220px) {
	.site-header .title-area .site-title a {
		height: 140px;
	}
}
@media only screen and (max-width: 800px) {
	.site-header .title-area .site-title a {
		background-position-x: center !important;
	}
}
.featured-section .site-header > .wrap {
	border-bottom:none;
}

.page .site-inner {
	margin-top:40px;
}

.full-width-content .content {
	padding:0;
}
@media only screen and (max-width: 1023px) {
	.site-header, .featured-section .site-header {
		background-color:transparent;
	}
}
@media only screen and (max-width: 800px) {
	.site-header .title-area {
		float:none;
	}
	.site-header, .featured-section .site-header {
		position:static;
		background: url(bs-images/cbg.jpg) repeat;
	}
	.site-header.dark {
		background: url(bs-images/cbg.jpg) repeat;
	}
}
@media only screen and (max-width: 480px) {
	.site-header .title-area {
		width:270px;
	}
}

/* NAVIGATION */
.nav-primary {
	display:none;
}

.genesis-nav-menu a {
	color:#fff;
	font-size:16px;
	font-weight:bold;
}

.widget_nav_menu ul#menu-principale-1 {
	max-width:1200px;
	margin:0 auto;
}
.widget_nav_menu ul#menu-principale-1 li {
	display:inline-block;
	text-align:justify;
	width:19.5%;
	padding:20px 12px;
}
.widget_nav_menu ul#menu-principale-1 li a {
	display:block;
	color:#fff;
	text-align:center;
	width:100%;
	height:0;
	padding:50% 0;
	border-radius:50%;
	line-height:1;
	position:relative;
	background-color:#C00;
	font-weight:bold;
}
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(1) a,
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(2) a,
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(3) a,
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(4) a,
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(5) a {
	background-color:#fff;
	color:#000;
}
.widget_nav_menu ul#menu-principale-1 li a:hover {
	color:#000;
	box-shadow: inset 0 0 0 15px #fff;
}

.widget_nav_menu ul#menu-principale-1 li:nth-child(1) a {
	background-color:#0099a7;
	top:-110px;
}
.widget_nav_menu ul#menu-principale-1 li:nth-child(2) a {
	background-color:#ef7f01;
	top:20px;
}
.widget_nav_menu ul#menu-principale-1 li:nth-child(3) a {
	background-color:#e2017b;
	top:-180px;
}
.widget_nav_menu ul#menu-principale-1 li:nth-child(4) a {
	background-color:#8b82b9;
	top:-50px;
}
.widget_nav_menu ul#menu-principale-1 li:nth-child(5) a {
	background-color:#00aee3;
	top:-110px;
}
/*@media only screen and (max-width: 1024px) {
	.widget_nav_menu ul#menu-principale-1 li:nth-child(3) a {
		top:-100px;
	}
}*/

.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(1) a {
	box-shadow: inset 0 0 0 15px #0099a7;
}
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(2) a {
	box-shadow: inset 0 0 0 15px #ef7f01;
}
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(3) a {
	box-shadow: inset 0 0 0 15px #e2017b;
}
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(4) a {
	box-shadow: inset 0 0 0 15px #8b82b9;
}
.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(5) a {
	box-shadow: inset 0 0 0 15px #00aee3;
}

ul#menu-principale-1 li .fa,
ul#menu-principale-1 li a {
    position: absolute;
    left: 0;
    right: 0;
}
ul#menu-principale-1 li .fa{
    top: 28%;
	font-size:1.5em;
}
ul#menu-principale-1 li a{
   top:50%
}
@media only screen and (max-width: 1024px) {
	.widget_nav_menu ul#menu-principale-1 li a {
		font-size:0.8em;
	}
	
	.widget_nav_menu ul#menu-principale-1 li a:hover {
		box-shadow: inset 0 0 0 9px #fff;
	}
	
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(1) a {
		box-shadow: inset 0 0 0 9px #0099a7;
	}
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(2) a {
		box-shadow: inset 0 0 0 9px #ef7f01;
	}
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(3) a {
		box-shadow: inset 0 0 0 9px #e2017b;
	}
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(4) a {
		box-shadow: inset 0 0 0 9px #8b82b9;
	}
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item:nth-child(5) a {
		box-shadow: inset 0 0 0 9px #00aee3;
	}
}
@media only screen and (max-width: 800px) {
	.nav-primary {
		display:block;
	}
	#front-page-1 .widget_nav_menu,
	.page-after-header .widget_nav_menu {
		display:none;
	}
	.nav-primary .fa {
		margin-right:10px;
		width:17px;
		text-align:center;
	}
	.nav-primary .menu li .fa {
		position:static;
		font-size:1em;
	}
	.nav-primary .menu li a {
		position:static;
	}
	.genesis-nav-menu a, 
	.site-header.dark .genesis-nav-menu a {
		padding:10px 0;
	}
	/* Widget nav restyle, uncomment this if you want to use instead of primary nav
	.widget_nav_menu ul#menu-principale-1 li {
		margin-bottom:0;
	}
	.widget_nav_menu ul#menu-principale-1 li a {
		color: #22a1c4;
		padding:0;
		border-radius:0;
		position:static;
		background-color:transparent !important;
		height:auto;
	}
	.widget_nav_menu ul#menu-principale-1 li.current-menu-item a {
		box-shadow:none !important;
	}
	.widget_nav_menu .menu li .fa {
		font-size:1em;
		margin-bottom:4px;
		display:block;
	}
	.widget_nav_menu .menu li .fa, 
	.widget_nav_menu .menu li a {
		position:static;
	}
	*/
}


/* WIDGET AREAS */
.image-section {
	background:none;
}
.widget h2.entry-title {
	font-size:28px;
	text-transform:uppercase;
}

.entry-header:after{
	display:none;
}

#front-page-2 .entry-content p {
	text-align:justify;
}

.consultation .name,
.consultation .email {
	display: inline-block;
    width: 49.8%;
    box-sizing: border-box;
}

#page-after-header {
	/*padding-top:99px; /* HEADER HEIGHT */
	padding-top:0;
	overflow:hidden;
}
@media only screen and (max-width: 800px) {
	#front-page-1 .wrap {
		padding:0;
	}
}

/* Footer */
.footer-widgets {
	background-color:#4A4F55;
	background:url(bs-images/cbg.jpg) repeat;
	border-top: 10px solid #4A4F55;
}

.site-footer {
	background-color:#131218;
}

/* Content */
.entry-title {
	margin-bottom:50px;
}
.content-sidebar .entry-title {
	text-align:left;
}

.bs-centered {
	text-align:center;
}
.bs-justified {
	text-align:justify;
}

/* Accordions */
.accordion-title:before {
	font-family: FontAwesome;
	content: "\f054 ";
	margin-right:19.16px;
}
.accordion-title.open:before {
	font-family: FontAwesome;
	content: "\f078 ";
	margin-right:10px;
}
.accordion-title {
	padding:15px;
	background-color:#eee;
}
.accordion-title.open {
	background-color:#d7f6ff;
}


/* -----[ SLIDER MODIFICATIONS ]----- */
.front-page-1 .image-section {
	padding:0;
}
#front-page-1 .flexible-widgets.widget-area {
	/*padding-top:99px; /* HEADER HEIGHT */
	padding-top:0;
	padding-bottom:0;
}

#front-page-1 .wrap {
	max-width:none;
}
#front-page-1 {
	padding:0;
}

#front-page-1 .widget {
	margin-bottom:0;
}

#front-page-1 .mission {
	position:absolute;
	z-index:999;
	height:100%;
	top:0;
	
	
	background: -moz-linear-gradient(top,  rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.9) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.2)), color-stop(30%,rgba(0,0,0,0.5)), color-stop(80%,rgba(0,0,0,0.8)), color-stop(100%,rgba(0,0,0,0.9)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0.2) 0%,rgba(0,0,0,0.5) 30%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.9) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#44000000', endColorstr='#ee000000',GradientType=0 );
}

#front-page-1 .mission .widget-wrap {
	position:absolute;
	top:45%;
	width:100%;
}

#front-page-1 .mission h2 {
	font-size:80px;
}

/* PROFILI */
.profile-row {
	border-bottom:1px solid #CCC;
}