/* ============================================================

320 and Up by Andy Clarke
Version: 3.0
URL: http://stuffandnonsense.co.uk/projects/320andup/
Apache License: v2.0. http://www.apache.org/licenses/LICENSE-2.0

============================================================ */
/* Reset =================================================== */
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article, aside, figure, footer, header, hgroup, nav, section {
  display: block;
}

textarea {
  overflow: auto;
}

/* Variables =================================================== */
/* Mixins =================================================== */
.clearfix {
  *zoom: 1;
}
.clearfix:before, .clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

/* Page =================================================== */
html {
  background: #fff;
  font-size: 62.5%;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: #f3f5f6;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  background-color: transparent;
  background: #fff;
  font-family: Verdana, Arial, calibri, sans-serif;
  font-size: 16px;
  font-size: 1.6rem;
  line-height: 1.7em;
  color: #9f9f9f;
}

.g-hide {
  display: none !important;
  visibility: hidden;
}

.g-show {
  display: block !important;
  visibility: visible;
}

.g-prepend-top {
  margin-top: 1.5em;
}

.g-append-bottom {
  margin-bottom: 1.5em;
}

.g-gap {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

.g-image-left {
  float: left;
  margin: 0 8px 6px 0;
}

.g-image-right {
  float: right;
  margin: 0 0 6px 8px;
}

.g-unflashy-link {
  color: inherit;
  text-decoration: inherit;
}

.g-video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.g-smaller {
  font-size: 0.8em;
  font-weight: bold;
  font-style: italic;
}

.g-compactRadioGroup {
  margin-bottom: 10px;
}
.g-compactRadioGroup label, .g-compactRadioGroup input {
  display: inline;
  margin: 0;
}
.g-compactRadioGroup label {
  padding-left: 4px;
  padding-right: 12px;
  position: relative;
  bottom: 1px;
}

.g-smallinput {
  width: 200px;
}

/* Typography =================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: inherit;
  font-weight: bold;
  color: #9f9f9f;
  text-rendering: optimizelegibility;
}

h1 small,
h2 small {
  font-weight: normal;
  color: #bfbfbf;
}

h1,
.h1 {
  margin-bottom: 0.56667em;
  font-size: 20px;
  font-size: 2rem;
  line-height: 1.2;
}

h2,
.h2 {
  margin-bottom: 0.85em;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.2;
}

h3,
.h3 {
  margin-bottom: 1.13333em;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

h4,
.h4 {
  margin-bottom: 1.7em;
  font-size: 18px;
  font-size: 1.8rem;
  line-height: 1.25;
}

h5,
.h5 {
  font-size: 16px;
  font-size: 1.6rem;
  margin-bottom: 1.7em;
}

h6,
.h6 {
  margin-bottom: 1.7em;
  font-size: 14px;
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header h1,
.header h2,
.header h3 {
  float: left;
  margin-right: 24px;
}
.header h1 a,
.header h2 a,
.header h3 a {
  display: block;
  position: relative;
  top: 6px;
  float: right;
  padding: 4px 12px;
  font-size: 14px;
  font-size: 1.4rem;
  background-color: #f3f5f6;
}
.header h1:hover,
.header h2:hover,
.header h3:hover {
  background-color: #f3f5f6;
}

.header .a-rss,
.header .a-rss:hover {
  float: left;
  width: 16px;
  height: 16px;
  padding: 0;
  background: transparent url(../img/a-rss.png) no-repeat 0 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

p,
ol,
ul,
dl,
address {
  margin-bottom: 1.7em;
  font-size: 10px;
  font-size: 1rem;
  line-height: 1.7em;
}

small {
  font-size: 8px;
  font-size: 0.8rem;
}

ul,
ol {
  margin: 0 0 1.7em 0;
  padding: 0 0 0 24px;
}

li ul,
li ol {
  margin: 0;
}

blockquote {
  margin: 0 0 1.7em -24px;
  padding-left: 24px;
  border-left: 2px solid #c7ced6;
  font-family: Cambria, Georgia, Times, "Times New Roman";
  font-style: normal;
}

q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

cite {
  font-style: normal;
}

dl,
dd {
  margin-bottom: 1.7em;
}

dt {
  font-weight: bold;
}

.dl-horizontal dt {
  float: left;
  clear: left;
  width: 20.25%;
  text-align: right;
}
.dl-horizontal dd {
  margin-left: 22.78%;
}

abbr[title] {
  border-bottom: 1px dotted #c7ced6;
  cursor: help;
}

b, strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

ins {
  background-color: #f3f5f6;
  color: #9f9f9f;
  text-decoration: none;
}

mark {
  background-color: #f3f5f6;
  color: #9f9f9f;
  font-style: italic;
  font-weight: bold;
}

pre,
code,
kbd,
samp {
  font-family: Monaco, Courier New, monospace;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.7em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

sub,
sup {
  position: relative;
  font-size: 12px;
  font-size: 1.2rem;
  line-height: 0;
  vertical-align: baselineheight;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Colour =================================================== */
a {
  text-decoration: underline;
  color: #888888;
}
a:visited {
  color: #888888;
}
a:hover {
  color: #a2a2a2;
}
a:focus {
  color: #0099ff;
}
a:hover, a:active {
  outline: 0;
}

::-moz-selection {
  background-color: #d6dbe1;
  color: #2d353e;
  text-shadow: none;
}

::selection {
  background-color: #d6dbe1;
  color: #2d353e;
  text-shadow: none;
}

.swatch {
  margin: 0 0 1.7em 0;
  padding: 0;
}

.swatch-row {
  display: block;
  margin: 0;
  padding: 0;
  width: 200px;
}

.swatch-row-one {
  background-color: black;
}

.swatch-row-two {
  background-color: white;
}

.swatch-row span {
  display: block;
  float: left;
  width: 50px;
  height: 50px;
}

.swatch-base span:nth-child(1) {
  background-color: rgba(45, 53, 62, 0.9);
}

.swatch-base span:nth-child(2) {
  background-color: rgba(45, 53, 62, 0.8);
}

.swatch-base span:nth-child(3) {
  background-color: rgba(45, 53, 62, 0.7);
}

.swatch-base span:nth-child(4) {
  background-color: rgba(45, 53, 62, 0.6);
}

.swatch-alert span:nth-child(1) {
  background-color: rgba(252, 248, 227, 0.9);
}

.swatch-alert span:nth-child(2) {
  background-color: rgba(252, 248, 227, 0.8);
}

.swatch-alert span:nth-child(3) {
  background-color: rgba(252, 248, 227, 0.7);
}

.swatch-alert span:nth-child(4) {
  background-color: rgba(252, 248, 227, 0.6);
}

.swatch-error span:nth-child(1) {
  background-color: rgba(218, 79, 73, 0.9);
}

.swatch-error span:nth-child(2) {
  background-color: rgba(218, 79, 73, 0.8);
}

.swatch-error span:nth-child(3) {
  background-color: rgba(218, 79, 73, 0.7);
}

.swatch-error span:nth-child(4) {
  background-color: rgba(218, 79, 73, 0.6);
}

.swatch-info span:nth-child(1) {
  background-color: rgba(217, 237, 247, 0.9);
}

.swatch-info span:nth-child(2) {
  background-color: rgba(217, 237, 247, 0.8);
}

.swatch-info span:nth-child(3) {
  background-color: rgba(217, 237, 247, 0.7);
}

.swatch-info span:nth-child(4) {
  background-color: rgba(217, 237, 247, 0.6);
}

.swatch-success span:nth-child(1) {
  background-color: rgba(91, 183, 91, 0.9);
}

.swatch-success span:nth-child(2) {
  background-color: rgba(91, 183, 91, 0.8);
}

.swatch-success span:nth-child(3) {
  background-color: rgba(91, 183, 91, 0.7);
}

.swatch-success span:nth-child(4) {
  background-color: rgba(91, 183, 91, 0.6);
}

.swatch-warning span:nth-child(1) {
  background-color: rgba(250, 167, 50, 0.9);
}

.swatch-warning span:nth-child(2) {
  background-color: rgba(250, 167, 50, 0.8);
}

.swatch-warning span:nth-child(3) {
  background-color: rgba(250, 167, 50, 0.7);
}

.swatch-warning span:nth-child(4) {
  background-color: rgba(250, 167, 50, 0.6);
}

/* Texture =================================================== */
.alert {
  margin-bottom: 1.7em;
  padding: 8px 35px 8px 14px;
  background-color: #fcf8e3;
  border: 1px solid #f2e187;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  font-family: Verdana, Arial, calibri, sans-serif;
  color: #9c8611;
}
.alert .alert-heading {
  color: inherit;
}
.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  float: right;
  font-size: 21px;
  font-size: 2.1rem;
  font-weight: bold;
  line-height: 18px;
  color: inherit;
}

