/* 
 * HTML5 ✰ Boilerplate
 *
 * What follows is the result of much research on cross-browser styling. 
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 * 
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

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

audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-size: 13px;
  line-height: 1.231;
}

body,
button,
input,
select,
textarea {
  font-family: sans-serif;
  color: #222;
}

/* 
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection {
  background: #000000;
  color: #b79788;
  text-shadow: none;
}

::selection {
  background: #000000;
  color: #b79788;
  text-shadow: none;
}


/* =============================================================================
   Links
   ========================================================================== */

a {
  color: #00e;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #06e;
}

a:focus {
  outline: thin dotted;
}

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover,
a:active {
  outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Redeclare monospace font family: h5bp.com/j */
pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}

/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

dd {
  margin: 0 0 0 40px;
}

nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e 
 */

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

/*
 * Correct overflow not hidden in IE9 
 */

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


/* =============================================================================
   Figures
   ========================================================================== */

figure {
  margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

form {
  margin: 0;
}

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

/* Indicate that 'label' will shift focus to the associated form element */
label {
  cursor: pointer;
}

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button,
input {
  line-height: normal;
  *overflow: visible;
}

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */

table button,
table input {
  *overflow: auto;
}

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

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

/* 
 * Remove inner padding and border in FF3/4: h5bp.com/l 
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* 
 * 1. Remove default vertical scrollbar in IE6/7/8/9 
 * 2. Allow only vertical resizing
 */

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/* Colors for form validity */
input:valid,
textarea:valid {}

input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}


/* =============================================================================
   Tables
   ========================================================================== */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}


/* ==|== @font-face styles =====================================================
   Author: DesaturatedMonochrome
   ========================================================================== */


@font-face {
  font-family: 'ArimoRegular';
  src: url('http://www.m-sfabrics.com/fonts/arimo-regular-latin-webfont.eot');
  src: url('http://www.m-sfabrics.com/fonts/arimo-regular-latin-webfont.eot?#iefix') format('embedded-opentype'),
    url('http://www.m-sfabrics.com/fonts/arimo-regular-latin-webfont.woff') format('woff'),
    url('http://www.m-sfabrics.com/fonts/arimo-regular-latin-webfont.ttf') format('truetype'),
    url('http://www.m-sfabrics.com/fonts/arimo-regular-latin-webfont.svg#ArimoRegular') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'CandaraRegular';
  src: url('http://www.m-sfabrics.com/fonts/candara-webfont.eot');
  src: url('http://www.m-sfabrics.com/fonts/candara-webfont.eot?#iefix') format('embedded-opentype'),
    url('http://www.m-sfabrics.com/fonts/candara-webfont.woff') format('woff'),
    url('http://www.m-sfabrics.com/fonts/candara-webfont.ttf') format('truetype'),
    url('http://www.m-sfabrics.com/fonts/candara-webfont.svg#CandaraRegular') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'LegendumRegular';
  src: url('http://www.m-sfabrics.com/fonts/legendum-webfont.eot');
  src: url('http://www.m-sfabrics.com/fonts/legendum-webfont.eot?#iefix') format('embedded-opentype'),
    url('http://www.m-sfabrics.com/fonts/legendum-webfont.woff') format('woff'),
    url('http://www.m-sfabrics.com/fonts/legendum-webfont.ttf') format('truetype'),
    url('http://www.m-sfabrics.com/fonts/legendum-webfont.svg#LegendumRegular') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'BodegaSansLightSmallcapsRg';
  src: url('http://www.m-sfabrics.com/fonts/bosaltsc-webfont.eot');
  src: url('http://www.m-sfabrics.com/fonts/bosaltsc-webfont.eot?#iefix') format('embedded-opentype'),
    url('http://www.m-sfabrics.com/fonts/bosaltsc-webfont.woff') format('woff'),
    url('http://www.m-sfabrics.com/fonts/bosaltsc-webfont.ttf') format('truetype'),
    url('http://www.m-sfabrics.com/fonts/bosaltsc-webfont.svg#BodegaSansLightSmallcapsRg') format('svg');
  font-weight: normal;
  font-style: normal;

}



