body { 
  font-family: Arial;
  font-size: 12px;
  color: #242424;
  background-color: #FFFFFF;
  background-repeat: repeat-x;
  padding: 0px; 
  margin: 0px; 
  text-align: center;
}
img {
  border: 0px;
}

div#wrapper {
  position: relative;
  width: 970px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/*---------------------- HEAD ----------------------*/
div#head {
  position: relative;
  width: 970px;
  height: 156px;
}

/*---------------------- lang links ----------------------*/

div#lang_links {
  position: absolute;
  top: 10px;
  right: 0px;
  width: 230px;
  height: 16px;
  padding-top: 10px;
  
}

div#lang_links ul, #lang_links li {
	display: inline;
	margin: 0;
	padding: 0;
}

div#lang_links a { font-size: 10px; padding: 5px; position: relative; }
div#lang_links a:link { font-size: 10px; color: #FFFFFF; text-decoration: none; }
div#lang_links a:visited { font-size: 10px; color: #FFFFFF; text-decoration: none; }
div#lang_links a:active { font-size: 10px; color: #FFFFFF; text-decoration: none; }
div#lang_links a:hover, #lang_links li.sel a { font-size: 10px; color: #FFFFFF; text-decoration: none; background-color: #b4000b; }

/*---------------------- /lang links ----------------------*/
div#logo { 
  position: absolute; 
  left: -50px; 
  top: 10px; }
/*---------------------- search ----------------------*/

div#search {
  position: absolute;
  top: 72px;
  right: 0px;
  height: 23px;
  width: 264px;
  background-color: #FFFFFF;
  text-align: right;
  padding-top: 1px;
  padding-right: 1px;
}
form {
  padding: 0px;
  margin: 0px;
}
input#search_box {
  padding: 0px;
  margin: 0px;
  width: 212px;
  height: 20px;
  border: none; 
  background-color: #FFFFFF;
  color: #999999;

}
input#search_button {
  padding: 0px;
  margin: 0px;
  background-color: #b4000b;
  color: #FFFFFF;
  font-size: 10px;
  border: none;
  height: 22px;
  padding-right: 2px;
  padding-left: 2px;
  cursor: hand;
}
/*---------------------- /search ----------------------*/
/*---------------------- menu ----------------------*/

div#menu {
  position: absolute;
  left: 0px;
  height: 35px;
  width: 100%;
  bottom: 8px;
  text-align: left;
}

div#menu ul {
  margin: 0px;
  padding: 0px;
  font-size: 12px;
}
div#menu ul li {
	display: inline;
	margin: 0px;
	padding: 0px;
}
div#menu a {
    color: #FFFFFF;
    display: block;
    float: left;
    line-height: 35px;
    height: 35px;
    padding: 0 20px;
    text-decoration: none;
}
div#menu a:hover, div#menu li.sel a {
    background-color: #b4000b;
}

/*---------------------- /menu ---------------------------------*/
/*---------------------- /HEAD ----------------------*/


/*---------------------- CONTENT -------------------------------*/

div#content{ 
  position: relative;
  width: 970px;
  text-align: right;
  margin-bottom: 0px;
  border-bottom: 0px solid #FF0000;
 }

 /*---------------------- left submenu ----------------------*/
 div#submenu { 
  position: relative;
  float: left;
  width: 212px;
  padding-top: 32px;
  left: 0px;
  text-align: left;
  height: 100%;
}
div#submenu H3 { 
  font-size: 14px;
  color: #B4000B;
  font-weight: bold;
  border-bottom: 2px solid #B4000B;
  line-height: 26px;
  padding: 0px;
  margin: 0px 0px 5px 0px;
}
table.submenu {
  width: 100%;
}
td.subm_heading {
  font-size: 13px;
  color: #B4000B;
  font-weight: bold;
  border-bottom: 2px solid #B4000B;
  line-height: 26px;
}
td.subm_link {
  font-size: 13px;
  color: #B4000B;
  line-height: 22px;
  border-bottom: 1px solid #c9cacc;
  text-indent: 5px;
}
td.subm_link_selected {
  font-size: 13px;
  color: #B4000B;
  line-height: 22px;
  border-bottom: 1px solid #c9cacc;
  font-weight: bold;
}

