/*
Theme Name: Tanssiurheilu
Theme URI: http://underscores.me/
Author: Datalatu Oy
Author URI: http://www.datalatu.fi/
Description: Tanssiurheiluliiton teema
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dancesport
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Tanssiurheilu is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/* FONTS */

@font-face {
    font-family: ExoBlackItalic;
    src: url(fonts/Exo-Black-Italic.otf);
}
@font-face {
    font-family: ExoBlack;
    src: url(fonts/Exo-Black.otf);
}
@font-face {
    font-family: ExoBoldItalic;
    src: url(fonts/Exo-Bold-Italic.otf);
}
@font-face {
    font-family: ExoBold;
    src: url(fonts/Exo-Bold.otf);
}
@font-face {
    font-family: ExoDemiBoldItalic;
    src: url(fonts/Exo-DemiBold-Italic.otf);
}
@font-face {
    font-family: ExoDemiBold;
    src: url(fonts/Exo-DemiBold.otf);
}
@font-face {
    font-family: ExoExtraBoldItalic;
    src: url(fonts/Exo-ExtraBold-Italic.otf);
}
@font-face {
    font-family: ExoExtraBold;
    src: url(fonts/Exo-ExtraBold.otf);
}
@font-face {
    font-family: ExoExtraLightItalic;
    src: url(fonts/Exo-ExtraLight-Italic.otf);
}
@font-face {
    font-family: ExoExtraLight;
    src: url(fonts/Exo-ExtraLight.otf);
}
@font-face {
    font-family: ExoLightItalic;
    src: url(fonts/Exo-Light-Italic.otf);
}
@font-face {
    font-family: ExoLight;
    src: url(fonts/Exo-Light.otf);
}
@font-face {
    font-family: ExoMediumItalic;
    src: url(fonts/Exo-Medium-Italic.otf);
}
@font-face {
    font-family: ExoMedium;
    src: url(fonts/Exo-Medium.otf);
}
@font-face {
    font-family: ExoRegularItalic;
    src: url(fonts/Exo-Regular-Italic.otf);
}
@font-face {
    font-family: ExoRegular;
    src: url(fonts/Exo-Regular.otf);
}
@font-face {
    font-family: ExoThinItalic;
    src: url(fonts/Exo-Thin-Italic.otf);
}
@font-face {
    font-family: ExoThin;
    src: url(fonts/Exo-Thin.otf);
}
@font-face {
font-family: 'Myriad Pro Regular';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Regular'), url('fonts/MYRIADPRO-REGULAR.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Condensed';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Condensed'), url('fonts/MYRIADPRO-COND.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Semibold Italic';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Semibold Italic'), url('fonts/MYRIADPRO-SEMIBOLDIT.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Semibold';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Semibold'), url('fonts/MYRIADPRO-SEMIBOLD.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Condensed Italic'), url('fonts/MYRIADPRO-CONDIT.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Bold Italic';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Bold Italic'), url('fonts/MYRIADPRO-BOLDIT.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Bold Condensed Italic';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Bold Condensed Italic'), url('fonts/MYRIADPRO-BOLDCONDIT.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Bold Condensed';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Bold Condensed'), url('fonts/MYRIADPRO-BOLDCOND.woff') format('woff');
}
@font-face {
font-family: 'Myriad Pro Bold';
font-style: normal;
font-weight: normal;
src: local('Myriad Pro Bold'), url('fonts/MYRIADPRO-BOLD.woff') format('woff');
}

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Myriad Pro Regular';
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 1.9em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Myriad Pro Regular';
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #4f1246;
	text-transform: uppercase;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #4f1246;
	border-radius: 0px;
	background: white;
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.87rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 0px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #4f1246;
}

a:visited {
	color: #4f1246;
}

a:hover,
a:focus,
a:active {
	color: #4f1246;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	float: left;
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}


/* DATALATU */

