body {
	background : #f5f5f5 url(img/body_bg.jpg) repeat-x;
	color      : #3a3a3a;
	font       : 76% Verdana, Tahoma, Arial, sans-serif;
	line-height: 1.4em;
	margin     : 0 auto;
	padding    : 0;
}

pre {
  font-size: 110%;
}

#wrap {
	background: url(img/content_bg.jpg) no-repeat;
	color     : #303030;
	margin    : 0 auto;
	padding   : 0 9px;
	width     : 1023px;
}
#wrap_helper {
  background: #fff; 
  border: 1px solid #eee;
  border-top: none;
  border-bottom: none;
  width : 1003px;
}
#header {
	background: url(img/header_bg_2016.png) no-repeat;
	color     : #505050;
	height    : 149px;
	margin    : 0 -1px 0 -10px;
	padding   : 0;
}

#header_sm {
	background: url(img/header_bg_sm.jpg) no-repeat;
	color     : #505050;
	height    : 159px;
	margin    : 0 -1px 0 -10px;
	padding   : 0;
}

#header_sm2014 {
	background: url(img/header_bg_sm2014.jpg) no-repeat;
	color     : #505050;
	height    : 156px;
	margin    : 0 -1px -10px -10px;
	padding   : 0;
}

#header_sm h1  {
	font-size  : 2.5em;
	font-weight: 400;
	letter-spacing: -2px;
	margin     : 0;
	padding    : 115px 0 0 0px;
	text-align : center;
}

#header_sm2014 h1 {
	display: none;
  font-size  : 2.5em;
	font-weight: 400;
	letter-spacing: -2px;
	margin     : 0;
	padding    : 155px 0 0 0px;
	text-align : center;
}


#header_sm, #header_sm2014 a {
	color: #e50000;
}

#header_100v {
	background: url(img/header_bg_100v.jpg) no-repeat;
	color     : #505050;
	height    : 159px;
	margin    : 0 -1px 0 -10px;
	padding   : 0;
}

#header_100v h1 {
	font-size  : 2.5em;
	font-weight: 400;
	letter-spacing: -2px;
	margin     : 0;
	padding    : 115px 0 0 0px;
	text-align : center;
}

#header_100v a {
	color: #e50000;
}

#header h1 {
	font-size  : 2.5em;
	font-weight: 400;
	letter-spacing: -2px;
	margin     : 0 0 15px 15px;
	padding    : 20px 0 0 120px;
	height     : 120px;
}
#header h1 a, #header h1 a:hover {
	font-weight: 400;
	padding    : 0;
}
#header p {
	font-size     : 1.1em;
	letter-spacing: -1px;
	margin        : 0 0 20px 15px;
	padding       : 0 0 0 3px;
}
/* Left sidebar and menu */
#leftside {
	float  : left;
	margin : 0 0 10px;
	padding: 0 0 0 8px;
	width  : 165px;
}
#leftside ul.avmenu {
	list-style: none;
	margin    : 0 0 18px;
	padding   : 0;
	width     : 165px;
}
#leftside ul.avmenu li,#leftside ul.avmenu li.menu_haschildren {
	background: url(img/menubg.gif) repeat-x bottom left #f4f4f4;
	display: inline;
	padding: 0;
	width  : 165px;
}

#leftside ul.avmenu li a {
	border-bottom: 1px solid #d8d8d8;
	border-left  : 4px solid #ccc;
	border-right : 1px solid #d8d8d8;
	border-top   : 1px solid #d8d8d8;
	color        : #505050;
	float        : left;
	font-size    : 1em;
	font-weight  : 700;
	margin-bottom: 3px;
	padding      : 5px 1px 5px 5px;
	text-decoration: none;
	width        : 150px;
}

