/*
|----------------------------------------------------------------------------
	C3 Contact Form - Responsive PHP Working Ajax Contact Form Script Main CSS
	Author: C3
	Author URL: https://c3services.ca
	Version: 2.3.6
|----------------------------------------------------------------------------
*/

/*
|------------------------------------------------------------------
	[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: #333333;
    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: #ffa820;	/*-- 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: #ffa820;
    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-3 {
	padding: 60px 0;
}
/*CONTACT INFO*/
#contact-3 .contact-item {
    border: 1px solid #c3c3c3;
    border-radius: 10px;
	background-color: #f7f7f7;
    display: table;
    height: 160px;
    margin-bottom: 30px;
    overflow-wrap: break-word;
    text-align: center;
	width: 100%;
}
#contact-3 .contact-item-inner {
    display: table-cell;
    vertical-align: middle;
}
#contact-3 .contact-icon {
    overflow: hidden;
}
#contact-3 .contact-desc a {
    color: #222;
    text-decoration: none;
}
#contact-3 .contact-desc h4 {
    margin: 15px 0 0;
	font-size: 16px;
}
#contact-3 .contact-icon i {
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 32px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    transition: all 0.8s ease 0s;
    width: 64px;
}
#contact-3 .contact-item:hover i {
	background-color: #ffffff;
	color: #26bd9f;
}
/*CONTACT MAP*/
#contact-3 #map {
	border: 1px solid #ccc;
	border-radius: 4px;
	height: 374px;
    margin-bottom: 30px;
    width: 100%;
}
/*CONTACT FORM*/
#contactForm3 #msgSubmit {
    margin: 0 0 25px;
}
#contactForm3 .form-group {
	display: table;
	margin-bottom: 30px;
    position: relative;
	width: 100%;
}
#contactForm3 .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm3 .form-group .input-group-icon {
    background: #333333;
    border: 0 none;
	border-radius: 4px;
	border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    color: #ffffff;
    display: table-cell;
    font-size: 14px;
	height: 100%;
    padding: 8px 7px;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
#contactForm3 .form-control {	
    background-color: transparent;
    border: 1px solid #ccc;
    padding-left: 50px;
	
}
#contactForm3 .form-control:focus {
    border-color: #1ABC9C;
    box-shadow: 0 1px 5px 0 rgba(252, 213, 153, 0.075) inset, 0 0 6px 0 #1ABC9C;
}
#contactForm3 .form-control:focus + .input-group-icon{
    background: #1ABC9C;
    color: #ffffff;
}
#contactForm3 .btn.dropdown-toggle.btn-default {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
    color: #555;
    padding: 4px 0;
    text-shadow: none;
}
#contactForm3 .help-block {
    color: #e85252;
    margin: 0;
    padding-left: 42px;
    position: absolute;
    bottom: -40px;
}
#contactForm3 .has-error .form-control {
    border-color: #e85252;
}
#contactForm3 .has-error .input-group-icon {
    background: #e85252;
    color: #ffffff;
}
#contactForm3 .has-error .form-control:focus {
    border-color: #e85252;
    -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #e85252;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #e85252;
}
#contactForm3 .has-error .form-control:focus + .input-group-icon {
    background: #e85252;
    color: #ffffff;
}
#contactForm3 .text-success {
    color: #37a000;
}
#contactForm3 .input-group-btn ~ .form-control {
    border-radius: 0 4px 4px 0;
	cursor: not-allowed;
	padding-left: 10px;
}
#contactForm3 .input-group-btn > .btn {
    background-color: #ccc;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    padding: 4.5px 14px;
	height: 34px;
}
#contactForm3 .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*/
#contactForm3 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;
}
#contactForm3 select:focus {
	background-image: linear-gradient(45deg, transparent 50%, #f58e03 50%),
		linear-gradient(135deg, #f58e03 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
}
#contactForm3 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;
}



/*
|----------------------------------------------------------------------------
	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;
	}
}