html,
body {
	margin:0;
	padding:0;
	height:100%;
	/*background-image: url("/wp-content/themes/dancesport/img/ds-yla.png"), url("/wp-content/themes/dancesport/img/ds-ala.png");
	background-repeat: no-repeat, no-repeat;
	background-position: right top, right bottom;
	background-size: 400px, 400px; */
	background-image: url("/wp-content/themes/dancesport/img/ds5.jpg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 1920px auto;
	background-attachment: fixed;
}
ul, ol {
	margin: 10px 0;
}
html, body, button, input, select, textarea {
	font-family: 'Myriad Pro Regular', sans-serif;
}
#masthead, #content, #colophon .site-info {
	width: 1140px;
	margin: 0 auto;
}
#page {
    min-height: 100%;
    position: relative;
}
#content {
    /*padding-bottom: 270px;*/	/* Height of the footer */
}
#content #primary {
	margin: 25px 15px;
}
body {
-webkit-animation: fadein 1s;
   -moz-animation: fadein 1s;
-ms-animation: fadein 1s;
 -o-animation: fadein 1s;
	animation: fadein 1s;
}

@keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
	from { opacity: 0; }
	to   { opacity: 1; }
}

a {
	-o-transition:.5s;
	-ms-transition:.5s;
	-moz-transition:.5s;
	-webkit-transition:.5s;
	transition:.5s;
	outline: 0 !important;
}
.clear {
    clear: both;
}
#colophon {
	/*position:absolute;*/
	bottom:0;
	width:100%;
	/*height:270px;*/   /* Height of the footer */
	background-color: #4f1246;
	border-top: 15px solid white;
	color: white;
	text-transform: uppercase;
}
#logo {
	max-width: 350px;
	margin-top: 10px;
	float: left;
}
#logo:hover {
	opacity: 0.85;
}
#site-header {
	font-size: 22px;
	line-height: 30px;
	color: rgba(78,18,70,1);
	float: left;
	font-family: ExoLightItalic, sans-serif;
	margin-top: 20px;
	margin-left: 20px;
	width: auto;
	text-align: left;
}
#site-header span {
	display: block;
}
#site-header span:first-child {
	margin-left: 0px;
}
#site-header span:last-child {
	margin-left: 18px;
}
.site-info {
	padding: 28px;
	font-family: "Myriad Pro Regular";
}

h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter,
h5::first-letter,
h6::first-letter {
	font-size: 140%;
}

