
/* MAIN */

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

*:focus {
	outline: none;
}

/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
	background: #f5f5f5;
	height: 100%;
}
body {
	font-family: 'Calibre-Regular', Helvetica, Arial, sans-serif;
	color: rgb(75,75,75);
	margin: 0;
	padding: 0;
	height: 100%;
}
/* clear */
.clear:before,
.clear:after {
	content:' ';
	display:table;
}
.clear:after {
	clear:both;
}
.clear {
	*zoom:1;
}
img {
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color: rgba(116, 116, 116, 1);
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

ul {
	padding: 0;
}

li {
	list-style-type: none;
}


/*------------------------------------*\
TYPOGRAPHY
\*------------------------------------*/


h1 {
	text-transform: uppercase;
	line-height: 1.05em;
	font-size: 3.5em;
	margin: 20px 0;
	font-weight: normal;
}

h2 {
	font-size: 3.2em;
	font-family:'Calibre-Semibold';
	text-transform: uppercase;
	margin: 10px 0;
	font-weight: normal;
}

h3 {
	font-weight: normal;

}

h4 {
	text-transform: uppercase;
	font-size: 1.6em;
	font-family:'Calibre-Bold';
	margin: 0;
	font-weight: normal;
	letter-spacing: 1px;
}

.semibold {
	font-family:'Calibre-Semibold';

}


blockquote, blockquote p {
	/* font-family:'Calibre-Semibold';
	font-size: 1.8em !important;
  line-height: 1.1em !important; */
	padding: 0;
	margin: 46px 0 46px 24px;
	color: #3C3C3C;
	font-family:'Calibre-RegularItalic', helvetica;
	font-weight: normal;
	font-size: 24px !important;
	line-height: 36px;
	opacity: 0.75;
}
blockquote {
  padding-left: 32px;
  /* border-left: 1px solid #e2e2e2; */
	border-left: 1px solid #FF8278;
}
blockquote li {
	padding: 0;
	margin: 20px 0;
	color: #3C3C3C;
	font-family:'Calibre-RegularItalic', helvetica;
	font-weight: normal;
	font-size: 24px !important;
	line-height: 36px;
	opacity: 0.75;
}

blockquote strong {
	/* font-size: 0.4em;
	color: #404041;
	text-transform: uppercase;
	top: 0px;
	display: block;
	position: relative; */
}

iframe {
	width: 100% !important;
}

em {
	font-family:'Calibre-RegularItalic', helvetica;
	font-style: normal;
}

.semibold, strong, b {
	font-family:'Calibre-Semibold', helvetica;
	font-weight: normal;

}

.centered-title {
	display: block;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	padding: 10px 0;
	margin: 0;
}

.top-navigation .title-container {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.top-navigation .title-container h1 {
	width: 50%;
	margin: 0 auto;

}

.well-logo {
	position: absolute;
	right: 17%;
	top: -10px;
}

.well-logo img {
	width: 120px;
}

/*------------------------------------*\
STRUCTURE
\*------------------------------------*/



.wrapper {
	width:100%;
	margin:0 auto;
	padding: 0;
	position:relative;
}

.header {
	position: relative;
	max-width:1200px;
	margin: auto;
	width: 90%;
	height: 400px;
}



#header-top {
	top: 50px;
	text-transform: uppercase;
	font-size: 1.6em;
	font-family:'Calibre-Bold';
	margin: 0;
	position: relative;
}

.follow-link {
	font-family: "Calibre-Semibold";
	float: left;
	padding-top: 12px;
}


#menu-lisakielet {
	background-color: #f5f5f5;
	padding-left: 20px;
}
.language-menu {
	float: right;
}

.language-menu ul {
	float: right;
	margin: 0;
	padding-top: 12px;
}


.language-menu li {
	font-family: "Calibre-Semibold";
	display: inline;
	padding-right: 10px;
}

.additional-language-menu-button {
	width: 38px;
	height: 35px;
	/* border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 9px solid #404041; */
	float: right;
	margin: 6px;
	background: url("images/nuoli_alas.svg");
}
.additional-language-menu-button-active {
	background: url("images/nuoli_ylos.svg");

}


.additional-language-menu-button:hover, .follow-link:hover, .additional-language-menu-button {
	cursor: pointer
}

.additional-language-menu {
	display: none;
	font-family: sans-serif;
	position: absolute;
	background: #F5F5F5;
	z-index: 98;
	top: 40px;
	right: 0;
	width: 100px;
	font-size: 14px;
}

.additional-language-menu-active {
	display: block !important;
}

.additional-language-menu li {
	padding: 2px 5px;
	text-align: right;
	width: 130px;
	display: block;
}

.search-wrapper {
	float: left;
  margin-right: 10px;
  margin-top: -1px;
	padding-top: 12px;
}
.search-wrapper .search-form {
	float: left;
	width: 0;
	overflow: hidden;
	transition: all 0.2s;
}
.search-wrapper.active .search-form {
	width: 270px;
}
.search-wrapper .search-input {
	background: transparent;
	border:0;
	border-bottom: 1px solid #404041;
	padding:5px 2px 10px;
	font-family: "Calibre-Semibold";
	font-size: 16px;
	letter-spacing: 1.7px;
	color: #404041;
	width: 270px;
	margin-top: -5px;
}
.search-wrapper .search-icon {
	display: block;
	float: right;
	width: 22px;
	cursor: pointer;
}

.social-menu {
	display: none;
	position: absolute;
	background: #F5F5F5;
	z-index: 98;
	top: 30px;
	width: 160px;
}

.social-menu-active {
	display: block !important;

}

.social-menu-active a {
	font-family: 'Calibre-Regular', Helvetica, Arial, sans-serif;

}

.social-menu-active li {
	padding: 2px 0;
}

.header-post-left, .header-post-right {
	font-size: 2em;
	line-height: 1.2em;
	font-family: 'Calibre-Regular', Helvetica, Arial, sans-serif;
	width: 180px;
	position: absolute;
	bottom: 155px;
}

.header-post-left:hover, .header-post-right:hover {
	opacity: 0.8;
}

.header-post-left {
	left: 0;
}

.header-post-right {
	text-align: right;
	right: 0;
}

.logo {
	width: 610px;
	margin: 45px auto 0 auto;
	height: 210px;

}
.logo-img {

}

.nav {
	position: relative;
	width: 100%;
	text-align: center;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	font-size: 18px;
	letter-spacing: 1px;
	margin-top: 50px;
	margin-bottom: 70px;
	transition: 0.5s top cubic-bezier(.3,.73,.3,.74);
	line-height: 40px;
}

.navbar-content {
	max-width: 1200px;
	margin: auto;
	padding: 0;
}

.navbar-content ul {
	margin: 20px auto;
}

.clone {
	position: fixed;
	top:0;
	left: 0;
	right: 0;
	z-index: 999;
	margin: 0;
	width: 100%;
	background: #fff;
	transition: 0.5s top cubic-bezier(.3,.73,.3,.74);
}

.scrolling-nav {
	display: none;
}

.clone li {
	font-size: 16px;
}

.clone .scrolling-nav {
	display: block;
}

.home-icon {
	float: left;
	width: 40px;
	margin-top: -8px;
}

.home-icon img {
	width: 100%;
}

.back-icon {
	float: right;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 10px solid black;
	margin-top: -37px;
}

.nav li {
	display: inline-table;
	margin: 0 23px;
}

main {
	position: relative;
	overflow: hidden;
}

section {
	max-width:1200px;
	margin: auto;
	width: 90%;
	text-align: center;
	font-size: 1em;
	color: #404041;
}

.full-section {
	width: 100%;
	max-width: none;
	margin: auto;
	position: relative;

}

.top-navigation {
	position: relative;
	min-height: 100px;
	width: 100%;
	text-align: center;
}

.top-navigation h1 {
	width: 620px;
	display: block;
	margin: 10px auto;
	text-transform: none;
	position: relative;
	width: 60%;
	top: 12px;
}

.top-navigation h1, .top-navigation h2 {
	font-size: 6em;
	font-family:"Calibre-Semibold", helvetica;
	text-transform: none;
	line-height: 1em;
}

.top-navigation h3 {
	font-size: 1.5em;
	font-family:"Calibre-Bold", helvetica;
	margin: auto;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 1px;
}

.big-prev, .big-next {
	position: absolute;
	top: 0px;
	width: 2500px;
}

.big-prev {
	right: 85%;
	text-align: right;
}

.big-next {
	left:85%;
	text-align: left;
}

.big-prev a, .big-next a {
	color: #c8c8c8;
}

.small-prev, .small-next {
	width: 15%;
	position: absolute;
	text-transform: uppercase;
	font-family:"Calibre-Regular", helvetica;
	font-size: 1.3em;
	top: 65px;
}

.small-prev b, .small-next b {
	font-family:"Calibre-Semibold", helvetica;
	font-weight: normal;

}

.small-prev {
	left: 10px;
	text-align: left;
}

.small-next {
	right: 10px;
	text-align: right;
}

.stripe {
	max-width: 810px;
	height: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	margin: 0 auto 60px auto;
	position: relative;
}

.content {
	width: 810px;
	margin: 20px auto 40px auto;
	text-align: left;
	font-family:"Calibre-Regular";
}

.content p {
	margin: 0 0 20px 0;
	font-size: 2.4em;
	line-height: 1.4em;
}

.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 {
	text-transform: uppercase;
	font-family:"Calibre-Bold", helvetica;
	color: #404041;
	line-height: 1.05em;
	margin: 10px 0 10px 0;
	padding: 0;
	font-size: 2.4em;
	letter-spacing: 1px;
}
.content h3 {
	text-transform: none;
	font-size: 30px;
}
.content h4 {
	text-transform: none;
  font-size: 2.8em;
  line-height: 1.2em;
  font-family: "Calibre-Regular", helvetica;
}

.image-content {
	margin: 40px auto 100px auto;
}

.image-info {
	width: 100%;
	font-size: 1.5em;
	text-transform: none;
}

.excerpt {
	font-size: 3em;
	line-height: 1.2em;
	text-align: center;
	display: block;
	margin: 40px auto 20px auto;
	font-family:"Calibre-Regular", helvetica;

}

