/* http://meyerweb.com/eric/tools/css/reset/ */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 101.14%;
	vertical-align: baseline;
	font-family: tahoma, arial,sans-serif;
	background: transparent;
}

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* common for all the pages */
html, body {
	height: 100%;
	margin: 0;
	padding: 0;

}

form {
	display: inline;
    margin: 0;
    padding: 0;
}

input {
	font-size: 10px;
    margin: 0;
    padding: 0;
    border: none;
}

#container {
	min-height: 100%;
	margin-left: auto;
	margin-right: auto;
	min-width: 1098px;
	width: 50em;
}


.content {
	padding-bottom: 0px;
}

.mainwrapper {
	float: left;
	background: #ffffff;
	margin-bottom: 0px;
}

/* header */
#header {
	margin-bottom: 4px;
	padding-top: 2px;
}

#headercontent {
	float: left;
	/*width: 838px;*/
	width: 1098px;
	height: 7.7em;
	/*margin-left: 2px;*/
	padding: 0;
	background: white url(/images/header_slice.png) repeat top center;
}

#headerlogo {
float: left;
margin-top: 8px;
margin-left: 24px;
width: 200px;
height: 35px;
background: url(/images/stadissa/logo.svg) no-repeat;

}	
	
#headernavigator {
	float: left;
	margin-top: 12px;
	margin-left: 10px;
	width: 410px;
	white-space: nowrap;
}

#headernavigator span {
	white-space: nowrap;
}

#headerlinks {
	float: right;
	margin-top: 4px;
	margin-right: 30px;
	
}

#headerlinks .add:hover{
	cursor:pointer;
	text-decoration:underline;
	
}

#headerlogo2 {
	float: left;
	margin-left: 24px;
	margin-top: 1px;	
    width: 185px;
    height: 19px;
	background: url(/images/logo2.svg) no-repeat top left;
}

.search {
	float: left;
	margin-left: 34px;
	margin-top: 5px;
	padding-top: 2px;
	padding-left: 6px;
	padding-right: 6px;
	padding-bottom: 0px;
	width: 250px;
	height: 26px;
}

.search input {
	font-size: 12px;
	font-family: Century Gothic, verdana, arial, sans-serif;
	padding-left: 2px;
	padding-right: 2px;
	margin-top: 2px;
	border: 0;
}

.search input#search {
	width: 200px;
	height: 19px;
	margin: 0;
}

.search input.searchlink {
	width: 40px;
	line-height: 1.6em;
}

.search input.searchlink:hover {
	background-color: #ddd;
	cursor: pointer;
}

/* Search Results Wrapper */
#SearchResults.content {
  margin: 0 auto;
  max-width: 900px;
  font-family: Arial, sans-serif;
}

.ui-widget-content {
	background: #eee!important;
	color: #000!important;
}

.ui-widget-content a {
	color: #2c2c2c!important;
}

.ui-autocomplete {
	max-height: 300px;
	min-width: 300px;
	max-width: 500px;
	overflow-y: auto;
}

.ui-autocomplete-category {
	font-size: 1.5em;
	font-weight: bold;
	padding: 4px;
}

.categoryheader {
	float: left;
	width: 208px;
	height: 24px;
	margin-left: 2px;
	background: #bbb url(/images/calendar_header_gradient.png) 0% 0% repeat-y;
}

.categoryheader.selected {
	background: #939393;
}

.subcategoryheader {
	height: 17px;
	background: #b02bc6;
	width: 210px;
}

.subcategoryheader.last {
	width: 208px;
}

.subcategoryheader.selected h4 {

}

#flashContent {
	width: 100%;
	height: 100%;
	margin-top: 5px;
}

.ads {
	width: 340px;
	margin-left: 4px;
	background: #f9f9f9;
	padding: 2px;
}

.ads p {
	margin-top: 1em!important;
	margin-bottom: 1em!important;
	font-weight: bold;
	font-family: Source Serif Pro, Century Gothic, verdana, arial, sans-serif;
	padding-left: 10px;
		
}

.banners {
	padding: 0;
	margin: 0;
}

#rightbar {
	position: relative;
	float: left;
	margin-left: 2px;
	background: #ddd;
	text-align: center;	
}

#rightbar .rightwrapper {
	position: absolute;
}

#rightbar .sidebanner {
	text-align: left;
	margin-bottom: 2px;
}

#rightbar .sidebanner img {
	border: 0;
}

#rightbar .facebook {
	margin-bottom: 2px;
	padding-bottom: 2px;
}

#rightbar .news {
	width: 160px;
	margin-bottom: 2px;
	padding-bottom: 2px;
	background: #D2691E;
	text-align: left;
}

#rightbar .news p.title {
	padding-top: 4px;
	padding-left: 4px;
	margin-top: 0;	
	margin-bottom: 10px;
}

#rightbar .newsfeed {
	width: 150px;
	margin-left: auto;
	margin-right: auto;
}

#rightbar .newsfeed .newsheader, #rightbar .newsfeed .newsfooter {
	background: #ccc;
}

#rightbar .newsfeed .newsfooter {
	height: 4px;
	margin-bottom: 2px;
	background: #fff;
}

