/*
Theme Name: ORL
Description: ORL
Author: Kolme Amigoa
Version: 1.1
Tags: 
*/

/* ---------------------------------- */

/*
 * orl.fi
 * 2012
 *
 * style.css
 *
 * 
 */

/* ---------------------------------- */

/* Reset */

html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

img { border: 0; }
    
ol, ul, dl { list-style: none; }

/* ---------------------------------- */

/* HTML5 */

article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, mark, time {  
	display:block;
}

/* ---------------------------------- */

/* Global */

body {
	color: #383838;
	font: 14px Helvetica, Arial, sans-serif;
}

p {
	line-height: 23px;
	margin-bottom: 20px;
}

a {
	color: #3CA5A6;
}

a:hover {
	color: #074C6F;
}
a.banner-img{
	margin-top: 20px;
	display: block;
}
a.banner-img:hover{
	opacity: 0.7;
}
h1 {
	font-size: 30px;
	font-weight: normal;
	margin-bottom: 20px;
	text-transform: uppercase;
}

h2 {
	font-size: 15px;
	font-weight: normal;
	margin-bottom: 20px;
	text-transform: uppercase;
}

h2.nopad {
	margin-bottom: 3px;
}

h3 {
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 10px;
	text-transform: uppercase;
}

/* ---------------------------------- */

/* Content */

div#wrap {
	margin: 0 auto;
	width: 1020px;
}

aside {
	float: left;
	width: 316px;
}

div.content-wrap {
	background: url(img/ui/bg_vert.png) 408px 0 repeat-y;
	border-bottom: 1px #E5E5E5 solid;
	float: left;
}

section#content {
	float: left;
	width: 704px;
}

section.cont-left-1 {
	float: left;
	width: 408px;
}

div.cont-left-1-cont {
	border-bottom: 1px #E5E5E5 solid;
	padding-right: 10px;
}

div.cont-left-1-left {
	float: left;
	width: 136px;
}

img#home-card {
	margin-left: -20px;
}

div.cont-left-1-right {
	float: left;
	padding: 30px 10px 0 20px;
	width: 242px;
}

section.cont-right-1 {
	float: left;
	width: 266px;
}

div.cont-right-cont {
	padding-left: 20px;
}

section.cont-left-2 {
	float: left;
	padding-right: 10px;
	width: 262px;
}

section.cont-right-2 {
	float: left;
	padding-right: 20px;
	width: 382px;
}

section.cont-left-3 {
	border-bottom: 4px #3CA5A6 solid;
	border-right: 1px #E5E5E5 solid;
	float: left;
	margin-bottom: 40px;
	padding: 30px 20px 0 0;
	width: 271px;
}

section.cont-right-3 {
	border-bottom: 4px #3CA5A6 solid;
	float: left;
	margin-bottom: 40px;
	padding: 30px 14px 0 0;
	width: 388px;
}

div.cont-right-3-left {
	float: left;
	position: relative;
	width: 190px;
}

div.cont-right-3-right {
	float: left;
	text-align: right;
	width: 198px;
}

section.content-wide-sub {
	border-bottom: 4px #3CA5A6 solid;
	float: left;
	margin-bottom: 10px;
	width: 674px;
}

div.cont-wide-border {
	border-bottom: 1px #E5E5E5 solid;
	float: left;
	padding: 20px 0 10px 0;
}

div.content-wide-left {
	float: left;
	width: 337px;
}

div.content-wide-right {
	float: left;
	width: 337px;
}

div#main-img {
	margin: -30px 0 20px 0;
}

section.content-wide-sub ul {
	line-height: 23px;
	list-style: disc;
	margin-bottom: 20px;
	padding: 0 0 0 20px;
}

section.content-wide-sub ol {
	line-height: 23px;
	list-style: decimal;
	margin-bottom: 20px;
	padding: 0 0 0 20px;
}