.content .excerpt a {
	font-family:"Calibre-Regular", helvetica;
	text-transform: none;
	text-decoration: underline;
	font-size: 1em;
	line-height: 1.2em;
}

.content ul {
	display: block;
	list-style-type: disc;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 25px;
	-moz-padding-start: 25px;
	margin: 0 0 20px 0;
}

.content li:before {
	content:"";
	margin-right: 0px;
	font-size: 50px;
	vertical-align:middle;
	line-height: 0px;
	margin-top: -12px;
	display: inline-block;
	margin-left: 0px;

}

.content li {
	font-size: 2.4em;
	margin-left: 0;
	list-style-type: disc;
}


.content a {
	font-family:"Calibre-Bold";
	text-decoration: underline;
	font-size: 0.97em;

}

.content img {
	max-width: 100%;
	height: auto;
}

#social-anchor {
	position: absolute;
	top: 540px;
}

#social-buttons {
	position: absolute;
	z-index: 99;
	top: 640px;

}


#social-buttons.stick {
	position: fixed;
	top: 100px;
	z-index: 99;
}

.stay {
	position: absolute !important;
	bottom: 126px;
	top: auto !important;
}

.icon {
	width: 50px;
	height: 50px;
	margin-bottom: 2px;
	text-align: center;
	vertical-align: middle;
	padding-top: 7px;
}

.icon:hover {
	opacity: 0.8;
}

.fb-icon img {
	width: 35px;
	margin-left: 2px;
}

.twitter-icon img {
	width: 35px;
}

.mail-icon img {
	width: 35px;
}

.bottom-navigation {
	text-transform: uppercase;
	height: 60px;
	font-size: 15px;
	width: 810px;
	margin: 0 auto;
	position: relative;
	padding-bottom: 120px;
}

.bottom-navigation a {
	text-decoration: none;
	font-family:"Calibre-Semibold", helvetica;
	font-size: 15px;
}

.bottom-link {
	font-family:"Calibre-Regular", helvetica;

	text-decoration: none;
}

.bottomright {
	float:right;
	margin:5px 0 20px 20px;
	text-align: right;
	width: 20%;
	padding-bottom: 20px;

}
.bottomleft {
	float:left;
	margin:5px 20px 20px 0;
	text-align: left;
	width: 20%;
	padding-bottom: 20px;

}

.alignmiddle {
	width: 100%;
	margin: auto;
	position: absolute;
	text-align: center;
	font-family:"Calibre-Semibold", helvetica;
	margin-top: 5px;
}

.section-title {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding: 15px 0;
	margin: auto;
}



.top-border {
	border-top-style: solid;
	border-top-width: 1px;
}

.bottom-border {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	margin-bottom: 40px;
}

/* mobile-content */


/* Search */

#mobile-menu .search-wrapper {
   padding: 20px;
   /* position: absolute; */
   bottom: 0;
   font-size: 18px;
}

#mobile-menu .search-wrapper input {
   border: 0;
   outline: 0;
}

#mobile-menu .search-wrapper .search-form {
  width: auto;
}

.m, #menu, #menu #mobile-menu .arrow {
	display: none;
}
#menu #mobile-menu li {
	padding: 0;
}
#menu #mobile-menu li a {
  padding: 20px;
  display: inline-block;
	white-space: normal;
}
#menu #mobile-menu ul.sub-menu li a {
  padding: 10px 20px;
  color: #fff;
	font-size: 18px;
}
#mobile-menu li.menu-item {
	position: relative;
}
li.mm-selected {

}

.mm-menu .mm-listview > li.mm-selected > span {
  background: #F5F5F5 !important;
}
.mm-menu .mm-listview > li.mm-selected > a {
  background: #F5F5F5 !important;
}
#mobile-menu .dropdown,
#mobile-menu .dropdown ul,
#mobile-menu .dropdown ul li {
	padding:0;
	border: none;
	position: initial;
	margin: 0;
}
#mobile-menu .dropdown .sub-menu {
	height: 0;
	overflow: hidden;
	transform:none;
	position: initial;
	padding: 0px 0;
}
#mobile-menu .dropdown .sub-menu li {
	/* background: transparent; */
	background: #fb8177;
}
#mobile-menu .dropdown .sub-menu:before {
	content: "";
	display: none;
}
#mobile-menu .dropdown .sub-menu.active {
	height: auto;
}
#mobile-menu .mobile_arrow {
  position: absolute;
  right: 20px;
  top: 0px;
  height: 40px;
  width: 40px;
  z-index: 9999;
	overflow: inherit;
}
#mobile-menu .mobile_arrow span {
	position: absolute;
  top: 15px;
  left: 10px;
	width: 0;
  height: 0;
  /* border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid #404041;
  display: inline !important; */
	display: inline-block;
  padding: 0;
	width: 38px;
  height: 35px;
	background: url("images/nuoli_alas.svg");
	background-repeat: no-repeat;
	overflow: inherit;

}
#mobile-menu .mobile_arrow.active span {
	/* border-top: 9px solid #404041; */
	background: url("images/nuoli_ylos.svg");
	opacity: 0.8;
}
#mobile-menu li.current-menu-item a {
	border: none;
}

/*------------------------------------*\
SEARCH PAGE
\*------------------------------------*/

.content.searchresults h1 {
	font-family: "Calibre-Semibold";
  text-align: center;
  font-size: 60px;
  text-transform: none;
  margin-bottom: 50px;
}
.searchresults a {
	text-decoration: none;
}
.searchresults h2 {
	font-family: "Calibre-Medium";
	font-weight: normal;
	font-size: 30px;
  margin-bottom: 30px;
  margin-top: 60px;
}
.content.searchresults a {
  text-transform: none;
  font-family: "Calibre-Regular";
}
.searchresults h2.searchkey {
	margin-bottom: 40px;
	text-align: center;
}
.searchresults .word-found {
	color: #ff8277;
}

/*------------------------------------*\
FOOTER
\*------------------------------------*/


#footer {
	width: 100%;
	min-height: 900px;
	text-transform: uppercase;
	font-size: 1.4em;
	line-height: 1.4em;
	color: #fff;
	font-family:"Calibre-Semibold", helvetica;
	z-index: 100;
	margin-top: 36px;
}

#footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.footer-logo {
	width: 50%;
	height: 250px;
	display: table-cell;
	vertical-align: middle;
}

.footer-logo img {
	width: 510px;
}

/* NEW FOOTER MENU */

.footer-menu-container ul {

}
.footer-menu-container:after {
	content: " ";
	display: block;
	clear: both;
}
.menu-item-has-children {
	padding-bottom: 20px;
	padding-right: 14px;
}
.footer-menu-container ul li {
	float: left;
	width: 20%;
	padding-bottom: 4px;


}
.footer-menu-container ul li a {
	font-size: 1.4em;
}
.footer-menu-container ul.sub-menu {
	display: block;
	margin-top: 18px;
}
.footer-menu-container ul.sub-menu li {
	/* padding-right: 10px; */
	float: none;
	width: 100%;
}
.footer-menu-container ul.sub-menu li a {
	font-size: 14px;
}

/*-----------------*/

.footer-menu {
	float: left;
	width: 20%;
}

#footer a {
	color: #fff;
}

.footer-menu li {
	padding-right: 10px;
}

.footer-menu-title {
	font-size: 1.4em;
}
.footer-menu-time {
	font-size: 1.1em;
	text-transform: none;
}

.horizontal-line {
	width: 100%;
	height: 1px;
	background: #fff;
	margin: 32px 0 50px 0;
}

.footer-address {
	margin-bottom: 30px;
}

.footer-bottomleft {
	width: 30%;
	float: left;
	border-right: 1px solid #fff;
}
.footer-bottomright {
	width: 70%;
	float: left;
	padding-left: 80px;
}
.copyright {
	text-align: right;
	width: 200px;
	float: right;
	margin-top: -38px;
}

.scrollingHotSpotLeft, .scrollingHotSpotRight {
	position: absolute;
	width: 100px;
	height: 330px;
	top: 0;

}

.scrollingHotSpotLeft {
	left: 0;
}

.scrollingHotSpotRight{
	right: 0;
}

.scrollingHotSpotLeft:hover {
	cursor: w-resize;
}

.scrollingHotSpotRight:hover {
	cursor: e-resize;
}

.scroller-arrow {
	background: #f5f5f5;
	height: 100%;
	width: 50px;
	top: 0;
	position: absolute;
	opacity: 1;
}

.ascroller-arrow {
	background: #fff;
	height: 100px;
	width: 40px;
	top: 100px;
	position: absolute;
	opacity: 1;
}

.scroller-arrow-right {
	right: 0;
}

.scroller-arrow-left {
	left: 0;
}

.scroller-triangle-right {
	margin-top: 158px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid black;
	margin-left: 20px;
}

.scroller-triangle-left {
	margin-top: 158px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 10px solid black;
	margin-left: 20px;
}

.ascroller-triangle-left {
	margin-top: 45px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 10px solid black;
	margin-left: 15px;
}


.ascroller-triangle-right {

	margin-top: 45px;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 10px solid black;
	margin-left: 15px;
}

/* Footer Email Subscribe */
footer h2 {
	font-size: 30px;
	text-transform: none;
}
footer .newsletter_checkboxes {
	margin: 50px 0 40px;
}
footer .newsletter_checkboxes li {
	float: left;
}
footer .newsletter_checkboxes li:last-child {
	margin-left: 30px;
}
footer .newsletter_checkboxes:after {
	content: " ";
	display: block;
	clear: both;
}
footer #newsletter_email {
	border: 0;
  padding: 12px 10px;
  width: 74%;
}
footer .newsletter_btn {
  border: 0;
  text-align: center;
  padding: 7px;
  width: 110px !important;
  width: 20%;
  margin: 0 0 0 5%;
	cursor: pointer;
}
footer .newsletter_btn:hover {
	background-color: rgba(255, 255, 255, 0.92) !important;
}
footer .newsletter_btn.disabled {
	background-color: rgba(255, 255, 255, 0.5) !important;
	cursor: default !important;
}
footer #newsletter_thanks {
	clear: both;
	margin-top: 20px;
	opacity: 0;
	transition: opacity 0.3s;
}
#newsletter_email {
	border: 2px solid transparent;
}
#newsletter_email.error,
input.cbox.error + label:before {
	border: 2px solid red !important;
}