#rightbar .newsfeed .newsheader span {
	margin-left: 5px;
}

#rightbar .newsfeed .newsarticles {
	background: #fff;
}

#rightbar .newsfeed .newsarticle {
	padding-left: 5px;
	padding-right: 5px;
	text-align: left;	
}

#rightbar .blog {
	width: 160px;
	margin-bottom: 2px;
	padding-bottom: 4px;
	background-color: #000;
}

#rightbar .blog p {
	margin-bottom: 10px;
	padding-top: 4px;
	padding-left: 4px;
}

#rightbar .blog .blogposts {
	width: 150px;
	margin-top: 14px;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;	
}

#rightbar .blog .blogpost {
	margin-top: 10px;
	padding-left: 5px;
	padding-right: 5px;
	text-align: left;
}

#rightbar .google-ads {
	/*width: 148px;*/
	background: #fff;
	margin: 0;
	padding: 0;
	/*border: 1px solid #eee;*/
}

#footerAd {
	text-align: center;
}

#footer {		
    position: relative;
	margin-top: 40px;
	height: 60px;
	text-align: center;
	background-color: #ffffff;
	clear: both;
}


/* utilities */
.clear {
	background: none;
	border: 0;
	clear: both;
	display: block;
	float: none;
	font-size: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.hidden {
	visibility: hidden;
}

.none {
	display: none;
}

/*---------- YOU CAN CHANGE THIS STUFF -----------*/
#bannerRotator { width:150px; height:350px; padding:0; margin:0; background::#EEE; border:0; }
#bannerRotator ul li img{ max-width:150px; max-height:350px; }

/*---------- YOU MIGHT BREAK IT IF YOU CHANGE THIS STUFF -----------*/
#bannerRotator { position:relative; }
#bannerRotator ul { list-style:none; padding:0; position:relative; margin:0; }
#bannerRotator ul li { display:none; position:absolute; }
#bannerRotator ul li a { text-decoration:none; }

#bannerNav { position:absolute; right:15px; bottom:15px; background:url(img/transBlack75.png) repeat 0 0; padding:5px 5px 5px 10px; -moz-border-radius:5px; -webkit-border-radius:5px; }
#bannerNav a { margin:3px 10px 0 0; height:10px; width:10px; display:block; background:url(img/dotDark.png) no-repeat 0 0; float:left; }
#bannerNav a.active { background-image:url(img/dotLight.png); }
#bannerNav span.pause, #bannerNav span.play { cursor:pointer; height:15px; width:15px; display:block; background:url(img/pause.png) no-repeat 0 0; float:left; }
#bannerNav span.play { background-image:url(img/play.png) }


/*--------- Style for the visitor content suggestion form ----------*/
i.suggest {
	width:16px !important;
	height:16px !important;
	display:inline-block;
	background: url(/images/edit-icon.png) no-repeat top left !important;
	margin-left:5px;
}

i.suggest:hover{
	cursor:pointer;
}

div.suggestion_form{
	display:hidden;
	max-width:450px;
	background:#E1E9FF;
}

.suggestion_form fieldset{
	padding:10px;
}

.suggestion_form input{
	display:block;
	height:14px;
	width:100%;
	margin-bottom:5px;
}


.dialog button, .dialog input[type="button"]{
	padding:10px 25px;
	border-radius: 3px 3px 3px 3px; 
	-moz-border-radius: 3px 3px 3px 3px; 
	-webkit-border-radius: 3px 3px 3px 3px;
	border-style:none;
	background-image: linear-gradient(bottom, rgb(27,108,121) 18%, rgb(86,148,158) 59%, rgb(27,108,121) 80%);
	background-image: -o-linear-gradient(bottom, rgb(27,108,121) 18%, rgb(86,148,158) 59%, rgb(27,108,121) 80%);
	background-image: -moz-linear-gradient(bottom, rgb(27,108,121) 18%, rgb(86,148,158) 59%, rgb(27,108,121) 80%);
	background-image: -webkit-linear-gradient(bottom, rgb(27,108,121) 18%, rgb(86,148,158) 59%, rgb(27,108,121) 80%);
	background-image: -ms-linear-gradient(bottom, rgb(27,108,121) 18%, rgb(86,148,158) 59%, rgb(27,108,121) 80%);
	
	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(0.18, rgb(27,108,121)),
		color-stop(0.59, rgb(86,148,158)),
		color-stop(0.8, rgb(27,108,121))
	);
	color:#ffffff;
	cursor:pointer;
	margin:5px;
}

.dialog input[type="button"]{
	padding:5px 12px;
}

.dialog p{
	font-family: 'Verdana', sans-serif;
	font-size: 0.8em;
	color:#828282;
	margin-bottom:27px;
}

.dialog div{
	position:relative;
	margin-bottom:14px;
	line-height: 1em;
	font-kerning: normal;
	float: left;
        width: 100%;
	clear:both;
	font-size: 0.95em;
}

.dialog .divide{
	height:1em;
	border-bottom:1px solid #545454;
}

.dialog .notice{
	font-size: 11px;
	display: block;
}

