body.td-overlay-scroll-locked {
	overflow: hidden;
}

.td-overlay-holder {
	display: block !important;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: 0;
	z-index: 1001;
	transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), bottom 0s linear 0.5s;
	-moz-transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), bottom 0s linear 0.5s;
	-webkit-transition: width 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), bottom 0s linear 0.5s;
}
body.admin-bar .td-overlay-holder {
	top: 32px;
}

@media (max-width: 767px) {
	.td-overlay-holder {
		display: none !important;
	}
}

.td-overlay-holder__wrap{
	position: absolute;
	width: 40px;
	left: 0;
	top: 80px;
	bottom: 100px;
}

.td-overlay-button-demos,
.td-overlay-button-shop{
	position: absolute;
	bottom: 70px;
	right: 40px;
	margin: 0;
	border-radius: 0;
	height: auto;
	line-height: 1;
	padding: 0;
	box-shadow: none;
	background: none;

	font-size: 24px;
	text-align: center;
}
.td-overlay-button-shop{
	bottom: 0;
}

.td-overlay-button-demos__label,
.td-overlay-button-shop__label {
	font-family: 'Montserrat';
	padding: 0;
	width: 90px;
	height: 56px;
	margin-right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.5;
	font-size: 12px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-align: center;
	font-weight: 500;
	transition: all 0.3s;
	box-shadow: -3px 2px 7px rgba(0, 0, 0, 0.1);
	-webkit-animation: labelAnimation 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 500ms both;
	animation: labelAnimation 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 500ms both;
}
.td-overlay-button-demos__label{
	position: relative;
	justify-content: flex-start;
	overflow: hidden;
}
.td-overlay-button-demos__label .rotate-text {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
	min-height: 56px;
	margin-top: 0;
	transition: all 0.3s;
	animation: labelTextRotate 8s cubic-bezier(0.215, 0.610, 0.355, 1.000) 4s infinite;
}

@-webkit-keyframes labelTextRotate {
	0%, 12.66%, 100%{
		transform:translate3d(0,0,0);
	}
	16.66%, 62.64% {
		transform:translate3d(0,-56px,0);
	}
	66.64%, 95.96% {
		transform:translate3d(0,0,0);
	}
}

@keyframes labelTextRotate {
	0%, 12.66%, 100%{
		transform:translate3d(0,0,0);
	}
	16.66%, 62.64% {
		transform:translate3d(0,-56px,0);
	}
	66.64%, 95.96% {
		transform:translate3d(0,0,0);
	}
}

.td-overlay-button-shop__label {
	background-color: #00bcd4;
	color: #000000;
	-webkit-animation: labelAnimation 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 600ms both;
	animation: labelAnimation 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 600ms both;
}

.td-overlay-button-demos__label .rotate-text:nth-child(1):hover{
	background-color: #FFFFFF !important;
	color: #000000 !important;
}
.td-overlay-button-demos__label .rotate-text:nth-child(2):hover,
.td-overlay-button-shop__label:hover {
	background-color: #000000 !important;
	color: #FFFFFF !important;
}

@-webkit-keyframes labelAnimation {
	from { margin-right: -90px; }
	to { margin-right: 0; }
}

@keyframes labelAnimation {
	from { margin-right: -90px;}
	to { margin-right: 0;}
}