input.cbox {
  position: absolute;
  opacity: 0;
}
input.cbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
}
input.cbox + label:before {
	border: 2px solid transparent;
	content: '';
	margin-right: 10px;
	display: inline-block;
	vertical-align: text-top;
	width: 22px;
	height: 22px;
	background: #fff;
	border-radius: 0;
	position: relative;
	top: -3px;
}
input.cbox:hover + label:before {
  background: #fff;
}
input.cbox:checked + label:before {
  background: #fff;
  border-color: #fff;
}
input.cbox:disabled + label {
  color: #b8b8b8;
  cursor: auto;
}
input.cbox:disabled + label:before {
  box-shadow: none;
  background: #ddd;
}
input.cbox:checked + label:after {
	content: '✔';
	color: #fb8177;
	top: -1px;
	font-size: 12px;
	font-weight: normal;
	left: 6px;
	position: absolute;
}

/*------------------------------------*\
PAGES
\*------------------------------------*/


/* front page */

#carousel {
	height: 650px;
}

#twitter-feed {
	position: relative;
	margin-top: 40px;
}

/* Residence */

.residence-logo {
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	text-align: right;
}

@media all and (max-width: 670px) {
	.residence-logo {
		display: none;
	}
}

.top-logo {
	padding-top: 70px;
	margin-top: -70px;
}



#bold-info {
	z-index: 20;
	left: 0;
	top: 0;
	width: 30%;
	background: #f5f5f5;
	height: 450px;
	float: right;
	position: relative;
	text-align: center;
	font-size: 1.8em;
}

#bold-info h1 {
	font-family: "bauer_bodonidemi_bold";
	margin: 60px 0 20px;
	font-size: 2em;

}

#bold-info p {
	font-size: 1em;
	vertical-align: middle;
	margin: auto;
	text-align: center;
	width: 60%;
}

.social-section {

}

.social-block {
	width: 50%;
	float: left;
	margin: 20px 0;
	padding-top: 60px;
}

.social-block h1 {
	font-family: "bauer_bodonidemi_bold";
	font-size: 30px;
}

.social-block h4 {
	letter-spacing: 1px;
	font-family: 'Calibre-Semibold';
	margin-bottom: 40px;
}

.social-block img {
	width: 23px;
}

.social-block img:hover {
	opacity: 0.8;
}

.social-block li {
	display: inline-block;
	padding: 20px 20px 80px;
}

.saarenkartano-social {

}

/* page */



/* staff */

#masonry {
	max-width: 1260px;
	width: 100%;
	padding-bottom: 100px;
}

#masonry img {
	width: 100%;
}

/* blog */


.author h1 {
	padding: 10px 0 0 0;
	font-size: 18px;
	text-transform: uppercase;
	font-family:"Calibre-Bold", helvetica;
	color: #404041;
	letter-spacing: 1px;
}


.bottom-head {
	width: 100%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-bottom: 0px;
	text-align: left;
	letter-spacing: 0;
}

.bottom-head h1, .bottom-head h2, .bottom-head h3 {
	font-family:"Calibre-Bold", helvetica;
	padding: 10px 0 0 0;
	font-size: 18px;
	text-transform: uppercase;
	color: #404041;
	letter-spacing: 1px;
}

.author-pic {
	width: 30%;
	float: left;
	margin-top: 20px;
}

.author-pic-container {
	width: 100%;
	height: 270px;
	background-position: top center;
	background-size: cover;
}

.author-info {
	width: 70%;
	float: right;
	margin-top: 20px;
	text-align: left;
	padding-left: 30px;
}
.author-info.full-width {
	width: 100%;
	float: left;
	margin-top: 20px;
	text-align: left;
	padding-left: 0;
}

.author-info img {
	width: 20px;
}

.author-info h1 {
	padding: 0;
	font-size: 18px;
}

.author-info a {
	font-size: 1.5em;
}

.author-info span {
	font-size: 1.8em;
	line-height: 1.4em;
	margin: auto;
	display: block;
	padding-bottom: 10px;
}

.small-icon {
	height: 20px;
	margin: 0 5px 5px 5px;
}

.author-link a {
	text-decoration: none;
	font-size: 0.75em;
	text-transform: lowercase;
	font-family:"Calibre-Semibold", helvetica;

}

.bottom-links {

	width: 100%;
	margin-bottom: 20px;
	text-align: left;
}

.bottom-links a {
	font-family:"Calibre-Semibold", helvetica;
	text-transform: none;
	text-decoration: none;
}

.bottom-links h1 {
	font-family:"Calibre-Semibold", helvetica;
	padding: .5em .5em .5em 0em;
	font-size: 18px;
	text-transform: uppercase;
	color: #404041;
	letter-spacing: 1px;
}

.bottom-links ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.bottom-links li {
	list-style-type: none;
}

.bottom-links-triangle {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid black;
	margin-top: 9px;
	float: left;
	margin-right: 10px;

}


/* support */

.support-links {
	width: 810px;
	padding-bottom: 40px;
	margin: 0 auto;
}

.support-links h3 {
	font-size: 2.2em;
	text-align: left;
	font-family:"Calibre-Bold";
	color: #404041;
	margin: 10px 0 20px 100px;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}


.support-links li {
	text-align: left;
	margin: 20px 40px 20px 0px;
	list-style-type: none;
	margin-left: 100px;
}


.support-links li a {
	font-size: 4em;
	line-height: 1em;
	font-family:"Calibre-Semibold", helvetica;
	text-transform: none;
	text-decoration: none;
}


.css-triangle-right {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid black;
	margin-left: -100px;
	float: left;
	margin-top: 10px;
}

/* event */
.single-event-date{
	padding-top: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
p.info-date {
font-style: normal;
font-weight: normal;
font-size: 32px;
line-height: 20px;
text-align: center;
color: #3C3C3C;
margin-bottom: 0px;

}
.single-event-info {
	padding-top: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.info-column {
padding-left: 27px;
padding-right: 27px;
border-right: 1px solid #FF8278;
}
.info-column:first-of-type {
    padding-left: 0px;
}
.info-column:last-of-type {
	border: none;
	padding-right: 0px;
	}

.info-column .column-title {
font-style: normal;
font-weight: 600;
font-size: 11px;
line-height: 13px;
text-align: center;
letter-spacing: 0.025em;
text-transform: uppercase;
color: #3C3C3C;
margin-bottom: 10px;

}
.info-column .info-text {
font-style: normal;
font-weight: normal;
font-size: 20px;
line-height: 20px;
text-align: center;
color: #3C3C3C;
margin-bottom: 0px;

}



.event-image-content {
	margin: 40px auto 40px auto;
	width: 100%;
	position: relative;
}

/* event readmore*/
.eventreadmorebox_maintitle {
	font-style: normal;
	font-weight: 600;
	font-size: 35px;
	line-height: 37px;
	text-align: center;
	text-transform: uppercase;
	color: #3C3C3C;
	margin: 106px 0 80px;
}
.small-margin {
	margin: 60px 0 80px !important;
}
.eventreadmorebox_wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

}
.eventreadmorebox {
	/* width:49%; */
	width:31.999999999999996%;
	position: relative;
	/* text-align: left; */
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	margin-bottom: 40px;
	margin-right: 2%;
}
.eventreadmorebox :nth-of-type(3n) {
      margin-right:0;
    }
.eventreadmorebox_img {
	width: 100%;
	padding-bottom: 115%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.eventreadmorebox_content {
	text-align: center;
	min-height: 197px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 15px;
	/* padding-bottom: 32px; */
  width: 100%;
}

.eventreadmorebox_title {
	display: block;
	font-size: 22px;
	font-family: "bauer_bodonidemi_bold";
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 30px;
	word-break: break-word;
	margin-top: 16px;
}
.eventreadmorebox_category {
	display: flex;
	justify-content: center;
	position: absolute;
  top: -10px;
	left: 0%;
	width: 100%;
  /* font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif; */

}
.eventreadmorebox_category_inner {
  font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
}
.eventreadmorebox_dates {
	display: flex;
  justify-content: center;
	align-items: center;
	/* min-height: 48px; */
}
.eventreadmorebox_dates p {
	letter-spacing: 0.025em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 26px;
	line-height: 20px;
	color: #3C3C3C;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 0px
}
.eventreadmorebox_info {
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
	margin-right: 10px;
}
.eventreadmorebox_info p {
	letter-spacing: 0.025em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
	line-height: 17px;
	color: #3C3C3C;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	padding-right: 10px;
	padding-left: 10px;
}
.eventreadmorebox_info p:first-of-type {
	padding-left: 0px;
	}
.eventreadmorebox_info p:nth-of-type(3n) {
	padding-right: 0px;
	border-left: 1px solid #FF8278;
	}

	.eventreadmorebox_info p:nth-of-type(2n) {
		border-left: 1px solid #FF8278;
		padding-right: 10px;
		padding-left: 10px;
		}
.eventreadmorebox_date {
	font-size: 11px;
	display: inline-block;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
}
@media all and (max-width: 1024px) and (min-width: 701px) {
	.eventreadmorebox_wrapper {

	}
	.eventreadmorebox {

	}
	.eventreadmorebox_img {
		padding-bottom: 155%;
	}
	.eventreadmorebox_content {
		text-align: center;
		min-height: 187px;
		padding-bottom: 15px;
	}
	.eventreadmorebox_title {
		font-size: 14px;
	}

	.eventreadmorebox_info {
		display: flex;
	  flex-wrap: wrap;
	  justify-content: center;
		margin-right: 10px;
	}
	.eventreadmorebox_info p {
		letter-spacing: 0.025em;
		text-transform: uppercase;
		font-weight: 600;
		font-size: 14px;
		line-height: 17px;
		color: #3C3C3C;
		font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;

		padding-right: 8px;
		padding-left: 8px;
	}
	.eventreadmorebox_info p:nth-of-type(3n) {
		padding-right: 0px;
		border-left: 1px solid #FF8278;
		}

		.eventreadmorebox_info p:nth-of-type(2n) {
			border-left: 1px solid #FF8278;
			padding-right: 8px;
			padding-left: 8px;
			}


}
@media all and (max-width: 700px) {
.eventreadmorebox_wrapper {
		display: block;
	}
	.eventreadmorebox {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
	.eventreadmorebox_img {
		padding-bottom: 100%;
	}
	.eventreadmorebox_content {
		text-align: center;
		min-height: 157px;
		padding-bottom: 15px;
	}
	.eventreadmorebox_title {
		font-size: 16px;
	}
}


.center-image {
	width: 100%;
	max-width: 1200px;
	height: 635px;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	float: left;

}

.center-image h1 {
	font-size: 48px;
	color: #fff;
	font-family:"Calibre-Semibold", helvetica;
	margin-bottom: 10px;
	letter-spacing: 1px;
}

.huge-date {
	font-size: 450px;
	color: #fff;
	font-family:"Calibre-Semibold", helvetica;
	line-height: 460px;
}




.left-image {
	position: absolute;
	height: 635px;
	width: 100%;
	right: 100%;
	margin-right: 10px;
	background-repeat: no-repeat;
	background-position: right center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	float: left;
}

.right-image {
	position: absolute;
	height: 635px;
	width: 100%;
	left: 100%;
	margin-left: 10px;
	background-repeat: no-repeat;
	background-position: left center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	float: left;
}

.addthisevent-drop {
	margin: auto !important;
	text-transform: uppercase !important;
	font-size: 14px !important;
	display: block !important;
	width: 200px;
	line-height: 36px;
	background: #fff;
	padding: 0 30px;
	border-radius: 25px !important;
	border: 1px solid #3c3c3c !important;
	font-family:"Calibre-Semibold", arial !important;
	padding: 10px 0 !important;
	text-align: center !important;
	z-index: 20 !important;
}

.addthisevent-drop:hover {
	color: #fff !important;
}

.addthisevent_icon{
	display: none !important;

}

span.addtocalendar.button {
	margin: auto;
	display: block;
	max-width: 250px;
	text-align: center;
	height: 36px;
	line-height: 34px;
	background-color: #fff !important;


}

span.addtocalendar.button:hover {

}

span.addtocalendar.button:hover .atcb-link {
	color: #fff !important;

}

.atcb-list {
	margin-top: 1px !important;
	width: 250px !important;
	box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.15);
	border: 1px solid #000;
}

.atcb-item {
	padding-left: 10px !important;
	text-transform: none;
	font-size: 16px;
}


.flickr-link {
	display: block;
	padding: 20px 0;
}

.flickr-link {
	font-size: 18px;

}

/* 404 */

#post-404 {
	font-family:"Calibre-Semibold", helvetica;
	font-size: 6em;
	line-height: 1em;
	color: #fff;
	width: 750px;
	margin: 0 auto;
	padding-top: 30px;
	padding-bottom: 40px;
}

.error404 .button:hover {
	color: #000;
}

/* Newsletter */

.newsletter-section h2 {
	display: block;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	text-transform: uppercase;
	font-family:"Calibre-Bold", helvetica;
	font-size: 1.75em;
	padding-bottom: 5px;
	letter-spacing: 1px;
	margin-bottom: 30px;

}

.newsletter-section label, .newsletter-section input {
	font-size: 2em;
}



.newsletter-section table {
	width: 100%;
}

.newsletter-section table td {
	margin: 0;
	padding: 5px 0;
}


.newsletter-section tr td:first-child {
	width:30%;
	text-align: left;
}

.newsletter-section tr td:last-child input {
	width: 100%;
	padding: 5px;
}

.newsletter-button {
	width: 130px !important;
	line-height: 20px !important;
	margin-top: 40px !important;
	margin-bottom: 20px !important;
	border-width: 1px !important;
}

.newsletter-links {
	width: 810px;
	padding-bottom: 40px;
	margin: 0 auto;
}

.newsletter-links h3 {
	font-size: 1.6em;
	text-align: left;
	font-family:"Calibre-Bold";
	color: #404041;
	margin: 10px 0 20px 100px;
	padding: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}


.newsletter-links li {
	text-align: left;
	margin: 20px 40px 20px 0px;
	list-style-type: none;
	margin-left: 100px;
}


.newsletter-links li a {
	font-size: 3em;
	line-height: 1em;
	font-family:"Calibre-Semibold", helvetica;
	text-transform: none;
	text-decoration: none;
}


.newsletter-triangle-right {
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid black;
	margin-left: -100px;
	float: left;
	margin-top: 10px;
}


/* Listing page */

#getmore:hover {
	cursor: pointer;
}

