/*
 * 1. GLOBAL
 * 2. NAVIGATION
 * 3. HEADER
 * 4. FORM
 * 5. TABLE
 * 6. INTERACTION
 * 7. CHART
 * 8. OTHER
 */

/* 1. GLOBAL */
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;
}
div.alert {
    margin-top: 14px;
}
a {
    color: #D52A2A;
}
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: #D52A2A;
}
i[class*="icon-white"] {
    color: #ffffff;
}
.label i[class^="icon"], .label:hover i[class^="icon"] {
    color: #ffffff;
}
li[onclick], tr[onclick] {
    cursor: pointer;
}
*[class^="label"] i[class^="icon"] {
    margin: 0;
}
.text-error i[class^="icon-"] {
    color: #b94a48;
    margin-right: 5px;
}
span.label {
    font-size: 0.9em;
    padding: 0.2em 0.4em;
}
span.value {
    display: inline-block;
    font-weight: bold;
    position: relative;
    top: 0.1em;
}
.sl-float-left {
    float: left;
}
.sl-float-right {
    float: right;
}

/* 2. NAVIGATION */
.nav.nav-tabs .active {
    font-weight: 600;
}
.nav.nav-tabs .active a {
    text-transform: uppercase;
}
.nav.nav-tabs *[class^="label"] {
    margin-left: 4px;
}
.navbar-inverse .navbar-inner {
    background: #333333;
    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 i[class^="icon-"] {
    margin: 0 0 0 4px;
}
.navbar-inner .dropdown.user .dropdown-menu li {
    color: #000000;
    text-align: right;
    text-transform: uppercase;
    font-size: .9em
}
.navbar-inner .dropdown.user .dropdown-menu li a {
    padding-right: 12px;
}
.navbar-inner .dropdown.user .dropdown-menu li a:hover {
    background: #D52A2A;
}
.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;
}
.sl-overview .sl-tile {
    background-color: #F5F5F5;
    color: #333333;
    margin-bottom: 15px;
}
.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;
}
.sl-info-box a {
    background-color: #D52A2A;
    color: white;
    display: block;
    padding: 1em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: normal;
}
.sl-info-box a:hover, .sl-info-box a:hover > *[class^="icon-"] {
    background-color: #f5f5f5;
    color: #D52A2A;
}
.sl-info-box a > * {
    display: inline;
}
.sl-info-box a > *[class^="icon-"] {
    color: #ffffff;
    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;
}
/* DESTINAZIONI UTENTE */
.sl-user-sidebar {
    background-color: #333;
}
.sl-user-title, .sl-user-nav {
    color: #ffffff;
    padding: 10px 20px 15px 20px;
}
.sl-user-title h1 {
    font-size: 1.8em;
    font-weight: 600;
    text-transform: uppercase;
}
.sl-user-title h1 a {
    color: #FFFFFF;
    text-decoration: none;
}
.sl-user-title small {
    color: #999;
    font-size: 1.2em;
    text-transform: none;
}
.sl-user-nav {
    background-color: #7F7E7E;
    list-style: none;
    margin: 0;
    padding: 0;
}
.sl-user-nav li {
    padding: 0;
}
.sl-user-nav li a {
    color: #fff;
    display: block;
    font-weight: bolder;
    padding: .5em .5em .5em 20px;
    text-decoration: none;
    text-transform: uppercase;
}
.sl-user-nav li a small {
    float: right;
    font-size: 75%;
    font-weight: normal;
    margin-top: 3px;
}
.sl-user-nav li a i[class^="icon"] {
    margin-left: 2px;
    visibility: hidden;
}
.sl-user-nav li a:hover, .sl-user-nav li.active a {
    background-color: #D52A2A;
}
.sl-user-nav li a:hover i[class^="icon"] {
    visibility: visible;
}
.sl-user-info .actions .btn {
    border-radius: 0;
}
#sl-user-profile, #sl-user-profile fieldset:first-child {
    margin-top: 0;
}

