/*========GENERAL=============================================
============================================================*/

    
/* General styles etc. */
body {
    text-align: left; 
    /*background-image: url(../img/gridbg.png);*/
    }
    
html, body, div, table, td, dl, dt, dd, input, select, p, ul, li {
	font-family: Georgia, Palatino, Times, 'Times New Roman';
	font-size: 13px;
	color: #000000;
	line-height: 16px;
	}

h1 {
	font-size: 28px;
}

h3 {
	margin-bottom: 4px;
}

a {
   color: red;
   text-decoration: none;
}
a:link {
   color: red;
   text-decoration: none;
}
a:visited {
   color: red;
   text-decoration: none;
}
a:hover {
   color: red;
   text-decoration: underline;
}
a:active {
   color: red;
   text-decoration: none;
}

/* LAYOUT */
/* Everything wrapped */
.wrapper {
  margin: 0 auto;
  width: 840px;
}

/* Logo and navigation*/
.header {
  margin-top: 26px;
  width: 840px;
}

.logo {
  text-align: center;
}

.menu {
  height: 44px;
}

.menuitems {
/*width: 1000px;*/
}

/*Navgation links*/
.navigation {
	margin: 0;
	margin-top: 26px;
	padding: 0;
	list-style: none;
	background: #fff;
}
.navigation li {
	padding: 0;
	margin: 0;
	height: 34px;
	list-style: none;
	background-repeat: no-repeat;
}
.navigation li a, .navigation li a:visited {
	display: block;
	text-decoration: none;
	text-indent: -1000px;
	height: 34px;
	background-repeat: no-repeat;
}
.yarns {background-image: url(../img/menu/yarns_active.jpg); width: 168px;}
.yarns a {background-image: url(../img/menu/yarns.jpg);}
.about {background-image: url(../img/menu/about_active.jpg); width: 189px;}
.about a {background-image: url(../img/menu/about.jpg);}
.retailer {background-image: url(../img/menu/retailer_active.jpg); width: 234px;}
.retailer a {background-image: url(../img/menu/retailer.jpg);}
.contact {background-image: url(../img/menu/contact_active.jpg); width: 240px;}
.contact a {background-image: url(../img/menu/contact.jpg);}
ul.navigation li a:hover {background: none;}
.navigation li {float: left;}
.navigation:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}

/* End navigation links */

/* Line under navigation*/
.line {
	height: 2px;
	width: 840px;
	margin-top: 8px;
	background: url(../img/dash.png) repeat-x;
}

/* Content */
.content {
	margin-top: 26px;
	width: 840px;
}

/* Yarn pages */
.contentyarn {
	margin: 0px;
}

/* Yarn submenu */
.submenu {
	margin:0px;
	padding-bottom: 1px;
	padding-top: 14px;
	width: 170px;
	background: #cccccc url(../img/stiches.png) no-repeat;
	float: left;
}

.submenu ul {
	padding-left: 20px;
}

.subitems ul {
}

.subitems li {
	list-style: none;
	line-height: 22px;
}

.subitems li a, .subitems li a:visited {
	margin: 0px;
	padding: 0px;
	text-decoration: none;
	color: black;
	font-weight: normal;
	font-size: 16px;
}

.subitems li a:hover, .subitems li a:visited:hover {
	color: #ff0101;
	font-weight: bold;
}

/* Mark active yarn in submenu*/
#select {
	color: #ff0101; 
	text-decoration: none;
	font-weight: bold;
}

/* Yarn contents */
.yarnstage {
	float: left;
	margin-top: 26px;
	margin-left: 20px;
	width:400px;
	}

.thumbs {
	margin-top: 26px;
}

.woolthumb {
	float: left;
	width: 70px;
	font-family: arial; helvetica, verdana, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #7a7a7a;
	line-height: 10px;
	margin-right: 10px;
	margin-bottom: 8px;
}

.yarntext {
	float: left;
	margin-top: 26px;
	margin-left: 12px;
	width: 226px;
}

.yarntext h2 {
	height: 40px;
	font-size: 28px;
	font-weight: bold;
	padding-left: 8px;
	padding-top: 16px;
	margin-top: 0px;
	margin-bottom: 0px;
	background: url(../content/img/dot.jpg) no-repeat;
}

.yarntext h3 {
	font-size: 13px;
	padding-left: 8px;
	padding-top: 0px;
	color: #7a7a7a;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 0px;
}

.yarntext p {
	padding-left: 8px;
	padding-top: 0px;
}

/* Background contact page*/ 
.contactpage {
	background: url(../content/img/contact2.jpg) no-repeat;
	width: 840px;
	/*height: 560px;*/
	height: 495px;
}

/* Background home page */ 
.startpage {
	background: url(../content/img/start2.jpg) no-repeat;
	width: 840px;
	/*height: 560px;*/
	height: 495px;
}
	
/* Text home and contact page */ 
.text {
	margin-left: 192px;
	margin-right: 192px;
	padding-top: 12px;
}

/* Button for retailer page */ 
span.button {
	padding: 2px;
	background: #fff;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #666;
	border-left: 1px solid #666;
}


/* FOOTER */

.footer {
	clear: left;
	margin-top: 16px;
	height: 38px;
	width: 840px;
	background: url(../img/footer.jpg) no-repeat;
}

.footertext {
	color: #666666;
	padding-left: 70px;
	padding-top: 6px;
	font-size: 10px;
}

.footertext a:link{
	color: #666666;
	text-decoration: none;
}
.footertext a:visited{
	color: #666666;
	text-decoration: none;
}
.footertext a:hover{
	color: #ff0101;
	text-decoration: none;
}
.footertext a:active{
	color: #ff0101;
	text-decoration: none;
}

/* Mark active yarn in footer */
#now {
	color: #ff0101; 
	text-decoration: none;
}

/* Yarn color note */
.colornote {
	color: #999999;
	font-size: 11px;
	clear: left;
	padding-top: 4px;
	padding-bottom: 8px;
}