.getmore-bg {
	background: #ebebeb;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	margin-bottom: 80px;
	border-top-width: 1px;
	border-top-style: solid;
	margin-top: -1px;

}

.getmore-bg h4 {
	color: #3c3c3c;
	width: 100%;
	display: block;
	padding: 20px 0;
}

/* Password */

.password form {
	font-size: 2em;
	text-align: center;
}


/* Guest filters */


.filter-select {
	border: 1.8px solid #404041;
	-webkit-appearance: none;
	height: 40px;
	font-size: 16px;
	border-radius: 0;
	padding: 5px 10px;
	background-color: transparent;
	font-family: "Calibre-Medium", helvetica;
	color: #404041;
	box-sizing: border-box;
	display: block;
	float: left;
	background: url("images/ui_arrowdown.png");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 35px 35px;
}

.archive-select {
	min-width: 250px;
}


.industry-cat {
	width: calc(40% - 5px);
	margin-right: 5px;
}

.time-cat {
	width: 30%;
}

.type-cat {
	width: calc(30% - 5px);
	margin-right: 5px;
}

/*------------------------------------*\
IMAGES
\*------------------------------------*/

.news-thumbnail {
	margin: 10px auto;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	width: 300px;
	min-height: 200px;
}

.carousel-image {
	width: 100%;
	height: 645px;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.bold-image {
	height: 450px;
	background-size: cover;

}


.featured-image {
	width: 100%;
	height: 635px;
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

/*------------------------------------*\
INPUTS
\*------------------------------------*/




/*------------------------------------*\
FUNCTIONS
\*------------------------------------*/


/* Header menus */

.main-menu {
	position: fixed;
	width: 100%;
	height: 100%;
	display: none;
	font-size: 20px;
	font-family: "Calibre-Bold", Helvetica, Arial, sans-serif;
	color: #ffffff;
	z-index: 99999;
	text-align: center;
	letter-spacing: 1px;
}

.main-menu a {
	color: #ffffff;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	font-size: 36px;
	line-height: 50px;
}

nav li {
	position: relative;
}
nav li a:hover {
	border-bottom: 2px solid #444444;
}
nav li.current-menu-item a {
	border-bottom: 2px solid #444444;
}
nav li span.dropdown {
	position: relative;
	font-size: 11px;
	margin-left: 10px;
	cursor: pointer;
}
nav li span.dropdown .arrow {
	position: absolute;
  left: -6px;
  top: -11px;
	/* width: 0;
  height: 0; */
  /* border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 9px solid #404041; */
  display: inline-block;
	background: url("images/nuoli_alas.svg");
	background-repeat: no-repeat;
  width: 38px;
  height: 35px;
}
nav li span.dropdown .arrow.active {
	/* border-top: 9px solid #404041;
	opacity: 0.8; */
	background: url("images/nuoli_ylos.svg");
	overflow: inherit;
}
nav li span.dropdown .sub-menu.active {
	display: block;
}
nav li .sub-menu {
	display: none;
	position: absolute;
	z-index: 999;
	width: 310px;
	margin: 0;
	padding-top: 15px;
	top: 20px;
	right: -50%;
	transform: translateX(50%);
}
/* nav li .sub-menu:before {
	content: "▲";
	width: 100%;
	text-align: center;
	font-size: 30px;
	display: inline-block;
	color: #fb8177;
	height: 29px;
	margin-bottom: -5px;
	overflow: hidden;
} */
nav li .sub-menu li {
	display: block;
	margin: 0;
	text-align: left;
	background: #fb8177;
	padding: 5px 25px;
	line-height: 0.8;
}
nav li .sub-menu li:first-child {
	padding-top: 25px;
}
nav li .sub-menu li:last-child {
	padding-bottom: 25px;
}
nav li .sub-menu li a {
	font-size: 18px;
	color: #fff;
	text-decoration: none;
	border: none;
}
nav li .sub-menu li a:hover {
	opacity: 0.8;
}
header nav .mobile_arrow {
	display: none;
}

.menu-active {
	display: block !important;
}

.red-menu {
	background: rgba(255,130,120, 0.97);
}

.purple-menu {
	background: rgba(145,125,185, 0.97);
}

.cyan-menu {
	background: rgba(120,205,210, 0.97);
}

.jade-menu {
	background: rgba(130,200,175, 0.97);
}

.peach-menu {
	background: rgba(250,180,120, 0.97);
}

.popup-menu-title {
	padding-top: 5%;
	display: block;
	text-transform: uppercase;
}



/* #mobile-menu .menu-item-20355 .sub-menu { background: #ff8278; }

#menu-item-20362 .sub-menu li, #mobile-menu .menu-item-20362 .sub-menu { background: #fab478; }
#menu-item-20362 .sub-menu:before { color: #fab478; }

#menu-item-20362 .sub-menu li, #mobile-menu .menu-item-22615 .sub-menu { background: #fb8177; }
#menu-item-20362 .sub-menu:before { color: #fb8177; }

#menu-item-20382 .sub-menu li, #mobile-menu .menu-item-20382 .sub-menu { background: #917db9; }
#menu-item-20382 .sub-menu:before { color: #917db9; }

#menu-item-21397 .sub-menu li, #mobile-menu .menu-item-21397 .sub-menu { background: #82c8af; }
#menu-item-21397 .sub-menu:before { color: #82c8af; }

#menu-item-21398 .sub-menu li, #mobile-menu .menu-item-21398 .sub-menu { background: #78cdd2; }
#menu-item-21398 .sub-menu:before { color: #78cdd2; }

#menu-item-20472 .sub-menu li, #mobile-menu .menu-item-20472 .sub-menu { background: #404041; }
#menu-item-20472 .sub-menu:before { color: #404041; } */

/* Frontpage carousel */

.carousel-header {
	background: #fff;
	margin: auto;
	position: relative;
	margin-top: -210px;
	width: 60%;
	height: 200px;
	text-align: center;
	margin-bottom: 20px;
}

.carousel-header h4 {
	padding-top: 10px ;
}

.carousel-header h1 {
	width: 80%;
	margin: 10px auto;
	display: block;
	font-family: "bauer_bodonidemi_bold";

}

.slick-dots {
	bottom: 15px !important;
}

.slick-dots li {
	width: 12px;
}

.slick-dots li button::before {
	content: '';

}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 10px;
	height: 10px;
	padding: 5px;
	border-radius: 10px;

	cursor: pointer;
	border: 1px solid #000;
	color: rgb(162, 17, 3);
	outline: none;
	background: transparent;
}

#carousel .slick-active button {
	background: #000;
}