.td-overlay-button-demos__label.td-preview-open{
	-webkit-animation: labelAnimationInvert 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	animation: labelAnimationInvert 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
.td-overlay-button-shop__label.td-preview-open{
	-webkit-animation: labelAnimationInvert 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 100ms both;
	animation: labelAnimationInvert 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 100ms both;
}
@-webkit-keyframes labelAnimationInvert{
	from{ margin-right: 0; }
	to{ margin-right: -90px; }
}
@keyframes labelAnimationInvert{
	from{ margin-right: 0; }
	to{ margin-right: -90px; }
}

.td-overlay-button-demos__label em {
	font-size: 22px;
	font-family: 'Montserrat UltraLight';
	letter-spacing: 1px;
	font-style: normal;
	line-height: 1;
	display: block;
	-webkit-animation: flickerAnimation ease 4s infinite;
	animation: flickerAnimation ease 4s infinite;
}
.td-overlay-button-shop__label > svg{
	fill: #FFFFFF;
}
@-webkit-keyframes flickerAnimation{
	0%, 100%, 50%{
		opacity: 1;
	}
	25%, 75%{
		opacity: 0.5;
	}
}
@keyframes flickerAnimation{
	0%, 100%, 50%{
		opacity: 1;
	}
	25%, 75%{
		opacity: 0.5;
	}
}

.td-overlay-button-demos__tooltip {
	-webkit-animation: tooltipFade .3s ease-out 600ms both;
	animation: tooltipFade .3s ease-out 600ms both;
}

.td-overlay-button-demos__tooltip > span {
	width: 200px;
	height: 56px;
	position: absolute;
	background-color: rgba(6,6,15,.55);
	right: 100%;
	top: 0;
	text-align: left;
	color: rgba(255,255,255,.8);
	font-family: 'Source Sans Pro';
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
	text-transform: none;
	display: flex;
	align-items: center;
	padding-left: 15px;
	margin-right: 15px;
}

.td-overlay-button-demos__tooltip > span:after {
	content: '';
	position: absolute;
	display: block;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	border: 10px solid transparent;
	border-left: 10px solid rgba(6,6,15,.55);
}
@-webkit-keyframes tooltipFade{
	from{ opacity: 0 }
	to{ opacity: 1 }
}
@keyframes tooltipFade{
	from{ opacity: 0 }
	to{ opacity: 1 }
}

.td-overlay-preview {
	display: block !important;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
	background: #323237;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	perspective: 800px;
	-webkit-perspective: 800px;
	transform: translateX(100%) translateZ(0);
	-webkit-transform: translateX(100%) translateZ(0);
	-webkit-transition: transform .4s ease,opacity .4s ease,visibility .4s ease;
	transition: transform .4s ease,opacity .4s ease,visibility .4s ease;
	z-index: 10001;
}

.td-overlay-preview.td-preview-open {
	opacity: 1;
	visibility: visible;
	pointer-events: visible;
	transform: none;
	-webkit-transform: none;
}

.td-overlay-preview-close{
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 0;
	height: 60px;
	width: 60px;
	z-index: 4;
	cursor: pointer;
	transform: translateX(100%);
	-webkit-transform: translateX(100%);
	-webkit-transition: transform .25s ease .4s;
	transition: transform .25s ease .4s;
}
.td-overlay-preview-close:after,
.td-overlay-preview-close:before {
	content: "";
	width: 36px;
	height: 4px;
	position: absolute;
	right: 50%;
	top: 50%;
	margin-top: -2px;
	margin-right: -18px;
	display: inline-block;
	background-color: #FFFFFF;
	-webkit-transition: all .25s ease;
	transition: all .25s ease;
}
.td-overlay-preview-close:after {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
}
.td-overlay-preview-close:before {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
}
.td-overlay-preview.td-preview-open .td-overlay-preview-close{
	transform: none;
	-webkit-transform: none;
}

@media only screen and (max-width: 991px){
	.td-overlay-preview-close{
		height: 55px;
		width: 60px;
		top: 0;
		right: 0;
	}
	.td-overlay-preview-close:after,
	.td-overlay-preview-close:before {
		content: "";
		width: 24px;
		height: 2px;
		margin-top: 0;
		margin-right: -12px;
		background-color: #99a9b5;
	}
}


.td-overlay-preview-frame{
	position: relative;
	width: 100%;
	height: 100%;
}
.td-overlay-preview-frame iframe{
	border: 0;
	outline: 0;
 }

.td-overlay-preview.preview-frame-loading{
	overflow: hidden !important;
}
.td-overlay-preview.preview-frame-loading:before{
	content: '';
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #323237;
	z-index: 5;
}
.td-overlay-preview.preview-frame-loading:after{
	content: '';
	position: fixed;
	top: 50%;
	left: 50%;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-left: 2px solid #f4f6f7;
	-webkit-animation: loaderAnimation 1.1s infinite linear;
	animation: loaderAnimation 1.1s infinite linear;
	z-index: 6;
}
@-webkit-keyframes loaderAnimation {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
@keyframes loaderAnimation {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}