html,
body {
    height: 100%;
}

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

a:visited {
    color: #555555;
}
.dropdown-toggle::before {
    display: none;
}
.dropdown-toggle .caret {
    float: right;
    margin-top: 0.7em;
}
.container {
    width: inherit;
}

.container-no-margin {
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.no-padding-left {
    padding-left:0;
}

.no-padding-right {
    padding-right:0;
}

.no-padding {
    padding:0;
}

@media (max-width:767px) {
  .navbar-header {
    display:flex;
  }
}

@media (max-width:767px) {
  .navbar-brand {
    order:1;
  }
}

@media (max-width:767px) {
  .navbar-toggle {
    order:0;
    margin-left:15px;
    margin-right:0;
  }
}


.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: "\e151";
}

a.desc:after {
    content: "\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 td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.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 {
    padding: 8px;
}

@media(max-width:768px) {
	.nav li > form {
	    padding: 3px;
	}
	.tab-content {
        padding: 10px 1px;
    }
    .navbar-center
    {
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        text-align: center;
        margin: 0;
        height:100%;
    }
    .navbar-toggle {
        z-index: 999;
    }
}

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

.row {
    margin: 0;
}
.tab-content {
    overflow-x: hidden;
    min-height: 100%;
}

.tt-dropdown-menu {
    max-height: 100px;
    overflow-y: auto;
}
.tt-scrollable-menu .tt-menu {
    max-height: 400px;
    overflow-y: auto;
}
.container-fluid {
    height: inherit;
}
.tab-content {
    min-height: 100%;
    overflow-y:hidden;
}
.tabs-krajee {
    height: inherit;
    max-height: 80%;
}


@media (min-width: 1px) {
    .container-fluid {
        padding: 50px 0 0 0;
    }
    .tab-content {
        padding: 0;
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        padding: 60px 15px 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
}

@media (max-width: 768px) {
    .nav-justified > li {
        display: table-cell;
        width: 1%;
    }
    .nav-justified > li > a  {
        border-bottom: 1px solid #ddd !important;
        border-radius: 4px 4px 0 0 !important;
        margin-bottom: 0 !important;
    }
}

.modal {
    top:45px;
}

.table > thead > tr > td.orange, .table > tbody > tr > td.orange, .table > tfoot > tr > td.orange, .table > thead > tr > th.orange, .table > tbody > tr > th.orange, .table > tfoot > tr > th.orange, .table > thead > tr.orange > td, .table > tbody > tr.orange > td, .table > tfoot > tr.orange > td, .table > thead > tr.orange > th, .table > tbody > tr.orange > th, .table > tfoot > tr.orange > th {
    background-color: #ffcca7;
}

/* So we wont impact the original bootstrap menu
or it's pseudo call-out arrow the menu is wrapped
in a sub dropdown-menu with a chained scroll-menu */
ul.scroll-menu {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -moz-overflow-scrolling: touch;
    -ms-overflow-scrolling: touch;
    -o-overflow-scrolling: touch;
    /*overflow-scrolling: touch;*/
    overflow-y: auto;
    height: auto;
    max-height: 55vh;
}
.scroll-menu > li > a{
    white-space: normal;
}
.dropdown-striped > li:nth-child(odd) {
  background: #e0e0e0;
}

.table tbody tr.error {
  color: #000;
}
.table tbody tr.warning {
  color: #000;
}
.table tbody tr.success {
  color: #000;
}
.table tbody tr.info {
  color: #000;
}

/*Modulo Analisi Fattibilità analisifattibilita */

.container-progress-prod{
    background-color: gray;
}
.progress-prod{    
    padding:0 10px;    
    font-weight: bold;
}
.progress-prod-full{
    background-color: purple !important; 
    color: white;   
}
a.link-button:visited {
    color:white !important;
} 
.btn-group.special {
    display: flex;
}  
.special .btn {
    flex: 1;
    font-weight: bold;
}
.overlay-loading {
    background-color:#010101BB;
    z-index: 9999999;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.overlay-loading #spinner-block-absolute{
    position: absolute;
    top: 50%;
    margin: auto;
    left: 50%;
    transform: translateX(-50%), translateY(-50%);
    color: white;
}

/**********************/

/* Tabellone Partenze */

table.table-tabellone {
    margin:0px;   
    color: #555555;     
}

.table-tabellone h3{
    color: #555555;
    margin: 0;     
    line-height:1;    
    padding:0px;
}

.table-tabellone>thead>tr>th, .table-tabellone>tbody>tr>th, .table-tabellone>tfoot>tr>th, .table-tabellone>thead>tr>td, .table-tabellone>tbody>tr>td, .table-tabellone>tfoot>tr>td {    
    border: 0px; 
    margin:0px; 
    line-height:1;    
}

.clear-child:after {
    content: "";
    display: table;
    clear: both;
}
/*********************/

.row-nop{
    padding:0px !important;
}

.row-nop .col-md-1, .row-nop .col-md-2, .row-nop .col-md-3,.row-nop .col-md-4,.row-nop .col-md-5,.row-nop .col-md-6,.row-nop .col-md-7,.row-nop .col-md-8,.row-nop .col-md-9,.row-nop .col-md-10,.row-nop .col-md-11.row-nop .col-md-12{
    padding:0px !important;
}

/* Modal */

.modal-header--sticky {
    position: sticky;
    top: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}
  
/* Footer fixed to the bottom of the modal */
.modal-footer--sticky {
    position: sticky;
    bottom: 0;
    background-color: inherit; /* [1] */
    z-index: 1055; /* [2] */
}