/*
 * Copyright (c) 2019.
 * SIC - Servizi Integrati & Consulenze S.r.l.
 * Via Rovetta 18, 20127, Milano
 * posta@sic-online.it
 */

body {
    padding-top: 70px;
    padding-bottom: 60px;
    font-size: 0.8rem;
}

nav {
    font-size: 1rem;
}
.btn .badge  {
    border-radius: 50%;
}
.rating-stars {
    font-size: 2rem;
    cursor: pointer;
}
.rating-stars i {
    color: #ddd;
    transition: all 0.3s ease;
    display: inline-block;
}
.rating-stars i:hover {
    transform: scale(1.3);
}
.rating-stars i.hover-active {
    color: #ffc107;
}
.rating-stars i.active {
    color: #ffc107;
}
/*tabella a righe alternate*/
.tabella-viaggi > table > tbody > tr > td,
.tabella-viaggi > table > tbody > tr > th {
    border: none;
}
.tabella-viaggi tbody tr:hover {
    background-color: rgba(0, 0, 0, 0);
}
.tabella-viaggi tbody tr.secondary-row:hover {
    background-color: rgba(0, 0, 0, 0.035);
}
.secondary-row {
    background-color: rgba(0, 0, 0, 0.035);
}
.primary-row {
    background-color: #fff
}

.padding0 {
    padding: 0 !important;
}

.table-wrapper{
    align-items: flex-start;
    display: flex;
    gap: 0;
}

.table-pd0 th,
.table-pd0 td {
    padding: 0.1rem 0.2rem;
}

.ui-front {
    z-index: 1000000 !important;
}

.phpError {

}

.box-gruppo {
    background-color: #f7f7f7;
    border-radius: 1%;
    border: 1px solid darkgrey;
    padding:5px 10px;
    margin-bottom:10px;
}

.viaggi-destinazioni{
    font-family: "Inter Tight", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    display: inline;
    margin-right: 6px;
}

.separatore{
    border-left: 1px solid darkgrey;
    margin:10px;
    display: inline;
    border-radius: 5%
}
.breadcrumb {
    background: inherit !important;
}

.tr-selezionata {
    background: rgba(24, 126, 62, 0.2) !important;
}

.maxwidth-150px {
    max-width: 150px;
}

/* VIAGGI */
.viaggiStato {
    border: solid 1px #ccc;
    border-radius: 5px;
    padding: 0 5px 2px;
    display: inline;
    font-weight: bold;
    white-space: nowrap;
}

/* VIAGGI */
.statoDainviareindeposito {
    background: #ffeea8;
}

/* VIAGGI */
.statoNonAttuabile {
    background: #ffe165;
}

/* VIAGGI */
.statoNonAttuabileindeposito {
    background: #ffe165;
}

/* VIAGGI */
.statoNoninviabileindeposito {
    background: #ffe165;
}

.statoInviatoindeposito\,nonattuabile {
    background: #ffe165;
}

.statoBloccato\,nonattuabile {
    background: #ffe165;
}

/* VIAGGI */
.statoCaricoeffettuato {
    background: #c0efb1;
}

.statoValidazioneincorso\,selostatopersistecontattareilDEPOSITANTE {
    background: #ffe165;
}

/* VIAGGI */
.statoCaricoeffettuatoindeposito {
    background: #c0efb1;
}

/* VIAGGI */
.statoInviatoindeposito {
    background: #d1d6ff;
}

/* VIAGGI */
.statoCancellato {
    background: hotpink; /*#ff4d4d;*/
}

/* VIAGGI */
.statoErroreDati, .statoErroredatiindeposito {
    background: #f38080;
}

.statoFineCaricoindeposito {
    background: #4BC9D7;
}

.statoFallitoprecheck {
    background: #f38080;
}

.viaggiStato.OK {
    background: #c0efb1;
}

.viaggiStato.ERROR {
    background: #f38080;
}

.viaggiStato.ATTESA {
    background: #ffeea8;
}

