/*
Theme Name: Break
Theme URI: http://www.break.fi
Description: Kuvaus
Version: 1.0
Author: Tero Ahonen
Author URI: http://www.teroahonen.com
Tags: no tags
*/

/* Table of Content
==================================================
	#Basic Styles
	#Navigation
	#Typography
	#Links
	#Lists
	#Images
	#Buttons
	#Forms
	#Content
	#Comments template
	#Misc 
	#Media Queries
	#Print Styles*/

/* #Basic Styles
================================================== */
html, body {
	height: 100%;
}

body {
	background: #fff;
	font: 100% "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #171717;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
	-webkit-text-size-adjust: 100%;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -145px; /* the bottom margin is the negative value of the footer's height */
}
.push {
	height: 145px; /* .push must be the same height as .footer */
	clear: both;
}

/* #Navigation
================================================== */
nav {
	background: #202020;
}

nav .fb-like {
	line-height: 3.5em;
}

nav ul {
	margin: 0;
	list-style: none;
	padding: 0;
}

nav ul li {
	float: left;
	margin: 0;
}

nav ul li a {
	font-family: "jaf-bernina-sans-comp", sans-serif;
	font-weight: 600;
	color: #fff;
	display: block;
	text-transform: uppercase;
	text-decoration: none;
	padding: 22px 12px 19px;
	font-size: 1.3em;
}

nav ul li a:hover, nav ul li.current-menu-item a, nav ul li.current-page-ancestor a {
	color: #f14400;
	text-decoration: none;
}


