/* GLOBALI */
body {
    font-family: 'Open Sans', Verdana, sans-serif;
    padding-top: 60px;
    padding-bottom: 40px;
    word-wrap: break-word;
}
div, header, h1, h2, ul, li, dl, p, th, td, .actions {
    border: 0;
    margin: 0;
    padding: 0;
}
table a:hover, table a:focus {
    text-decoration: none;
}
a {
    color: #d52b2a;
}
tr[onclick] {
    cursor: pointer;
}
p {
    padding: 0.5em 0;
}
ul {
    list-style-type: none;
}
ul > li {
    line-height: 1.4;
}
i[class^="icon-"] {
    color: #000000;
    margin-right: 8px;
}
i[class^="icon-"]:hover {
    color: #d52b2a;
}
i[class*="icon-white"] {
    color: #ffffff;
}
*[class^="label"] i[class^="icon"] {
    margin: 0;
}
.sl-label-icon {
    margin-left: 4px;
}
span.label {
    font-size: 0.9em;
    padding: 0.2em 0.4em;
}
span.value {
    display: inline-block;
    font-weight: bold;
    position: relative;
    top: 0.1em;
}
.pagination {
    text-align: center;
    margin-top: 10px;
}
.nav.nav-tabs .active {
    font-weight: 600;
}
.nav.nav-tabs *[class^="label"] {
    margin-left: 4px;
}
.sl-grafici-inline * {
    margin-bottom: 15px;
}
.sl-float-right {
    float: right;
}

/* INTESTAZIONI */
body > header {
    background-color: #f5f5f5;
    position: relative;
    bottom: 19px;
    padding: 2em 1em;
}
body > header h1 {
    color: #333333;
    font-size: 2.6em;
    font-weight: 600;
}
body > header h1 a {
    color: #333;
    text-decoration: none;
}
.page-header {
    margin-bottom: 12px;
}
.page-header h1 {
    font-variant: small-caps;
}
.page-header h1 small {
    font-variant: normal;
}

/* NAVIGAZIONE */
.navbar-inverse .navbar-inner {
    background: #3A3A3A;
    border: none;
    box-shadow: none;
}
.navbar-inner a.brand, .navbar-inner a.brand:hover {
    color: #ffffff;
    font-weight: bold;
}
.navbar-inner a.brand span {
    color: #FF6161; /*D52A2A*/
}
.navbar-inner .dropdown.user {
	color: white;
    float: right;
}
.navbar-inner .dropdown.user > a {
    background: none;
    box-shadow: none !important;
    border: none !important;
    text-shadow: none !important;
	color: white;
	font-size: 1.1em;
	font-variant: small-caps;
	font-weight: bold;
    margin-bottom: 5px;
}
.navbar-inner .dropdown.user > a > *[class*="icon-"] {
    margin-left: 5px;
}
.navbar-inner .dropdown.user .dropdown-menu li {
    color: #000000;
    text-align: right;
}
.navbar-inner .dropdown.user .dropdown-menu li a:hover {
    background: #d52b2a;
}
.navbar-inner .dropdown.user .dropdown-menu li a:hover i[class^="icon"] {
    color: #ffffff;
}
.navbar-inner a.brand + p.user a {
	font-size: 14px;
	font-variant: normal;
	font-weight: normal;
}
.navbar-inner a.brand + p span {
	color: #D52A2A;
	margin: 0 5px;
}
.navbar-inner a.brand + p a:hover {
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px dotted white;
}
#sidebar .sidebar-nav {
    padding: 9px 0;
}
#sidebar .sidebar-nav ul li {
    font-size: 14px;
    line-height: 1.7;
}
#sidebar .sidebar-nav ul li a {
    color: #D52A2A;
}
#sidebar .sidebar-nav ul li.active a {
    background-color: #D52A2A;
    color: white;
    font-weight: bold;
}
#sidebar .sidebar-nav ul li.disabled a {
    color: #999999;
}
#sidebar .sidebar-nav ul li.nav-header {
    font-size: 12px;
    border-bottom: 1px solid #E3E3E3;
}
#sidebar .sidebar-nav ul li:FIRST-CHILD {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}
#sidebar .sidebar-nav ul li.studio a:hover {
    border-right: none;
}

