* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

@font-face {
	font-family: 'brandon_printeddouble';
	src: url('/media/layout/intra/fonts/hvd_fonts_-_brandon_printed_double-webfont.woff2') format('woff2'),
	url('/media/layout/intra/fonts/hvd_fonts_-_brandon_printed_double-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
#body h1, #body h2 {
	position: static;
}
#body, #hero {
	background: #f8f8f8;
}
select {
	font-size: 90%;
}
.left-col > select {
	font-size: 90% !important;
}
.address select, .address input {
	font-size: 90% !important;
}
input {
	height: 40px;
	font-size: 90%;
}
.date-wrapper > input.urldate {
	height: 40px;
	font-size: 90% !important;
	box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.1)
}
.date-wrapper > input.datepicker {
	height: 40px;
	font-size: 90% !important;
	box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.1)
}
p {
	margin-top: 1rem !important;
	margin-bottom: 1rem;
}
p.intro {
	font-family: 'Lato', Arial, sans-serif;
}
.container {
	padding: inherit;
}
.tapahtumakalenteri #body .box.main {
	padding: 0;
	box-shadow: none;
	background: none;
}
.black-header {
	margin-bottom:25px;
	font-size: 145%;
	font-weight: 900;
	text-transform: uppercase;
	color: #505050;
	font-family: "brandon-grotesque", sans-serif;
}
.event-single-header {
	color: #505050;
	font-family: "brandon-grotesque", sans-serif;
	font-size: 145%;
	font-weight: 900;
	text-transform: uppercase;
	padding-bottom: 10px;
	padding-top: 10px;
}
.narrow-text {
	font-family: 'PT Sans Narrow', Arial, sans-serif;
	letter-spacing: 0.2px;
}
table.info-table {
	font-family: 'Lato', sans-serif;
}
p.meta, p.meta {
	color: #b2b2b2;
	margin: 5px 0 0 0;
	font-size: 75%;
}

.blue-text {
	color: #4cb0e8;
}

.red-text {
	color: #eb4e2a;
}

.gray-text {
	color: #6a6a6a;
}

