/*
	Monile sticky stylesheet
*/

div.mobile_sticky_banner {
	position: fixed;
	left: 0;
	width: 100%;
	bottom: -100%;
	display: block;
	text-align: center;
	padding: 0.8em 0.2em;
	background: -webkit-linear-gradient(left, #b22f18 0%,#ef5631 52%,#b22f18 100%);
	color: white;
	z-index: 1000000;
	border-radius: 0px 0px 0px 0px;
	box-shadow: 0px 3px 8px black;

	display: flex;
	flex-wrap: nowrap;
	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	transition: all 0.3s;
}

footer.delay_show div.mobile_sticky_banner {
	bottom: 0%;
}

body.no-live-chat div.mobile_sticky_banner {
	display: none;
}

div.mobile_sticky_banner div {
	display: block;
	font-size: 17px;
	font-weight: 700;
}

div.mobile_sticky_banner a {
	border: 2px solid white;
	border-radius: 50px;
	width: 40%;
	display: inline-block;
	padding: 8px;
	line-height: 16px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	white-space: nowrap;
	box-shadow: 0px 3px 6px rgb(0 0 0 / 20%);
}

body.no-live-chat div.mobile_sticky_banner a#phone {
	display: none;
}

div.mobile_sticky_banner a#phone {
	color: white;
	background-color: transparent;
}

div.mobile_sticky_banner a.order {
	color: #e01d1d;
	background-color: white;
}

body.no-live-chat div.mobile_sticky_banner a.order,
div.mobile_sticky_banner a.order.long {
	width: auto;
}

@media only screen and (max-width :320px) {
	div.mobile_sticky_banner div {
		display: block;
		font-size: 14px;
	}

	div.mobile_sticky_banner a {
		font-size: 10px;
	}
}

@media only screen and (min-width :320px) {
	footer.delay_show {
		padding-bottom: 70px !important;
	}


	a.sticky_banner {
		position: fixed;
		bottom: 0%;
		left: 0;
		right: 0;
		padding: 0em;
		z-index: 1000;
		background-image: url(../images/promotions/regular/Sticky-Mobile1.png);
		background-repeat: no-repeat;
		background-position: center bottom;
		background-size: 100% auto;
		text-align: center;
		visibility: visible;
		opacity: 1;
		transition: all 0.5s;
		height: calc(100vw * (136/640));
		outline: 0;
		-webkit-tap-highlight-color: transparent;
	}

	body.sale a.sticky_banner {
		background-image: url("/wp-content/themes/angelsense/images/back-to-school/last/sticky-banner-last-chance-device.webp");
		height: calc(100vw * (136/640));
	}

	body.gps-tracker-watch.sale a.sticky_banner,
	body.teens-and-adults.sale a.sticky_banner,
	body.gps-tracker-for-elderly.sale a.sticky_banner,
	body.protect-a-loved-one-with-alzheimers-from-wandering.sale a.sticky_banner,
	body.gps-locator-tracker-for-dementia.sale a.sticky_banner,
	body.elderly-watch.sale a.sticky_banner {
		background-image: url("/wp-content/themes/angelsense/images/back-to-school/last/Banner_Mobile_Watch.webp");
		height: calc(100vw * (136/640));
	}

	a.sticky_banner.help {
		background-image: url(/wp-content/themes/angelsense/images/sticky/sticky_help.png);
	}

	a.sticky_banner.sticker,
	body.sale a.sticky_banner.sticker {
		background-image: url(../images/blog/blog-sticky.png);
	}

	footer.delay_show a.sticky_banner {
		display: block;
		opacity: 1;
		visibility: visible;
		bottom: 0;
		z-index: 1000000;
	}

	/*Chat sticky*/
	#phone_chat {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 1000001;
		background-color: #ffa25f;
		color: white;
		padding: 0.5em 1em;
		border-top: 2px solid white;
		visibility: hidden;
	}

	#phone_chat.show {
		visibility: visible;
	}

	#phone_chat div.image {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 30%;
	}

	#phone_chat div.content {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 50%;
		text-align: left;
	}

	#phone_chat div.image img {
		display: block;
		margin-right: auto;
		margin-top: -40px;
		width: 100%;
	}

	#phone_chat div.content img {
		display: inline-block;
		vertical-align: middle;
		width: 20%;
		margin: 0em 0.2em;
	}

	#phone_chat div.content p {
		display: inline-block;
		vertical-align: middle;
		width: 72%;
		font-size: 1.3rem;
		white-space: nowrap;
		line-height: 1.1;
	}

	#phone_chat div.content p strong {
		display: block;
	}
}