.alert-success {
  background-color: #c5e6c5;
  border-color: #a2d6a2;
  color: #347834;
}

.alert-warning {
  background-color: #fee7c7;
  border-color: #fcd296;
  color: #c17305;
}

.alert-error {
  background-color: #f4cac8;
  border-color: #eba19e;
  color: #da4f49;
}

.alert-inverse {
  background-color: #414141;
  border-color: black;
  color: white;
}

.alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}
.alert-block .alert-heading {
  margin-bottom: 0.2125em;
  font-size: inherit;
  font-weight: bold;
}
.alert-block > p,
.alert-block > ul {
  margin-bottom: 0;
}
.alert-block p + p {
  margin-top: 5px;
}

.badge {
  padding: 1px 9px 2px;
  font-size: 12px;
  font-size: 1.2rem;
  font-weight: bold;
  white-space: nowrap;
  color: gray;
  background-color: #d9d9d9;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  -ms-border-radius: 9px;
  -o-border-radius: 9px;
  border-radius: 9px;
  -webkit-transition: background-color 0.25s 0;
  -webkit-transition-delay: linear;
  -moz-transition: background-color 0.25s 0 linear;
  -o-transition: background-color 0.25s 0 linear;
  transition: background-color 0.25s 0 linear;
}
.badge:hover {
  color: gray;
  text-decoration: none;
  cursor: pointer;
}

.badge-error {
  background-color: #da4f49;
  color: white;
}
.badge-error:hover {
  background-color: #9d2520;
  color: white;
}

.badge-warning {
  background-color: #faa732;
  color: white;
}
.badge-warning:hover {
  background-color: #c17305;
  color: white;
}

.badge-success {
  background-color: #5bb75b;
  color: white;
}
.badge-success:hover {
  background-color: #347834;
  color: white;
}

.badge-info {
  background-color: #d9edf7;
  color: #247fad;
}
.badge-info:hover {
  background-color: #85c5e5;
}

.badge-inverse {
  background-color: #414141;
  color: white;
}
.badge-inverse:hover {
  background-color: #0e0e0e;
  color: white;
}

.well {
  min-height: 21px;
  padding: 11px;
  margin-bottom: 1.7em;
  background-color: #f3f5f6;
  border: 1px solid #b8c1cb;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 10px #d6dbe1;
  -moz-box-shadow: inset 0 1px 10px #d6dbe1;
  box-shadow: inset 0 1px 10px #d6dbe1;
}
.well p:last-child {
  margin-bottom: 0;
}

.well-large {
  padding: 22px;
}

.well-small {
  padding: 6px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
}

/************ Accordion menu ************/
#navcontainer ul.accordion-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 4px 4px 4px 4px;
  padding: 0;
  margin: 0 6px;
  background: none;
  font-family: arial, verdana, calibri, sans-serif;
}
#navcontainer ul.accordion-menu li {
  background: none;
  text-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
}
#navcontainer ul.accordion-menu li a {
  line-height: 20px;
  color: inherit !important;
  display: block;
  text-decoration: none !important;
}
#navcontainer ul.accordion-menu li.level1 a {
  color: #777 !important;
}
#navcontainer ul.accordion-menu li.level2 a {
  color: #9f9f9f !important;
}
#navcontainer ul.accordion-menu ul.level2 li {
  background: none;
  font-size: 0.9em;
}
#navcontainer ul.accordion-menu li.level1 div.toggler:hover,
#navcontainer ul.level2 li:hover {
  background: none;
  color: #c4c4c4 !important;
  text-shadow: none;
}
#navcontainer ul.accordion-menu li.current div.toggler {
  background: none;
}
#navcontainer ul.accordion-menu li div.toggler {
  height: 20px;
  padding: 7px 5px;
  position: relative;
  border-color: #fff;
}
#navcontainer ul.accordion-menu li span.arrow {
  background: url(../images/transparent.png);
  position: absolute;
  width: 100%;
  clear: right;
  float: right;
  height: 20px;
  background-repeat: no-repeat;
  cursor: pointer;
}
#navcontainer ul.accordion-menu li span.menu_icon {
  float: left;
  height: 0;
  width: 0;
  margin: 0;
}
#navcontainer ul.accordion-menu li ul.level2 {
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
}
#navcontainer ul.accordion-menu li ul.level2 li {
  height: 15px;
  padding: 6px 0 5px 20px;
  line-height: 0.9em;
}
#navcontainer ul.accordion-menu li ul.level2 li.active a {
  font-weight: bold;
  text-shadow: none;
}
#navcontainer ul.accordion-menu li.level1.currents >a {
  font-weight: bold;
  text-shadow: none;
}

/********** End accordion menu **********/
ul.yiiPager {
  font-size: 11px;
  border: 0;
  margin: 0;
  padding: 0;
  line-height: 100%;
  display: inline;
  font-family: arial, verdana, calibri, sans-serif;
}