.hidden {
	display: none;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.small-text {
	font-size: 85%;
}

.tal { text-align: left; }
.tac { text-align: center; }
.tar { text-align: right; }

.vat { vertical-align: top; }
.vab { vertical-align: bottom; }
.vam { vertical-align: middle; }

.svg {
	display: none;
	fill: currentColor;
}

.replaced-svg {
	display: inline-block;
}

img {
	max-width: 100%;
}

/**/

.window-page {
	background-color: #fff;
}

.window-page h2 {
	margin-top: 0;
}

div.login {
	padding: 40px;
}

/* Lists */

.list .item {
	display: block;
	color: #4c4c4c;
	position: relative;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.list a.item:hover { color: #0567b1; }

.list .item .image {
	display: block;
	width: 100%;
	position: relative;
}

.list .item .image img { display: block; }

.list .item .video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.list .item .video iframe,
.list .item .video object,
.list .item .video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.list p { margin: 0; }

.list p.title {
	margin: 0 0 5px 0;
	font-size: 100%;
	font-weight: 900;
}

.list p.intro {
	margin: 0;
	font-size: 90%;
}

.list p.intro + p.intro { margin-top: 8px; }

.list p.read-more {
	color: #0567b1;
	margin: 5px 0 0 0;
	font-size: 90%;
}

.list p.meta,
.article p.meta {
	color: #b2b2b2;
	margin: 5px 0 0 0;
	font-size: 75%;
}

.list p.meta .separator,
.article p.meta .separator { margin: 0 5px; }

.list.vertical .item {
	margin-bottom: 20px;
	display: table;
	width: 100%;
	table-layout: fixed;
}

.list.vertical .item.last { margin: 0; }

.list.vertical .item .col {
	display: table-cell;
	vertical-align: top;
}

.list.vertical .item .image-col { width: 35%; }

.list.vertical .item .text-col {
	padding: 2px 0 2px 20px;
	width: 65%;
}

.list.horizontal .item {
	display: inline-block;
	width: 32.12121%;
	margin: 0 0 20px 1.81818%;
	vertical-align: top;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.list.horizontal .item:nth-child(3n+1) { margin-left: 0; }

.list.horizontal .item .image-col,
.list.horizontal .item .text-col { display: block; }

.list.horizontal .item .image { margin-bottom: 10px; }

.list.bullets .item .fa {
	color: #4cb0e8;
	margin-right: 10px;
}

.list.thumbnails .item { box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }

.list.thumbnails.folders .item { margin-right: -3px }

.box .list.thumbnails .item { box-shadow: 0 0 0; }

.list.thumbnails .item .image {
	margin-bottom: 0;
	position: relative;
}

.box .list.thumbnails .item .image { margin-bottom: 10px; }

.list.thumbnails .item .image .hover-bg {
	background: rgba(0, 0, 0, 0.5);
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}

.list.thumbnails .item .image .hover-holder {
	display: table;
	height: 100%;
	width: 100%;
	table-layout: fixed;
}

.list.thumbnails .item .image .hover-holder .hover-text {
	color: #ffffff;
	display: table-cell;
	font-size: 85%;
	vertical-align: middle;
	text-align: center;
}

.list.thumbnails .item .text-col { padding: 20px; }

.box .list.thumbnails .item .text-col { padding: 0; }

.list.rss { overflow: hidden; }

.list.calendar { padding-right: 70px; }

.list.calendar hr { margin-right: -70px; }

.list.calendar hr:first-child { display: none; }

.list.calendar .date {
	float: right;
	margin: 0 -70px 0 0;
}

.list.calendar.default {
	padding-right: 0;
}

.list.calendar.default .item .date {
	float: none;
	margin: 0;
}

span.icon, div.icon {
	background-image: url(/media/layout/img/sprite-icons2x.png);
	background-size: 256px 128px;
}

.desktop-menu {
	display: block;
}

/* FORMS */

.formHolder {
	width: 80%;
}

.formHolder tr td, .formHolder tr td {
	padding: 10px 0px;
}

.formHolder tr td:first-child {
	width: 30%;
	padding-right: 20px;
}

.formHolder tr td[colspan="2"]:first-child {
	width: auto;
	padding-right: 0;
}

.formRequest { display: none; }

.formFieldHolder {
	margin: 0 0 10px 0;
	position: relative;
}

.formFieldHolder .formLabel {
	position: relative;
	display: block;
	padding: 0 0 0 5px;
	margin: 0 0 10px 0;
}

.formFieldHolder .formFieldRow {
	display: table;
	width: 100%;
}

.formFieldHolder .formFieldCol {
	display: table-cell;
	vertical-align: top;
}

.formFieldHolder .formFieldCol.separator {
	padding: 0 10px;
	line-height: 40px;
	vertical-align: middle;
	text-align: center;
}

.date-wrapper, .time-wrapper {
	position: relative;
	width: 100%;
	display: inline-block;
}

.date-wrapper:before, .time-wrapper:before {
	content: '';
	position: absolute;
	width: 40px;
	height: 40px;
	right: 0;
	top: 0;
	opacity: 0.6;
	background-image: url(/media/layout/img/sprite-icons2x.png);
	background-size: 256px 128px;
	background-position: -60px 3px;
}

.time-wrapper:before {
	background-position: -125px -28px;
}
form span.Required {
	margin-left: 5px;
	color: #eb471f;
	font-size: 110%;
}

.formNumberinput, .formTelinput, .formEmailinput, .formTextinput, .formTextarea, .formSelect,
input, select, .ui-autocomplete, .fb-share-button {
	background: #ffffff;
	border: solid 1px #eeeeee !important;
	color: #333333;
	display: inline-block;
	margin: 0;
	padding: 10px 15px;
	width: 100%;
	font-family: 'Lato', sans-serif;
	font-size: 90%;
	line-height: 1.3;
	border-radius: 3px;
	box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
	box-shadow: none;
}

input:disabled, select:disabled, textarea:disabled,
input[readonly] {
	cursor: default;
	border: solid 1px #f6f6f6;
}

.select2-container.select2-container--disabled .select2-selection--single .select2-selection__rendered {
	color: #ccc;
}

.formTextarea {
	height: 100px;
	overflow: auto;
}

select, .formSelect {
	width: 100%;
	height: 40px;
	cursor: pointer;
}

.formHolder .select2-container { width: 100% !important; }

.formTelinput:focus, .formEmailinput:focus, .formTextinput:focus,
.formTextarea:focus { background: #f4f4f4; }

.formTelinput:read-only:focus, .formEmailinput:read-only:focus, .formTextinput:read-only:focus,
.formTextarea:read-only:focus { background: #fff; }

input.error-field {
	border: solid 1px #eb4721 !important;
	background: #fff !important;
}

form .formCheckboxLabelHolder,
form .formRadioLabelHolder {
	display: inline-block;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 5px;
	padding: 5px 10px;
	position: relative;
	vertical-align: top;
}

form .formCheckboxLabelHolder:hover,
form .formCheckboxLabelHolder:hover input,
form .formRadioLabelHolder:hover,
form .formRadioLabelHolder:hover input {
	background: #f3f3f3;
	cursor: pointer;
}

form .formCheckboxLabelHolder input,
form .formRadioLabelHolder input {
	display:block;
	float:left;
	height:22px;
	width:13px;
	box-sizing:content-box;
	padding:0px;
}

input[type=checkbox], input[type="radio"] {
	visibility: hidden;
	opacity: 0;
}

.wide {
	float: left;
	width: 100%;
}

.select-visibility {
	width: 22px;
}

.yhdistys .user.address td {
	padding: 5px 10px;
}

.select-visibility label {
	float: left;
	width: 22px;
	height: 22px;
	border-radius: 3px;
	cursor: pointer;
	background: url('../img/checkbox.gif') left bottom no-repeat;
}

.select-visibility label:hover {
	background-color: #f4f4f4;
	background-image: none;
}

.select-visibility label.checked, .select-visibility label.checked:hover {
	background-position: left top;
	background-image: url('../img/checkbox.gif');
}

.save-all { margin-right: 20px; }

label.checkbox, label.radio {
	float: left;
	margin-right: 20px;
	position: relative;
}

label.checkbox span {
	float: left;
	width: 22px;
	height: 22px;
	border-radius: 3px;
	cursor: pointer;
	margin-right: 10px;
	background: url('../img/checkbox.gif') left bottom no-repeat;
	color: #686868;
}

label.radio span {
	float: left;
	width: 20px;
	height: 20px;
	cursor: pointer;
	margin-right: 10px;
	border-radius: 13px;
	border: solid 6px #fff;
	box-shadow: 0 0 3px rgba(0,0,0,0.23);
}

label.radio.checked span {
	background-color: #4cb0e8;
}

label.checkbox input, label.radio input {
	position: absolute;
	left: 0;
	top: 0;
}

label.checkbox.checked span {
	background-position: left top;
}

form .formCheckboxLabelHolder .formCheckboxLabel,
form .formRadioLabelHolder .formRadioLabel {
	display: block;
	padding: 0 0 0 20px;
}

.formSubmit, .button, .nappi, button {
	background: #2370b7;
	display: inline-block;
	color: #ffffff;
	cursor: pointer;
	margin-top: 10px;
	padding: 11px 20px;
	position: relative;
	font-family: 'Lato', sans-serif;
	text-align: center;
	font-size: 90%;
	line-height: 1.3;
	border-radius: 4px;
	border: none;
	-webkit-transition: color 400ms, background-color 400ms, linear;
	-moz-transition: color 400ms, background-color 400ms, linear;
	-o-transition: color 400ms, background-color 400ms, linear;
	transition: color 400ms, background-color 400ms, linear;
}

.formSubmit:hover, .button:hover, .nappi:hover {
	background: #045088;
	color: #ffffff;
	text-decoration: none;
}

.button.red {
	background-color: #eb4721;
}

.button.red:hover {
	background-color: #dd421e;
}

.button.green {
	background-color: #9ec54d;
}

.button.green:hover {
	background-color: #94b848;
}

.button.light-blue {
	background-color: #4cb0e8;
}

.button.light-blue:hover {
	background-color: #47a4d9;
}

.button.gray {
	background-color: #6a6a6a;
}

.button.gray:hover {
	background-color: #a2a2a2;
}

.button.light-gray {
	background-color: #dadada;
	color: #6a6a6a;
}

.button.light-gray:hover {
	background-color: #dadada;
}

.button.light {
	background-color: #ffffff;
	color: #333333;
	box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.button.light:hover {
	background-color: #ffffff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.button.light .fa {
	color: #4cb0e8;
	margin-right: 10px;
}

.button.medium {
	font-size: 100%;
	border-radius: 5px;
	padding: 15px 20px;
}

.button.large {
	border-radius: 5px;
	padding: 20px 20px;
	font-size: 110%;
	text-transform: uppercase;
}

.button.disabled {
	opacity: 0.7;
	cursor: default;
}

.formErrorHolder {
	background: #4c8930;
	color: #ffffff;
	display: inline-block;
	margin: 1em 0;
	padding: 10px;
	width: 100%;
	position: relative;
	font-family: Arial, sans-serif;
	font-size: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.formErrorHolder p, .formErrorHolder ul { margin: 0; }

.formErrorHolder p + ul { margin-top: 0.5em; }

.formFieldHolder .formIconHolder {
	position: relative;
	width: 100%;
}

.formFieldHolder .formIconHolder .icon {
	position: absolute;
	top: 3px;
	right: 3px;
}

.formFieldHolder .formIconHolder .formTextinput,
.formFieldHolder .formIconHolder .formNumberinput,
.formFieldHolder .formIconHolder .formTelinput,
.formFieldHolder .formIconHolder .formEmailinput,
.formFieldHolder .formIconHolder .formTextinput,
.formFieldHolder .formIconHolder .formTextarea,
.formFieldHolder .formIconHolder .formSelect{ padding-right: 40px; }


@media (max-width: 768px) {
	.formHolder {
		width: 100%;
	}
}

@media (max-width: 700px) {
	.formHolder td, .formHolder th {
		width: 100%;
		float: left;
		display: block;
	}
}

.video {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video iframe,
.video object,
.video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* table sorting */

.dataTables_paginate {
	float: right;
	padding-top: 10px;
}

.dataTables_paginate .previous,
.dataTables_paginate .next {
	margin: 0px 5px;
	font-family: "PT Sans Narrow", sans-serif;
	text-transform: uppercase;
	color: #6a6a6a;
}

.dataTables_paginate .previous:hover,
.dataTables_paginate .next:hover {
	color: #0567b1;
}

.dataTables_paginate span .paginate_button {
	display: inline-block;
	cursor: pointer;
	margin: 0px 5px;
	padding: 5px 10px;
	position: relative;
	font-family: 'Lato', sans-serif;
	text-align: center;
	font-size: 90%;
	line-height: 1.3;
	border-radius: 4px;
	border: none;
	-webkit-transition: color 400ms, background-color 400ms, linear;
	-moz-transition: color 400ms, background-color 400ms, linear;
	-o-transition: color 400ms, background-color 400ms, linear;
	transition: color 400ms, background-color 400ms, linear;
	background-color: #ffffff;
	color: #333333;
	box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.dataTables_paginate span .paginate_button:hover {
	box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

/* loader */

.loading {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
	z-index: 10;
	text-align: center;
}

.loading span {
	display: inline-block;
	background-color: #ffffff;
	width: 100px;
	height: 100px;
	line-height: 110px;
	margin-top: 25%;
	border-radius: 10px;
}

/* Home */

.body-row {
	display: table;
	width: 100%;
	table-layout: fixed;
}

.row1 {
	margin-top: 55px;
	margin-bottom: 55px;
}

.body-row .body-col-left,
.body-row .body-col-right,
.body-col-right-narrow {
	display: table-cell;
	vertical-align: top;
	position: relative;
}

.body-col-left {
	width: 407px;
	padding-right: 64px;
}

.body-col-left-wide {
	margin: 0 auto;
	width: 82%;
	position: relative;
}
.body-col-left-wide p {
	font-family: 'Lato', Arial, sans-serif;
}
.body-col-left-wide .ilmoita-tapahtuma {
	font-size: 210%;
	font-weight: 900;
	margin-bottom: 20px;
	color: #505050;
	font-family: "brandon-grotesque", sans-serif;
}
.body-col-right-narrow {
	width: 18%;
}

.container-2:after {
	content: ' ';
	display: block;
	clear: both;
	visibility: hidden;
	font-size: 0;
	height: 0;
}

.container-2 {
	margin: 0 auto;
	width: 1198px;
	padding: 0px 14px;
}

.body-row .show-mobile { display: none; }

@media (max-width: 1170px) {
	.container-2 {
		width: 100%;
	}
}

@media (max-width: 940px) {
	.body-col-left, .body-col-right {
		float: left;
		width: 100%;
		padding-right: 0;
	}

	.body-col-left-wide, .body-col-right-narrow {
		float: left;
		width: 100%;
		padding-right: 0;
		margin-bottom: 40px;
	}

	.body-row .show-mobile {
		display: table-cell;
	}

	.body-row .hide-mobile {
		display: none;
	}
}


/* Hero */

body.default #hero .hero-wrapper {
	width: 100%;
	margin: 0 0 0 0;
	position: relative;
	-webkit-transition: height 400ms linear;
	-moz-transition: height 400ms linear;
	-o-transition: height 400ms linear;
	transition: height 400ms linear;
	/* height: 495px;*/
}

body.default #hero .swiper-container,
body.default #hero .swiper-wrapper { height: 100%; }

body.default #hero .swiper-container { z-index: 1; }

body.default #hero .swiper-slide {
	position: relative;
	height: 100%;
	z-index: 0;
	background: url(/media/layout/img/paper-bg.jpg);
	background-repeat: repeat;
}

body.default #hero .swiper-slide .slide-bg,
body.default #event-hero .slide-bg {
	background-size: cover;
	background-position: center;
	height: 100%;
	width: 50%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

body.default #hero .swiper-slide .slide-bg.top,
body.default #event-hero .slide-bg.top { background-position: top center; }

body.default #hero .swiper-slide .slide-bg.middle,
body.default #event-hero .slide-bg.middle { background-position: center center; }

body.default #hero .swiper-slide .slide-bg.bottom,
body.default #event-hero .slide-bg.bottom { background-position: bottom center; }

body.default #hero .swiper-slides .container-2 .holder { position: relative; }

body.default #hero .single-slide {
	width: 100%;
	bottom: 0;
	left: 0;
	position: absolute;
	z-index: 3;
}

body.default #hero .box {
	display: block;
	color: #333333;
	padding: 60px 60px 60px 0px;
	width: 50%;
	/*height: 575px; */
	bottom: auto;
	box-shadow: none;
	background: none;
}

body.default #hero .box h1 {
	color: #2370b7;
	margin: 0 0 20px 0;
	padding-left: 15px;
	font-size: 54px;
	line-height: 58px;
	text-transform: uppercase;
	font-family: "brandon-grotesque", sans-serif;
	border-left: 10px solid #2370b7;
}

body.default #hero .box p {
	font-size: 110%;
}

body.default #hero .box .separator { margin: 0 10px; }

body.default #hero .swiper-pagination {
	width: 100%;
	bottom: -38px;
	left: 0%;
	position: absolute;
	text-align: center;
	z-index: 4;
}

body.default #hero .swiper-pagination span {
	background: #e8e8e8;
	border-radius: 50%;
	-moz-border-radius: 50%;
	cursor: pointer;
	display: inline-block;
	margin: 0 5px;
	height: 16px;
	width: 16px;
	opacity: 1;
}

body.default #hero .swiper-pagination span.swiper-pagination-bullet-active { background: #2370b7; }

.hero-tablet-buttons { display: none; }

@media (max-width: 940px) {
	body.default #hero .box h1 {
		font-size: 38px;
		line-height: 42px;
		border-left: 6px solid #2370b7;
	}
	
	body.default #hero .box .button {
		font-size: 90%;
    	white-space: initial;
	}
}

@media (max-width: 768px) {
	body.default #hero .box h1 {
		font-size: 30px;
		line-height: 36px;
	}

	body.default #hero .hero-wrapper {
		height: 350px;
	}

	body.default #hero .box {
		color: #333333;
		padding: 30px 40px 0px 0;
		width: 50%;
		height: auto;
	}

	body.default #hero .box .button { display: none; }
	.hero-tablet-buttons { display: block; }
}