/* =============================================================================
   Global/Main Divs
   ========================================================================== */

* {
  text-decoration: none;
}

#main {
  background: url(http://www.m-sfabrics.com/images/mainbg.gif) repeat;
  padding: 3em 0 3em 0;
}

#home {
  background: #ffffff url(http://www.m-sfabrics.com/images/mainfabrics.png) top left no-repeat;
}

#contact {
  background: #ffffff url(http://www.m-sfabrics.com/images/contact.png) 0px 50px no-repeat;
}

#aboutpage {
  background: #ffffff url(http://www.m-sfabrics.com/images/aboutbg.png) 45px 80px no-repeat;
}

#container {
  width: 960px;
  margin: 0 auto;
}

section {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  padding: 3em 3em 2em 0em;
  overflow: hidden;
}

section#techinfo,
section#products,
section#suppliespage,
#supplypage {
  background: #ffffff url(http://www.m-sfabrics.com/images/sidebarbg.gif) 200px 0 repeat-y;
}

#sidebar {
  float: left;
  width: 225px;
}

#suppliespage {
  padding: 3em 0em 2em 1em;
  position: relative;
}

#suppliespage #searchbox {
  margin-right: 3em;
}


#suppliespage article {
  background: #ffffff url(http://www.m-sfabrics.com/images/studs.png) bottom right no-repeat;
  padding-right: 4em;
  padding-bottom: 10em;
}

#supplypage article {
  padding-right: 4em;
  padding-bottom: 2em;
}

#products article {
  background: #ffffff url(http://www.m-sfabrics.com/images/productsbg.png) bottom right no-repeat;
  padding-bottom: 18em;
}

section a,
#sidebar a {
  color: #92a943;
}

#breadcrumb a {
  color: #92a943;
}

section a:visited,
#sidebar a:visited {
  color: #56613b;
}

#sidebar ul li a,
#sidebar ul li a:visited {
  color: #92a943;
}

#sidebar ul li ul li a,
#sidebar ul li ul li a:visited {
  color: #5b5b5b;
}

#sidebar ul li ul li ul li a,
#sidebar ul li ul li ul li a:visited {
  color: #5b1919;
}

#sidebar ul li a:hover,
#sidebar ul li ul li a:hover,
#sidebar ul li ul li ul li a:hover {
  color: #aec950;
}

section a:hover,
#sidebar a:hover {
  text-decoration: underline;
  color: #aec950;
}

#skipnav {
  visibility: hidden;
  display: none;
  z-index: 5;
  position: relative;
}

#skipnav+ul {
  z-index: 6;
  position: relative;
}



/* =============================================================================
   Header
   ========================================================================== */

header {
  background: url(http://www.m-sfabrics.com/images/titlegradient.png) bottom left repeat-x;
  height: 212px;
  position: relative;
  vertical-align: bottom;
}

h1 {
  background: url(http://www.m-sfabrics.com/images/msflogo.png) 0px 28px no-repeat;
  font-family: "BodegaSansLightSmallcapsRg", sans-serif;
  font-size: 10.2em;
  font-weight: 400;
  color: #000000;
  margin: 0 0 0 .12em;
  padding: 0 0 0 75px;
  position: absolute;
  bottom: -29px;
}

body:not(:-moz-handler-blocked) h1 {
  background: url(http://www.m-sfabrics.com/images/msflogo.png) 0px 17px no-repeat;
  bottom: -40px;
}

h1 {
  padding-top: 10px\0/;
  bottom: -40px\0/;
}

h1 {
  *bottom: -39px;
  *background: url(http://www.m-sfabrics.com/images/msflogo.png) 0px 16px no-repeat;
}

h1 span {
  font-family: "CandaraRegular", sans-serif;
  font-size: .18em;
  color: #b09c81;
  vertical-align: super;
  position: relative;
  left: 5px;
}

h1 a,
h1 a:visited,
h1 a:hover {
  color: #000000;
}

#printinfo {
  display: none;
}

#prodnav {
  background: #000000;
  width: 100%;
  position: fixed;
  z-index: 150;
}

#prodnav ul {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  font-family: "ArimoRegular", arial, sans-serif;
  font-size: 1.2em;
  font-weight: 400;
  width: 100%;
  display: table;
  vertical-align: bottom;
  width: 960px;
  margin: 0 auto;
}

#prodnav ul li {
  float: left;
  position: relative;
  top: 20px;
  padding: 10px 0 10px 0;
  margin-left: 1.5%;
  width: 10%;
  text-align: center;
}

