@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Satisfy);

* {
	font-family: 'Lato', sans-serif;
}

body {
	background-image: url(/images/stories/ylapalkki/alppila_background.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	background-position: center center;
}

div#abovemenu {
	background: none;
}

/******
 * Logo
 ******/
div.logo h1 {
	position: absolute;
	left: 15px;
	margin-top: -55px;
/*	top: -65px;*/
	font-size: 80px !important;
	font-family: 'Satisfy', cursive;
	color: #FF6600;
	text-shadow: 0px 0px 8px black;
	text-transform: capitalize;
	z-index: 501;
}
@media screen and (max-width: 1024px) {
	div.logo h1 {
		position: fixed;
	}
}
@media screen and (max-width: 410px) {
	div.logo h1 {
		font-size: 72px !important;
		margin: 0px 5px;
	}
}

/*****
 * Abovemenuright
 *****/

div#abovemenu div#abovemenuright ul {
    padding: 0;
    margin: 0;
    margin-left: 10px;
    list-style: none;
}
div#abovemenu div#abovemenuright ul.menu li {
	background-color: rgba(255,255,255,0.9);
	padding: 3px;
	margin-right: 2em;
}
div#abovemenu div#abovemenuright ul.menu a {
    vertical-align: middle;
    font-size: 17px;
    color: rgb(8,8,0);
    text-decoration: none;
    font-family: 'OpenSans-Regular', Arial, sans-serif;
    width:initial;
    padding: 5px 10px 5px 10px;
}

#abovemenuright input.inputbox.search-query {
	background-color: rgba(255, 248, 243, 0.9);
	border: none;
	padding: 0.5em;
}

#abovemenuright .custom-language a {
    background-color: rgba(255, 248, 243, 0.9);
    padding: 6px;
    color: inherit;
    text-decoration: none;
}
ul.menu.mobiletopmenu .custom-language a {
    color: inherit;
}

#abovemenuright .socialmedialinks {
    background-color: rgba(255, 248, 243, 0.9);
    padding: 3px;
    margin-top: -1px;
}

ul.mobiletopmenu div.search input#mod-search-searchword {
    border: 1px solid #C3AFA1;
    height: 30px;
    padding-left: 5px;
}

/******
 * Common stuff
 ******/
/*ul.menu.topmenu,
div.breadcrumbs,*/
.leftbar div.category-module-container,
/*div.category-module-container div.items-row div.item,*/
.container > *:not(.leftbar),
/*div.main,
div.partners,*/
ul.menu.footer {
	box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
}
.leftbar div.category-module-container,
.container > *:not(.leftbar),
ul.menu.topmenu li ul,
.leftbar div.category-module-container div.items-row div.item {
	border-radius: 0px 0px 25px 0px;
}
a:hover, a:active {
	text-decoration: underline !important;
}

/*******
 * HelkaCal module Frontpage view in sidebar
 *******/
.sidebar .category-module-container {
	background-color: transparent !important;
}
.sidebar .category-module-container div.items-row {
	width: auto;
}
.sidebar .category-module-container div.items-row div.item {
	background-color: transparent;
}
.sidebar .category-module-container div.items-row .mod_helkacal_imagecontainer {
	height: 3em;
}
/* HelkaCal categories */
.helkacal_category32 .helkacal_date, .mod_helkacal_category-32 { background-color: rgba(0,149,255,0.1) !important; }
.helkacal_category33 .helkacal_date, .mod_helkacal_category-33 { background-color: rgba(255,102,0,0.1) !important; }

/******
 * Topmenu
 ******/
ul.menu.topmenu {
  display: block;
}
ul.menu.topmenu > li > a, ul.menu.topmenu > li > span {
  padding: 0px 20px !important; /* important needed to overwrite another important in mod_menu/tmpl/css/thintopmenu.css */
}
ul.menu.topmenu {
	background-color: rgba(255, 248, 243, 0.9) !important;
	border-bottom: none;
}
ul.menu.topmenu li.mouse-over {
	background-color: transparent;
	color: black;
	border-bottom: 10px solid rgba(255, 102, 0, 0.9);
	height: 50px;
	padding-top: 10px !important;
}
ul.menu.topmenu li.mouse-over {
	height: 25px;
}
ul.menu.topmenu li ul,
ul.menu.topmenu li ul li {
	background-color: rgb(255, 241, 231);
	color: black;
}
ul.menu.topmenu.fixedmenu {
	background-color: rgb(250, 246, 244) !important;
	border-bottom: 1px solid #C3AFA1;
}
ul.menu.topmenu li ul {
	border-color: #C3AFA1;
}
ul.menu.topmenu > li > ul {
	box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.3);
}
ul.menu.topmenu li ul div li {
	border-color: #C3AFA1;
}
ul.menu.topmenu > li {
	height: 45px;
}
ul.menu.topmenu li ul {
	top: 45px;
}

div.menuspacer {
	background: none !important;
}

ul.menu a.vertical-space {
	display: none;
}

/* Prevent columns */
/*ul.menu.topmenu li ul div.column {
	display: block;
}*/

/******
 * Breadcrumbs
 ******/
