/*!
 * LEGEND - Free Responsive One Page Template
 *
 * Copyright 2013
 * Created by: Inbetwin Network
 * URL: http://inbetw.in
 * Designed and built based on Twitter Bootstrap. */

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Non-semantic
04 Navbar
05 Single-Page Sections
06 Footer
07 Bootstrap Carousel
08 Buttons
09 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

div, article, section, header, footer, nav, li {
	position:relative;
}
.group:after {
	display:block;
	height:0;
	clear:both;
	content:".";
	visibility:hidden; /* For clearing */
}
body {
	background:#f0f0f0;
	color: #312A1E;
	font-size: 100%;
	font-family: 'Quattrocento', sans-serif;
}
::-moz-selection {
background:#f0bf00;
color:#333;
}
::selection {
background:#f0bf00;
color:#333;
}

.container table {
	margin: 10px auto;
	/*min-width: 320px;*/
}

.container table table {
	min-width: auto;
}

.container table.table-list {
	width: 100%;
	border-color: #cccccc;
}

.container table.table-edit {
	min-width: 100%;
}

 @media (min-width: 768px) {
	.container table.table-edit {
		min-width: 50%;
	}
}

.container table.table-list td, .container table th {
	padding: 10px;
}

.container table.table-list input[type=text], 
.container table.table-list input[type=submit], 
.container table.table-list textarea,
.container table.table-list .button {
	width: auto;
}

.container table.no-border, 
.container table.no-border td, 
.container table.no-border th,
.container table.no-border tr {
	border: none;
}

.container table.table-list.outer-border {
	border: 1px solid #ccc;
}

.container table.table-list.outer-border tr,
.container table.table-list.outer-border th, 
.container table.table-list.outer-border td {
	border: none;
}

.annotation {
    font-size: 85%;
    color: #888;
    font-style: italic;
}

.notable {
	font-weight: bold;
}

.go-back-block {
	text-align: left;
    margin: 15px 0px;
    padding: 25px 0;
    border-top: 1px solid #ccc;
}

table.details-block {
	border: none;
	text-align: left;
	margin: 10px auto;
	width: 100%;
}

table.details-block td {
	padding:10px 15px;
}
table.two-columns {
    width: 100%;
}
table.two-columns td, 
table.two-columns th 
{
    width: 50%;
}


table th {
	background-color: #e6e6e6;
    text-transform: uppercase;
    font-size: 95%;
}

.structure-detail-map {
	margin: 0 auto;
}

.structure-detail-map iframe {
	width: 100%;
	height: 300px;
	border:0
}

.details-block .button {
	margin-top: 30px;
}

.text-block {
    padding: 5px 15px;
    text-align:left;
    line-height: 140%;
}
.text-block ul, .text-block ol {
    margin: 5px 0 25px 25px;
}

.instruction-block {
    text-align:left;
}
.instruction-block h1, .instruction-block h2, .instruction-block h3 {
    text-align:center;
}
.instruction-block h4 {
    margin-left: 10px; 
    margin-right: 10px;
    margin-top: 1.1em;
}
.instruction-block ul, .instruction-block ol  {
    margin: 5px 0 25px 30px;
}
.instruction-block ul li, .instruction-block ol li {
    line-height: 1.4;
}

.questions-container .ddl-span.span6 {
    text-align:right;
}
.questions-container .ddl-span select {
    width:49%;
}
.questions-container input[type=radio], .questions-container input[type=checkbox] {
    margin:5px;
}

.tutor-name, .student-name {
	height: 38px;
    line-height: 44px;
}

hr {
	margin: 15px 0;
    border: 0;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #cccccc;
}

h3.subsection {
	font-size: 1.125em;
    line-height: 1.3333;
    margin-top: 0.5em;
    margin-bottom: 0.7em;
    background-color: #84A1AF;
	color: #FFFFFF;
    padding: 5px 0;
}
h3.subsection.warning {
    background-color: #AA4949;
}

#canvasMap {
	height: 100%;
	min-height: 300px;
	margin: 0 0 10px 0;
}
.controls {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	text-overflow: ellipsis;
}

.img-ico-student{
	max-height: 80px;
    margin: 10px;
}

.img-student {
	width: 60px;
	height: auto;
	border-radius: 50%;
}

table th > a,
table th > a:link,
table th > a:hover,
table th > a:active,
table th > a:focus,
table th > a:visited {
	color : #312A1E;
}

table th > a:after {
	content:" \00BB";
	-ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
    display: inline-block;
    margin: 5px;
}

.ddls-block {
	padding-top: 0.7em;
	padding-bottom: 0.4em;
}

