/* HTML Tag Redefinition */
html, body {height: 100%;  }
body {background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg2.jpg) no-repeat 50% 0 #fff; padding: 0px; margin: 0px; }
img {border: 0px}
a { cursor:pointer}

label { font-weight:bold;}
fieldset { border:1px solid #ccc;}

.error { color:#CC0000;}
.doprint{display: none;}
/* error text class optionally provided by theme */
div.ccm-error-response {color: #f00; margin-bottom: 12px}

/* Page Structure / Navigation */
#page{ width:1007px; margin:auto; text-align:left; position:relative; }
#page #headerSpacer{ height:98px }
#page #headerSpacerContentpage{ height:68px }
#page #header{ position:relative; } 
#page #header #logo{ float:left; }
#page #header #logo-contentpage{ float:left; padding:30px 0 10px 60px; }

#page #pageTop{ position:absolute; top:0px; right:10px; width:980px;}

#page #home{float:left; margin-left:70px;}
#page #home ul{ margin:0; padding:0; }
#page #home ul li{ display:inline-block; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_second_nav_bt.png) no-repeat 0 100%; width:99px; margin-left:4px; text-align:center; list-style:none; text-decoration:none; font-size:13px; line-height:22px; }
#page #home ul li a{ color:#fff; text-decoration:none; display:block;}

#page #search{float:right; width:250px; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_search.png) no-repeat 0 4px; margin-left:8px; line-height:26px; text-align:center; margin-top:-4px; }

#page #secondNav{float:right;}
#page #secondNav ul{ margin:0; padding:0; }
#page #secondNav ul li{ display:inline-block; float:left; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_second_nav_bt.png) no-repeat 0 100%; width:99px; margin-left:4px; text-align:center; list-style:none; text-decoration:none; font-size:12px; line-height:22px; }
#page #secondNav ul li.fb{ display:inline-block; float:left; background:none!important;  margin-left:4px; text-align:center; list-style:none; text-decoration:none;width:26px!important;  }
#page #secondNav ul li a{ color:#fff; text-decoration:none; display:block;}

#page #central #body #headerNav { clear:both; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_nav-2.png) no-repeat 0 100%; height:31px; }
#page #central #body #headerNav ul.nav-header{ list-style:none; margin:1px 0 0 5px; padding:0px; width:auto; z-index:2; overflow:visible; float: left}
#page #central #body #headerNav ul.nav-header li{float:left; width:245px; text-align:center; font-size:15px; text-transform:uppercase; font-weight:normal;}
#page #central #body #headerNav ul.nav-header li a{ text-decoration:none; color:#fff; display:block; line-height:28px; margin:2px 1px 1px 1px; }
#page #central #body #headerNav ul.nav-header li a:hover{ text-decoration:none; color:#000; background-color:#f09d02;}
#page #central #body #headerNav ul.nav-header li.nav-selected a{ color:#f09d02;}
#page #central #body #headerNav ul.nav-header li.nav-selected a:hover{ color:#f09d02; background-color:#000;}


#page #central #body #headerNav2 { clear:both; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_nav-2-content.png) no-repeat 0 100%; height:30px; }
#page #central #body #headerNav2 ul.nav-header{ list-style:none; margin:-1px 0 0 4px; padding:0px; width:auto; z-index:2; overflow:visible; float: left}
#page #central #body #headerNav2 ul.nav-header li{float:left; width:260px; text-align:center; font-size:15px; text-transform:uppercase; font-weight:normal;}
#page #central #body #headerNav2 ul.nav-header li a{ text-decoration:none; color:#fff; display:block; line-height:28px; margin:2px 2px 1px 1px; }
#page #central #body #headerNav2 ul.nav-header li a:hover{ text-decoration:none; color:#000; background-color:#f09d02;}
#page #central #body #headerNav2 ul.nav-header li.nav-selected a{ color:#f09d02;}
#page #central #body #headerNav2 ul.nav-header li.nav-selected a:hover{text-decoration:none; color:#000; background-color:#f09d02;}

#page #header #header-area{ float:left; width:475px; padding-top:30px; color:#d2d2d2;}
#page #header #header-area h2{color:#d2d2d2;}
#page #central{clear:both; }
 
#page #central #body{ padding:0 0 0 0; float:left; position:relative;}

#page #central #body #slogan-img{ padding:5px 0 10px 10px;}

#page #central #body #content-home { background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_content_home-2.png) repeat-y 0 0; height:430px; width:730px; padding:0 8px 0 8px;}

#page #central #body #content { background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_content-2.png) repeat-y 0 0; min-height:470px; margin-right:1px;  float:right; width:710px; padding:20px 40px 60px 40px;}

#page #central #body #content img {border:7px solid #CCCCCC; padding:3px;}

#page #central #body #content .mainimage img { position:relative; margin:-20px -35px 0 -35px; width:758px;}

#page #central #sidebar{ overflow:hidden; width:261px; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_news_column.png) no-repeat 0 0; height:561px; float:left; position:relative;}
#page #central #sidebar .links{ padding:5px 15px 10px 20px;}
#page #central #sidebar .links p{ margin:0 0 5px 0; padding:0;}
#page #central #sidebar .links h2{color:#ffa700;  font-size:16px; }

#page #central #sidebar-content{ overflow:hidden; width:216px;  float:left; position:relative ;}
#page #central #sidebar-content .img-top{ position:absolute; top:-2px;}
#page #central .img-bottom{ position:absolute; bottom:-11px; left:0;}
#page .bg-sidebar {background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg-sideber-content.png) repeat-y 0 0;}

#page #central #sidebar-content ul.nav{ list-style:none; margin-left:0px; margin-top:30px; margin-bottom:20px; padding:0 20px 0 44px; width:166px;}
#page #central #sidebar-content ul.nav li{ margin:0px 0 0 0; font-size:13px; font-weight:normal; padding:0 10px 15px 0; }
#page #central #sidebar-content ul.nav a{ text-decoration:none; color:#fff; padding:0; margin:0; }
#page #central #sidebar-content ul.nav a.nav-selected {color:#f09d02; }
#page #central #sidebar-content ul.nav a:hover{color:#f09d02;}
#page #central #sidebar-content ul.nav ul{ list-style:none; margin-left:0px; padding:0px; padding-left:16px; margin-top:16px; }
#page #central #sidebar-content ul.nav ul li{ margin-bottom:16px; }

#page #central #sidebar-content #nav_arrow { position:absolute; left:25px;}
#page #central #sidebar-content #nav_arrow img { }

#page #central .news{ margin-top:-23px; margin-bottom:-42px; float:right!important; color:#fff; }

#page #central .news h2{ background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/news-heading-arrow.png) no-repeat 0 3px; padding-left:30px; font-size:18px;}
#page #central .news a {color:#ffa700}

#page #footer{ background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_footer-2.png) no-repeat 0 0; height:44px; margin-top:-10px; padding-top:10px; width:716px; padding-left:30px; color:#999; font-size:12px;position:relative;}
#page #footer a{ text-decoration:none; color:#fff; }
#page #footer a:hover{ text-decoration:underline; color:#fff; }
#page #footer span.contact-info { float:left; }
#page #footer span.powered-by { float:right; margin-right:20px; }

#page #footer-content{ background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/bg_footer-2-content.png) no-repeat 0 0; height:44px; margin-top:-39px; padding-top:10px; width:761px; padding-left:30px; color:#999; font-size:12px; position:relative;}
#page #footer-content a{ text-decoration:none; color:#fff; }
#page #footer-content a:hover{ text-decoration:underline; color:#fff; }
#page #footer-content span.powered-by { float:right; margin-right:20px; }
#page #footer-content span.contact-info { float:left;} 

#banners{ width:1000px; margin-left:auto; margin-right:auto;text-align:left; position:relative; }
#banners .banner{ float:left; width:240px; margin:0 3px 0px 7px; height:120px;}
.bottom-height { float:left; height:40px; display:block;}

#page #central div.no-border img { border:none!important; margin:0; padding:0;}

.information { clear:both; 	width:100%;}
.information h2 { display:block;  background-color:#f8f5e6; margin-left:-5px; padding:3px; text-transform:capitalize!important; font-size:13px;}
.information .company {display:inline-block; width:46%; padding:3px 0 3px 0;}
.information .unit { display:inline-block; width:20%; padding:3px 0 3px 0;}
.information .information_more { clear:both; padding:10px; background-color:#f8f5e6; margin:5px 0 15px 0; border:1px solid #e5deb7; width:66%}


.pagePagination ul.hpages  { margin:30px 0;}
.pagePagination ul.hpages a { padding:5px; background-color:#f8f5e6; border:1px solid #e5deb7; font-weight:bold; text-decoration:none; margin:0 2px; color:#f09d02;}
.pagePagination ul.hpages a:hover { padding:5px; background-color:#000; border:1px solid #e5deb7; font-weight:bold; text-decoration:none; margin:0 2px; color:#fff;}
.pagePagination ul.hpages a.active { padding:5px; background-color:#E9DFB1; border:1px solid #e5deb7; font-weight:bold; text-decoration:none; margin:0 2px; color:#f09d02;}

.left { float:left!important;}
.right { float:right!important;}

/* Page Elements */

.pagingNav{ margin:16px 0px 8px 0px}
.pagination{ text-align:center; color:#bbb; padding-top:4px}
.pagination .pageRight{width:20%; float:right; text-align:right}
.pagination .pageLeft{width:20%; float:left; text-align:left}

/* MISC STYLES & SHORTCUTS */
div.code {border: 1px solid #ddd; background: #eee; padding: 10px}
div.spacer,div.ccm-spacer{ clear:both; font-size:1px; line-height:1px }
.noTopSpace{margin-top:0px; padding-top:0px}

/* customize_miscellaneous */ /* customize_miscellaneous */

.prizes { padding:20px; background-color:#fff; width:600px;}
.prizes .left-td { border-bottom:1px solid #efefef; width:270px; padding:20px 0 20px 0; text-align:center;}
.prizes .right-td { border-bottom:1px solid #efefef; vertical-align:top; padding:30px 0 30px 0;}
.prizes .right-td h1 { font-size:18px!important; margin-bottom:0px; padding-bottom:5px; line-height:20px!important}
.prizes .right-td h2 { font-size:13px!important; margin-top:0; line-height:15px!important}

#nettikisa { width:729px; margin:7px 0 0 3px; height:413px; z-index:999; float:left; position:relative; display:block; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/kilpailu-modal.jpg) no-repeat 0 0;}
#nettikisa .kisa { width:729px; height:413px; float:left; display:block;}
#nettikisa #nettikisa_sulje { position:absolute; right:10px; top:10px; width:109px; height:37px; background: url(http://www.riihimaenmessut.fi/themes/riihimaenmessut/images/close-modal.gif) no-repeat 0 0;}