.rs-ringpreloader {
  position: absolute;
  z-index: 4000;
  top: 50%;
  left: 50%;
}
.rs-ringpreloader .lds-ring {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.rs-ringpreloader .lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 48px;
  height: 48px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #AAA transparent transparent transparent;
}
.rs-ringpreloader .lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.rs-ringpreloader .lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.rs-ringpreloader .lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/** Scrollbar **/
.rs-ui-scrollbar {
  display: inline-block;
  box-sizing: border-box;
}
.rs-ui-scrollbar div {
  background: #aaa;
}
.rs-ui-scrollbar .rs-ui-scrollbar-scrubber {
  background: #555;
  opacity: 0.8;
}

/** GalleryScrollbar **/
.rs-ui-gsbar {
  box-sizing: content-box;
  background: #eee;
  position: relative;
  border: 2px solid #999;
}
.rs-ui-gsbar div {
	position: absolute;
	cursor: pointer;
}
.rs-ui-gsbar span {
  display: block;
  position: absolute;
  cursor: pointer;
  background: #ccc;
  z-index: 100;
  box-sizing: border-box;
  border: 1px solid #999;
}

@font-face {
	font-family: 'rsmedia';
	src: url("fonts/rsmedia.eot?g6sohv");
	src: url("fonts/rsmedia.eot?g6sohv#iefix") format("embedded-opentype"), url("fonts/rsmedia.ttf?g6sohv") format("truetype"), url("fonts/rsmedia.woff?g6sohv") format("woff"), url("fonts/rsmedia.svg?g6sohv#rsmedia") format("svg");
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
[class^="rs-med-icon-"], [class*=" rs-med-icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'rsmedia' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.rs-med-icon-arrow-left:before {
  content: "\e908";
}

.rs-med-icon-arrow-right:before {
  content: "\e909";
}

.rs-med-icon-clear:before {
  content: "\e90a";
}

.rs-med-icon-close:before {
  content: "\e90a";
}

.rs-med-icon-volume:before {
  content: "\e900";
}

.rs-med-icon-volume1:before {
  content: "\e901";
}

.rs-med-icon-left:before {
	content: "\e902";
}

.rs-med-icon-right:before {
  content: "\e903";
}

.rs-med-icon-pause:before {
  content: "\e904";
}

.rs-med-icon-play:before {
  content: "\e905";
}

.rs-med-icon-sound-mute:before {
  content: "\e906";
}

.rs-med-icon-sound:before {
  content: "\e907";
}

.rs-smoothgal {
	background: #eee;
	width: 100%;
	height: 100%;
}

.rs-audioplayer {
	position: relative;
}
.rs-audioplayer .ap-title {
  text-align: center;
  color: #aaa;
  font-size: 16px;
  padding: 4px;
}
.rs-audioplayer .ap-vis {
  background: #333;
  border: 1px solid #111;
}
.rs-audioplayer .ap-controls .ap-button {
  position: absolute;
  display: block;
  cursor: pointer;
  text-align: center;
  color: white;
  background-color: #555;
  border: 1px solid black;
}
.rs-audioplayer .ap-controls .progressBar {
  position: absolute;
  background: #555;
  border: 1px solid black;
}
.rs-audioplayer .ap-controls .progressBar .bar {
  background: #111;
  cursor: pointer;
}
.rs-audioplayer .ap-controls .progressBar .barInner {
  background: #efefef;
}

.rs-caudioplayer {
  position: relative;
}
.rs-caudioplayer .btn-front {
	position: absolute;
	z-index: 1000;
	cursor: pointer;
}
.rs-caudioplayer .visual-bg {
	position: absolute;
	border-radius: 50%;
	opacity: 0.85;
}

.rs-mediaviewer {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 10000;
	overflow: hidden;
	top: 0;
	left: 0;
	background: rgba(20, 20, 20, 0.9) url(../kuvat/BS_tausta.jpg) 1px 40px;
}
.rs-mediaviewer .rs-mediaviewer-controlBtn {
	position: fixed;
	display: block;
	font-size: 24px;
	color: #aaa;
	z-index: 101;
	cursor: pointer;
	background: #333;
	padding: 4px;
	box-sizing: border-box;
	border-radius: 50%;
}
.rs-mediaviewer .rs-mediaviewer-controlBtn:hover {
  color: #fff;
  background: #111;
}
.rs-mediaviewer .rs-mediaviewer-description {
	z-index: 101;
	text-align: center;
	background: #191919;
	box-sizing: border-box;
	padding: 8px;
	width: 100%;
	min-height: 60px;
	font-size: 16px;
	position: fixed;
	color: #ddd;
	top: 0;
}
.rs-mediaviewer .rs-mediaviewer-bar {
	z-index: 101;
	box-sizing: border-box;
	background: #191919;
	padding: 6px;
	width: 100%;
	position: fixed;
	bottom: 0;
  /** Clearfix **/
}
.rs-mediaviewer .rs-mediaviewer-bar ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: absolute;
}
.rs-mediaviewer .rs-mediaviewer-bar .ul:after {
  content: "";
  display: table;
  clear: both;
}
.rs-mediaviewer .rs-mediaviewer-bar .bar-Btn {
  float: left;
  padding: 0 8px;
  cursor: pointer;
  display: block;
  color: #999;
}
.rs-mediaviewer .rs-mediaviewer-bar .bar-Btn:hover {
  color: #eee;
}
.rs-mediaviewer .rs-mediaviewer-bar:after {
  content: "";
  display: table;
  clear: both;
}
.rs-mediaviewer .rs-mediaviewer-dialog {
	position: fixed;
	z-index: 100;
	width: 100%;
	height: 100%;
}
.rs-mediaviewer .rs-mediaviewer-dialog .dialog-content {
	position: fixed;
	top: 50%;
	left: 50%;
}
.rs-mediaviewer .rs-mediaviewer-thumbnail {
  margin: 0;
  display: block;
  box-sizing: border-box;
  border: 1px solid #111;
  float: left;
  background-color: #333;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ccc;
  text-align: center;
  font-size: 16px;
  font-style: italic;
  cursor: pointer;
  font-weight: 300;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  transition: border 0.5s;
  -moz-transition: border 0.5s;
  -webkit-transition: border 0.5s;
  position: relative;
  background-image: url("fonts/thumbs.png");
}
.rs-mediaviewer .rs-mediaviewer-thumbnail span {
  position: absolute;
  font-size: 10px;
  top: 0px;
  left: 0px;
}
.rs-mediaviewer .rs-mediaviewer-thumbnail:hover {
  border: 2px solid #eee;
}
.rs-mediaviewer .rs-med-general-content {
	background: white;
	color: black;
	padding: 12px;
	overflow: auto;
	border: 1px solid #333;
}

