html {
    touch-action: manipulation; /* remouve touch 300ms delay. https://developers.google.com/web/updates/2013/12/300ms-tap-delay-gone-away */
}

.header-icon {
    float: left;
    padding-right: 10px;
    margin-top: -4px;
    vertical-align: middle;
}

.header-small-icon {
    float: left;
    padding-right: 10px;
    margin-top: 2px;
    vertical-align: middle;
}

/*///////////////////////////////
//     BS DASHBOARD THEME     //
///////////////////////////////*/
/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
}

/*
 * Global add-ons
 */

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
    border: 0;
}

.navbar .container {
    width: 100%;
}

.navbar .navbar-right {
    margin-right: 0;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}

@media (min-width: 768px) {
    .sidebar {
        position: fixed;
        top: 51px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

/*
 * Main content
 */

.main {
    padding: 20px;
}

.container.content {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .container.content {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}

.main .page-header {
    margin-top: 0;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

input.button-icon {
    background-repeat: no-repeat; /* make the background image appear only once */
    background-position: 5px center; /* equivalent to 'top left' */
    cursor: pointer; /* make the cursor like hovering over an <a> element */
    padding-left: 24px; /* make text start to the right of the image */
    vertical-align: middle; /* align the text vertically centered */
}

.btn.small {
    padding: 2px 6px;
}

td .btn.small.block {
    display: block;
    margin-bottom: 6px;
    width: 100%;
}

.btn.small .header-small-icon {
    padding-right: 4px;
}

.btn.small i.fa {
    padding-right: 2px;
}

.demodello-modal .form-horizontal {
    margin-bottom: 0;
}

.panel .table {
    margin-bottom: 0;
}

.tag {
    color: #fff;
    background: #999;
    border: 1px solid #888;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.tag.green {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.tag.yellow {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.tag.red {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.order-detail-buttons {
    text-align: right;
    float: right;
    margin-bottom: 15px;
}

.order-detail-buttons .btn {
    margin-left: 5px;
}

.order-detail-title {
    margin-bottom: 15px;
}

.order-detail-title .label {
    margin-top: -5px;
    margin-left: 5px;
    vertical-align: middle;
    padding: .3em .6em;
    display: inline-block;
}

@media (min-width: 768px) {
    .order-detail-title {
        float: left;
    }
}