#contact{
    padding:10px 0 10px;
  }
.contactpage{
	position:relative;
	top:25px;
}

.contacttitle{
	color: #f1f1f1;
	font-family: Montserrat-Bold;
	font-size: 6em;
	margin-bottom: 35px;	
}

.contactbackground{
    display: block;
    width: 100%;
    height: 850px;
    object-fit: cover;
    object-position: 100% 370%;
}
.contactpanel{
    position: absolute;
    left: 0; 
    right: 0; 
    margin-left: 10%;
    margin-right: auto;
    top: 80px;
    width: 30%;
    height: 30%;
}
.fa-envelope-o,.fa-phone,.fa-fax,.fa-map-marker{
	padding-right: 13px;
}
  .contact-text{
    margin:45px auto;
  }

  .mail-message-area{
    width:100%;
    padding:0 15px;
  }

  .mail-message{
    width: 100%;
    background: #f1f1f1 !important;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    transition: all 0.7s;
    margin:0 auto;
    border-radius: 0;
  }

  .not-visible-message{
    height:0px;
    opacity: 0;
  }

  .visible-message{
    height:auto;
    opacity: 1;
    margin:25px auto 0;
  }

/* Input Styles */

  .form {
	width: 100%;
	padding: 20px;
	background: transparent;
	border: 4px solid #f1f1f1;
	margin-bottom: 25px;
	color: #f1f1f1 !important;
	font-size: 13px;
	transition: all 0.4s;
	font-family: Montserrat;
}

.form::placeholder {
  opacity: 1;
}

  .form:hover{
    border:4px solid #f1f1f1;
  }

  .form:focus{
    color: white;
    outline: none;
    border:4px solid #f1f1f1;
  }

  .textarea{
    height: 120px;
    max-height: 120px;
    max-width: 100%;
  }

/* Generic Button Styles */

  .button{
    padding:8px 12px;
    background:#f1f1f1;
    display: block;
    width:120px;
    margin:10px 0 0px 0;
    border-radius:3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    text-align:center;
    font-size:1em;
    box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
    -moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
    -webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
  }

  .button:hover{
    background:#f1f1f1;
    color:#333333;
  }
  .contact-form-full{
  	margin-bottom: 20px;

  }
/* Send Button Styles */

  .form-btn {
	width: 100%;
	display: block;
	height: auto;
	padding: 15px;
	color: #f1f1f1;
	background: transparent;
	border: 4px solid #f1f1f1;
	border-radius: 3px;
	outline: none;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
	margin: auto;
	box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
	-moz-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
	-webkit-box-shadow: 0px 1px 4px rgba(0,0,0, 0.10);
	font-family: Montserrat;
}

 .form-btn:hover {
	background: #f1f1f1;
	color: #333333;
}

  .form-btn:active{
    opacity: 0.9;
  }

@media screen and (max-width: 768px) {
  .contactpanel {
  position: absolute;
  width: 90%;
  left: 5%;
  top: 40px;
  height: auto;
  margin: 0;
}


  .contacttitle {
    font-size: 4em;
    word-break: break-word;
    margin-bottom: 20px;
  }

.contactbackground {
  position: fixed;
  top: 0;
  left: 0;
  height: 110vh;
  width: 110vw;
  object-fit: cover;
  object-position: 85% top;
  z-index: -1;
  filter: blur(2px);
  margin: -12px;
}



.contactpage {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.form {
  font-size: 18px;
  border-radius: 8px;
  border: 1px solid #f1f1f1;
  }

.form:focus {
  border: 1px solid #f1f1f1;
}

.form:hover {
  border: 1px solid #f1f1f1;
}

.form-btn {
  background: #f1f1f1;
  color: #333333;
  font-size: 18px;
  border-radius: 8px;
}

.contactpage {
  top: 0;
}

.contactpanel p:nth-of-type(2),
.contactpanel p:nth-of-type(3) {
  display: inline;
  font-size: 16px;
  margin: 0 4px 0 0;
}

.contactpanel p:nth-of-type(3)::after {
  content: "";
  display: block;
  height: 20px;
}


}

