﻿/*
Author: White Sheep Isobar
Theme Name: Astrid Thors

Description: The theme.

*/



/*  HTML5 Boilerplate  */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,  footer, header, hgroup,
menu, nav, section, summary, time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display:block;
}
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }


body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

body, select, input, textarea {   color: #444; }
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }

a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }

ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }

nav ul, nav li { margin: 0; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; }
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre {  padding: 15px;  white-space: pre;  white-space: pre-wrap;  white-space: pre-line;  word-wrap: break-word; }
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px;  -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red;  box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid,
.no-boxshadow textarea:invalid { background-color: #f0dddd; }

::-moz-selection{ background: #5275B3; color:#fff; text-shadow: none; }
::selection { background:#5275B3; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #5275B3; }

button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.hidden { display: none; visibility: hidden; }
.visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px);  clip: rect(1px, 1px, 1px, 1px); }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after {  content: "\0020"; display: block; height: 0; visibility: hidden;    }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }




/**
 Generic styles
*/

img.alignright {
    float: right;
    margin-left: 10px;
}
img.alignleft {
    float: left;
    margin-right: 10px;
}

body {
    font: 14px/18px Arial;
    color: black;
    background-color: #f2f1ed;
}
a {
    color: #5275b3;
    text-decoration: none;
}
a.more-link {
    font-weight: bold;
}
p {
    margin-bottom: .7em;
}

h1,h2,h3 {
    font: bold italic 18px/26px Georgia, serif;
    margin: 1em 0 .3em 0;
}
h1 {
    padding-bottom: 10px;
    border-bottom: 10px solid #5275B3;
    margin-bottom: 10px;
}

h2 {
    font-size: 16px;
}
h3 {
    font-size: 14px;
}

#content ul li {
    margin-bottom: 3px;
}

#happening h1 {
    border-bottom-color: #c8e845;
}

#content .white h1 {
    border: none;
}

.white {
    background-color: white;
    overflow: hidden;
}
.clear {
    clear: both;
}
input.blur {
    color: #666;
    font-size: 12px;
}

.icons a {
    display: block;
    float: left;
    margin-right: 10px;
}
.icons .no-margin {
    margin: 0;
}


header,
footer > div,
#wrapper > div,
#carousel > div {
    width: 960px;
    margin: 0 auto;
    clear: both;
}
footer,
#wrapper #carousel {
    width: 100%;
    background-color: white;
}

/* Kirjoitukset */
#wrapper #carousel {
    height: 156px;
    background: #aecd2f url(img/header_green.jpg) center top no-repeat;
}
#main-col {
    width: 635px;
    margin-right: 15px;
    overflow: hidden;
}

#main-col .white {
    padding: 15px;
    padding-bottom: 320px;
    background: url('img/cont-bg-green.png') no-repeat bottom center white;
}
#main-col .white.no-pic {
    padding-bottom: 15px;
    background: white;
}

/* Liity mukaan */
.page-17 #wrapper #carousel,
.page-92 #wrapper #carousel,
.black #wrapper #carousel {
    background: #191919 url(img/header_black.jpg) center center no-repeat;
}
.page-17 #main-col .white,
.page-92 #main-col .white,
.black #main-col .white {
    background: url('img/cont-bg-black.png') no-repeat bottom center white;
}
/* Tapahtumat */
.page-15 #wrapper #carousel,
.red #wrapper #carousel {
    background: #7b1d28 url(img/header_red.jpg) center center no-repeat;
}
.page-15 #main-col .white,
.red #main-col .white {
    background: url('img/cont-bg-red.png') no-repeat bottom center white;
}
/* Ota yhteyttä */
.page-19 #wrapper #carousel,
.page-94 #wrapper #carousel,
.yellow #wrapper #carousel {
    background: #e9ce00 url(img/header_yellow.jpg) center center no-repeat;
}
.page-19 #main-col .white,
.page-94 #main-col .white,
.yellow #main-col .white {
    background: url('img/cont-bg-yellow.png') no-repeat bottom center white;
}
/* Astrid */
.page-13 #wrapper #carousel,
.page-86 #wrapper #carousel,
.page-88 #wrapper #carousel,
.page-2 #wrapper #carousel,
.blue #wrapper #carousel {
    background: #364b9b url(img/header_blue.jpg) center center no-repeat;
}
.page-13 #main-col .white,
.page-86 #main-col .white,
.page-88 #main-col .white,
.page-2 #main-col .white,
.blue #main-col .white {
    background: url('img/cont-bg-blue.png') no-repeat bottom center white;
}


.page-326 #wrapper #carousel,
.page-9 #wrapper #carousel,
.frontpage #wrapper #carousel {
    height: 239px;
    background: white;
}

header {
    padding-top: 15px;
}
header .top {
    border-bottom: 10px solid black;
    height: 40px;
    line-height: 40px;
}

