/*
|----------------------------------------------------------------------------
	WannaTalk - Responsive PHP Working Ajax Contact Form Script Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
	Version: 2.6.0
	Primary color: #1391a6
|----------------------------------------------------------------------------
*/

/*
|------------------------------------------------------------------
	[Table of contents]:

	1. COMMON CSS
	2. TITLE
	3. FORM DESIGN
	4. Math Captcha
	5. Button
	6. RESPONSIVE

|-------------------------------------------------------------------
*/

/*
|----------------------------------------------------------------------------
	1. COMMON CSS
|----------------------------------------------------------------------------
*/
.contact-1 {
	background-color: #fff;
	margin: 0 auto;
	width:100%;
}
.intro-text {
	 background-color: rgba(101, 222, 242, 0.5);
	border: 1px solid #65def2;
   border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(101, 222, 242, 0.5);
    font-size: 14px;
    font-weight: bold;
   margin: 0 20% 30px;
    padding: 30px;
}
.intro-text:hover {
	border-color: #1391a6;
	box-shadow: 0 0 10px 1px rgba(19, 145, 166, 0.5);
}

/*
|----------------------------------------------------------------------------
	2. TITLE
|----------------------------------------------------------------------------
*/
.contact-form-title-wrap {
    overflow: hidden;
	margin: 0 0 30px;
    text-align: center;
}
.title-text {
    margin: 0;
    text-transform: uppercase;
    white-space: nowrap;
}
.title-text > span {
    padding: 0 8px;
}
.title-text strong {
    font-weight: bold;
}
/*-- Title bottom line --*/
.contact-form-title-wrap .title-line {
	clear: both;
    position: relative;
	line-height: 0;
}
.contact-form-title-wrap .title-line .long-line {
    background-color: #1391a6;	/*-- border line color --*/
    border-radius: 10px;
    display: inline-block;
    height: 3px;
    position: relative;
    width: 90px;		/*-- border right long line width before aniumation. --*/
}
.contact-form-title-wrap .title-line .short-line {
    background-color: #1391a6;
    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: #1391a6;
    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: 0 0 30px;
    position: relative;
}
.title-box > h3 {
	margin: 0;
    text-transform: uppercase;
}