ul.yiiPager li {
  display: inline;
}

ul.yiiPager a:link,
ul.yiiPager a:visited {
  font-weight: bold;
  color: #888888;
  padding: 1px 4px;
  text-decoration: none;
}

ul.yiiPager .page a {
  font-weight: normal;
}

ul.yiiPager .selected a {
  text-decoration: underline;
  font-weight: bold;
}

ul.yiiPager .hidden a {
  color: #ccc;
}

/**
 * Hide first and last buttons by default.
 */
ul.yiiPager .first,
ul.yiiPager .last {
  display: none;
}

/* Elements =================================================== */
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #c7ced6;
  border-bottom: 1px solid white;
}

img {
  max-width: 100%;
  border-width: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin-bottom: 1.7em;
}
figure img {
  margin-bottom: 0.425em;
}
figure figcaption {
  display: block;
  font-weight: normal;
  font-size: 14px;
  font-size: 1.4rem;
  color: gray;
}

.list-bordered {
  list-style-type: none;
  margin: 0 0 1.7em 0;
  padding: 0;
}
.list-bordered li {
  margin-bottom: 0.425em;
  padding-bottom: 0.425em;
  border-bottom: 1px dashed #c7ced6;
}
.list-bordered li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom-width: 0;
}

/* FROM QIANG */
div.form span.required {
  color: red;
}

div.form div.error label,
div.form label.error,
div.form span.error {
  color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error {
  background: #FEE;
  border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success {
  background: #E6EFC2;
  border-color: #C6D880;
}

div.form .errorSummary {
  border: 2px solid #C00;
  padding: 7px 7px 12px 7px;
  margin: 0 0 20px 0;
  background: #FEE;
  font-size: 0.9em;
}

div.form .errorMessage {
  color: red;
  font-size: 0.9em;
}

div.form .errorSummary p {
  margin: 0;
  padding: 5px;
}

div.form .errorSummary ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style-type: disc;
}

div.form label {
  font-size: 0.9em;
  color: #777;
}

div.form .hint {
  color: #999999;
  margin: 0;
  padding: 0;
}

/* Forms =================================================== */
/*
 * Bootstrap v2.2.2
 *
 * Copyright 2012 Twitter, Inc
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Designed and built with all the love in the world @twitter by @mdo and @fat.
 */
.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

form {
  margin: 0 0 20px;
}

fieldset {
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  font-size: 21px;
  line-height: 40px;
  color: #666;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

legend small {
  font-size: 15px;
  color: #999999;
}

label,
input,
button,
select,
textarea {
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
}

input,
button,
select,
textarea {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
}

label {
  display: block;
  margin-bottom: 5px;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  display: inline-block;
  height: 28px;
  padding: 4px 6px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #555555;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  vertical-align: middle;
}

input,
textarea,
.uneditable-input {
  width: 97%;
}
input:hover,
textarea:hover,
.uneditable-input:hover {
  border-color: rgba(82, 168, 236, 0.8);
}

textarea {
  height: auto;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
  background-color: #ffffff;
  border-color: #cccccc;
  border-width: 1px;
  border-style: solid;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border linear .2s, box-shadow linear .2s;
  -moz-transition: border linear .2s, box-shadow linear .2s;
  -o-transition: border linear .2s, box-shadow linear .2s;
  transition: border linear .2s, box-shadow linear .2s;
}
textarea:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="date"]:hover,
input[type="month"]:hover,
input[type="time"]:hover,
input[type="week"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="url"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="color"]:hover,
.uneditable-input:hover {
  border-color: rgba(82, 168, 236, 0.8);
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  border-color: rgba(82, 168, 236, 0.8);
  outline: 0;
  outline: thin dotted \9;
  /* IE6-9 */
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  *margin-top: 0;
  /* IE7 */
  margin-top: 1px \9;
  /* IE8-9 */
  line-height: normal;
}

input[type="file"],
input[type="image"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}

select,
input[type="file"] {
  height: 30px;
  /* In IE7, the height of the select element cannot be changed by height, only font-size */
  *margin-top: 4px;
  /* For IE7, add top margin to align select with labels */
  line-height: 30px;
}

select {
  width: 220px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
}

select[multiple],
select[size] {
  height: auto;
}

select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

.uneditable-input,
.uneditable-textarea {
  color: #999999;
  background-color: #fcfcfc;
  border-color: #cccccc;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
  cursor: not-allowed;
}

.uneditable-input {
  overflow: hidden;
  white-space: nowrap;
}

.uneditable-textarea {
  width: auto;
  height: auto;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #999999;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999999;
}

.radio,
.checkbox {
  min-height: 20px;
  padding-left: 20px;
}

.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -20px;
}

.controls > .radio:first-child,
.controls > .checkbox:first-child {
  padding-top: 5px;
}

.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}

.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}

.input-mini {
  width: 60px;
}

.input-small {
  width: 90px;
}

.input-medium {
  width: 150px;
}

.input-large {
  width: 210px;
}

.input-xlarge {
  width: 270px;
}

.input-xxlarge {
  width: 530px;
}

input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"] {
  float: none;
  margin-left: 0;
}

.input-append input[class*="span"],
.input-append .uneditable-input[class*="span"],
.input-prepend input[class*="span"],
.input-prepend .uneditable-input[class*="span"],
.row-fluid input[class*="span"],
.row-fluid select[class*="span"],
.row-fluid textarea[class*="span"],
.row-fluid .uneditable-input[class*="span"],
.row-fluid .input-prepend [class*="span"],
.row-fluid .input-append [class*="span"] {
  display: inline-block;
}

input,
textarea,
.uneditable-input {
  margin-left: 0;
}

.controls-row [class*="span"] + [class*="span"] {
  margin-left: 20px;
}

input.span12, textarea.span12, .uneditable-input.span12 {
  width: 926px;
}

input.span11, textarea.span11, .uneditable-input.span11 {
  width: 846px;
}

input.span10, textarea.span10, .uneditable-input.span10 {
  width: 766px;
}

input.span9, textarea.span9, .uneditable-input.span9 {
  width: 686px;
}

input.span8, textarea.span8, .uneditable-input.span8 {
  width: 606px;
}

input.span7, textarea.span7, .uneditable-input.span7 {
  width: 526px;
}

input.span6, textarea.span6, .uneditable-input.span6 {
  width: 446px;
}

input.span5, textarea.span5, .uneditable-input.span5 {
  width: 366px;
}

input.span4, textarea.span4, .uneditable-input.span4 {
  width: 286px;
}

input.span3, textarea.span3, .uneditable-input.span3 {
  width: 206px;
}

input.span2, textarea.span2, .uneditable-input.span2 {
  width: 126px;
}

input.span1, textarea.span1, .uneditable-input.span1 {
  width: 46px;
}

.controls-row {
  *zoom: 1;
}

.controls-row:before,
.controls-row:after {
  display: table;
  content: "";
  line-height: 0;
}

