html,
body {
    height: 100%;
}

.padding-15 {
    padding: 20px;
}

.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;
}

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


/* 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;
}

.action-row h1 {
    margin-top: 0px;
}


/* login */

.site-login img {
    width: 100%;
}

.site-login {
    padding: 80px 0;
    width: 310px;
    margin: 0 auto;
    text-align: center;
}

.form-actions {
    padding: 19px 20px 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
}


/* nav bar */

.navbar-header .navbar-brand {
    padding: 5px 20px 0px 20px;
}

.navbar-header .navbar-brand img {
    max-height: 45px;
}


/* tab-x layout fix */

.tab_fix {
    position: relative;
    left: 0px;
    clear: both;
    float: none;
}

.tab_fix>ul {
    position: absolute;
}

.tab_fix .tab-content {
    min-height: 0px !important;
}


/* stili preventivo */

.nav-tabs>li>a.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.nav-tabs>li>a.btn-success:hover {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.nav-tabs>li>a.btn-info:hover {
    color: #fff;
    background-color: #31b0d5;
    border-color: #269abc;
}

#tab_oda-container #tab_oda {
    width: auto !important;
}

#tab_oda-container .tab-content {
    min-height: 0px !important;
    margin-left: 0px !important;
    border: none !important;
    padding: 0px !important;
}

#tab_oda-container .tab-content table {
    margin-bottom: 0px !important;
}

.p_bl {
    border-left: 2px solid #ddd;
}

.p_br {
    border-right: 2px solid #ddd;
}

.hidePreventivo .f1 {
    display: none;
}

.hideProforma .f2 {
    display: none;
}

.tabella_prodotti .has-error input {
    background-color: #f2dede;
}

.tabella_prodotti select,
.tabella_prodotti input,
.tabella_prodotti .input-group-addon {
    padding: 6px 6px;
}


/* importatore */

.prima_colonna {
    background-color: aqua;
}

#tabella_preview_data tbody td:hover {
    background-color: red;
}

#tabella_preview_data .selected {
    background-color: #eeeeee;
}

#tabella_preview_data tbody tr .highlight {
    background-color: #dff0d8;
}

#importer_modal .modal-header .close {
    position: absolute;
    top: 8px;
    right: 11px;
}

#importer-fields .selected {
    background-color: #d9edf7;
}

#importer-fields .good {
    background-color: #dff0d8;
}

#importer-fields .field-nome {
    font-weight: bold;
}

#importer-fields .field-nome,
#importer-fields .field-selected,
#importer-fields .field-button {
    margin: 5px 0px;
}

#importer-fields .field-selected {
    height: 40px;
}