body {
  font-family: 'Arial', serif;
  font-size: 12px;
  color: #3a3a3a;
  margin-bottom: 13px;
  background-color: #dcdcdc;
  background-image: url(/clients/layoutsw/modern_gray/pics/bg.png);
  background-repeat: repeat-x;
  background-position: left top;
  background: #dcdcdc url( /clients/layoutsw/modern_gray/pics/bg.png ) repeat-x top left;
}

#left-bar,
#right-bar {
  width: 255px;
  background:transparent url( );
  overflow:hidden;
  background-color: transparent;
  background-image: url(none);
  margin-left: 14px;
  margin-right: 14px;
  margin-top: 27px;
}

body.twocol #content {margin: 0 250px;}
body.nocol #content {margin: 0 16px;}
body.leftcol #content {margin: 0 16px 0 250px;}
body.rightcol #content {margin: 0 250px 0 16px;}

.box {
  margin:0;
  border:none;
  width:211px;
  padding: 6px;
}

a {
  text-decoration: none;
  color: #243FF8;
}

a:hover {
  text-decoration: underline;
  color: #d90c0c;
}

#page {
  width: 934px;
  padding-bottom: 2px;
  background-image: none;
  background-color: transparent;
  margin-top: 0;
  margin-right: auto;
  margin-bottom: 0px;
  margin-left: auto;
  padding-top: 20px;
  margin: 0 auto 0 auto;
}
#top-bar {
  height: 200px;
  margin-left: 18px;
  margin-right: 18px;
  margin-bottom: 24px;
  background: transparent url( /files/innovitale.julkaisee.fi/inno1900.png ) repeat-x top left;
}

#columns {
  padding-bottom: 30px;
  padding-top: 0px;
  margin-left: 10px;
  background-image: url(/clients/layoutsw/modern_gray/pics/page_bg.png);
  background-repeat: repeat-y;
  background-position: top left;
}

#content {
  padding-top: 20px;
}

#menu {
  height: auto;
  background-color: transparent;
  background-image: url(/clients/layoutsw/modern_gray/pics/menu_bg.png);
  background-repeat: repeat-x;
  background-position: left top;
  padding-left: 21px;
  margin-left: 17px;
  margin-right: 17px;
  margin-bottom: 37px;
  margin-top: 0px;
}

#menu ul {
  height: auto !important;
}

#menu ul li {
  margin: 0px;
  padding-top: 0px;
  padding-right: 12px;
  padding-bottom: 0px;
  padding-left: 0px;
}

#menu ul li a {
  color: #FFFFFF;
  background-color: transparent;
  background-image: none;
  font-size: 16px;
  font-weight: bold;
  padding-top: 19px;
  padding-right: 7px;
  padding-bottom: 2px;
  padding-left: 7px;
  text-transform: none;
  font-family: 'Loved by the King', serif;
}

#menu ul li.first_link a {

}

#menu ul li ul li.mli a {
  background-image: url(none) !important;
}

#menu ul li.active_link a,
#menu ul li.active_link a:hover,
#menu ul li.sublink_active a,
#menu ul li.sublink_active a:hover {
  color: #FFFFFF;
  text-decoration: none;
  background-image: url(/clients/layoutsw/modern_gray/pics/menu_active_bg.png);
  background-repeat: repeat-x;
  background-position: left bottom;
}

#menu ul li.active_link,
#menu ul li.sublink_active {
  text-decoration: none;
  color: #c82121;
}

#menu ul li a:hover {
  color: #c82121;
  background-image: none;
  text-decoration: none;
}

#menu ul li ul {
  background-image: url(/clients/layoutsw/modern_gray/pics/menu2_bg.png);
  z-index: 25;
  height: auto;
  background-color: transparent;
  margin-left: 0px;
  background-repeat: repeat-x;
  background-position: left top;
  padding-bottom: 12px;
  border-bottom-width: 1px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: solid;
  border-left-style: none;
  border-bottom-color: #FFFFFF;
  padding-top: 8px;
}

.clearli {
  display: none;
}

#menu ul li ul li a {
  z-index: 25;
  height: auto;
  background-color: transparent;
  text-transform: none;
  color: #ffffff !important;
  font-weight: normal;
}