#prodnav ul li:hover {
  background: #404040;
}

#prodnav ul li:first-child {
  background: #890000;
  padding: 30px 0 10px 0;
  top: 0px;
}

#prodnav a {
  color: #ffffff;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  top: -10px;
}



/* =============================================================================
   Main Navigation
   ========================================================================== */

#mainnav ul {
  margin: 0 0 0 250px;
  font-family: "ArimoRegular", arial, sans-serif;
  font-size: 1.4em;
  color: #b4b4b4;
  overflow: hidden;
  position: relative;
  top: 1px;
  z-index: 100;
}

#mainnav ul li {
  float: left;
  padding: 5px 20px 15px 20px;
  margin: 0 1em 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0);
  border-right: 1px solid rgba(0, 0, 0, 0);
  border-left: 1px solid rgba(0, 0, 0, 0);
}

#mainnav ul li#activepage {
  background: #ffffff;
  border-top: 1px solid #e9e9e9;
  border-right: 1px solid #e9e9e9;
  border-left: 1px solid #e9e9e9;
  color: #3c3c3c;
}

#mainnav ul a {
  color: #b4b4b4;
}

#mainnav ul li a:hover {
  color: #3c3c3c;
}



/* =============================================================================
   Main Pages Styles
   ========================================================================== */

h2 {
  font-family: "BodegaSansLightSmallcapsRg", sans-serif;
  font-size: 3.2em;
  font-weight: 400;
  color: #4c6978;
  margin: 0 0 0 0;
}

h2 sup {
  position: relative;
  top: -2px;
}

h3 {
  color: #000000;
  font-family: "ArimoRegular", arial, sans-serif;
  font-weight: 400;
  margin: 0 0 .5em 25px;
}

p b {
  font-weight: 400;
  font-size: 1.5em;
}

#home b {
  font-size: 1.2em;
  color: #a33b2c;
}

article,
div#content,
div#searchcontent {
  margin: 0 0 4em 300px;
}

article {
  margin: 0 0 1em 300px;
}


article p {
  font-family: "CandaraRegular", tahoma, sans-serif;
  font-size: 1em;
  color: #424242;
  line-height: 1.6em;
  margin: 0 0 1em 25px;
  text-indent: .75em:
}

#contact article {
  margin: 0 0 .5em 400px;
}

#contact article p,
#mailform {
  margin: 0 0 2em 25px;
}

#creditimg {
  margin: 0 0 3em 100px;
}



/* =============================================================================
   Sidebar
   ========================================================================== */

#sidebar {
  text-align: right;
  padding: 1em 0 0 0;
  line-height: 1.6em;
  font-family: "CandaraRegular", tahoma, sans-serif;
  font-weight: 700;
}

#sidebar ul {
  margin: 0 0 0 0;
  padding: 0 1em 0 .5em;
}

#sidebar h2 {
  font-size: 2.5em;
  margin-right: .5em;
  border-bottom: 2px solid #000000;
  width: 50%;
  text-align: right;
  display: inline-block;
  padding: 0 3px 4px 0;
}

#sidebar ul li ul {
  margin: 0 1em 0 0;
  padding: 0;
}