table.rows-highlight tr:hover > td {
	background: #f0bf00;
}

.select-struttura-msg-block {
	text-align: center;
	margin: 30px 20% 10px 20%;
    font-size: 22px;
    color: #999999;
    line-height: 30px;
}

@media (min-width: 768px) {
		.select-struttura-msg-block {
		margin: 280px 20% 10px 20%;
	}
}

.label-struttura {
	color: #FFF; 
	margin: 0 5px;
    border-radius: 50%;
    display: inline-block;
    height: 20px;
    width: 20px; /* 30px */
	background: #888888;
}
.label-struttura.side-position {display: block;float: left;}
.label-struttura.asl {background: #F4A800;}
.label-struttura.distretto {background: #EEDF79;}
.label-struttura.municipi {background: #0092F4;}
.label-struttura.comuni {background: #876EFC;}
.label-struttura.associazioni {background: #F7584D;}
.label-struttura.altro {background: #61B845;}

.label-flag {
    padding: 3px 5px; 
    opacity: 0.68;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 90%;
    font-family: Sans-Serif;
    display: block;
    text-align: center;
}
.label-flag.flag-ok {background: #008000; color:#FFF;}
.label-flag.flag-ko {background: #8B0000;color:#FFF;}
.label-flag.flag-wait {background: #808080;color:#FFF;}
.label-flag.flag-wip {background: #f0bf00;color:#FFF;}
.label-flag.flag-ok-but {background: #008071; color:#FFF;}

a:hover > .label-flag {opacity:.55;}

.validator-msg {color: red;}

.error-msg    {
    border: 2px dotted #8B0000;
    color: #8B0000;
    display: block;
    padding: 10px;
}
/*---------- FORMS ----------*/

/*select , input[type=file] {
    height: 38px;
    line-height: 38px;
}*/

select {
    height: 38px;
    line-height: 38px;
}

input[type=file] {
	width: 100%;
    line-height: 25px;
    height: 30px;
}

input[type=text], input[type=password], input[type=submit], textarea, select, .button, input[type=file] {
	width: 100%;
	padding: 0.5em;
	font-size: 1em;
	margin-bottom: 0.5em;
	margin-top: 0.3em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}
input, button, select, textarea, .button {
	font-family: 'Quattrocento', serif;
}
input[type=file] {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    height: auto;
    line-height: auto;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.button, .button:visited, .button:link
{
    align-items: flex-start;
    text-align: center !important;
    cursor: pointer;
    color: buttontext;
    border: 1px outset buttonface;
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    background-color: #ddd;
    background-color: buttonface;
    box-sizing: border-box;
    appearance:button;
    -moz-appearance:button; /* Firefox */
    -webkit-appearance:button; /* Safari and Chrome */
    -webkit-user-select: none;
    white-space: pre;
    margin: 0em;
    text-rendering: auto;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
	color: #333333;
	font-weight: normal !important;
	border-radius: 2px;
}
.button:hover, .button:focus, .button:active 
{
    color: #000000;
    text-decoration: none;
    border-color: #000000;
}

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

p {
	font-size: 1em; /* 16px */
	line-height: 1.5; /* 24px */
	margin: 0 0 1.5em 0;
}
ul, ol {
	font-size: 1em; /* 16px */
	line-height: 1.5; /* 24px */
	margin: 0 0 1.5em 0;
}
body, input, textarea {
}
a:link, a:visited {
	color: #0873A5;
    font-weight:bold;
}
a:hover, a:active {
    color: #0873A5;
    text-decoration: underline;
    font-weight:bold;
}
a.de-style:hover, a.de-style:active, 
a.de-style:link, a.de-style:visited {
    text-decoration: none;
    font-weight:inherit;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal; /* reset default browser weight for our webfonts */
	font-family: 'Patua One', sans-serif;
}
.title {
	font-weight: normal; /* reset default browser weight for our webfonts */
	font-family: 'Patua One', sans-serif;
}
h1 {
	font-size: 1.5em; /* 24px */
	line-height: 1; /* 24px */
	margin-top: 1.42em;
	margin-bottom: 0em;
}
.title {
	font-size: 1.5em; /* 24px */
	line-height: 1; /* 24px */
	margin-top: 1.42em;
	margin-bottom: 0em;
}
.site-title {
	float: left;
    color: #FFF;
    margin: 20px;
}
h2 {
	font-size: 1.3125em; /* 21px */
	line-height: 1.1429; /* 24px */
	margin-top: 1.1429em;
	margin-bottom: 0em;
}
h3 {
	font-size: 1.125em; /* 18px */
	line-height: 1.3333; /* 24px */
	margin-top: 1.3333em;
	margin-bottom: 0em;
}
h4 {
	font-size: 1em; /* 16px */
	line-height: 1.5; /* 24px */
	margin-top: 1.5em;
	margin-bottom: 0em;
}
h5 {
	font-size: 0.875em; /* 14px */
	line-height: 1.7143; /* 24px */
	margin-top: 1.7143em;
	margin-bottom: 0em;
}
strong {
	font-weight:normal;
	font-family: 'Open Sans', sans-serif;
}
small {
	font-size: 0.75em; /* 12px */
	line-height: 2; /* 24px */
	margin-top: 2em;
	margin-bottom: 0em;
}
em {
	font-style: normal;
	font-family: 'Open Sans';
}
.muted {
	color: #A5A5A2;
	font-family: 'Quattrocento', serif;
}
.impressed {
	text-shadow:
 -1px -1px 0 rgba(0, 0, 0, 0.5), /* shadow */  1px 1px 0 rgba(255, 255, 255, 0.9); /* highlight */
}
.more-link {
	font-size: .875em; /* 14px */
	margin-top: 1.5em;
	font-family: 'Patua One', sans-serif;
}
.more-link:link, .more-link:visited {
	color: #f0bf00;
	text-transform: uppercase;
}

/* ---------------------------------------------------------------------------------------------------------- 
03 Non-semantic ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/* New Image Replacement Hack */

.hide-text {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	font-size: 1em;
}
.alignright {
	text-align: right;
}
.alignleft {
	text-align: left;
}
.aligncenter {
	text-align: center;
}
.medium {
	font-weight: normal;
	font-family: 'Quattrocento', serif;
}
/* ---------------------------------------------------------------------------------------------------------- 
04 Navbar ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

.navbar-fixed-top .container {
/* Uncomment to make nav expand full width */
 /*	width: auto; */
 margin:5px auto;
}
.navbar .brand {
	margin-left:0;
	padding: 0;
	/*margin-top: 1.05em;*/
}
.navbar .brand a {
	padding: 0;
	color: #fff;
	font-size: 1.75em;
	margin-left: 0;
	font-weight: normal;
	font-family: 'Patua One', sans-serif;
}
.navbar .brand a:hover {
	text-decoration: none;
	color:#f0bf00;
 transition: color .15s linear;
 -webkit-transition: color .15s linear;
 -moz-transition: color .15s linear;
}
.navbar .brand a:focus {
	outline: none;
}
.navbar-inner {
	/*min-height: 4.75em;*/
    min-height: 2.4em;
}
.navbar-inverse .navbar-inner {
	background-repeat: repeat;
	background-color: #0873A5;
	border-color: #fff;
}
.navbar-wrapper {
	overflow:hidden;/* No fixed height, will break collapsible nav */
}
#menu-main {
	margin-top: 1.125em;
}
ul#menu-main > li > a {
	font-family: 'Patua One', sans-serif;
	font-weight: normal;
	font-size: 1em;
	color: #fff;
	padding: 10px 15px;
}
ul#menu-main > li > a:hover {
	background: #f0bf00;
	padding: 10px 15px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}

@media (max-width: 979px) {
ul#menu-main .nav-collapse .nav > li > a, .nav-collapse .dropdown-menu a {
    padding: 10px 15px; 
    }
}

ul#menu-main .username {
    font-family: 'Patua One', sans-serif;
    font-weight: normal;
    font-size: 1em;
    color: #DDD;
    float: none;
    display: block;
	padding: 10px 15px 10px;
}

.navbar-inner nav .nav {
    float: right;
}

@media (max-width: 979px) {
    .navbar-inner nav .nav {
        float:none;
    }
}

.navbar-inverse .brand, .navbar-inverse .nav > li > a {
	text-shadow: none;
}

@media (max-width: 979px) {
    .navbar-wrapper .navbar .brand {
        padding-right: 10px;
        padding-left: 10px;
        margin: 0 auto;
        text-align: center;
        float: none;
    }
    .navbar-wrapper .navbar .brand img {
        /*width:50%;*/
        max-width: 100px;
        height:auto;
    }
    .navbar .site-title {
        float: none;
        color: #FFF;
        margin-top: 25px; 
        margin-bottom: 10px; 
        text-align: center;
    }
}

.navbar-inverse .btn-navbar {
	width: auto;
	height: auto;
}
.navbar .nav > li {
    float: left;
    text-align: center;
}

@media (max-width: 979px) {
    .navbar-wrapper .navbar-fixed-top .navbar-inner, .navbar-wrapper .navbar-fixed-bottom .navbar-inner {padding: 10px 0 0 0;}
    .navbar-wrapper .navbar-fixed-top .navbar-inner .container, .navbar-wrapper .navbar-fixed-bottom .navbar-inner .container {padding: 0 15px;}
    
}
@media (max-width: 979px) and (min-width: 768px) {
    .navbar-wrapper .navbar .container { width: 724px; }
}

.menu-bar {background-color: #6490A5;border-top: 1px solid #eaeaea;width: 100%;}
.menu-bar .container {margin: 0px auto;}
.menu-bar .btn.btn-navbar {margin: 10px 15px 10px 15px;}
.menu-bar ul#menu-main {margin: 5px 0;}

/* ---------------------------------------------------------------------------------------------------------- 
05 Single-Page Sections ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
#headerwrap {
	width: 100%;
	background: url(../img/top-bg.jpg) #442433 no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	min-height: 600px;
	margin-top: -60px;
	padding-top:160px;
	text-align:center;
}
#headerwrap h1 {
	color: #FFFFFF;
	font-family: 'Patua One', sans-serif;
	font-size: 4em;
	font-weight: 400;
	margin: 1em 0;
}
#headerwrap h2 {
	color: #FFFFFF;
	font-family: 'Open Sans', sans serif;
	font-size: 2em;
	font-weight: normal;
	margin: 0.5em 0;
	text-shadow: 1px 1px 1px #333333;
}

#headerwrap h3 {
	color: #FFFFFF;
	font-family: 'Quattrocento', sans serif;
	font-size: 2em;
	font-weight: bold;
	margin: 0.5em 0;
	text-shadow: 1px 1px 1px #333333;
}
#headerwrap h1 span {
	color:#f0bf00;
}
#headerwrap input[type=text] {
	background: rgba(227, 231, 228, 1);
	font-family: 'Open Sans', sans serif;
	font-size: 1.3125em;
	border: 0;
	text-align: center;
	vertical-align: middle;
	margin-bottom:0 !important;
}
#headerwrap input[type=text]:focus {
	background: #43413e;
	color: #eff1ef;
	transition: background 0.25 ease-in;
	-moz-transition: background 0.25 ease-in;
	-webkit-transition: background 0.25 ease-in;
}
#headerwrap input[type=text] {
	height: 2.9em;
	width:50%;
}
#headerwrap input[type=submit] {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	width: 185px;
	height: 2.9em;
	font-size: 1.3125em; /* 21px */
	padding:0.5em;
	letter-spacing: 0.05em;
	margin: 0;
	border: 0;
	text-transform: none;
	background: #f0bf00 !important;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
#headerwrap input[type=submit]:hover, #headerwrap input[type=submit]:active {
	background: #43413e !important;
}
/*========== Social Icons ==========*/
ul.icon {
	font-size:54px;
	margin:1em 0 0.5em 0;
}
ul.icon li {
	display:inline-block;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	-o-transition: all 0.3s linear;
	transition: all 0.3s linear;
}
ul.icon li:hover {
	opacity:0.7;
}
section.single-page {
	/*padding: 4.75em 0;*/ /* 76px */
    /*padding: 1em 0;*/
	padding: 2em 0 1em 0;
}
section.single-page h1 {
	text-align: center;
	font-family:  'Patua One', sans-serif;
	margin-bottom: 2em; /* 72px */
	font-size: 2.25em; /* 36px */
}
section.single-page .title {
	text-align: center;
	font-family:  'Patua One', sans-serif;
	margin-bottom: 2em; /* 72px */
	font-size: 2.25em; /* 36px */
}
#feature {
	background: url("../img/yellow.png") repeat-x 0 0;
	height: 406px;
	z-index: 500;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 5px 16px rgba(0, 0, 0, 0.3);
}
#feature article {
	text-align: center;
	margin-top: 120px;
	max-width: 1170px;
}
#feature-headline {
	font-family: 'Patua One', sans-serif;
	text-transform: uppercase;
	color: rgba(228, 229, 229, 1);
	margin-bottom: 3%; /* 39px */
	margin-top: -.25em;
	height: 109px;
	background-size: 100% auto;
}
#feature-headline span {
	font-family: 'Patua One', sans-serif;
	text-transform: lowercase;
}
#feature article p {
	font-family: 'Patua One', sans-serif;
	font-size: 30px;
	margin-bottom: 0;
	line-height: 1.35;
	color: #fff;
}
/* Portfolio */

section#portfolio {
	padding-bottom: 0;
}
section#portfolio h1 {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
section#portfolio .title {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
section#portfolio hgroup h2 {
	margin-top: 1em;
	text-transform: capitalize;
}
section#portfolio hgroup h3 {
	margin-top:  .35em;
	font-family: 'Patua One', sans-serif;
}
section#portfolio .entry-content {
	margin: 1em 0 2.5em;
}
section#portfolio .align {
	text-align:center;
	margin-top:10px;
	font-size:6em;
}
/* Portfolio Image Hover */
.mask2 img {
	margin: 0 auto;
	max-width: 100%;
	display: block;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	filter: alpha(opacity=80);
	opacity: 0.8;
	box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
.mask2 img:hover {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=99)";
	filter: alpha(opacity=99);
	opacity: 1;
}
/* Services */

