﻿
.tos-noanimation {
	-webkit-transition-property: none!important;
	-moz-transition-property: none!important;
	-ms-transition-property: none!important;
	-o-transition-property: none!important;
	transition-property: none!important
}
.tos-fastanimation {
	-webkit-transition-duration: .2s!important;
	-moz-transition-duration: .2s!important;
	-ms-transition-duration: .2s!important;
	-o-transition-duration: .2s!important;
	transition-duration: .2s!important;
	-webkit-transition-timing-function: ease-out!important;
	-moz-transition-timing-function: ease-out!important;
	-ms-transition-timing-function: ease-out!important;
	-o-transition-timing-function: ease-out!important;
	transition-timing-function: ease-out!important
}
.tos-wrapper {
	opacity: 0;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
	display: none;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	overflow: hidden
}
.tos-wrapper.tos-opened {
	display: block
}
.tos-wrapper.tos-opening {
	opacity: 1
}
.tos-wrapper.tos-fixed {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9000
}
.tos-wrapper.tos-inline {
	position: relative
}
.tos-slider {
	white-space: nowrap;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	position: relative
}
.tos-wrapper.tos-fx-slide .tos-slider {
	left: 0;
	-webkit-transition: left .4s ease;
	-moz-transition: left .4s ease;
	-ms-transition: left .4s ease;
	-o-transition: left .4s ease;
	transition: left .4s ease
}
.tos-wrapper.tos-fx-slide.tos-fixed .tos-slider {
	position: absolute
}
.tos-wrapper.tos-fx-fade .tos-slider {
	opacity: 1;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease
}
.tos-uibg {
	background-image: -webkit-linear-gradient(bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%);
	background-image: -moz-linear-gradient(bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%);
	background-image: -ms-linear-gradient(bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%);
	background-image: -o-linear-gradient(bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%);
	background-image: linear-gradient(bottom, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 100%);
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
	opacity: 0;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1
}
.tos-desktop .tos-wrapper:hover .tos-uibg, .tos-touch .tos-wrapper.tos-hover .tos-uibg {
	opacity: 1
}
.tos-slide {
	-webkit-overflow-scrolling: touch;
	line-height: 1px;
	text-align: center;
	box-sizing: border-box;
	display: inline-block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative
}
.tos-slide:before {
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right: -1px
}
.tos-slide.tos-loading>* {
	opacity: 0
}
.tos-slide>* {
	opacity: 1;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease
}
.tos-slide>* {
	vertical-align: middle;
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	box-sizing: border-box
}
.tos-slide.tos-html>div {
	-webkit-overflow-scrolling: touch;
	white-space: normal;
	text-align: left;
	line-height: 1.5
}
.tos-slide.tos-html>div * {
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none
}
.tos-wrapper.tos-fill .tos-slide.tos-image>img {
	max-height: none;
	max-width: none;
	min-height: 100%;
	min-width: 100%
}
.tos-wrapper.tos-fixed .tos-slide.tos-html>div {
	background-color: #fff;
	color: #333;
	box-sizing: border-box;
	display: inline-block;
	padding: 40px;
	overflow: auto
}
.tos-desktop .tos-wrapper.tos-fixed {
	background-color: rgba(0,0,0,.85)
}
.tos-desktop .tos-wrapper.tos-fixed.tos-fit .tos-slide {
	padding: 20px
}
.tos-close, .tos-next, .tos-prev {
	background: #000;
	border-radius: 3px;
	opacity: 0;
	display: block;
	width: 40px;
	position: absolute;
	z-index: 1;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease
}
.tos-next, .tos-prev {
	height: 80px;
	margin-top: -40px;
	top: 50%
}
.tos-next.tos-disabled, .tos-prev.tos-disabled {
	cursor: default
}
.tos-prev {
	left: 20px
}
.tos-next {
	right: 20px
}
.tos-close {
	height: 40px;
	top: 20px;
	right: 20px
}
.tos-desktop .tos-wrapper:hover .tos-close, .tos-desktop .tos-wrapper:hover .tos-next, .tos-desktop .tos-wrapper:hover .tos-prev, .tos-touch .tos-wrapper.tos-hover .tos-close, .tos-touch .tos-wrapper.tos-hover .tos-next, .tos-touch .tos-wrapper.tos-hover .tos-prev {
	opacity: .5
}
.tos-desktop .tos-wrapper:hover .tos-close:hover, .tos-desktop .tos-wrapper:hover .tos-next:hover, .tos-desktop .tos-wrapper:hover .tos-prev:hover, .tos-touch .tos-wrapper.tos-hover .tos-close:hover, .tos-touch .tos-wrapper.tos-hover .tos-next:hover, .tos-touch .tos-wrapper.tos-hover .tos-prev:hover {
	opacity: .9
}
.tos-desktop .tos-wrapper:hover .tos-close.tos-disabled, .tos-desktop .tos-wrapper:hover .tos-next.tos-disabled, .tos-desktop .tos-wrapper:hover .tos-prev.tos-disabled, .tos-touch .tos-wrapper.tos-hover .tos-close.tos-disabled, .tos-touch .tos-wrapper.tos-hover .tos-next.tos-disabled, .tos-touch .tos-wrapper.tos-hover .tos-prev.tos-disabled {
	opacity: .2
}
.tos-close span:after, .tos-close span:before, .tos-next span, .tos-prev span {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	margin: -5px;
	position: absolute;
	top: 50%;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg)
}
.tos-close span:after, .tos-close span:before {
	width: 6px;
	height: 6px;
	margin-top: -4px;
	margin-left: 0;
	margin-right: 0
}
.tos-close span:before, .tos-prev span {
	border-bottom: 3px solid #fff;
	border-left: 3px solid #fff;
	left: 50%
}
.tos-close span:after, .tos-next span {
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
	right: 50%
}
.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-close .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-next .tos-slide, .tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-prev .tos-slide {
	padding-left: 80px;
	padding-right: 80px
}
.tos-inline {
	opacity: 0;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
	display: inline-block;
	margin: 0;
	position: relative;
	top: auto;
	left: auto;
	right: auto
}
.tos-inline.tos-prev {
	margin-right: -60px
}
.tos-inline.tos-next {
	margin-left: -60px
}
.tos-loading .tos-inline {
	opacity: 0!important
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close, .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next, .tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev {
	-webkit-transform: scale(2);
	-moz-transform: scale(2);
	-ms-transform: scale(2);
	-o-transform: scale(2);
	transform: scale(2)
}
.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev {
	-webkit-transform: scale(3);
	-moz-transform: scale(3);
	-ms-transform: scale(3);
	-o-transform: scale(3);
	transform: scale(3)
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-prev, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-prev {
	-webkit-transform-origin: left center;
	-moz-transform-origin: left center;
	-ms-transform-origin: left center;
	-o-transform-origin: left center;
	transform-origin: left center
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-next, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-next {
	-webkit-transform-origin: right center;
	-moz-transform-origin: right center;
	-ms-transform-origin: right center;
	-o-transform-origin: right center;
	transform-origin: right center
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-close, .tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-close {
	-webkit-transform-origin: right top;
	-moz-transform-origin: right top;
	-ms-transform-origin: right top;
	-o-transform-origin: right top;
	transform-origin: right top
}
.tos-caption {
	color: #fff;
	text-align: center;
	opacity: 0;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease;
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1
}
.tos-caption:after {
	content: '';
	display: block;
	clear: both
}
.tos-caption>div {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	width: 100%;
	box-sizing: border-box;
	padding: 0 20px;
	float: left
}
.tos-caption>div:last-child {
	float: right;
	margin-right: -2px
}
.tos-desktop .tos-wrapper:hover .tos-caption, .tos-touch .tos-wrapper.tos-hover .tos-caption {
	opacity: 1
}
.tos-wrapper .tos-caption {
	line-height: 20px;
	font-size: 15px;
	text-shadow: 0 1px 2px rgba(0,0,0,.8);
	height: 40px
}
.tos-wrapper.tos-has-caption .tos-uibg {
	height: 100px
}
.tos-desktop .tos-wrapper.tos-fixed.tos-fit.tos-has-caption .tos-slide {
	padding-bottom: 60px
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-caption {
	line-height: 40px;
	font-size: 30px;
	text-shadow: 0 2px 4px rgba(0,0,0,.8);
	height: 80px
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
	height: 200px
}
.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-caption {
	line-height: 60px;
	font-size: 45px;
	text-shadow: 0 3px 6px rgba(0,0,0,.8);
	height: 120px
}
.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed.tos-has-caption .tos-uibg {
	height: 300px
}
.tos-wrapper.tos-fx-slide .tos-slider {
	-webkit-transition-property: left, margin;
	-moz-transition-property: left, margin;
	-ms-transition-property: left, margin;
	-o-transition-property: left, margin;
	transition-property: left, margin
}
.tos-slide .tos-html {
	-webkit-overflow-scrolling: touch
}
.tos-play {
	background: #000;
	opacity: 0;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transition: opacity .4s ease;
	-moz-transition: opacity .4s ease;
	-ms-transition: opacity .4s ease;
	-o-transition: opacity .4s ease;
	transition: opacity .4s ease
}
.tos-play:after {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 50%
}
.tos-desktop .tos-wrapper:hover .tos-play, .tos-touch .tos-wrapper.tos-hover .tos-play {
	opacity: .5
}
.tos-desktop .tos-wrapper:hover .tos-play:hover, .tos-touch .tos-wrapper.tos-hover .tos-play:hover {
	opacity: .9
}
.tos-wrapper .tos-play {
	border-radius: 80px;
	width: 80px;
	height: 80px;
	margin: -40px
}
.tos-wrapper .tos-play:after {
	border: 20px solid transparent;
	border-left-color: #fff;
	border-left-width: 30px;
	margin-top: -20px;
	margin-left: -10.5px
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play {
	border-radius: 160px;
	width: 160px;
	height: 160px;
	margin: -80px
}
.tos-touch.tos-scale-2 .tos-wrapper.tos-fixed .tos-play:after {
	border: 40px solid transparent;
	border-left-color: #fff;
	border-left-width: 60px;
	margin-top: -40px;
	margin-left: -21px
}
.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play {
	border-radius: 240px;
	width: 240px;
	height: 240px;
	margin: -120px
}
.tos-touch.tos-scale-3 .tos-wrapper.tos-fixed .tos-play:after {
	border: 60px solid transparent;
	border-left-color: #fff;
	border-left-width: 90px;
	margin-top: -60px;
	margin-left: -31.5px
}
