﻿/************************************************************************************
   RMS: Artikkelit tyylimäärittelyt - perusväri: CF0404 - RMS-background-color #fff7f7
*************************************************************************************/
body {
	font-size: 100%;
}
/********* otsikot ********/
h1.white-center, h1.otsikko1 {
	font-size: 2em; 
	margin-top: 3px;
	margin-bottom: 10px;
	color: #fff;
	padding: 0 5px 0 5px;
	text-align: center;
}
h2.white {
	font-size: 1.6em;
	margin-top: 10px;
	margin-bottom: 10px;	
	margin-left: 0.2em;
	color: #fff;
}
h2.otsikko2 {
	font-size: 1.6em;
	text-align: center;
	margin-top: 1px;
	margin-bottom: 3px;	
	margin-left: 0.2em;
	color: #fff;
}
h3.white {
	font-size: 1.2em;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0.2em;	
	color: #fff;	
}
h1.black {
	font-weight: bold;
	font-size: 2em;
	color: #000000;
	margin: 12px 12px 0 0;
}
h2.black, h2.black-bold {
	font-size: 1.6em;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #000000;
}
h2.us-center, h3.us-center { 
	text-align: center;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	color: #000;
	padding: 0 5px 0 5px;
}
h2.us-center, h2.black-bold  {
	font-size: 1.6em;
	font-weight: bold;
}
h3.us-center {
	font-size: 1.3em;
}
h2.black-center {
	font-size: 1.6em;
	color: #000000;
	margin-top: 10px;
	margin-bottom: 10px;	
	text-align: center;
}
h3.black, h3.black-center {
	font-size: 1.2em; 
	color: #000000;
	margin-top: 10px;
	margin-bottom: 10px;
}
h3.black-center {
	text-align: center;
}
h1.red {
	font-size: 2em;
	text-align: center;
	margin-top: 3px;
	margin-bottom: 10px;
	color: #cc0000;
	padding: 0;
}
h2.red {
	font-size: 1.6em;
	margin-top: 10px;
	margin-bottom: 10px;	
	margin-left: 0.2em;
	color: #cc0000;
}
h3.red {
	font-size: 1.2em;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 0.2em;	
	color: #cc0000;	
}
/******* tekstit *********/
p.white-teksti {
	margin: 0.1em 0.1em 0.6em 0.2em; /* top, right, bottom, left */
	font-size: 100%;
	color: white;
}
p.white-ingressi{
	margin: 0.8em 0.1em 1em 0.2em;
	font-size: 110%;
	font-weight: bold;
	color: white;
}
p.black-teksti {
	margin: 1.5em 0.1em 1.5em 0.2em;
	font-size: 100%;
	color: black;
}
p.black-ingressi{
	margin: 0.8em 0.1em 1em 0.2em;
	font-size: 110%;
	font-weight: bold;
	color: black;
}
p.usblue-teksti {
	margin: 0.1em 0.1em 0.6em 0.2em;
	font-size: 100%;
	color: #002868;
}
p.usblue-ingres {
	margin: 0.1em 0.1em 1.2em 0.2em;
	font-size: 110%;
	font-weight: bold;
	color: #002868;
}
p.kuva-teksti {
	margin: 0.1em 0em 0.8em 0.2em;
	font-size: 80%;
	color: black;
	text-align: center;
}
p.loppu-teksti {
	margin: 0.3em 0 0.3em 0;
	font-size: 80%;
	text-align: center;
}
p.loppu-teksti2 {
	margin: 0;
	font-size: 100%;
}
p.center-white {
	margin: 0;
	font-size: 100%;
	color: white;
	text-align: center;
}
p.center-black, p.center-black-italic {
	margin: 1em 0 1em 0;
	font-size: 100%;
	color: black;
	text-align: center;
}
p.center-black-italic {
	font-style: italic;
}
p.center-blue {
	margin: 1em 0 1em 0;
	font-size: 100%;
	color: blue;
	text-align: center;
}
p.right-teksti {
	text-align: right;
}
p.pop-teksti, p.pop-teksti-red {
	padding: 1em 1em 1em 1em;
	font-size: 120%;
	font-weight: bold;
	text-align: center;
}
p.pop-teksti {
	color: 827726;
}
p.pop-teksti-red {
	color: #CF0404;
}
pre.riimi, pre.black-riimi, pre.blue-riimi {
	margin-right: 5px;
	margin-left: 5px;
	font-size: 90%;
}
pre.riimi {
	color: #fff;
}
pre.black-riimi {
	color: #000;
}
pre.blue-riimi {
	color: #0330fc;
}
hr.art, hr.art-red {
	height: 0.3em;
    display: block;
    margin-left: 0.2em;
    margin-right: 0.2em;
    border-style: inset;
    border-width: 0.1em;
}
hr.art {
	color: #0845dd;
	background-color: #cedbfd;
}
hr.art-red {
	color: #e8c3cc;
	background-color: #CF0404;
}
/********* Kuvat ja videot *********/
img.img-art100left {
	float: left;
    height: auto;
	margin: 5px 10px 5px 0;
	}