section#services {
	/*padding-bottom: 9.5em;*/
    /*background-image:url(../img/sfondo.jpg);*/
    background-position:center top;
    background-repeat:no-repeat;
    min-height:450px;
    /*padding-top: 75px;*/
    padding-top: 80px;
}
#services h1 {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
#services .title {
	font-size: 1.2em;
    padding:0px;
    margin: 40px 0px 20px 0px;
    /*margin:20px 0px 5px 0px;*/
	/*margin-bottom: 0.1em;
	margin-top: 0.1em;*/
}
section#services h2 {
	font-size: 30px;
	margin-bottom: 40px;
	margin-top: 40px;
	/*margin-top: 20px;*/
	text-align:center;
}
section#services p {
	margin:10px;
}
section#services .align {
	text-align:center;
	margin-top:10px;
	font-size: 6em;
}
section#services .align .sev_icon {
	text-align:center;
	margin:10px 0 20px 0;
	font-size: 0.6em;
	color:#F0BF00;
}
section#services .align .verde {
	text-align:center;
    padding:15px 4px;
    border-radius:50px;
    border:solid 8px #fff;
	font-size: 0.6em;
    color:#fff;
    background-color:#3cba32;
    display:inline-block;
}
section#services .align .rosso {
	text-align:center;
    padding:15px 4px;
    border-radius:50px;
    border:solid 8px #fff;
	font-size: 0.6em;
    color:#fff;
    background-color:#dd2323;
    display:inline-block;
}
section#services .align .giallo {
	text-align:center;
    padding:15px 4px;
    border-radius:50px;
    border:solid 8px #fff;
	font-size: 0.6em;
    color:#fff;
    background-color:#f0bf00;
    display:inline-block;
}
/*
section#services .span3 {
	background:#e9e9e9;
	padding: 20px 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
section#services .span3:hover {
	background:#e3e3e3;
	box-shadow: 1px 1px 6px #C1BAC1;
}
*/
/* Testimonials */