.controls-row:after {
  clear: both;
}

.controls-row [class*="span"],
.row-fluid .controls-row [class*="span"] {
  float: left;
}

.controls-row .checkbox[class*="span"],
.controls-row .radio[class*="span"] {
  padding-top: 5px;
}

input[type="radio"][disabled],
input[type="checkbox"][disabled],
input[type="radio"][readonly],
input[type="checkbox"][readonly] {
  background-color: transparent;
}

.control-group.warning .control-label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
  color: #c09853;
}

.control-group.warning .checkbox,
.control-group.warning .radio,
.control-group.warning input,
.control-group.warning select,
.control-group.warning textarea {
  color: #c09853;
}

.control-group.warning input,
.control-group.warning select,
.control-group.warning textarea {
  border-color: #c09853;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.warning input:focus,
.control-group.warning select:focus,
.control-group.warning textarea:focus {
  border-color: #a47e3c;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
}

.control-group.warning .input-prepend .add-on,
.control-group.warning .input-append .add-on {
  color: #c09853;
  background-color: #fcf8e3;
  border-color: #c09853;
}

.control-group.error .control-label,
.control-group.error .help-block,
.control-group.error .help-inline {
  color: #b94a48;
}

.control-group.error .checkbox,
.control-group.error .radio,
.control-group.error input,
.control-group.error select,
.control-group.error textarea {
  color: #b94a48;
}

.control-group.error input,
.control-group.error select,
.control-group.error textarea {
  border-color: #b94a48;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.error input:focus,
.control-group.error select:focus,
.control-group.error textarea:focus {
  border-color: #953b39;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
}

.control-group.error .input-prepend .add-on,
.control-group.error .input-append .add-on {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #b94a48;
}

.control-group.success .control-label,
.control-group.success .help-block,
.control-group.success .help-inline {
  color: #468847;
}

.control-group.success .checkbox,
.control-group.success .radio,
.control-group.success input,
.control-group.success select,
.control-group.success textarea {
  color: #468847;
}

.control-group.success input,
.control-group.success select,
.control-group.success textarea {
  border-color: #468847;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.success input:focus,
.control-group.success select:focus,
.control-group.success textarea:focus {
  border-color: #356635;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
}

.control-group.success .input-prepend .add-on,
.control-group.success .input-append .add-on {
  color: #468847;
  background-color: #dff0d8;
  border-color: #468847;
}

.control-group.info .control-label,
.control-group.info .help-block,
.control-group.info .help-inline {
  color: #3a87ad;
}

.control-group.info .checkbox,
.control-group.info .radio,
.control-group.info input,
.control-group.info select,
.control-group.info textarea {
  color: #3a87ad;
}

.control-group.info input,
.control-group.info select,
.control-group.info textarea {
  border-color: #3a87ad;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.control-group.info input:focus,
.control-group.info select:focus,
.control-group.info textarea:focus {
  border-color: #2d6987;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3;
}

.control-group.info .input-prepend .add-on,
.control-group.info .input-append .add-on {
  color: #3a87ad;
  background-color: #d9edf7;
  border-color: #3a87ad;
}

input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
  color: #b94a48;
  border-color: #ee5f5b;
}

input:focus:invalid:focus,
textarea:focus:invalid:focus,
select:focus:invalid:focus {
  border-color: #e9322d;
  -webkit-box-shadow: 0 0 6px #f8b9b7;
  -moz-box-shadow: 0 0 6px #f8b9b7;
  box-shadow: 0 0 6px #f8b9b7;
}

.form-actions {
  padding: 19px 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  *zoom: 1;
}

.form-actions:before,
.form-actions:after {
  display: table;
  content: "";
  line-height: 0;
}

.form-actions:after {
  clear: both;
}

.help-block,
.help-inline {
  color: #595959;
}

.help-block {
  display: block;
  margin-bottom: 10px;
}

.help-inline {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  vertical-align: middle;
  padding-left: 5px;
}

.input-append,
.input-prepend {
  margin-bottom: 5px;
  font-size: 0;
  white-space: nowrap;
}

.input-append input,
.input-prepend input,
.input-append select,
.input-prepend select,
.input-append .uneditable-input,
.input-prepend .uneditable-input,
.input-append .dropdown-menu,
.input-prepend .dropdown-menu {
  font-size: 14px;
}

.input-append input,
.input-prepend input,
.input-append select,
.input-prepend select,
.input-append .uneditable-input,
.input-prepend .uneditable-input {
  position: relative;
  margin-bottom: 0;
  *margin-left: 0;
  vertical-align: top;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.input-append input:focus,
.input-prepend input:focus,
.input-append select:focus,
.input-prepend select:focus,
.input-append .uneditable-input:focus,
.input-prepend .uneditable-input:focus {
  z-index: 2;
}

.input-append .add-on,
.input-prepend .add-on {
  display: inline-block;
  width: auto;
  height: 20px;
  min-width: 16px;
  padding: 4px 5px;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  background-color: #eeeeee;
  border: 1px solid #ccc;
}

.input-append .add-on,
.input-prepend .add-on,
.input-append .btn,
.input-prepend .btn,
.input-append .btn-group > .dropdown-toggle,
.input-prepend .btn-group > .dropdown-toggle {
  vertical-align: top;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.input-append .active,
.input-prepend .active {
  background-color: #a9dba9;
  border-color: #46a546;
}

.input-prepend .add-on,
.input-prepend .btn {
  margin-right: -1px;
}

.input-prepend .add-on:first-child,
.input-prepend .btn:first-child {
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

.input-append input,
.input-append select,
.input-append .uneditable-input {
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

.input-append input + .btn-group .btn:last-child,
.input-append select + .btn-group .btn:last-child,
.input-append .uneditable-input + .btn-group .btn:last-child {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.input-append .add-on,
.input-append .btn,
.input-append .btn-group {
  margin-left: -1px;
}

.input-append .add-on:last-child,
.input-append .btn:last-child,
.input-append .btn-group:last-child > .dropdown-toggle {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.input-prepend.input-append input,
.input-prepend.input-append select,
.input-prepend.input-append .uneditable-input {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.input-prepend.input-append input + .btn-group .btn,
.input-prepend.input-append select + .btn-group .btn,
.input-prepend.input-append .uneditable-input + .btn-group .btn {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.input-prepend.input-append .add-on:first-child,
.input-prepend.input-append .btn:first-child {
  margin-right: -1px;
  -webkit-border-radius: 4px 0 0 4px;
  -moz-border-radius: 4px 0 0 4px;
  border-radius: 4px 0 0 4px;
}

.input-prepend.input-append .add-on:last-child,
.input-prepend.input-append .btn:last-child {
  margin-left: -1px;
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
}

.input-prepend.input-append .btn-group:first-child {
  margin-left: 0;
}

input.search-query {
  padding-right: 14px;
  padding-right: 4px \9;
  padding-left: 14px;
  padding-left: 4px \9;
  /* IE7-8 doesn't have border-radius, so don't indent the padding */
  margin-bottom: 0;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

/* Allow for input prepend/append in search forms */
.form-search .input-append .search-query,
.form-search .input-prepend .search-query {
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.form-search .input-append .search-query {
  -webkit-border-radius: 14px 0 0 14px;
  -moz-border-radius: 14px 0 0 14px;
  border-radius: 14px 0 0 14px;
}

.form-search .input-append .btn {
  -webkit-border-radius: 0 14px 14px 0;
  -moz-border-radius: 0 14px 14px 0;
  border-radius: 0 14px 14px 0;
  padding: 4px 14px;
  height: 30px;
}

.form-search .input-prepend .search-query {
  -webkit-border-radius: 0 14px 14px 0;
  -moz-border-radius: 0 14px 14px 0;
  border-radius: 0 14px 14px 0;
}

.form-search .input-prepend .btn {
  -webkit-border-radius: 14px 0 0 14px;
  -moz-border-radius: 14px 0 0 14px;
  border-radius: 14px 0 0 14px;
}

.form-search input,
.form-inline input,
.form-horizontal input,
.form-search textarea,
.form-inline textarea,
.form-horizontal textarea,
.form-search select,
.form-inline select,
.form-horizontal select,
.form-search .help-inline,
.form-inline .help-inline,
.form-horizontal .help-inline,
.form-search .uneditable-input,
.form-inline .uneditable-input,
.form-horizontal .uneditable-input,
.form-search .input-prepend,
.form-inline .input-prepend,
.form-horizontal .input-prepend,
.form-search .input-append,
.form-inline .input-append,
.form-horizontal .input-append {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-search .hide,
.form-inline .hide,
.form-horizontal .hide {
  display: none;
}

.form-search label,
.form-inline label,
.form-search .btn-group,
.form-inline .btn-group {
  display: inline-block;
}

.form-search .input-append,
.form-inline .input-append,
.form-search .input-prepend,
.form-inline .input-prepend {
  margin-bottom: 0;
}

.form-search .radio,
.form-search .checkbox,
.form-inline .radio,
.form-inline .checkbox {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}

.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"],
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-right: 3px;
  margin-left: 0;
}

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

legend + .control-group {
  margin-top: 20px;
  -webkit-margin-top-collapse: separate;
}

.form-horizontal .control-group {
  margin-bottom: 20px;
  *zoom: 1;
}

.form-horizontal .control-group:before,
.form-horizontal .control-group:after {
  display: table;
  content: "";
  line-height: 0;
}

.form-horizontal .control-group:after {
  clear: both;
}

.form-horizontal .control-label {
  float: left;
  width: 160px;
  padding-top: 5px;
  text-align: right;
}

.form-horizontal .controls {
  *display: inline-block;
  *padding-left: 20px;
  margin-left: 180px;
  *margin-left: 0;
}

.form-horizontal .controls:first-child {
  *padding-left: 180px;
}

.form-horizontal .help-block {
  margin-bottom: 0;
}

.form-horizontal input + .help-block,
.form-horizontal select + .help-block,
.form-horizontal textarea + .help-block,
.form-horizontal .uneditable-input + .help-block,
.form-horizontal .input-prepend + .help-block,
.form-horizontal .input-append + .help-block {
  margin-top: 10px;
}

.form-horizontal .form-actions {
  padding-left: 180px;
}

input[type=search] {
  -webkit-appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/* Buttons =================================================== */
input[type="submit"], .btn {
  display: inline-block;
  *display: inline;
  /* IE7 inline-block hack */
  *zoom: 1;
  padding: 5px 14px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 20px;
  *line-height: 20px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, white, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, white, #e6e6e6);
  background-image: -o-linear-gradient(top, white, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  *background-color: #e6e6e6;
  /* Darken IE7 buttons by default so they stand out more given they won't have borders */
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  border: 1px solid #bbbbbb;
  *border: 0;
  border-bottom-color: #a2a2a2;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  *margin-left: .3em;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

input[type="submit"]:hover, .btn:hover,
input[type="submit"]:active, .btn:active {
  color: #333333;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
}

input[type="submit"]:active, .btn:active {
  background-color: #cccccc \9;
}

input[type="submit"]:first-child, .btn:first-child {
  *margin-left: 0;
}

input[type="submit"]:hover, .btn:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  *background-color: #d9d9d9;
  /* Buttons in IE7 don't get borders, so darken on hover */
  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
  -moz-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
  transition: background-position 0.1s linear;
}

input[type="submit"]:focus, .btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

input[type="submit"]:active, .btn:active {
  background-color: #e6e6e6;
  background-color: #d9d9d9 \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  width: 14px;
  height: 14px;
  *margin-right: .3em;
  line-height: 14px;
  vertical-align: text-top;
  background-image: url("../images/glyphicons-halflings.png");
  background-position: 14px 14px;
  background-repeat: no-repeat;
  margin-top: 1px;
}

/* White icons with optional class, or on hover/focus/active states of certain elements */
.icon-white,
.nav-pills > .active > a > [class^="icon-"],
.nav-pills > .active > a > [class*=" icon-"],
.nav-list > .active > a > [class^="icon-"],
.nav-list > .active > a > [class*=" icon-"],
.navbar-inverse .nav > .active > a > [class^="icon-"],
.navbar-inverse .nav > .active > a > [class*=" icon-"],
.dropdown-menu > li > a:hover > [class^="icon-"],
.dropdown-menu > li > a:focus > [class^="icon-"],
.dropdown-menu > li > a:hover > [class*=" icon-"],
.dropdown-menu > li > a:focus > [class*=" icon-"],
.dropdown-menu > .active > a > [class^="icon-"],
.dropdown-menu > .active > a > [class*=" icon-"],
.dropdown-submenu:hover > a > [class^="icon-"],
.dropdown-submenu:focus > a > [class^="icon-"],
.dropdown-submenu:hover > a > [class*=" icon-"],
.dropdown-submenu:focus > a > [class*=" icon-"] {
  background-image: url("../images/glyphicons-halflings-white.png");
}

.icon-glass {
  background-position: 0      0;
}

.icon-music {
  background-position: -24px 0;
}

.icon-search {
  background-position: -48px 0;
}

.icon-envelope {
  background-position: -72px 0;
}

.icon-heart {
  background-position: -96px 0;
}

.icon-star {
  background-position: -120px 0;
}

.icon-star-empty {
  background-position: -144px 0;
}

.icon-user {
  background-position: -168px 0;
}

.icon-film {
  background-position: -192px 0;
}

.icon-th-large {
  background-position: -216px 0;
}

.icon-th {
  background-position: -240px 0;
}

.icon-th-list {
  background-position: -264px 0;
}

.icon-ok {
  background-position: -288px 0;
}

.icon-remove {
  background-position: -312px 0;
}

.icon-zoom-in {
  background-position: -336px 0;
}

.icon-zoom-out {
  background-position: -360px 0;
}

.icon-off {
  background-position: -384px 0;
}

.icon-signal {
  background-position: -408px 0;
}

.icon-cog {
  background-position: -432px 0;
}

.icon-trash {
  background-position: -456px 0;
}

.icon-home {
  background-position: 0 -24px;
}

.icon-file {
  background-position: -24px -24px;
}

.icon-time {
  background-position: -48px -24px;
}

.icon-road {
  background-position: -72px -24px;
}

.icon-download-alt {
  background-position: -96px -24px;
}

.icon-download {
  background-position: -120px -24px;
}

.icon-upload {
  background-position: -144px -24px;
}

.icon-inbox {
  background-position: -168px -24px;
}

.icon-play-circle {
  background-position: -192px -24px;
}

.icon-repeat {
  background-position: -216px -24px;
}

.icon-refresh {
  background-position: -240px -24px;
}

.icon-list-alt {
  background-position: -264px -24px;
}

.icon-lock {
  background-position: -287px -24px;
}

.icon-flag {
  background-position: -312px -24px;
}

.icon-headphones {
  background-position: -336px -24px;
}

.icon-volume-off {
  background-position: -360px -24px;
}

.icon-volume-down {
  background-position: -384px -24px;
}

.icon-volume-up {
  background-position: -408px -24px;
}

.icon-qrcode {
  background-position: -432px -24px;
}

.icon-barcode {
  background-position: -456px -24px;
}

.icon-tag {
  background-position: 0 -48px;
}

.icon-tags {
  background-position: -25px -48px;
}

.icon-book {
  background-position: -48px -48px;
}

.icon-bookmark {
  background-position: -72px -48px;
}

.icon-print {
  background-position: -96px -48px;
}

.icon-camera {
  background-position: -120px -48px;
}

.icon-font {
  background-position: -144px -48px;
}

.icon-bold {
  background-position: -167px -48px;
}

.icon-italic {
  background-position: -192px -48px;
}

.icon-text-height {
  background-position: -216px -48px;
}

.icon-text-width {
  background-position: -240px -48px;
}

.icon-align-left {
  background-position: -264px -48px;
}

.icon-align-center {
  background-position: -288px -48px;
}

.icon-align-right {
  background-position: -312px -48px;
}

.icon-align-justify {
  background-position: -336px -48px;
}

.icon-list {
  background-position: -360px -48px;
}

.icon-indent-left {
  background-position: -384px -48px;
}

.icon-indent-right {
  background-position: -408px -48px;
}

.icon-facetime-video {
  background-position: -432px -48px;
}

.icon-picture {
  background-position: -456px -48px;
}

.icon-pencil {
  background-position: 0 -72px;
}

.icon-map-marker {
  background-position: -24px -72px;
}

.icon-adjust {
  background-position: -48px -72px;
}

.icon-tint {
  background-position: -72px -72px;
}

.icon-edit {
  background-position: -96px -72px;
}

.icon-share {
  background-position: -120px -72px;
}

.icon-check {
  background-position: -144px -72px;
}

.icon-move {
  background-position: -168px -72px;
}

.icon-step-backward {
  background-position: -192px -72px;
}

.icon-fast-backward {
  background-position: -216px -72px;
}

.icon-backward {
  background-position: -240px -72px;
}

.icon-play {
  background-position: -264px -72px;
}

.icon-pause {
  background-position: -288px -72px;
}

.icon-stop {
  background-position: -312px -72px;
}

.icon-forward {
  background-position: -336px -72px;
}

.icon-fast-forward {
  background-position: -360px -72px;
}

.icon-step-forward {
  background-position: -384px -72px;
}

.icon-eject {
  background-position: -408px -72px;
}

.icon-chevron-left {
  background-position: -432px -72px;
}

.icon-chevron-right {
  background-position: -456px -72px;
}

.icon-plus-sign {
  background-position: 0 -96px;
}

.icon-minus-sign {
  background-position: -24px -96px;
}

.icon-remove-sign {
  background-position: -48px -96px;
}

.icon-ok-sign {
  background-position: -72px -96px;
}

.icon-question-sign {
  background-position: -96px -96px;
}

.icon-info-sign {
  background-position: -120px -96px;
}

.icon-screenshot {
  background-position: -144px -96px;
}

.icon-remove-circle {
  background-position: -168px -96px;
}

.icon-ok-circle {
  background-position: -192px -96px;
}

.icon-ban-circle {
  background-position: -216px -96px;
}

.icon-arrow-left {
  background-position: -240px -96px;
}

.icon-arrow-right {
  background-position: -264px -96px;
}

.icon-arrow-up {
  background-position: -289px -96px;
}

.icon-arrow-down {
  background-position: -312px -96px;
}

.icon-share-alt {
  background-position: -336px -96px;
}

.icon-resize-full {
  background-position: -360px -96px;
}

.icon-resize-small {
  background-position: -384px -96px;
}

.icon-plus {
  background-position: -408px -96px;
}

.icon-minus {
  background-position: -433px -96px;
}

.icon-asterisk {
  background-position: -456px -96px;
}

.icon-exclamation-sign {
  background-position: 0 -120px;
}

.icon-gift {
  background-position: -24px -120px;
}

.icon-leaf {
  background-position: -48px -120px;
}

.icon-fire {
  background-position: -72px -120px;
}

.icon-eye-open {
  background-position: -96px -120px;
}

.icon-eye-close {
  background-position: -120px -120px;
}

.icon-warning-sign {
  background-position: -144px -120px;
}

.icon-plane {
  background-position: -168px -120px;
}

.icon-calendar {
  background-position: -192px -120px;
}

.icon-random {
  background-position: -216px -120px;
  width: 16px;
}

.icon-comment {
  background-position: -240px -120px;
}

.icon-magnet {
  background-position: -264px -120px;
}

.icon-chevron-up {
  background-position: -288px -120px;
}

.icon-chevron-down {
  background-position: -313px -119px;
}

.icon-retweet {
  background-position: -336px -120px;
}

.icon-shopping-cart {
  background-position: -360px -120px;
}

.icon-folder-close {
  background-position: -384px -120px;
  width: 16px;
}

.icon-folder-open {
  background-position: -408px -120px;
  width: 16px;
}

.icon-resize-vertical {
  background-position: -432px -119px;
}

.icon-resize-horizontal {
  background-position: -456px -118px;
}

.icon-hdd {
  background-position: 0 -144px;
}

.icon-bullhorn {
  background-position: -24px -144px;
}

.icon-bell {
  background-position: -48px -144px;
}

.icon-certificate {
  background-position: -72px -144px;
}

.icon-thumbs-up {
  background-position: -96px -144px;
}

.icon-thumbs-down {
  background-position: -120px -144px;
}

.icon-hand-right {
  background-position: -144px -144px;
}

.icon-hand-left {
  background-position: -168px -144px;
}

.icon-hand-up {
  background-position: -192px -144px;
}

.icon-hand-down {
  background-position: -216px -144px;
}

.icon-circle-arrow-right {
  background-position: -240px -144px;
}

.icon-circle-arrow-left {
  background-position: -264px -144px;
}

.icon-circle-arrow-up {
  background-position: -288px -144px;
}

.icon-circle-arrow-down {
  background-position: -312px -144px;
}

.icon-globe {
  background-position: -336px -144px;
}

.icon-wrench {
  background-position: -360px -144px;
}

.icon-tasks {
  background-position: -384px -144px;
}

.icon-filter {
  background-position: -408px -144px;
}

.icon-briefcase {
  background-position: -432px -144px;
}

.icon-fullscreen {
  background-position: -456px -144px;
}

body {
  margin: 0px;
  border: 0px;
  padding: 0px;
  font-family: Verdana, Arial, Calibri, sans-serif;
  background: #fff;
  color: #9f9f9f;
  font-size: 1em;
}

html {
  font-size: 100%;
}

#header .logo {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  background: url("../images/header.jpg") no-repeat;
  float: left;
  height: 129px;
  width: 420px;
}

#header .searchbox {
  float: right;
  width: 246px;
}

#header .searchbox .searchinput {
  width: 194px;
}

#header .searchfieldwrapper {
  border: 1px solid #9f9f9f;
}

#header .searchfieldwrapper input {
  border: 1px solid #fff;
  background: #fff;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
}

#header .searchfieldwrapper .btn {
  background: #fff;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  padding-left: 5px;
  padding-right: 5px;
}

#custnav {
  padding-top: 10px;
}

#custnav a {
  float: right;
  margin-right: 15px;
  text-decoration: none;
  font-family: arial, verdana, calibri, sans-serif;
  display: block;
  color: #9F9F9F;
  height: 32px;
  line-height: 32px;
}

#navcontainer {
  background: white;
}

#mainwrapper {
  *zoom: 1;
  padding-top: 20px;
}
#mainwrapper:before, #mainwrapper:after {
  display: table;
  content: "";
}
#mainwrapper:after {
  clear: both;
}


#contentinner {
  margin-left: 0;
  margin-bottom: 20px;
  min-height: 31.25em;
}

#emptycontent {
  width: 98%;
  float: right;
}

#emptycontentinner {
  margin-left: 20px;
  margin-right: 23px;
  margin-bottom: 20px;
  min-height: 31.25em;
}

