/* Common */
body { margin: 0px; background: url('../images/background_pattern_light.gif') repeat; }
img { border: 0px; }
body, table th, table td { font-size: 12px; font-family: Arial; }
table td { vertical-align: top; }
a { color: #222222; }
a:visited { color: #666666; }
embed { vertical-align: bottom; }
.floatLeft { float: left; display: inline; }
.floatRight { float: right; display: inline; }
.clearFloat { clear: both; }

.textLeft { text-align: left; }
.textRight { text-align: right; }
.textCenter { text-align: center; }

.margin2 { margin: 2px; }

/* Layout & Navigation */
div#main-container { width: 830px; margin: auto;  background: #FFFFFF url('../images/main_container_bg.gif') repeat-y; }
div#logo { margin: 15px 0px 10px 20px; }
div#flags { margin: 25px 20px 0px 0px; }
div#banner { margin: 0px 20px 0px 20px; clear: both; }
table#main-content { margin: 5px 20px 20px 20px; width: 790px; }
div#navigation { margin: 5px 20px 5px 20px; background: url('../images/navigation_background.gif') no-repeat top right; }
td#subnavigation { width: 200px; }
td#subnavigation div.subnav-item { width: 183px; background: url('../images/subnav_bottom.gif') no-repeat bottom left; margin-bottom: 3px; }
td#subnavigation div.subnav-item div { font-weight: bold; width: 151px; padding: 8px 0px 8px 32px; background: url('../images/subnav_top.gif') no-repeat; }
td#subnavigation div.selected { background-color: #ffe119; }
td#subnavigation div a { color: #000000;  text-decoration: none; }
td#subnavigation div a:hover { text-decoration: underline; }
td#subcontent h2 { display: inline; }
td#subcontent { padding-top: 4px; }
div#footer { border-top: 1px solid #525252; margin: 20px; }
div#footer-border { width: 800px%; height: 5px; background-color: #e0dfdd; height: 1px; border: 1px solid #FFFFFF; }
div#copyright { float: left; margin: 6px; }
div#www { float: right; margin: 6px; }
img.selected_flag { border: 2px solid #6D6D6D; }

/* Etusivu */
table#main-content td#welcome, table#main-content td#welcome_en { width: 571px; }
table#main-content td#welcome { background: url('../images/content_background.jpg') no-repeat; }
table#main-content td#welcome_en { background: url('../images/en/content_background.jpg') no-repeat; }
table#main-content td#welcome_ru { background: url('../images/ru/content_background.jpg') no-repeat; }
table#main-content td#welcome div.welcome-content,
table#main-content td#welcome_en div.welcome-content { margin: 50px 20px 15px 20px; }
table#main-content td#welcome_ru div.welcome-content { margin: 50px 20px 15px 20px; }
table#main-content td#animation { width: 219px; background: url('../images/animation_bg.gif') no-repeat top right; text-align: right; }

/* Tuoteratkaisut */
table.tolerances { border: 1px solid #CCCCCC; border-right: none; border-bottom: none; }
table.tolerances th { padding: 6px; background-color: #9A9A9A;  font-size: 11px; border: 1px solid #CCCCCC; border-left: none; border-top: none; }
table.tolerances td { text-align: center;  font-size: 11px; border: 1px solid #CCCCCC; border-left: none; border-top: none;  }

ul#sertifikaatit li { margin-bottom: 9px; }

/* Yritysinfo */
td#subcontent span.name { color: #333333; font-weight: bold; }

/* Yhteystiedot */
table#contact-information { margin-top: 16px; }

/* Yhteydenotto */
table#contact-form { margin-top: 16px; }
table#contact-form th { font-weight: bold; text-align: left; color: #222222; vertical-align: top; padding: 4px; }
div#form-errors { padding: 10px; border: 1px solid red; }