section#testimonials {
	height:  647px;
	background: url("../img/yellow_testimonial.png") repeat-x 0 0;
	padding: 0;
	color: #e4e5e2;
	z-index: 500;
	box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}
section#testimonials .blockquote-wrapper {
	display: table-cell;
	vertical-align: middle;
	height:  647px;
}
blockquote.mega {
}
blockquote.mega p {
	font-size: 45px;
	line-height: 50px;
	text-align: left;
	font-family: 'Patua One', sans-serif;
	font-weight:bold;
	color:#312A1E;
}
blockquote.mega .cite {
	font-size: 22px;
	text-align: left;
	font-weight:300;
}
/* News */
section#news {
	background: url("../img/grey-cardboard-bg.png") repeat 0 0;
}
section#news .align {
	font-size: 6em;
	text-align: center;
}
article.post {
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}
article .inside {
	margin: 18px 24px 24px;
	padding-top: 1em;
	background: url("../img/dot-row-2.png") repeat-x scroll 0 0 transparent !important;
}
.post-date {
	color: #A5A5A2;
	float: right;
	font-family: 'Open Sans';
	font-size: 14px;
	font-style: normal;
	line-height: 2;
	margin-right: 5px;
}
#news h1 {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
#news h2 {
	font-size: 21px;
	margin-top: 24px;
	margin-bottom: 16px;
	color: #312A1E;
	clear: right;
}
/* Team and Contact */