div#content-2col-wrap {
	background: url(img/ui/bg_content2colwrap.jpg) 407px 0 repeat-y;
	float: left;
	margin-bottom: 25px;
}

section.content-left {
	border-bottom: 4px #3CA5A6 solid;
	float: left;
	padding: 0 20px 20px 0;
	width: 387px;
}

section.content-right {
	border-bottom: 4px #3CA5A6 solid;
	float: left;
	padding: 0 20px 20px 20px;
	width: 227px;
}

/* ---------------------------------- */

/* Header */

h1#toplogo {
	margin: 0;
	padding: 0;
}

h1#toplogo a {
	background: url(img/ui/bg_header.jpg) no-repeat;
	display: block;
	height: 177px;
	margin-bottom: 30px;
	overflow: hidden;
	text-indent: -9999px;
}

/* ---------------------------------- */

/* Main menu and aside */

aside h1 {
	margin: 0;
	padding: 0;
}

aside h1 a {
	background: url(img/ui/logo.jpg) no-repeat;
	display: block;
	height: 308px;
	overflow: hidden;
	text-indent: -9999px;
	width: 237px;
}

nav ul {
	font-size: 16px;
	width: 257px;
}

nav ul li a {
	color: #074C6F;
	display: block;
	line-height: 35px;
	padding: 0 52px 0 0;
	text-align: right;
	text-decoration: none;
}

nav ul a:hover {
	background: #074C6F url(img/ui/bg_mainmenu.jpg) top right no-repeat;
	color: #fff;
}

body.page-id-4 nav ul li#menu-item-113 a,
body.page-id-5 nav ul li#menu-item-113 a,
body.page-id-6 nav ul li#menu-item-113 a,
nav ul li.current-menu-item a, 
nav ul li.current-post-ancestor a, 
nav ul li.current-page-ancestor a, 
nav ul li.current-category-ancestor a,
body.home nav ul li#menu-item-23 a,
nav ul li.current_page_item a {
	background: #074C6F url(img/ui/bg_mainmenu.jpg) top right no-repeat;
	color: #fff;
	/*text-transform: uppercase;*/
}

nav ul ul, ul#member-navi ul {
	display: none;
}

nav ul ul a:hover, ul#member-navi ul a:hover {
	text-decoration: underline;
}

body.page-id-4 nav ul li#menu-item-113 ul,
body.page-id-5 nav ul li#menu-item-113 ul,
body.page-id-6 nav ul li#menu-item-113 ul,
nav ul li.current-menu-item ul,
nav ul li.current-menu-item ul, 
nav ul li.current-post-ancestor ul, 
nav ul li.current-page-ancestor ul, 
nav ul li.current-category-ancestor ul,
nav ul li.current_page_item ul,
ul#member-navi li.current-menu-item ul,
ul#member-navi li.current-post-ancestor ul, 
ul#member-navi li.current-page-ancestor ul, 
ul#member-navi li.current_page_ancestor ul, 
ul#member-navi li.current-category-ancestor ul,
ul#member-navi li.current_page_item ul {
	display: block !important;
}

body.page-id-4 nav ul li#menu-item-113 ul a,
body.page-id-5 nav ul li#menu-item-113 ul a,
body.page-id-6 nav ul li#menu-item-113 ul a,
nav ul li.current-menu-item ul a, 
nav ul li.current-post-ancestor ul a, 
nav ul li.current-page-ancestor ul a, 
nav ul li.current-category-ancestor ul a,
nav ul li.current_page_item ul a,
ul#member-navi li.current-menu-item ul a,
ul#member-navi li.current-post-ancestor ul a
ul#member-navi li.current-page-ancestor ul a,
ul#member-navi li.current_page_ancestor ul a, 
ul#member-navi li.current-category-ancestor ul a,
ul#member-navi li.current_page_item ul a {
	background: url(img/ui/bg_mainmenu_sub.jpg) no-repeat;
	color: #3CA5A6;
	line-height: 36px;
	padding-right: 82px;
}