#leftside ul.avmenu li a:hover, #leftside ul.avmenu li a.current {
	background: url(img/menubg2.gif) repeat-x bottom left #eaeaea;
	border-bottom: 1px solid #b0b0b0;
	border-left: 4px solid #cc3333;
	border-right: 1px solid #b0b0b0;
	border-top: 1px solid #b0b0b0;
	color: #505050;
}
#leftside ul.avmenu ul {
	font-size: 0.9em;
	margin   : 0 0 0 15px;
	padding  : 0 0 5px 0;
	width    : 145px;
}
#leftside ul.avmenu ul a {
	padding: 3px 1px 3px 5px;
	width  : 135px;
}
#leftside ul.avmenu ul ul {
	font-size: 1em;
	width    : 135px;
}
#leftside ul.avmenu ul ul a { width: 120px; }
#leftside h2 {
	font-size  : 1.5em;
	font-weight: 400;
}
#leftside .announce {
	background   : url(img/menubg.gif) repeat-x bottom left #f4f4f4;
	border-bottom: 1px solid #d8d8d8;
	border-left  : 4px solid #ff3333;
	border-right : 1px solid #d8d8d8;
	border-top   : 1px solid #d8d8d8;
	clear        : left;
	color        : #505050;
	line-height  : 1.3em;
	margin       : 10px 0;
	padding      : 5px 5px 5px;
	width        : 135px;
}
#leftside p, .announce p { font-size: 0.9em; }

#leftside ul.avmenu li.menu_haschildren span {
  display: block;
  background: url(img/menu_closed.gif) no-repeat 98% center;
}

#leftside ul.avmenu li.menu_haschildren_open span {
  display: block;
  background: url(img/menu_open.gif) no-repeat 98% center;
}

/* Right sidebar */
#extras {
	float  : right;
	margin : 0 0 0 0;
	padding: 0 9px 0 0;
	width  : 220px;
}
#extras p, #extras ul {
	font-size  : 0.9em;
	line-height: 1.3em;
	margin     : 0 0 1.5em;
	padding    : 0;
}
#extras li {
	list-style: none;
	margin    : 0 0 6px;
	padding   : 0;
}
#extras h2 {
	font-size: 1.5em;
	font-weight: 400;
	letter-spacing: -1px;
	margin: 0 0 6px;
}

#sponssit {
  text-align: center;
  margin-bottom: 1em;
  border-bottom: 1px solid #eee;
}
#sponssit p {
  margin-bottom: 1em;
}
#sponssit a {
  display: block;
  margin-bottom: 8px;
}

#paa_sponssit {
  margin: auto;
  width: 180px;
}
#sub_sponssit {
  margin: auto;
  width: 160px;
}

/* Breadcrumbs */
#path {
  margin-bottom: 9px;
}

#path a {
  font-size: 95%;
  font-weight: normal;
}

#path .B_currentCrumb {
  font-weight: bold;
}


/* Main content */
#content {
	line-height: 1.5em;
	margin: 0 0 0 185px;
	padding: 0;
	text-align: left;
	width: 580px;
}

#smr2 #content,#100v #content, #smr12014 #content {
  width: auto;
}