.page-content, .entry-content, .entry-summary {
	margin: 0;
}
.fa-search {
	cursor: pointer;
	opacity: 0.9;
}
.fa-search:hover {
	opacity: 1;
}
#seurat h2 {
	display: none;
}
#seurat table {
	margin-top: 15px;
}
#site-navigation {
	display: table;
	margin-top: 20px;
}
#linkit {
	margin: 0 auto;
	clear: right;
	float: right;
	background-image: url(/wp-content/themes/dancesport/img/palkki-vasen.png), url(/wp-content/themes/dancesport/img/palkki-oikea.png);
	background-position: left top, right top;
	background-repeat: no-repeat, no-repeat;
	background-size: auto 51px, auto 51px;
	margin-top: 23px;
	height: 50px;
}
#linkit div {
	display: inline-block;
}
#linkit div a {
	color: white;
	padding: 10px 14px 6px 14px;
	display: block;
	font-weight: 500;
	font-size: 23px;
	text-transform: uppercase;
	background-color: #4f1246;
	font-family: ExoRegular, "Myriad Pro Regular";
	text-decoration: none;
	float: right;
	height: 50px;
}
#linkit div a.sel {
	background-color: #4f1246;
}
/*#linkit div a::first-letter {
	font-size: 130%;
}*/
#linkit div:first-child a {
	margin-left: 18px;
}
#linkit div:last-child a {
	margin-right: 18px;
}
#linkit div a:hover {
	background-color: #b1037b;
}
#linkit div a.sel {
}
#nostot {
	display: table;
	width: 100%;
	margin: 40px 0;
}
#nostot a {
	display: inline-table;
	text-align: center;
	text-decoration: none;
	font-size: 20px;
	width: 23.5%;
	margin: 1%;
	background-color: rgba(255,255,255,0.9);
	padding: 15px 0;
	border-left: 8px solid #b1037b;
}
#nostot a:hover {
	background-color: rgba(255,255,255,1);
	border-left: 8px solid #cf128c;
}
#nostot a:first-child {
	margin-left: 0;
}
#nostot a:last-child {
	margin-right: 0;
}
#some {
	text-align: right;
	padding-right: 40px;
}
#some a {
	opacity: 1;
}
#some a:hover {
	opacity: 0.5;
}
#haku {
	background-image: url(/wp-content/themes/dancesport/img/haku-oikea.png);
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 35px;
	color: white;
	float: right;
	clear: right;
	width: 252px;
	margin-right: 26px;
}
#haku input {
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #cf128c;
	border-radius: 0;
	color: #cf128c;
	font-size: 21px;
	padding: 1px 8px;
	width: 200px;
}
#haku i {
	float: right;
	font-size: 27px;
	padding: 3px 18px 0 8px;
}
#ylavalikko {
	float: right;
	margin-top: 20px;
	margin-bottom: 0px;
	color: white;
}
#ylavalikko a {
	color: white;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 13px;
	margin-right: 3px;
	display: inline-block;
	height: 22px;
}
#ylavalikko #youtube {
	padding: 3px 0;
}
#ylavalikko img {
	height: 100%;
}
#ylavalikko a:hover {
	text-decoration: underline;
}
#ylavalikko .separator {
	padding: 0 6px;
}
#ylavalikko .separator:last-child {
	display: none;
}
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
color: #cf128c;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
color: #cf128c;
opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
color: #cf128c;
opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #cf128c;
}
#blokki-sivu {
	width: 100%;
	float: left;
	background-color: rgba(254,252,253,0.99);
	position: relative;
	min-height: 300px;
	padding: 10px 20px;
	color: #4f1246;
	margin-bottom: 3px;
}
.uutiset-header {
	width:80.25% !important;
	float: right !important;
}
.entry-header {
	/*background-color: #cf128c;*/
	height: 71px;
	color: white;
	padding: 0px 10px 0px 40px;
	font-family: ExoRegular, "Myriad Pro Regular";
	font-weight: normal;
	width: 102.75%;
	float: left;
	margin: 0px 0px 3px -2.75%;
	background-image: url(/wp-content/themes/dancesport/img/haku-vasen.png), url(/wp-content/themes/dancesport/img/haku-oikea.png);
	background-position: left top, right top;
	background-repeat: no-repeat, no-repeat;
	background-size: auto 100%, auto 100%;
}
.entry-title, .page-title {
	background-color: #cf128c;
	margin-right: 40px;
	margin: 0px 40px 0 0;
	height: 71px;
	color: white;
	font-family: ExoRegular, "Myriad Pro Regular";
	font-weight: normal;
	padding: 6px 0;
}
.arkistot .entry-header {
	background-image: none;
	background-color: #cf128c;
	height: auto;
	margin: 0;
	width: 100%;
	padding: 0px 20px;
}
.arkistot .entry-content {
	background-color: rgba(254,252,253,0.99);
	padding: 20px;
}
#blokki-sidebar {
	width: 21%;
	float: left;
	position: relative;
	margin-right: 1%;
	color: #4f1246;
	margin-bottom: 40px;
}
.widget {
	padding-bottom: 20px;
	margin: 0 0 20px;
}
#blokki-sidebar .otsikko, .widget .widget-title {
	color: white;
	font-size: 24px;
	font-weight: 500;
	padding: 4px 5px 8px 20px;
	text-align: left;
	text-transform: uppercase;
	margin: 0;
	background-color: rgb(78,18,70);
	margin-bottom: 3px;
}
.valikko .otsikko {
	background-color: transparent !important;
	background-image: url(/wp-content/themes/dancesport/img/otsikko.png);
	background-repeat: no-repeat;
	background-position: right;
	background-size: auto 100%;
	border-bottom: 3px solid rgba(150,67,157,0.1);
	padding: 8px 5px 8px 20px !important;
	font-size: 26px !important;
	margin-bottom: 0 !important;
}
/*.blokki-header {
	background-color: #cf128c;
	padding: 8px 8px 6px 8px;
	text-align: center;
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	color: #4f1246;
	font-family: ExoRegular;
}*/
#blokki-sidebar .otsikko::first-letter {
	font-size: 140%;
}
#valikko {
	padding: 10px 0 5px;
	background-color: rgba(254,252,253,0.99);
}
#valikko a {
	color: #4f1246;
	text-decoration: none;
	font-size: 18px;
	font-weight: 500;
}
#valikko a.sel {
	font-weight: 600 !important;
}
#valikko .wrap {
	padding: 6px 20px 0;
}
#valikko .wrap .wrap a {
	font-weight: 400;
}
#valikko .wrap .wrap .warp a {
	font-size: 12px;
}
.widget ul {
	padding: 0 15px 0 30px;
}
.textwidget {
	padding: 10px 10px 0;
}
.widget_text {
	padding-bottom: 10px;
}
#blokki-uutiset {
	width: 40%;
	float: right;
	position: relative;
	height: 536px;
	background-image: url("/wp-content/themes/dancesport/img/tanssija.png");
	background-repeat: no-repeat;
	background-position: 95% 80%;
	background-size: 325px auto;
}
#uutiset-inner {
	background-color: rgba(254,252,253,0.95);
	height: 481px;
	overflow: hidden;
}
#blokki-yksi, #blokki-kaksi {
	width: 28%;
	float: left;
	margin-right: 2%;
	position: relative;
	height: 490px;
}
#tulokset, #tapahtumat, #tulevat, #blogi, #kuvanosto, #kuvahyrra {
	background-color: rgba(254,252,253,0.95);
	position: relative;
}
#tulevat {
	height: 295px;
	margin-bottom: 20px;
	overflow: hidden;
}
#kuvanosto {
	display: block;
	height: 206px;
	/*background-image: url(/wp-content/themes/dancesport/img/finlandopen.jpg);*/
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border: 2px solid rgba(254,252,253,0.95);
}
#kuvahyrra {
	height: 310px;
	margin-top: 20px;
	background-image: url(/wp-content/themes/dancesport/img/dance.jpg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border: 2px solid rgba(254,252,253,0.95);
}
#blogi {
	height: 110px;
}
.blokki-header {
	background-image: url(/wp-content/themes/dancesport/img/etusivu-otsikko.png);
	background-repeat: no-repeat;
	background-position: right;
	background-size: auto 100%;
	padding: 8px 8px 6px 8px;
	text-align: center;
	font-weight: 400;
	font-size: 20px;
	text-transform: uppercase;
	color: white;
	font-family: ExoRegular, "Myriad Pro Regular";
}
.blokki-header::first-letter {
	font-size: 140%;
}
.uutinen {
	display: block;
	margin: 10px 20px;
	color: #4f1246;
	text-decoration: none;
	font-weight: 500;
}
.uutinen .pvm {
	font-weight: 500;
	width: 15%;
	float: left;
}
.uutinen .otsikko {
	display: inline;
	width: 85%;
	float: right;
}
.uutiset {
	position: relative;
	padding: 10px 0;
	
}
.arkisto {
	position: absolute;
	bottom: 0;
	text-align: center;
	width: 100%;
	font-weight: 500;
	text-transform: uppercase;
	color: #4f1246;
	text-decoration: none;
	padding: 10px;
	background-color: rgba(254,252,253,0.95);
}
.arkisto:hover {
	text-decoration: underline;
}
#sponsorit_wrap {
	background-color: #cf128c;
	padding: 20px 0;
}
.sponsorit {
	text-align: center;
	padding: 0 60px;
	display: table;
	margin: 0 auto;
}
.sponsorit a {
	display: table-cell;
	padding: 0 20px;
	vertical-align: middle;
}
.sponsorit img {
	width: 100%;
	max-width: 120px;
}
.sponsorit div.smaller {
	padding: 30px;
}
.site-info {
	text-align: center;
}
.widget_recent_entries, .valikko {
	padding-bottom: 0 !important;
}
.widget_recent_entries a {
	display: block;
	text-decoration: none;
	font-size: small;
	list-style: none;
	margin: 0;
	padding: 8px 18px;
	border-bottom: 2px solid rgba(150,67,157,0.1);
	background-color: rgba(254,252,253,0.99);
}
.widget_recent_entries a:last-child {
	border-bottom: none;
	padding-bottom: 10px;
}
.widget_recent_entries a:first-of-type {
	padding-top: 10px;
}
.widget_recent_entries a:hover {
	background-color: rgba(150,67,157,0.1);
}
#valikko, #valikko .wrap {
	padding: 0 !important;
}
#valikko a {
	display: block;
	text-decoration: none;
	list-style: none;
	margin: 0;
	padding: 8px 12px;
	border-bottom: 2px solid rgba(150,67,157,0.1);
	border-left: 6px solid rgba(78,18,70,0.3);
}
#valikko .wrap:first-child a {
	padding-top: 12px;
}
#valikko .wrap:last-child a {
	padding-bottom: 12px;
	border-bottom: none;
}
#valikko .wrap .wrap a {
	padding: 4px 12px;
	font-size: 15px;
	border-left: 10px solid rgba(78,18,70,0.3);
}
#valikko .wrap .wrap:last-child a {
	border-bottom: 2px solid rgba(150,67,157,0.1);
}
#valikko a:hover {
	background-color: rgba(78,18,70,0.05);
	border-left: 6px solid rgba(78,18,70,1);
}
#valikko a.sel {
	border-left: 6px solid rgba(78,18,70,1);
}
#valikko .wrap .wrap a.sel {
	border-left: 6px solid rgba(78,18,70,1);
}
.post-date {
	font-weight: bold;
}
.single-top, .cat-links {
	text-transform: uppercase;
	color: #404040;
}
.artikkeli-title {
	margin: 8px 0;
}
.artikkeli-title a {
	color: white;
	text-decoration: none;
}
.header2 {
	background-color: rgba(254,252,253,0.99);
}
.header2 small {
	padding: 8px;
}
.single-top {
	display: block;
	margin-bottom: 20px;
}
article {
	float: left;
	width: 78%;
}
.arkistot {
	float: left;
	width: 78%;
	margin-bottom: 40px;
}
.arkistot article {
	margin-bottom: 10px;
	width: 100% !important;
}
.arkistot article:last-child {
	border-bottom: 0;
}
.search-form .search-field {
	width: 250px;
}
.more-link {
	padding-left: 3px;
}
.cat-links a {
}
.widget_calendar {
	padding: 10px 8px 0px 12px;
	background-color: rgba(254,252,253,0.99);
}
#murupolku {
	clear: right;
}
#breadcrumbs{
    list-style:none;
    margin:10px 0;
    overflow:hidden;
	background-color: rgb(78,18,70);
	padding: 3px 10px 0 10px;
}
#breadcrumbs li{
    display:inline-block;
    vertical-align:middle;
    margin-right:10px;
	color: white;
	font-family: ExoMedium;
}
#breadcrumbs strong {
	font-weight: normal;
	font-family: ExoMedium;
}
#breadcrumbs .separator{
    font-size:18px;
    color:#white;
}
#breadcrumbs a {
	color: white;
	text-decoration: none;
}
#breadcrumbs a:hover {
	text-decoration: underline;
}
.iso-artikkeli {
	width: 100%;
	background-color: rgba(255, 255, 255, 0.8);
}
.iso-artikkeli .entry-header {
	background-image: none;
}
.single-header {
	height: auto;
	padding: 0px 0px 0px 30px;
}
.single-header .entry-title {
	margin: 0;
	padding: 5px 10px;
}
.single-main .entry-content {
	padding: 0 20px;
}
.single-main .iso-artikkeli {
	margin-bottom: 40px;
}
#mobi-menu-button {
	display: none;
	background-image: url(/wp-content/themes/dancesport/img/menu.png);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: auto 100%;
	width: 110px;
	height: 70px;
	float: right;
	margin: 26px 40px 0 0;
	cursor: pointer;
}
#mobi-menu-button.sel {
	background-image: url(/wp-content/themes/dancesport/img/menu-purple.png);
}
#mobi-menu, #mobi-mainos {
	display: none;
}
#mobi-haku-button {
	display: none;
	background-image: url(/wp-content/themes/dancesport/img/menu.png);
	background-position: right top;
	background-repeat: no-repeat;
	background-size: auto 100%;
	width: 80px;
	height: 70px;
	float: right;
	margin: 26px 40px 0 0;
	cursor: pointer;
}
.mediasta {
	margin-top: 15px;
}
.mediasta .rivi {
	display: block;
	margin-bottom: 20px;
	text-decoration: none;
}
.mediasta .rivi:hover {
	color: #cf128c;
}
.mediasta .kuva {
  background-color: rgba(207, 18, 140, 0.05);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: inline-block;
  height: 120px;
  margin-top: 2px;
  width: 180px;
}
.mediasta .otsikko {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}
.mediasta .tiedot {
  display: inline-block;
  padding: 0 20px;
  vertical-align: top;
  width: 620px;
}
.mediasta .ingressi {
  display: block;
  font-size: small;
  font-style: italic;
  font-weight: 100;
  line-height: 18px;
  max-height: 38px;
  overflow: hidden;
  margin-top: 4px;
}
.lisatiedot {
	display: block;
	font-size: 14px;
  margin-top: 4px;
}

