@charset "UTF-8";
/* CSS Document */

/* BASE RULES - start */
html{
    height: 100%;
}
body{
    height: 100%;
    background: url("../images/BreweryHome.jpg");
    padding-top: 150px;
}
footer{
    background: #ffffff;
    background-color: #ffffff;
    opacity: 0.6;
    filter: alpha(opacity=60); /* For IE8 and earlier */
}
ul{
    padding: 0;
    margin-bottom: 0;
}
li{
    list-style:none;
}
hr{
    border:1px solid #ddd;
}
p img{
    margin: 10px;
}
/* BASE RULES - end */

/* LAYOUT RULES - start */
.menu-icon-container{
    display: inline-block;
    width: 25px;
}
.menu-icon{
    height: 20px;
}
.navbar-nav li{
    white-space: nowrap;
}
.current-round{
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    background-color: white;
}
table.no-border>tbody>tr>td, table.no-border>tbody>tr>th{
    border: none;
}
th.currency{
    text-align: center;
}
td.currency{
    text-align: right;
}
td.center{
    text-align: center;
}

.transparant {
    background-color: #ffffff;
    opacity: 0.95;
    filter: alpha(opacity=95); /* For IE8 and earlier */
}
.center-block {
    float: none !important
}
#base-container{
    padding-bottom: 45px;
}
#footer-text {
    text-align: center;
    line-height: 30px;
    font-size: 12px;
    font-weight: bold;
    color: #111111;
}
.round-corners{
    border-radius: 6px;
}
.btn-group-justified{
    margin: 25px 0;
}
/* LAYOUT RULES - end */

/* MODULE RULES - start */
/* Form signin */
.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.form-signin .form-control:focus {
    z-index: 2;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.main-modal{
    padding: 10px 3% 40px 3%;
    border: solid lightgrey 2px;
    min-height: 600px;
}

/* liScroll styles */
.tickerbar{
    background-color: #D6D1CC;
    height: 27px;
    overflow: hidden;
    position: relative;
}
.tickerbar-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 27px;
    line-height: 27px;
    padding: 0 10px;
    background-color: #2d6a9f;
    color: #ffffff;
    font: bold 11px Verdana;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    white-space: nowrap;
}
.tickercontainer { /* the outer div with the black border */
    border: none;/*1px solid #000;*/
    width: 100%;/*738px;*/
    height: 27px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.tickercontainer .mask { /* that serves as a mask. so you get a sort of padding both left and right */
    position: relative;
    left: 0px; /*10px*/
    top: 8px;
    width: 100%;/*718px;*/
    overflow: hidden;
}
ul.newsticker { /* that's your list */
    position: relative;
    left: 100%;/*750px;*/
    font: bold 12px Verdana;
    list-style-type: none;
    margin: 0;
    padding: 0;

}
ul.newsticker li {
    float: left; /* important: display inline gives incorrect results when you check for elem's width */
    margin: 0;
    padding: 0;
    background: #D6D1CC;
}
ul.newsticker a {
    white-space: nowrap;
    padding: 0;
    color: #2d6a9f;
    font: bold 12px Verdana;
    margin: 0 50px 0 0;
}
ul.newsticker span {
    margin: 0 10px 0 0;
}
.navbar-default{
    margin-top: 78px;
    margin-bottom: 0;
    border-top: 1px solid #D6D1CC;
}
#accordion a{
    display: inline-block;
    margin-top: 3px;
    color: white;
}
#accordion .panel-default a{
    color: #656565;
}
.newsticker-overview .panel {
    border-left: 4px solid #337ab7;
}
.newsticker-overview .panel-heading {
    background-color: #f5f8fc;
}
.newsticker-overview .panel-heading .btn {
    margin-top: -2px;
}

/* Constrain images in CMS content areas */
.info-text img,
.overlay-modal-text img {
    max-width: 100%;
    height: auto;
}
.info-text img:not([style*="float"]),
.overlay-modal-text img:not([style*="float"]) {
    display: block;
    margin: 10px auto;
    max-width: 60%;
}
/* Clearfix after CMS content with floated images */
.info-text::after,
.overlay-modal-text::after {
    content: "";
    display: table;
    clear: both;
}
/* Ensure floated CMS images don't exceed container */
.info-text img[style*="float"],
.overlay-modal-text img[style*="float"] {
    max-width: 40%;
    height: auto;
}

