body {
    /**padding-top: 80px;
    background-image: url(../images/tt.jpg);*/
}


.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus  {
    color: #000;
    background-color: #fff;
}

.navbar-brand {
    color: #fff;
    font-weight: bold;
    margin-left: 45px;
    margin-right: 20px;
    padding-right: 0;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(255, 255, 255, 0.125);
}

.nav-stacked .nav-header {
    margin-bottom: 10px;
    font-size: 18px;
}

.navbar-default .navbar-brand {
    color: #fff;
}

.navbar-default {
    background-color: #333333;
    border-color: #fff;
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #cccccc;
}

body#login {
    padding-bottom: 40px;
}


/* added to fix non clickable dropdown nested menus on mobile browsers APF-1384 */
.navbar .dropdown-backdrop {
    position: static;
}

#switchLocale {
    position: absolute;
    right: 10px;
}

h1, h2 {
    margin-bottom: 10px;
}

#content {
    padding-bottom: 60px;
}

.row h2 {
    margin-top: 0;
}

/* FORMS */

.controls.readonly {
    padding-top: 5px;
}

.well.form-horizontal .form-actions {
    margin-bottom: 0;
}

.btn-group {
    margin-bottom: 10px;
}

.btn-group .btn, .form-actions .btn {
    margin-left: 5px;
}

#search {
    float: right;
    margin-top: -40px;
    width: 250px;
}

#search input[type="text"] {
    display: inline-block;
}

.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;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top:20px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#login p {
    text-align: center
}

/* When using Wicket tag id can be overridden - using class here seems to more universal */
.login p {
    text-align: center
}

/* TABLES */

th.sorted a, th.sortable a {
    display: block;
}

.table th.order1 a {
    background-image: url(../images/arrow_down.png);
}

.table th.order2 a {
    background-image: url(../images/arrow_up.png);
}

.table th.sorted a, .table th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;
}

div.exportlinks a {
    text-decoration: none;
}

div.exportlinks span {
    background-repeat: no-repeat;
    background-position: 1px 2px;
}

span.csv {
    background-image: url(../images/ico_file_csv.png);
}

span.excel {
    background-image: url(../images/ico_file_excel.png);
}

span.pdf {
    background-image: url(../images/ico_file_pdf.png);
}

span.xml {
    background-image: url(../images/ico_file_xml.png);
}

span.export {
    cursor: pointer;
    display: inline-block;
    padding: 0 4px 1px 20px;
}

span.pagebanner {
    display: block;
    margin: 0 0 0 10px;
    padding: 2px 4px 2px 0;
}

span.pagelinks {
    display: block;
    font-size: .95em;
    margin-bottom: 5px;
    margin-top: -18px;
    padding: 2px 0 2px 0;
    text-align: right;
    width: 80%;
}

/* Set the fixed height of the footer here */
#footer {
    background-color: #f5f5f5;
}

/* FOOTER */
#footer {
    clear: both;
    margin: 0 auto;
    padding: 10px 0 20px 0;
    border-top: 4px solid #f0f0f0;
    text-align: center;
    background-color: white;
    color: #808080;
    font-size: 0.9em;
}

#footer a {
    color: #808080;
    text-decoration: none;
    margin-left: 5px;
}

#footer a:hover {
    text-decoration: underline;
}

#footer p {
    margin: 0;
}

/* Responsive
-------------------------------------------------- */

/* Desktop large
------------------------- */
@media (min-width: 1200px) {

}

/* Desktop
------------------------- */
@media (max-width: 980px) {

}

/* Tablet to desktop
------------------------- */

/* Tablet
------------------------- */
@media (max-width: 767px) {

}

/* Landscape phones
------------------------- */
@media (max-width: 480px) {

    #search {
        float: none;
        margin-top: 0;
    }
}

/* Wicket */
.table thead tr th.wicket_orderDown a {
    background-image: url(../images/arrow_down.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: block;
    /*padding-right: 15px;*/
}

.table thead tr th.wicket_orderUp a {
    background-image: url(../images/arrow_up.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: block;
}

/* Fix for Bootstrap theme errors in PrimeFaces: http://forum.primefaces.org/viewtopic.php?f=9&t=19250&start=10 */
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {
    background: url("") repeat-x scroll 50% 50% #CD0A0A;
    border: 1px solid #CD0A0A;
    color: #FFFFFF;
}

ul#action-link-list {
    list-style-type:none;
}
ul#action-link-list li {
    display:inline;

}


