/*!
    
 =========================================================
 * WebEngine CMS
 * https://webenginecms.org/
 =========================================================
 * Licensed under the MIT license
 * http://opensource.org/licenses/MIT
 =========================================================
 
*/

/* ---------------------------------------------------------
   GLOBAL LINKS
--------------------------------------------------------- */
a:focus,
a:hover {
    color: inherit !important;
    text-decoration: none !important;
}

/* ---------------------------------------------------------
   BOOTSTRAP TABLE FIX - DARK UNIFORM
--------------------------------------------------------- */
.table,
.table-responsive,
.table-bordered,
table {
    background: transparent !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th,
table > tbody > tr > td,
table > tbody > tr > th,
table > tfoot > tr > td,
table > tfoot > tr > th,
table > thead > tr > td,
table > thead > tr > th {
    background: rgba(0, 0, 0, 0.72) !important;
    color: #eaeaea !important;
    border-top: none !important;
    border-right: none !important;
    border-left: 1px solid rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* prima colonna senza riga verticale */
.table > tbody > tr > td:first-child,
.table > tbody > tr > th:first-child,
.table > tfoot > tr > td:first-child,
.table > tfoot > tr > th:first-child,
.table > thead > tr > td:first-child,
.table > thead > tr > th:first-child,
table > tbody > tr > td:first-child,
table > tbody > tr > th:first-child,
table > tfoot > tr > td:first-child,
table > tfoot > tr > th:first-child,
table > thead > tr > td:first-child,
table > thead > tr > th:first-child {
    border-left: none !important;
}

/* header tabelle */
.table > thead > tr > th,
.table > thead > tr > td,
table > thead > tr > th,
table > thead > tr > td {
    background: rgba(0, 0, 0, 0.88) !important;
    color: #8fd3ff !important;
    font-weight: bold !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

/* righe uniformi */
.table > tbody > tr:nth-child(odd) > td,
.table > tbody > tr:nth-child(odd) > th,
.table > tbody > tr:nth-child(even) > td,
.table > tbody > tr:nth-child(even) > th,
table > tbody > tr:nth-child(odd) > td,
table > tbody > tr:nth-child(odd) > th,
table > tbody > tr:nth-child(even) > td,
table > tbody > tr:nth-child(even) > th {
    background: rgba(0, 0, 0, 0.72) !important;
}

/* hover righe */
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th,
table tbody tr:hover td,
table tbody tr:hover th {
    background: rgba(10, 10, 10, 0.82) !important;
    color: #ffffff !important;
}

/* elimina effetto tabella doppia bootstrap */
.table-bordered,
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
    border: none !important;
}

/* tabelle annidate */
table table,
.table table {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   FORMS
--------------------------------------------------------- */
.form-control {
    background: rgba(0, 0, 0, 0.82) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #eaeaea !important;
    box-shadow: none !important;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.90) !important;
    border: 1px solid rgba(143,211,255,0.22) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   BOOTSTRAP HELPERS
--------------------------------------------------------- */
.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

/* ---------------------------------------------------------
   THUMBNAILS
--------------------------------------------------------- */
.thumbnail {
    background-color: rgba(0, 0, 0, 0.82) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: none !important;
}

a.thumbnail:hover,
a.thumbnail:focus,
a.thumbnail.active {
    border-color: rgba(143,211,255,0.22) !important;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn-primary {
    color: #8fd3ff !important;
    background-color: rgba(0, 0, 0, 0.82) !important;
    border-color: rgba(143,211,255,0.22) !important;
    -moz-transition: all .1s ease-in;
    -o-transition: all .1s ease-in;
    -webkit-transition: all .1s ease-in;
    transition: all .1s ease-in;
    -moz-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    color: #ffffff !important;
    background-color: rgba(20, 20, 20, 0.95) !important;
    border-color: rgba(143,211,255,0.35) !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   FORMS LABELS
--------------------------------------------------------- */
.form-horizontal .control-label {
    text-align: left !important;
    color: #d8d8d8 !important;
}

/* ---------------------------------------------------------
   EXTRA FIX PER LINEE CHIARE DI BOOTSTRAP
--------------------------------------------------------- */
.panel,
.panel-default,
.panel-heading,
.panel-body,
.panel-footer,
.well,
.list-group-item {
    background: rgba(0, 0, 0, 0.82) !important;
    border-color: rgba(255,255,255,0.04) !important;
    color: #eaeaea !important;
    box-shadow: none !important;
}

hr {
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.04) !important;
}

/* eventuali celle con style inline chiaro */
td[style],
th[style] {
    border-color: rgba(255,255,255,0.03) !important;
}