/* HubSpot Embedded Form Styles */

.hs-input {
    display: inline-block;
    width: 95%;
    max-width: 500px;
    height: 40px;
    padding: 9px 10px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    color: #33475b;
    border: 1px solid #cbd6e2;
    box-sizing: border-box;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}

.hs-input:not([type=file]) {
    background-color: #f5f8fa;
}

.input {
	border: none !important;
    margin-right: 0 !important;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
    border-radius: .375rem !important;
	height: 50px !important;
}

textarea {
  border-radius: .375rem !important;
  max-height: 100% !important;
  min-height: 50px !important;
  resize: vertical !important;
}

.hs-form-field {
    padding: .5rem 0 !important;
}

.hs-submit {
    margin-top: 1.5rem;
}

.hs-error-msgs {
    list-style-type: none !important;
	margin-bottom: 0 !important;
	padding-left: 0 !important;
}

.hs-error-msg {
    color: red !important;
	font-size: .8rem !important;
}

.hs-form-field label span {
    font-size: .9rem !important;	
	display: inline-block !important;
	padding-bottom: .3rem !important;
}

.hs-form-field .inputs-list {
    list-style-type: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.hs-form-field .inputs-list input[type="checkbox"],
.hs-form-field .inputs-list input[type="radio"] {
    float: left !important;
	height: 25px !important;
	margin-right: 10px !important;
}

.hs-form-field .inputs-list span {
    margin: 0 !important;
	padding: 0 !important;
}

select {
    color: 545456 !important;
}

.hbspt-form .submitted-message {
	font-size: 1.2rem !important;
    text-align: center !important;
}

div.img-frame {
    width: auto;
    height: auto;
    background: url(https://content.speareducation.com/hubfs/Landing%20Pages/MKTGL-6481_Dentrix_Campaign-SPS_First_Month_Free/SPS-Scroll-w-Modals-Wide.gif) no-repeat;
    background-size: 61% 80%;
    background-position: 50% 28%;
    position: relative;
}

div.img-frame img {
    width: 80%;
    height: 80%;
}

#imageOverlayAfterSubmit,
#overlayBuffer {
    display: none;
}

#overlayBuffer {
    margin-bottom: 0;
}

.form-image-overlay .submitted-message p span {
    color: #ffffff !important;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-7px);
	}
	60% {
		transform: translateY(-4px);
	}
}

.arrow.bounce {
	display: inline-block;
	animation: bounce 2s infinite;
	fill: #1863ad;
}

.arrow.bounce svg {
    width: 40px;
}

/* XS */
@media (max-width: 767px) {
	.img-overlay {
	    bottom: -100px !important;
		left: 0 !important;
	}
	#imageOverlayBeforeSubmit img {
		height: 170px;
	    width: 300px;
	}
	#imageOverlayAfterSubmit {
	    top: 100px !important;
	}
	#overlayBuffer {
	    margin-bottom: 50px !important;
	}
}

/* MD */
@media (min-width: 768px) and (max-width: 991px) {
	.img-overlay {
	    bottom: -150px !important;
		left: 0 !important;
	}
	#imageOverlayAfterSubmit {
	    top: 100px !important;
	}
	#overlayBuffer {
	    margin-bottom: 50px !important;
	}
	/* video {
		margin-top: 75px !important;
	} */
}

.btn-primary {
    background: #1743d7 !important;
	border: 1px solid #1743D7 !important;
}

.btn-dark {
    background: #000000 !important;
	border: 1px solid #000000 !important;
}

.btn-secondary {
    background: #fae073 !important;
	border: 1px solid #fae073 !important;
}