@media (max-width: 700px) {

	body.default #hero .swiper-slide .slide-bg {
		width: 40%;
	}

	body.default #hero .box {
		color: #333333;
		padding: 30px 40px 0px 0;
		width: 60%;
		height: auto;
	}
}

@media (max-width: 500px) {

	body.default #hero .swiper-slide .slide-bg {
		float: left;
		width: 100%;
		position: relative;
		right: auto;
		top: auto;
		padding-bottom: 80%;
	}

	body.default #hero .hero-wrapper {
		height: auto;
	}

	body.default #hero .box {
		float: left;
		width: 100%;
		padding-top: 40px;
		padding-bottom: 40px;
	}
	
	body.default #hero .box .button { display: block; }
	.hero-tablet-buttons { display: none; }
}

.event-share {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 1;
	padding-left: 20px;
}

@media (max-width: 768px) {
	.event-share {
		position: relative;
		left: auto;
		bottom: auto;
		z-index: 1;
		padding: 20px 20px 0 20px;
	}
}

.white {
	padding: 40px;
	background-color: #ffffff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.13);
	margin-bottom: 40px;
}

.big-padding {
	padding: 40px;
}

.no-padding {
	padding: 0;
}

@media (max-width: 768px) {
	.white {
		padding: 20px;
	}

	.table-scroll-mobile {
		overflow-x: auto;
	}
}

