html,
body {
    height: 100%;
    font-family: 'Roboto', sans-serif; /* Tipo canviada */
}

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

/**
Sobreescriure color header top bar amb RGB TMH
 */
.skin-red-light .main-header .navbar {
    background-color: #c8102e;
}

.skin-red-light .main-header .logo {
    background-color: #c8102e;
    color: #fff;
    border-bottom: 0 solid transparent;
}

.skin-red-light .main-header li.user-header {
    background-color: #c8102e;
}

/**
Sobreescriure estil breadcrumb
 */
.breadcrumb {
    margin-bottom: 0px !important;
}

/**
Show red asterisk at mandatory fields
 */
form div.required label.control-label:after {
    content:" * ";
    color:red;
}

/**
Sobreescriure stil file-input per mostrar les miniatures a tamany petit.
 */
.file-preview-image {
    max-height: 160px;
    max-width: 213px;
}


/**
Estilant menu
*/

.sidebar-menu>li>a {
    text-transform: uppercase;
}

.sidebar-menu>li.active>a {
    color: #1b74a8 !important;
}

.sidebar-menu .treeview-menu>li.active>a {
    color: #1b74a8 !important;
}


/**
Estils Expand-Row
*/
.kv-expand-detail-row.info>td {
    background: #f1f4f7 !important;
}

.kv-expand-detail-row.info>td:hover {
    background: #ddecf7 !important;
}

/**
Estils Vista Detail
*/
.chat-comments .direct-chat-messages {
    height: auto !important;
    max-height: 660px;
    overflow-y: auto;
}

/* Per detail Pedidos Venta (menys altura) */
.chat-comments-lowheight .direct-chat-messages {
    height: auto;
    max-height: 250px !important;
    overflow-y: auto;

}

/* Patch per tipo massa gran en file-preview (tab documents) en Chrome */
.kv-file-content .file-preview-image {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em !important;
}

/* Per guardar marge inferior taula del componet kartik gripview */
.panel > .table, .panel > .table-responsive > .table, .panel > .panel-collapse > .table {
    margin-bottom: 150px;
}

.isite-row {
    background: #d6d6d6;
}

.registration-row {
    background: #cdd318;
}
