/* top right bottom left */

/* green: #ecf3e1
   blue text: #0e6998
   blue light background: #f3f7fa
   yellow canvas: #fef4bf
   red text: #d7372b
   blue button: #90b8d2
   grey seperator: #e4e4e4
   orange text: #ff8300
   dark grey header text: #57524e
   tiny yellow box: #fff3ad
*/
*
{
  outline: none 0;
}

html, body, table, th, td, div
{
  font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  font-size: 8pt;
}

html, body
{
  height: auto;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

table
{
  border: 0;
  border-spacing: 1px 1px; /* cellspacing */
  width: 100%;
}

h1, th, td
{
  color: #57524e;
}

h1, th
{
  text-align: left;
}

h1
{
  font-weight: bold;
  font-size: 12pt;
}

ul, ul li
{
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

a, a:hover, a:active, a:visited
{
  background-color: transparent;
}

a.pdf
{
  font-size: 8pt;
  padding-right: 18px;
  background: transparent url(../images/sprites.gif) no-repeat -862px -349px;
}
a.all_pdf{
  font-size: 8pt;
  padding-right: 19px;
  background: transparent url(../images/sprites.gif) no-repeat -862px -349px;
}

span.highlight
{
  background-color: #ffff00;
  font-weight: bold;
}

body
{
  background-color: #ebf0f6;
  text-align: center;
  margin: 7px 7px 0 7px;
}

form
{
  margin: 0;
  padding: 0;
}

textarea
{
  width: 100%;
}

blockquote
{
  margin: 10px 0;
  padding: 0;
}

blockquote p
{
  margin: 10px;
  padding: 0;
}

blockquote#notice table
{
  height: 80px;
  border: 0 none;
}

blockquote#notice .icon
{
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

blockquote#notice td.notice
{
  border: 1px solid #ffda78;
  background: #fffebd;
  padding: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}

a span
{
  cursor: pointer;
}

a.rss, a:hover.rss, a:active.rss, a:visited.rss
{
  padding: 0;
  margin: 0;
  background: none;
  float: right;
}

tr.separator td
{
  padding-bottom: 5px;
}

ul#promotions, ul#promotions li,
ul#sales_categories, ul#sales_categories li
{
  float: left;
}

div.container
{
  position: relative;
  width: 900px;
  height: auto;
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
}

div#notification
{
  position: absolute;
  top: 45%;
  left: 40%;
  width: 300px;
  height: 100px;
  z-index: 3;
}

div#overlay
{
  position: absolute;
  top: 40%;
  left: 40%;
  width: 280px;
  height: 280px;
  padding: 10px;
  line-height: 300px;
  background-color: #000;
  z-index: 3;
  filter:alpha(opacity=90);
  -moz-opacity: 0.9;
  opacity: 0.9;
}

div#content
{
  float: left;
}

div.header
{
  background: url(../images/sprites.gif) no-repeat;
  width: 900px;
  height: 117px;
}

div.header *
{
  font-family: Verdana, Helvetica, Arial, Tahoma, Verdana, sans-serif;
}

div.header div#top
{
  width: 900px;
  height: 46px;
  color: #146ba1;
  text-align: left;
  float: left;
}

div.header div#top img
{
  margin-right: 12px;
}

div.header div#top h1
{
  color: #ffffff;
  display: inline;
}

div.header div#top h1 a.logo, div.header div#top h1 a.logo:hover
{
  width: 175px;
  height: 45px;
  margin: 0;
  display: block;
  float: left;
}

div.header div#top h1 a.logo:hover
{
  background-color: transparent;
}

div.header div#top div
{
  height: 36px;
  text-align: left;
}

div.header div#top div span
{
  padding-top: 10px;
  float: left;
}

div.header div#top div a, div.header div#top div a:hover, div.header div#top div a:active, div.header div#top div a:visited
{
  color: #146ba1;
  font-weight: bold;
  font-size: 9pt;
  text-decoration: none;
  padding-top: 10px;
}

div.header div#top div a:hover
{
  background-color: transparent;
  text-decoration: underline;
  color: #ffffff;
}

div.header div#top div div.search, div.header div#top div div.language
{
  height: 34px;
  padding-top: 12px;
  float: right;
}

div.header div#top div div.language
{
  color: #ffffff;
  margin: 0 5px 0 5px;
}

div.header div#top div div.language a, div.header div#top div div.language a:hover, div.header div#top div div.language a:active, div.header div#top div div.language a:visited
{
  color: #ffffff;
  font-weight: bold;
  font-size: 9pt;
  text-decoration: none;
  padding-top: 10px;
}

div.header div#top div div.language a:hover
{
  background-color: transparent;
  text-decoration: underline;
}

div.header div#top div div.search
{
  width: 238px;
}

div.search input#search
{
  background: #ffffff url(../images/sprites.gif) -681px -279px no-repeat;
  border: 0 none;
  width: 218px;
  height: 22px;
  padding: 0;
  margin: 0;
}

div.header div#top div div.wait
{
  width: 28px;
  height: 30px;
  padding-top: 16px;
  float: right;
}

div.header div#top div div.wait div#wait
{
  width: 16px;
  height: 16px;
}

div.header div#middle
{
  width: 890px;
  height: 27px;
  /* top right bottom left */
  padding: 5px 5px 0 5px;
  float: left;
}

div.header div#footer
{
  width: 890px;
  height: 27px;
  /* top right bottom left */
  padding: 4px 5px 0 5px;
  color: #3b5d14;
  font-size: 11pt;
  font-weight: bold;
  text-align: right;
  float: left;
}

div.admin, div.site, div.member
{
  background: #ffffff url(../images/sprites.gif) 0 -421px no-repeat; /* 110 */
  /*width: 880px;*/
  height: auto;
  /*height: 100%;*/ /* IE6 */
  min-height: 100%;
  /*display: table;*/ /* IE6 */
  padding: 10px;
  float: left;
  /*overflow-x: hidden;*/
}

div.admin div#content, div.member div#content
{
  /*width: 880px;*/
}

div.site div#content iframe
{
  width: 100%;
  height: 500px;
  min-height: 500px;
}

div.site div#content iframe.category
{
  width: 100%;
  height: auto;
  height: 100%;
  min-height: 100%;
}

div.footer
{
  width: 900px;
  height: 12px;
  padding: 4px 0 4px 0;
  color: #146ba1;
  text-align: right;
  float: left;
}

div.footer a, div.footer a:hover, div.footer a:active, div.footer a:visited
{
  color: #333;
  text-decoration: none;
}

div.footer a:hover
{
  text-decoration: underline;
}

div.box
{
  background-color: #f5efc9;
  filter:alpha(opacity=98);
  -moz-opacity:0.98;
  -khtml-opacity: 0.98;
  opacity: 0.98;
  padding: 10px;
  float: left;
}

div.admin div.box, div.admin div.box > div
{
  width: 860px;
}

div.site div.box, div.site div.box > div
{
  width: 860px;
}

div.box table tr td
{
  color: #57524e;
  font-size: 8pt;
}

div.box a, div.box a:hover, div.box a:active, div.box a:visited
{
  color: #57524e;
  background-color: transparent;
  text-decoration: none;
}

div.box a:hover
{
  text-decoration: underline;
}

div.box
{
  text-align: left;
}

.admin a, .admin a:hover, .admin a:active, .admin a:visited
{
  background-color: transparent;
}

.admin table
{
  font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  font-size: 8pt;
  margin-bottom: 10px;
  text-align: left;
  border-collapse: collapse;
  border: 1px solid #57524e;
  float: left;
}
.admin table table
{
  border: 0 none;
}
.admin table#sales{
  font-size: 9pt;
}
.admin table th
{
  padding: 6px;
  font-weight: normal;
  font-size: 10pt;
  color: #57524e;
  border-bottom: 1px dashed #57524e;
}
.admin table td
{
/*  padding: 3px 6px 3px 6px;*/
  color: #57524e;
}

.admin table tr.inverse
{
  background-color: #57524e;
}

.admin table tr.inverse span.highlight
{
  background-color: #57524e;
  color: #ffff00;
  font-weight: bold;
}

.admin table tr.inverse td
{
  color: #f5efc9;
}

.admin table tr.inverse a, .admin table tr.inverse a:hover, .admin table tr.inverse a:active, .admin table tr.inverse ul a:visited
{
  color: #f5efc9;
}

.admin ul#products, .admin ul#products li
{
  float: left;
  width: 100%;
}

.admin ul#products li
{
  border: 1px solid #635d4f;
  background-color: #faf4de;
  margin-bottom: 4px;
  clear: both;
}

.admin ul#products table
{
  border: 0 none;
}

.admin ul#products td
{
  color: #000;
  font-weight: bold;
}

.admin ul#products td.quantity
{
  text-align: right;
  font-weight: normal;
}

.admin ul#products span, .admin ul#products span a
{
  color: #42952b;
}

#messages
{
  width: 280px;
  text-align: left;
  float: left;
}

div.number
{
  background: url(../images/sprites.gif) 0 -361px no-repeat;
  margin: 0 2px 2px 0;
  padding: 0;
  font-weight: bold;
  text-align: center;
  float: left;
}

ul#promotions, ul#sales_categories
{
  background-color: #ffffff;
  filter:alpha(opacity=98);
  -moz-opacity:0.98;
  -khtml-opacity: 0.98;
  opacity: 0.98;
}

ul#promotions li, ul#sales_categories li
{
  display: inline;
  text-align: left;
  margin-bottom: 10px;
}

div.promotion
{
  background-color: #ecf3e1;
  border-bottom: 1px solid #fff;
  width: 830px;
  padding: 10px;
  display: block;
  float: left;
}

div.promotion, div.promotion table tr td
{
  color: #57524e;
  font-size: 9pt;
  text-decoration: none;
}

div.promotions
{
  width: 850px;
}

div.accordion, div.promotions
{
  display: block;
  float: left;
}

div.accordion
{
  background-color: #146ba1;
  width: 830px;
  height: 29px;
  padding: 1px 10px 0 10px;
}

div.accordion a, div.accordion a:hover, div.accordion a:active, div.accordion ul a:visited
{
  background-color: transparent;
  color: #fff;
  text-decoration: none;
}

div.accordion a:hover
{
  text-decoration: underline;
}

div.promotion a, div.promotion a:hover, div.promotion a:active, div.promotion a:visited
{
  background-color: transparent;
  color: #57524e;
  font-size: 9pt;
  text-decoration: none;
}

div.promotion a:hover
{
  text-decoration: underline;
}

div.hover
{
  background-color: #f3f7fa;
}

div.promotion div
{
  width: 760px;
  float: right;
}

div.promotion div.number
{
  width: 60px;
  height: 60px;
  line-height: 60px;
  float: left;
}

div.promotion table tr.separator td
{
  border-bottom: 1px solid #c9c2c1;
}

div.promotion blockquote
{
  margin: 10px 0;
  padding: 0;
  border: 1px solid #c9c2c1;
  background-color: #fff3ad;
}

div.promotion blockquote p
{
  margin: 10px;
  padding: 0;
}

div.products div.number
{
  width: 40px;
  height: 40px;
  line-height: 40px;
  display: inline;
}

ul#promotions li div.products li
{
  border-top: 1px solid #e4e4e4;
  width: 520px;
  padding: 10px;
}

span.discount
{
  color: #d7372b;
}
.admin table .inverse span.discount{
  color: #F26D63;
}

.auto_complete
{
  position: absolute;
  width: 250px;
  background-color: #ffffff;
  border: 1px solid #888;
  margin: 0;
  padding: 0;
}

.autocomplete ul
{
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.auto_complete ul li.selected
{
  background-color: #ffffdd;
}

.auto_complete ul li
{
  list-style-type: none;
  display: block;
  margin: 0;
  padding: 2px;
  height: 16px;
  font-size: 11px;
}

#sideBar
{
  position: absolute;
  width: auto;
  height: auto;
  top: 127px;
  right: 0;
  background: url(../images/background.gif) left top repeat-y;
  text-align: left;
  z-index: 1;
}

#sideBar a, #sideBar a:hover, #sideBar a:active, #sideBar a:visited, #sideBar a:focus
{
  background-color: transparent;
  text-decoration: none;
  border: none;
  outline: none;
}

#sideBarTab
{
  float: left;
  height: 137px;
  width: 28px;
}

#sideBarContents
{
  float: left;
  width: 300px;
  min-height: 137px;
}

#sideBarContents a:focus
{
  border: none;
  outline: none;
}

#sideBarContentsInner
{
  width: 280px;
  padding: 10px;
}

#sideBarContentsInner a, #sideBarContentsInner a:hover, #sideBarContentsInner a:active, #sideBarContentsInner a:visited
{
  color: #da1074;
  font-weight: bold;
  text-decoration: none;
  outline: none;
}

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

/* Bubble */
div.bubble
{
  width: auto;
}

div.bubble blockquote, div.bubble div.bubble blockquote
{
  margin: 0;
  padding: 0;
  border: 1px solid #fff;
  background-color: #fff;
}

div.bubble blockquote p, div.bubble div.bubble blockquote p
{
  margin: 10px;
  padding: 0;
  font-size: 8pt;
  text-align: justify;
}

div.bubble blockquote img
{
  margin: 10px 10px 0 10px;
  float: left;
  clear: none;
}

div.bubble cite
{
  position: relative;
  margin: 0;
  padding: 7px 0 0 15px;
  top: -1px;
  background: transparent url(../images/tip.gif) no-repeat 20px 0;
  font-style: normal;
  font-size: 8pt;
  color: #e4e4e4;
  float: left;
}

/* Reply Bubble */
div.bubble div.bubble
{
  margin-left: 16px;
}

div.bubble div.bubble blockquote
{
  background-color: #d0d0d0;
}

div.emphasis blockquote{
  background-color: orange;
}

div.bubble div.bubble blockquote p
{
  font-style: italic;
}

div.bubble div.bubble cite
{
  background: transparent url(../images/alt_tip.gif) no-repeat 20px 0;
}

div.bubbles
{
  padding-top: 24px;
}

div.bubble blockquote span.delete
{
  float: right;
}

div#attachments
{
  border: 1px solid #000;
  width: 100%;
  margin-bottom: 5px;
  text-align: left;
  float: left;
}

div.attachment
{
  width: 80px;
  height: 120px;
  float: left;
  text-align: center;
  overflow: hidden;
  margin: 5px;
}

.header ul li
{
  height: 27px;
  line-height: 23px;
  float: left;
  display: inline;
}
.header div.contact{
  float:left;
  margin-top:4px;
  margin-left:4px;
}
.header div.contact a{
  color: #3b5d14;
  font-size: 12px;
  font-weight: bold;
}
.header div.contact a:hover{
  color:#fff;
}

.header ul li a, .header ul li span a
{
  padding-left:  10px;
  padding-right: 10px;
  display: block;
  color: #3b5d14;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
}
.header ul li span a
{
  padding-right: 20px;
}

#middle ul
{
  float: left;
}

#footer ul
{
  float: right;
  left: 698px;
}

#middle ul li:hover, #middle ul li.iehover
{
  background: url(../images/sprites.gif) 0 -144px no-repeat;
}

#footer ul li:hover, #footer ul li.iehover
{
  background: url(../images/sprites.gif) 0 -117px no-repeat;
}

#middle ul li:hover a, #middle ul li.iehover a
{
  background: url(../images/sprites.gif) right -252px no-repeat;
}

#footer ul li:hover a, #footer ul li.iehover a
{
  background: url(../images/sprites.gif) right -171px no-repeat;
}

#middle ul li:hover span a, #middle ul li.iehover span a
{
  background: url(../images/sprites.gif) right -225px no-repeat;
}

#footer ul li:hover span a, #footer ul li.iehover span a
{
  background: url(../images/sprites.gif) right -171px no-repeat;
}

.header ul ul
{
  background: #fff none;
  border: solid 1px #c9dea1;
  border-top: 0 none;
  padding: 10px;
  margin: 4px 0;
  width: 180px;
  display: none;
  position: absolute;
  z-index: 2000;
}
.header ul ul li
{
  border-top: solid 1px #e4e4e4;
  width: 180px;
  height: 24px;
  line-height: 24px;
  display: block;
  text-align: left;
  float: left;
  clear: both;
  margin: 0;
  padding: 0;
}
.header ul ul a, .header ul ul a:hover, .header ul ul a:active, .header ul ul a:visited
{
  background: #fff none;
  font-size: 8pt;
  font-weight: bold;
  width: 180px;
  height: 24px;
  line-height: 24px;
  padding: 0;
  color: #0e6998;
  text-decoration: none;
  display: block;
  float: left;
}

#middle ul li:hover ul, #middle ul li.iehover ul, #footer ul li:hover ul, #footer ul li.iehover ul,
#middle ul li:hover ul li, #middle ul li.iehover ul li, #footer ul li:hover ul li, #footer ul li.iehover ul li,
#middle ul li:hover ul li a, #middle ul li.iehover ul li a, #footer ul li:hover ul li a, #footer ul li.iehover ul li a
{
  background: #fff none;
  color: #0e6998;
  display: block;
}

#middle ul li:hover ul li:hover a, #middle ul li.iehover ul li.iehover a, #footer ul li:hover ul li a:hover, #footer ul li.iehover ul li a:hover
{
  background: #f3f7fa none;
  color: #57524e;
}

#footer ul li
{
  text-align: right;
}

.pagination {
  padding: 3px;
  margin: 3px;
}
.pagination a {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #57524e;
  text-decoration: none;
  color: #57524e;
}
.pagination a:hover, .pagination a:active {
  border: 1px solid #57524e;
  color: #57524e;
}
.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #57524e;
  font-weight: bold;
  background-color: #57524e;
  color: #fff;
}
.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #eee;
  color: #ddd;
}

.progressBar, .progressBar b {
  width: 216px;
  height: 41px;
  position: relative;
  z-index: 2;
}
.progressBar {
  background: url(../images/progress_bar/bg_bar.gif) no-repeat 0 0;
  text-align: center;
}
.progressBar b {
  line-height: 41px;
  color: #000;
}
.progressBar span {
  position: absolute;
  display: block;
  width: 200px;
  height: 25px;
  background: url(../images/progress_bar/bar.gif) no-repeat 0 0;
  top: 8px;
  left: 8px;
  overflow: hidden;
  text-indent: -8000px;
}
.progressBar em {
  position: absolute;
  display: block;
  width: 200px;
  height: 25px;
  background: url(../images/progress_bar/bg_cover.gif) repeat-x 0 0;
  top: 0;
}

/* Cart overview */
#cart .supplier {
  background-color: #146BA1;
}