.autocomplate-search button {
	position: absolute;
	left: 0;
	top: 0;
	border: none;
	font-size: 140%;
	background-color: transparent;
	width: 60px;
	height: 70px;
	color: #6a6a6a;
}

.ui-autocomplete.list {
	padding: 0;
	list-style: none;
	margin: 0;
	max-width: 600px;
}

.ui-autocomplete .ui-menu-item {
	display: block;
	color: #4c4c4c;
	position: relative;
	padding: 0px 20px;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.ui-autocomplete .ui-menu-item:before {
	content: "\f0da";
	font-family: FontAwesome;
	color: #4cb0e8;
	margin-right: 10px;
}

.ui-autocomplete .ui-menu-item a {
	display: inline-block;
	font-size: 18px;
	padding: 10px 0px;
}

.ui-autocomplete .ui-menu-item.ui-state-focus,
.ui-widget-content .ui-menu-item.ui-state-focus {
	border: none;
	background: #f4f4f4;
	font-weight: normal;
	color: #4cb0e8;
	margin: 0;
}

.row2 {
	float: left;
	width: 100%;
	position: relative;
}

.event-search {
	margin-bottom: 40px;
}

.event-search .left {
	float: left;
	width: 62%;
	padding-right: 30px;
	border-right: solid 1px #e9e9e9;
}
.event-search .right {
	float: right;
	width: 38%;
	padding-left: 30px;
	border-left: solid 1px #ffffff;
}

.event-search select,
.event-search .select2-container {
	width: 48%;
}

.event-search .picker__header select {
	width: 22.5%;
}

.picker__weekday {
	text-align: center;
}

.event-search .row2 select:last-child,
.event-search .select2-container:last-child {
	float: right;
}

.event-search .date-wrapper {
	width: 30%;
}

.event-search .left .row2 {
	margin-bottom: 15px;
}

.event-search .button.gray {
	float: right;
	margin-top: 0;
}

.event-search .button.red {
	position: absolute;
	left: 0;
	top: 0;
	font-size: 100%;
	padding: 7px 10px;
	margin: 0;
	font-size: 18px;
	-webkit-border-top-right-radius: 0;
	-webkit-border-bottom-right-radius: 0;
	-moz-border-radius-topright: 0;
	-moz-border-radius-bottomright: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.event-search .formTextinput {
	padding-left: 50px;
	font-style: italic;
}

.gray-text {
	color: #505050;
}

.event .left {
	float: left;
	width: 50%;
}

.event .left {
	padding: 20px;
	min-height: 150px;
}

.event h4 {
	margin-top: 0;
	margin-bottom: 10px;
}

.event h4 a {
	color: #eb4721;
}

.event p {
	margin: 0 0 10px 0;
}

.event p:last-child {
	margin: 0;
}
.left-col > select {
	font-family: 'Lato', Arial, sans-serif;
}
.event-header {
	font-family: 'Lato', Arial, sans-serif;
	font-size: 120%;
	font-weight: 900;
	text-transform: uppercase;
}
.event-address {
	font-family: 'Lato', Arial, sans-serif;
	font-size: medium;
}
.event-time {
	color: #505050;
	font-family: 'Lato', Arial, sans-serif;
}
.event .right {
	position: absolute;
	right: 0;
	top: 0;
	width: 50%;
	height: 100%;
	background-color: #f4f4f4;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.event .right a {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50%;
	padding: 10px 10px;
	text-align: center;
	color: #fff;
	font-size: 90%;
	text-transform: uppercase;
	background-color: rgba(0,0,0,0.7);
	z-index: 1;
}

.event .right a.hide-map {
	display: none;
}

.event .right a.link {
	left: auto;
	right: 0;
	background-color: rgba(235,78,42,0.7);
}

.event .right a:hover {
	background-color: rgba(0,0,0,0.9);
}

.event .right a.link:hover {
	background-color: rgba(235,78,42,0.9);
}

.event .right a.link .fa {
	font-size: 100%;
}

.event .right .map {
	float: left;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.body-col-right .eventlist .swiper-container {
	float: left;
	width: 100%;
}

.body-col-right .eventlist .swiper-slide {
	-webkit-flex-shrink: 0;
	-ms-flex: 0 0 auto;
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	position: relative;
}
@media (max-width: 1170px) {

	.event-search .left {
		width: 100%;
		padding-right: 0;
		padding-bottom: 20px;
		border-right: none;
		border-bottom: solid 1px #e9e9e9;
	}

	.event-search .right {
		width: 100%;
		padding-left: 0px;
		padding-top: 20px;
		border-top: solid 1px #ffffff;
		border-left: none;
	}
}

@media (max-width: 640px) {
	.eventlist .left,
	.eventlist .right {
		width: 100%;
	}

	.eventlist .left {
		padding: 20px 0;
	}

	.event .right {
		position: relative;
		right: auto;
		top: auto;
		float: left;
		height: 200px;
	}
}

@media (max-width: 480px) {
	.event-search .date-wrapper {
		width: 47%;
	}

	.event-search .button.gray {
		margin-top: 10px;
	}
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #fff;
	color: #444;
	text-shadow: none;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 16px/20px 'Lato', sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-prev span, .fancybox-next span {
	background-image: url('/media/layout/img/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/media/layout/img/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: 10px;
	right: 20px;
	cursor: pointer;
	z-index: 8040;
	background-image: none;
}

.fancybox-close:before {
	content: '\f00d';
	font-family: 'FontAwesome';
	color: #6a6a6a;
	font-size: 140%;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/media/layout/img/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden !important;
	width: auto;
}

.fancybox-lock body {
	overflow: hidden !important;
}

.fancybox-lock-test {
	overflow-y: hidden !important;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background-color: rgba(255,255,255,0.7);
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 16px/20px "Lato",sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-title h3, .fancybox-title p {
	text-align: center;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

.fancybox-inner table {
	width: 100%;
}

.fancybox-inner table label {
	font-family: 'PT Sans Narrow', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
}


/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5){

	#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
		background-image: url('/media/layout/img/fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancybox-loading div {
		background-image: url('/media/layout/img/fancybox_loading@2x.gif');
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}

.pagination {
	float: left;
	margin-top: 10px;
	padding-left: 20px;
	line-height: 50px;
	font-size: 120%;
}

.pagination a {
	padding: 0px 20px;
}

.pagination a.disabled,
.pagination a.current {
	color: #000;
	cursor: default;
}

.pagination span a {
	padding: 0px 5px;
}


/* event calendar */

body.default #hero .event-carousel .box h1 {
	color: #eb4721;
	border-left: 10px solid #eb4721;
}

body.default #hero .event-carousel .box h1 a {
	color: #eb4721;
}

body.default #hero .event-carousel .swiper-pagination span {
	background: #eb4721;
}

body.default #hero .event-carousel .swiper-pagination span.swiper-pagination-bullet-active { background: #dd421e; }

body.default #hero .event-carousel .box h1 .small-text {
	font-size: 36px;
	line-height: 44px;
	font-family: 'Lato', Arial, sans-serif;
	font-weight: 900;
}

.left-col {
	float: left;
	width: 22.5%;
}

.center-col {
	float: right;
	width: 75%;
}

.event-search-table {
	width: 100%;
	margin-bottom: 40px;
	margin-top: 40px;
}
.event-search-table td {
	vertical-align: top;
}

.event-search-table td:last-child {
	width: 250px;
	padding-left: 20px;
	text-align: right;
}

.one-row-form {
	position: relative;
}

.one-row-form button {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}

.one-row-form button {
	position: absolute;
	left: 0;
	top: 0;
	border: none;
	font-size: 140%;
	background-color: transparent;
	width: 60px;
	height: 70px;
	color: #6a6a6a;
}

.one-row-form input {
	width: 100%;
	font-size: 120%;
	height: 70px;
	border: none;
	padding: 0 20px 0 70px;
	background-color: #ffffff;
	box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.event-search-table td:last-child span {
	display: inline-block;
	border: solid 10px #eee;
	border-radius: 5px;
}

.event-search-table td:last-child .button {
	margin: 0;
}

.event-search-form label {
	float: left;
	width: 100%;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 120%;
	font-weight: 900;
	text-transform: uppercase;
	margin-top: 10px;
}

.event-search-form label:first-child {
	margin-top: 0;
}

.event-search-form .left-col button {
	width: 100%;
	margin-top: 20px;
}

#event-map {
	float: left;
	width: 100%;
	height: 293px;
	background-color: #eee;
	margin-bottom: 40px;
}

.eventlist-pagination, .loader {
	background: none;
	margin: 0 0 40px 0;
	height: auto;
	left: auto;
	top: auto;
}

.loader {
	display: none;
	position: absolute;
	left: 50%;
	right: 50%;
	top: 45%;
	/*padding-left: 140px;*/
}

.eventlist .swiper-slide {
	overflow: hidden;
}

.eventlist-pagination .swiper-pagination-bullet {
	width: 30px;
	height: 40px;
	line-height: 40px;
	border-radius: 0;
	background: transparent;
	opacity: 1;
	color: #eb4721;
	font-size: 120%;
}

.eventlist-pagination .swiper-pagination-bullet-active {
	background: transparent;
	color: #000;
}

.eventlist-pagination .prev,
.eventlist-pagination .next {
	display: inline-block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	background-color: #fff;
	border-radius: 25px;
	text-align: center;
	font-size: 120%;
	color: #eb4721;
	margin-right: 10px;
}

@media (max-width: 768px) {
	.event-search-table td,
	.event-search-table td:last-child {
		float: left;
		display: block;
		width: 100%;
		padding: 0 0 20px 0;
	}

	.event-search-table td:last-child span,
	.event-search-table td:last-child .button {
		width: 100%;
	}

	.left-col, .center-col {
		width: 100%;
	}

	.left-col {
		margin-bottom: 40px;
	}
}

.single-event-page .yhdistys .address td {
	vertical-align: top;
}

.event-right-col .button {
	width: 100%;
	margin-top: 0;
	margin-bottom: 20px;
}

#event-single-map {
	float: left;
	width: 100%;
	position: relative;
}

#event-single-map .button {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 10;
	margin-left: -105px;
	margin-top: 0;
	display: none;
}

.event-single-map {
	float: left;
	width: 100%;
	height: 250px;
	background-color: #f8f8f8;
}

.yhdistyskortti {
	float: left;
	margin-top: 10px;
	color: #686868;
	line-height: 20px;
}

.yhdistyskortti img {
	float: left;
	margin-right: 10px;
}

.event-modify-form .top-button {
	position: absolute;
	right: 2%;
	top: 0;
}
@media (max-width: 768px) {
	.event-modify-form .top-button {
		margin-bottom: 20px;
		position: relative;
		right: 0;
		top: 0;
	}
}
.placeholder-field {
	width: 10px;
	border: none !important;
	background-color: transparent;
	box-shadow: none !important;
}

.event-gallery-carousel {
	padding: 0 40px 0 60px;
	position: relative;
	margin-bottom: 40px;
}

.event-gallery-carousel .swiper-container {
	width: 100%;
}

.event-gallery-carousel .swiper-prev,
.event-gallery-carousel .swiper-next {
	position: absolute;
	top: 40%;
	display: inline-block;
	background: #fff;
	width: 40px;
	height: 40px;
	overflow: hidden;
	text-align: center;
	line-height: 42px;
	font-size: 120%;
	border-radius: 20px;
	cursor: pointer;
	color: #eb4721;
	z-index: 2;
}

.event-gallery-carousel .swiper-prev {
	left: 0;
}
.event-gallery-carousel .swiper-next {
	right: 0;
}

.event-gallery-carousel .swiper-slide {
	float: left;
	width: 25%;
	overflow: hidden;
	padding-right: 2%;
}

.event-gallery-carousel .swiper-slide img {
	width: 100%;
	height: auto;
}

#event-hero {
	position: relative;
	background: url(/media/layout/img/paper-bg.jpg);
	background-repeat: repeat;
}