body.page-id-4 nav ul ul li#menu-item-113 a,
body.page-id-5 nav ul ul li#menu-item-113 a,
body.page-id-6 nav ul ul li#menu-item-113 a,
nav ul ul li.current-menu-item a, 
nav ul ul li.current-post-ancestor a, 
nav ul ul li.current-page-ancestor a, 
nav ul ul li.current-category-ancestor a,
nav ul ul li.current_page_item a,
ul#member-navi ul li.current-menu-item a, 
ul#member-navi ul li.current-post-ancestor a, 
ul#member-navi ul li.current-page-ancestor a, 
ul#member-navi ul li.current-category-ancestor a,
ul#member-navi ul li.current_page_item a {
	color: #074C6F;
	text-decoration: underline;
}

/* ---------------------------------- */

/* Login */

div#login {
	border-bottom: 1px #E5E5E5 solid;
	border-top: 1px #E5E5E5 solid;
	margin: 10px 0 0 30px;
	padding: 15px 0;
	width: 175px;
}

div#login h1 {
	font-size: 15px;
	margin-bottom: 10px;
}

div#login input {
	border: 1px #C6C6C6 solid;
	color: #C6C6C6;
	display: block;
	font-size: 14px;
	margin-bottom: 16px;
	padding: 10px;
	width: 155px;
}

div#login input[type=image] {
	border: none;
	padding: 0;
	width: auto;
}

/* ---------------------------------- */

/* Member navi */

ul#member-navi, ul#account-navi {
	background: url(img/ui/bg_membernavi.png) no-repeat;
	font-size: 16px;
	margin-top: 10px;
	padding: 20px 0 10px 0;
	width: 257px;
}

ul#member-navi a, ul#account-navi a {
	color: #3CA5A6;
	display: block;
	line-height: 35px;
	padding: 0 52px 0 0;
	text-align: right;
	text-decoration: none;
}

ul#member-navi a:hover, ul#account-navi a:hover {
	background: #074C6F url(img/ui/bg_mainmenu.jpg) top right no-repeat;
	color: #fff;
}

ul#member-navi li.current-menu-item a,
ul#member-navi li.current_page_item a {
	background: #074C6F url(img/ui/bg_mainmenu.jpg) top right no-repeat;
	color: #fff;
}

a.logout {
	display: block;
	margin: 10px 0 0 30px;
}

/* ---------------------------------- */

/* News */

section.home-news-item {

}

section.home-news-item h1 {
	font-size: 15px;
	margin-bottom: 0;
	line-height: 23px;
}

section.home-news-item h1 a {
	color: #383838;
	text-decoration: none;
}

section.home-news-item p {

}

article {
	border-top: 1px #3CA5A6 solid;
	padding: 10px 0 0 0;
	width: 388px;
}

article h1 {
	font-size: 15px;
	margin-bottom: 0;
}

p.date {
	color: #074C6F;
	font-size: 11px;
	text-transform: uppercase;
}

a.uudemmat {
	float: right;
}

div.rss-item {

}

div.rss-item h1 {
	font-size: 15px;
	margin-bottom: 0;
}

p.source {
	background: #3CA5A6;
	border-radius: 2px;
	color: #fff;
	display: inline;
	font-size: 11px;
	padding: 5px 10px;
	text-transform: uppercase;
}

div.rssitem {
	padding: 10px 0 15px 0;
}

div.rssitem h1{
	margin-bottom: 13px;
}

div.rssitem br{
	display: none !important;
}

div.rssitem a {
	display: block;
	font-size: 15px;
	margin-bottom: 0;
}

span.feed-source {
	background: #3CA5A6;
	border-radius: 2px;
	color: #fff;
	display: inline;
	font-size: 11px;
	padding: 5px 10px;
	text-transform: uppercase;
}

/* ---------------------------------- */

/* Events */