section#team, section#contact {
	color: #e4e5e2;
	background:#312A1E;
}
section#team .align, section#contact .align {
	font-size: 6em;
	text-align: center;
}
#team h1, #contact h1 {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
#team .title, #contact .title {
	font-size: 3em;
	margin-bottom: 1em;
	margin-top: 0.5em;
}
#contact, #team {
	padding-top: 4.75em;
}
#team {
	padding-bottom: 0;
}
#contact {
	padding-bottom: 0;
}
/* team */

#team h3 {
	font-size: 26px;
	margin-top: 24px;
	margin-bottom: 0px;
}
#team h3, .job-position {
	text-align: center;
}
#team .featurette {
	text-align: center;
	font-size: 21px;
}
#team h2.featurette-heading {
	margin-bottom: 24px;
}
.teamalign {
	text-align:center
}
.team-thumb {
	margin-top: 26px;
	text-align:center;
}
.job-position {
	font-family: 'Open Sans', sans-serif;
	margin-bottom: .46155em;
}
/* Contact Form */

#theme-form {
	position: relative;
	z-index: 999;
}
#theme-form input[type=text], .cform-form textarea {
	background: rgba(227, 231, 228, 1);
	font-family: 'Open Sans', sans serif;
	border: 0;
	text-align: left;
	vertical-align: middle;
}
#theme-form input[type=text]:focus, .cform-form textarea:focus {
	background: rgba(101, 106, 100, 1);
	color: #eff1ef;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	transition: background 0.25 ease-in;
	-moz-transition: background 0.25 ease-in;
	-webkit-transition: background 0.25 ease-in;
}
#theme-form input[type=text] {
	height: 3.25em;
}
#theme-form input[type=submit] {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	width: 185px;
	height: 60px;
	text-shadow: none;
	font-size: 1.3125em; /* 21px */
	padding:0.5em;
	letter-spacing: 0.05em;
	margin: 0 0 20px 0;
	display: block;
	border: 0;
	text-transform: none;
	background: #f0bf00 !important;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
