/* generali */

html {
	margin: 0px;
	padding: 0px;
}
body {
	margin: 0px;
	padding: 0px;
	color: #333333;
	background: #ffffff;
}
del {
	font-size: 0.75em;
}
ins {
	text-decoration: none;
	font-weight: bold;
}

/* formattazione, placeholders, ecc. */

.left {
   text-align: left;
}
.right {
   text-align: right;
}
.center {
   text-align: center;
}
img.middle {
   vertical-align: middle;
}
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}
.underline {
   text-decoration: underline;
}
.important {
	font-weight: bold;
}
.positive {
	color: green;
}
.negative {
	color: red;
}
input.default, .hasPlaceholder {
	color: #777777 !important;
}
.hidden {
	position: absolute;
	visibility: hidden;
	display: none;
}

/* tag_cloud */
ul.tagcloud {
	list-style-type: none;
	padding: 0;
	line-height: 2em;
	margin: 2px;
}
ul.tagcloud li {
	display: inline;
	line-height: 1.1em;
	white-space: nowrap;
}
ul.tagcloud .count {
	font-size: 0.875em;
	line-height: 1.714em;
	color: #888;
}

/* split2: divide in 2 box identici affiancati */
.split2 {
   float: left;
	width: 102%;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px -2%;
	display: inline;
}
.split2_div {
   float: left;
   width: 48%;
   padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 2%;
	display: inline;
}

/* split3: divide in 3 box identici affiancati */
.split3 {
   float: left;
	width: 102%;
	padding: 0;
	margin: 0px 0px 0px -2%;
	display: inline;
}
.split3_div {
   float: left;
   width: 31%;
   padding: 0;
	margin: 0px 0px 0px 2%;
	display: inline;
}

/* wide: dovrebbe essere inserito sotto lo split2 per evitare che subisca il float */
.wide {
	clear: left;
}

/* nowrap */
.nowrap {
	white-space: nowrap;
}

/* autocomplete */
.ui-autocomplete-loading {
	background: white url("load.gif") no-repeat right center;
}
.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}
.ui-autocomplete li {
	list-style-type: none;
	font-size: 1em;
}

/* admin update cms */
.adm-smallform .text { width: 120px; }

/* hacks */
.clearfix:before, .clearfix:after {
	content: " ";
	display: table;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	*zoom: 1;
}

/* altro */
.sorting {
	float: right;
}

/* global */
address { font-style: normal; }

/* form */

.textarea_bbcode {
	width: 100%;
	max-width: 500px;
	height: 350px;
}
.textarea_html {
	width: 100%;
	height: 500px !important;;
}
input, select {
	max-width: 350px;
}
select.link-type {
	width: 20%;
   display: inline-block;
}
.form-control.link-spec {
	width: 80%;
   display: inline-block;
}
.text_count, .text_count_html {
	font-size: 12px;
	background: none;
	border: 0;
	margin-left: 10px;
	color: #999999;
	min-width: 50px;
}
.random_button {
	font-size: 12px;
}
legend, .fieldset .legend p {
	font-size: 18px;
}
.fieldset .legend p {
	display: block;
	width: 100%;
	padding: 0;
	margin-bottom: 20px;
	line-height: inherit;
	color: #333;
	border: 0;
	border-bottom: 1px solid #e5e5e5;
}
.form-group > label, .fm-left {
	display: inline-block;
	width: 25%;
	padding: 0px 5px;
   margin-bottom: 0;
	line-height: 32px;
	border: 1px solid #fafafa;
	background-color: #fafafa;
	background-image: -moz-linear-gradient(center top , #fafafa, #e9eaed);
	border-radius: 4px;
	font-weight: normal;
	text-align: left;
	text-transform: lowercase;
}
.fm-right {
	display: inline-block;
	width: 74%;
	line-height: 32px;
   vertical-align: top;
}
.fm-right > .radio-inline, .fm-right > .checkbox, .fm-right > .checkbox-inline {
	padding: 0 10px 0 0;
	margin: 0;
}
.fm-right > .radio-inline input, .fm-right > .checkbox input, .fm-right > .checkbox-inline input { margin: 10px 3px 10px 0; }
.fm-submit, .fm-other, #fm-progressbar { padding-left: 26%; }
.fm-submit p { padding-bottom: 20px; }
.fm-login .fm-submit { margin-bottom: 10px; }
.fm-req > label, .fm-req > .fm-left { font-weight: bold; }
.fm-req > label:before, .fm-req > label:before { content: "* "; }
.split2_div label, .split2_div .fm-left, #login-modal #signup label, #login-modal #signup .fm-left { width: 39%; }
.split2_div .fm-submit, #login-modal #signup .fm-submit, .split2_div .fm-other, #login-modal #signup .fm-other { padding-left: 39.5%; }
.split2_div .fm-right, #login-modal #signup .fm-right { width: 59%; }
.mainTable .checkbox {
	margin-top: 0;
	margin-bottom: 0;
}
.mainTable td.select_button { width: 30px; }

/* login-dialog / profile-dialog */

#login-modal .tab-content {
	margin: 0;
	border: 0;
   box-shadow: none;
	float: none;
}
#login-modal .modal-header {
	padding: 15px;
	border-bottom: 0;
}
#login-modal .modal-footer {
	margin: 0 15px 0;
	clear: both;
}
#login-modal .modal-body { padding: 15px; }
#login-modal .checkbox { margin: 0 0 5px; }
p.dialog-title {
	margin-bottom: 20px;
	padding: 0;
	border-bottom: 1px solid #e5e5e5;
	font-size: 18px;
}
.profile-dialog p {
	padding-left: 10px;
	padding-right: 10px;
   border-bottom: 1px dotted #e9eaed;
}
.login-dialog .smallform > .fm-other {
	padding: 0 0 0 1.7em;
	clear: both;
	width: 100%;
   float: none;
	text-align: left;
}
.login-dialog {
   float: left;
	width: 100%;
	margin-left: 0;
}
.login-method {
	width: 50%;
	margin: 0;
	padding: 0 7px;
	float: left;
}
.login-method.social-login {
	padding-left: 0;
	margin-bottom: 15px;
}
.login-method.standard-login {
	padding-right: 0;
}
.login-dialog .fm-submit {
	width: 100%;
	padding: 0;
}
.login-dialog .submit {
	width: 100%;
}