/* RESPONSIVE */

@media only screen and (max-width: 1160px) {
	article, #masthead, #content, #colophon .site-info {
		width: 100%;
	}
	#blokki-sidebar, #ylavalikko, #linkit, #site-navigation {
		display: none !important;
	}
	#mobi-menu-button {
		display: block;
		position: absolute;
		top: 0;
		right: 0;
	}
	.entry-header {
		margin: 0px 0px 3px 0px;
		padding: 0px 10px 0px 0px;
		background-image: url(/wp-content/themes/dancesport/img/haku-oikea.png);
		background-position: right top;
		background-repeat: no-repeat;
		background-size: auto 100%;
		width: 100%;
	}
	.entry-title, .page-title {
		padding: 6px 15px;
	}
	#logo {
		max-width: 173px;
		margin-left: 15px;
		margin-bottom: 10px;
	}
	#site-header {
		margin-top: 30px;
		line-height: 22px;
		font-size: 18px;
		font-family: ExoRegularItalic, "Myriad Pro Regular", sans-serif;
	}
	#mobi-menu {
		clear: both;
		padding: 0 40px 0px 15px;
		margin-bottom: 20px;
	}
	#mobi-menu a {
		display: block;
		background-color: rgb(78,18,70);
		color: white;
		text-decoration: none;
		padding: 0 15px 10px 15px;
		text-transform: uppercase;
		font-family: ExoDemiBold;
		font-size: 20px;
	}
	#mobi-menu a:first-child {
		padding-top: 15px;
	}
	.mobile-item-sub {
		padding-left: 25px !important;
		font-size: 16px !important;
	}
	#mobi-menu a.sel {
		color: #cf128c;
	}
	#content #primary {
		margin: 0 15px 20px;
	}

	.front-page {
		margin: 20px 15px 20px !important;
	}
	html, body {
		background-image: none;
		background-color: #f5e5f0;
	}
	.single #content #primary {
		margin: 25px 15px;
	}
	.single .entry-title {
		height: auto;
	}
	.single .entry-header {
		padding: 0;
	}
	.arkistot {
		width: 100%;
	}
	.uutiset-header {
		width: 100% !important;
	}
}

@media only screen and (max-width: 760px) {

	#site-header, #blokki-yksi {
		display: none;
	}
	#blokki-kaksi, #blokki-uutiset {
		height: auto !important;
		width: 100% !important;
	}
	#uutiset-inner, #tulevat {
		height: auto !important;
	}
	.uutiset {
		padding: 10px 0 40px;
	}
	#blokki-uutiset {
		margin-top: 20px;
	}
	#nostot a {
		width: 100%;
		margin: 1px 0px;
	}
	.sponsorit {
		padding: 0;
	}
	.sponsorit a {
		padding: 0 10px;
	}
	.site-info {
		padding: 18px;
		font-size: 14px;
	}
	#mobi-mainos {
		display: block;
	}
	#mobi-mainos img {
		padding: 0px 15px 25px 15px;
		width: 100%;
	}

}

@media only screen and (min-width: 1920px) {

	html, body {
		background-size: cover;
	}

}