#contentwide {
	line-height: 1.5em;
	margin: 10px 0 10px 160px;
	padding: 0;
	text-align: left;
}
#content h2, #contentwide h2 {
	font-size: 1.8em;
	font-weight: 400;
	letter-spacing: -1px;
	margin: 0px 0 15px;
	padding: 0;
}
#content h3, #contentwide h3 {
	font-size: 1.5em;
	font-weight: 400;
	margin: 0 0 10px 0;
	padding: 0;
}
#content ul, #content ol, #contentwide ul, #contentwide ol {
	margin: 0 0 16px 20px;
	padding: 0;
}
#content ul ul, #content ol ol, #contentwide ul ul, #contentwide ol ol {
	margin: 2px 0 2px 15px;
}
#content li, #contentwide li {
	margin: 0 0 2px 5px;
	padding: 0 0 0 4px;
}
/* Footer */
#footer {
	clear: both;
	color: #666;
	font-size: 0.9em;
	margin: 0 auto;
	padding: 8px 0;
	text-align: center;
}
#footer p {
	margin: 0;
	padding: 0;
}
#footer a {
	background: inherit;
	color: #666;
	font-weight: 400;
	text-decoration: none;
}
#footer a:hover {
	text-decoration: underline;
}
#footer span {
	font-size: 1.2em;
}
/* Links and paragraphs */
a {
	background: inherit;
	color: #166090;
	text-decoration: none;
	font-weight: 700;
}
a:hover {
	background: inherit;
	color: #286ea0;
	text-decoration: underline;
}
a img {
	border: 0;
}
p {
	margin: 0 0 16px;
}
blockquote {
	background: url(img/menubg.gif) repeat-x bottom left #f4f4f4;
	border-bottom: 1px solid #d8d8d8;
	border-left: 4px solid #ccc;
	border-right: 1px solid #d8d8d8;
	border-top: 1px solid #d8d8d8;
	color: #505050;
	margin: 16px;
	padding: 7px 7px 7px 11px;
}
blockquote p {
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0;
}
/* Tables and forms */
table {
	border: 1px solid #d8d8d8;
	border-collapse: collapse;
	line-height: 1.3em;
	width: 99%;
	margin: 0 0 16px;
	padding: 0;
}
caption {
	font-size: 1.5em;
	font-weight: 400;
	margin: 0;
	padding: 6px 0 8px;
	text-align: left;
}
th {
	background: url(img/menubg2.gif) repeat-x bottom left #eaeaea;
	color: #505050;
	padding: 7px;
	text-align: left;
}
td {
	background: #f8f8f8;
	color: #303030;
	font-size: 0.9em;
	padding: 7px;
	text-align: left;
}
input, textarea {
	border: 1px solid #ccc;
	font-family: Verdana, Tahoma, Arial, Sans-Serif;
	font-size: 1em;
	margin: 0;
	padding: 4px;
}
label {
	margin: 2px 0 2px 0;
}
/* Search box */
#searchbox label, .hide {
	display: none;
}
#searchbox {
	margin: 6px 0 16px;
	padding: 0;
}
#searchform {
	background: #fff;
	border: 1px solid #ccc;
	color: #505050;
	font-size: 0.9em;
	padding: 4px;
	width: 116px;
}
/* Ditto */
.ditto_documentInfo {
	margin-bottom: 5px;
	font-style: italic;
	font-size: 95%;
}
.ditto_pageTitle {
	margin: 0 0 5px;
}
.ditto_pageTitle a {
	font-size: 105%;
}
.ditto_pageTitle span {
	font-size: 90%;
	font-style: italic;
}

.ditto_pages .ditto_currentpage {
    border: 1px solid #166090;
    padding: 1px 5px 2px; 
    margin-right: 1px;
    background-color: #166090; 
    color: #fff;
} 
.ditto_pages .ditto_off {
    border: 1px solid #ccc;
    padding: 1px 5px 2px; 
    margin-right: 1px;
    color: #ccc;
}
.ditto_pages a, .ditto_pages a:link, .ditto_pages a:visited {
    border: 1px solid #166090; 
    padding: 1px 5px 2px; 
    margin-right: 1px; 
    text-decoration: none !important; 
    color: black;
} 

/* Additional classes */
.announce h2 {
	margin: 0 0 10px;
	padding: 0;
}
.textright {
	margin: -10px 0 4px;
	text-align: right;
}
.center {
	text-align: center;
}
.small {
	font-size: 0.8em;
}
.large {
	font-size: 1.3em;
}
.red {
	color: red;
}
.green {
	color: green;
}
.blue {
	color: blue;
}
.highlighted {
	background: #f0f0f0;
	border: 1px solid #b0b0b0;
	color: #303030;
	padding: 3px;
}
.button {
	background: url(img/menubg.gif) repeat-x bottom left #f4f4f4;
	border-bottom: 1px solid #d8d8d8;
	border-left: 4px solid #ccc;
	border-right: 1px solid #d8d8d8;
	border-top: 1px solid #d8d8d8;
	color: #505050;
	font-weight: 400;
	font-size: 1.2em;
	margin: 0 0 15px;
	padding: 7px 7px 7px 11px;
	width: 120px;
}
.left {
	float: left;
	margin: 10px 10px 5px 0;
}
.right {
	float: right;
	margin: 10px 0 5px 10px;
}

.clr {clear: both;}


/**
 * Tapahtumakalenterin tyylit
 */
.ee_listDetailsContainer {
  margin-bottom: 1em;
}

.easyEventsList_heading {
  font-size: 105%;
  text-decoration: underline;
}  

.easyEventsList_item {
  margin-top: 0.35em;
}

.easyEventsList_title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.easyEventsList_time {
  font-size: 90%;
  font-style: normal;
}

/**
 * aputyylit
 */
.kunto_msg,.kunto_error {
  background: lightyellow;
  padding: 4px;
}

.kunto_msg {
  border: 2px solid green;
}   

.kunto_error {
  border: 2px solid red;
}

/**
 * Osallistujakisan tyylejä
 */
