.clear {
    clear: both;
}

/*
 * 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;
}


/*
 * 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 .nav-sidebar {
    margin-left: 20px;
}
.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}
.nav-sidebar > .active > a {
    color: #fff;
    background-color: #428bca !important;
}


/*
 * Main content
 */

.main {
    padding: 20px;
}
@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%;
}

.pp_social {
    display:none; /* pretty photo social plugins */
}


.storeState {
    font-weight:bold;
}
.eventState {
    font-weight:bold;
}

.aligncenter {
    text-align: center;
}

.cal-padding {
    padding: 8px 0 !important;
}

.cal-cel-wrapper {
    position: relative;   
}

.cal-cell {
    text-align: center;
    display: block;
    width: 100%;
    height: 21px;
}

.cal-icon {
    padding-left: 2px;
    position: absolute;
    height: 21px;
    margin-top: 2px;
}

.loader {
    width: 100%;
    min-width: 20px;
    margin: 5px auto;
    height: 20px;
    background: url('../images/spinner.gif') center center no-repeat;
}

#calendar table td, #calendar table th {
    padding-left: 1px;
    padding-right: 1px;
}

#calendar .calendar-date {
    font-size: 10px;
    text-align: center;
    padding: 0;
}

#calendar th.calendar-date,
#calendar .calendar-date div {
    padding: 8px 4px 8px 4px;
}


.lightback {
    background: #F0F0F0;
}

.noborder, table.noborder tr td {
    border: none;
}

.bordered {
    border: 1px solid #aaa !important;
}

.weekend {
    background-color: #e8e8e8 !important;
}

#calendar * {
    white-space: nowrap
}

#calendar {
    position: relative;
    margin-bottom: 20px;
}

#calendar table {
    margin: 0;
}

#calendar .items {
    font-size: 10px;
    color: #999;
    padding-left: 25px;
}

#calendar .items-filter .label {
    margin-right: 4px;
}

#calendar .items-filter .label:hover {
    cursor: pointer; cursor: hand;
}

#calendar b.cal-item-count {
    font-weight: 800;
    font-size: 12px;
    color: #dd1dcd;
}

.store-item-usage {
    position: relative;
}

.store-item-usage table {
    margin: 0;
}

.store-item-usage table td, .store-item-usage table th {
    padding: 0 1px;
    line-height: 1 !important;
    vertical-align: middle !important;
    font-size: 10px;
    text-align: center;
}

.store-item-usage .avail td, .store-item-usage .avail th {
    color: green;
}
.store-item-usage .reserve td, .store-item-usage .reserve th {
    color: #47c0e9;
}
.store-item-usage .confirm td, .store-item-usage .confirm th {
    color: rgb(0, 77, 139);
}

.store-item-usage .usage-chart {
    width: 20px;
    height: 80px;
    background: #aaa;
}

.store-item-usage .usage-chart .value {
    width: 20px;
}

.store-item-usage .usage-chart .avail {
    background-color: green;
}
.store-item-usage .usage-chart .reserve {
    background-color: #47c0e9;
}
.store-item-usage .usage-chart .confirm {
    background-color: rgb(0, 77, 139);
}

.store-item-usage .alert-avail {
    background-color: rgb(255, 162, 159) !important;
}

.store-item-usage .fixed-wrapper {
    overflow-x: auto;
    margin-left: 100px;
}

.store-item-usage .headcol {
    position: absolute;
    width: 100px;
    left: 0;
    top: auto;
}

.store-item-usage .invis {
    visibility: hidden;
}