#cart .supplier td {
  color: #fff;
  font-weight: bold;
  padding: 4px;
}

#cart .promotion {
  background-color: #ECF3E1;
}

#cart .promotion td {
  color: #57524E;
  font-weight: bold;
  padding: 4px;
}

#cart .promotion td span, #cart .supplier td span {
  color: red;
  font-weight: bold;
}

#cart tr.error{
  background-color:#ccc;
}


/* Form stuff */
label {
  font-weight: bold;
}

/* starring promotions */
.star {
  background: url(../images/star.png);
  width: 16px;
  height: 16px;
  display:-moz-inline-block; display:-moz-inline-box; display:inline-block;
}

.star span {
  display:none;
}

/* promotion colouring */
#promotions div.accordion.super-urgent {
  background-color: red;
}

#promotions div.accordion.urgent {
  background-color: orange;
}


div.error{
  font-size:20px;
  margin:10px 0;
  color:red;
}

tr.on_hold{
  background-color: #57524e;
}
tr.on_hold td{
  color: #f5efc9;
}

h1 span.on_hold{
  color:red;
}

td.cart_actions div{
  display:inline;
}

a.ui-corner-all{
  text-align: left;
}

a.img, img{
  border:0;
}


div.box table.error tr td, div.box table.notice tr td {
  font-size: 14px;
  line-height:24px;
  text-align:center;
  padding: 10px;
}

