/*
|----------------------------------------------------------------------------
	WannaTalk - Responsive PHP Working Ajax Contact Form Script Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
	Version: 2.5.2
|----------------------------------------------------------------------------
*/

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

	1. COMMON CSS
	2. TITLE
	3. FORM DESIGN
	4. Math Captcha
	5. Button
	6. RESPONSIVE
	
|-------------------------------------------------------------------
*/

/*
|----------------------------------------------------------------------------
	1. COMMON CSS
|----------------------------------------------------------------------------
*/
.intro-text {
	font-size: 18px;
    font-weight: bold;
    margin: 0 20% 30px;
}

/*
|----------------------------------------------------------------------------
	2. TITLE
|----------------------------------------------------------------------------
*/
.title-wrap {
    overflow: hidden;
	margin-bottom: 30px;
    text-align: center;
}
.title-text {
	color: #555;
    font-size: 28px;
	line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}
.title-text > span {
    padding: 0 8px;
}
.title-text strong {
    color: #000;
}
/*-- Title bottom line --*/
.title-wrap .title-line {
	clear: both;
    position: relative;
	line-height: 0;
}
.title-wrap .title-line .long-line {
    background-color: #fb9902;	/*-- border line color --*/
    border-radius: 10px;
    display: inline-block;
    height: 3px;
    position: relative;
    width: 90px;		/*-- border right long line width before aniumation. --*/
}
.title-wrap .title-line .short-line {
    background-color: #fb9902;
    border-radius: 10px;
    display: inline-block;
    height: 3px;
    margin-right: 5px;	/*-- space between left & right line --*/
    position: relative;
    width: 20px;	/*-- border left short line width before aniumation --*/
}

/*title-box*/
.title-box::before {
    background-color: #fb9902;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    margin: 0 0 -1px;
    position: absolute;
    width: 40px;
}
.title-box {
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 30px;
    margin-top: 0;
    position: relative;
}
.title-box > h3 {
	color: #090909;
	margin: 0;
    text-transform: uppercase;
}

/*
|----------------------------------------------------------------------------
	3. FORM DESIGN
|----------------------------------------------------------------------------
*/
#contact-2 {
	padding: 60px 0 35px;
}
/*CONTACT INFO*/
#contact-2 .contact-item {
    border: 1px solid #3e3e3e;
    border-radius: 10px;
    display: table;
    height: 160px;
    margin: 0 auto 30px;
	max-width: 350px;
    overflow-wrap: break-word;
    text-align: center;
	width: 100%;
}
#contact-2 .contact-item-inner {
    display: table-cell;
    vertical-align: middle;
}
#contact-2 .contact-icon {
    overflow: hidden;
}
#contact-2 .contact-desc a {
    color: #222;
    text-decoration: none;
}
#contact-2 .contact-desc h4 {
    margin: 15px 0 0;
	font-size: 16px;
}
#contact-2 .contact-icon i {
    border: 1px solid #3e3e3e;
    border-radius: 50%;
    color: #3e3e3e;
    font-size: 32px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    transition: all 0.8s ease 0s;
    width: 64px;
}
#contact-2 .contact-item:hover i {
	background-color: #3e3e3e;
	color: #fff;
}
/*CONTACT FORM*/
#contactForm2 #msgSubmit {
    margin: 0 0 25px;
}
#contactForm2 .form-group {
    position: relative;
    margin-bottom: 30px;
}
#contactForm2 .form-control {
    background-color: transparent;
    border: 1px solid #111;
    padding-left: 50px;
	color: #222;
}
#contactForm2 .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm2 .form-group .input-group-icon {
    background-color: #111;
    border: 0 none;
	border-radius: 4px;
	border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: #fff;
    display: table-cell;
    font-size: 14px;
	height: 100%;
    padding: 8px 7px;
    text-align: center;
	-webkit-transition:all 0.2s ease 0s;
    -moz-transition:all 0.2s ease 0s;
    -ms-transition:all 0.2s ease 0s;
    -o-transition:all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
