/* Form */
.ap_form.contact-horizontal .form-control::-moz-placeholder{font-weight: normal;color:#ddd;opacity:1;}
.ap_form.contact-horizontal .form-control:-ms-input-placeholder{font-weight: normal;color:#ddd}
.ap_form.contact-horizontal .form-control::-webkit-input-placeholder{font-weight: normal;color:#ddd}

.ap_form.contact-horizontal .btn-no {
	font-size: 13px;
	background-color: transparent;
	border: 0;
}
.ap_form.contact-horizontal {
	color: #2b3e51;
}
.ap_form::after {
	clear: both;
	content: '';
	display: table;
}
.ap_form.contact-horizontal *,
.ap_form.contact-horizontal *::after,
.ap_form.contact-horizontal *::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.ap_form.contact-horizontal fieldset {
	padding: 0;
	border: 0;
}
.ap_form.contact-horizontal legend {
	padding-bottom: 3px;
	margin-bottom: 20px;
	font-size: 16px;
	border-bottom: 2px solid #cfd9db;
}
.ap_form.contact-horizontal .input-form {
	margin-bottom: 10px;
}
.ap_form.contact-horizontal div {
	/* form element wrapper */
	position: relative;
	/*margin: 0;*/
}
.ap_form.contact-horizontal .ap_label {
	display: none;
	color: #5f6263;
}
.ap_form.contact-horizontal input#user_name,
.ap_form.contact-horizontal input#phone {
	margin-right: .5rem;
	/*width: 120px;*/
}
/*.ap_form.contact-horizontal input#phone {width: 150px;}*/
.ap_form.contact-horizontal input,
.ap_form.contact-horizontal textarea,
.ap_form.contact-horizontal label {
	font-size: 14px;
	color: #2b3e51;
}
.ap_form.contact-horizontal input[type="text"],
.ap_form.contact-horizontal input[type="email"],
.ap_form.contact-horizontal input[type="tel"],
.ap_form.contact-horizontal textarea,
.ap_form.contact-horizontal legend {
	display: block;
	width: 100%;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}
.ap_form.contact-horizontal input[type="text"],
.ap_form.contact-horizontal input[type="email"],
.ap_form.contact-horizontal input[type="tel"],
.ap_form.contact-horizontal textarea {
	/* general style for input elements */
	padding: 8px;
	border: 0px solid #cfd9db;
	background-color: #ffffff;
	border-radius: .25em;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.ap_form.contact-horizontal input[type="text"]:focus,
.ap_form.contact-horizontal input[type="email"]:focus,
.ap_form.contact-horizontal input[type="tel"]:focus,
.ap_form.contact-horizontal textarea:focus {
	outline: none;
	border-color: #2c97de;
	box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}
.ap_form.contact-horizontal textarea {
	min-height: 110px;
	resize: vertical;
	overflow: auto;
}
.ap_form.contact-horizontal input[type="submit"] {
	/* button style */
	border: none;
	background: #f2e004;
	border-radius: .25em;
	padding: 8px 30px;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
}
.no-touch .ap_form.contact-horizontal input[type="submit"]:hover {
	background: #4bc1ff;
}
.ap_form.contact-horizontal input[type="submit"]:focus {
	outline: none;
	background: #4bc1ff;
}
.ap_form.contact-horizontal input[type="submit"]:active {
	-webkit-transform: scale(0.9);
	-moz-transform: scale(0.9);
	-ms-transform: scale(0.9);
	-o-transform: scale(0.9);
	transform: scale(0.9);
}
/*.ap_form.contact-horizontal [required] {
	background: url("../img/ap_required.svg") no-repeat top right;
}*/


/* Disabled elements  */
/*.ap_form.contact-horizontal input:disabled,
.ap_form.contact-horizontal textarea:disabled {
	background: #f6f6f6 !important;
	cursor: not-allowed;
}
*/
@-webkit-keyframes ap_bounce {
	0%, 100% {
		-webkit-transform: scale(1);
	}
	50% {
		-webkit-transform: scale(0.8);
	}
}
@-moz-keyframes ap_bounce {
	0%, 100% {
		-moz-transform: scale(1);
	}
	50% {
		-moz-transform: scale(0.8);
	}
}
@keyframes ap_bounce {
	0%, 100% {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		-ms-transform: scale(1);
		-o-transform: scale(1);
		transform: scale(1);
	}
	50% {
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-ms-transform: scale(0.8);
		-o-transform: scale(0.8);
		transform: scale(0.8);
	}
}

/* Custom icons */
/*
.ap_form.contact-horizontal .icon input, .ap_form.contact-horizontal .icon textarea {
	padding-left: 54px !important;
}
.ap_form.contact-horizontal .user {
	background: url("../img/ap_icon-user.svg") no-repeat 16px center;
}
.ap_form.contact-horizontal [required].user {
	background: url("../img/ap_icon-user.svg") no-repeat 16px center, url("../img/ap_required.svg") no-repeat top right;
}
.ap_form.contact-horizontal .phone {
	background: url("../img/ap_icon-phone.svg") no-repeat 16px center;
}
.ap_form.contact-horizontal [required].phone {
	background: url("../img/ap_icon-phone.svg") no-repeat 16px center, url("../img/ap_required.svg") no-repeat top right;
}
.ap_form.contact-horizontal .email {
	background: url("../img/ap_icon-email.svg") no-repeat 16px center;
}
.ap_form.contact-horizontal [required].email {
	background: url("../img/ap_icon-email.svg") no-repeat 16px center, url("../img/ap_required.svg") no-repeat top right;
}
.ap_form.contact-horizontal .message {
	background: url("../img/ap_icon-message.svg") no-repeat 16px 16px;
}
.ap_form.contact-horizontal [required].message {
	background: url("../img/ap_icon-message.svg") no-repeat 16px 16px, url("../img/ap_required.svg") no-repeat top right;
}
*/
.ap_form.contact-horizontal .message {
	margin: 0;
}

/* FLoating labels  */
.js .floating-labels legend + div {
	/* reduce margin-top for first form element after the legend */
	margin-top: 16px;
}
.js .floating-labels .ap_label {
	position: absolute;
	top: 13px;
	left: 16px;
	font-size: 14px;
	cursor: text;
	-webkit-transition: top 0.2s, left 0.2s, font-size 0.2s;
	-moz-transition: top 0.2s, left 0.2s, font-size 0.2s;
	transition: top 0.2s, left 0.2s, font-size 0.2s;
}
.js .floating-labels .icon .ap_label {
	left: 56px;
}
.js .floating-labels .ap_label.float {
	/* move label out the input field */
	font-size: 12px;
	top: -20px;
	left: 0 !important;
}




@media only screen and (min-width: 768px) {
	.js .floating-labels .ap_label {
		font-size: 15px;
	}	
	.ap_form.contact-horizontal legend {
		font-size: 18px;
	}
	.ap_form.contact-horizontal legend + div {
		/* reduce margin-top for first form element after the legend */
		margin-top: 16px;
	}
	.ap_form.contact-horizontal input,
	.ap_form.contact-horizontal textarea,
	.ap_form.contact-horizontal label {
		margin: 0;
		font-size: 15px;
		vertical-align: middle;
	}
}

@media only screen and (max-width: 576px) {
	.ap_form.contact-horizontal input#user_name,
	.ap_form.contact-horizontal input#phone {
		/*width: 47%;*/
	}
	.ap_form.contact-horizontal .wrap-message,
	.ap_form.contact-horizontal input#message {width: 100%;}

}