#footer {
  text-align: center;
}

#footer a {
  margin: 0 auto;
  margin-top: 5px;
  color: #9f9f9f;
}

#footer a:hover {
  color: #666;
  border: none;
}

#footer .sig {
  display: block;
  padding-top: 80px;
  margin-bottom: 5px;
  font-size: 12px;
}

.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: #fcf8e3;
  border: 1px solid #fbeed5;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  color: #c09853;
}

.alert h4 {
  margin: 0;
}

.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 20px;
  text-decoration: none;
  font-weight: bold;
  color: #000000;
  opacity: 0.2;
  text-shadow: 0 1px 0 #FFFFFF;
}

.alert .close:hover {
  color: #000000;
  cursor: pointer;
  opacity: 0.4;
  text-decoration: none;
}

.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #468847;
}

.alert-danger,
.alert-error {
  background-color: #f2dede;
  border-color: #eed3d7;
  color: #b94a48;
}

.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #3a87ad;
}

.alert-block {
  padding-top: 14px;
  padding-bottom: 14px;
}

.alert-block > p,
.alert-block > ul {
  margin-bottom: 0;
}

.alert-block p + p {
  margin-top: 5px;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -moz-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.lessthan100 {
  height: 10px;
  width: 10px;
  background: blue;
  float: left;
  margin: 3px;
}

.norepeat {
  height: 10px;
  width: 10px;
  background: green;
  float: left;
  margin: 3px;
}

.oos {
  height: 10px;
  width: 10px;
  background: red;
  float: left;
  margin: 3px;
}

.comingsoon {
  height: 10px;
  width: 10px;
  background: black;
  float: left;
  margin: 3px;
}

.alerts {
  margin-left: 7px;
  float: left;
  width: 55%;
}

p.pricebox {
  width: 35%;
  display: block;
  float: left;
}

.duedate {
  float: left;
  margin-left: 5px;
}

.qtycontrols {
  margin-left: 5px;
  text-align: center;
  font-size: 0.9em;
}

.qtycontrols td, .qtycontrols tr {
  border: none !important;
}

.qtycontrols a {
  text-decoration: none;
}

.addinn, .addctn, .reminn, .remctn, .remprod {
  height: 16px;
  width: 16px;
  border: 2px solid #999;
  display: block;
  float: left;
  margin: 1px;
  color: #999;
  font-weight: bold;
  line-height: 16px;
  text-decoration: none;
}

@media print {
  /* Print =================================================== */
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }

  @page {
    margin: 0.5cm;
}

  h2, h3 {
    orphans: 3;
    widows: 3;
    page-break-after: avoid;
  }

  p {
    orphans: 3;
    widows: 3;
  }

  pre, blockquote {
    border: 1px solid gray;
    page-break-inside: avoid;
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  a, a:visited {
    text-decoration: underline;
  }

  /*
  a[href]:after {
  content : " (" attr(href) ")"; }
  
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
  content : ""; }
  */
  #header,
  #navcontainer {
    display: none;
  }

  #content {
    width: 100%;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr {
    page-break-inside: avoid;
  }
}
@media only screen and (min-width: 480px) {
  /* 480 =================================================== */
}
@media only screen and (min-width: 1382px) {
  /* 1382 =================================================== */
}
@media screen, all and (-webkit-min-device-pixel-ratio: 1.5), screen, all and (min--moz-device-pixel-ratio: 1.5), screen, all and (min-device-pixel-ratio: 1.5) {
  /* 2x =================================================== */
}
/* 320 and Up */
/* Modules upstart */
/* Version: 1.0 */
/* Author: Andy Clarke */
/* URL: http://stuffandnonsense.co.uk/projects/320andup */
.grid {
  margin-bottom: 1.7em;
  border-bottom: 1px dashed #c7ced6;
}