/* 3. HEADER */
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;
}
header h1 small {
    padding-left: 5px;
}
body > header h1 small {
    font-size: .6em;
    font-weight: 600;
    text-transform: uppercase;
}
.sl-public-header h1 {
    border-bottom: 1px solid #efefef;
    color: #555555;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* 4. FORM */
select {
    padding-top: 0;
}
.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 {
    margin-top: 20px;
}
form ul {
    color: #D52A2A;
    margin-bottom: 5px;
}
form label {
    color: #333;
}
form label .label {
    margin-left: 10px;
}
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;
}
form > div[class="input-prepend"] {
    display: block;
}

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: #D52A2A;
    padding-top: 0;
}
form fieldset {
    margin-top: 10px;
}
form fieldset legend {
    background-color: #f8f8f8;
    border-left: 5px solid #999;
    color: #333333;
    font-size: 1.2em;
    font-weight: 600;
    margin: 15px 0;
    padding: 0 .5em;
    text-transform: uppercase;
}
form fieldset legend:first-child {
    margin-top: 0;
}
form fieldset legend i[class^="icon"] {
    color: #333333;
    font-size: 85%;
    margin-right: 5px;
}
form fieldset div {
    margin-bottom: 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;
}
button[type="submit"], input[type="submit"] {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.sl-checkbox {
    margin-bottom: 10px;
}
#login {
    margin: auto;
    padding: 0;
    width: 330px;
}
#login img {
    margin: 5px 0 20px 0;
}
#login form {
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333333;
    margin: auto;
    padding: 1.5em 2em;
}
#login form h1 {
    border-bottom: 1px solid #DEDEDE;
    margin-bottom: 15px;
    font-size: 2.2em;
    padding-bottom: 5px;
    font-variant: small-caps;
}
#login form div > label, #signup div > label {
    color: #555;
}
#login form div > label:first-child, #signup div > label:first-child {
    font-weight: 600;
    text-transform: uppercase;
}
#login .sl-login-alt {
    margin-top: 15px;
    border-top: 1px solid #DEDEDE;
}
#login .sl-login-alt a {
    color: #04c;
    display: block;
    font-size: 1em;
    margin-top: 10px;
}
#login form button {
    margin-top: 12px;
}
#signup {
    margin-top: 25px;
}
#signup fieldset {
    width: 80%;
}
#signup .tos {
    margin: 0.6em 0;
}
#signup .tos legend {
    margin-bottom: 5px;
}
#signup .tos > div {
    margin: 5px 0;
}
#signup .tos .sl-form-captcha {
    margin-top: 15px;
}
#signup .tos .sl-form-captcha img {
    display: block;
    margin-bottom: 5px;
}

/* 5. TABLE */
table a:hover, table a:focus {
    text-decoration: none;
}
table + table {
    margin-top: 25px;
}
/* DataTables plugin */
.dataTables_wrapper {
    margin-top: 25px;
}
*[class^="span"] .dataTables_wrapper, .tab-pane .dataTables_wrapper, .actions + .dataTables_wrapper {
    margin-top: 0;
}
.dataTables thead th {
    text-align: center;
}
.dataTables_length {
    padding-left: 8px;
}
.dataTables_length select {
    margin-left: 5px;
    margin-right: 5px;
}
.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;
}
td .btn-link {
    color: #d52a2a;
}
td .btn-link:hover {
    background-color: #D52A2A;
    color: #ffffff;
    text-decoration: none;
    text-shadow: none;
}
.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;
}
.sl-titolo-utente {
    display: block;
}
table .sl-progress {
    padding-right: 0;
    width: 100px;
}
table .sl-progress > .progress {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}
table .sl-progress + td span {
    position: relative;
    top: 2px;
}
table.tassi.operazione td span[class^="text-"] {
    padding-left: 0.6em;
}
.sl-table-summary {
    width: 60%;
    max-width: 50em;
}

/* 6. INTERACTION */
.btn {
    font-family: 'Open Sans', Verdana, sans-serif !important;
}
.btn-label {
    padding-left: 5px;
}
.tab-pane .btn-group a.dropdown-toggle, .tab-pane a.btn {
    text-transform: uppercase;
    font-weight: 600;
}
.tab-pane .btn-group, .tab-pane .row-fluid > .btn {
    margin-bottom: 15px;
}
.dropdown-menu > li > a {
    font-weight: 500;
    text-transform: uppercase;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-submenu:hover > a, .dropdown-submenu:focus > a {
    background: #D52A2A;
    color: white;
}
.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;
}

/* 7. CHART */
.sl-grafici-inline * {
    margin-bottom: 15px;
}
.sl-chart-container {
    margin-top: 25px;
    text-align: left;
}
div[class^="span"] .sl-chart-container {
    margin-top: 0;
}
.tab-content .sl-chart-container {
    margin-top: 0;
}
.sl-chart {
    border: 1px solid #f5f5f5;
    display: inline-block;
    margin-right: 2%;
    margin-bottom: 25px;
    width: 400px;
    padding: 0;
    text-align: center;
}
.sl-chart > div[id] {
    border: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}