section.event {
	border-top: 1px #E5E5E5 solid;
	clear: both;
	margin-top: 30px;
	padding: 30px 0 0 20px;
}

section.event h1 {
	font-size: 24px;
	margin-bottom: 10px;
}

/* ---------------------------------- */

/* Misc content */

section.cont-left-2 p, section.cont-right-2 p {
	font-size: 13px;
}

section.cont-left-3 h2 { 
	font-size: 15px;
	font-weight: normal;
	line-height: 23px;
	margin-bottom: 0;
	text-transform: uppercase;
}

div.cont-right-3-right h1 {
	font-size: 20px;
	margin-bottom: 5px;
}

div.cont-right-3-left img {
	left: 25px;
	position: absolute;
}

section#content ul {
	margin-bottom: 20px;
}

ul.hakemus {
	font-size: 18px;
	padding-left: 50px;
}

ul.hakemus li {
	margin-bottom: 20px;
}

ul.hakemus strong {
	font-size: 24px;
}

/* ---------------------------------- */

/* Footer */

footer {

}

/* ---------------------------------- */

/* Form */

form {
	
}
form ul{
	padding-left: 0px !important; 
}
form ul li {
	list-style: none !important;
}
label {
	display: block;
}

input, select, textarea {

}
input[type = 'submit']{
	display: block !important;
	margin-bottom: 20px !important;
}
input[type = 'text' ], input[type = 'email' ], select {
	height: 19px;
    width: 320px;
    border: 1px #b1a8a8 solid;
    margin-bottom: 10px;
}
div.validation_message{
	margin-top: -10px;
}
textarea{
	width: 320px;
	border: 1px #b1a8a8 solid;
}
textarea {
}

div.popup input[type=submit] {

}

/* ---------------------------------- */

/* Kysely */

body.page-template-tmpl_kysely div#wrap {
  width: 674px;
}

body.page-template-tmpl_kysely section#content {
  float: none;
  width: 674px;
}

body.page-template-tmpl_kysely table {
	width: 100%;
}

body.page-template-tmpl_kysely div.gform_wrapper {
	border-top: 1px solid #3CA5A6;
	margin-bottom: 100px;
	margin-top: 50px;
	padding-top: 50px;
}

body.page-template-tmpl_kysely div.gform_wrapper li {
	margin-bottom: 40px;
}

body.page-template-tmpl_kysely div.gform_wrapper li.lyhyt-teksti {
	box-sizing: border-box;
	float: left;
	padding-right: 10px;
	width: 50%;
}

body.page-template-tmpl_kysely div.gform_wrapper li.lyhyt-teksti-oikea {
	padding-left: 10px;
	padding-right: 0;
}

body.page-template-tmpl_kysely label {
	display: inline-block;
	font-size: 1rem;
	margin-bottom: 2px;
}

body.page-template-tmpl_kysely ul.gform_fields > li > label.gfield_label {
	font-weight: bold;
}

body.page-template-tmpl_kysely ul.gform_fields > li.lyhyt-teksti > label.gfield_label {
	font-weight: normal;
}

body.page-template-tmpl_kysely input,
body.page-template-tmpl_kysely textarea {
	box-sizing: border-box;
	font-size: 1rem;
	padding: 5px;
	width: 100%;
}

body.page-template-tmpl_kysely textarea {
	border-color: #ccc;
}

body.page-template-tmpl_kysely input[type=checkbox],
body.page-template-tmpl_kysely input[type=radio] {
	padding: 0;
	width: auto;
}

body.page-template-tmpl_kysely input[type=submit] {
	background: #3CA5A6; 
	border: none;
	color: #fff;
	padding: 10px 20px;
	width: auto;
}

body.page-template-tmpl_kysely div.gform_wrapper ul.gfield_checkbox li,
body.page-template-tmpl_kysely div.gform_wrapper ul.gfield_radio li {
	margin-bottom: 5px;
}