.grid:last-child {
  margin-bottom: 0;
  border-bottom-width: 0;
}

.furniture-letter {
  overflow: hidden;
}

.furniture-letter span {
  display: block;
  float: left;
  margin: 0 12px 0 0;
  height: 44px;
  width: 44px;
  background-color: #2d353e;
  color: white;
  font-size: 32px;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 44px;
  text-align: center;
}

@media only screen and (min-width: 480px) {
  /* Styles */
}
@media only screen and (min-width: 600px) {
  /* Styles */
}
@media only screen and (min-width: 768px) {
  .grids-two .grid {
    width: 43.03%;
    margin-bottom: 0;
    border-bottom-width: 0;
  }

  .grids-two .grid-1 {
    float: left;
  }

  .grids-two .grid-2 {
    float: right;
  }

  .grids-three .grid-a {
    float: left;
    width: 31.64%;
    margin-right: 2.53%;
  }

  .grids-four .grid-a {
    float: left;
    width: 31.64%;
    margin-right: 2.53%;
  }
}
@media only screen and (min-width: 992px) {
  .grids-three .grid {
    float: left;
    width: 31.64%;
    margin: 0 2.53% 0 0;
    border-bottom-width: 0;
  }

  .grids-three .grid-3 {
    float: right;
    margin-right: 0;
  }

  .grids-three .grid .grid-a {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.85em;
  }

  .grids-four .grid {
    float: left;
    width: 20.25%;
    margin: 0 6.32% 0 0;
    border-bottom-width: 0;
  }

  .grids-four .grid-4 {
    float: right;
    margin-right: 0;
  }

  .grids-four .grid .grid-a {
    float: none;
    width: 100%;
    margin-right: 0;
  }
}
@media only screen and (min-width: 1382px) {
  /* Styles */
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* Styles */
}
/* 320 and Up */
/* Panels Upstart */
/* Version: 1.0 */
/* Author: Andy Clarke */
/* URL: http://stuffandnonsense.co.uk/projects/320andup */
.full {
  margin-bottom: 1.7em;
  padding: 1.7em;
  background-color: #f3f5f6;
  border-top: 2px solid #c7ced6;
  border-bottom: 2px solid #c7ced6;
}