#sidebar ul li ul li ul li {
  background: url(http://www.m-sfabrics.com/images/bullet-circle.gif) right center no-repeat;
  padding: 0 1em 0 0;
}



/* =============================================================================
   Technical Info Page
   ========================================================================== */

#totop {
  padding: .3em 0 0 0;
  text-align: right;
}

#leatherinfo p,
#naugahyde p,
#cleaningsymphony p {
  margin: 0 0 1em 25px;
}

#naugahyde p,
#cleaningsymphony p {
  margin-bottom: 2em;
}

#boltaflex p,
#microfibers p {
  margin-bottom: .5em;
}

#yardagechart,
#leatherchart,
#defendlogo {
  position: relative;
  left: 50%;
  margin-left: -214px;
}

#leatherchart {
  margin-left: -217px;
  margin-bottom: 1em;
}

#defendlogo {
  margin-left: -84px;
  margin-bottom: 1em;
}


#leatherinfo table {
  margin: 0 0 1em 50px;
}

#leatherinfo ul {
  margin: 0 0 1em 25px;
}

#leatherinfo td {
  padding: 0 20px 0 0;
}

#downloads span {
  background: url(http://www.m-sfabrics.com/images/pdf.png) 10px 5px no-repeat;
  padding: 25px 5px 15px 58px;
}

#downloads {
  margin: 0 0 4em 25px;
  padding-top: 1em;
  font-family: "CandaraRegular", tahoma, sans-serif;
}

#downloads a {
  color: #9c815d;
  text-decoration: none;
  font-family: "CandaraRegular", tahoma, sans-serif;
  font-size: 1.1em;
  margin-right: 50px;
}

#downloads a:hover,
#downloads span:hover {
  background: #f2f2f2 url(http://www.m-sfabrics.com/images/pdf.png) 10px 5px no-repeat;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#boltaflex #downloads,
#microfibers #downloads {
  margin: 0 0 2em 25px;
}

#boltaflex #downloads span,
#microfibers #downloads span {
  display: inline-block;
  margin: 0 0 1.5em 0;
}



/* =============================================================================
   Logos
   ========================================================================== */


#smalllogo img {
  position: relative;
  left: 50%;
  margin-left: -160px;
  padding: 3em 0 0 0;
}

#smalllogo img#fulllogo {
  margin-left: -115px;
}

#logos {
  position: relative;
  height: 140px;
  margin: 0 0 0 120px;
}

#logoboltaflex,
#logonaugahyde,
#logospradling,
#logoherculite,
#logomicrofibres,
#logocrypton,
#logosymphony {
  position: absolute;
  left: 0;
  opacity: .75;
}

#logoboltaflex {
  top: 23px;
  left: 632px;
}

#logonaugahyde {
  left: 157px;
  top: 25px
}

#logospradling {
  left: 320px;
  top: 20px;
}

#logoherculite {
  left: 407px;
  top: 25px
}

#logomicrofibres {
  left: -1px;
  top: 25px
}

#logocrypton {
  left: 157px;
  top: 80px
}

#logosymphony {
  left: 407px;
  top: 66px
}

#logos *:hover {
  opacity: 1;
}



/* =============================================================================
   Search
   ========================================================================== */

#searchbox {
  margin-top: 5px;
  margin-bottom: 3px;
  text-align: right;
  position: relative;
}

#submitbox {
  display: inline-block;
  width: 43px;
  overflow: hidden;
  position: absolute;
  top: -6px;
  right: 0px;
}

#submitbox:hover input {
  margin-left: -43px;
}

#search_input {
  border: 2px solid #babbbe;
  height: 27px;
  width: 150px;
  margin-right: 34px;
  font-family: "CandaraRegular", sans-serif;
  padding: 0 .3em;
}

#search_input {
  padding
  /*\**/
  : 6px 0 6px 0\9;
  height
  /*\**/
  : auto\9;
}

#reset_search {
  position: absolute;
  right: 200px;
  top: 5px;
}