div.box table.error tr td {
  color: #FFEAEA;
}

table.error{
  background: #D00C00;
  border: 1px solid #910000;
}

div.box table.notice tr td {
  color: #000;
}

table.notice{
  background: #E6901E;
  border: 1px solid #A79E80;
}

div#env_notice{
  height:25px;
  background-color:#D00C00;
  width:100%;
  margin:0;
  color:#FAE7E6;
  font-weight:bold;
  font-size:11pt;

}
body{
  margin:0;
}

.total_label {
  text-align: right;
  padding-right: 5px;
}

/* Clearfix */

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

/* members list */
#list{
  width: 100%;
  text-align: left;
}
#list table{
  width: 100%;
  border: 1px solid #666;
}
#list table tr.even{
  background-color: #ccc;
}
#list table tr.odd{
  background-color: #eee;
}
#list table th{
  font-size: 1.1em;
  color: #fff;
  background-color: #333;
  padding: 2px;
}
#list table td{
  padding: 1px 2px;
}

h2 span, h1 span{
  font-size: 0.9em;
}

#suppliers_filter{
  margin: 12px 0 20px;
}

.center {
  text-align: center !important;
}

.flash {
  font-size: 1.5em;
  line-height: 2;
  padding: 1em;
  color: #ffffff;
  font-weight: bold;
}