/* ui-select fix */
.open > .dropdown-menu {
    display: block;
}

.navbar-brand {
    position: absolute;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0;
}

#navbarSupportedContent {
   /* margin-left: 80px;*/
    overflow-x: auto;
}

.navbar {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    /*height: 50px;*/

}

#navbarSupportedContent {
    overflow-y: auto;
}

.nav-link {
    overflow: hidden;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    white-space: initial;
}

/* Da tablet/desktop in su */
@media (min-width: 768px) {
    .nav-link {
        padding-top: 0;
        padding-bottom: 0;
        border-left: 1px solid lightgrey;
        width: 6.5em;
        height: 3em;
        overflow: hidden;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
        white-space: initial;
    }
}

.lastNavItem {
    border-right: 1px solid lightgrey;
}

.nav-item.active {
    background: #E0E0E0;
    font-weight: bold;
    font-size: 1.1rem;
}
@media (max-width: 768px) {
    .nav-item {
        padding-left: 10px;
    }
}

.navbar-nav .nav-link:hover {
    color: rgba(0, 0, 0, 0.9) !important;
}

.nav-username {
    border: none;
    white-space: nowrap;
    width: max-content;
}

.infoOrdine {
    clear: both;
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 5px 20px;
    background: #eee;
    min-height: 60px;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.stati ul {
    margin-left: 0;
    padding: 0;
}

.stati li {
    list-style-type: none;
    height: 40px;
    border: solid 1px red;
}

.alberoRuoli {

}

#contenitoreAlberoRuoli {

}

.alberoRuoli ul {

}

.alberoRuoli li {
    list-style-type: none;
    margin-top: 10px;
}

.rowtotalicomp {
    border-bottom: double blue !important;
    background-color: #DD7799 !important;
}

.rowtotali {
    background-color: #C0C0EF !important;
}

/* Colorazione delle stato del buono */
span.statoBuono_corretto {
    font-weight: bold;
    font-size: 1.1em;
    color: green;
}

/* Colorazione delle stato del buono */
span.statoBuono_attesa {
    font-weight: bold;
    font-size: 1.1em;
    color: orange;
}

/* Colorazione delle stato del buono */
span.statoBuono_errato {
    font-weight: bold;
    font-size: 1.1em;
    color: red;
}

#collapseLeftmenu .list-group-item, #collapseLeftmenu .card-header {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 15px;
}

.btn-collapse {
    cursor: pointer;
}

#titolo {
    padding-left: 0;
}

.list-group-item.active, .btn-primary {
    background-color: rgb(28, 126, 66);
    border-color: rgb(28, 126, 66);
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: rgb(28, 126, 66);
    border-color: rgb(28, 126, 66);
}

small.sic-filtra {
    font-size: inherit;
    text-transform: uppercase;
}

#filtri .input-group-text {
    font-size: 0.8rem;
}

.filtriBorder {

}

.sic-ordina {
    cursor: pointer;
}
.sic-intestazione{
    /*min-width: 120px;*/
    overflow: hidden;
    display: block;
}

.sic-th-attivo {
    color: rgb(28, 126, 66);
}

.btn-attivo, .btn-attivo a:hover {
    color: #ffffff !important;
    background-color: rgb(28, 126, 66);
    border-color: rgb(28, 126, 66);
}
.btn-info-attivo, .btn-info-attivo a:hover {
    color: #ffffff !important;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.calendar-disabled {
    background-color: #e9ecef;
}


#subnav {
    position: fixed;
    top: 49px;
    left: 0;
    z-index: 999;
    width: 100%;
    background: white;
    margin: 0 !important;
    padding: 2rem 1rem 0.5rem;
}

#mainContainer {
}

#mainContainer.withSubNav {
    padding-top: 50px;
}

#sicFooter {
    font-size: 1em;
}

#collapseLeftmenu .list-group-item:first-child {
    border-radius: 0;
}