@media screen and (max-width: 575px) {
  .rs-pro3d {
	min-height: 580px !important;
	background: #FF0 center center;
  }

  /*
  .rs-pro3d-ccontainer {
    top:66% !important;
  }
  */
}
@media screen and (min-width: 576px) {
  .rs-pro3d {
	min-height: 600px !important;
  }

  /*
  .rs-pro3d-ccontainer {
    top:70% !important;
  }
  */
}
@media screen and (min-width: 768px) {
  .rs-pro3d {
	min-height: 620px !important;
  }

  /*
  .rs-pro3d-ccontainer {
    top:75% !important;
  }
  */
}
@media screen and (min-width: 992px) {
  .rs-pro3d {
	min-height: 650px !important;
	min-height: 800px !important;
  }

  /*
  .rs-pro3d-ccontainer {
    top:80% !important;
  }
  */
}
.rs-pro3d {
	display: none;
	width: 100%;
	min-height: 650px;
	max-width: 984px;
	margin: 0 auto;
	box-sizing: border-box;
	border: 1px solid #333;
	background: #111;
}

@font-face {
	font-family: 'icomoon';
	src: url("fonts/icomoon.eot?ef74y");
	src: url("fonts/icomoon.eot?ef74y#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?ef74y") format("truetype"), url("fonts/icomoon.woff?ef74y") format("woff"), url("fonts/icomoon.svg?ef74y#icomoon") format("svg");
	font-weight: normal;
	font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  position: absolute;
  cursor: pointer;
}

.rs-pro3d-ccontainer {
	position: absolute;
	width: 100%;
	bottom: 0;
	z-index: 3000;
}

/***** ButtonList *****/
.rs-pr3d-blist {
	display: block;
	margin: 0 auto;
	text-align: center;
	margin: 12px 0;
}
.rs-pr3d-blist span {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	margin: 4px;
	background: #eee;
	cursor: pointer;
	border: 4px solid #eee;
	box-sizing: border-box;
	box-shadow: #999 2px 2px 2px;
}
.rs-pr3d-blist .button-selected {
  background: black;
}

.icon-screen-full:before {
	content: "\e904";
}

.icon-screen-normal:before {
  content: "\e905";
}

.rs-pro3d-fsbtn {
	color: #eee;
	background: url(none);
	font-size: 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	right: 15px;
	z-index: 3000;
}

