p {
  margin-bottom: 6px;
}

.scroll-div {
  width: 7%;
  height: 14%;
  background: #ffffff;
  border-radius: 10px;
  position: absolute;
  top: 70%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.blur {
  filter: blur(4px);
  -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    pointer-events: none
}

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}

.icon-scroll {
  width: 80px;
  height: 120px;
  margin-left: -40px;
  top: 32%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 3px #000;
  border-radius: 75px;
}

.icon-scroll:before {
  content: '';
  width: 14px;
  height: 14px;
  background: #000;
  margin-left: -6px;
  top: 8px;
  border-radius: 12px;
  animation-duration: 1.5s;
  animation-iteration-count: 2;
  animation-name: scroll;
}

@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(46px);
  }
}

.question-text {
  font-size: 34px;
  font-weight: 700;
}

a.question-button {
  display: inline-block;
  padding: 10px 30px;
  margin: 0 0.3em 0.3em 0;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: none;
  font-weight: 300;
  text-align: center;
  transition: all 0.4s;
  text-transform: capitalize;
  cursor: pointer;
}

a:hover {
  text-decoration: none !important;
}

input:focus {
  outline: 0;
}

input.question {
  font-size: 48px;
  font-weight: 300;
  border-radius: 2px;
  text-align: center;
  margin: 0;
  border: none;
  width: 23%;
  background: rgba(0, 0, 0, 0);
  transition: padding-top 0.2s ease, margin-top 0.2s ease;
  overflow-x: hidden; /* Hack to make "rows" attribute apply in Firefox. */
  transition: 0.5s;
}

input.question:focus {
  width: 33%;
  padding-top: 10px;
  font-size: 52px;
}

input.question:focus::placeholder {
  transition: 0.5s;
  color: transparent;
}

input.question:invalid{
  box-shadow: none;
}

.question-icon {
  font-size: 10px;
  cursor: pointer;
  color: #ffffff;
  padding: 6px 8px;
  border-radius: 50%;
  position: relative;
  top: -7px;
  left: 10px;
}

#datalist {
	margin: auto;
	position: relative;
	color: #000;
}

#datalist.active #datalist-ul {
	display: block;
}

#datalist-ul {
	display: none;
	position: absolute;
  left: 50%;
	transform: translateX(-50%);
	margin: 5px 0 0 0;
	padding: 0;
	width: 23%;
	max-height: 200px;
	list-style: none;
	border-radius: 2px;
	overflow: hidden;
	overflow-y: auto;
	z-index: 100;
  transition: .5s;
}

#current-lender:focus + #datalist-ul {
  width: 33%;
}

#datalist-ul li {
	display: block;
	text-align: center;
	padding: 0.8em 1em 0.8em 1em;
	cursor: pointer;
  transition: .3s;
  font-size: 24px;
}

.hidelender {
  display: none !important;
}

.displaylender {
  display: block !important;
}

@media (max-width:992px)  {
  #fp-nav {
    display: none;
  }
  .content {
    margin: 60px;
  }
  input.question {
    width: 80%;
  }

  input.question:focus {
    width: 90%;
    padding-top: 10px;
    font-size: 52px;
  }
  #current-lender:focus + #datalist-ul {
    width: 90%;
  }
  #datalist-ul {
    width: 80%;
  }
  .scroll-div {
    display: none;
  }
  input.modal-signup {
    font-size: 20px !important;
  }
}

.progress-div {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #404040;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

.blur-div {
  filter: blur(5px);
  pointer-events: none;
}

.custom-modal {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.4);
}

.custom-modal-div {
  width: 550px;
  background: #ffffff;
  z-index: 0;
  border-radius: 5px;
  padding: 40px;
  margin: 20px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.contact-div {
  display: flex;
  align-items: center;
  float: center;
  justify-content: center;
}

input.modal-input {
  display: block;
  margin: 10px;
  padding: 5px;
  border: none;
  font-size: 22px;
}

input:focus {
  outline: 0;
}
/* Question */

input.modal-input {
  font-size: 22px;
  font-weight: 300;
  border-radius: 2px;
  margin: 0;
  border: none;
  width: 100%;
  background: rgba(0, 0, 0, 0);
  transition: padding-top 0.2s ease, margin-top 0.2s ease;
  overflow-x: hidden; /* Hack to make "rows" attribute apply in Firefox. */
}
/* Underline and Placeholder */

input.modal-input + label {
  display: block;
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  border-top: 1px solid red;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
  height: 0px;
}

input.modal-input:focus + label > span,
input.modal-input:valid + label > span {
  top: -58px;
  font-size: 14px;
  color: #cbcbcb;
}

input.modal-input-valid + label {
  border-color: green;
}

input.modal-input:invalid {
  box-shadow: none;
}

input.modal-input + label > span {
  font-weight: 300;
  margin: 0;
  position: absolute;
  color: #cbcbcb;
  font-size: 22px;
  top: -35px;
  left: 0px;
  z-index: -1;
  -webkit-transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

#header {
  top: 0px;
  position: fixed;
  height: 50px;
  display: block;
  width: 100%;
  background: #333;
  z-index: 9;
  text-align: center;
  color: #f2f2f2;
  padding: 20px 0 0 0;
}

#footer {
  bottom: 0px;
  position: fixed;
  height: 50px;
  display: block;
  width: 100%;
  background: #333;
  z-index: 9;
  text-align: center;
  color: #f2f2f2;
  padding: 20px 0 0 0;
}

.red-text {
  color: #e73434;
}