div#submenu ul, div#submenu li {
  list-style: none;
  font-size: 14px;
	margin: 0px;
	padding: 0px;
	line-height: 24px;
	text-indent: 5px;
	}
div#submenu ul {
  margin-bottom: 20px;
}
div#submenu li {
  border-bottom: 1px solid #C9CACC;
}
#submenu li.sel {
	margin: 0px;
	padding: 0px;
  font-weight: bold;
  line-height: 10px
  text-indent: 5px;
  }

a.submenu { display: block; }
a.submenu:link { color: #B4000B; text-decoration: none; }
a.submenu:visited { color: #B4000B; text-decoration: none; }
a.submenu:active { color: #B4000B; text-decoration: none; }
a.submenu:hover { color: #B4000B; text-decoration: none; cursor: hand; }
 /*---------------------- /left submenu ----------------------*/
 /*---------------------- sisu ----------------------*/
 
div#sisu { 
  position: relative;
  width: 500px;
  height: 100%;
  text-align: left;
  
  line-height: 18px;
  margin-left: 20px;
  float: left;
}
div#sisu_avaleht { 
  position: relative;
  width: 738px;
  height: 100%;
  text-align: left;
  
  line-height: 16px;
  float: left;
}
div#sisu table {
    font-size: 12px;
}
div#sisu table th {
    background-color: #C9CACC;
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    padding: 3px;
}
div#sisu table td {
    padding: 5px 3px;
    border-bottom: 1px solid #C9CACC;
}
 
 table#patterns_table {
  width: 100%;
    margin: 0 0 .5em 0;
 }
 table#patterns_table td {
    padding: 0 !important;
 }
table#patterns_table img {
    width: 118px;
    height: 141px;
}
 td.patterns_table_navi_L {
  line-height: 38px;
  text-align: left;
  color: #B4000B;
  border-top: 1px solid #c9cacc;
  border-bottom: 1px solid #c9cacc;
 }
 td.patterns_table_navi_C {
  line-height: 38px;
  text-align: center;
  color: #B4000B;
  border-top: 1px solid #c9cacc;
  border-bottom: 1px solid #c9cacc;
 }
 td.patterns_table_navi_R {
  line-height: 38px;
  text-align: right;
  color: #B4000B;
  border-top: 1px solid #c9cacc;
  border-bottom: 1px solid #c9cacc;
 }
 td.wp { width: 1px; }
 td.hp { height: 1px; }
 td.hp3 { height: 3px; }
 
 a.ptpf { height: 15px; width: 15px; border: 1px solid #C9CACC; padding: 2px 5px 2px 5px; margin: -1px; }
 a.ptpf:link { text-decoration: none; }
 a.ptpf:visited { text-decoration: none; }
 a.ptpf:hover { text-decoration: none; font-weight: bold; }
 a.ptpf:active { text-decoration: none; }
 a.ptpf-active {
    background-color: #b4000b;
    border-color: #b4000b;
    color: #fff !important;
 }
 a.ptpf-active:hover {
    font-weight: normal;
 }
 
 a.toode { display: block; }
 a.toode:link { text-decoration: none; font-weight: bold; }
 a.toode:visited { text-decoration: none; font-weight: bold; }
 a.toode:hover { text-decoration: underline; font-weight: bold; }
 a.toode:active { text-decoration: underline; font-weight: bold; }
 
 td.pattern_n2idis {
  width: 118px;
  padding: 5px 0 10px 0;
  border-bottom: none !important;
 }
 td.pattern_n2idis p {
  line-height: 14px;
  padding: 0px;
  margin: 0px;
  color: #7D7D7D;
 }
  td.tooted {
  width: 160px;
  padding-bottom: 10px;
 }
 td.ws { width: 9px; padding: 0 !important; border-bottom: none !important; }
 td.ws1 { width: 10px; padding: 0 !important; border-bottom: none !important; }
 td.ws2 { width: 25px; padding: 0 !important; border-bottom: none !important; }
 span.pattern_name { color: #7d7d7d; line-height: 14px; }
 span.toode { color: #7D7D7D; line-height: 14px; } 
 
 img.toode { margin-bottom: 5px; border: 1px solid #ACACAC; }

div#sisu div.toode {
  width: 215px;
  float: left;
}

H1 {
  font-size: 32px;
  font-weight: 100;
  color: #B4000B;
  line-height: 1em;
  margin: 23px 0 3px 0;
  padding: 0;
}
H2 {
  font-size: 14px;
  color: #242424;
  font-weight: bold;
  line-height: 16px;  
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}
div#sisu H3 {
  padding: 0px;
  margin: 0px;
  font-size: 14px;
  color: #B4000B;
}
img#xcl {
  vertical-align: middle;
}
 /*---------------------- /sisu ----------------------*/
 
/* ---------------------------- Right Submenu --------------------- */
div#right { 
  position: relative;
  float: right;
  width: 212px;
  height: 100%;
  padding-top: 32px;
  right: 0px;
  text-align: left;
}