#menu ul li ul li a:hover {
  background-image: url( );
  z-index: 25;
  height: auto;
  background-color: transparent;
  text-transform: none;
  color: #c82121 !important;
}

#menu ul li ul li {
  float: none;
}

#menu ul li ul li a,
#menu ul li ul li.first_link a,
#menu ul li.first_link .mli a {
  display: block;
  line-height: 24px;
  background-image: url(none);
  background-repeat: repeat-x;
  background-position: left bottom;
  margin-left: 7px;
  padding-top: 0;
  padding-right: 10px;
  padding-bottom: 0;
  padding-left: 0px;
  font-weight: normal;
}

#menu ul li ul li.active_link a {
  color: #c82121 !important;
}

.bannerlist .box {
  background-image: url( ) !important;
}

.box .header {
  background-image: url(/clients/layoutsw/modern_gray/pics/box_header_bg.png);
  margin: 0;
  padding: 0;
  background-color: #151515;
  background-repeat: repeat-x;
  background-position: left top;
}

.box .header h1 {
  line-height: 15px;
  overflow:hidden;
  margin: 0;
  text-align: left;
  color: #ffffff;
  text-transform: none;
  font-size: 14px;
  padding-top: 12px;
  padding-right: 12px;
  padding-bottom: 9px;
  padding-left: 12px;
}

.box .content {
  background-color: transparent;
  padding-top: 12px;
  padding-bottom: 14px;
  padding-right: 5px;
  padding-left: 5px;
  margin-top: 0px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #FFFFFF;
  background-image: url(/clients/layoutsw/modern_gray/pics/dots.png);
  background-repeat: repeat-x;
  background-position: left top;
}

#footer {
  background-color: transparent;
  padding-top: 0px;
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-bottom: 0px;
}

#copyright {
  color: #929292;
  font-size: 11px;
  text-transform: none;
  text-decoration: none;
  background-image: url(/clients/layoutsw/modern_gray/pics/footer_bg.png);
  background-repeat: no-repeat;
  background-position: center bottom;
  padding-bottom: 14px;
  background-color: transparent;
  font-weight: normal;
  margin-right: 0px;
  margin-left: 0px;
  padding-top: 9px;
  padding-left: 0px;
}

#copyright a, #copyright a:visited {
  color: #929292;
  line-height: 18px;
  font-size: 11px;
  text-transform: none;
  text-decoration: none;
}

#content h1 {
  font-size: 18px;
  font-weight: bold;
  color: #3C3C3C;
  line-height: 25px;
  font-family: 'Loved by the King', serif;
  font-style: normal;
}

#content h1 a {
  color: #d90c0c;
}

#content h1 a:hover {
  color: #d90c0c;
  text-decoration: underline;
}

#content h2 {
  font-family: 'Loved by the King', serif;
  font-size: 16px;
}
#left-bar, #right-bar {
  font-family: 'Times New Roman', serif;
  font-size: 13px;
}
#left-bar h1, #right-bar h1 {
  font-family: 'Courier New', serif;
}

h1 a {
  font-size: 26px;
  font-weight: normal;
  color: #d90c0c;
}

h1 a:hover {
  font-size: 26px;
  font-weight: normal;
  color: #d90c0c;
  text-decoration: underline;
}

#columns {
  margin-top: 10px;
}

.blogposts h1,
.blogposts h1 a,
#news_frontpage h1,
#calendar_frontpage h1 {
  font-size: 20px;
  font-weight: normal;
  color: #d90c0c;
}

.blog_date,
.blog_bottom,
.small {
  font-size: 11px;
  font-weight: normal;
}

.inner.blogposts  h1 {
  font-size: 30px;
}

#left-bar span.small,
#right-bar span.small  {
  font-weight: bold;
}

#footerblock  {
  background-color: transparent;
  display: block;
  height: 2px;
  margin-top: 0px;
  padding-top: 0px;
  background-image: url(/clients/layoutsw/modern_gray/pics/dot_line.png);
  background-repeat: no-repeat;
  background-position: center top;
  margin-right: 0px;
  margin-left: 0px;
}

br#last  {
  display: none;
}

body.edit {
  background-position: left 47px;
}