/* SCHEDE DI RIEPILOGO (aka TILE) */
.sl-overview .sl-tile {
    background-color: #F5F5F5;
    color: #333333;
    margin-bottom: 10px;
}
.sl-overview .sl-tile h1 {
    padding: 12px 10px;
}
.sl-overview .sl-tile h1 {
    float: left;
    font-size: 2.2em;
    font-variant: small-caps;
    font-weight: 500;
}
.sl-overview .sl-tile .sl-content {
    float: right;
    font-size: 2.4em;
    padding: 15px 10px 5px 10px;
    text-align: right;
}
.sl-overview .sl-tile .sl-content small {
    color: #5e5e5e;
    display: block;
    font-size: .4em;
    font-style: italic;
    padding: .8em 0 0 0;
}
.sl-overview .sl-tile .sl-more {
    background-color: #F9F9F9;
    clear: both;
    display: block;
    padding: 6px 10px;
    text-align: right;
    text-decoration: none;
}

/* INFORMAZIONI INLINE */
.inline-metadata {
    margin-bottom: 12px;
}
.inline-metadata > * {
    display: inline-block;
}
.inline-metadata h1 {
    margin-right: 6px;
}
.inline-metadata dl > dt {
    background-color: #f5f5f5;
    color: #333333;
    font-size: 1em;
    margin-bottom: 10px;
    padding: 0.4em 0.8em;
}
.inline-metadata dl > dd {
    margin: 0 1em 0 0;
}
.inline-metadata dl > * {
    display: inline-block;
}
.inline-metadata dl > dt.presente {
    color: #d52a2a;
}

/* AZIONI */
.metro-container {
    margin-top: 20px;
}
.metro-container a:hover, .metro-container a:focus {
	text-decoration: none;
}
.sl-info-box a {
	background-color: #D52A2A;
	color: white;
    display: block;
    padding: 1.2em;
}
.sl-info-box a > * {
    display: inline;
}
.sl-info-box a > *[class^="icon-"] {
    font-size: 1.8em;
    margin-right: .5em;
}
.sl-info-box a > *[class^="icon-chevron-right"] {
    float: right;
    font-size: 1.6em;
    margin-right: 0;
}
.sl-info-box p {
	font-size: 1.2em;
    font-weight: 600;
    padding: 0;
    position: relative;
    bottom: 2px;
}
.actions {
    margin-bottom: 15px;
}
.actions > li {
    display: inline-block;
    margin-bottom: 5px;
}
.actions form {
    background-color: #E6E6E6;
    color: #D52A2A;
    display: inline;
}
.action-btn {
    background: #D52A2A;
    border: none;
    box-shadow: none;
    color: white;
    font-family: 'Open Sans', Verdana, sans-serif !important;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: none;
}
.action-btn:hover i[class^="icon-"] {
    color: black;
}
.row-fluid.legend {
    margin-bottom: 15px;
}
.row-fluid.legend > * {
    display: inline-block;
}
.row-fluid.legend .label-info {
    padding: 0.4em 0.6em;
}
.row-fluid.legend > ul {
    font-size: 0.9em;
    list-style-type: none;
}
.row-fluid.legend > ul > li {
    background-color: #F5F5F5;
    border-radius: 5px;
    display: inline-block;
    padding: 0.3em 0.5em;
}

/* MESSAGGI & ERRORI */
.text-error i[class^="icon-"] {
	color: #b94a48;
	margin-right: 5px;
}
.form-inline > .errors ul {
    padding: 0;
}
.form-inline > .alert.errors {
    margin: 10px 0 20px 0;
}
.form-inline > .errors.alert ul {
    border: 0;
    margin: 0;
    padding: 0;
}

