#sms-form {
	background-color: black;
	width: 25vw;
	left: 60px;
	bottom: 70px;
	opacity: 0;
	max-height: calc(100vh - 140px);
	border: solid 1px white;
	max-width: 680px;
}
#sms-form.sms-form-inline {
	opacity: 1;
	position: relative;
	width: initial;
	left: 0;
	bottom: 0;
	border: transparent;
	max-width: initial;
	background-color: transparent;
}
#sms-form.sms-form-inline .sms-form__exit {
	display: none;
}
#sms-form.sms-form-inline .sms-form__hidden {
	opacity: 1;
	max-height: none; /* IE */
	max-height: fit-content; /* Chrome */
	max-height: -moz-max-content; /* Firefox/Gecko */
	padding: 10px 0px;
	pointer-events: auto;
}
#sms-form.sms-form-inline input {
	max-width: 100%;
}
#sms-form.sms-form-inline img.sms-form__expand {
	display: none;
}
#sms-form.sms-form-inline img.sms-form__decor {
	height: 0px;
	width: 0px;
	padding: 0;
}
.sms-form__grid {
	display: flex;
	width: 100%;
	align-items: center;
}
.sms-form__box h2 {
	font-size: 26px;
	margin-top: 5px;
}
#sms-form input {
	max-width: 90%;
	display: inline;
}
#sms-form label,
#sms-form small {
	display: block;
}
.sms-form__hidden {
	max-height: 0px;
	opacity: 0;
	transition: all 0.3s ease;
	pointer-events: none;
	overflow: hidden;
}
.sms-form__number,
#sms-form__terms,
#contact-lists {
	padding: 10px 0px;
}
.sms-form__terms__link {
	cursor: pointer;
	text-decoration: underline;
}
#sms-form label {
	margin-bottom: 0px;
}
#page img.sms-form__expand {
	height: 20px;
	cursor: pointer;
}
.sms-form-modal .sms-form__hidden {
	max-height: 150px;
	max-height: initial;
	opacity: 1;
	pointer-events: auto;
	padding: 10px 0px;
}
.sms-form-modal .sms-form__expand {
	display: none;
}
.sms-form-modal#sms-form input {
	max-width: 100%;
}
#page .sms-form-modal img.sms-form__decor {
	height: 0px;
	width: 0px;
	padding: 0;
}
.sms-form__exit,
.submit-message__exit {
	background-image: url(../../gutenberg/images/cancel-circle.svg);
	background-repeat: no-repeat;
	background-position: center;
	height: 15px;
	width: 15px;
	border: 0px;
	background-size: 100%;
	background-color: transparent;
	float: right;
	cursor: pointer;
}
#page img.sms-form__decor {
	width: 40%;
	height: 100%;
	padding-left: 15px;
	padding-right: 30px;
	transition: all 0.3s ease;
	max-width: 150px;
}
.submit-message__exit {
	position: absolute;
	right: 10px;
	top: 10px;
}
#contact-lists label {
	display: inline;
}
#contact-lists .deals-error {
	display: none !important;
}
#sms-form label[for="terms"] {
	display: inline;
}
.submit-message {
	position: fixed;
	background-color: #000;
	width: 100%;
	max-width: 400px;
	top: 50%;
	transform: translate(-50%, -50%);
	left: 50%;
	z-index: 9000000000;
}

@media (max-width: 1470px) {
	#sms-form {
		width: 35vw;
	}
}

@media (max-width: 1050px) {
	#sms-form {
		width: 50vw;
	}
}
@media (max-width: 1024px) {
	@supports (-webkit-touch-callout: none) {
		#sms-form {
			height: 270px;
		}
	}
}
@media (max-width: 700px) {
	#sms-form {
		width: 100%;
		left: 0;
		bottom: 0;
		max-height: 100vh;
	}
}

@media (max-width: 350px) {
	.sms-form__grid {
		flex-direction: column;
	}
	.sms-form__decor {
		margin: 0 auto;
		max-height: 50px;
	}
}
