/*
|----------------------------------------------------------------------------
	SmartForm - PHP Working Ajax Advanced Multipurpose Form Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
|----------------------------------------------------------------------------
*/

/*
|----------------------------------------------------------------------------
| CONTACT FORM STYLE
|----------------------------------------------------------------------------
*/
.mgssmartform-section.bg-image {
    background-image: url("../images/bg-2.jpg");
}

/*****CONTACT FORM*****/
form#contactForm {
    margin: 0 0 50px;
}
#contactForm .form-group{
    margin: 0 0 50px;
    position: relative;
}
#contactForm .form-control {
    border-style: none none solid;
    border-width: 0 0 1px;
	border-radius: 0;
    font-size: 16px;
    line-height: 24px;
	padding: 6px 12px 6px 0;
    outline: 0 none;
    width: 100%;
}
#contactForm .form-label {
    bottom: 15px;
    color: #a8a8a8;
    cursor: text;
    font-size: 16px;
    font-weight: 400;
    left: 0;
    line-height: 1;
    pointer-events: none;
    transition: bottom 0.25s ease-out 0s;
    position: absolute;
}
#contactForm .form-control:valid ~ .form-label, #contactForm .form-control:focus ~ .form-label, #contactForm .has-feedback.has-success .form-control:valid ~ .form-label {
    bottom: 35px;
	color: #fb9902;
	font-size: 14px;
    transition: bottom 0.25s ease-in 0s;
	text-transform: capitalize;
}
#contactForm .has-feedback .form-control:valid ~ .form-label {
    bottom: -2px;
    left: 0;
    background-color: transparent;
    color: #a8a8a8;
}
#contactForm .form-underline {
    background-color: #fb9902;
    bottom: 0;
    height: 2px;
    left: 0;
    position: absolute;
    transition: all 0.4s ease-out;
    width: 0;
}
#contactForm .form-control:focus ~ .form-underline {
    width: 100%;
}
#contactForm .form-group.has-error .form-control ~ .form-underline {
    background-color: #ce0606;
    width: 100%;
}
#contactForm .form-group.has-error .form-control:focus ~ .form-underline {
    background-color: #fb9902;
    width: 100%;
}
#contactForm .form-control:focus, #contactForm .form-control:invalid, #contactForm .form-control:valid {
    box-shadow: none;
    outline: 0 none;
}
#contactForm .help-block.with-errors {
    margin: 0;
	padding-left: 0;
	top: auto;
}
#contactForm .help-block ul.list-unstyled li::before {
    content: "\f071";
    font-family: FontAwesome;
    position: relative;
    padding-right: 5px;
    top: 0;
    left: 0;
}
#contactForm .help-block ul li {
	font-size: 13px;
    background-color: #ce0606;
    color: rgba(255, 255, 255, 0.99);
	padding: 1px 5px;
    border-radius: 2px;
    top: 4px;
	position: relative;
	max-height: 20px;
}
#contactForm .help-block ul li::after {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    right: 50%;
    top: -9px;
    border: 5px solid transparent;
    border-bottom: 5px solid #ce0606;
}
#contactForm .help-block.with-errors.checkbox-errors {
    margin-top: 20px;
}
#msgContactSubmit.h3.text-center.text-danger {
    margin-bottom: 50px;
}
#contactForm #message.form-control:focus ~ label, #contactForm #message.form-control:valid ~ label {
    bottom: 90%;
}
#contactForm #message.form-control {
    resize: none;
}
#humanCheckCaptchaInput.form-control {
    width: 45px;
	padding: 4px;
}