#event-hero .box {
	float: left;
	color: #333333;
	padding: 40px;
	width: 50%;
	height: 500px;
	background-color: transparent;
}

#event-hero .box h1 {
	margin: 0 0 20px 0;
	padding-left: 15px;
	font-size: 40px;
	line-height: 48px;
	text-transform: uppercase;
	font-family: "brandon-grotesque", sans-serif;

}
#event-hero .box p {
	padding-left: 15px;
}
#event-hero h1 .small-text {
	font-size: 36px;
	line-height: 44px;
	font-family: 'Lato', Arial, sans-serif;
	font-weight: 900;
}

#event-hero .box p {
	font-size: 110%;
}

#event-hero .slide-bg {
	background-size: cover;
	background-position: center;
	height: 100%;
	width: 50%;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 0;
}

#event-hero .button {
	cursor: default;
	opacity: 0.5;
}

@media (max-width: 768px) {
	#event-hero .box {
		width: 100%;
		height: auto;
	}

	#event-hero .slide-bg {
		display: none;
	}
}

.js-event-change-image {
	margin-top: 0;
}

.js-event-image-name {
	padding-top: 10px;
	padding-left: 10px;
	display: inline-block;
}

tr.disabled {
	opacity: 0.5;
}

td.event-prices input {
	margin-bottom: 5px;
}