div#right H3 { 
  font-size: 14px;
  color: #B4000B;
  font-weight: bold;
  border-bottom: 2px solid #B4000B;
  line-height: 26px;
  padding: 0px;
  margin: 0px 0px 5px 0px;
}

div#right p {
  
  color: #242424;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
  margin-bottom: 3px;
}

div#right p.comment {
  font-size: 10px;
  color: #7D7D7D;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
}

div#right div.search {
  width: 208px;
  background-color: #F4F2D6;
  border: 1px solid #7D7D7D;
  padding-bottom: 2px;
}

input#c_search_t {
    height: 25px;
    font-size: 20px;
    width: 166px;
    border: none;
    background-color: #f4f2d6;
    margin-left: 5px;
    padding-top: 3px;
    color: #7D7D7D;
}

div#right ul.tulem {
  padding: 0px;
  margin: 0px;
}

div#right ul.tulem li {
  padding: 0px;
  margin: 0px;
  margin-top:1px;
  list-style: none;
  
  width: 100%;
  line-height: 13px;
  height: 15px;
}

div#right ul.tulem li div {
  position: absolute;
  height: 13px;
  width: 13px;
  margin-left: 1px;
  margin-top: 1px;
  margin-bottom: 1px;
  border: 1px solid #FFFFFF;
}

/*----------------------------  Laminaadi otsing  ----------------------------*/
div#content ul.otsing {
  padding: 0px;
  margin: 0px;
  list-style: none;
  width: 100%;
}
div#content ul.otsing li {
  height: 20px;
  text-align: right;
  display: inline;
}
div#content input.tex {
  
  margin: 0px;
  padding: 0px;
  height: 14px;
  width: 140px;
  padding-bottom: 1px;
  border: 1px solid #D1D1D1;
  background-color: #F4F2D6;
  color: #5D5D5D;
}
div#content input#otsi {
  width: 29px;
  height: 29px;
  background-image: url(images/search_button_fff.gif);
  background-color: #FFFFFF;
  border: none;
  cursor: hand;
  vertical-align: middle;
}
div#content label {
  
  color: #7D7D7D;
  font-weight: 100;
  line-height: 14px;
  width: 100px;
  margin: 0px;
  padding: 0px;
  text-indent: 2px;
  padding-right: 5px;
}
div#content p.label {
  width: 100%;
  
  color: #7D7D7D;
  font-weight: 100;
  line-height: 12px;
  margin: 0px;
  padding: 0px;
  text-align: left;
  text-indent: 25px;
}
/*----------------------------  /Laminaadi otsing  ----------------------------*/
td.comment {
  color: #7d7d7d;
}