#searchcontent h3+h3 {
  margin: 0 0 1em 0;
}

#searchcontent h3 {
  margin: 0 0 1em 0;
}



/* =============================================================================
   Products
   ========================================================================== */

#albums,
#images {
  overflow: hidden;
}

#thumb,
#imagethumb {
  display: inline-block;
  margin: 0 60px 40px 0;
}

#thumb img,
#imagethumb img {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .9);
  -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, .9);
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, .9);
  margin: 0 0 4px 0;
}

#thumbdesc,
#imagedesc {
  display: block;
  font-variant: small-caps;
  width: 80px;
}

#thumbdesc a,
#imagedesc a {
  text-decoration: none;
  color: #74784c;
  font-family: "CandaraRegular", sans-serif;
  font-size: 1.1em;
}

#thumbdesc a span,
#imagedesc a span {
  white-space: nowrap;
}

#thumbdesc a:visited,
#imagedesc a:visited {
  color: #74784c;
}

#thumbdesc a:hover,
#thumb:hover a,
#imagedesc a:hover,
#imagethumb:hover a {
  background: transparent;
  text-decoration: underline;
}

#pagelist {
  text-align: center;
  overflow: hidden;
}

#pagelist ul {
  padding: 0;
  margin: 0 80px 0 0;
}

#pagelist ul li {
  display: inline;
  list-style-type: none;
  margin: 0 .8em 0 0;
}

h4 {
  color: #564f5a;
  font-family: "ArimoRegular", arial, sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  text-transform: lowercase;
  margin: 0 0 1.5em 0;
}

h4 div#imagespecs {
  display: inline;
  float: none;
  font-size: 1em;
  padding: 0;
  margin: 0;
}

#image img {
  border: 2px solid #ededed;
}

#image span {
  width: 285px;
  display: block;
  font-family: "LegendumRegular", verdana, sans-serif;
  font-size: .6em;
  margin: 0 0 0 4px;
}

#image,
#imagespecs {
  float: left;
  font-family: "LegendumRegular", verdana, sans-serif;
}

#imagespecs {
  padding: 15px 0 0 10px;
  width: 300px;
  margin: 0 0 0 0;
}

#thumbdesc #imagespecs,
#imagedesc #imagespecs {
  width: auto;
  margin: 0;
  padding: 0;
}

#imagespecs ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: .9em;
}

#imagespecs ul li {
  margin: 0 0 .5em 0;
}

#imagespecs ul li ul {
  margin: .2em 0 0 1em;
}

#imagespecs span {
  display: block;
}

#imagespecs span.spec {
  display: inline-block;
}

span.spec {
  color: #737373;
  font-variant: small-caps;
  font-size: 1.2em;
  padding: 0 0px 0 0;
}

h6 {
  color: 4a4a4a;
  font-family: "ArimoRegular", arial, sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  padding: 0;
  margin: 0;
}

span#fabcode {
  color: #626262;
  font-family: "ArimoRegular", arial, sans-serif;
  font-size: 1.5em;
  margin: -.2em 0 .5em 0;
}

span#discitem {
  color: #890000;
  font-family: "ArimoRegular", arial, sans-serif;
  font-size: 1.1em;
  margin: -.2em 0 .5em 0;
}

span#callinfo {
  color: #000000;
  font-family: "LegendumRegular", verdana, sans-serif;
  font-size: 1em;
  margin: 0 0 1em 0;
}

span#price {
  color: #000000;
  font-family: "LegendumRegular", verdana, sans-serif;
  font-size: 1.1em;
  margin: 0 0 1em 0;
}

span#extra {
  margin: 0 0 .8em 0;
}

#imgnav {
  text-align: center;
}

#imgnav div {
  display: inline-block;
  background: #bebebe;
  color: #000000;
  font-family: "CandaraRegular", sans-serif;
  font-size: 1em;
  padding: 5px 10px;
}