.sl-chart.sl-chart-large {
    width: 500px;
}
.sl-chart.sl-chart-full {
    display: block;
    height: 360px;
    width: 95%;
}
.sl-chart h1 {
    background-color: #f5f5f5;
    color: #999;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    padding: .2em .4em;
    text-align: center;
    text-transform: uppercase;
}
.sl-chart.well {
    color: #666666;
    padding: 1em 0;
    text-align: center;
    width: 95%;
}
.sl-chart-message {
    color: #999999;
    font-size: 1.2em;
    margin: auto 0;
    padding: 2em 1em;
    text-align: center;
}
.sl-chart-note {
    margin: 0 0 0 10px;
}
.sl-chart-peaks {
    width: 95%;
}
.sl-chart-peaks h1 {
    background-color: #F5F5F5;
    color: #999999;
    font-size: 1em;
    margin: 0;
    text-align: center;
}
.sl-chart-peaks ul {
    border: 1px solid #F5F5F5;
    padding: 15px 10px;
}
.sl-chart-peaks ul li {
    border: 1px solid #F5F5F5;
    display: inline;
    padding: 0.5em;
}
.sl-chart-peaks ul li:nth-of-type(odd) {
    background-color: #F5F5F5;
    color: #333333;
}
.sl-chart-peaks ul li span {
    font-style: italic;
}
.sl-tooltip {
    font-size: 110%;
}

/* 8. OTHER */
.sl-user-summary {
    background-color: #F5F5F5;
    padding: 1em;
}
.sl-user-summary ul li {
    line-height: 1.8;
}
.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;
    text-transform: uppercase;
}
.inline-metadata dl > dd {
    margin: 0 1em 0 0;
}
.inline-metadata dl > * {
    display: inline-block;
}
.inline-metadata dl > dt.presente {
    color: #d52a2a;
}
.legend {
    margin-bottom: 15px;
}
.legend > * {
    display: inline-block;
}
.legend .label-info {
    padding: 0.4em 0.6em;
}
.legend > ul {
    font-size: 0.9em;
    list-style-type: none;
}
.legend > ul > li {
    background-color: #F5F5F5;
    border-radius: 5px;
    display: inline-block;
    padding: 0.3em 0.5em;
}
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 {
    margin-bottom: 15px;
}
.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 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;
}
.profilo address ul li {
    line-height: 2;
}
.membri .row-fluid section {
    background-color: #f5f5f5;
    border: 1px solid #efefef;
    border-radius: 5px;
    margin-bottom: 1em;
    margin-top: 1em;
    padding: 0 1em;
}
.membri .row-fluid section h1 {
    border-bottom: 1px solid #E3E3E3;
    color: #333;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
}
.membri .row-fluid section ul {
    padding-bottom: 0;
}
.membri address {
    font-style: italic;
}
.membri .btn-group {
    float: right;
    position: relative;
    top: 5px;
}
.membri .btn-group i {
    margin: 0;
}
#responsabile {
    background-color: #f5f5f5;
    box-shadow: inset 4px 4px 5px #efefef;
    border: 1px solid #E3E3E3;
    padding: .6em 1em;
    text-transform: uppercase;
    font-weight: 600;
}
#responsabile a i[class^="icon"] {
    position: relative;
    top: 2px;
}
#responsabile a i[class^="icon"]:hover {
    color: #D52A2A;
    text-decoration: none;
}
#responsabile i[class^="icon"] {
    color: #000000;
    font-size: 125%;
}
#responsabile p {
    border: 0;
    margin: 0;
    padding: 0;
}

/* ACCORDION */
#accordion-garanzie .accordion-group {
    margin-bottom: 15px;
}
#accordion-garanzie .accordion-group .accordion-heading {
    background-color: #F5F5F5;
    font-weight: 600;
    text-transform: uppercase;
}
#accordion-garanzie .accordion-group .accordion-heading a {
    text-decoration: none;
}

.ab-documenti h2 {
    background-color: #F5F5F5;
    color: #333333;
    font-size: 1.2em;
    padding: 0 10px;
    text-transform: uppercase;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1300px) {
    .sl-user-nav li a small {
        display: none;
    }
}
@media (max-width: 979px) {
    .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;
    }
    .sl-user-nav li a small {
        display: none;
    }
}
@media (max-width: 767px) {
    body > header h1 {
        font-size: 22px;
        text-align: center;
    }
    body > header h1 small {
        font-size: 18px;
    }
    .sl-user-nav li a small {
        display: none;
    }
}