.flash.error {
  background: #D00C00;
}

.flash.alert {
  background: #D00C00;
}

.flash.notice {
  background: #3b5d14;
}

td.promo-date {
  font-weight: bold;
}

td.promo-date.super-urgent {
  background-color: red;
  color: #ffffff!important;
}

td.promo-date.urgent {
  background-color: orange;
  color: #ffffff;
}

/* Twitter Typeahead.js styles
-------------------------------------------- */

.typeahead,
.tt-query,
.tt-hint {
  padding: 0.5em;
  width: 396px;
  font-size: 1em;
  height: 1.5em;
  /*padding: 8px 12px;*/
  /*font-size: 24px;*/
  line-height: 1.5;
  border: 1px solid #ccc;
  outline: none;
}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 1px solid #bed994;
  text-shadow: none;
}

.tt-query {
  color: #000;
}

.tt-dropdown-menu {
  background: #fff;
  width: 396px;
  border: 1px solid #ccc;
  padding: 0.5em!important;
}

.tt-suggestion {
  font-size: 1.2em;
  padding: 0.5em!important;
  margin: 0.5em 0!important;
}

.tt-suggestion.tt-is-under-cursor {
  color: #fff;
  background-color: #3b5d14;
}

.user-company {
  float: right;
  font-style: italic;
}

.user-name {
  font-weight: bold;
}

.user-email {
  font-size: 0.9em;
}

.tt-suggestion p {
  margin: 0;
}
/*
html {
  overflow-y: scroll;
  *overflow-x: hidden;
}*/
.reservations-actions form {
  display: inline-block;
}

span.toggle_viewed a {
  font-size: 0.9em;
  text-decoration: underline;
}

.notice {
  background-color: #fff3ad;
  padding: 3px;
  border: 1px solid #ffda78;
}

/* Sales categories */
ul#sales_categories li div.accordion {
  padding: 6px 10px 10px 10px;
  height: auto;
  font-size: 10pt;
}
ul#sales_categories li a:visited {
  color: white;
}

td.sales_quantity input {
  width: 50px;
}
td.euros {
  text-align: right;
}
