body {
	background-color: #8ec6d9;
	
	margin: 0
}
.bgimg{
	
	background-image: url(header-02.png);
	background-repeat:no-repeat;
}
.form {
	width: 640px;
	height: 1500px;
	background:rgba(255,255,255,1.00);
	border-radius: 8px;
	box-shadow: 0 0 40px -10px #000;
	margin: calc(50vh - 100px) auto;
	padding: 20px 30px;
	max-width: calc(100vw - 40px);
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
	position: relative
}
h2 {
	margin: 10px 0;
	padding-bottom: 10px;
	width: 380px;
	color: #78788c;
	border-bottom: 3px solid #78788c
}
input {
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	background: none;
	outline: none;
	resize: none;
	border: 0;
	font-family: 'Montserrat', sans-serif;
	transition: all .3s;
	border-bottom: 2px solid #bebed2
}
input:focus {
	border-bottom: 2px solid #78788c
}
p:before {
	content: attr(type);
	display: block;
	margin: 28px 0 0;
	font-size: 14px;
	color: #5a5a5a
}
button {
	float: right;
	padding: 8px 12px;
	margin: 8px 0 0;
	font-family: 'Montserrat', sans-serif;
	border: 2px solid #78788c;
	background:#8ec6d9;
	color: #5a5a6e;
	cursor: pointer;
	transition: all .3s
}
button:hover {
	background: #78788c;
	color: #fff
}
div {
	content: 'Hi';
	position: absolute;
	bottom: -15px;
	right: -20px;
	background: #50505a;
	color: #fff;
	width: 320px;
	padding: 16px 4px 16px 0;
	border-radius: 6px;
	font-size: 13px;
	box-shadow: 10px 10px 40px -14px #000
}
span {
	margin: 0 5px 0 15px
}
legend {
  font-weight: 400;
}

legend,
label {
  display: inline-block;
  margin-bottom: .5rem;
}

input[type='text'],
textarea,
select {
  display: block;
  padding: .5rem;
  width: 100%;
  background-color: white;
  border-radius: .25rem;
  border: 1px solid #e5e5e5;
  outline: none;
  /* List some properties that might change */
  -webkit-transition-property: none;
  transition-property: none;
  -webkit-transition-duration: none;
          transition-duration: none;
}
input[type='text']:focus,
textarea:focus,
select:focus {
  border-color: #ef7ead;
}

textarea {
  max-width: 300px;
  height: 100px;
}

input[type='text'],
select {
  height: 34px;
}

select {
  font-size: .875rem;
}

input[type='checkbox'],
input[type='radio'] {
  position: relative;
    top: 5px;
    width: 22px;
    height: 22px;
    margin: 0 .5rem;
  background-color: white;
  border: 1px solid #e5e5e5;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  /* List some properties that might change */
  -webkit-transition-property: none;
  transition-property: none;
  -webkit-transition-duration: none;
          transition-duration: none;
}

input[type='checkbox'] {
  border-radius: 5px;
}
input[type='checkbox']:checked {
  background-color: #8ec6d9;
  border: none;
}
input[type='checkbox']:checked:after {
  display: block;
  content: '';
  height: 4px;
  width: 10px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  -webkit-transform: translate(1px, 1px) rotate(-45deg) scale(1);
          transform: translate(1px, 1px) rotate(-45deg) scale(1);
}

input[type='radio'] {
  border-radius: 50%;
}
input[type='radio']:checked {
  border-width: 3px;
  border-color: white;
  background-color: #8ec6d9;
}
.required{
      color:red;
	
}
