/* dashboard */
.readonly-field { width: 100%; min-width: 100%; border: 1px solid; border-radius: 3px; }

/* Font Awesome */
i.fa, span.glyphicon {
    color: #f0be5f;
}
@media print {
    .page-break {
        page-break-after: always;
        break-after: always;
    }
    thead.no-repeat { break-inside: avoid-column; }
}

@media screen and (min-width: 768px) {
    body {
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-size: cover;
        background-color: white;
    }
    div.main {
        background-color: white; /* rgba(255,255,255,0.8); */
    }
    div.panel {
        background-color: rgba(255,255,255,0.5);
    }
    .list-group-item {
        background-color: rgba(255,255,255,0.5);
    }
    div.product-images {
        background-color: white;
        border-radius: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}
div.main {
    padding-top: 3px;
    border-radius: 10px;
}
/* ERP */
div.erp-main {
    background-color: white;
    padding-top: 3px;
}

/* Shop */
div.menu {
    margin-top: 3px;
    margin-bottom: 3px;
    text-align: center;
    text-transform: uppercase;
}
ul.menu {
    list-style-type: none;
    margin: 0;
    padding: 10px;
    background-color: #333;
}
ul.menu > li {
    display: inline;
}
ul.menu > li a {
    display: inline;
    color: white;
    text-align: center;
}
ul.menu > li:hover {
    background-color: #111;
}

div.shopping-cart-container {
    display: block;
}
span.cart-widget-container {
    position: fixed;
    right: 0px;
    top: 80px;
    width: 80px;
    overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	opacity: 0.75;
	z-index: 10000;
}
#id_customer_box { margin-bottom: 5px; }
#id_customer_box > span { white-space: normal;}
/* #id_customer_box > span > button { width: 10em; }
#id_customer_box > span > a { width: 10em; } */
input.cart-quantity { width: 5em; height: 26px; vertical-align: middle;}
input.buy { width: 5em; height: 28px; vertical-align: middle; }
input.update { width: 4em; height: 28px; vertical-align: middle; }
button.buy { margin-left: 0px; }
div.customer-box { display: inline-block; border: 1px solid #333333; border-radius: 4px; padding-left: 20px; padding-right: 20px; padding-top: 10px; padding-bottom: 10px; margin-bottom: 10px;}
span.cart-widget-container {  }
span.cart-widget { border-radius: 10px; padding: 3px 7px; min-width: 10px; white-space: nowrap; }
span.cart-widget-success { color: white; background-color: green; }
span.cart-widget-info { color: white; background-color: red; }
table > tbody > tr > td { vertical-align: middle !important; }
table.product-list > tbody > tr > td.in-stock, table.product-list > thead > tr > th.in-stock { text-align: center; }
#id_shipping-shipping_instructions { height: 6em; }
a.brewery { font-size: larger; }

/* Shop product list */
div.product-list { font-size: smaller; }
div.product-list div.header { font-weight: bold; }
div.product-list > div.product { min-height: 32px; vertical-align: middle; border-bottom: 1px solid #dddddd; padding-bottom: 1px; margin-bottom: 1px; }
@media screen and (min-width: 768px) {
    div.product-list > div.product span { line-height: 32px; }
}
div.product-list > div.product .buy { padding-top: 3px; }
@media screen and (max-width: 768px) {
    div.product > div.title { text-align: center; font-size: larger; }

}
div.product-wrapper {
    margin-bottom: 3px;
}
div.product-container {
    height: 460px;
    max-height: 460px;
    border: 1px solid;
    border-radius: 3px;
    background-color: white;
    padding: 4px;
}
div.product-name {
    text-align: center;
    font-size: larger;
}
div.product-volume {
    text-align: center;
}
div.product-image {
    min-height: 275px;
    max-height: 275px;
    overflow-y: auto;
}
div.product-brewery {
    font-size: larger;
}
/* Search */
div.search { text-align: center; }

/* Page breaks */
div.address { page-break-inside: never; }

/* Ratings */
table.table-ratings > tbody > tr > td.value {
    color: #333333;
}

.draggable{
    position:fixed !important;
}

/* Google Maps */
#map-canvas {
    width: 100%;
    height:600px;
}
#map-canvas img {
    max-width: none;
}
ul.map-list {
    max-height: 600px;
    overflow-y: auto;
}

/* Panels */
ul.panel-list {
    max-height: 600px;
    overflow-y: auto;
}

.panel-swedbeer {
    border-color:white;
}
.panel-swedbeer > .panel-heading {
    color:white;
    background-color:black;
    border-color:#dddddd;
    margin: 0px;
}
.panel-swedbeer > .panel-heading + .panel-collapse > .panel-body{
    border-top-color:#dddddd
}
.panel-swedbeer > .panel-heading .badge {
    color:#f5f5f5;background-color:#333333
}
.panel-swedbeer > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color:#dddddd
}
.panel {
    border-radius: 10px;
}
.panel > .panel-heading {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Brewery */
div.brewery-description {
    max-height: 600px;
    overflow-y: auto;
    margin-bottom: 10px;
}

/* Untappd */
.panel-untappd {
    border-color:white;
}
.panel-untappd > .panel-heading {
    color:white;
    background-color:#ffcc00;
    border-color:#dddddd;
    margin: 0px;
}
.panel-untappd > .panel-heading + .panel-collapse > .panel-body{
    border-top-color:#dddddd
}
.panel-untappd > .panel-heading .badge {
    color:#f5f5f5;background-color:#333333
}
.panel-untappd > .panel-footer + .panel-collapse > .panel-body {
    border-bottom-color:#dddddd
}
span.untappd-rating {
    width: 132px;
    height: 24px;
    display: inline-block;
    background-image: url(https://untappd.akamaized.net/assets/v3/images/ratings_quarters_small.png);
    background-size: 132px 558px;
    background-repeat: no-repeat;
}
span.untappd-score {
    display: inline-block;
    height: 24px;
    line-height: 24px;
    vertical-align: top;
}

/* Bootstrap styling */
@media screen and (min-width: 1000px) {
  .navbar-brand {
    float: left;
    margin-right: 5px;
    margin-left: -15px;
  }
  .navbar-nav {
    float: left;
    margin-top: 0;
    margin-bottom: 0;
  }
  .navbar-nav > li {
    float: left;
  }
  .navbar-nav > li > a {
    border-radius: 0;
  }
  .navbar-nav.pull-right {
    float: right;
    width: auto;
  }
  .navbar-toggle {
    position: relative;
    top: auto;
    left: auto;
    display: none;
  }
  .nav-collapse.collapse {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }
  .navbar { margin-bottom: 0px; }
}

.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
    z-index: 2;
    color: white;
    background-color: black;
    border-color: grey;
}
/* Some rounded style... */
.btn {
    border-radius: 3px;
}
.btn-primary {
    color: white;
    background-color: black;
    border-color: grey;
}
.form-control, .input-group-addon {
    border-radius: 3px;
}
div.tab-pane { padding-top: 5px; }

.goToTop {
  position: fixed;
  top: 50px;
  -height: 50px;
  z-index: 1;
  width: 100%;
}

.dot {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: inline-block;
}

/* Search and filter */
@media screen and (min-width: 768px) {
    div.panel-search select { width: 11em !important; }
    div.panel-search input { width: 1em; }
    #id_query { width: 11em; }
}
@media screen and (max-width: 768px) {
    div.panel-search select { width: 100% !important; }
    #id_query { width: 100%; }
}
select.form-control[name^=brewerycustomerproduct_set] {
    max-width: 22em;
}

tr.lightgrey { background-color: lightgrey; }