div.breadcrumbs {
	margin-bottom: 0 !important;
	background-color: rgba(255,253,252,0.9);
	height: 60px !important;
	box-shadow: none;
}

/******
 * Ajankohtaista frontpage module
 ******/
.leftbar div.category-module-container {
	background-color: rgba(255,234,221,0.9) !important;
	margin-top: 20px;
}
div.blog-title {
	border-bottom-color: #C3AFA1;
}
.leftbar div.category-module-container div.items-row div.item {
	background-color: rgba(255,255,255,0.5);
	border: 1px solid #C3AFA1;
}
.leftbar .category-module-container > div.pagination {
	border-top: thin solid #C3AFA1;
	display: none;
}
div.items-row div.item {
	padding: 5px;
}

/* Bypass JavaScript positioning */
div.items-row {
    position: relative !important;
    top: 0px !important;
    left: 0px !important;
    display: inline-block !important;
    vertical-align: top;
    margin: 3px;
}

/******
 * Rightbar frontpage modules
 ******/


.container div.carousel.df {
	margin: 20px 0 0 0;
	background-color: rgba(237, 255, 219, 0.9) !important;
}
div.carousel.df .buttons:hover {
	color: inherit;
	background: #DCEBDA;
	text-decoration: none !important;
}
div.carousel.df div.viewport ul.overview li div.carousel-item {
	background-color: transparent;
}

.container > *:not(.leftbar){
	background-color: rgba(255,248,244,0.9) !important;
}
.container > *:not(.leftbar) h2 {
	margin-top: 5px;	
}

.item-page h1 {
        font-size: 22px;
}
.item-page h2 {
        font-size: 1.5em;
}
.mod_helkacal_upcoming .helkacal_event {	
	background-color: transparent;
}
.mod_helkacal_upcoming > * {
	padding-left: 10px !important;
	padding-right: 10px !important;
}
.mod_helkacal_upcoming div.helkacal_date div {
	margin: 0;
}
.mod_helkacal_upcoming .helkacal_date {
	border: none;
	background-color: rgba(255,255,255,0.8);
	border-radius: 0px 0px 10px 0px;
}
.mod_helkacal_upcoming h2 {
	margin-top: 0.785em !important;
	font-size: 1.17em;
}
@media only screen and (max-width: 1365px) and (min-width: 1024px) {
	div.main > div.item-page {
		margin: 5px 30px 5px 10px;
	}
}

/******
 * Main and sidebar
 ******/
.main, .sidebar {
	background-color: rgba(255,250,246,0.9);
	padding: 1em !important;
}
div.main-sidebar {
	padding-bottom: 0 !important;
}

.sidebar ul.menu {
	padding: 1em;
}
.sidebar ul.menu li {
	list-style: none;
	font-size: 18px;
	padding: 0.2em;
}
.sidebar ul.menu li a {
	color: inherit;
	text-decoration: inherit;
}

/******
 * Blog prev&next
 ******/
ul.pager.pagenav li {
        list-style: none;
}
ul.pager.pagenav li.next {
        float: right;
}
ul.pager.pagenav li.previous {
        float: left;
}

/******
 * Hanna yhteystiedot
 ******/
.custom-hanna-yhteystiedot {
	background-color: rgba(60,60,60,0.9);
	color: white;
}
.hanna-yhteystiedot {
    display: inline-block;
    width: 21%;
    vertical-align: top;
    padding: 1em;
}
.custom-hanna-yhteystiedot a { color: #FF6600; }
@media screen and (max-width: 950px) {
	.hanna-yhteystiedot {
		width: 44%;
	}
}
@media screen and (max-width: 580px) {
	.hanna-yhteystiedot {
		width: 95%;
	}
}
.hanna-yhteystiedot img {
	width: 100%;
	height: auto;
}
.custom-hanna-yhteystiedot + .partners {
	box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.3);
}
/******
 * Partners
 ******/
div.partners {
	background-color: rgba(44, 47, 44, 0.9);
	color: white;
}
div.partners a img {
    background-color: rgba(255,255,255, 0.1);
    box-shadow: 0px 0px 25px 14px rgba(255,255,255,0.1);
}

/******
 * Footer
 ******/
div.bottom {
	padding-top: 0;
	border-top: none;
}
ul.menu.footer {
	margin-left: 0;
	background-color: rgba(32, 35, 32, 0.9) !important;
	color: white !important;
}

/******
 * Urban Walks
 ******/
#helkauw .helkauw_poi_marker {
	background-color: #0071AC;
	padding-top: 0px;
	margin-top: -2px;
	color: white;
/*	font-size: 22px !important;*/
	text-decoration: none;
	opacity: 1;
}
#helkauw .helkauw_poi_marker:hover {
	background-color: white;
	opacity: 1;
	color: #0071AC;
	text-decoration: none !important;
}

/* HOPEAKETTU - 06-06-2016 - Kavenna artikkeleiden leveyttä
Kumppanuustalo Hannan pyynnöstä. */
div.item-page {

	margin-left: auto;
	margin-right: auto;
	max-width: 500px;

}