#partitable {
  width: auto;
}
#partitable th {
  text-align: center;
}
#partitable th, #partitable td { 
  padding: 3px 2px;
  margin : 0;
}
#partitable td.on,#partitable td.off { 
  width: 30px;
  text-align: center;
}
#partitable td.on {
	background: #BBDDBB;
}
#partitable td.off {
	background: #EEEEEE;
} 
#partitable td {
  border: 1px solid #fff;  
}

/**
 * Facebook linkki
 */
#facebook_link, #twitter_link {
  background: url(img/menubg.gif) repeat-x bottom left #f4f4f4;
  line-height: 16px;
  width      : 161px;
  margin: 0.5em 0 0.6em;  
} 

#facebook_link a, #twitter_link a {
	color        : #3b5a91;
  display: block;
	border : 1px solid #d8d8d8;
	padding      : 4px 4px 3px 39px;
	text-decoration: none;
}

#facebook_link a {
  background: url(img/facebook_logo.png) no-repeat 4px center;
}
#twitter_link a {
  background: url(img/twitter_logo.png) no-repeat 4px center;
}

#facebook_link a:hover, #twitter_link a:hover {
	border: 1px solid #b0b0b0;
	color: #505050;
}

#facebook_link a .text1, #twitter_link a .text1 {
  display: block;
  margin-top: -2px;
  font-size: 10px;
}
#facebook_link a .text2, #twitter_link a .text2 {
  display: block;  
  font-size: 12px;  
}

/**
 * 100v logo
 */
#sjkl_100v_logo {
} 

/**
 * Tulokset ja väliajat sekä analyysi
 */
.result_stat {
  font-size: 95%;
  font-style: italic;
}
.result_row_hover {
  background: #ddd;
} 
.result_name {
  white-space: nowrap;
}
th.result_club {
  width: 99%;
}

/* tapahtumakalenteri */
#tapahtuma_kalenteri {
  margin: 5px 0 10px;
  padding: 5px 5px 0;
  background: #eee;
  border: 1px solid #104AAA;
  width: 150px;
}

/* Tapahtumakaleteri kalenteri */
.xa_calendar {
  border-collapse: collapse;
  table-layout:fixed;
  white-space: nowrap;
}

.xa_calendar thead th {
  width: 15.8%;
  padding: 3px;
}

.xa_calendar thead th.xa_cal_empty {
  width: 5%;
}

.xa_calendar td, .xa_calendar th {
  padding: 0;
  border: 1px solid #ccc;
}
.xa_calendar th.xa_cal_week {
  padding-top: 5px;
  text-align: center;
  vertical-align: top;  
}
.xa_calendar td {
  background: #eee;
  height: 60px;
  vertical-align:top;
}
.xa_calendar td>div {
  padding: 3px;
  width: auto;
  height: 100%;
  border: 1px solid transparent;
}
.xa_calendar td>div>div {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.xa_calendar td.xa_cal_activeDay {
  background: #fff;
}
.xa_calendar td.xa_cal_dayhasdata {
}

.xa_calendar td.xa_cal_today>div {
  border: 1px solid red;
}

#sm2014_pikavalikko li {
  padding:0;
  margin:0;
  list-style-type: none;
  list-style-position: inside;
}

#sm2014_pikavalikko a {
  font-size: 1.1em;
  font-weight: 700;
  padding: 8px 0 8px 15px;
  display: block;
  color: #fff;
  background: #135396;
  border: 2px solid #fff;
}

#sm2014_pikavalikko a:hover {
  background: #114d8c url(img/sm2014/hover.png) repeat-y left top;
  text-decoration: none;
}

li#sm2014_start a {
}

#sponssit_footer {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 1em 6em;
  padding: 1em;
  vertical-align: top;
}

#sponssit_footer a img {
  vertical-align: top;
  margin: 0 0.2em 0.2em 0;
}

.share_buttons {
  margin: 5px 5px;
}

.share_buttons > div {
  line-height: normal;
  font-size: 1px;
  vertical-align: baseline;
}


.blink_text {
    animation:1s blinker linear infinite;
    -webkit-animation:1s blinker linear infinite;
    -moz-animation:1s blinker linear infinite;
}    

@-moz-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0; }
    50% { opacity: 0.0; }
    100% { opacity: 1.0; }
}