.info-text ul, ul.circle{
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
}
.info-text li, ul.circle > li{
    display: list-item;
    list-style: disc;
}

.overlay-modal-text ul{
    display: block;
    padding-left: 40px;
    margin-bottom: 1em;
}

.overlay-modal-text li, ul.circle > li{
    display: list-item;
    list-style: disc;
}
@media (min-width: 768px) {
    .modal-dialog {
        width: 800px;
        margin: 30px auto;
    }
}
.rfq-form select, .rfq-form input{
    margin-left: 10px;
    margin-right: 10px;
}
.rfq-form div{
    display: inline-block;
}
.rfq-form div[id^="appbundle_parent_quotation_buyerQuotations"]{
    margin-bottom: 5px;
}
.rfq-image{
    border: solid 1px grey;
    padding: 5px;
    width: 75px;
    height: 75px;
}
.rfq-image .img-responsive{
    display: block;
    width: auto;
    max-height: 100%;
}
.financial-sub-group, .financial-group, .financial-group-total, .financial-section-total{
    font-weight: bold;
}
.financial-sub-total td{
    text-decoration: underline;
}
.financial-result{
    font-weight: bold;
    font-style: italic;
}
#appbundle_buyer_strategy_text{
    height: 300px;
}
ul.ul-bullet{
    padding-left: 20px;
}
ul.ul-bullet li{
    list-style: disc;
}

/* Overlay */
#main-overlay-button{
    position: fixed;
    top: 150px;
    left:0px;
    width: 60px;
    border: 1px solid grey;
    padding: 5px;
    font-size: 20px;
    text-align: right;
    cursor: pointer;
    background-color: white;
    opacity:0.7;
    z-index:99;
}

.overlay {
    height: 80%;
    width: 0%;
    position: fixed;
    z-index: 1;
    top: 150px;
    left: 0;
    background-color: rgb(255,255,255);
    transition: 0.2s;
    overflow-x: auto;
    overflow-y: auto;
}

.overlay-content {
    position: relative;
    top: 0;
    width: 100%;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #777;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #999;
}

.overlay .closebtn {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 20px;
}
.overlay h3{
    font-size: 18px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
}
.overlay hr{
    margin-top: 5px;
    margin-bottom: 10px;
}

@media screen and (max-height: 450px) {
    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 10px;
    }
}
.flash-notice{
    color: red;
    font-weight: bold;
}
.commodity img{
    padding: 30px 10px;
}
.commodity .img-responsive {
    margin: 0 auto;
}.rfq-image .img-responsive {
    margin: 0 auto;
}
/* ── DESIGN IMPROVEMENTS (6.38) ── */

/* Panel enhancements */
.panel {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.2s ease;
}
.panel:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.panel-primary > .panel-heading {
    background-color: #2d6a9f;
    border-color: #2d6a9f;
}

