.usetada-widget {
	position: fixed;
	bottom: 30px;
	z-index: 2147483647;
}

.usetada-widget.usetada-widget--left {
	left: 30px;
}

.usetada-widget.usetada-widget--right {
	right: 30px;
}

.usetada-widget.usetada-widget--right .usetada-button {
	float: right;
}

/* Embed box */
.usetada-embed {
	border-radius: 10px;
	box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.16);
	width: 380px;
	height: 600px;
	max-height: 80vh;
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
	background: #fff;
}

.usetada-embed--hidden {
	display: none;
}

.usetada-embed::after {
	content: "";
	display: block;
	position: absolute;
	border: 1px solid #e6e6e6;
	border-top-color: #637381;
	border-radius: 50%;
	background-color: inherit;
	width: 30px;
	height: 30px;
	z-index: 1;
	top: 50%;
	margin-top: -15px;
	left: 50%;
	margin-left: -15px;
	right: 0;
	bottom: 0;
	-webkit-animation: spin .75s linear infinite;
	animation: spin .75s linear infinite;
	z-index: -1;
}

.usetada-embed>div {
	overflow: hidden;
	height: 100%;
}

.usetada-embed iframe {
	width: 100%;
	height: 100%;
	border-radius: 10px;
}

/* Button */
.usetada-button {
	position: relative;
	display: inline-block;
	box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.16);
	border-radius: 6px;
	padding: 15px 15px;
	line-height: normal;
	letter-spacing: normal;
	cursor: pointer;
}

.usetada-button__icon {
	position: relative;
	opacity: 1;
	transition: opacity 0.5s;
}

.usetada-button__icon img {
	max-width: 24px;
	max-height: 24px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
}

.usetada-button__icon span {
	font-size: 16px;
	font-family: "Source Sans Pro", sans-serif;
	visibility: visible;
	opacity: 1;
	transition: opacity .5s;
}

/* Interaction */
.usetada-widget.usetada-widget--opened .usetada-button__icon img {
	opacity: 0;
}

.usetada-widget.usetada-widget--opened .usetada-button__icon>span {
	visibility: hidden;
	opacity: 0;
	position: absolute;
	width: 0;
	transition: opacity 0.5s;
}

.usetada-widget.usetada-widget--opened .usetada-button {
	background-image: url('../images/close.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 24px;
}

.usetada-alt-close {
	position: fixed;
	width: 40px;
	height: 40px;
	right: 10px;
	top: 10px;
	display: none;
}

.usetada-alt-close:after {
	content: "";
	background: url('../images/close.png') no-repeat center center transparent;
	width: 100%;
	height: 100%;
	position: absolute;
	background-size: 50%;
	filter: invert(1);
}


/* ====================
	RESPONSIVE
==================== */
@media(max-width: 980px) {
	.usetada-widget {
		bottom: 10px;
	}

	.usetada-widget.usetada-widget--left {
		left: 10px;
	}

	.usetada-widget.usetada-widget--right {
		right: 10px;
	}

	.usetada-embed {
		width: 280px;
	}


}

/* Smaller screen */
@media(max-width: 480px) {
	.usetada-embed {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 94%;
		max-height: unset;
		border-radius: 0;
	}

	.usetada-embed iframe {
		border-radius: 0;
	}

	.usetada-alt-close {
		display: none;
	}
}


/* ====================
	ANIMATION
==================== */
.usetada_animated {
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

@-webkit-keyframes usetada_fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 8%, 0);
		transform: translate3d(0, 8%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes usetada_fadeInUp {
	from {
		opacity: 0;
		-webkit-transform: translate3d(0, 8%, 0);
		transform: translate3d(0, 8%, 0);
	}

	to {
		opacity: 1;
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
	}
}

.usetada_fadeInUp {
	-webkit-animation-duration: 0.75s;
	animation-duration: 0.75s;
	-webkit-animation-name: usetada_fadeInUp;
	animation-name: usetada_fadeInUp;
}

@-webkit-keyframes usetada_fadeOutDown {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, 8%, 0);
		transform: translate3d(0, 8%, 0);
	}
}

@keyframes usetada_fadeOutDown {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
		-webkit-transform: translate3d(0, 8%, 0);
		transform: translate3d(0, 8%, 0);
	}
}

.usetada_fadeOutDown {
	-webkit-animation-duration: 0.5s;
	animation-duration: 0.5s;
	-webkit-animation-name: usetada_fadeOutDown;
	animation-name: usetada_fadeOutDown;
}