/***** Button icons *****/
@font-face {
  font-family: 'icomoon';
  src: url("fonts/icomoon.eot?ef74y");
  src: url("fonts/icomoon.eot?ef74y#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?ef74y") format("truetype"), url("fonts/icomoon.woff?ef74y") format("woff"), url("fonts/icomoon.svg?ef74y#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  position: absolute;
  cursor: pointer;
}

.icon-add-outline:before {
  content: "\e902";
}

.icon-close:before {
  content: "\e903";
}

.rs-pro3d-bnav {
	color: #eee;
	background: #333;
	font-size: 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	top: 50%;
	z-index: 3000;
}

.rs-pro3d-lbn {
	left: 20px;
}

.rs-pro3d-rbn {
	right: 20px;
}

.icon-cheveron-left:before {
	content: "\e900";
}

.icon-cheveron-right:before {
  content: "\e901";
}

/*TODO Remove*/
.box {
  width: 80%;
  height: 30px;
  background: yellow;
}

.icon-close:before {
  content: "\e903";
}

.rs-pro3d-bbtn {
  position: absolute;
  color: #eee;
  background: rgba(0, 0, 0, 0.8);
  font-size: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  top: 20px;
  left: 15px;
  z-index: 3000;
  padding: 10px;
}

/****** Category menu *****/
.rs-pro3d-cmenu {
	position: absolute;
	top: 18px;
	left: 14px;
	display: inline-block;
	padding: 4px;
	z-index: 3000;
}
.rs-pro3d-cmenu ul {
	padding: 0;
	margin: 16px 0;
}
.rs-pro3d-cmenu a, .rs-pro3d-cmenu li {
  color: #aaa;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}
.rs-pro3d-cmenu li:hover {
  color: #fff;
}

.rs-pro3d-toplabel {
	border-radius: 4px;
	background: #FF0;
	user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	color: #fff !important;
}

.rs-pro3d-clist {
  list-style-type: none;
  background: rgba(25, 25, 25, 0.85);
  border-radius: 6px;
}

.rs-mg3d-hcmenu {
	list-style-type: none;
	position: absolute;
	display: block;
	padding: 4px;
	z-index: 3000;
	width: 100%;
	text-align: center;
	margin-top: 16px;
	box-sizing: border-box;
}
.rs-mg3d-hcmenu li {
  border-radius: 4px;
  display: inline-block;
  color: #111;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  text-decoration: none;
  cursor: pointer;
  padding: 8px 12px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  background: #fff;
  margin: 2px;
}
.rs-mg3d-hcmenu .active-item {
  color: #eee;
  background: #333;
}

/***** Text Display *****/
/** Item description **/
/** Item title **/
.rs-pro3d-textdisplay {
  font-family: "Open Sans", sans-serif;
  padding: 2px 14px;
}

/** Item Description **/
.rs-pro3d-description {
	color: #eee;
	font-size: 14px;
	font-family: "Open Sans", sans-serif;
	background: rgba(10, 10, 10, 0.75);
	text-align: center;
	padding: 12px 6px;
	margin: 0 auto;
	overflow: hidden;
	box-sizing: border-box;
	border-radius: 8px;
	max-width: 600px;
	width: 95%;
}

/** Item Title **/
.rs-pro3d-title {
  color: #fff;
  font-size: 18px;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  text-transform: none;
  text-align: center;
  margin: 2px auto;
  margin-top: 8px;
}

/***** Preloader *****/
.spinner {
	width: 40px;
	height: 40px;
	position: absolute;
	z-index: 4000;
	top: 50%;
	left: 50%;
	margin-left: -20px;
	margin-top: -20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #efefef;
  opacity: 0.85;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
  0%, 100% {
    -webkit-transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bounce {
  0%, 100% {
    transform: scale(0);
    -webkit-transform: scale(0);
    background-color: #333;
  }
  50% {
    transform: scale(1);
    background-color: #fff;
    -webkit-transform: scale(1);
  }
}
/** Sidebar controls **/
.rs-pro3d-sbc {
	position: absolute;
	top: 16px;
	right: 10px;
	width: 48px;
}

.icon-screen-full:before {
  content: "\e904";
}

.icon-screen-normal:before {
  content: "\e905";
}

.rs-pro3d-fsbtn {
  color: #eee;
  background: none;
  font-size: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  right: 15px;
  z-index: 3000;
}

.rs-pro3d-zoombtn {
	color: #ddd;
	background: #111;
	font-size: 42px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	margin-left: -21px;
	margin-top: -21px;
	z-index: 3001;
	display: block;
	position: absolute;
	box-shadow: 0 6px 8px 0px #333;
}

.rs-pro3d-tooltip {
  color: #eee;
  font-size: 14px;
  background: #333;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  padding: 6px;
  border-radius: 6px;
  transform: translateX(-50%);
}

html, body {
	width: 100%;
}

/** Gallery2d **/
.rs-gal2d {
  background: none !important;
}

/** Scrollbar **/
.rs-ui-gsbar {
  margin: 4px auto;
  margin-bottom: 20px;
  background: #1a1a1a;
  border: 2px solid #383838;
}
.rs-ui-gsbar span {
  background: #383838;
  border: 1px solid #999;
}