.full .grids {
  width: 90%;
  margin: 0 auto;
  padding: 1.7em 0;
}

@media only screen and (min-width: 480px) {
  /* Styles */
}
@media only screen and (min-width: 600px) {
  /* Styles */
}
@media only screen and (min-width: 768px) {
  .special .grids-three .grid-a,
  .special .grids-four .grid-a {
    width: 43.03%;
  }
}
@media only screen and (min-width: 992px) {
  .special .grids-three .grid-a,
  .special .grids-four .grid-a {
    width: 100%;
  }
}
@media only screen and (min-width: 1382px) {
  /* Styles */
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
  /* Styles */
}
.site-login .smallbox {
  width: 199px;
  float: left;
}

.site-login .checky {
  width: 20px;
  margin-top: 12px;
  float: left;
}

.products-index .productwrapper {
  width: 33%;
  float: left;
  text-align: center;
  height: 350px;
}

.products-index .productwrapper.logged-in {
  height: 400px;
}

.products-index .productdescription {
  text-align: center;
  line-height: 1.2em;
  font-size: 0.9em;
}

.products-index .innrow, .products-index .ctnrow {
  width: 90px;
  *zoom: 1;
  float: left;
  margin-left: 40px;
}
.products-index .innrow:before, .products-index .innrow:after, .products-index .ctnrow:before, .products-index .ctnrow:after {
  display: table;
  content: "";
}
.products-index .innrow:after, .products-index .ctnrow:after {
  clear: both;
}

