html,
body
{
    height: 100%;
}

html
{
    overflow: scroll;
    overflow-x: auto;
}

body
{
    margin: 0;
    text-align: center;
}

#container
{
    width: 955px;
    margin: 0 auto;
    text-align: left;
    font-size: 10px;
}

#header
{
    background-image: url('/images/header-background.png');
    background-repeat: no-repeat;
    background-position: top left;
    position: absolute;
    width: 955px;
    height: 96px;
    top: 0;
}

body.mainpage #header
{
    display: none;
}

#languages
{
    position: absolute;
    margin-left: 899px;
    top: 18px;
}

#languages ul
{
    margin: 0;
    padding: 0;
    list-style: none;
    width: 60px;
}

#languages ul li
{
    display: block;
    float: left;
    margin-right: 2px;
}

#languages ul li a,
#languages ul li a img
{
    border: none;
}

#header a
{
}

#header a img
{
    position: absolute;
    margin-left: 83px;
    margin-top: 27px;
}

#container a img
{
    border-style: none;
}

#content
{
    padding-top: 80px;
    height: 250px;
    border-bottom: solid 1px #edeae3;
    background-repeat: no-repeat;
    background-position: bottom right;
}

body.mainpage #container
{
/*
    background-image: url('/images/mainpage-image-fi.gif');
*/
    background-repeat: no-repeat;
    background-position: 700px 336px;
}

body.mainpage #content
{
    height: 330px;
    padding-top: 0;
    overflow: hidden;
}

body.__ais #content,
body.config #content,
body.create #content,
body.edit #content,
body.delete #content,
body.l10n #content
{
    height: auto;
    background-image: none !important;
}


body.__ais #footer,
body.config #footer,
body.create #footer,
body.edit #footer,
body.delete #footer,
body.l10n #footer
{
    display: none;
}

#content-text
{
    padding-top: 40px;
    margin-left: 30px;
}

body.mainpage #content-text
{
    padding-top: 0;
    margin-left: 0;
}

#content-text div.content
{
    height: 179px;
    width: 476px;
    overflow: auto;
    padding-right: 10px;
}

html > body #content-text div.content
{
    width: 456px;
}

body.company #content-text div.content
{
    width: 550px;
}

body.company #content-text div.content p
{
    margin-bottom: 8px;
}