/* FORM */
form {
    margin-top: 20px;
}
form ul {
    color: #D52A2A;
    margin-bottom: 5px;
}
form label {
    color: #333;
}
form select.sl-select-30 {
    width: 30em;
}
p + form {
    margin-top: 10px;
}
form h2 {
    font-size: 15px;
    text-transform: uppercase;
}
form [class^="span"] {
    border-right: 1px solid #efefef;
}
form [class^="span"] select {
    width: 90% !important;
}
form [class^="span"]:last-child {
    border-right: none;
}
form .row-fluid {
    border-top: 1px solid #efefef;
    margin-bottom: 15px;
}
form .row-fluid:first-child {
    border-top: none;
    margin-bottom: 0;
}
form .row-fluid:last-child .btn {
    display: block;
}
form .row-fluid:last-child > div {
    display: inline-block;
    margin: 0 15px 5px 0;
}
.row-fluid > form > fieldset {
    background-color: #f9f9f9;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
    margin: 1.2em 0;
    padding: 1em 1.6em;
}
form > div[class="input-prepend"] {
    display: block;
}
div.tos {
    margin: 0.6em 0;
}
fieldset.action {
    margin-top: 10px;
}
button[class="close"] {
    margin: 0;
}
input[type=checkbox] {
    margin: 0;
}
input[type=checkbox] + label {
    display: inline;
    vertical-align: middle;
    margin-left: .4em;
}
select.operazioni {
    width: 40%;
}
select [id*="banca"] {
    width: 30em;
}
.form-inline {
    margin: 0;
}
.form-inline input, .form-inline select, .form-inline button {
    margin-bottom: 5px;
}
.progress {
    height: 30px;
}
.progress .bar {
    font-size: 16px;
    font-weight: bold;
    padding-top: 4px;
}
form label + ul {
    color: #d52b2a;
    padding-top: 0;
}

/* FORM > FIELDSET */
form fieldset {
    margin-top: 10px;
}
form fieldset legend {
    background-color: #f8f8f8;
    color: #333333;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding: 2px 8px;
    text-transform: uppercase;
}
form fieldset legend i[class^="icon"] {
    color: #333333;
    font-size: 85%;
    margin-right: 5px;
}
form fieldset div h1 {
    border-bottom: 1px solid #efefef;
    color: #333333;
    font-size: 1.2em;
    font-weight: normal;
    margin-top: 5px;
    text-transform: uppercase;
}