/* Typography improvements */
h1 {
    color: #2d6a9f;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}
h3 {
    color: #2d6a9f;
    margin-top: 25px;
    margin-bottom: 15px;
}
hr {
    margin-top: 25px;
    margin-bottom: 25px;
    border-color: #e0e0e0;
}
p {
    line-height: 1.6;
}

/* Main modal styling */
.main-modal {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

/* Table header styling */
.table > thead > tr > th {
    background-color: #2d6a9f;
    color: #ffffff;
    border-color: #2d6a9f;
    font-weight: 600;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}
.table > tbody > tr > td {
    vertical-align: middle;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > td {
    padding: 8px 10px;
}

/* Supplier logo containers */
.supplier-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 10px;
    margin-bottom: 15px;
}
.supplier-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 767px) {
    .supplier-logo {
        height: 80px;
        margin-bottom: 10px;
    }
    .supplier-logo img {
        max-height: 60px;
    }
}

/* Supplier section spacing */
.supplier-section {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}
.supplier-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* News ticker - CSS animation replaces jQuery li-scroller */
.ticker-track {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-scroll 60s linear infinite;
}
.ticker-track:hover {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.ticker-track a {
    color: #2d6a9f;
    font: bold 12px Verdana, sans-serif;
    margin-right: 40px;
    text-decoration: none;
}
.ticker-track a:hover {
    text-decoration: underline;
}
.ticker-track .ticker-separator {
    color: #999;
    margin-right: 40px;
}

/* Metric badges for consumer market tables */
.metric-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 12px;
}
.metric-quality {
    background-color: #dff0d8;
    color: #3c763d;
}
.metric-price {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

/* ── END DESIGN IMPROVEMENTS ── */

/* MODULE RULES - end */

/* RESPONSIVE TABLES - make all panel tables scrollable on small screens */
.panel-body > table,
.panel-body > .table-responsive {
    width: 100%;
}
.panel-body {
    overflow-x: auto;
}

/* Prevent main content from overflowing on mobile */
.main-modal {
    overflow-x: auto;
    word-wrap: break-word;
}

/* ── SCROLLABLE TABLE ENHANCEMENTS ── */
/* Always-visible, styled scrollbars for horizontal scroll areas */
.table-responsive,
.panel-body,
[style*="overflow-x: auto"] {
    scrollbar-width: thin;
    scrollbar-color: #9ab #e8e8e8;
}
.table-responsive::-webkit-scrollbar,
.panel-body::-webkit-scrollbar,
[style*="overflow-x: auto"]::-webkit-scrollbar {
    height: 10px;
}
.table-responsive::-webkit-scrollbar-track,
.panel-body::-webkit-scrollbar-track,
[style*="overflow-x: auto"]::-webkit-scrollbar-track {
    background: #e8e8e8;
    border-radius: 5px;
}
.table-responsive::-webkit-scrollbar-thumb,
.panel-body::-webkit-scrollbar-thumb,
[style*="overflow-x: auto"]::-webkit-scrollbar-thumb {
    background: #9ab;
    border-radius: 5px;
}
.table-responsive::-webkit-scrollbar-thumb:hover,
.panel-body::-webkit-scrollbar-thumb:hover,
[style*="overflow-x: auto"]::-webkit-scrollbar-thumb:hover {
    background: #789;
}

/* Scroll shadow indicators — fade at edges when content overflows */
.scroll-shadow-wrapper {
    position: relative;
}
.scroll-shadow-wrapper::before,
.scroll-shadow-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 10px; /* above scrollbar */
    width: 20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.2s;
}
.scroll-shadow-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.08), transparent);
}
.scroll-shadow-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.08), transparent);
}
.scroll-shadow-wrapper.can-scroll-left::before { opacity: 1; }
.scroll-shadow-wrapper.can-scroll-right::after { opacity: 1; }

/* Game control table — compact buttons on smaller screens */
@media (max-width: 1400px) {
    .game-control-table .btn {
        font-size: 11px;
        padding: 4px 6px;
        white-space: nowrap;
    }
    .game-control-table th {
        font-size: 11px;
        padding: 6px 4px;
    }
    .game-control-table td {
        padding: 4px 3px;
    }
}
@media (max-width: 1100px) {
    .game-control-table .btn {
        font-size: 10px;
        padding: 3px 4px;
    }
    .game-control-table th {
        font-size: 10px;
    }
}

/* Auto-scale wide tables to fit viewport */
@media (max-width: 992px) {
    .table-auto-scale {
        font-size: 0.85em;
    }
    .table-auto-scale .btn {
        font-size: 0.85em;
        padding: 3px 5px;
    }
}
@media (max-width: 768px) {
    .table-auto-scale {
        font-size: 0.75em;
    }
    .table-auto-scale .btn {
        font-size: 0.75em;
        padding: 2px 4px;
    }
}
/* ── END SCROLLABLE TABLE ENHANCEMENTS ── */

/* MEDIA - start */
@media (min-width: 993px) and (max-width: 1399px) {
    .navbar-nav>li>a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 12px;
    }
    .menu-icon {
        height: 16px;
    }
    .menu-icon-container {
        width: 20px;
    }
}
@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}
/* MEDIA - end */