header #main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
header #main-menu li, #main-menu a {
    display: block;
    float: left;
}
header #main-menu li {
    height: 40px;
    line-height: 40px;
    padding: 0;
    margin: 0;
    position: relative;
}
header #main-menu a {
    padding-right: 30px;
    height: 100%;
    border-bottom: 10px solid black;
}
header #main-menu .current_page_item a {
    color: black;
    border-color: #c8e845;
}
header #main-menu .current_page_parent a {
    border-color: #c8e845;
}

header #main-menu a:hover {
    color: black;
}
header #main-menu a:hover,
header #main-menu li:hover a {
    border-color: #c8e845;
}
header #main-menu li ul {
    position: absolute;
    top: 50px;
    left: 0;
    visibility: hidden;
    background: white;
    z-index: 10;
    -webkit-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    -moz-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    -o-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    box-shadow: 1px 2px 6px rgba(0,0,0,.5);
}
.no-boxshadow header #main-menu li ul {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
header #main-menu li:hover ul,
header #main-menu li a:hover ul {
    visibility: visible;
}
header #main-menu li ul li{
    float: none;
    height: 30px;
    line-height: 30px;

}

header #main-menu li ul a {
    font-weight: normal;
    float:none;
    padding: 0 10px 0 5px;
    white-space: nowrap;
    border: 0 none;
}

header #main-menu li:hover ul li a {
    border-color: black;
    border-left: 10px solid black;
}
header #main-menu li ul li a:hover,
header #main-menu li ul li.current_page_item a  {
    border-color: #c8e845;
}


header .top a {
    font-weight: bold;
    color: #6e6e6e;
}
header .top > div {
    float: right;
    height: 40px;
    line-height: 40px;
}
header .top > div form,
header .top > div nav,
header .top > div nav ul,
header .top > div nav li,
header .top > div a {
    display: block;
    float: left;
}
header .top > div form {
    margin-right: 20px;
}

.ie6 header .top > div form,
.ie7 header .top > div form {
    margin-right: 10px;
}
header #s {
    width: 160px;
    padding: 0 5px;
    line-height: 20px;
    height: 20px;
    border: 1px solid #999;
}
header #s,
header .top > div #lang-selection a,
header .top > div #lang-selection div a {
    height: 20px;
    line-height: 20px;
    font-weight: normal;
    font-size: 14px;
    font-family: Arial;
    color: #444;
}


header #lang-selection {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
}
header #lang-selection li, #lang-selection a {
    display: block;
    float: left;
}
header #lang-selection li {
    height: 20px;
    line-height: 20px;
    padding: 0;
    margin: 0;
    position: relative;
    background: white;
}
header #lang-selection a {
    padding-right: 30px;
    height: 100%;
}

header #lang-selection a:hover {
    color: black;
}
header #lang-selection li ul {
    position: absolute;
    top: 22px;
    right: 0;
    visibility: hidden;
    background: white;
    z-index: 10;
    -webkit-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    -moz-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    -o-box-shadow: 1px 2px 6px rgba(0,0,0,.5);
    box-shadow: 1px 2px 6px rgba(0,0,0,.5);
}
.no-boxshadow header #lang-selection li ul {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
header #lang-selection li:hover ul,
header #lang-selection li a:hover ul {
    visibility: visible;
}
header #lang-selection li ul li{
    float: none;
    height: 20px;
    line-height: 30px;

}

header #lang-selection li a {
    font-weight: normal;
    float:none;
    padding: 0 30px 0 5px;
    white-space: nowrap;
    border: 1px solid gray;
    background: white url('img/dropdown-icon.gif') no-repeat top right;
}
header #lang-selection li ul a {
    border: 0 none;
    background: none transparent;
    padding: 0 10px 0 5px;
}
header #lang-selection li ul a:hover {
    color: black;
    background-color: #eee;
}


header .bottom {
    height: 35px;
    line-height: 35px;
    font-size: 12px;
}
header .bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
header .bottom li {
    float: left;
    display: block;
}
header .bottom a {
    color: black;
}
header .bottom a:hover {
    color: #666;
}
#sub-menu {
    float: left;
}
#external-links {
    float: right;
}


#content {
/*    padding-top: 15px;*/
    overflow: hidden;
    font: 14px/20px Georgia, serif;
}
#content .date {
    font: 14px/14px Georgia, serif;
    margin-bottom: 4px;
}

#happening h2 {
    font: bold 17px/20px Arial;
    margin: 0 0 8px 0;
}

#content #happening,
#content #main-col,
#content #sidebar {
    float: left;
}
#content #happening {
    width: 635px;
    margin-right: 15px;
    overflow: hidden;
}
#content #happening .white {
    background: url('img/happening-bg.gif') no-repeat bottom center white;
    padding-bottom: 260px;
}

/* inner columns */
#content #happening > div > div {
    width: 295px;
    padding: 15px 0 0 15px;
    float: left;
}
/* blocks */
#content #happening > div > div > div {
    padding-bottom: 15px;
    /*margin-bottom: 15px;*/
    border-bottom: 1px solid gray;
    overflow: hidden;
}
#content #happening #twitter,
#content #happening #other,
#content #happening #follow {
    border-bottom: none;
}