/* #Typography
================================================== */
h1, h2, h3, h4, h5, h6 {
	color: #1c1c1c;
	font-family: "jaf-bernina-sans-comp", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	margin-top: 0;
	line-height: 1.3em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { 
	font-weight: inherit;
	text-decoration: none;
}


h1, h2 {
	color: #1c1c1c;
	font-size: 2.2em;
	margin-bottom: 20px;
}

h3, h2.blog-title, .single h2 {
	font-size: 1.6em;
	margin-bottom: 8px;
	color: #f14400;
}

h3.stripetitle {
	margin-bottom: 20px;
	display: inline-block; 
	background: #fff;
	position: relative;
	padding: 0 15px;
}

.stripehold {
	position: relative;
}

.ie7 .stripehold, .ie8 .stripehold {height: 20px;}

.stripehold hr {
    border-top: 1px solid #f14400;
    display: block;
    height: 1px;
    content: " ";
    width: 100%;
    position: absolute;
    left: 0;
    top:18px;
    margin: 0;
}

h4 {
	font-size: 1.312em;
	line-height: 1.875em;
	margin-bottom: 4px;
}

h5 {
	font-size: 1.062em; 
	line-height: 1.6em;
	margin-bottom: 6px;
}

h6 {
	font-size: 0.875em;
	line-height: 1.2em;
	margin-bottom: 4px;
}
p {
	margin: 0 0 20px 0;
}

p img {
	margin: 0; 
}

em {
	font-style: italic; 
}
strong {
	font-weight: bold; 
}

/*	Blockquotes  */
blockquote, 
blockquote p {
	font-size: 17px;
	line-height: 24px;
	color: #777;
	font-style: italic;
}

blockquote {
	margin: 0 0 20px;
	padding: 9px 20px 0 19px;
	border-left: 1px solid #ddd;
}
blockquote cite {
	display: block;
	font-size: 12px;
	color: #555;
}
blockquote cite:before {
	content: "\2014 \0020";
}
blockquote cite a,
blockquote cite a:visited,
blockquote cite a:visited {
	color: #555; 
}

hr {
	border: solid #e7e7e7;
	border-width: 1px 0 0;
	clear: both; 
	margin: 10px 0 30px;
	height: 0;
}

hr.dot {
	margin: 30px 0;
	text-align: center;
}

hr.dot:after {
    content: url(images/hr-dot.png);
    display: inline-block;
    position: relative; 
    top: -0.7em;  
}

/* #Links
================================================== */
	a { color: #f14400; text-decoration: underline; outline: 0; background: none;}
	a:hover, a:focus { color: #444; }
	p a, p a:visited { line-height: inherit; }
	a:hover img {opacity: 0.7;}
	
/* #Lists
================================================== */
ul, ol { margin-bottom: 20px; margin-left: 0; padding-left: 20px; }
ul { list-style:square url(images/li-icon.png); }
ol { list-style: decimal; }
li { line-height: 18px; margin-bottom: 12px; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }


/* #Images
================================================== */

img {
	margin: 0;
	max-width: 100%;
	height: auto;
	border: 0;
}

.post img {
	max-width: 100%;
	height: auto;
	width: auto\9;
	max-height: auto;
	
}
.attachment img {
	max-width: 100%;
	height: auto;
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 14px;
	margin-top: 3px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 14px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft, 
img.alignright, 
img.aligncenter {
	margin-bottom: 10px;
}
.wp-caption {
	line-height: 18px;
	text-align: center;
	margin-bottom: 5px;
	padding: 0px;
	margin-right: 0px;
}
.wp-caption img {
	margin: 0px 0px 0;
}
.wp-caption p.wp-caption-text {
	margin: 5px 0 9px;
	color: #3e3e3e;
	font-size: 0.75em;
}
.wp-smiley {
	margin:0;
}
.gallery {
	margin: auto;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery .gallery-caption {
	color: #3e3e3e;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}

/* #Buttons
================================================== */

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
background: #fb6124; /* Old browsers */
background: -moz-linear-gradient(top,  #fb6124 0%, #fb6124 52%, #f04501 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb6124), color-stop(52%,#fb6124), color-stop(100%,#f04501)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#f04501 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#f04501 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#f04501 100%); /* IE10+ */
background: linear-gradient(to bottom,  #fb6124 0%,#fb6124 52%,#f04501 100%); /* W3C */

	border: 1px solid #aaa;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 0,687em;
	text-decoration: none;
	cursor: pointer;
	margin-bottom: 20px;
	line-height: normal;
	padding: 8px 10px;
	font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
background: #fb6124; /* Old browsers */
background: -moz-linear-gradient(top,  #fb6124 0%, #fb6124 52%, #d94206 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb6124), color-stop(52%,#fb6124), color-stop(100%,#d94206)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* IE10+ */
background: linear-gradient(to bottom,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* W3C */

	border: 1px solid #888;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active {
	border: 1px solid #666;
background: #fb6124; /* Old browsers */
background: -moz-linear-gradient(top,  #fb6124 0%, #fb6124 52%, #d94206 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb6124), color-stop(52%,#fb6124), color-stop(100%,#d94206)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* IE10+ */
background: linear-gradient(to bottom,  #fb6124 0%,#fb6124 52%,#d94206 100%); /* W3C */
}

.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
	width: 100%;
	padding-left: 0 !important;
	padding-right: 0 !important;
	text-align: center;
}

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* #Forms
================================================== */

form {
	margin-bottom: 20px;
}
	
fieldset {
	margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
	border: 1px solid #ccc;
	padding: 6px 4px;
	outline: none;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #777;
	margin: 0;
	width: 210px;
	max-width: 100%;
	display: block;
	margin-bottom: 20px;
	background: #fff;
}

select {
	padding: 0;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
textarea:focus {
	border: 1px solid #aaa;
	color: #444;
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
	box-shadow:  0 0 3px rgba(0,0,0,.2);
}

textarea {
	min-height: 60px;
}

label,
legend {
	display: block;
	font-weight: bold;
	font-size: 13px;
}

select {
	width: 220px;
}

input[type="checkbox"] {
	display: inline;
}

label span,
legend span {
	font-weight: normal;
	font-size: 13px;
	color: #444;
}

.gform_wrapper .top_label textarea.textarea {
	padding: 5px;
	font-size: 15px;
}

.gform_wrapper .gfield_description {
	font-size: 1em;
}

#field_1_10 .gfield_label {
	display: none;
}
/* #Comments template
================================================== */

.commentlist {
	padding-top: 15px;
}

.commentlist h3 {
	font-size: 26px;
	margin-bottom: 30px;
	margin-left: 0;
	line-height: 26px;
}

#respond input[type="text"],
#respond input[type="password"],
#respond input[type="email"],
#respond textarea,
#respond select {
	width: 400px;
	margin-bottom: 0;
}

ol.commentlist {
	list-style: none;
	margin-left: 0;
}

ol.commentlist li {
	margin-bottom: 40px;
}

.commentlist cite.fn {
	font-size: 24px;
	font-weight: bold;
	font-style: normal;
	margin-bottom: 0;
	line-height: 70%;
}

.commentlist span.says {
	display: none;
}

.commentlist .comment-meta {
	margin-bottom: 20px;
}

.commentlist .comment-meta a {
	font-family: "Rokkitt", "American Typewriter", "Courier", "Times New Roman", serif;
	font-size: 15px;
	margin-bottom: 3px;
	line-height: 90%;
	font-weight: bold;
	text-decoration: none;
}

.commentlist ul.children {
	list-style: none;
	margin-left: 40px;
}

.commentlist ul.children li {
	margin: 40px 0 40px;
}

.commentlist .comment-author img {
	display: none;
}

/* Own styles */
.nobottom {
	margin-bottom: 0;
}

header .header-holder {
	position: relative;
}

header .logo {
	position: absolute;
	top: 20px;
	bottom: 13px;
	left: 0;
	width: 100%;
	height: auto;
}

header .logo img {
	max-height: 314px;
	position: absolute;
	height: 100%;
}

header .header-img img {
	width: 100%;
}

#page-content {
	padding: 40px 0 30px 0;
	background: url(images/header-bottom-bg.jpg) repeat-x top left;
}

.content p, .content li, dd {
	font-size: 0.8em;
	line-height: 1.3em;
}

/* frontpage */
.frontposts .date {
	width: 60px;
	padding: 10px 0;
}

.frontposts a {
	text-decoration: none;
	color: #171717;
}

.frontposts a:hover .small-title {
	color: #f14400;
}

.frontposts .small-title {
	font-family: "utopia-std";
	font-weight: 600;
	margin-bottom: 0;
	font-style: normal;
	font-size: 1em;
}

.frontposts p, .home ul.ownskit-events {
	font-style: italic;
}

.home ul.ownskit-events a {
	text-decoration: none;
}

.home ul.ownskit-events a:hover strong {
	color: #f14400;
}

.home ul.ownskit-events li {
	margin-bottom: 19px;
}

.home ul.ownskit-events strong {
	font-style: normal;
	font-family: "utopia-std";
	font-weight: 600;
	font-size: 1.2em;
	color: #171717;
}

.frontlift {
	text-align: center;
}

.frontlift img {
	margin-bottom: 20px;
}

.frontlift a {
	text-decoration: none;
	display: block;
}

.frontlift a p {
	color: #171717;
	font-style: italic;
}

.slogan {
	font-family: "utopia-std";
	font-weight: 600;
	text-align: center;
	font-size: 1.7em;
	font-style: italic;
}

span.orange {
	color: #f14400;
}

/* aside */
aside#dance-sub {
	margin-top: 65px;
}

aside.subnav ul, ul.socmed-links, ul.plain-ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

aside.subnav ul li {
	margin-bottom: 3px;
}

aside.subnav ul li a {
	text-decoration: none;
	color: #1c1c1c;
	display: block;
	padding: 10px;
}

aside.subnav ul li.current_page_item a, aside.subnav ul li a:hover {
	background: #f14400;
	color: #fff;
	font-weight: bold;
}

/* events */
.ownskit-events .datespansep {
	float: none;
	display: inline;
}

.ownskit-events div.date {
	width: 85px;
	padding: 5px 0;
}

/* wpallery */
.wpalbum-item {
	width: 140px;
	height: 200px;
	float: left;
	margin: 0 8px;
}

.wpalbum-item a {
	color: #000;
	text-decoration: none;
}

.wpalbum-item a:hover {
	color: #f14400;
}

dd {
	margin: 0;
}

/* blogi */
.row-fluid .span-own-1 {
	width: 9%;
}

.row-fluid .span-own-11 {
	width: 88.8%;
}

div.date {
	font-family: "jaf-bernina-sans-comp", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
	background: #f14400;
	color: #fff;
	font-size: 1.8em;
	text-align: center;
	width: 80px;
	padding: 15px 0;
	margin-bottom: 15px;
}

ul.socmed-links {
	margin-left: 5px;
}

ul.socmed-links li {
	display: inline;
}

img.wp-post-image {
	float: left;
	margin-right: 20px;
}

.older {
	float: left;
}

.newer {
	float: right;
}

/* footer */
footer {
	padding-top: 30px;
	height: 115px;
	background: url(images/footer-bg.jpg) repeat-x top left #202020;
	color: #fff;
	text-align: center;
	font-size: .9em;
	line-height: 1.3em;
}

footer hr {
	border: 1px solid #2a2a2a;
	margin: 10px 0 15px 0;
}

.ie7 footer hr {
	margin: 0;
}

.shownav {
	display: none; 
	cursor: pointer;
	font-family: "jaf-bernina-sans-comp", sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	font-size: 1.6em;
	background: url(images/mobile-arrow-down.png) no-repeat right center;
}

.shownav p {
	margin: 10px 0;
}

iframe {max-width: 100%;}

/* #Media Queries
================================================== */

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (max-width: 979px) and (min-width: 768px) {
	nav ul li a {padding: 20px 10px; font-size: 1.1em;}
	.frontposts .date {width: 45px; padding: 5px 0; font-size: 1.6em;}
	.home ul.ownskit-events strong {font-size: 1em;}
	.row-fluid .span3.fb-box {width: 100%; margin-left: 0;}
	.fb-box iframe {width: 100% !important;}
	.row-fluid .span-own-11 {width: 84%;}
	.row-fluid .span-own-1 {width: 12%;}
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
	.row-fluid .span-own-11, .row-fluid .span-own-1 {width: 100%;}
	body {padding: 0;}
	.container {padding: 0 20px;}
	nav ul li {float: none; margin-left: 20px;}
	nav ul li a {padding: 15px 0;}
	.shownav {display: block;}
	.toggling {display: none;}
	.toggling.open {display: block;}
	.shownav.toggled {background: url(images/mobile-arrow-up.png) no-repeat right center;}
	aside#dance-sub {margin: 0 0 20px 0;}
	footer {height: auto;}
	.frontposts .span2 {width: 80px; float: left;}
	.frontposts {margin-bottom: 20px;}
	.frontposts p {padding-left: 80px;}
	.fb-box iframe {margin-top: 20px; width: 100% !important;}

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.row-fluid .span-own-1 {margin-bottom: 10px; width: 100px; float: left;}
	img.wp-post-image {float: none; margin: 0 0 20px 0;}
	.wpalbum-cover {text-align: center;}
	.wpalbum-item {width: 28%;}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	.gform_wrapper .top_label input.medium {margin-bottom: 10px; width: 90%;}
	.gform_wrapper ul li.gfield.clearit {clear: both;}
	.row-fluid .span-own-1 {margin-bottom: 20px;}
	.wpalbum-item {width: 100%;}
}

/* #Print Styles
================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  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: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  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; }
}