/*
|----------------------------------------------------------------------------
	3. FORM DESIGN
|----------------------------------------------------------------------------
*/
#contact-7 {
	background-attachment: fixed;
	background-color: #fff;
    background-image: url("../images/bg-3.jpg");
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
	padding: 5px;
    position: relative;
}
#contact-7::before {
    background-color: #fff;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.75;
    position: absolute;
    top: 0;
    width: 100%;
}
#contact-7 .container {
    position: relative;
}
/*CONTACT INFO*/
#contact-7 .contact-item {
	background-color: rgba(26, 188, 156, 0.5);
	border: 1px solid #65def2;
    border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(101, 222, 242, 0.5);
    display: table;
    height: 160px;
    margin: 0 auto 30px;
	max-width: 400px;
    overflow-wrap: break-word;
    text-align: center;
	width: 100%;
}
#contact-7 .contact-item:hover {
	box-shadow: 0 0 10px 1px rgba(19, 145, 166, 0.5);
}
#contact-7 .contact-item-inner {
    display: table-cell;
    vertical-align: middle;
    padding: 30px 20px;
}
#contact-7 .contact-icon {
    overflow: hidden;
	margin: 0 0 30px;
}
#contact-7 .contact-desc a {
    color: #222;
    text-decoration: none;
}
#contact-7 .contact-desc h4 {
    margin: 15px 0 0;
	font-size: 16px;
}
#contact-7 .contact-icon i {
	background: transparent;
	border: 1px solid #1391a6;
    border-radius: 50%;
	color: #1391a6;
    font-size: 32px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    transition: all 0.8s ease 0s;
    width: 64px;
}
#contact-7 .contact-item:hover i {
	background-color: #1391a6;
	border-color: #1391a6;
	color: #fff;
}
/*CONTACT FORM*/
#contactForm6 {
    /* background-color: rgba(26, 188, 156, 0.5); */
    background-color: #fff;
	border: 1px solid #119E82;
    border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(101, 222, 242, 0.5);
    margin: 0 0 20px;
    padding: 20px 15px;
	position: relative;
}
#contactForm6:hover {
    box-shadow: 0 0 10px 1px rgba(19, 145, 166, 0.5);
}
#contactForm6 #msgSubmit {
    margin: 0 0 20px;
}
#contactForm6 .form-group {
    position: relative;
    margin: 0 0 20px;
}
#contactForm6 .form-group.last {
    margin: 0;
}
#contactForm6 .form-control {
    background-color: transparent;
    border: 1px solid #119E82;
    padding-left: 50px;
}
#contactForm6 .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm6 .form-group .input-group-icon {
    color: #119E82;
    border: 1px solid #1391a6;
	border-radius: 4px;
	border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    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;
}
#contactForm6 .form-control:focus {
	border-color: #4ba6b5;
	box-shadow: 0 1px 1px rgba(19, 145, 166, 0.075) inset, 0 0 8px rgba(19, 145, 166, 0.6);
}
#contactForm6 .form-control:focus + .input-group-icon{
    background-color: #1ABC9C;
    color: #fff;
}
#contactForm6 .has-error .form-control {
    border-color: #ce0606;
}
#contactForm6 .has-error .input-group-icon {
    background-color: #ce0606;
    color: #ffffff;
}
#contactForm6 .has-error .form-control:focus {
    border-color: #ce0606;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #ce0606;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #ce0606;
}
#contactForm6 .has-error .form-control:focus + .input-group-icon {
    background-color: #ce0606;
    color: #ffffff;
}
#contactForm6 .help-block {
	font-size: 14px;
    color: #ce0606;
    margin: 0;
    padding-left: 42px;
    position: absolute;
    top: -22px;
}
#contactForm6 .text-success {
    color: #37a000;
}
#contactForm6 .text-danger {
    color: #ce0606;
	margin: 0 0 30px;
	font-size: 12px;
}
#contactForm6 .btn.disabled {
    opacity: 1;
}
#contactForm6 #submit.btn {
    transition: all 0.5s ease 0s;
    width: 150px;
    background-color: #084678;
    border: 0px;
    color: #fff;
}
.btn-custom:hover {
    background-color: #1ABC9C;
}
#submit.btn::after {
    content: "\f0a9";
    font-family: "Font Awesome 5 Free";
    font-size: 22px;
	font-weight: bold;
    opacity: 0;
    position: absolute;
    right: 50px;
    transition: all 0.3s ease 0s;
   
}
#submit.btn:hover::after {
    opacity: 1;
    right: 10px;
    background-color: #1ABC9C;
}
#contactForm6 .sub-text {
	right: 15px;
    /* bottom: 135px; */
    color: #ce0606;
    font-size: 14px;
    position: absolute;
}

#contactForm6 .input-group-btn ~ .form-control {
    border-radius: 0 4px 4px 0;
	cursor: not-allowed;
	padding-left: 10px;
}
#contactForm6 .input-group-btn > .btn {
    background-color: #1ABC9C;
    border: 1px solid #0B9277;
    border-radius: 4px 0 0 4px;
    padding: 4.5px 14px;
	height: 34px;
}
#contactForm6 .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*/
#contactForm6 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;
}
#contactForm6 select:focus {
	background-image: linear-gradient(45deg, transparent 50%, #f58e03 50%),
		linear-gradient(135deg, #f58e03 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
}
#contactForm6 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"] {
	opacity: 0;
}
.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-size: 16px;
	overflow: hidden;
	padding: 6px 20px;
	text-transform: uppercase;
}
.btn-custom {
    background-color: #1391a6;
    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: #1ABC9C;
    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: #65def2;
    color: #222;
}
.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;
}

/*
|----------------------------------------------------------------------------
	6. RESPONSIVE
|----------------------------------------------------------------------------
*/
@media screen and (max-width: 767px) {
	.intro-text {
		margin: 0 0 30px;
	}
}
@media screen and (max-width: 320px) {
	#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
		width: 20px;
	}
	#humanCheckCaptchaInput.form-control {
		margin-left: 8px;
		padding: 5px 2px;
		width: 32px;
	}
}