#theme-form input[type=submit]:hover, #theme-form input[type=submit]:active {
	background: #43413e !important;
}
#theme-form textarea {
	padding-top: 1em;
}
div.cform-response-output {
	max-width: 60%;
	text-align: center;
	margin-left: 40% !important;
	margin-top: 0.5em !important;
	padding: 0.5em !important;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
.cform-not-valid-tip {
	color: #888;
	border: 1px dotted #ad3729 !important;
	width: 100% !important;
	left: 0 !important;
	padding: 0.5em !important;
	font-family: 'Open Sans', sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
/* Featurettes */



hr.featurette-divider {
	margin: 3em 0;
	border-width: 0;
	height: 9px;
	background: url("../img/dot-row-3-lt.png") repeat-x;
}


/* Google Map Page */

#map_wrapper {
    height: 600px;
}

#map_canvas {
    width: 100%;
    height: 100%;
}

#map_legend {
    background: #fff;
    padding:12px 15px;
    margin: 15px;
    text-align:left;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
}
#map_legend span {
    margin-left:15px
}
#map_legend img {
    height: 25px;
    width: auto;
}

#districts_not_visible, #districts_visible {
	color: #AAAAAA;
}

.map-filter-check input {
	margin: -2px 6px 0 6px;
	display: inline-block;
}

.map-filter-check label {
	display: inline-block;
}

#map_canvas_void.mapping {
	background: #DEDEDE;
	margin-top: 25px;
	height:100%;
	width: 100%;
}

#map_canvas_void.mapping span {
	color: #FFFFFF;
    position: absolute;
    top: 25%;
	font-size: 22px;
    left: 0;
    right: 0;
}

/* jQuery datepicker calendar */

.app-calendar .ui-datepicker {
    width:auto;
    margin-bottom:10px;
}
.app-calendar .ui-state-default, 
.app-calendar .ui-widget-content .ui-state-default, 
.app-calendar .ui-widget-header .ui-state-default {
    text-align:center;
}