/*
#calendar.calendar-iframe * {
    white-space: normal
}

#calendar.calendar-iframe #table-header {
    position: fixed;
    left: 0;
    top: 0;
}
#calendar.calendar-iframe #table-header.table-striped > tbody > tr:nth-child(2n) > td,
#calendar.calendar-iframe #table-header.table-striped > tbody > tr:nth-child(2n) > th {
    background: white;
}

#calendar.calendar-iframe .invis {
    visibility: hidden;
    border: 0;
}

#calendar.calendar-iframe table {
    table-layout: fixed;
}
#calendar.calendar-iframe td {
    width: 35px;
}
#calendar.calendar-iframe table th:nth-of-type(1) {
    width: 40px;
    text-align: center;
    vertical-align: middle;
}
#calendar.calendar-iframe table th:nth-of-type(2) {
    width: 350px;
}
#calendar.calendar-iframe table th:nth-of-type(3) {
    width: 140px;
    text-align: center;
    vertical-align: middle;
}
*/

.bold-line{
    height: 2px;
    background-color: black;
}

.url-avatar
{
    max-width: 100%;
}

.row.row-other-items:nth-of-type(2n+1) {
    background-color: white;
}
.row.row-other-items {
    padding: 15px 0 15px 0;
    margin: 0 0;
}

.calendar-table > thead > tr > th {
    text-align: center;
    font-weight: normal;
    padding: 3px;
    border-right: 1px solid #EBEBEB;
    background: #fff;
    white-space: nowrap;
}

.calendar-table > thead > tr > th.calendar-first {
    border-right: 1px solid #EBEBEB;
    background: #EBEBEB;
    white-space: nowrap;
}

.calendar-table > tbody > tr > td {
    text-align: center;
    font-weight: normal;
    padding: 3px;
    border-right: 1px solid #EBEBEB;
    background: #fff;
}

.calendar-table > tbody > tr > td.calendar-first {
    border-right: 1px solid #EBEBEB;
    background: #EBEBEB;
}

.calendar-table > tbody > tr > td.calendar-background-current {
    background-color: #408CCA;
}

.calendar-table > tbody > tr > td.calendar-spare-day {
    background-color: #c2ffd5;
}

.calendar-checkbox
{
    text-align: center;
}

div.panel.panel-others
{
    border-color: #4E504F;
    background: #F2F2F4;
}

div.panel.panel-others > .panel-footer, div.panel.panel-others > .panel-heading
{
    background-color: #4E504F;
    color: #fff;
    font-weight: bold;
}

div.panel.panel-others > .panel-body .row-other-items
{
    background: #F0F0F0;
}

div.panel.panel-others > .panel-body .row-other-items:nth-of-type(2n+1)
{
    background: #D6D6D8;
}

div.panel.panel-item
{
    border-color: #3684C6;
    background: #EBF6FC;
}

div.panel.panel-item > .panel-footer, div.panel.panel-item > .panel-heading
{
    background-color: #3684C6;
    color: #fff;
    font-weight: bold;
}

div.panel.panel-item > .panel-body .row-other-items
{
    background: #EBF6FC;
}

div.panel.panel-item > .panel-body .row-other-items:nth-of-type(2n+1)
{
    background: #D6E9F8;
}

div.panel.panel-shipping
{
    border-color: #91752C;
    background: #E9E5DA;
}

div.panel.panel-shipping > .panel-footer, div.panel.panel-shipping > .panel-heading
{
    background-color: #91752C;
    color: #fff;
    font-weight: bold;
}

div.panel.panel-shipping > .panel-body .row-other-items
{
    background: #E9E5DA;
}

div.panel.panel-shipping > .panel-body .row-other-items:nth-of-type(2n+1)
{
    background: #D2C9BA;
}

div.panel.panel-technician
{
    border-color: #8E2B7D;
    background: #EAD5E6;
}

div.panel.panel-technician > .panel-footer, div.panel.panel-technician > .panel-heading
{
    background-color: #8E2B7D;
    color: #fff;
    font-weight: bold;
}

div.panel.panel-technician > .panel-body .row-other-items
{
    background: #EAD5E6;
}

div.panel.panel-technician > .panel-body .row-other-items:nth-of-type(2n+1)
{
    background: #D1B2D1;
}

.calendar-loading {
    position: relative;
    pointer-events: none;
    overflow: hidden;
}

.calendar-loading::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(152, 152, 152, 0.15);
}