/**
 * Ultramed Sleep - Elementor Widget: Button
 */

.ums-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 14px 55px 14px 40px;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 500;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0;
	background: rgba(0, 109, 175, 1);
	color: #fff;
	transition: .3s;
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	position: relative;
	overflow: hidden;
	border: 0;
}

.ums-button span {
	z-index: 2;
	position: relative;
}

.ums-button:after {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	background: rgba(240, 233, 105, 1);
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s ease-in-out;
	transform-origin: right;
	z-index: 0;
}

.ums-button:before {
	content: '';
	display: block;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	background: rgba(0, 109, 175, 1);
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	transition: .5s;
	transform-origin: right;
	z-index: 2;
	opacity: 0;
}

.ums-button:hover,
.ums-button:focus-visible {
	color: rgba(26, 47, 99, 1);
	background: rgba(0, 109, 175, 1);
}

.ums-button:hover:after {
	right: 0;
	height: 102%;
	width: 102%;
	border-radius: 12px;
}

.ums-button:hover:before {
	opacity: 1;
}

.ums-button--disabled {
	opacity: 0.45;
	pointer-events: none;
}

.ums-button--arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	letter-spacing: 0%;
	color: rgba(0, 109, 175, 1);
	gap: 16px;
	cursor: pointer;
	transition: .3s;
	white-space: nowrap;
}

.ums-button--arrow svg {
	position: relative;
}

.ums-button--arrow path:nth-of-type(2) {
	transform: translateX(-30px);
}

.ums-button--arrow rect,
.ums-button--arrow path {
	transition: .5s;
}

.ums-button--arrow:hover {
	color: rgba(26, 47, 99, 1);
}

.ums-button--arrow:hover rect {
	fill: rgba(240, 233, 105, 1);
}

.ums-button--arrow:hover path {
	fill: rgba(26, 47, 99, 1);
}

.ums-button--arrow:hover path:nth-of-type(2) {
	transform: translateX(0);
}

.ums-button--arrow:hover path:nth-of-type(1) {
	transform: translateX(30px);
}