/* Twitter */

.tweet-prevarrow {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 11px solid black;
	margin-top: 18px;
	margin-left: 18px;
	position: absolute;
	top: 150px;
	left: 0;
}

.tweet-nextarrow {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid black;
	margin-top: 18px;
	margin-left: 22px;
	position: absolute;
	top: 150px;
	right: 0;
}



.timeline-twitter-feed .ttf-tweet {
	clear: none !important;
	text-align: center
}
.ttf-tweet-row {
	margin: auto;
}

.ttf-tweet-row h2, .ttf-tweet-row h1 {
	font-size: 55px !important;
}


.ttf-tweet-text {
	font-size: 55px;
	font-family:"Calibre-Semibold";
	line-height: 1em;
	width: 80%;
	min-width: 320px;
	margin: auto;
	padding-top: 20px;
	text-align: center;

}

.ttf-tweet-screen-name, .ttf-tweet-full-name  {
	text-transform: uppercase;
	font-size: 1.6em;
	font-family:"Calibre-Bold", helvetica;
	color: #404041 !important;
	display: none;
}

/* Bold Initiatives Carousel */

#bold-carousel-section {
	overflow: hidden;
}

#bold-carousel {
	float: right;
	width: 70%;
	text-align: center;
	position: relative;
	height: 700px;
	overflow: hidden;

}

.bold-slider {
	width: 100%;
	height: auto;
	overflow: hidden;
}

.bold-slide {
	padding: 0 5px;
	width: 650px;
}

.bold-slide h1 {
	font-family: "bauer_bodonidemi_bold";
	font-size: 3em;
	display: block;
	width: 80%;
	margin: 0 auto;
	padding: 20px 0;
}

.bold-prevarrow {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 11px solid black;
	margin-top: 18px;
	margin-left: 18px;
}

.bold-nextarrow {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid black;
	margin-top: 18px;
	margin-left: 22px;
}


.bold-bg {
	background: #fff;
	width: 50px;
	height: 50px;
	position: absolute;
	z-index: 9;
}

.bold-prevbg {
	left: 0;
	top: 210px;
}

.bold-nextbg {
	right: 0;
	top: 210px;
}

.bold-prevbg:hover {
	left: -5px;
}

.bold-nextbg:hover {
	right: -5px;
}

.bold-text {
	font-size: 1.8em;
	width: 60%;
	display: block;
	margin: auto;
}

.slider-link {
	font-size: 15px;
	font-family:"Calibre-Semibold", helvetica;

}

/* Event Calendar */

#event-filter-index {
	text-align: center;
	width: 100%;
	position: relative;
	padding: 30px 0;
}

#event-filter {
	text-align: center;
	width: 100%;
	margin-top: 30px;
}

#event-filter li, #event-filter-index li {
	display: inline;
	color: #646464;
	font-size: 1.7em;
	font-family:"Calibre-Semibold", helvetica;
	padding: 10px;
	cursor: pointer;
}
.event-filter-menu  span {
	display: inline-block;
}

#eventscroller{
	width: 90%;
  margin: 0 auto;
  max-width: 1334px;
}
#eventscroller .eventscroller-event {
	text-align: center;
	border: 12px solid #fff;
	margin: 0px 12px;
	position: relative;
	height: 300px;
	padding:20px;
}
#eventscroller .eventscroller-event.old {
	opacity: 0.5;
}
#eventscroller .eventscroller-event h4 {
	display: inline-block;
	position: absolute;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	font-size: 16px;
	background: #ff8277;
	letter-spacing: 1.2px;
	color: #fff;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  padding: 8px 20px;
  white-space:nowrap;
}
#eventscroller .eventscroller-info {
	padding-top: 30px;
}
#eventscroller .eventscroller-datetime {
	font-size: 90px;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #404041;
  white-space:nowrap;
}
#eventscroller .eventscroller-datetime:hover {
	opacity: 0.8;
}
#eventscroller .eventscroller-title {
	font-size: 20px;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	line-height: 1em;
}
#eventscroller .eventprev {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 11px solid black;
	margin-top: 18px;
	margin-left: 18px;
}
#eventscroller .eventnext {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid black;
	margin-top: 18px;
	margin-left: 22px;
}
#eventscroller .eventprev,
#eventscroller .eventnext {
	position: absolute;
	top:42%;
}
#eventscroller .bold-bg {
	background: #f5f5f5;
	width: 50px;
	height: 300px;
	position: absolute;
	z-index: 9;
	cursor: pointer;
}
#eventscroller .bold-bg:hover {
	opacity: 0.6;
}
#eventscroller .bold-prevbg {
	left: -50px;
	top: 0;
}
#eventscroller .bold-nextbg {
	right: -50px;
	top: 0;
}
#eventscroller .bold-prevbg:hover {

}
#eventscroller .bold-nextbg:hover {

}
.bold-bg.slick-disabled {
	opacity: 0.1 !important;
  cursor: default !important;
}

.hide-event {
	display: none !important;
}

/* Archives */

#ascroller li {
	display: inline-table;
	width: 410px;
	height:105px;
	border-width: 1px;
	border-style: solid;
	border-top: none;
	border-bottom: none;
	border-left: none;
	text-align: center;
	white-space: normal;
	font-size: 80px;
	font-family:"Calibre-Bold";

}
#ascroller ul {
	list-style: none;
	display: block;
	float: left;
	width: 100%;
	height: 105px;
	padding: 0;
	margin: 0;
	text-align: left;
	white-space:nowrap; /* added */
}

#ascroller {
	height: 105px;
	float: left;
	padding: 0;
	margin: 0px 0 20px;
	position: relative;
}

.archive-title, h2.archive-title {
	position: relative;
	display: block;
	text-align: center;
	width: 100%;
	margin: 20px 0;
	padding: 0;
}

.archives-content {
	display: flex;
	justify-content: center;
}

#archives li {
}


/* Instagram */

.instagram-section {
	max-height: 300px;
	overflow: hidden;
}





/* News panels and carousels */

.ticker div {
	position: relative;
	text-align: center;
}

.ticker .slick-slide {
	height: 520px;
}

.slick-prev {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-right: 11px solid black;
	margin-top: 10px;
	left: 60px;
	position: absolute;
	top: 467px;

}

.slick-prev::before, .slick-next::before {
	content: "";

}

.slick-prev:hover, .slick-next:hover, .tweet-nextarrow:hover, .tweet-prevarrow:hover, .bold-prevarrow:hover, .bold-nextarrow:hover {
	opacity: 0.6;
	cursor: pointer;
}

.slick-next {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid black;
	margin-top: 10px;
	right: 60px;
	position: absolute;
	top: 467px;
}




.panel {
	width: 50%;
	float: left;
	overflow: hidden;
	border-width: 1px;
	border-style: solid;
	border-left-style: none;
	border-top-style: none;
	overflow: hidden;
	height: 520px;
	position: relative;
}

.panel-right {
	border-right-style: none;
}

.panel-content {
	height: 500px;
}

.panel-content h1 {
	width: 80%;
	margin: 0 auto 20px auto;
	font-size: 3em;
	display: block;
	text-align: center;
	font-family: "bauer_bodonidemi_bold";
}

.panel-content h4 {
	margin: 20px 0 5px 0;
}

.panel-content span {
	width: 80%;
	margin: auto;
	font-size: 2.5em;
	display: block;
	padding-bottom: 80px;
}

.heading-img {
	margin: 20px auto !important;
}


.tiny-paragraph {
	font-size: 1.8em !important;
	width: 80%;
}

.read-more {
	position: absolute !important;
	bottom: 20px;
	margin: 0;
	width: 100%;


}

.button {
	margin: auto;
	text-transform: uppercase;
	font-size: 14px !important;
	display: inline-block;
	line-height: 28px;
	background: #fff;
	padding: 0 25px;
	border-radius: 25px;
	border: 1px solid #3c3c3c;
	font-family:"Calibre-Semibold", helvetica;

}

.button:hover {
	color: #fff;
}



/* Accordion */

#accordion {
	margin-bottom: 40px;
}


.accordion-excerpt {
	font-family:"Calibre-Semibold", helvetica;
	font-weight: 300;
	text-transform: none;
	font-size: 16px;
}

.ui-accordion-content {
	padding: 20px 0 40px 0;
	color: #404041;
	font-size: 1em;
}

.ui-accordion .ui-accordion-header {
	padding: .5em 2em .5em 0em;
	font-size: 2em;
	text-transform: uppercase;
	font-family:"Calibre-Bold", helvetica;
	color: #404041;
	line-height: 0.9em;
	text-align: left;
	letter-spacing: 1px;
}

.ui-accordion-content h1, .ui-accordion-content h2, .ui-accordion-content h3, .ui-accordion-content h4, .ui-accordion-content h1 b, .ui-accordion-content h2 b, .ui-accordion-content h3 b, .ui-accordion-content h4 b {
	text-transform: uppercase;
	font-family:"Calibre-Bold", helvetica;
	color: #404041;
	line-height: 1.05em;
	margin: 10px 0 10px 0;
	padding: 0;
	font-size: 0.95em;
	letter-spacing: 1px;

}

.ui-accordion-content b {
	text-transform: none;
}

.accordion-nb {
	font-family:"Calibre-Regular";
	padding-left: 10px;
}

.accordion-ext {
	font-family:"Calibre-Regular";
	font-weight: 300;
	font-size: 0.7em;
	display: block;
	margin-top: 0px;
	width: 90%;
	text-transform: none;
	padding-top: 5px;
}

.ui-accordion-content p {
	font-size: 1em;

}