.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

.btn-action {
    float:right;
    margin-left:20px;
}

.page-header {
    display:inline!important;
}

.search-form {
    float:right;
    margin:0px;
    padding:0px;
}


tr.subsidiary-monthly-sales-row > td > div:before {
    content:"\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0\00a0";
}

td.action-column-cell > div:before {
    content:""!important;
}

div.wicket-modal h3.w_captionText {
    font-weight: bold;
    height: 1.4em;
    left: 0;
    margin-left: 3px;
    margin-top: 0;
    position: absolute;
    font-size: 16px;
}

div.row {
    margin-left:-10px;
    margin-right:0px;
}


#brewery-name {
    float:left; 
    margin-left:20%;
    padding-top:15px;
    padding-bottom:15px;
    before:'[';
    after:']';
    color:#FFFFFF;
    font-weight:bold;
}


/* Overrides bootstrap table row line height */
.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
    line-height: 1.0!important;
}

.tagInputContainer {
}



.tagInputContainer ul {
    padding:0px;
    margin:0px;
    font-size: 1em;
    width:750px;
}

.table thead > tr > th, .table tbody > tr > th, .table tfoot > tr > th, .table thead > tr > td, .table tbody > tr > td, .table tfoot > tr > td {
    line-height: 1.0!important;
    padding:2px!important;
}

table .ui-widget-content {
    border:0px!important;

}


.product-category-col {
    width:40%;
}

.navigatorLabel {
    padding-bottom:5px;
}

/* Wicket */
a.wicket_orderDown span {
    background-image: url(../images/arrow_down.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: inline-block;
    width:12px;
    /*padding-right: 15px;*/
}

a.wicket_orderUp span {
    background-image: url(../images/arrow_up.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: inline-block;
    width:12px;
}

a.wicket_orderNone span {
    background-image: url(../images/arrow_off.png) !important;
    background-position: right center;
    background-repeat: no-repeat;
    display: inline-block;
    width:12px;
}

/*
span.sort-button {
    height: 15px;
    width: 16px;
    background: url(../images/sort-button.png) no-repeat;
    float: left;
    margin-left: 20px;
    margin-top: 10px;
}*/


#uploadFile {

    width:auto;
    display:inline-block;

}

.col-sm-6 form-group {
    width:100%;
    border:solid 2px red;
}


.fileUpload {
    position: relative;
    overflow: hidden;
    /*margin: 10px;*/
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.help-link {
    display:block;
    float:right;
    height:16px;
    width:13px;
    background-image: url(../images/iconHelp.gif);
}


.monthly-sales-state.created {
    background-color: #CD0A0A;
}

.monthly-sales-state.import-in-progress {
    background-color: #cccccc;
}

.monthly-sales-state.uploaded {
    background-color: #00AAAA;
}

.monthly-sales-state.re-uploaded {
    background-color: #00AAAA;
}


.message-priority-level-info {
    
}

.message-priority-badge {
    position: absolute;
    top:0;
    right:0;
    width:12%;
}

.message-priority-level-important {
    //border:2px solid orange;
}

.message-priority-level-very-important {
    //border:2px solid red;
}



#impersonation-mode-banner {
    display:block;
    background-color:#CD0A0A;
}

.traffic-light {
    color:white;
}

.traffic-light.green {
    background-color:green;
}

.traffic-light.yellow {
    background-color:yellow;
}

.traffic-light.red {
    background-color:red;
}


#impersonation-mode-exit {
    color:red;
    font-weight:bold;
    text-decoration: underline;
}


ul.tagit li.tagit-new {
    margin:0px!important;
}

ul.tagit li.tag-separator {
    display:block;
    width:2.0em;
    margin:0px!important;
    /*border-bottom:2px solid green;*/
}

ul.tagit li.tagit-choice-editable {
    margin:0px!important;
}