div#right a:link { color: #B4000B; text-decoration: none; }
div#right a:visited { color: #B4000B; text-decoration: none; }
div#right a:active { color: #B4000B; text-decoration: underline; }
div#right a:hover { color: #B4000B; text-decoration: underline; cursor: hand; }

div#right a.col_link { 
  display: block; 
  padding-left: 19px; 
  text-decoration: none; 
  padding-top: 4px; 
  padding-bottom: 3px; 
  color: #7d7d7d; 
  margin: 0px;
  line-height: 10px;
}
div#right a.col_link:hover { 
  background-color: #888888; 
  color: #FFFFFF; 
  padding-left: 19px; 
  padding-top: 4px; 
  padding-bottom: 3px; 
  text-decoration: none; 
  cursor: hand; 
  margin: 0px;
  line-height: 10px;
}


/* ---------------------------- //Right Submenu --------------------- */
/*-------------------------------NEWS-------------------------------*/

div#news { 
  position: relative;
  width: 500px;
  text-align: left;
  float: right;
  margin-bottom: 20px;
  margin-right: 5px;
}
div#news_n { 
  position: relative;
  width: 212px;
  text-align: left;
  float: right;
  margin: 20px 0;
}
div#news H3, div#news_n H3 { 
  font-size: 14px;
  color: #B4000B;
  font-weight: bold;
  border-bottom: 2px solid #B4000B;
  line-height: 26px;
  padding: 0px;
  margin: 0px 0px 5px 0px;
}
div#news H4, div#news_n H4 { 
  
  color: #B4000B;
  font-weight: 100;
  line-height: 18px;
  padding: 0px;
  margin: 0px;
}
div#news p, div#news_n p {
  
  color: #242424;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
}
div#news p.text, div#news_n p.text {
  
  color: #242424;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
  margin-bottom: 15px;
}
div#news p.date, div#news_n p.date {
  
  color: #7D7D7D;
  line-height: 18px;
  margin: 0px;
  margin-bottom: 5px;
  padding: 0px;
}
div#news p.link, div#news_n p.link {   
  border-bottom: 1px solid #B4000B;
  line-height: 20px;
  padding: 0px 0px 5px 0px;
  margin: 0px 0px 10px 0px;
}
div.item-last p.link { 
    border-bottom: none !important;
}
div#news p.link_b, div#news_n p.link_b { 
  border-top: 1px solid #B4000B;
  line-height: 20px;
  padding: 5px 0px 0px 0px;
  margin: 10px 0px 0px 0px;
}
div#news table {
  width: 100%;
  line-height: 22px;
}

/*-------------------------------/NEWS-------------------------------*/
/* ---------------------------- Soovitus --------------------- */
div#soovitus {
  position: relative;
  width: 212px;
  float: left;
  margin-bottom: 20px;
}
div#soovitus H3 { 
  font-size: 13px;
  color: #B4000B;
  font-weight: bold;
  border-bottom: 2px solid #B4000B;
  line-height: 26px;
  padding: 0px;
  margin: 0px 0px 5px 0px;
}
div#soovitus p {
  
  color: #242424;
  line-height: 18px;
  margin: 0px;
  padding: 0px;
}
div#soovitus table {
  width: 100%
}
div#soovitus td.col_box {
  width: 19px;
  height: 19px;
  margin-top: 0px;
}
div#soovitus table a { padding: 2px 8px 3px 7px; }
div#soovitus table a:link { text-decoration: none; }
div#soovitus table a:visited { text-decoration: none; }
div#soovitus table a:hover { text-decoration: none; }
div#soovitus table a:active { text-decoration: none; }
/* ---------------------------- /Soovitus --------------------- */
/* ---------------------------- Tootenimekiri ------------------- */


/* ---------------------------- /Tootenimekiri ------------------- */
/*----------------------------  Tootevaade  ----------------------------*/