.ui-accordion-content ul {
	display: block;
	list-style-type: disc;
	-webkit-margin-before: 1em;
	-webkit-margin-after: 1em;
	-webkit-margin-start: 0px;
	-webkit-margin-end: 0px;
	-webkit-padding-start: 23px;
	margin: 0 0 20px 0;
}

.ui-accordion-content li:before {
	content:"";
	margin-right: 0px;
	font-size: 50px;
	vertical-align:middle;
	line-height: 0px;
	margin-top: -12px;
	display: inline-block;
	margin-left: 0px;

}

.ui-accordion-content li {
	font-size: 1em;
	margin-left: 0;
	list-style-type: disc;
}

.ui-accordion-content ol, .content ol {
	list-style-type: decimal;
	padding-left: 30px;
}

.ui-accordion-content ol li, .content ol li  {
	list-style-type: decimal;
	font-size: 1em;
}

.ui-accordion-content a {
	text-transform: uppercase;
	font-family:"Calibre-Bold";
	text-decoration: underline;
	font-size: 0.8em;

}

.ui-accordion-content img {
	max-width: 100%;
}

.accshare {
	font-size: 18px;
	display: block;
	padding-top: 20px;
}

/* Masonry */

.staff-member {
	width: 33%;
	padding: 0 30px;
	text-align: left;
	font-size: 1.8em;
}

.staff-member div {
	padding: 0 20px;
}

.staff-member b {
	font-size: 1.2em;
	font-family:"Calibre-Semibold", helvetica;
	font-weight: normal;
}

.staff-member p {
	margin: auto;
}

/* Forms */

.vfb-control-label {
	float: left;
	width: 30%;
	display: block;
	font-weight: normal;

}


.vfb-form-group div, .vfb-radio, .vfb-checkbox  {
	float: right;
	width: 60%;
	margin-bottom: 10px;
	font-size: 16px;
}

.vfbp-form label {
	font-weight: normal !important;
	margin-bottom: 20px;
	font-size: 16px;
}

.vfbp-form .vfb-form-control {
	border-radius: 0;

}

.vfb-col-1, .vfb-col-2, .vfb-col-3, .vfb-col-4, .vfb-col-5, .vfb-col-6, .vfb-col-7, .vfb-col-8, .vfb-col-9, .vfb-col-10, .vfb-col-11, .vfb-col-12 {
	position: relative;
	min-height: 1px;
	padding-left: 0px;
	padding-right: 0px;
}

.vfbp-form .btn {
	margin: auto;
	text-transform: uppercase;
	font-size: 14px;
	display: block;
	line-height: 30px;
	background: #fff;
	padding: 0 30px;
	border-radius: 25px;
	border: 1px solid #3c3c3c;
	font-family:"Calibre-Semibold", helvetica;
	color: #000;
	width: 60%;
	float: right;
	margin-top: 20px;

}

.btn-primary {
	width: 100%;
	text-align: center;
}

.vfbp-form .btn:hover {
	color: #fff;

}

.vfb-col-12 {
	padding-bottom: 20px;
}

.vfb-radio {
	padding: 0 !important;
	margin: 0 !important;
}

/* Comments */

.comments {
	margin-top: 0px;
}

.comments li:before {
	content:"";
}

.comments h2 {
}

.comments input {
	font-size: 0.8em;
	padding: 5px;
}

.fn {
	font-style: normal;
	font-size: 16px;
	font-family:"Calibre-Semibold", helvetica;
	text-transform: uppercase;
}

.comment-meta {
	float: left;
	font-style: normal;
	margin-right: 10px;
}

.comment-meta a {
	font-size: 16px;
	font-family:"Calibre-Regular", helvetica;
	text-transform: uppercase;
	text-decoration: none;
}

.comment-author {
	float: left;
	margin-right: 10px;
}

.form-allowed-tags, .logged-in-as, .comment-reply-title, .comment-edit-link, .says, .comment-form-url, .comment-notes {
	display: none;
}

.form-submit {
	text-align: center;
}

.form-submit input {
	margin: auto;
	text-transform: uppercase;
	font-size: 14px;
	display: inline-block;
	line-height: 28px;
	background: #fff;
	padding: 0 25px;
	border-radius: 25px;
	border: 1px solid #3c3c3c;
	font-family:"Calibre-Semibold", helvetica;
}

.form-submit input:hover {
	color: #fff;
}

.comment-form-comment label, .comments h3 {
	width: 100%;
	text-transform: uppercase;
	font-family:"Calibre-Semibold", helvetica;
	font-size: 18px;
	letter-spacing: 0px;
	padding-bottom: 10px;
}

.comments label {
	font-family:"Calibre-Semibold", helvetica;
	font-size: 16px;
	text-transform: uppercase;
	color: #404041;
	letter-spacing: 0px;
	display: block;
	padding: 0px;
}

.comment-form-comment textarea {
	width: 100%;
}

.comment-body {
	background: #fff;
	padding: 15px;
	margin-bottom: 20px;
}

.comment-body p {
	clear: both;
	font-size: 21px;
}

.comment-body br {
	content: " "; /* Remove break */

}

.comment-body em {
	font-size: 16px;
	font-family:"Calibre-Regular", helvetica;
	text-transform: uppercase;
	text-decoration: none;
}



.comments ul, .comments li {
	list-style-type: none;
	padding-left: 0;
}

.comments li:before {
	display: inline;
}

/* The Calendar */


table.datepick, .datepick th {
	border-bottom: 1px solid #FD837B !important;
}

.datepick-inline .calendar-links {
	background: none !important;
}

.ajax-loader {
	width: auto !important;
}

.wpdevbk img {
	width: auto !important;
}

.cal-table {
	width: 100%;
}

.cal-table tr {
}

.cal-table td {
	vertical-align: top;
	padding: 5px;
}

.cal-left {
	width: 40%;
	font-size: 18px;
}


.cal-right, .cal-buttonarea {
	width: 60%;
}


.cal-right input, .cal-right textarea {
	font-size: 16px !important;
	padding: 5px !important;
	width: 100% !important;
	border-radius: 1px !important;
	height: 35px !important;

}

.cal-right .wpdev-radio {
	height: auto !important;
	padding: 0 !important;
	width: auto !important;
}

.cal-right .wpdev-list-item-label {
	font-size: 16px;
}


.starttime6 {
	padding-bottom: 10px;
}

.cal-right textarea {
	height: 200px !important;

}

.cal-right select {
	margin-bottom: 10px !important;
}

.wpdevbk [class*="span"] {
	margin-left: 0 !important;
}

.cal-button {
	margin: auto !important;
	text-transform: uppercase !important;
	font-size: 14px !important;
	display: inline-block !important;
	line-height: 28px !important;
	background: #fff !important;
	padding: 0 25px !important;
	border-radius: 25px !important;
	border: 1px solid #3c3c3c !important;
	font-family:"Calibre-Semibold", helvetica !important;
	width: 250px !important;
	transition: none !important;
}

.cal-button:hover {
	color: #fff !important;
	border: 1px solid #FD837B !important;

}

.wpdevbk select {
	width: 30% !important;
}

.block_time, .block_free, .block_pending, .block_booked {
	border: none !important;
}


.wpdev_hint_with_text {
	display: inline-block;
	float: none !important;

}

.block_text {
	font-size: 18px !important;
	font-family:"Calibre-Semibold", helvetica !important;
	text-transform: uppercase !important;
}

.block_hints {
	height: 50px !important;
	padding: 10px;
	text-align: center;
}