div.validation_error {
	color: red;
	padding: 20px 0;
}

div.validation_message {
	color: red;
}

div.gform_confirmation_wrapper {
	border-top: 1px solid #3CA5A6;
	margin-bottom: 100px;
	margin-top: 50px;
	padding-top: 50px; 
}

body.page-template-tmpl_kysely input[type=radio] + input[type=text] {
	display: inline-block;
	width: 50%;
}

body.page-template-tmpl_kysely div.ginput_container_select {
	display: inline-block;
	margin-left: 20px;
}

body.page-template-tmpl_kysely h2 {
	font: 1rem Helvetica, Arial, sans-serif;
	font-weight: bold;
	text-transform: none;
}

body.page-template-tmpl_kysely span.gfield_required {
	color: #3CA5A6;
	margin-left: 5px;
}

body.page-template-tmpl_kysely img.gform_ajax_spinner {
	margin-left: 20px;
}

/* ---------------------------------- */

/* Misc */

div.clear {
	clear: both;
	height: 1px;
}

div.message {
	background: #E5FAFF;
	border: 1px #D6D6D6 solid;
	display: none;
	font-style: italic;
	margin: 10px 0 0 0;
	padding: 10px 20px;
}

div.important {
	display: none;
}

div#popup-bg {
	background: #000;
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	z-index: 19;
}

a img {
	border: 0;
}

a.more {
	background: url(img/ui/btn_lisaa.jpg) no-repeat;
	display: block;
	height: 34px;
	overflow: hidden;
	text-indent: -9999px;
	width: 113px;
}

a.more:hover {
	opacity: 0.8;
}

a.more-right {
	float: right;
}

a.hae-jaseneksi {
	background: url(img/ui/btn_haejaseneksi.jpg) no-repeat;
	display: block;
	height: 34px;
	overflow: hidden;
	text-indent: -9999px;
	width: 172px;
}

/* Secret additions */

#loginform p label{
	display: none;
	}
	
#loginform p {
	padding: 0 !important;
	margin: 0 !important;
	}
	
.nostyle {
	padding: 0;
	margin: 0;
	list-style: none;
	}
	
.collab {
	display: block;
	padding: 0 110px 0 37px;
	margin: 20px 0;
	}
	
/* */

table.events-table,
table.em-tickets,
table#dbem-bookings-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: left !important;
	}
	
table.events-table thead,
table#dbem-bookings-table thead{
	border-bottom: 1px solid #ddd;
	padding: 5px 0;
	}
	
table.events-table thead th,
table.em-tickets thead th,
table#dbem-bookings-table thead th{
	padding: 0 0 10px 0;
	}	
	
table.em-tickets th {
	border-bottom: 1px dashed #ccc;
	padding: 5px 0 15px 0;
	}

table.events-table tbody td,
table#dbem-bookings-table tbody td{
	padding: 10px 0 10px 0;
	border-bottom: 1px solid #ddd;
	}	
	
table.em-tickets tbody td{
	padding: 10px 0 10px 0;
	border-bottom: 1px dashed #ccc;
	}	

.em-booking-form-details {
	padding: 0 0 20px 0 !important;
	}
	
/* */

.mailer textarea {
	width: 90%;
	height: 70px;
	margin-bottom: 20px;
	}

ul.future-events {
	list-style: none;
	padding: 5px 0 0 0;
	margin: 0;
	}
	
ul.future-events  li,	
ul.future-events ul,
ul.future-events ul li {
	list-style: none;
	padding: 0;
	margin: 0;
	}
	
ul.future-events h3.widget-title {
	display: none;
	}
	
@media only screen and (max-width : 700px) { 
	body.page-template-tmpl_kysely div#wrap {
	  width: 90%;
	}

	body.page-template-tmpl_kysely section#content {
	  width: 100%;
	}

	h1#toplogo a {
    background: url(img/ui/bg_header.jpg) no-repeat;
    background-size: contain;
  }
}