/*------------Form-------------*/
#contact-form input{
  	border: #4f4e4e solid 1px;
	width: 100%;
	font-family: 'Roboto', sans-serif;
	background: #303030;
  	height: 42px;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
  	padding: 10px 13px 7px;
	line-height: 16px;
	color: #656565;
	font-size: 14px;
	font-weight: 400;
}
#contact-form textarea {
	border: #4f4e4e solid 1px;
	height: 258px;
	font-family: 'Roboto', sans-serif;
	position: relative;
	width: 100%;
	background: #303030;
	resize: none;
	line-height: 16px;
	color: #656565;
	font-size: 14px;
	font-weight: 400;
	overflow: hidden;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	padding: 10px 13px 7px;
	margin-bottom: 25px;
}
#contact-form ._placeholder {
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
	border: 1px solid transparent;
	text-align: left;
	padding: 12px 13px 7px;
	width: 100% !important;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	left: 0;
	display: block;
	line-height: 16px;
	color: #656565;
	font-size: 14px;
	font-weight: 400;
}
#contact-form ._placeholder.hidden {
	display: none;
}
#contact-form ._placeholder.focused {
	opacity: 0.3;
}
#contact-form label {
	position: relative;
	display: block;
	width: 430px;
	cursor: text;
	margin-bottom: 15px;
}

#contact-form label.message {
	width: 100%;
	margin: 0;
}

#contact-form .success-message {
	border: #4f4e4e solid 1px;
	background: #303030;
	display: none;
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100px;
	text-align: center;
	padding: 20px 10px;
	z-index: 999;
    font: 12px/15px Arial, Helvetica, sans-serif;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /*Firefox 1-3*/
	-webkit-box-sizing: border-box; /* Safari */
	transition: 0.5s ease;
	color: #656565;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

#contact-form.success .success-message {
	display: block;
	opacity: 1;
}
.success_wrapper {
	position: relative;	
}
.btns {
	text-align: right;
}
.btns a + a {
	margin-left: 30px;
}


#contact-form .error-message,
#contact-form .empty-message {
 height: 0;
 overflow: hidden;
 font: 10px/20px Arial;
 -webkit-transition: 0.3s ease-in height;
 -moz-transition: 0.3s ease-in height;
 -o-transition: 0.3s ease-in height;
 transition: 0.3s ease-in height;
 position: absolute;
 right: 3px;
 top: 0;
 color: #E02A05;
}
#contact-form .invalid .error-message,
#contact-form .empty .empty-message {
 height: 20px;
}




@media only screen and (max-width: 1199px) {
	#contact-form label {
		float: none !important;	
		width: 100%;
	}
	#contact-form .success {
		width: 100%;
	}
	#contact-form input {
		width: 100%;
		float: none;
	}

	#contact-form label+label {
		margin-left: 0 !important;
	}
}

@media only screen and (max-width: 767px) {
	.map figure {
		width: 100% !important;
		float: none !important;
		display: block !important;
		margin-right: 0px !important;
	}
	.btns {
		padding-bottom: 0;  
	} 
	#contact-form textarea {
		height: 300px !important; 
	}
	#contact-form {
	 	padding-right: 0;
	}
	.btns {
		text-align: center;
	}
	
  
}
@media only screen and (max-width: 479px) {
  	#contact-form textarea {
		height: 200px !important;  
  	}
}

/* Contact Form Processing Box
========================================================*/
#contact-form .contact-form-loader {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  background-image: url('../img/form-loader.gif');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  opacity: 0;
}
#contact-form.processing .contact-form-loader {
  opacity: 1;
  z-index: 99;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}
/* Contact Form Modal 
========================================================*/
.modal-open {
  overflow: hidden;
}
#contact-form .modal {
  display: none;
  overflow: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  font-family: Arial, "Times New Roman", sans-serif;
  font-size: 13px;
  overflow: hidden;
}
#contact-form .modal h4 {
  font-weight: bold;
  padding: 0;
  margin: 0;
  border: none;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -moz-transition: -moz-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-content {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #999999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: none;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.modal-header {
  padding: 15px;
  min-height: 16.42857143px;
}
.modal-header .close {
  margin-top: -2px;
}
.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 20px;
}
.modal-dialog {
  width: 600px;
  margin: 10px auto;
}
@media only screen and (max-width: 768px) {
  .modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
  }
}
/* Contact Form Close icon 
========================================================*/
.close {
  float: right;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000000;
  text-shadow: 0 1px 0 #ffffff;
  opacity: 0.2;
  filter: alpha(opacity=20);
}
.close:hover,
.close:focus {
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.5;
  filter: alpha(opacity=50);
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
}