.wpdevbk input, .wpdevbk textarea {
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.datepick-next, .datepick-prev {
	font-size: 18px !important;
	font-family:"Calibre-Semibold", helvetica !important;

}

.wpdev-help-message {
	font-size: 16px;
}


.wpdev_hint_with_text:nth-child(2) {
	display: none;
}

/*------------------------------------*\
MISC
\*------------------------------------*/


/*------------------------------------*\
FONTS
\*------------------------------------*/

@font-face {
	font-family: 'bauer_bodonidemi_bold';
	src: url('fonts/urw-webfont.eot');
	src: url('fonts/urw-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/urw-webfont.woff2') format('woff2'),
	url('fonts/urw-webfont.woff') format('woff'),
	url('fonts/urw-webfont.ttf') format('truetype'),
	url('fonts/urw-webfont.svg#bauer_bodonidemi_bold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'Calibre-Regular';
	src: url('fonts/CalibreWeb-Regular.eot');
	src: url('fonts/CalibreWeb-Regular.eot?#iefix') format('embedded-opentype'),
	url('fonts/CalibreWeb-Regular.woff') format('woff');

}

@font-face {
	font-family: 'Calibre-RegularItalic';
	src: url('fonts/CalibreWeb-RegularItalic.eot');
	src: url('fonts/CalibreWeb-RegularItalic.eot?#iefix') format('embedded-opentype'),
	url('fonts/CalibreWeb-RegularItalic.woff') format('woff');
}



@font-face {
	font-family: 'Calibre-Medium';
	src: url('fonts/CalibreWeb-Medium.eot');
	src: url('fonts/CalibreWeb-Medium.eot?#iefix') format('embedded-opentype'),
	url('fonts/CalibreWeb-Medium.woff') format('woff');
}

@font-face {
	font-family: 'Calibre-Semibold';
	src: url('fonts/CalibreWeb-Semibold.eot');
	src: url('fonts/CalibreWeb-Semibold.eot?#iefix') format('embedded-opentype'),
	url('fonts/CalibreWeb-Semibold.woff') format('woff');
}

@font-face {
	font-family: 'Calibre-Bold';
	src: url('fonts/CalibreWeb-Bold.eot');
	src: url('fonts/CalibreWeb-Bold.eot?#iefix') format('embedded-opentype'),
	url('fonts/CalibreWeb-Bold.woff') format('woff');
}


/*------------------------------------*\
ACF FLEX: PÄÄOSIO/MAINSECTION, YHTEYSTIEDOT
\*------------------------------------*/
.mainsection .featured-image {

}
.mainsection .featured-image-info {
  margin: 5px 0 20px 20px;
  text-align: right;
  font-size: 1.5em;
  text-transform:none;
}
.mainsection h1 {
	text-transform: uppercase;
	font-size: 3.2em;
  font-family: 'Calibre-Semibold';
}
.mainsection .excerpt {
  font-size: 21px;
  font-weight: bold;
	width: 100%;
	max-width: 800px;
	margin-bottom: 60px;
}
.nosto_section .nosto_row {
	clear: both;
	margin-bottom: 2%;
}
.nosto_section .nosto_row::after {
  content: '';
  display: table;
  clear: both;
}
.nosto_section .nosto {
	display: block;
	position: relative;
	color: #4a4a4b;
	text-decoration: none;
	text-align: center;

	background-color: #fb8177;
	background-size: cover;
	background-position: center center;
  float: left;
  margin-right: 2%;
  overflow: hidden;
	background-image: url('images/KS_tyhja_384x320px.jpg');
}

.residence .nosto_section .nosto {
	background-image: url('images/SK_tyhja_384x320px.jpg');
}

.nosto_section .nosto.full {
	width: 100%;
	padding: 32% 20px 5% 20px;
	margin-right: 0;
}
.nosto_section .nosto.half {
	width: 49%;
	padding: 35% 20px 5% 20px;
}
.nosto_section .nosto.half:last-child {
	margin-right: 0;
}
.nosto_section .nosto.third {
	width: 31.999999999999996%;
	padding: 30% 20px 5% 20px;
}
.nosto_section .nosto.third:last-child {
	margin-right: 0;
}
.nosto_section .nosto .title-wrapper {
	position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 35px 0;
  line-height: 1;
  background: #fff;
}
.nosto_section .nosto .title {
	display: table;
	width: 100%;
	height: 100%;
  /*
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.7)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
	*/
}

.nosto_section .nosto .title-txt {
  display: table-cell;
  vertical-align: middle;
  padding: 0 10px;
	font-family: "bauer_bodonidemi_bold";
	font-size: 28px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: uppercase;
}

@media all and (max-width: 670px) {
	.nosto_section .nosto .title-txt {
		font-size: 22px;
	}
}

/* Muut nostot */

.nosto_section .general .nosto {
	background: transparent;
	color: #404041;
	font-size: 18px;
	text-align: left;
	padding: 0;
}
.nosto_section .henkilokunta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-left: -15px;
  margin-right: -15px;
}
.nosto_section .henkilokunta .henkilokunta-nosto {
  position: relative;
  width: 32%;
  max-width: 32%;
  padding: 0 15px;
}
.nosto_section .henkilokunta .henkilokunta-nosto .img {
	padding-bottom: 100%;
	background-color: rgba(0, 0, 0, 0.1);
	background-size: cover;
	background-repeat: no-repeat;
	background-position:center center;
}
.nosto_section .henkilokunta .henkilokunta-nosto .description {
	font-size: 18px;
	padding: 20px 0 30px;
}
.nosto_section .henkilokunta .henkilokunta-nosto .name {
	font-size: 24px;
}
.nosto_section.yhteystiedot {
	font-family: "Calibre-Medium", Helvetica, Arial, sans-serif;
}
.nosto_section.yhteystiedot .nosto {
	letter-spacing: initial;
	font-weight: 400;
	font-family: inherit;
}
.nosto_section.yhteystiedot h2,
.nosto_section > h2 {
	margin-bottom: 40px;
	text-align: left;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: 1.1px;
	font-family: "Calibre-Medium", Helvetica, Arial, sans-serif;
	text-transform: none;
}
.nosto_section.yhteystiedot h3 {
	font-weight: 400;
	font-size: 30px;
	font-family: inherit;
}



.newsbox_maintitle {
	margin: 60px 0 50px;
}
.newsbox_wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.newsbox {
	width:49%;
	position: relative;
	text-align: left;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	margin-bottom: 40px;
}
.newsbox_img {
	width: 100%;
	padding-bottom: 90%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.newsbox_content {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 15px;
  width: 100%;
}
.newsbox_title {
	display: block;
	font-size: 20px;
	font-family: "bauer_bodonidemi_bold";
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 1.2;
	margin-top: 13px;
}
.newsbox_category {
	display: inline-block;
  font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
  margin-right: 10px;
}
.newsbox_date {
	font-size: 11px;
	display: inline-block;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
}
.newsbox_wrapper:not(.archivetemplate) .newsbox:first-child {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	background: #fff;
	border:12px solid #fff;
	width: 100%;
	margin-bottom: 30px;
}
.newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_content {
	top: 0;
	bottom: initial;
	right: 0;
	left: initial;
	width: 40%;
	padding-top: 0;
	height: 100%;
}
.newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_img {
	max-width: 60%;
	padding-bottom: 0;
	height: 28vw;
  max-height: 390px;
}
.newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_title {
	display: table-cell;
	vertical-align: middle;
	font-size:30px;
}

/* tapahtumat arkisto */
.eventarchivebox_wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}
.eventarchivebox {
	width:49%;
	position: relative;
	text-align: left;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	margin-bottom: 40px;
}
.eventarchivebox_img {
	width: 100%;
	padding-bottom: 90%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.eventarchivebox_content {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 15px;
  width: 100%;
}
.eventarchivebox_title {
	display: block;
	font-size: 20px;
	font-family: "bauer_bodonidemi_bold";
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 1.2;
	margin-top: 23px;
}
.eventarchivebox_uppercontent {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	min-height: 48px;
}
.eventarchivebox_info {
	display: flex;
  /* flex-wrap: nowrap; */
	flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  margin-right: 10px;
}
.eventarchivebox_info p {
	letter-spacing: 0.025em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
	line-height: 17px;
	color: #3C3C3C;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 0px;
}
.eventarchivebox_info  p:first-of-type {
	padding-left: 0px;
	}
.eventarchivebox_info  p:nth-of-type(3n) {
	padding-right: 0px;
	border-left: 1px solid #FF8278;
	}
	.eventarchivebox_info  p:nth-of-type(2n) {
			border-left: 1px solid #FF8278;
			padding-right: 10px;
			padding-left: 10px;
		}
.eventarchivebox_category {
	display: inline-block;
  font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
  margin-right: 10px;
	margin-top: 16px;
	height: 100%
}
.eventarchivebox_date {
	font-size: 11px;
	display: inline-block;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
}



/* tapahtumat etusivulla*/
.eventsbox_maintitle {
	margin: 60px 0 50px;
}
.eventsbox_wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        /* justify-content: space-between; */

}
.eventsbox {
	/* width:49%; */
	width:31.999999999999996%;
	position: relative;
	/* text-align: left; */
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	margin-bottom: 40px;
	margin-top: 40px;
	margin-right: 2%;
}
.eventsbox:nth-of-type(3n) {
      margin-right:0;
    }
.eventsbox_img {
	width: 100%;
	padding-bottom: 115%;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.eventsbox_content {
	text-align: center;
	min-height: 197px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 15px;
	/* padding-bottom: 32px; */
  width: 100%;
}

.eventsbox_title {
	display: block;
	font-size: 28px;
	font-family: "bauer_bodonidemi_bold";
	text-transform: uppercase;
	letter-spacing: normal;
	line-height: 30px;
	word-break: break-word;
	margin-top: 16px;
}
.eventsbox_category {
	display: flex;
	justify-content: center;
	position: absolute;
  top: -10px;
	left: 0%;
	width: 100%;
  /* font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif; */

}
.eventsbox_category_inner {
  font-size: 11px;
  background: #ff8277;
  letter-spacing: 0.6px;
  color: #fff;
  padding: 4px 7px;
  text-transform: uppercase;
  font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;

}
.eventsbox_dates {
	display: flex;
  justify-content: center;
	align-items: center;
	/* min-height: 48px; */
}
.eventsbox_dates p {
	letter-spacing: 0.025em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 26px;
	line-height: 20px;
	color: #3C3C3C;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 0px
}
.eventsbox_info {
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
	align-items: center;
	margin-right: 10px;
	/* min-height: 48px; */
}
.eventsbox_info p {
	letter-spacing: 0.025em;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 16px;
	line-height: 17px;
	color: #3C3C3C;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom: 0px
}
.eventsbox_info p:first-of-type {
	padding-left: 0px;
	}
.eventsbox_info p:nth-of-type(3n) {
	padding-right: 0px;
	border-left: 1px solid #FF8278;
	}
	.eventsbox_info p:nth-of-type(2n) {

		border-left: 1px solid #FF8278;
		padding-right: 10px;
		padding-left: 10px;
		}
.eventsbox_date {
	font-size: 11px;
	display: inline-block;
	font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;
}

.category-select {
    position: relative;
    margin-right: .9375rem;
    margin-bottom: .9375rem;
}
.category-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
    justify-content: center;
		text-align: center;
}

.category-select input[type=radio] {
    cursor: pointer;
    position: absolute;
		border: 1px solid #ff8278;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    z-index: 2;
}
.category-select input[type="radio"]:checked + label,
.category-select input[type="radio"]:hover + label  {
      background: #fff;
			border: 1px solid #ff8278;
      color: #ff8278;
  }
.category-select label {
		font-size: 14px;
		display: inline-block;
    padding: 5px 15px;
    margin: 5px;
    background: #ff8278;
    color: #fff;
		text-transform: uppercase;
    font-weight: bold;
		border: 1px solid #ff8278;
}
@media all and (max-width: 1024px) and (min-width: 701px) {
	.eventsbox_wrapper {

	}
	.eventsbox {

	}
	.eventsbox_img {
		padding-bottom: 120%;
	}
	.eventsbox_content {
		text-align: center;
		min-height: 187px;
		padding-bottom: 15px;
	}
	.eventsbox_title {
		font-size: 14px;
		line-height: 23px;
	}

	.eventsbox_info {
		display: flex;
	  flex-wrap: wrap;
	  justify-content: center;
		margin-right: 10px;
	}
	.eventsbox_info p {
		letter-spacing: 0.025em;
		text-transform: uppercase;
		font-weight: 600;
		font-size: 14px;
		line-height: 17px;
		color: #3C3C3C;
		font-family: "Calibre-Semibold", Helvetica, Arial, sans-serif;

		padding-right: 8px;
		padding-left: 8px;
	}
	.eventsbox_info p:nth-of-type(3n) {
		padding-right: 0px;
		border-left: 1px solid #FF8278;
		}
		.eventsbox_info p:nth-of-type(2n) {

			border-left: 1px solid #FF8278;
			padding-right: 8px;
			padding-left: 8px;
			}
		/* .eventsbox_wrapper:not(.archivetemplate) .eventsbox:first-child .eventsbox_title {
			display: table-cell;
			font-size:20px;
			height: auto;
			padding-top: 0px;
			text-align: center;
			display:unset;
		} */
		.eventarchivebox_info p {
			font-size: 12px;
		}
		.eventarchivebox_title {
			font-size: 14px;
			line-height: 23px;
		}
		.eventarchivebox_uppercontent {
			display: flex;
			align-items: center;
			flex-wrap: wrap;
		}


		.eventarchivebox_info{
			justify-content: end;
		}


}

/* end of tapahtumat */


@media all and (max-width: 700px) {
	.newsbox_wrapper {
		display: block;
	}
	.newsbox {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_content,
  .newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_img {
		width: 100%;
		max-width: 100%;
  }
  .newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_img {
  	padding-bottom: 90%;
	}
  .newsbox_wrapper:not(.archivetemplate) .newsbox:first-child {
  	border:none;
  }
  .newsbox_wrapper:not(.archivetemplate) .newsbox:first-child .newsbox_content {
  	top: initial;
  	bottom: 0;
  	right: initial;
  	left: 0;
  	padding: 15px;
  }



	/* tapahtumat */
	.eventsbox_wrapper {
		display: block;
	}
	.eventsbox {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
	.eventsbox:nth-of-type(3n) {
	 	margin-right:auto;
	}
	.eventsbox_img {
		padding-bottom: 100%;
	}
	.eventsbox_content {
		text-align: center;
		min-height: 157px;
		padding-bottom: 15px;
	}
	.eventsbox_title {
		font-size: 28px;
	}
	.eventarchivebox_wrapper {
		display: block;
	}
	.eventarchivebox {
		width: 100%;
		max-width: 400px;
		margin-left: auto;
		margin-right: auto;
	}
	.eventarchivebox_info{
		margin-right: 0px;
	}

	.eventarchivebox_info p {
		font-size: 12px;
		padding-right: 6px;
		padding-left: 6px;
	}
	.eventarchivebox p:nth-of-type(3n) {
		padding-right: 0px;
		border-left: 1px solid #FF8278;
		}
		.eventarchivebox  p:nth-of-type(2n) {

			border-left: 1px solid #FF8278;
			padding-right: 6px;
			padding-left: 6px;
			}
	.eventarchivebox_title {
		font-size: 28px;
		line-height: 30px;
	}
	.eventarchivebox_img {
		padding-bottom: 100%;
	}
	.eventarchivebox_uppercontent {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}


	.eventarchivebox_info{
		justify-content: end;
	}

}

@media all and (max-width: 400px) {

	/* tapahtumat */
	.eventarchivebox_uppercontent {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}


	.eventarchivebox_info{
		justify-content: end;
	}


}

/*------------------------------------*\
breadcrumbs
\*------------------------------------*/

.breadcrumbs_container {
	margin: 0 auto 60px auto;
	width: 90%;
	max-width: 810px;
}
.breadcrumbs_topline {
	width: 100%;
	max-width: 730px;
	margin: 0 auto;
	border-bottom: 1px solid #ff8277;
	margin-bottom: 30px;
}
ul.breadcrumbs,
ul.breadcrumbs li {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.breadcrumbs li {
	display: inline-block;
	text-transform: uppercase;
	font-size: 13px;
	font-family: "Calibre-Semibold";
	font-weight: 600;
  letter-spacing: 1.6px;
}
ul.breadcrumbs li a {
	text-decoration: underline;
	color: #3c3c3c;
}
ul.breadcrumbs li.separator span {
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 5px solid #3c3c3c;
  display: inline-block;
  margin: 0px 5px 1px;
}

/*------------------------------------*\
WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:15px 0px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
	text-align: right;

}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
	text-align: left;

}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:25px 0 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	max-width: 100%;
	padding:5px 3px 10px 0;
}
.wp-caption.alignnone {
	margin:15px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:15px;
	line-height:1.3em;
	margin:0;
	padding:5px 4px 5px 0;
}

.bypostauthor {

}

/*------------------------------------*\
ARCHIVE  + TAG LIST
\*------------------------------------*/

.archive_section .newsbox_maintitle {
	font-family:'Calibre-Semibold';
}

.wp-tag-cloud {
	margin-bottom: 60px;
}

.wp-tag-cloud li {
	display: inline-block;
	padding:5px 15px;
	margin:5px;
	background: #ff8278;
}

.wp-tag-cloud li:hover {
	opacity: 0.8;
}

.wp-tag-cloud li a {
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
}

.pagination {
	margin-bottom: 30px;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 8px 15px;
  font-size: 14px;
  font-weight: bold;
}
.pagination .page-numbers.current {
	background: #ff8278;
	color: #fff;
}

/*------------------------------------*\
Single Post
\*------------------------------------*/

.post-date {
  text-transform: uppercase;
  font-family: Calibre-Semibold;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.9px;
}

/* PRINT */

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

/* RESPONSIVE */

@media only screen and (max-width: 1024px) and (min-width: 768px) {
	.newsbox_section,
	.nosto_section {
		width: 90%;
		margin: 0 auto;
  }
}



@media all and (max-width:850px) {
	.nosto_section .henkilokunta .henkilokunta-nosto {
	  width: 49%;
	  max-width: 49%;
	}
	.nosto_section .nosto .title-wrapper {
		padding: 25px 0;
	}
}

@media all and (max-width:550px) {
	.nosto_section .henkilokunta .henkilokunta-nosto {
	  width: 100%;
	  max-width: 100%;
	}
}

@media all and (max-width:700px) {
	#eventscroller .eventscroller-event h4 {
	    font-size: 10px;
	    background: #ff8277;
	    letter-spacing: 0;
	    padding: 7px 12px;
	}
	#eventscroller .eventscroller-datetime {
    font-size: 70px;
  }
	.nosto_section .nosto .title-wrapper {

	}
	.nosto_section .nosto_row .nosto.full,
	.nosto_section .nosto_row .nosto.half,
	.nosto_section .nosto_row .nosto.third {
		width: 100%;
		margin-bottom: 30px;
		padding: 325px 0 0 0;
	}
	.nosto_section .nosto_row .nosto.half,
	.newsbox_img {
		background-position: center -40px;
	}
	.nosto_section .nosto_row .nosto.half,
	.newsbox {
		margin-bottom: 24px !important;
	}
	.newsbox_wrapper .newsbox:first-child .newsbox_content {
		height: auto !important;
	}
	.newsbox_wrapper .newsbox:first-child .newsbox_img {
		height: auto !important;
		max-height: none !important;
	}
	.newsbox_wrapper .newsbox:first-child .newsbox_title {
		margin-top: 13px !important;
		font-size: 20px !important;
		display: block !important;
		height: auto !important;
	}
	.newsbox_content {
		position: static;
	}
	.newsbox_wrapper .newsbox .newsbox_img {
		padding-top: 220px !important;
		padding-bottom: 0 !important;
	}
	/* events */
	.nosto_section .nosto_row .nosto.half,
	.eventsbox_img {
		background-position: center -40px;
	}
	.nosto_section .nosto_row .nosto.half,
	.eventsbox {
		margin-bottom: 24px !important;
	}
	.eventsbox_wrapper .eventsbox:first-child .eventsbox_content {
		height: auto !important;
	}
	.eventsbox_wrapper .newsbox:first-child .eventsbox_img {
		height: auto !important;
		max-height: none !important;
	}
	.eventsbox_wrapper .newsbox:first-child .eventsbox_title {
		margin-top: 13px !important;
		font-size: 20px !important;
		display: block !important;
		height: auto !important;
	}
	/* .eventsbox_content {
		position: static;
	}
	.eventsbox_wrapper .eventsbox .eventsbox_img {
		padding-top: 220px !important;
		padding-bottom: 0 !important;
	} */

}

.hero-title {
	margin-bottom: 53px;
}
.hero-unit_video {
	/* position: relative;
    z-index: 9999; */
	overflow:hidden;
	 padding-bottom:56.25%;
	 position:relative;
	 height:0;
}

.video-file {
	/* top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: -1;
	position: absolute;
 	z-index: -2; */
	left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.hero-unit_gif {
	/* position: relative;
    z-index: 9999; */
	overflow:hidden;
	 padding-bottom:56.25%;
	 position:relative;
	 height:0;
}

.gif-file {
	/* top: 0;
	left: 0;
	width: 100%;
	height: auto;
	z-index: -1;
	position: absolute;
 	z-index: -2; */
	left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.sounds {
	display: flex;
	justify-content: flex-end;
	padding-top: 12px;
	padding-right: 12px;
}

button.mute {
  vertical-align: bottom;
  margin-left: 4px;
  margin-right: 8px;
  font-size: 34px;
  text-align: center;
  line-height: 1.4;
  border: none;
  outline: none;
  background-color: inherit;
	background-image: url("images/volume-off.svg");
  background-repeat: no-repeat;
  width: 31px;
  height: 31px;
  padding: 0;
}
button.notmute {
  vertical-align: bottom;
  margin-left: 4px;
  margin-right: 8px;
  font-size: 34px;
  text-align: center;
  line-height: 1.4;
  border: none;
  outline: none;
  background-color: inherit;
	background-image: url("images/volume-on.svg");
  background-repeat: no-repeat;
  width: 31px;
  height: 31px;
  padding: 0;
}

.notactive {
	display: none;
}
.soundactive {
	display: block;
}


.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
		border: 1px solid #d3d3d3;
    border-right: none;
    border-left: none;
    border-top: none;
    background: url("images/nuoli_ylos.svg") !important;
    background-repeat: no-repeat !important;
    background-position: right !important;
    background-size: 35px 35px !important;
}


.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #d3d3d3;
    border-right: none;
    border-left: none;
    border-top: none;
    background: url("images/nuoli_alas.svg");
    background-repeat: no-repeat;
    background-position: right;
    background-size: 35px 35px;
}
/* page-nostot */

.page-nostot-section {
	padding-top: 76px;
	padding-bottom: 94px;
}