.dialog .mandatory{
	color:#828282;
	font-size:11px;
}

.dialog label, .event_date_col_left{
	margin-bottom:14px;
	float:left;
	width:43% !important;
}

.dialog label.special{
	width: 100% !important;
}

.event_date_col_left{
	clear:none !important;
}

.dialog label a{
	text-decoration:underline;
}

.dialog label.error{
	float:right;
}

.dialog textarea{
	width:100%;
	height:5em;
	margin-bottom:14px;
}

.dialog input[type="text"], .dialog select, .event_date_col_right{
	float:right !important;
	height:1.4em;
	width:55% !important;
}

.dialog input.datepicker {
	float:left !important;
}

.event_date_col_right
{
	height:auto;
	clear:none !important;
}

.dialog input[type="checkbox"]{
	width:1.4em;
	margin-right:2em;
	float:left;
}

.dialog input[type="text"]{
	border:1px solid #7f9db9;
}

.dialog input.error, .dialog textarea.error, .dialog select.error{
	border: 2px solid #FA4545;
}

.dialog div.buttons{
	text-align:right;
}

.dialog{
	background-color:#FFFFFF !important;
	position:relative;
}

.dialog fieldset{
	background-color:#edfbff !important; 
	color:#2c2c2c;
	font-family: 'Arial', sans-serif;
	padding:10px 20px;
	
}

.dialog div.thanks{
	box-sizing: border-box;
	height:100%;
	width:100%;
	padding-top: 1em;
	display:none;
	position:absolute;
	top:0;
	left:0;
	text-align:center;
	background-color:#f0f0f0 !important;
}

.dialog div.thanks .buttons{
	margin-top: 1em;
	text-align:center;
}

.dialog div.thanks.show{
	display:block !important;
}

.dialog #image_info{
	float:right;
	width:60%;
}

.dialog .image_box{
	display:none;
}

.dialog .error {
	margin-bottom: 0;
	font-weight:bold;
	color: #FF0000;
}

.ui-dialog{
        -webkit-box-shadow:  10px 10px 10px 2px rgba(0, 0, 0, 0.5);
        box-shadow:  10px 10px 10px 2px rgba(0, 0, 0, 0.5);
}

.MultiFile-wrap{
	display:inline;
}

.captcha .captchaImg{
	text-align:center;
}

.captcha .newCaptcha{
	float:right;
	text-decoration:underline;
	cursor:pointer;
}

.captcha .newCaptcha:hover{
	cursor:pointer;
}

#event_form textarea{
	height:20em;
}

input.datepicker {
	width: 150px !important;
}

ul.ui-autocomplete.ui-menu{
	max-width:250px;
}

#event_dates_table.empty{
	visibility:hidden;
	width:100%;
	position:relative;
}

#event_dates_table.empty:before{
	content:" Valitse päivämäärä/t ja alkamisaika, ja klikkaa 'Vahvista ajankohta', jolloin ajankohta ilmestyy listaan (Ajankohtaa ei ole vielä lisätty)";
	width:100%;
	display:block;
	position: relative;
	visibility:visible;
}

#event_dates_table th {
	min-width: 150px;
	padding-bottom: 1em;
}

#event_dates_table td {
	text-align:center;
}

#event_dates_table tr:nth-child(odd) td{
	background-color:#F0F0F0;
}

#event_dates_table tr:nth-child(even) td{
	background-color:#C5C5C5;
}

#event_dates_table a {
	text-decoration:underline;
}

#event_dates_table a:hover {
	text-decoration:none;
}

#event_dates_table input, #event_dates_table select{
	float:none !important;
}

#event_price{
    position: absolute;
    bottom: 12px;
    right: 0;
}

.MultiFile-title{
	margin-bottom:10px;
	float:left;
	font-weight:bold;
	font-size:14px;
}

.MultiFile-label {
	margin-top:10px;
	border: 1px solid #888888;
	padding: 5px 5px 10px;
}

.MultiFile-remove, #event_dates_table a i{
	background: url(images/ui-icons_222222_256x240.png) no-repeat;
	display: inline-block;
	min-width: 13px;
	min-height: 13px;
}

.MultiFile-remove, .remove_date_btn i{
	background-position: -178px -97px !important;
}

.edit_date_btn i{
	background-position: -66px -112px !important;
}

.save_date_change_btn i{
	background-position: -64px -144px !important;
}

.cancel_date_change_btn i{
	background-position: -82px -127px !important;
}

.dialog .fieldError{
	background: url(images/ui-icons_a83300_256x240.png) no-repeat;
	background-position: 0px -144px;
	display: inline-block;
	min-width: 14px;
	min-height: 13px;
	position:relative;
}

.dialog .fieldError div{
	display:none;
	position:absolute;
	left:15px;
	width:100px;
	background-color:white;
	border: 1px solid #a83300;
	padding:3px;
	-webkit-box-shadow: 7px 5px 5px 2px rgba(0, 0, 0, 0.2);
	box-shadow: 7px 5px 5px 2px rgba(0, 0, 0, 0.2);

}

.dialog .fieldError:hover div{
	display:block;
}