.more-prices {
	cursor: pointer;
}

.ui-widget {
	font-family: 'Lato', Arial, sans-serif;
	box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}

.ui-widget-header {
	background: #ffffff;
	border: none;
}

.ui-widget-content {
	border: 1px solid #eeeeee;
}

.ui-datepicker .ui-datepicker-title select {
	height: 30px;
	font-size: 14px;
	padding: 4px 15px;
}

.ui-datepicker select.ui-datepicker-month {
	margin-right: 5px;
}

.ui-corner-all {
	border-radius: 0;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
	border: solid 1px #eeeeee;
	background: #f4f4f4;
	text-align: center;
}

.ui-state-active, .ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
	border: solid 1px #eeeeee;
	background: #4cb0e8;
	border-radius: 3px;
	color: #fff;
}

.point-images {
	margin-bottom: 40px;
}

.point-images span {
	float: left;
	width: 23%;
	height: 150px;
	overflow: hidden;
	margin-right: 2%;
	margin-bottom: 2%;
	position: relative;
	background-size: cover;
	text-align: center;
}

.point-images:last-child {
	margin-right: 0;
}

.point-images span img {
	max-width: 260px;
	height: auto;
}

.point-images .add-image, .point-images .added {
	background-color: #f4f4f4;
	text-align: center;
	padding-top: 40px;
}