img.toode_d {
  margin-right: 0px;
  margin-bottom: 10px;
}
/*----------------------------  /Tootevaade  ----------------------------*/

span.comment {
  color: #ACACAC;
}
/*----------------- /CONTENT ----------------------------------*/


/*----------------- FOOTER ------------------------------------*/

div#footer {
  position: relative; 
  width: 970px;
  
  color: #ACACAC;
  border-top: 1px solid #acacac;
  margin-top: 30px;
  clear: both;
}
span#f1 { float: left; line-height: 30px; }
span#f2 { float: right; line-height: 30px; height: 30px; }
img#tootja_logo { vertical-align: middle; }
/*------------------- /FOOTER -----------------------------------*/


a:link { color: #B4000B; text-decoration: none; }
a:visited { color: #B4000B; text-decoration: none; }
a:active { color: #B4000B; text-decoration: underline; }
a:hover { color: #B4000B; text-decoration: underline; cursor: hand; }



/*------------------- detailvaade -------------------*/

div#navi {
  height: 46px;
  color: #FFFFFF;
  text-align: left;
}
div#navi div#prev {
  float: left;
}
div#navi div#next {
  float: right;
}
div#navi a {
    display: block;
  font-size: 12px;
  text-decoration: none;
  line-height: 46px;
  color: #FFFFFF;
}
H5 {
  font-size: 14px;
  font-weight: bold;
  color: #B4000B;
  line-height: 1em;  
  margin: 25px 0 6px 0;
  padding: 0px;
  text-align: left;
}
div#catalog-view-top {
    height: 46px;
    background-color: #b4000b;
}
div#catalog-view-holder {
    float: left;
    padding: 0 2.5em;
    position: relative;
    top:-46px;
}
div#vaade img {
  margin-bottom: 10px;
}
div#vaade table {
    width: 100%;
    border-top: 1px solid #C9CACC;
}
div#vaade table td {
  text-align: left;
  border-bottom: 1px solid #C9CACC;
  padding: 5px 3px;
  height: 16px;
}
div#vaade table td.labl {
  width: 150px;
  font-weight: bold;
  
  border-right: 1px solid #C9CACC;
}
a#close {
    display: inline-block;
    margin: 2em 0 0 0;
}
/*------------------- /detailvaade -------------------*/



p.search_label {
  color: #7D7D7D;
  margin: 0;
  padding: 3px 0;
}
p.search_input {
    display: block;
    margin: 0;
    padding: 0px;
}
p.search_find {
  margin: 10px 0px 10px 10px;
  padding: 0px;
}
select.search_select {
    background-color: #f4f2d6;
    border: 1px solid #adafb5;
    width: 100%;
}
.clear {
  width: 100%;
  clear: both;
  font-size: 1px;
  line-height: 1px;
  height: 1px;
}

.block-left, .block-right {
    float: left;
    overflow: hidden;
    width: 100px;
}
.block-right {
    margin: 0 0 0 12px;
}


/* Buttons */
.button {
    margin: 1em 0 0 0;
    display: block;
    background: #b4000b url(images/button.png) 0% 50% no-repeat;
    padding: 0 0 0 1px;
    float: left;
}
.button input {
    border: none;
    cursor: pointer;
    height: 24px !important;
    background: url(images/button.png) 100% 50% no-repeat !important;
    text-transform: uppercase;
    color: #fff;
    font-size: 10px;
    padding: 0 10px !important;
    width: auto !important;
    float: left;
}


/* Content gallery */
.content-gallery img {
    border: 1px solid #adafb5;
    margin: 0 5px 5px 0;
}

/* Landingpage */
#lp h3 {
    margin: 0 0 .3em 0 !important;
}
#lp img {
    border: 1px solid #adafb5;
}
#lp p {
    margin: .5em 0;
}
.lp-item {
    float: left;
    margin: 0 10px 1.5em 0;
    width: 158px;
}
#lp .row-last {
    margin-right: 0;
}