/*
|----------------------------------------------------------------------------
	Kontact - Responsive HTML5 Ajax Contact Form Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
	Version: 2.9.4
	Primary color: #3e3e3e
|----------------------------------------------------------------------------
*/

/*
|------------------------------------------------------------------
	[Table of contents]:

	1. Common
	2. TITLE
	3. CONTACT FORM STYLE
	4. Math Captcha
	5. Button
	6. Responsive
	7. CUSTOM CSS FOR NON-EXIST BOOTSTRAP SITE
|-------------------------------------------------------------------
*/

/*
|----------------------------------------------------------------------------
	3. CONTACT FORM STYLE
|----------------------------------------------------------------------------
/*CONTACT FORM*/
#contactForm8 {
	position: relative;
}
#contactForm8 #msgSubmit {
    margin: 0 0 30px;
}
#contactForm8 .form-group {
    position: relative;
    margin: 0 0 50px;
}
#contactForm8 .form-control {
    background-color: transparen;
    border: 1px solid #3e3e3e;
	width: 84%;
}
#contactForm8 textarea.form-control {
    height: 120px;
    width: 92%;
}
#contactForm8 .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm8 .form-control:focus {
	border-color: #E6E6E6;
}
#contactForm8 .form-control:focus + .input-group-icon{
    background-color: #E6E6E6;
    border-color: #E6E6E6;
    color: #E6E6E6;
}
#contactForm8 .has-error .form-control {
    border-color: #ce0606;
}
#contactForm8 .has-error .input-group-icon {
    background-color: #ce0606;
    border-color: #ce0606;
    color: #E6E6E6;
}
#contactForm8 .has-error .form-control:focus {
	border-color: #E6E6E6;
}
#contactForm8 .has-error .form-control:focus + .input-group-icon {
    background-color: #E6E6E6;
    border-color: #E6E6E6;
    color: #E6E6E6;
}
#contactForm8 .help-block {
	font-size: 14px;
    color: #ce0606;
    margin: 0;
    padding-left: 0px;
    position: absolute;
    top: -22px;
}
#contactForm8 .help-block ul.list-unstyled li::before {
    content: "\f071";
	font-weight: bold;
    position: relative;
    padding-right: 5px;
    top: 0;
    left: 0;
}
#contactForm8 .help-block ul li {
	font-size: 12px;
    background-color: transparent;
    color: #ce0606;
    border: 1px solid #ce0606;
    border-radius: 1px;
    top: 0px;
	position: relative;
	padding: 0 10px;
	max-height: 20px;
}
#contactForm8 .help-block ul li::after {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    right: 50%;
    top: 16px;
    border: 5px solid transparent;
    border-top: 5px solid #ce0606;
}
#contactForm8 .help-block.with-errors.checkbox-errors {
    margin-top: 0px;
}
#contactForm8 .help-block ul.list-unstyled {
    list-style: none;
	margin: 0;
}
#msgContactSubmit.h3 {
    padding: 0 0 50px 2%;
	margin: 0;
}
#contactForm8 .text-success {
    color: #37a000;
}
#contactForm8 .text-danger {
    color: #ce0606;
}
#contactForm8 .btn.disabled {
    opacity: 1;
}
#contactForm8 #submit.btn {
    transition: all 0.5s ease 0s;
    width: 150px;
	border-radius: 6px;
}
#submit.btn::after {
    content: "\f0a9";
    font-family: "Font Awesome";
	font-weight: bold;
    font-size: 22px;
    color: #fff;
    opacity: 0;
    position: absolute;
    right: 50px;
    transition: all 0.3s ease 0s;
}
#submit.btn:hover::after {
    opacity: 1;
    right: 10px;
}
#contactForm8 span.sub-text { 
	right: 65px;
    bottom: 95px;
    color: #ce0606;
    font-size: 14px;
    position: absolute;
}

#contactForm8 .input-group-btn ~ .form-control {
    border-radius: 0 4px 4px 0;
	cursor: not-allowed;
	padding-left: 10px;
}
#contactForm8 .input-group-btn > .btn {
    background-color: #1391a6;
    border: 1px solid #1391a6;
    border-radius: 4px 0 0 4px;
	color: #fff;
    padding: 4.5px 14px;
	height: 34px;
}
#contactForm8 .input-group-btn > .btn > input[type="file"] {
    display: none;
}






/*
|----------------------------------------------------------------------------
	4. Math Captcha
|----------------------------------------------------------------------------
*/
#humanCheckCaptchaBox, #humanCheckCaptchaInput, #firstDigit, #secondDigit,  #mathfirstnum, #mathsecondnum {
    display: inline;
}
#humanCheckCaptchaInput.form-control {
    height: 30px;
    margin-left: 10px;
    padding: 4px;
    text-align: center;
    width: 45px;
}
#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
	border: none;
	box-shadow: none;
    width: 30px;
    height: 30px;
	padding: 0;
    pointer-events: none;
    text-align: center;
}