.point-images .delete-image {
	display: none;
	color: #ffffff;
	font-size: 140%;
}

.point-images .added:hover .delete-image {
	display: inline-block;
}

.point-images .added .button,
.point-images .removed .delete-image {
	display: none;
}

.point-images .removed .button {
	display: inline-block;
}

@media (max-width: 940px) {
	.yhdistys-search table td.sort-points {
		display: none;
	}

	.point table td:first-child {
		width: 250px;
	}

	.point .map-image {
		width: 250px;
	}

	.point .image {
		width: 100%;
	}

	.mobile-gray {
		background-color: #f8f8f8;
	}

	.point .carousel .swiper-slide {
		width: 16%;
	}
}

@media (max-width: 768px) {

	.point .heading {
		margin-top: 20px;
	}

	.sort-points {
		display: none;
	}

	.point table td:first-child {
		width: 200px;
		padding-right: 20px;
	}

	.point-info {
		min-height: 0;
	}

	.point .map-image {
		width: 200px;
		height: 200px;
	}

	.point .carousel .swiper-slide {
		width: 19%;
	}

	.point-images span {
		width: 31.33%;
		height: 150px;
		margin-right: 2%;
		margin-bottom: 2%;
	}
}

@media (max-width: 600px) {
	.point table td:first-child,
	.point table td,
	.point table td .image {
		float: left;
		display: block;
		width: 100%;
		padding: 0 10px;
	}

	.point table td .image,
	.point table td:first-child {
		padding: 0;
	}

	.point .carousel table td:first-child, .point .carousel table td:last-child {
		width: 50px;
		padding-right: 10px;
	}

	.point .map-image {
		float: left;
		width: 100%;
		height: 300px;
	}

	.point .col1-3 {
		width: 100%;
		padding-right: 0px;
	}

	.point-images span {
		width: 48%;
	}
}

@media (max-width: 480px) {
	.point .carousel .swiper-slide {
		width: 33%;
	}

	.point-images span {
		width: 100%;
	}
}
