html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.yobutton {
    margin: 5px;
    width: 100%;
}

.elenco {
    max-width: 600px;
}

.notifications-list .notification-item {
    overflow: hidden;
    overflow: ellipsis;
}

@media(max-width:767px) {
    /* Nascondo gli header delle gridview su mobile */
    .hideHeaderOnMobile > thead {
        display: none;
    }
}

.skin-blue .sidebar-menu > li > .treeview-menu {
    background: #3c8dbc !important;
}

.skin-blue .sidebar-menu .treeview-menu > li:not(.active) > a {
    color: #000 !important;
}

@media(min-width:767px) {
    .nav-notifications .dropdown-menu {
        width: 700px !important;
    }
}

.main-sidebar {
    bottom: 0;
    overflow-y: auto;
}

.collapse .panel-heading:hover {
    cursor: pointer;
    opacity: 0.8;
}

.header-button {
    margin-top: 8px;
    margin-left: 15px;
}

.warning-summary {
    color: #a97b00;
    background: #f8f9d8;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.greyout > td > span, .greyout > td > p, .greyout > td, .greyout > td > div > button > em, .greyout > td > div > button >span , .greyout > td > div > button {
    color: #b9b9b9 !important;
}

.truncate {
    width: 180px;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.show-more {
    cursor: pointer;
    color: #337ab7;
}

.posizione-elettronica {
    -webkit-animation: blinking-back 1s infinite; /* Safari 4+ */
    -moz-animation:    blinking-back 1s infinite; /* Fx 5+ */
    -o-animation:      blinking-back 1s infinite; /* Opera 12+ */
    animation:         blinking-back 1s infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes blinking-back {
    0%, 49% {
        background-color: transparent;
        border: 0px;
    }
    50%, 100% {
        background-color: yellow;
        border: 3px solid green;
    }
}
tr.bordo-sotto td {
    border-bottom:1pt solid black !important;
}

.showModalButton:hover {
    cursor: pointer;
}

#elenco-vetture-container {
    min-height: 400px;
}

#elenco-vetture-container .action-column {
    min-width: 110px;
}

/******* STATI COMMISSIONI ESTERNE ***********/
.bar-color-0 { background-color: rgba(231, 77, 67, 0.6) !important; } /* Aperta */
.bar-color-3 { background-color: rgba(206, 213, 0, 0.6) !important; } /* Fine Lavori */
.bar-color-4 { background-color: #00a65a !important; } /* Chiusa */
.bar-color-RIC { background-color: rgba(52, 23, 10, 0.19) !important; }
.bar-color-1, .bar-color-2 { background-color: rgba(231, 136, 70, 0.6) !important; } /* Colore di default stato */

[title]:not(li):not([title=""]) {
    text-decoration: underline dotted 2px;
}

/******* FIX PER kartik-v/bootstrap-popover-x ******/
.popover.left-top > .arrow, .popover.right-top > .arrow {
    top: 16px;
}

.modal-lg {
    width: 90% !important;
    max-width: 90% !important;
}

.modal-content {
    margin-top: 80px;
}

.navbar-nav.nav .dropdown a.dropdown-toggle {
    cursor: pointer;
}

.fa-file-pdf:before {
    content:"\f1c1"
}

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#cccccc;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#ffffff;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

.d-flex {
    display: flex !important;
}
.d-inline {
    display: inline !important;
}

.align-content-end {
    align-content: end;
}

.align-content-start {
    align-content: start;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-end {
    justify-content: flex-end;
}

.justify-content-start {
    justify-content: flex-start;
}

.mr-auto {
    margin-right: auto;
}

.ml-auto {
    margin-left: auto;
}

.w-25 {
    width: 25%;
}
.w-50 {
    width: 50%;
}
.w-75 {
    width: 75%;
}
.w-100 {
    width: 100%;
}
.tooltip-inner {
    text-align: left;
}
.tooltip-inner ul {
    padding-left:1rem;
}
.tooltip-inner li {
    margin-top:0.5rem;
}

.select2-container--open {
    z-index: 99999;
}

.kv-form-bs3 .hint-block {
    margin-top: 0;
}

/* flex gaps */
.gap-0 {
    gap: 0;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}