#navigation
{
    padding-top: 15px;
    padding-bottom: 35px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

body.mainpage #navigation
{
    border-top: solid 1px #e0ddd8;
}

#navigation ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}


#navigation ul li a
{
    display: block;
    float: left;
    padding-top: 95px;
    background-position: 0 95px;
    background-repeat: repeat-y;
    text-align: center;
    color: #ee3225;
    text-transform: uppercase;
    width: 100px;
    font-size: 8pt;
}

body.mainpage #navigation ul li.mainpage a,
#navigation ul li.selected a,
#navigation ul li a:hover
{
    background-position: 0 0;
}

#navigation ul li.mainpage a
{
    background-image: url('/images/attachments/etusivu3.gif');
    width: 94px;
}

#navigation ul li.company a
{
    background-image: url('/images/attachments/yritys.gif');
    width: 122px;
}

#navigation ul li.products a
{
    background-image: url('/images/attachments/tuotteet.gif');
    width: 102px;
}

#navigation ul li.recipies a
{
    background-image: url('/images/attachments/reseptit.gif');
    width: 126px;
}

#navigation ul li.know a
{
    background-image: url('/images/attachments/tieda_mita_syot.gif');
    width: 108px;
/*
    margin-left: 100px;
*/
}

#navigation ul li.l10n a
{
    position: absolute;
    margin-left: 645px;
    background-image: url('/images/attachments/l10n.gif');
}

body.sv #navigation ul li.know a
{
    width: 138px;
}

body.sv #navigation ul li.know a embed,
body.sv #navigation ul li.know a object
{
    margin-left: -20px;
}

#navigation ul li.contact a
{
    background-image: url('/images/attachments/yhteydenotto.gif');
    width: 98px;
}

#navigation ul li.potato a
{
    background-image: url('/images/attachments/peruna.gif');
    width: 99px;
}

#container a:link,
#container a:visited
{
    text-decoration: none;
    color: #ee3225;
}

#container a:hover,
#container a:visited:hover
{
    text-decoration: underline;
}

#products_chooser
{
    float: right;
    width: 630px;
    margin-top: -21px;
}

body.products #content-text div.content
{
    width: 240px;
    float: left;
}

#lightbox_matte
{
    position: absolute;
    top: 0;
    height: 620px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    opacity: 0.5;
    z-index: 2;
}

html > body #lightbox_matte
{
    position: fixed;
}

#container #content-text #lightbox_content div.header,
#container #content-text #lightbox_content div.header h1,
#container #content-text #lightbox_content div.header a
{
    color: #ffffff;
}

#container #content-text #lightbox_content div.header h1
{
    height: 50px;
    line-height: 50px;
    font-size: 130%;
}

#lightbox_content,
#lightbox_content.mainpage
{
    background-image: url('/images/lightbox-header.gif');
    background-repeat: no-repeat;
    background-position: top left;
    background-color: #ee3225;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 685px;
    height: 750px;
    margin-top: -375px;
    margin-left: -342px;
    border-style: solid;
    border-width: 1px;
    border-color: #9d9d9d;
    background-color: #ffffff;
    z-index: 100;
}

body.recipies #lightbox_content div.subcontent
{
    height: 610px;
    overflow: auto;
}

body.know #content-text div.content
{
    width: 320px;
}

body.mainpage #lightbox_content,
#lightbox_content.liftup,
#lightbox_content.mainpage
{
    height: 500px !important;
}

#lightbox_content.liftup #column_1,
body.mainpage #lightbox_content #column_1
{
    width: 280px;
    height: 380px;
    overflow: auto;
    overflow-x: hidden;
}

body.know #lightbox_content
{
    border-width: 12px;
    border-color: #ed3428;
    height: 400px;
}

body.know #lightbox_content
{
    background-image: none;
}

#lightbox_content #lightbox_close
{
    float: right;
    margin-right: 17px;
    margin-top: 15px;
    font-size: 130%;
    font-weight: bold;
}

#lightbox_content #lightbox_close,
#lightbox_content #lightbox_close a
{
    color: #ffffff;
}

body.know #lightbox_content #lightbox_close
{
    margin-top: 3px;
    margin-right: 5px;
}

body.know #lightbox_content #lightbox_close,
body.know #lightbox_content #lightbox_close a
{
    color: #000000;
}

#lightbox_content #lightbox_close img
{
    vertical-align: middle;
}

#lightbox_content div.header
{
    color: #ffffff;
    line-height: 58px;
    height: 58px;
}

#lightbox_content div.header h1
{
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: bold;
    padding-left: 29px;
}

#lightbox_content div.subcontent
{
    padding: 41px 10px 14px 30px;
}

#lightbox_content.liftup div.subcontent
{
    padding-top: 0;
}

#lightbox_content div.subcontent div.column
{
    width: 300px;
    float: left;
}

body.know #lightbox_content div.subcontent div.column
{
    height: 280px;
    overflow: visible;
}

#lightbox_content div.subcontent #column_1
{
    margin-right: 20px;
}

#ticker
{
    position: absolute;
    width: 955px;
    top: 501px;
    z-index: 0;
    background-color: #ffffff;
}

#copyrights
{
    clear: both;
    text-align: right;
    color: #666666;
    padding-top: 10px;
}

#content-text div.mainpage_box_link,
#footer div.footer_link
{
    vertical-align: center;
}

#footer div.footer_link a
{
    text-decoration: none;
}

#content-text div.mainpage_box_link,
#footer div.footer_link,
#content-text #user_content_feedback p,
#content-text #your_own_recipe
{
    white-space: nowrap;
    background-image: url('/images/footer_link.gif');
    background-repeat: no-repeat;
    background-position: left top;
    height: 31px;
    line-height: 31px;
    text-align: center;
    padding-left: 4px;
}

#content-text #user_content_feedback
{
    vertical-align: bottom;
    width: 100px;
}

#content-text #user_content_feedback p
{
    position: absolute;
    margin-top: -22px;
}

#footer div.footer_link
{
    margin-top: 160px;
}

#footer div.footer_link a.sIFR-replaced,
#content-text #user_content_feedback a.sIFR-replaced
{
    padding-top: 8px;
}

#photo_bank
{
    float: right;
}

#product_catalogue
{
    position: absolute;
}

#content-text div.mainpage_box_link,
#content-text div.mainpage_box_link a,
#footer div.footer_link,
#footer div.footer_link a
#content-text #user_content_feedback p,
#content-text #user_content_feedback p a,
#content-text #your_own_recipe,
#content-text #your_own_recipe a
{
    color: #ee3225;
    text-transform: uppercase;
}

#content-text div.mainpage_box_link a,
#footer div.footer_link a,
#content-text #user_content_feedback p a,
#content-text #your_own_recipe a
{
    background-image: url('/images/footer_link.gif');
    background-repeat: no-repeat;
    background-position: right top;
    height: 31px;
    line-height: 31px;
    padding-left: 6px;
    padding-right: 10px;
    display: block;
}

#content-text #your_own_recipe a
{
    padding-top: 0 !important;
}

#content-text div.mainpage_box_link,
#content-text div.mainpage_box_link a
{
    display: block;
    width: 140px;
    max-width: 140px;
}

html > body #content-text div.mainpage_box_link,
html > body #content-text div.mainpage_box_link a
{
    width: auto;
}

#content-text #food_icons
{
    position: absolute;
    z-index: 1;
    top: 84px;
    margin-left: 314px !important;
    width: 270px;
    list-style: none;
}

#food_icons li
{
    display: block;
    float: left;
    height: 78px;
    margin-right: 5px;
}

#food_icons_mini
{
    clear: both;
    margin: 0;
    padding: 10px;
    list-style: none;
    text-align: right;
}

#food_icons_mini li
{
    display: inline;
    margin-right: 5px;
}

body.l10n #content-text textarea
{
    width: 300px;
}

#mainpage_image
{
    position: absolute;
    margin-left: 622px;
    text-align: right;
    top: 336px;
    width: 300px;
}

body.mainpage #mainpage_image
{
    margin-left: 652px;
}

textarea#instructions
{
    width: 300px;
    height: 200px;
}

#shopping_list_toolbar
{
    height: 30px;
    line-height: 30px;
    border: solid 1px #888888;
    margin-top: 20px;
}

#container #shopping_list_toolbar h3,
#container #shopping_list_toolbar label,
#container #shopping_list_toolbar span.label,
#container #shopping_list_toolbar input.submit
{
    display: inline;
}

#shopping_list_toolbar div.left_side
{
    float: left;
    padding-left: 3px;
}

#shopping_list_toolbar div.right_side
{
    float: right;
    padding-right: 3px;
}

#shopping_list_toolbar div.right_side input.text
{
    width: 40px;
    text-align: right;
}

#print_page
{
    margin-right: 30px;
}

body.autoprint,
body.autoprint #container
{
    width: auto;
}

#container hr.break
{
    clear: both;
    border-style: none;
    visibility: hidden;
    margin: 0;
    padding: 0;
    line-height: 1px;
    height: 1px;
    display: block;
}

/*
#print_shopping_list
{
    position: absolute;
    margin-top: -20px;
    display: block;
}
*/

#content a.sIFR-replaced
{
    text-decoration: none !important;
}

#lightbox_content h3.sIFR-replaced
{
    height: 64px;
}

#lightbox_content
{
    overflow: auto;
    overflow-y: auto;
}

#test_icon
{
    display: block;
    position: absolute;
    z-index: 1000;
    font-weight: bold;
    font-size: 120%;
    color: #ffffff;
    padding-left: 1em;
    padding-top: 5px;
}

body.blacksite #navigation,
body.blacksite #footer,
body.blacksite #mainpage_image
{
    display: none;
}

body.blacksite #content,
body.blacksite #content div.content
{
    height: auto;
    border-bottom: none;
}

body.blacksite #content div.image
{
    float: right;
}

#navigation ul li.hatasivu
{
    position: absolute;
    margin-top: 0;
    margin-left: -5px;
    height: 20px;
    padding: 0;
}

#navigation ul li.hatasivu a
{
    padding: 0;
}

body.create #navigation ul li.hatasivu,
body.config #navigation ul li.hatasivu,
body.delete #navigation ul li.hatasivu,
body.edit #navigation ul li.hatasivu
{
    display: none;
}

#lightbox_content div.mainpage h1.wendy
{
    width: 600px !important;
    margin-top: 0;
}