img.img-art100-2left {
	float: left;
    height: auto;
	margin: 5px 10px 5px 0;
	}
img.img-art100right {
	float: right;
    height: auto;
	margin: 5px 10px 5px 0;
	}
img.img-art40left {
	float: left;
    width: 40%;
	margin: 5px 10px 5px 0;
	}
img.img-center {
	margin: 0 auto;
	padding: 10px 0px 10px 0px;
}
img.img-otsikko {
	margin: 0 auto;
	padding-top: 0.4em;
}
img.img-art {
	padding: 10px 0px 10px 0px;
	}
.img-responsive {
    margin: 0 auto;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: auto; 
    -webkit-overflow-scrolling:touch;
    overflow: hidden;
}
.video-container iframe {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
}
.red-glyphicon {
    color: red;
}
/****** Luettelot ********/
ul.art-lista, ul.art-star {
    font-size: 1em;
    list-style-type: none;
    padding: 0;	
    margin: 0;	
	text-align: center;
}
ul.art-lista {
	font-size: 1em;
}
li.art-lista { 
    padding-bottom: 10px;
}
ul.art-lista li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content:"\2a"; 
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
	padding-right: 0.5em;
    padding-bottom: 2em;	
    color: #CF0404;
}
ul.art-star {
    font-size: 1.3em;
}
li.art-star { 
    padding-bottom: 0.2em
}
ul.art-star li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content:"\e006"; /* glyphicon-glyphicon-star */
    font-family: 'Glyphicons Halflings';
    font-size: 0.8em;
	padding-right: 0.5em;
    padding-bottom: 2em;	
    color: #CF0404;
}
ul.rms-luemyos {
    font-size: 1em;
    list-style-type: default;
    margin: 0 0 0.8em 2.3em;
    padding: 0;
}
ul.vlista {
    font-size: 1em;
    list-style-type: none;
    padding: 0 0 1em 0;	
    margin: 0;
	text-align: left;
}
li.vlista { 
    padding-bottom: 10px;
}
ul.vlista li:before {
    /*Using a Bootstrap glyphicon as the bullet point*/
    content:"\2a";
    font-family: 'Glyphicons Halflings';
    font-size: 0.8em;
	padding-right: 0.5em;
    padding-bottom: 2em;	
    color: #CF0404;
}
/* Taulukot */
table.art-blue, table.art-blue90 {
    border-collapse: collapse;
	padding-top: 0.9em;
	padding-bottom: 0.9em;
}
table.art-blue {
    margin-left: auto;
    margin-right: auto;	
}
table.art-blue td {
	background-color: CF0404;
}
table.art-blue td, table.art-blue th {
    border: 1px solid #252973;
}
table.art-blue90 td, table.art-blue90 th {
    border: 1px solid #252973;
	font-size: 90%;
}
table.art-blue td, table.art-blue90 {
	padding: 0.2em 0.3em 0.2em 0.3em;
}
table.art-blue90 tr:nth-child(odd){
	background-color: #e6e7fc;
}
table.art-blue90 tr:nth-child(even){
	background-color: #edeef7;
}
table.art-blue tr:hover, table.art-blue90 tr:hover {
	background-color: #bdbede;
}
table.art-blue th, table.art-blue90 th {
    padding-top: 0.4em;
	padding-right: 0.3em;
    padding-bottom: 0.4em;
	padding-left: 0.3em;
    text-align: center;
    background-color: #646ade;
    color: white;
}
/************************************************************************************
STRUCTURE
*************************************************************************************/
div.art-header-blue, div.art-header-usblue, div.art-header-white, div.art-header-black {
	padding: 0.2em 0.6em 0.2em 0.6em;
	height: auto;
	width: 100%;
	margin: 1px 0 2px 0;
	text-align: center;
}
div.art-header-blue {
	background: #1e90ff;
}
div.art-header-usblue {
	background: #002868;
}
div.art-header-white {
	background: #fff7f7;
}
div.art-header-black {
	background: #1d1c22;
}
div.pic-header {
	height: auto;
	width: 100%;
	margin: 0 0 1px 0;
	text-align: center;
}
div.white {
	padding: 10px 10px 5px 10px;
	margin: 0;
}
div.white-middle {
	margin: 0 auto;
}
div.uudet-middle {
	margin: 0 auto;
	vertical-align: middle;
	padding: 10px 0px 5px 0px;
	background: white;
}
div.art-sarake1 {
	padding: 10px 5px 10px 5px;
	margin: 0;
	vertical-align: middle;
	background: #ffe6e6;
	border-radius: 5px;
}
div.art-sarake2 {
	padding: 10px 5px 10px 5px;
	margin: 0;
	background: #ffb3b3;
	border-radius: 5px;
}
div.art-sarake3 {
	padding: 10px 10px 10px 10px;
	margin: 0;
	vertical-align: middle;
	background: #ffe6e6;
	border-radius: 5px;
}
div.art-sarake4 {
	padding: 10px 5px 10px 5px;
	margin: 0 0 4px 0;
	background: #c8d4f7;
	border-radius: 5px;
}
div.art-johdanto {
	padding: 10px 10px 15px 10px;
	margin: 0;
}
div.lred {
	padding: 5px 10px 5px 10px;
	margin: 0 0 4px 0;
	background-color: #ffe6e6;
	border-radius: 6px;
}
div.lblue {
	padding: 5px 10px 5px 10px;
	margin: 0 0 4px 0;
	background-color: #cfdbfc;
	border-radius: 6px;
}
div.art-oikea {
	padding: 5px 5px 5px 15px; /* top, right, bottom, left */
	margin: 0 0 2px 0;
	border-radius: 6px;
}
div.art-gray {
	padding: 10px 10px 15px 15px;
	margin: 0 0 2px 0;
	background-color: #cccccc;
	border-radius: 6px;
}
div.art-db100 {
	padding: 10px 10px 15px 15px;
	margin: 0 0 2px 0;
	background-color: #1e90ff;
	border-radius: 6px;
}
div.art-db90 {
	padding: 10px 10px 15px 15px;
	margin: 0 0 2px 0;
	background: #e4edf7;
	border-radius: 6px;
}
div.art-db80 {
	padding: 10px 10px 15px 15px;
	margin: 0 0 2px 0;
	background-color: #c6ddf7;
	border-radius: 6px;
}
div.art-yellow {
	background-color: #ffe680;
	padding: 5px 5px 10px 8px;
	margin: 0 0 4px 0;
}
div.art-us90 {
	padding: 10px 15px 10px 15px;
	margin: 0 0 2px 0;
	background: #cce0ff;
	border-radius: 6px;
}
/* Värillisiä palstoja käyttämällä, saa tätä div-määrittelyä käyttämällä palstan oikealle puolelle 5 pixelin marginaali. Katso pohja x-rms-artikkeli-c2-1-1.html */
div.blanco {
	padding: 0px 20px 0px 10px; /* top, right, bottom, left */ 
	margin: 0;
	border-radius: 6px;
}
div.art-usr90 {
	padding: 0px 0px 0px 10px;
	margin: 0 0px 4px 0;
	background: #fce3e8;
	border-radius: 6px;
}
div.alaosa {
	padding: 5px 10px 5px 10px;
	width: 100%;
	margin: 5px 0 0 0;
}
div.alaosa-red{
	padding: 5px 10px 5px 10px;
	width: 100%;
	margin: 5px 0 0 0;
	background: #ffcccc;
	border-radius: 6px;
}
div.white-panel {
	padding: 10px 0px 5px 0px;
	margin: 0;
}
/************************************************************************************
Youtube ja Spotify upotukset
************************************************************************************/
.youtube-player {
    position: relative;
    padding-bottom: 56.23%;
    /* Use 75% for 4:3 videos */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px;
}
.youtube-player iframe {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: transparent;
}
.youtube-player img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-width: 100%;
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    transition: .4s all;
}   
.youtube-player img:hover {
    -webkit-filter: brightness(75%);
}  
.youtube-player .play {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url('https://www.rmsyke.fi/kuvat/youtube.png') no-repeat;
    cursor: pointer;
}
.spotify-embed {
    width: 100%;
	text-align: center;
	border: none; 
	background-color: transparent;
}
.spotify-embedpalsta {
    width: 95%;
	text-align: center;
	border: none;
	background-color: transparent;
}
iframe.songlink-embed {
	margin: 0 auto;
	display: block;
	width: 100%;
	border: 0;
}
div.songlink-ohje {
	max-width:100%;
	bottom: 0;
	background-color: white;
}
.audio {
	margin: 0 auto; 
	display: block;
	width: 66%;
	text-align: center;
}