/*
|----------------------------------------------------------------------------
	Kontact - Responsive HTML5 Ajax Contact Form Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
	Version: 2.1
	Primary color: #1391a6
|----------------------------------------------------------------------------
*/

/*
|------------------------------------------------------------------
	[Table of contents]:

	1. Common
	2. TITLE
	3. CONTACT FORM STYLE
	4. Math Captcha
	5. Button
	6. Responsive
|-------------------------------------------------------------------
*/

/*
|----------------------------------------------------------------------------
	1. Common
|----------------------------------------------------------------------------
*/
.contact-1 {
	background-color: #fffefc;
	margin: 0 auto;
	width:100%;
}
.intro-text {
	border: 1px solid #acacac;
    border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(239, 234, 226, 0.5);
    font-size: 18px;
    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: #acacac;	/*-- 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: #acacac;
    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: #acacac;
    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. CONTACT FORM STYLE
|----------------------------------------------------------------------------
*/
#contact-1 {
	padding: 60px 0 30px;
}
#contact-1 #map {
	border: 1px solid #acacac;
	border-radius: 4px;
	height: 374px;
	margin: 0 0 30px;
    overflow: hidden;
    position: relative;
    width: 100%;
}
#contact-1 .map-marker h3 {
	margin: 0 0 10px;
}
#contact-1 .map-marker > p {
    margin: 0;
}
/*CONTACT INFO*/
#contact-1 .contact-item {
	background-color: rgba(239, 234, 226, 0.5);
	border: 1px solid #acacac;
    border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(239, 234, 226, 0.5);
    display: table;
    height: 160px;
    margin: 0 auto 30px;
	max-width: 400px;
    overflow-wrap: break-word;
    text-align: center;
	width: 100%;
}
#contact-1 .contact-item:hover {
	box-shadow: 0 0 10px 1px rgba(19, 145, 166, 0.5);
}
#contact-1 .contact-item-inner {
    display: table-cell;
    vertical-align: middle;
    padding: 30px 20px;
}
#contact-1 .contact-icon {
    overflow: hidden;
	margin: 0 0 30px;
}
#contact-1 .contact-desc a {
    color: #222;
    text-decoration: none;
}
#contact-1 .contact-desc h4 {
    margin: 15px 0 0;
}
#contact-1 .contact-icon i {
	background-color: #acacac;
	border: 1px solid #acacac;
    border-radius: 50%;
	color: #fff;
    font-size: 32px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    transition: all 0.8s ease 0s;
    width: 64px;
}
#contact-1 .contact-item:hover i {
	background-color: transparent;
	border-color: #1391a6;
	color: #acacac;
}

/*CONTACT FORM*/
#contactForm #msgSubmit {
    margin: 0 0 30px;
}
#contactForm .form-group {
	display: table;
    position: relative;
	width: 100%;
    margin: 0 0 30px;
}
#contactForm .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm .form-group .input-group-icon {
    background-color: #666666;
    border: 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: 5px 7px 7px;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
#contactForm .form-control:focus + .input-group-icon{
    background-color: #acacac;
}
#contactForm .form-control {
    background-color: transparent;
    border: 1px solid #acacac;
    padding-left: 50px;
}
#contactForm .form-control:focus {
	border-color: #acacac;
	box-shadow: 0 1px 1px rgba(19, 145, 166, 0.075) inset, 0 0 8px rgba(19, 145, 166, 0.6);
}
#contactForm .form-control:focus + .input-group-icon{
    background-color: #666666;
    color: #fff;
}
#contactForm .btn.dropdown-toggle.btn-default {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    border-radius: 0;
    box-shadow: none;
	font-size: 14px;
    color: #555;
    padding: 6px 0;
    text-shadow: none;
}
#contactForm span.sub-text {
    bottom: 190px;
    color: #666666;
    font-size: 14px;
    position: absolute;
    right: 0;
}
#contactForm .has-error .form-control {
    border-color: #666666;
}
#contactForm .has-error .input-group-icon {
    background-color: #666666;
    color: #ffffff;
}
#contactForm .has-error .form-control:focus {
    border-color: #666666;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #666666;
}
#contactForm .has-error .form-control:focus + .input-group-icon {
    background-color: #666666;
    color: #ffffff;
}
#contactForm .help-block {
    color: #666666;
    margin: 0;
    padding-left: 42px;
    position: absolute;
    top: -25px;
}
#msgContactSubmit.h3 {
    margin: 0 0 30px;
}
#contactForm .text-success {
    color: #37a000;
}
#contactForm .text-danger, .text-danger {
    color: #666666;
}
#contactForm .btn.disabled {
    opacity: 1;
}
#contactForm {
    padding-bottom: 5px;
    position: relative;
}
#contactForm .form-group .checkbox {
    margin: 0;
}
#contactForm input[type="checkbox"] {
    margin-top: 5px;
}

/*select box*/
#contactForm select {
	background-color: white;
	display: inline-block;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #acacac50%),
		linear-gradient(135deg, #acacac 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;
}
#contactForm select:focus {
	background-image: linear-gradient(45deg, transparent 50%, #acacac 50%),
		linear-gradient(135deg, #1391a6 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
}
#contactForm select::-ms-expand {
    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: #efeae2;
    color: #000;
    -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: #acacac;
    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;
}

/*
|----------------------------------------------------------------------------
	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;
	}
}