#sms-form {
	background-color: rgba(0,0,0,0.75);
	width: 30vw;
	left: 10px;
	bottom: 10px;
	opacity: 0;
	max-height: calc(100vh - 140px);
	border: solid 1px rgb(90, 90, 90);
	max-width: 325px;
	padding: 16px;
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
}
#sms-form.sms-form-inline {
	opacity: 1;
	position: relative;
	width: initial;
	left: 0;
	bottom: 0;
	border: transparent;
	background-color: transparent;
	padding: 0;
	backdrop-filter: none;
	max-width: 427px;

}
#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 .sms-form__expand {
	display: none;
}

#sms-form button.sms-form__expand,
#sms-form button#submit-sms-user {
	border-radius: 5px;
	transition: all 0.2s ease-in-out;
	text-transform: none;
}
#sms-form button.sms-form__expand {
	background-color: #006eff;
	border-color: #006eff;
}
#sms-form button.sms-form__expand:hover {
	color: #aaa;
}
.sms-form__grid {
	display: flex;
	width: 100%;
	align-items: center;
}
.sms-form__box h2 {
	font-size: 18px;
	margin-top: 0px;
}
.sms-form__box p, 
.sms-form__box small  {
	text-wrap: pretty;
}
#sms-form input {
	max-width: 90%;
	display: inline;
}
#sms-form .form-control {
	border-radius: 5px;
}
#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 {
	margin: 10px 0px 0px;
}
.sms-form__terms__link {
	cursor: pointer;
	text-decoration: underline;
}
#sms-form label {
	margin-bottom: 0px;
}
.sms-form-modal .sms-form__hidden {
	max-height: 150px;
	max-height: initial;
	opacity: 1;
	pointer-events: auto;
	margin: 10px 0px 0px;
}
.sms-form-modal .sms-form__expand {
	display: none;
}
.sms-form-modal#sms-form input {
	max-width: 100%;
}
.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;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
}
#page img.sms-form__decor {
	width: 18px;
	margin-right: 10px;
	transition: all 0.3s ease;
	max-width: 150px;
}
.submit-message__exit {
	position: absolute;
	right: 10px;
	top: 10px;
}
#contact-lists label {
	display: inline;
	font-size: 13px;
	vertical-align: text-top;
}
#contact-lists .deals-error {
	display: none !important;
}
#sms-form label[for="terms"] {
	display: inline;
	font-size: 13px;
	vertical-align: text-top;
}

#sms-form .ctct-form-footer{
	margin-top: 10px;
}
#submit-sms-user {
	margin-top: 10px;
}
.submit-message {
	position: fixed;
	background-color: #000;
	width: 100%;
	max-width: 400px;
	top: 50%;
	transform: translate(-50%, -50%);
	left: 50%;
	z-index: 9000000000;
}

#sms-form .required{
	margin-left: 10px;
	display: inline-block;
}

#sms-form .deals-error,
#sms-form .required,
#sms-form .error {
	color: #c48058;
	font-size: 13px !important;
}
#sms-form .form-control.error {
	border-color: #c48058;
}

#sms-form .text-info {
	color: #70b9b9;
}
#sms-form .text-info [data-icon] {
	margin-right: 5px;
}
@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: 600px) {
	#sms-form {
		width: calc(100% - 20px);
		max-width: none;
		left: 10px;
		bottom: 10px; 
		max-height: 80vh;
	}
}

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