@media only screen and (min-width :375px) {
	#phone_chat {
		padding: 0.2em 1em;
	}

	#phone_chat div.image {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 30%;
	}

	#phone_chat div.content {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 67%;
		text-align: left;
	}

	#phone_chat div.content p {
		font-size: 1.6rem;
	}

	#phone_chat div.image img {
		display: block;
		margin-right: auto;
		margin-top: -40px;
		width: 100%;
	}

	#phone_chat div.content img {
		display: inline-block;
		vertical-align: middle;
		width: 15%;
		margin: 0em 0.2em;
	}

	#phone_chat div.content p {
		display: inline-block;
		vertical-align: middle;
		width: 72%;
		font-size: 1.5rem;
		white-space: nowrap;
		line-height: 1.1;
	}

	#phone_chat div.content p strong {
		display: block;
	}
}

@media only screen and (min-width :667px) {
	a.sticky_banner {
		background-image: url(../images/promotions/regular/sticky_1_v21.png);
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 100% auto;
		background-color: transparent;
		height: 90px;
	}

	a.sticky_banner.help {
		background-image: url(/wp-content/themes/angelsense/images/sticky/sticky_help_por.png);
	}

	body.sale a.sticky_banner {
		background-image: url("/wp-content/themes/angelsense/images/promotions/gps4-launch/Launch_sticky_728.webp");
		height: calc(100vw * (82/768));
		display: none;
	}

	#phone_chat {
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 1000001;
		background-color: #ffa25f;
		color: white;
		padding: 0.1em 10em;
		border-top: 2px solid white;
		visibility: hidden;
	}

	#phone_chat.show {
		visibility: visible;
	}

	#phone_chat div.image {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 45%;
	}

	#phone_chat div.content {
		display: inline-block;
		vertical-align: middle;
		box-sizing: border-box;
		width: 45%;
		text-align: left;
	}

	#phone_chat div.image img {
		display: block;
		margin-right: auto;
		margin-left: auto;
		margin-top: -20px;
		width: 45%;
	}

	#phone_chat div.content img {
		display: inline-block;
		vertical-align: middle;
		width: 15%;
		margin: 0em 0.2em;
	}

	#phone_chat div.content p {
		display: inline-block;
		vertical-align: middle;
		width: 72%;
		font-size: 1.4rem;
		white-space: nowrap;
		line-height: 1.1;
	}

	#phone_chat div.content p strong {
		display: block;
	}
}

@media only screen and (min-width :768px) {
	#phone_chat {
		display: none;
	}
}

@media only screen and (min-width :1023px) {
	a.sticky_banner {
		background-image: url(../images/promotions/regular/sticky_2_v21.png);
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 100% auto;
		background-color: transparent;
		height: 122px;
	}

	a.sticky_banner.help {
		background-image: url(/wp-content/themes/angelsense/images/sticky/sticky_help_land.png);
	}

	a.sticky_banner.sale {
		background-image: url("/wp-content/themes/angelsense/images/promotions/gps4-launch/Launch_sticky_1024.webp");
		height: calc(100vw * (95/1024));
		display: none;
	}
}

/*Exlude pages*/
body.single-kb a.sticky_banner,
a.sticky_banner.thank-you,
a.sticky_banner.setup,
a.sticky_banner.activate,
a.sticky_banner.contest-coupon,
a.sticky_banner.angelcall-coupon,
a.sticky_banner.thank-you-accessory,
a.sticky_banner.invite-a-friend,
a.sticky_banner.special-needs-homeschooling,
a.sticky_banner.alto,
a.sticky_banner.autisticglobetrotting,
a.sticky_banner.success,
a.sticky_banner.accessories,
a.sticky_banner.checkout,
a.sticky_banner.plans,
a.sticky_banner.pricing,
a.sticky_banner.shopping {
	display: none;
}