/* steps */

.steps {
	padding-bottom: 10px;
}
.step, .step_selected {
	display: inline-block;
	line-height: 18px;
	margin: 5px 30px 5px 0;
	color: #c0c0c0;
}
.step_selected {
	color: #000000;
	font-weight: bold;
}
.step_number {
	display: inline-block;
	line-height: 18px;
	margin: 0 5px 4px 0;
	padding: 4px 10px;
	border-radius: 15px;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
	text-align: center;
	vertical-align: middle;
	background-color: #eeeeee;
	background-image: -moz-linear-gradient(center top , #eeeeee, #cccccc);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.step_selected .step_number {
	color: #ffffff;
	background-color: #EEB422;
	background-image: -moz-linear-gradient(center top , #EEB422, #ffcc33);
	background-repeat: repeat-x;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
}
.step_text {
	display: inline-block;
   padding-bottom: 0;
}

ul > li > p { margin: 0; }
/* messaggi */

div.info, div.warning, div.danger, div.question, div.success {
	padding: 15px;
	min-height: 16px; height: auto !important; height: 16px;
	margin: 5px 0px;
	clear: both;
   border-radius: 3px;
}
div.info {
	color: #00529B;
	background-color: #BDE5F8;
}
div.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	padding: 15px;
}
div.warning {
	color: #9F6000;
	background-color: #FEEFB3;
}
div.danger {
	color: #D8000C;
	background-color: #FFBABA;
}
div.question {
	color: #1874CD;
	background-color: #D1EEEE;
}
div.question p {
	margin: 0px;
	padding: 2px 0px;
}
div.important, div.important a, div.important a:hover {
	font-weight: bold;
	color: red;
}
.disactive, .mainTable p.disactive {
	color: #999999;
}
.highlighted {
	background: #ffff00;
	padding: 3px 6px;
	color: black;
	border: 1px solid #e8e8e8;
	border-radius: 4px;
}

/* command */

.command {
	float: left;
	width: 100%;
	padding: 0px 0px 0px 0px;
	margin: 7px 0px 0px 0px;
}
.command p {
	float: left;
	width: 100%;
	padding: 5px 0;
	margin: 0px 0px 5px 0px;
}
.command p a {	margin: 0px 10px 0px 0px; }
.command p a img {
   float: left;
   padding: 0px 0px 0px 0px;
	margin: 0px 3px 0px 0px;
}

/* filtri */

form.filters, div.filters {
	float: left;
	width: 100%;
	padding: 5px 0 10px;
	margin: 0;
}
div.filter {
	float: left;
	width: 25%;
	min-height: 70px; height: auto !important; height: 70px;
}
div.filter label, div.filter .label {
	float: left;
	width: 100%;
	padding-left: 5px;
	text-transform: capitalize;
	text-align: left;
}
div.filter .label {
	font-style: italic;
	font-size: 0.9em;
}
div.filter select, div.filter .text, div.filter .filter_content {
	width: 95%;
	float: left;
}

/* mainTable  */

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
	padding: 5px;
}
th p, td p, li p, .fm-right p, .fm-other p { margin: 0; }

/* pager */