#content #happening p {
    font-family: Georgia, serif;
}

#content #main-col h2,
#content .more-link {
    font-family: Arial;
    font-style: normal;
    margin-top: 0;
}

#content #events > h2,
#content #other > h2,
#content #twitter > h2,
#content #diary > h2,
#content #column > h2,
#content #follow > h2,
#content #press > h2 {
    font: normal 18px/18px Georgia, serif;
    height: 30px;
    padding: 5px 0 0 35px;
    background: url('img/social.gif') top left no-repeat;
}
#happening #events > h2,
#happening #other > h2,
#happening #twitter > h2,
#happening #diary > h2,
#happening #column > h2,
#happening #follow > h2,
#happening #press > h2 {
    margin-top: 8px;
}
#content #events > h2 a,
#content #other > h2 a,
#content #twitter > h2 a,
#content #diary > h2 a,
#content #column > h2 a,
#content #follow > h2 a,
#content #press > h2 a {
    color: black;
}
#content #events > h2 a:hover,
#content #other > h2 a:hover,
#content #twitter > h2 a:hover,
#content #diary > h2 a:hover,
#content #column > h2 a:hover,
#content #follow > h2 a:hover,
#content #press > h2 a:hover {
    text-decoration: underline
}



#content #main-col #column > h2 {
    margin-top: 0;
}
#content #main-col #diary > h2,
#content #main-col #press > h2 {
    margin-top: 35px;
}

#content #main-col .event,
#content #main-col .post {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid gray;
}

#content #events > h2 {
    background-image: url('img/event.gif');
    margin-top: 0;
}
#content #events .description {
    display: none;
}
#content #events .event {
    border-bottom: 1px #ddd solid;
    padding: 5px 0;
}
#content #events .event h2 {
    margin: 0;
}

#content #twitter > h2 {
    background-image: url('img/twitter.gif');
}
#content #twitter header {
    margin: 0;
    padding: 0;
}
#content #twitter .tweet-content {
    margin-bottom: 0.7em;
}



#content #diary > h2 {
    background-image: url('img/diary.gif');
    margin-top: 0;
}
#content #column > h2 {
    background-image: url('img/column.gif');
}

#content #sidebar {
    width: 310px;
}

#content #sidebar section {
    width: 310px;
    float: left;
}

#content #whois {

}

#content #whois > div {
    padding: 15px 125px 15px 15px;
    background: white url('img/whois-bg2.jpg') bottom right no-repeat;
    min-height: 205px;
}
#content #whois{
    font: 12px/18px Arial;
}

#content #tag-cloud {
    margin-top: 20px;
}
#content #live .white,
#content #calendar .white,
#content #tag-cloud .white {
    padding: 15px;
}

#sidebar #other .white {
    padding: 0 15px;
}

#content #tag-cloud {

}
#content #tag-cloud div {
    font-family: Arial;
    line-height: 1.2;
    text-align: center;
}

#content #social-plugin,
#content #sidebar-touts,
#content #calendar {
    margin: 20px 0;
    float: left;
}
#content #sidebar-touts,
#content #calendar {
    margin-bottom: 0;
}

#content .fc-event, #content .fc-agenda .fc-event-time, #content .fc-event a {
    background-color: transparent;
    color: #111;
    font: 10px/10px Arial;
}


footer {
    margin-top: 15px;
    padding: 20px 0 20px 0;
    background-color: #5275b3;
    color: white;
    overflow: hidden;
}
footer ul, footer li {
    border: 0 none;
    padding: 0;
    margin: 0;
    display: block;
}
footer ul {
    clear: left;
}

footer a,
footer a:hover,
footer a:visited,
footer a:active {
    color: white;
}
footer li a:hover {
    text-decoration: underline;
}
footer li,
footer li h3 {
    float: left;
    font: bold 14px/40px Arial;
    margin: 0;
}
footer .icons {
    clear: both;
}

footer li.seuraa-astridia {
    float: right;
}

footer li ul {
    margin-top: 10px;
}
footer li li {
    font: normal 14px/20px Georgia;
    clear: left;
}
footer li.page_item a {
    display: block;
    float: left;
    padding-right: 40px;
}

footer #contact-info {
    clear: left;
    float: left;
    margin-top: 40px;
    font: bold 14px/18px Arial;
}
footer #contact-info span {
    font: normal 14px/18px Georgia;
}
footer #contact-info span.spacer {
    margin-right: 20px;
}

#at-logo {
    clear: both;
    float: right;
    margin-right: 10px;
    margin-top: 10px;
    height: 32px;
    width: 32px;
    background: url('img/at-logo-footer.gif') no-repeat;
}


.addthis_toolbox a {
    float: right;
    margin-left: 5px;
}