/* FORM > INPUT & SELECTOR */
button[type="submit"], input[type="submit"] {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.sl-checkbox {
    margin-bottom: 10px;
}


/* TABELLE */
.sl-table-container h1 {
    border-bottom: 1px solid #efefef;
    color: #333333;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
}
table th[colspan] {
    text-align: center;
    text-transform: uppercase;
}
table td .badge {
    margin: 0 2px;
}
.table th small {
    font-weight: 600;
}
.table-paginated {
    margin-bottom: 0;
}
table td.more {
    text-align: right;
}
table tr th:first-child {
    text-align: left;
}
table td.btn-group {
    display: table-cell;
    position: inherit;
}
table td.btn-group i[class^="icon-"] {
    margin-right: 0;
}
table.estratto tbody tr th:FIRST-CHILD {
    color: #999;
    text-transform: uppercase;
}
.sl-table-actions tr td {
    vertical-align: middle;
}
.sl-table-actions form {
    display: inline;
}
.sl-table-medium {
    max-width: 650px;
}
.sl-table-large {
    max-width: 750px;
}
.table .sl-table-header th {
    background-color: #F5F5F5;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center !important;
}
.table .sl-table-header th small {
    text-transform: none;
}
.table td.sl-empty {
    background-color: #f9f9f9;
}
.sl-table-aggregate {
    background-color: #F5F5F5;
    color: #333333;
    font-weight: 600;
}

/* STATISTICHE
 * Widget per la visualizzazione di informazioni (.statistica), suddiviso in:
 * - intestazione con titolo <h1> e informazione <p> (.dati)
 * - dati strutturati (...)
 * - collegamento <a> ai dettagli (.azione)
 */
.statistica > .dati {
    background-color: #FF6161;
    color: #ffffff;
    margin-top: 15px;
}
.statistica > .dati, .statistica > .azione a {
    padding: 5px 10px;
}
.statistica > .dati h1 {
    font-size: 1.25em;
    font-weight: normal;
    text-transform: uppercase;
}
.statistica > .dati i[class^="icon"] {
    color: #ffffff;
}
.statistica > .dati > * {
    display: inline;
    vertical-align: middle;
}
.statistica > .dati p {
    float: right;
    font-size: 1.8em;
    font-weight: bold;
    padding: 0.4em 0;
}
.statistica > .azione {
    background-color: #D52A2A;
    clear: both;
    font-weight: normal;
}
.statistica > .azione a {
    color: white;
    display: block;
    font-style: italic;
    font-size: 1em;
    text-decoration: none;
}
.statistica > .azione a:hover {
    font-variant: small-caps;
}
.statistica > .azione a:hover i {
    font-variant: normal;
}
.statistica > .dettagli a {
    font-weight: bold;
    text-decoration: none;
}
.statistica > .dettagli dl {
    display: block;
}
.statistica > .dettagli dt, .statistica > .dettagli dd {
    padding: 0.4em 0;
}
.statistica > .dettagli dt {
    border-left: 1px solid #efefef;
    clear: right;
    float: left;
    font-weight: normal;
    padding-left: 5px;
}
.statistica > .dettagli dd {
    border-right: 1px solid #efefef;
    padding-right: 5px;
    float: right;
}
.statistica > .dettagli dd i[class^="icon"] {
    margin: 0;
}

/* INFORMATION */
.sl-info-inline {
    margin-bottom: 20px;
}
.sl-info-inline > * {
    display: inline;
}
.sl-info-inline > dt {
    background-color: #F5F5F5;
    padding: 0.3em 0.6em;
}
.sl-info-inline > dd {
    margin: 0 15px 0 0;
}

.modal-body p {
    line-height: 1.6;
}
.modal-body p em {
    font-style: normal;
    font-weight: 600;
}
.modal-header {
    font-weight: 600;
    font-variant: small-caps;
}

/* TABELLE */
.table td {
    vertical-align: middle;
}
table td ul li {
    display: inline;
    line-height: 2;
    margin-right: .4em;
    padding: 0;
}
table td ul li.sl-action {
    background-color: #ffffff;
}
table td ul li a {
    background-color: #F5F5F5;
    margin: 0;
    padding: .2em .5em;
}
table td ul li a.sl-action-icon {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}
table td ul li a.sl-action-icon-alt {
    background-color: #D52A2A;
    color: #ffffff;
}
table .sl-form-delete {
    display: inline;
    margin-left: 5px;
}
table .sl-form-delete button {
    border-radius: 4px;
}
table .sl-form-delete button i[class^="icon"] {
    color: #ffffff;
    font-weight: normal;
}
table .sl-table-summary {
    background-color: #F5F5F5;
    color: #333;
}

/* PERIZIA */
.sl-titolo-utente {
    display: block;
}

/* GRAFICI */
.sl-grafico {
    margin-bottom: 20px;
    width: 100%;
    height: 400px;
    overflow: visible !important;
}
.sl-grafici-torta div[id^="highcharts"] {
    height: 400px !important;
}

/* ADMIN */
table.tassi.operazione td span[class^="text-"] {
    padding-left: 0.6em;
}
ul.operazioni {
    padding-top: 0.5em;
}
.operazioni li {
    padding: 0.4em;
}
.operazioni li:nth-child(odd) {
    background-color: #F9F9F9;
}
#main > header {
    margin-bottom: 15px; /* Aumenta il margine tra titolo della pagina e legenda */
}
.user-status {
    margin-bottom: 10px; /* Etichetta di segnalazione dello stato dell'utente: ATTIVO/NON ATTIVO */
}
.user-status.label {
    margin-bottom: 10px;
    padding: 0.5em 0.8em;
    font-size: 1.2em;
}
.user-status li {
    line-height: 1.8;
}
.studio-status {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.studio-status li {
    padding: 0.2em 0;
}
.studio-status.label {
    padding: 0.4em;
    font-size: 1.2em;
}
.studio-status li {
    line-height: 1.6;
}

/* ANAGRAFICA */
#anagrafica section {
    border-right: 2px solid #F5F5F5;
    padding: 0.4em 0 0.8em 0;
}
#anagrafica section:last-child {
    border-right: none;
}
#anagrafica h1 {
    font-size: 1.4em;
    padding-bottom: 0.4em;
    text-transform: uppercase;
}
#anagrafica ul li {
    padding-bottom: 0.6em;
}
#anagrafica address {
    display: inline;
}
#anagrafica i[class^="icon"] {
    padding-right: 10px;
}