#contactForm2 .form-control:focus {
    border-color: #111;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(30, 30, 30, 0.6);
}
#contactForm2 .form-control:focus + .input-group-icon{
    background: #111;
    color: #ffffff;
}
#contactForm2 .has-error .form-control {
    border-color: #d10808;
}
#contactForm2 .has-error .input-group-icon {
    background: #d10808;
    color: #ffffff;
}
#contactForm2 .has-error .form-control:focus {
    border-color: #d10808;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #d10808;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #d10808;
}
#contactForm2 .has-error .form-control:focus + .input-group-icon {
    background: #d10808;
    color: #ffffff;
}
#contactForm2 .help-block {
	font-size: 14px;
    color: #d10808;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 42px;
    position: absolute;
    top: -22px;
}
#contactForm2 .text-success {
    color: #37a000;
}
#contactForm2 .text-danger {
    color: #d10808;
	margin: 0 0 30px;
}
#contactForm2 .btn.disabled {
    opacity: 1;
}
#contactForm2 #submit.btn {
    transition: all 0.5s ease 0s;
    width: 150px;
}
#contactForm2 #submit.btn.btn-custom::before {
    background-color: #111;
}
#contactForm2 #submit.btn::after {
    content: "\f0a9";
    font-family: "Font Awesome 5 Free";
    font-size: 22px;
	font-weight: bold;
    opacity: 0;
    position: absolute;
    right: 50px;
	top: 2px;
    transition: all 0.3s ease 0s;
}
#contactForm2 #submit.btn:hover::after {
    opacity: 1;
    right: 10px;
}
#contactForm2 #submit.btn:hover {
    border-color: #111;
}
#contactForm2 .sub-text { 
	right: 30px;
    bottom: 50px;
    color: #ff0000;
    font-size: 14px;
    position: absolute;
}

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

/*upload file b4 fix*/
.form-group.attachmentFile .input-group-btn ~ .form-control {
	width: calc(100% - 90px);
	margin-left: -5px;
	border-left: none;
	display: inline;
}
.form-group.attachmentFile .input-group-btn > .btn {
	width: 90px;
	margin-top: -5px;
	height: 38px;
}



/*select box*/
#contactForm2 select {
	background-color: white;
	display: inline-block;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #304f6f 50%),
		linear-gradient(135deg, #304f6f 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
	background-position: calc(100% - 18px) calc(1em + 2px),
		calc(100% - 13px) calc(1em + 2px),
		calc(100% - .5em) .5em;
	background-size: 5px 6px, 6px 5px, 1.5em 1.5em;
	background-repeat: no-repeat;
}
#contactForm2 select:focus {
	background-image: linear-gradient(45deg, transparent 50%, #f58e03 50%),
		linear-gradient(135deg, #f58e03 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
}
#contactForm2 select::-ms-expand {
    display: none;
}


/*
|----------------------------------------------------------------------------
	Mgsstyle Checkbox
|----------------------------------------------------------------------------
*/
.mgsstyle-checkbox.mgscheckbox-style li {
    display: inline-block;
	width: auto;
    margin: 0 3% 0 0;
}
.mgsstyle-checkbox.mgscheckbox-style li:last-child {
    margin: 0;
}
.mgsstyle-checkbox.mgscheckbox-style input[type="checkbox"] {
	display: none;
}
.mgsstyle-checkbox.mgscheckbox-style label  {
	position: relative;
	padding: 2px 30px;
	font-size: 14px;
	font-size: 16px;
	color: #000;
}
.mgsstyle-checkbox.mgscheckbox-style label:before {
	border: 1px solid #a0a0a0;
	border-radius: 3px;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: 20px;
	height: 20px;
}
.mgsstyle-checkbox.mgscheckbox-style :checked + label:before {
	border: 12px solid #3e3e3e;
	border-radius: 3px;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: auto;
	height: auto;
}



/*
|----------------------------------------------------------------------------
| Math Captcha
|----------------------------------------------------------------------------
*/
#humanCheckCaptchaBox {
    font-size: 16px;
}
#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-family: 'Roboto', sans-serif;
	font-size: 16px;
	overflow: hidden;
	padding: 6px 20px;
}
.btn-custom {
    background-color: #333;
    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: #fb9902;
    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: #fb9902;
    color: #fff;
}
.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;
}

/*
|----------------------------------------------------------------------------
	6. RESPONSIVE
|----------------------------------------------------------------------------
*/
@media screen and (max-width: 767px) {
	.intro-text {
		margin: 0 15% 30px;
	}
	#contact-5, #contact-6 {
		background-attachment: scroll;
	}
}
@media screen and (max-width: 568px) {
	.intro-text {
		margin: 0 10% 30px;
	}
}