/* CHARTIST - start */
.ct-label.ct-vertical.ct-start, .ct-label.ct-horizontal.ct-end{
    color: black;
    font-size: 11px;
}
/* CHARTIST - end */

/* Dynamic Sidebar */
#slider{
    width: 350px; /* if you wish to change the width, you also have to change it in => jquery.slidereveal.min.js */
    transition: all 300ms ease;
    height: 100%;
    background-color: white;
    color: #fff;
    z-index: 1002;
    margin-top: 150px;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.glyphicon{
    position: relative;
    top: 1px;
    display: inline-block;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

#sideslide .handle{
    background-color: #337ab7;
    padding: 10px;
    position: fixed;
    height: 40px;
    width: 40px;
    cursor: pointer;
    color: white;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    z-index: 1002;
}

#sideslide h2 {
    background-color: #337ab7;
    font-size: 1.9em;
    padding: 20px;
    margin: 0;
    font-weight: 300;
    color: white;
    border-top-right-radius: 6px;
}

#sideslide a {
    border-bottom: 1px solid #D8D8D8;
    padding: 1em;
    display: block;
    color: #424242;
    font-size: 1.4em;
    font-weight: 300;
    text-decoration: none;
}

#sideslide small{
    color: #D8D8D8;
}

#sideslide kbd{
    background-color: #2d6a9f;
    color: #D8D8D8;
}

#sideslide-content{
    color: #2d6a9f;
}

.table-bordered > tbody > tr > td.double-right-border{
    border-right: 3px double #000000;
}

#taskDescription li,
#taskDescription ol li{
    list-style: disc;
}

/* GROUP CHAT WIDGET - start */
#chat-widget {
    position: fixed;
    bottom: 0;
    right: 20px;
    width: 340px;
    z-index: 1500;
    font-size: 13px;
}
#chat-widget .chat-header {
    background: #337ab7;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#chat-widget .chat-header:hover {
    background: #286090;
}
#chat-widget .chat-badge {
    background: #d9534f;
    color: #fff;
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 11px;
    margin-left: 8px;
}
#chat-widget .chat-body {
    background: #fff;
    border: 1px solid #337ab7;
    border-top: none;
    display: none;
    max-height: 400px;
}
#chat-widget .chat-group-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: auto;
}
#chat-widget .chat-group-list li {
    padding: 8px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#chat-widget .chat-group-list li:hover {
    background: #f5f5f5;
}
#chat-widget .chat-group-list li .group-unread {
    background: #d9534f;
    color: #fff;
    border-radius: 10px;
    padding: 1px 6px;
    font-size: 11px;
}
#chat-widget .chat-conversation {
    display: none;
}
#chat-widget .chat-conv-header {
    background: #f5f5f5;
    padding: 8px 15px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#chat-widget .chat-conv-header .chat-back {
    cursor: pointer;
    color: #337ab7;
    margin-right: 10px;
}
#chat-widget .chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 10px;
    background: #fafafa;
}
#chat-widget .chat-msg {
    margin-bottom: 8px;
    max-width: 85%;
    clear: both;
}
#chat-widget .chat-msg.mine {
    float: right;
    text-align: right;
}
#chat-widget .chat-msg.theirs {
    float: left;
}
#chat-widget .chat-msg .msg-bubble {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 12px;
    word-wrap: break-word;
    max-width: 100%;
}
#chat-widget .chat-msg.mine .msg-bubble {
    background: #337ab7;
    color: #fff;
}
#chat-widget .chat-msg.theirs .msg-bubble {
    background: #e8e8e8;
    color: #333;
}
#chat-widget .chat-msg .msg-meta {
    font-size: 10px;
    color: #999;
    margin-top: 2px;
}
#chat-widget .chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}
#chat-widget .chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    font-size: 13px;
}
#chat-widget .chat-input button {
    border: none;
    background: #337ab7;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
}
#chat-widget .chat-input button:hover {
    background: #286090;
}
/* GROUP CHAT WIDGET - end */