.pratica, .conto-corrente {
    background-color: #f5f5f5;
    border-radius: 10px;
    margin: 10px 0;
    padding: 8px 16px;
}
article.pratica h1 {
    font-size: 1.2em;
}
article.pratica h1 small {
    font-size: 1em;
    margin-left: 10px;
}
article.pratica ul {
    font-size: 1.1em;
}
article.pratica ul > li {
    line-height: 1.6;
}

/* CONTO CORRENTE */
.conto-corrente th {
    background-color: #ffffff;
}
.conto-corrente header h1 {
    font-size: 1.6em;
}
.conto-corrente header h1 small {
    font-size: 0.8em;
}
.conto-corrente .estratti li {
    display: inline-block;
}
.conto-corrente .estratti li a {
    display: block;
    padding: 0.3em 0.6em;
}
.conto-corrente > .btn-group {
    float: right;
    margin-top: 5px;
}
.conto-corrente > .btn-group i[class^="icon-"] {
    margin: 0;
    padding: 2px;
}
/* BARRA DI AVANZAMENTO */
.sl-progress {
    padding-right: 0;
    width: 100px;
}
.sl-progress > .progress {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}
.sl-progress + td span {
    position: relative;
    top: 2px;
}

header h1 small {
    padding-left: 5px;
}
div.alert {
    margin-top: 14px;
}
.btn-label {
    padding-left: 5px;
}
td .btn-link {
    color: #d52a2a;
}
td .btn-link:hover {
    background-color: #D52A2A;
    color: #ffffff;
    text-decoration: none;
    text-shadow: none;
}

/* STUDIO */
.profilo address ul li {
    line-height: 2;
}
.membri article {
    background-color: #f5f5f5;
    border: 1px solid #efefef;
    border-radius: 5px;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 0 1em;
}
.membri article h1 {
    border-bottom: 1px solid #E3E3E3;
    color: #333;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: normal;
    margin-bottom: 5px;
}
.membri article ul {
    padding-bottom: 0;
}
.membri address {
    font-style: italic;
}
.membri .btn-group {
    float: right;
    position: relative;
    top: 5px;
}
.membri .btn-group i {
    margin: 0;
}

/* DESTINAZIONI UTENTE */
.main-title {
    color: #333;
    padding: 1em 0;
}
.main-title h1 {
    font-size: 2.4em;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}
.main-title h1 small {
    font-size: .8em;
    margin-left: 5px;
    text-transform: none;
}
form#login {
    background-color: #f7f7f7;
    margin: auto;
    width: 20em;
    padding: 2em;
}
form#login h1 {
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 15px;
    font-size: 2.2em;
    padding-bottom: 5px;
    font-variant: small-caps;
}
form#login p {
    border-top: 1px solid #DEDEDE;
    margin-top: 15px;
}
form#login p a {
    color: #04c;
    font-size: 1em;
}
form#login button {
    margin-top: 12px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 979px) {
    /* Enable use of floated navbar text */
    .navbar-text.pull-right {
        float: none;
        padding-left: 5px;
        padding-right: 5px;
    }

    .navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
        padding: 0 !important;
    }
}

@media (max-width: 767px) {
    body > header h1 {
        font-size: 22px;
        text-align: center;
    }
    body > header h1 small {
        font-size: 18px;
    }
}