﻿/* Makes images fully responsive */
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  height: auto;
  margin: auto;
}
img.img-100right {
	float: right;
    height: auto;
	margin: 10px 10px 10px 10px;
}
img.img-100left {
	float: left;
    height: auto;
	margin: 10px 10px 10px 10px;
}
.spotify-embed {
	padding: 0px;
	text-align: center;
}
/* ------------------- Carousel Styling ------------------- */
.carousel{
  background-color: #ffe6e6;
}
.carousel-inner {
  border-radius: 15px; 
}
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 15;
  padding: 0 0 15px 5px;
  color: #fff;
  text-align: left;
}
.carousel-indicators {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  margin: 0;
  padding: 0 5px 5px 0;
  text-align: right;
}
.carousel-control.left, .carousel-control.right {
  background: none !important;
  filter: progid: none !important;
  outline: 0;
 }
.carousel .carousel-control {
  visibility: hidden;
}
.carousel:hover .carousel-control {
  visibility: visible;
}
div.rms-karuselli {
	padding: 5px 5px 5px 5px;
	margin: auto;
	width: 100%;
	background-color: #ffe6e6; 
}
div.rms-karuselli2 {
	padding: 5px 5px 5px 5px;
	margin: auto;
	background-color: #ffe6e6; 
}
div.carousel-vaaka {
	margin: auto;
	max-width: 98%;
}
div.carousel-pysty {
	margin: auto;
	max-width: 95%;
}
div.rms-teksti{
	padding: 5px 20px 5px 10px;
	width: 100%;
	margin: 0 0 2px 0;
	background: #cce6ff;
}
div.lblue {
	padding: 5px 10px 5px 10px;
	margin: 0;
	background-color: #cfdbfc;
	border-radius: 6px;
}
div.lred {
	padding: 5px 10px 5px 10px;
	margin: 5px 0 0 0;
	background-color: #f9c7c7;
	border-radius: 6px;
}
hr.helmet-blue {
	height: 2px;
    margin-left: 0.5em;
    margin-right: 0.5em;
    border-style: inset;
    border-width: 1px;
	color: #0845dd;
	background-color: #cedbfd;
}
h3.rms-crs  {
	font-weight: bold;
	font-size: 1.3em;
	margin-top: 18px;
	margin-bottom: 13px;
	padding: 0;	
}
.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("//i.imgur.com/TxzC70f.png") no-repeat;
    cursor: pointer;
}
/************************************************************************************
MEDIA QUERIES
************************************************************************************/	
@media (min-width:480px){
	#rms-inner1 {
	max-width: 95%;
	}
	#rms-inner2 {
	max-width: 85%;
	}
}
@media (min-width:768px){
	#rms-inner1 {
	max-width: 90%;
	}
	#rms-inner2 {
	max-width: 75%;
	}
}
@media (min-width:992px){
	#rms-inner2 {
	max-width: 70%;
	}
}	
@media (min-width: 1200px) {
	#rms-inner2 {
	max-width: 60%;
	}
}