.pager_top {
   float: left;
	width: 100%;
	padding: 7px 0px 9px 0px;
}
.pager_bottom {
   float: left;
   width: 100%;
	padding: 10px 0px 0px 0px;
}
.pager_top p, pager_bottom p {
	padding: 0;
	margin: 0;
}

/* iframe */

iframe {
	max-width: 100%;
}
div.iframe {
	overflow: auto;
	height: 10em;
	border: 1px solid #9aa7b0;
	padding: 5px;
}
pre.iframe {
	overflow: auto;
	height: 200px;
	border: 1px solid #9aa7b0;
	padding: 5px;
	font-family: helvetica, arial, verdana, sans-serif;
	white-space: pre;
	word-wrap: normal;
}

/* allineamenti */

table td.center, table th.center, table td.center p, table th.center p, div.textimage p.center {
	text-align: center;
}
table td.right, table th.right, table td.right p, table th.right p, div.textimage p.right {
	text-align: right;
}
table td.left, table th.left, div.textimage p.left {
	text-align: left;
}

/* maps */

.google_map, .embed_map {
	width: 100%;
   height: 300px;
	border: 1px solid #DDD;
	padding: 1px;
}

/* video */

.video_wrapper {
	position: relative;
	width: 100%;
	height: 0px;
	padding: 0px 0px 56.25% 0px; /* formato 16/9 = 100 / 16 * 9 = 56.25 */
	margin: 10px 0px 0px 0px;
	display: block;
}
.video_wrapper iframe {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

/* sidr */

.sidr {
	display: none;
	position: absolute;
	position: fixed;
	top: 0;
	height: 100%;
	z-index: 999999;
	width: 260px;
	overflow-x: none;
	overflow-y: auto;
	font-size: 11px;
	background: #333;
	color: #fff;
	-webkit-box-shadow: inset 0 0 5px 5px #222;
	-moz-box-shadow: inset 0 0 5px 5px #222;
	box-shadow: inset 0 0 5px 5px #222;
}
.sidr .sidr-inner {
    padding: 0 0 15px;
}
.sidr .sidr-inner>p {
    margin-left: 15px;
    margin-right: 15px;
}
.sidr.right {
    left: auto;
    right: -260px;
}
.sidr.left {
    left: -260px;
    right: auto;
}
.sidr h1, .sidr h2, .sidr h3, .sidr h4, .sidr h5, .sidr h6 {
    font-size: 11px;
    font-weight: normal;
    padding: 0 15px;
    margin: 0 0 5px;
    color: #fff;
    line-height: 24px;
    background-image: -webkit-gradient(linear,  50% 0%,  50% 100%,  color-stop(0%,  #4d4d4d),  color-stop(100%,  #1a1a1a));
    background-image: -webkit-linear-gradient(#4d4d4d, #1a1a1a);
    background-image: -moz-linear-gradient(#4d4d4d, #1a1a1a);
    background-image: -o-linear-gradient(#4d4d4d, #1a1a1a);
    background-image: linear-gradient(#4d4d4d, #1a1a1a);
    -webkit-box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 5px 3px rgba(0, 0, 0, 0.2);
}
.sidr p {
    font-size: 13px;
    margin: 0 0 12px;
}
.sidr p a {
    color: rgba(255, 255, 255, 0.9);
}
.sidr>p {
    margin-left: 15px;
    margin-right: 15px;
}
.sidr ul {
    display: block;
    margin: 10px 0 15px;
    padding: 0;
    border-bottom: 1px solid #4d4d4d;
}
.sidr ul li {
    display: block;
    margin: 0;
    line-height: 32px;
    border-top: 1px solid #4d4d4d;
    border-bottom: 1px solid #1a1a1a;
}
.sidr ul li:hover, .sidr ul li.active, .sidr ul li.sidr-class-active {
    border-top: none;
    line-height: 33px;
}
.sidr ul li:hover>a, .sidr ul li:hover>span, .sidr ul li.active>a, .sidr ul li.active>span, .sidr ul li.sidr-class-active>a, .sidr ul li.sidr-class-active>span {
    -webkit-box-shadow: inset 0 0 15px 3px #222;
    -moz-box-shadow: inset 0 0 15px 3px #222;
    box-shadow: inset 0 0 15px 3px #222;
}
.sidr ul li a, .sidr ul li span {
    padding: 0 15px;
    display: block;
    text-decoration: none;
    color: #fff;
}
.sidr ul li ul {
    border-bottom: none;
    margin: 0;
}
.sidr ul li ul li {
    line-height: 40px;
    font-size: 13px;
}
.sidr ul li ul li:last-child {
    border-bottom: none;
}
.sidr ul li ul li:hover, .sidr ul li ul li.active, .sidr ul li ul li.sidr-class-active {
    border-top: none;
    line-height: 41px;
}
.sidr ul li ul li:hover>a, .sidr ul li ul li:hover>span, .sidr ul li ul li.active>a, .sidr ul li ul li.active>span, .sidr ul li ul li.sidr-class-active>a, .sidr ul li ul li.sidr-class-active>span {
    -webkit-box-shadow: inset 0 0 15px 3px #222;
    -moz-box-shadow: inset 0 0 15px 3px #222;
    box-shadow: inset 0 0 15px 3px #222;
}
.sidr ul li ul li a, .sidr ul li ul li span {
    color: rgba(255, 255, 255, 0.8);
    padding-left: 30px;
}
.sidr form {
    margin: 0 15px;
}
.sidr label {
    font-size: 13px;
}
.sidr input[type="text"], .sidr input[type="password"], .sidr input[type="date"], .sidr input[type="datetime"], .sidr input[type="email"], .sidr input[type="number"], .sidr input[type="search"], .sidr input[type="tel"], .sidr input[type="time"], .sidr input[type="url"], .sidr textarea, .sidr select {
    width: 100%;
    font-size: 13px;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0 0 10px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: block;
    clear: both;
}
.sidr input[type=checkbox] {
    width: auto;
    display: inline;
    clear: none;
}
.sidr input[type=button], .sidr input[type=submit] {
    color: #333;
    background: #fff;
}
.sidr input[type=button]:hover, .sidr input[type=submit]:hover {
    background: rgba(255, 255, 255, 0.9);
}
.sidr ul li.menuTitle {
	margin: 0px;
	padding: 0px;
	border: 0;
	font-weight: bold;
	text-transform: uppercase;
}
.sidr ul li.menuTitle:hover { line-height: 32px; }
.sidr ul li a img {
	float: left;
	padding-top: 5px;
}
.sidr ul li:hover img, .sidr ul li.active img, .sidr ul li.sidr-class-active img { padding-top: 6px; }

/* tags */

.tags img { display: none; }
.tags a {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  color: #333333;
  display: inline-block;
  height: 26px;
  line-height: 24px;
  padding: 0 20px 0 23px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
}
.tags a::before {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 8px;
  top: 9px;
  left: 10px;
  position: absolute;
  width: 8px;
}
.tags a:hover { background-color: #e8e8e8; }

/* tile */

.tile {
	width: 100%;
	display: inline-block;
	box-sizing: border-box;
	background: #fff;
	padding: 15px;
	margin-bottom: 30px;
	border: 1px solid #ddd;
	border-radius: 5px;
   position: relative;
}
.tile a {
	color: #333;
   text-decoration: none;
}
.tile .icon {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 48px;
	line-height: 1;
	color: #ccc;
}
.tile .stat {
	margin-top: 5px;
	font-size: 40px;
	line-height: 1;
}
.tile .title {
	font-weight: bold;
	background: #c0c0c0;
	text-transform: uppercase;
	font-size: 12px;
	padding: 3px 5px;
	margin-top: 10px;
	color: #ffffff;
}
.tiles .tile .highlight {
	margin-top: 4px;
	height: 2px;
	border-radius: 2px;
}
.tile.purple {
	border-color: #5133AB;
}
.tile.purple:hover {
	border-color: darken(#5133AB, 10%);
}
.tile.red {
	border-color: #AC193D;
}
.tile.red:hover {
	border-color: darken(#AC193D, 10%);
}
.tile.green {
	border-color: #5cb85c;
}
.tile.green:hover {
	border-color: darken(#5cb85c, 10%);
}
.tile.blue {
	border-color: #0275d8;
}
.tile.blue:hover {
	border-color: darken(#0275d8, 10%);
}
.tile.orange {
	border-color: #FF8C00;
}
.tile.orange:hover {
	border-color: darken(#FF8C00, 10%);
}

/* varie */

.mobile_hidden { display: block; }
.mobile_only { display: none; }
.error_reporting { text-align: right; }
.error_reporting p { margin: 0; }
.mce-i-flag { font-family: FontAwesome !important; }
.user-profile { margin: 0 -15px; }
.panel-heading.row, .panel-footer.row {
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}
.user-panels .panel > .list-group {
	max-height: 170px;
	overflow: auto;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.list-group label {
	background-color: #c0c0c0;
	float: right;
}

/* mobile */

@media only screen and (max-width: 480px) {
	.form-group > label, .fm-left { width: 39%; }
	.fm-right { width: 59%; }
	.fm-submit, .fm-other, #fm-progressbar { padding-left: 40%; }
	.fm-other { padding: 0 5px; }
	.mobile_hidden { display: none; }
	.mobile_only { display: block; }
	.login-method {
		width: 100%;
		margin-right: 0;
	}
	div.filter { width: 33.333%; }
	select.link-type, .form-control.link-spec { width: 100%; }
	select.link-type { margin-bottom: 5px; }
}