#imgnav div:hover {
  background: #727272;
}

#imgnav div a {
  color: #000000;
}

#patterndesc #imagespecs {
  display: block;
  float: none;
  width: auto;
  margin: 0 2em 3em 0;
  padding: 0;
  line-height: 1.6em;
  font-family: "CandaraRegular", sans-serif;
}

span#patternspecs {
  color: #ffffff;
  padding: 3px 6px;
  font-family: "CandaraRegular", sans-serif;
  font-size: 1.1em;
  -moz-border-radius: 15px;
  border-radius: 15px;
  cursor: pointer;
  margin-bottom: .5em;
  background: #92b74a;
  display: inline-block;
}

span#patternspecs:hover {
  background: #a6d054;
}

ul#patterninfo {
  padding: 0 2em;
  background: #f2f2f2;
}



/* =============================================================================
   Supplies
   ========================================================================== */

table.supplies {
  width: 100%;
  font-family: "CandaraRegular", tahoma, sans-serif;
  font-size: 1em;
  color: #000000;
  margin: 0 0 1.5em 0;
}

.supplies tr {
  padding-top: 2em;
}

.supplies tr.even {
  background: #f2f2f2;
}

.supplies th {
  font-size: 1.2em;
  border-bottom: 2px solid #000000;
}

.supplies td {
  text-align: center;
  font-family: "ArimoRegular", arial, sans-serif;
  padding: 0 1em;
  font-size: 1.2em;
}



/* =============================================================================
   Contact Form
   ========================================================================== */

#contact article #mailform p {
  margin: 0;
  padding: 0;
}

#name,
#email,
#subject {
  width: 50%;
}

#name,
#email,
#message,
#subject {
  border: 2px solid #babbbe;
  padding: 5px 3px;
  margin: 0 0 .8em 0;
}

#name:active,
#email:active,
#message:active,
#subject:active {
  border: 2px solid #a1b381;
}

#name:focus,
#email:focus,
#message:focus,
#subject:focus {
  background: #f9f9f9;
}

label {
  font-variant: small-caps;
}

#submit {
  display: block;
  background: #92b74a;
  border: none;
  padding: 7px 14px;
  font-family: "CandaraRegular", tahoma, sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-variant: small-caps;
  font-size: 1.3em;
}

#submit:hover {
  background: #a6d054;
}


/* =============================================================================
   Footer
   ========================================================================== */

footer {
  background: url(http://www.m-sfabrics.com/images/fabricbg-blue.gif) repeat;
  color: #727171;
  font-family: "LegendumRegular", verdana, sans-serif;
}

#wrapper {
  background: url(http://www.m-sfabrics.com/images/teethbg-blue.gif) top left repeat-x;
  padding-top: 50px;
  padding-bottom: 25px;
  overflow: hidden;
}

#footinfo,
#footnav {
  float: left;
  width: 50%;
}

#footnav ul {
  position: relative;
  left: 100px;
  top: 1em;
}

#footnav ul li {
  width: 115px;
  float: left;
  clear: left;
  font-size: 1.1em;
  padding: .4em 0 0 .2em;
  border-bottom: 1px solid black;
}

#footnav ul li:hover {
  background: #4e7f87;
  background: rgba(78, 127, 135, .7);
  color: #000000;
}

#footinfo div {
  background: #000000;
  padding: 1em 1em .1em 1em;
  width: 300px;
  font-size: 1.1em;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
  -webkit-box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .8);
}

#footinfo div small {
  display: block;
  margin-bottom: 1.4em;
}

#footnav ul a,
#footnav ul a:visited {
  color: #727171;
}

#footnav ul li:hover a {
  color: #000000;
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
}

.ir br {
  display: none;
}

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}

/* Contain floats: h5bp.com/q */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}



/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */

}

@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

}



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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

  /* Black prints faster: h5bp.com/s */
  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

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

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  /* Don't show links for images, or javascript/internal links */
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  /* h5bp.com/t */
  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

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