/* ---------------------------------------------------------------------------------------------------------- 
06 Footer ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

#map-wrapper {
	margin-top: 20px;
}
footer {
	text-align: center;
	color: #1a1a1a;
	font-weight: bold;
}
footer p {
	margin-top: -130px;
}
/* ---------------------------------------------------------------------------------------------------------- 
07 Bootstrap Carousel ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
    
    .carousel-caption {
	background-color: transparent;
	position: static;
	max-width: 550px;
	padding: 0 20px;
	margin-top: 200px;
	position:absolute;
}
.carousel-caption h1,  .carousel-caption .lead {
	margin: 0;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}
.carousel-caption .btn {
	margin-top: 10px;
}
.carousel-control {
	height: 50px;
	top: 46%;
	margin-top: 0;
	font-size: 6.5em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
	background-color: transparent;
	border: 0;
	font-family: 'Open Sans', sans-serif;
	opacity: 0.4;
	border-radius: 0;
}
.carousel-control:link, .carousel-control:visited {
	color: #262626;
}
/* Banner Carousel  */    
    #banner.carousel {
	margin-top: 4.75em;
	margin-bottom: 0;
	margin-top: 0;
	max-height: 642px;
}
.banner-caption {
	/*	width: 18%; */
    	position: absolute;
	left: 20%;
	top: 10%;
	color: #007ac3;
}
#intro-caption {
	margin-top:150px;
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	font-size: 80px;
	line-height: 90px;
	color:#fff;
	font-weight:bold;
	text-shadow: 2px 2px 2px #000;
}
#intro-caption span {
	font-family:'Open Sans', sans-serif;
	font-size: 0.65em;
}
#banner.carousel .item {
}
#banner.carousel img {
}
#banner.carousel .carousel-control {
}
/* ---------------------------------------------------------------------------------------------------------- 
08 Buttons ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */    
.btn {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	width: 185px;
	height: 20px;
	text-shadow: none;
	font-size: 1.3125em; /* 21px */
	padding: 1em 0.5em;
	letter-spacing: 0.05em;
	margin: 4.5em auto 0;
	display: block;
	border: 0;
	text-transform: none;
	background: #ee6b14;
	/*background: #ee6b14 !important;*/
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
.btn:link, .btn:visited {
	color: #fff;
}
.btn:hover {
	background: #312A1E !important;
}
.btn-NO {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	text-shadow: none;
	font-size: 1.3125em; /* 21px */
	padding: 1em 0.5em;
	letter-spacing: 0.05em;
	/*margin: 4.5em auto 0;*/
	/*display: inline-block;*/
	border: 0;
	text-transform: none;
	background: #dd2323 !important;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
    /*width:50%;*/
}
.btn-SI {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	text-shadow: none;
	font-size: 1.3125em; /* 21px */
	padding: 1em 0.5em;
	letter-spacing: 0.05em;
	/*margin: 4.5em auto 0;*/
	/*display: inline-block;*/
	border: 0;
	text-transform: none;
	background: #3cba32 !important;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
    /*width:50%;*/
}

.btn-generico {
	font-family: 'Patua One', sans-serif;
	color: #fff;
	text-shadow: none;
	font-size: 1.3125em; /* 21px */
	padding: 1em 0.5em;
	letter-spacing: 0.05em;
	/*margin: 4.5em auto 0;*/
	/*display: inline-block;*/
	border: 0;
	text-transform: none;
	background: #ee6b14 !important;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
    /*width:50%;*/
}

/* ---------------------------------------------------------------------------------------------------------- 
09 Media queries --------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */


/* RESPONSIVE 
-------------------------------------------------- */


@media (max-width: 979px) {
	.span6.only-desktop {
		display: block;
		float: none;
		width: 100%;
		margin-left: 0;
	} 
}

@media (max-width: 1186px) {
 .banner-caption {
	    	/*	width: 18%; */
	    	position: absolute;
 left: 20%;
 top: 6%;
 color: #007ac3;
}
 #intro-caption {
 font-family: 'Open Sans', sans-serif;
 text-align: center;
 font-size: 60px;
 line-height: 70px;
}
 .banner-caption p {
 font-size: 1em;
}
}
 @media (max-width: 979px) {
section#services {
 padding-top: 10px;
}
 .navbar-fixed-top {
 margin-bottom: 0;
}
 .navbar .container {
 width: 100%;
}
 .navbar .brand {
 margin-top: 0;
}
 .navbar .btn-navbar {
 margin-top: 0;
}
 .navbar-fixed-top .navbar-inner {
 padding: 0px;
}
 .featurette {
 height: auto;
 padding: 0;
}
 .featurette-image.pull-left,  .featurette-image.pull-right {
 display: block;
 float: none;
 max-width: 40%;
 margin: 0 auto 20px;
}
}
 @media (min-width: 768px) and (max-width: 979px) {
 #headerwrap {
 padding-top:20px;
}
}
 @media (max-width: 767px) {
 .container {
 padding-right: 5px;
 padding-left: 5px;

}
 .navbar-fixed-top,  .navbar-fixed-bottom,  .navbar-static-top {
 margin-right: 0px;
 margin-left: 0px;
 margin-bottom:0px;
 padding-bottom:0px;
}
 .navbar-inner {
 margin: 0;
}
 .carousel {
 margin-left: -20px;
 margin-right: -20px;
}
 .carousel .container {
}
 .carousel-caption {
 width: 65%;
 padding: 0 70px;
 margin-top: 100px;
}
 .carousel-caption h1 {
 font-size: 30px;
}
 .carousel-caption .lead,  .carousel-caption .btn {
 font-size: 18px;
}
 .featurette-heading {
 font-size: 30px;
}
 .featurette .lead {
 font-size: 18px;
 line-height: 1.5;
}
}
    