.products-index .innqty {
  line-height: 20px;
  width: 40px;
  float: left;
}

.products-index .addinnwrapper {
  float: left;
}

.products-index .reminnwrapper {
  float: left;
}

.products-index .ctnqty {
  width: 40px;
  float: left;
  line-height: 20px;
}

.products-index .addctnwrapper {
  float: left;
}

.products-index .remctnwrapper {
  float: left;
}

.products-index .orderqtywrapper {
  width: 120px;
  height: 22px;
  line-height: 20px;
  text-align: left;
  float: left;
}

.products-index span.orderqty {
  display: inline;
}

.products-index .productalertswrapper {
  float: left;
  *zoom: 1;
  height: 22px;
  line-height: 20px;
  width: 120px;
  text-align: left;
}
.products-index .productalertswrapper:before, .products-index .productalertswrapper:after {
  display: table;
  content: "";
}
.products-index .productalertswrapper:after {
  clear: both;
}

.products-index .productalertswrapper .oos,
.products-index .productalertswrapper .lessthan100,
.products-index .productalertswrapper .norepeat,
.products-index .productalertswrapper .comingsoon {
  margin-top: 6px;
}

.products-index .productalertswrapper span {
  float: left;
}

.products-index .productimage {
  height: 250px;
}

.products-index .productcode {
  margin-right: 10px;
}

.products-index .productprice {
  margin-left: 10px;
}

.products-index .productcarton {
  margin-left: 10px;
}

.products-index .keycontainer span {
  float: left;
  font-size: 16px;
  line-height: 15px;
  margin: 0 10px 0 2px;
}

.products-index .pager {
  text-align: left!important;
}

.products-index .shortpager,
.products-index .shortpager .pager {
  display: inline-block;
}

.products-index .actualcolours {
  display: inline-block;
  font-size: 0.8em;
  float: right;
  margin-top: 5px;
}

.products-index .items {
  padding-top: 35px;
}

.order-summary th.qtycontrol {
  width: 70px!important;
}

.order-summary .leftcol {
  width: 48%;
  float: left;
}

.order-summary .rightcol {
  width: 48%;
  float: right;
}

.order-summary .form {
  *zoom: 1;
}
.order-summary .form:before, .order-summary .form:after {
  display: table;
  content: "";
}
.order-summary .form:after {
  clear: both;
}

.order-summary .buttons {
  padding-top: 23px;
}

.order-summary .grid-view table.items th {
  line-height: 1.5em;
  background: #aaa !important;
}
.order-summary .grid-view table.items tr.even {
  background: #F8F8F8;
}
.order-summary .grid-view table.items tr.odd {
  background: #EAEAEA;
}
.order-summary .grid-view table.items tr.selected {
  background: #BCE774;
}
.order-summary .grid-view table.items tr:hover.selected {
  background: #CCFF66;
}
.order-summary .grid-view table.items tbody tr:hover {
  background: #ECFBD4;
}

.newslettersignup {
  width: 160px;
  padding: 10px 5px 5px;
}

.newsltsign .dontfillout {
  display: none !important;
  visibility: hidden;
}

.newslettersignup input {
  width: 132px;
  margin: 2px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -webkit-appearance: none;
}

.newslettersignup input[type="submit"] {
  padding-left: 0;
  padding-right: 0;
  width: 145px;
}

.newslettersignup .title {
  font-size: 0.6em;
  background: url(../images/mailing-list.jpg) no-repeat;
  padding-top: 30px;
}

.newslettersignup .errorMessage {
  font-size: 0.7em;
  color: red;
}

.newslettersignup .error {
  border-color: red;
}

.newslettersignup .signedup {
  font-size: 0.7em;
}

ul.yiiPager a:link {
  white-space: nowrap;
}