/*
|----------------------------------------------------------------------------
	5. Button
|----------------------------------------------------------------------------
*/
.btn {
	font-size: 16px;
	overflow: hidden;
	padding: 6px 20px;
	text-transform: uppercase;
}
.btn-custom {
    background-color: #3e3e3e;
    color: #fff;
    -webkit-box-shadow: 0 0 1px transparent;
    box-shadow: 0 0 1px transparent;
    display: inline-block;
    position: relative;
	-moz-transform: perspective(1px) translateZ(0px);
	-webkit-transform: perspective(1px) translateZ(0px);
	-o-transform: perspective(1px) translateZ(0px);
	-ms-transform: perspective(1px) translateZ(0px);
    transform: perspective(1px) translateZ(0px);
	-webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
	-webkit-transition-property: color;
    transition-property: color;
    vertical-align: middle;
}
.btn-custom::before {
    background-color: #3e3e3e;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -moz-transform:scaleX(0);
    -webkit-transform:scaleX(0);
    -o-transform:scaleX(0);
    -ms-transform:scaleX(0);
	transform: scaleX(0);
	-webkit-transform-origin: 50%;
	transform-origin: 50%;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
    z-index: -1;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom:active {
    border-color: #3e3e3e;
}
.btn-custom:hover::before, .btn-custom:focus::before, .btn-custom:active::before {
    -moz-transform: scaleX(1);
	-webkit-transform: scaleX(1);
	-o-transform: scaleX(1);
	-ms-transform: scaleX(1);
	transform: scaleX(1);
}
.btn-transparent {
	background-color: transparent;
	border: 1px solid #fff;
	color: #fff;
}
.btn.btn-custom.disabled {
    opacity: 1;
	pointer-events: auto;
}
.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
}

/*
|----------------------------------------------------------------------------
	6. Responsive
|----------------------------------------------------------------------------
*/
@media screen and (max-width: 767px) {
	.intro-text {
		margin: 0 0 60px;
	}
	#contactForm8 #humanCheckCaptchaInput.form-control {
		margin-left: 8px;
		padding: 5px 2px;
		width: 32px;
	}
}
@media screen and (max-width: 420px) {
	#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
		width: 20px;
	}
}
@media screen and (max-width: 360px) {
	#contactForm8 {
		padding: 50px 30px 20px;
	}	
	#contactForm8 span.sub-text {
		right: 40px;
	}
}



/*
|----------------------------------------------------------------------------
	7. CUSTOM CSS FOR NON-EXIST BOOTSTRAP SITE
|----------------------------------------------------------------------------
*/
/***************** START CUSTOM CSS FOR NON-EXIST BOOTSTRAP SITE *******************/
.col-sm-6 {
    width: 46%;
}
.col-sm-6 {
    float: left;
}
.col-sm-12 {
    width: 96%;
    clear: both;
}
.col-md-6, .col-sm-12, .col-sm-6 {
    min-height: 1px;
    padding-left: 2%;
    padding-right: 2%;
    position: relative;
}
.form-control {
    background-image: none;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
}
#contactForm8 .form-group .textarea.input-group-icon {
    height: 84%;
}


@media screen and (max-width: 767px) {
	.col-sm-6 {
		width: 96%;
	}
	#contactForm8 .form-control, #contactForm8 textarea.form-control {
		width: 90%;
	}
	#contactForm8 #humanCheckCaptchaInput.form-control {
		margin-left: 8px;
		padding: 5px 2px;
		width: 32px;
	}
}
@media screen and (max-width: 667px) {
	#contactForm8 .form-control, #contactForm8 textarea.form-control {
		width: 84%;
	}
}
@media screen and (max-width: 420px) {
	#contactForm8 .form-control, #contactForm8 textarea.form-control {
		width: 78%;
	}
	#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
		width: 20px;
	}
	#contactForm .g-recaptcha {
		-webkit-transform:scale(0.85);
		transform:scale(0.85);
		-webkit-transform-origin:0 0;
		transform-origin:0 0;
	}
}
@media screen and (max-width: 320px) {
	#contactForm8 .form-control, #contactForm8 textarea.form-control {
		width: 74%;
	}	
	#contactForm .g-recaptcha {
		-webkit-transform:scale(0.75);
		transform:scale(0.75);
	}
}
/***************** END CUSTOM CSS FOR NON-EXIST BOOTSTRAP SITE *******************/