/* Smaller screens ----------- */
@media (max-width : 480px) {
 #headerwrap {
 padding-top:10px;
}
 #headerwrap h1 {
 font-size:2em;
}
 #headerwrap h2 {
 font-size:1em;
}

 #headerwrap h3 {
 font-size:1em;
}
 #headerwrap input[type="text"] {
 width: 100%;
}
 #headerwrap input[type="submit"] {
 margin-top:1em;
 width: 135px;
}
 .container {
/*border:1px solid yellow;*/
}
 #team .team-thumb {
 margin-right: auto;
 margin-left: auto;
 width: 150px;
 display: block;
 text-align:center
}
 #feature article p {
 font-family: 'Open Sans', sans-serif;
 font-size: 26px; /* font-size: 26px; */
 margin-bottom: 0;
 line-height: 30px;
 color: #fff;
}
}
    
/* Smartphones (portrait and landscape) ----------- */
@media only screen  and (min-device-width : 320px)  and (max-device-width : 480px) {
 #feature-headline {
 background: transparent;
 text-indent: 0;
 overflow: visible;
 margin-top: 1.5em;
}
 #navbar-inner {
 margin:	0;
}
 #banner { /*display: none;*/
}
 section.single-page {
 padding: 1em 0;
}
		
/* Feature */
#feature-badge {
/*	display: none; */}
		
/* Portfolio & News */
		
#news h1 {
 background: transparent;
}
 #news h1 span {
 background: transparent;
 padding: 0;
}
 #portfolio .container {
 top: 0 !important;
}
 #feature article p {
 font-family: 'Open Sans', sans-serif;
 font-size: 26px; /* font-size: 26px; */
 margin-bottom: 0;
 line-height: 30px;
 color: #fff;
}
 .img-news {
 width: 100%;
}
 .img-news {
 margin-right: auto;
 margin-left: auto;
 display: block;
}
 section#portfolio hgroup h2 {
 margin-top: 1.5em;
}
	
/* Services */
		
#services h1 {
 background: transparent;
}
 #services h1 span {
 background: transparent;
 padding: 0;
}
 section#services h2 {
 margin-bottom: 0.25em;
}
 section#services h2, section#services ul {
 /*text-align: center;*/
}
		

/* Testimonials */
	    
section#testimonials { /*display: none;*/}
	
/* team */
		
#team .team-thumb {
 margin-right: auto;
 margin-left: auto;
 width: 150px;
 display: block;
 text-align:center
}
 .job-position: {
 margin-bottom: 1.5em;
}
 .navbar-fixed-top, .navbar-fixed-bottom, .navbar-static-top {
 margin-left: auto;
 margin-right: auto;
}
		
/* Contact Form */

#theme-form {
 overflow: hidden;
}
 #theme-form input[type=submit] {
 width: 100%;
}
}

/* Smartphones (landscape) ----------- */
@media only screen  and (min-width : 321px) {
 #feature-headline {
 font-size: 32px; /* 34px */
}
}
	
/* Smartphones (portrait) ----------- */
@media only screen  and (max-width : 320px) {
 #feature-headline {
 font-size: 1.1875em; /* 19px */
}
 #feature article p {
 font-family: 'Open Sans', sans-serif;
 font-size: 26px; /* font-size: 26px; */
 margin-bottom: 0;
 line-height: 30px;
 color: #fff;
}
}
	
/* iPads (portrait and landscape) ----------- */
@media only screen  and (min-device-width : 768px)  and (max-device-width : 1024px) {
 .banner-caption p {
 font-size: 0.6em;
}
 #intro-caption {
 font-size: 4em;
}
}
	
/* iPads (landscape) ----------- */
@media only screen  and (min-device-width : 768px)  and (max-device-width : 1024px)  and (orientation : landscape) {
/* Styles */
	}
	
	/* iPads (portrait) ----------- */
	@media only screen  and (min-device-width : 768px)  and (max-device-width : 1024px)  and (orientation : portrait) {
/* Styles */
	}
	
	/* Desktops and laptops ----------- */
	@media only screen  and (min-width : 1224px) {
/* Styles */
	}


/*
.boxLezioni {
    background: #fff;
	padding: 5px 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    text-align:center;
}
.boxLezioni a:link, .boxLezioni a:visited {
    background-color:#007ac3;
	color: #fff;
    font-weight:bold;
    padding:8px;
    border-radius:5px;
    line-height:2em;
}
.boxLezioni a:hover, .boxLezioni a:active {
    background-color:#ee6b14;
	color: #fff;
    font-weight:bold;
    padding:8px;
    border-radius:5px;
}
.boxRicerca {
    background-color:#fff;
	padding: 8px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    text-align:center;
}
*/