#sb-container {
	position: fixed;
	margin: 0;
	padding: 0;
	top: 0;
	left: 0;
	height: 100%;
	z-index: 999999999999999999999999;
	text-align: left;
	visibility: hidden;
	display: none;
	-webkit-transition: linear 0.3s ease;
	-moz-transition: linear 0.3s ease;
	-o-transition: linear 0.3s ease;
	-ms-transition: linear 0.3s ease;
	transition: linear 0.3s ease;
}

#sb-overlay {
	position: relative;
	height: 100vh;
	width: 100%;
	background-color: rgba(000, 000, 000, 0.8);
}

#sb-wrapper {
	position: absolute;
	visibility: hidden;
	width: 100px;
	margin: 0 auto !important;
	left: 0 !important;
	right: 0 !important;
	padding: 0;
}

#sb-wrapper-inner {
	position: relative;
	overflow: hidden;
	height: 100px;
}

#sb-body {
	position: relative;
	width: 100%;
	height: 100%;
}

#sb-body-inner {
	position: absolute;
	height: 100%;
	width: 100%;
}

#sb-body-inner iframe {
	max-width: 1000px;
	border-top: 1.5rem rgb(255, 255, 255) solid;
	border-bottom: 1.5rem rgb(255, 255, 255) solid;
	border-left: 1.5rem rgb(255, 255, 255) solid;
	border-right: 1.5rem rgb(255, 255, 255) solid;
}

#sb-caption {
	clear: both;
	position: absolute;
	text-transform: uppercase;
	font-size: 10px !important;
	height: auto;
	max-width: 50%;
	padding: 0.9rem 0.5rem;
	border: 0px red solid;
	color: rgb(255, 255, 255);
}

@media (max-width: 640px) {
	#sb-body-inner iframe {
		border-top: 0;
		border-bottom: 0.6rem rgb(255, 255, 255) solid;
		border-left: 0;
		border-right: 0;
	}
}

#sb-body-inner img {
	/*	border-top:.5rem rgb(255,255,255) solid;
	border-left:.5rem rgb(255,255,255) solid;
	border-right:.5rem rgb(255,255,255) solid;*/
}

#sb-player.html {
	height: 100%;
	overflow: auto;
	/*border-left:1.5rem rgb(255,255,255) solid;*/
}

#sb-loading {
	position: relative;
	height: 100%;
	padding: 15px 0 5px;
	background: rgb(000, 000, 000);
}

#sb-loading-inner {
	position: absolute;
	font-size: 12px;
	/*line-height:24px;
	height:24px;
	top:10%;
	margin-top:-42px;*/
	width: 100%;
	text-align: center;
}

#sb-title-inner,
#sb-info-inner,
#sb-loading-inner,
div.sb-message {
	font-family: inherit;
	font-weight: 500;
	background: rgb(000, 000, 000);
	/*color:#fff;*/
}

#sb-loading-inner span {
	/*background:url(loading.gif) no-repeat;*/
	/*padding-left:34px;*/
	font-size: 0.7rem;
	color: #555;
	display: inline-block;
}

#sb-body,
#sb-loading {
	background-color: #000;
}

#sb-title {
	display: none;
	/*background:red;*/
	bottom: 0;
	color: rgb(57, 75, 73);
}

/*#sb-title-inner[title="VIDEO"] {
	background:red
  }*/

#sb-title,
#sb-info {
	/*position:absolute; moves nav to top */
	top: 5px;
	right: 0;
	overflow: hidden;
}

#sb-title {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#sb-title,
#sb-title-inner {
	height: 26px;
	line-height: 26px;
}

#sb-title-inner {
	font-size: 12px;
}

#sb-info,
#sb-info-inner {
	/*height: 29px;*/
	/*line-height: 20px;*/
	background: none;
}

#sb-info-inner {
	font-size: 12px;
}

#sb-nav {
	/*display:none;  HIDE PLAY BUTTON */
	/* float:right; */
	/*height:66px;*/
	position: absolute;
	bottom: 0;
	right: 0;
	width: auto;
	padding: 0px;
	width: 100%;
	background: rgba(000, 000, 000, 0.5);
}

#sb-nav a {
	display: block;
	float: right;
	height: 20px;
	width: 20px;
	padding: 20px;
	cursor: pointer;
	background-repeat: no-repeat;
	border: 0 red solid;
}

#sb-nav-close {
	background-image: url('close.png');
	background-size: 17px;
	background-position: center;
}
#sb-nav-next {
	background-image: url('next.png');
	background-size: 17px;
	background-position: center;
}
#sb-nav-previous {
	background-image: url('previous.png');
	background-size: 17px;
	background-position: center;
}
#sb-nav-play {
	background-image: url('play.png');
	background-size: 17px;
	background-position: center;
}
#sb-nav-pause {
	background-image: url('pause.png');
	background-size: 17px;
	background-position: center;
}

#sb-counter {
	display: none;
	float: left;
	width: 45%;
}

#sb-counter a {
	padding: 0 4px 0 0;
	text-decoration: none;
	cursor: pointer;
	color: #fff;
}

#sb-counter a.sb-counter-current {
	text-decoration: underline;
}

div.sb-message {
	font-size: 12px;
	padding: 10px;
	text-align: center;
}

div.sb-message a:link,
div.sb-message a:visited {
	color: #fff;
	text-decoration: underline;
}

.gallery ul li {
	border: 0px red solid;
	padding: 5px;
}

@media (max-width: 640px) {
	/*ul.thumbs { margin-left:0px}*/
	.thumbs li {
		float: left;
	}
	.thumb-margin {
		margin-top: 10px;
	}
	/*#sb-wrapper{margin-left:-5px}*/
}