#collapseLeftmenu .list-group-item {
    border: none;
}

.minw-75 {
    min-width: 90% !important;
}

.input-group {
    flex-wrap: nowrap;
}

.ui-select-match {
}

.ui-select-match > .ui-select-toggle {
    overflow: hidden;
}

.form-control-plaintext {
    font-family: monospace;
    font-size: large;
}

.buono-alert {
    background: darkred !important;
    color: whitesmoke !important;
}

.tooltip-inner {
    text-align: left !important;
}

.btn-link-muted, .btn-link-muted:hover {
    color: inherit !important;
    text-decoration: none !important;
}

.consegna-warning {
    background: lightyellow;
}

.coloreRosso {
    color: red;
}

.bdc-viaggi input, .ui-select-match .ui-select-toggle, .bdc-viaggi select {
    height: 50px !important;
}

.ui-select-placeholder {
    display: inline-block;
    margin-top: 5px;
}

.control-label {
    margin-bottom: 0.1rem;
}

.twitter-typeahead {
    display: block !important;
}

.tt-menu {
    background: white;
    border: solid 1px lightgray;
}

.tt-selectable {
    padding: 10px;
}

.tt-selectable:hover {
    background: lightgray;
}

.tt-menu {
    max-height: 150px;
    overflow-y: auto;
    width: 100%;
    min-width: 200px;
}

.sic-group-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.sic-group-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.twitter-typeahead {
    width: 100%;
}

.sic-typeahead-clear {
    cursor: pointer;
}

.tt-highlight {
    color: rgb(28, 126, 66);
}


debugcode {
    white-space: pre;
    font-family: monospace;
    overflow: scroll;
}

#formfeedback {
    display: none;
}

.debug {
    border: solid 1px red !important;
}

.table {
    margin-bottom: 0;
}

.table .thead-light th {
    color: #495057;
    background-color: rgba(0, 0, 0, 0.03);
    border-color: #dee2e6;
    text-transform: uppercase;
    white-space: nowrap;
}

.report-table [id^="table-"] th,
.report-table [id^="table-"] td {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.report-table .table .thead-light th {
    white-space: normal;
    text-align: center;
    align-content: center;
}


.nav-username {
    padding-right: 0px !important;
}

.col-formlogin {
    width: 450px;
}

dd {
    display: inline-flex;
}

.dropdown-item {
    cursor: pointer;
}

input[type="date"] {
    height: auto;
}

.hoverDanger:hover {
    background: red;
    color: black;
}

.i18n-small-flag {
    width: 60px;
    height: 40px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
    margin-left: 50%;
    margin-top: 20%;
}

.cursor-pointer {
    cursor: pointer;
}

.dropdown-submenu:hover + .manuali-menu, .manuali-menu:hover {
    display: block;
}

.manuali-menu {
    margin-right: -5px !important;
}

.ui-select-container[disabled], .ui-select-match[disabled], .ui-select-toggle[disabled] {
    background-color: #e9ecef;
    opacity: 1;
}

.close {
    font-size: 1.2rem !important;
}

pre {
    max-width: 100% !important;
}

.legendv2 {
    display: block;
    width: auto;
    padding: 0 5px;
    margin-bottom: 0;
    font-size: 20px;
    line-height: inherit;
    border-bottom: none;
}

.fieldsetConBordo {
    border: 2px groove threedface;
    padding: 5px;
}

.filterFull {
    border: 2px solid rgb(28, 126, 66);
}

.form-control:disabled {
    background-color: #e9ecef !important;
}

.tt-disabled {
    /*cursor: not-allowed !important;*/
    pointer-events: none;
    color: #777;
    text-decoration: line-through;
}

.thin-lines tbody td{
    border: none;
    border-bottom: 1px solid #eeeeee;
    padding: 0.1rem;
}

/* evidenziare leggermente l'header (opzionale) */
.thin-lines  thead th {
    border: none ;
    padding: 0.1rem;
}

.truncate {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}