/*
|----------------------------------------------------------------------------
	Kontact HTML5 Form Main CSS
	Author: MGScoder
	Version: 1.0
	Primary color: #1391a6
|----------------------------------------------------------------------------
*/
.contact-1 {
	background-color: #fff;
	margin: 0 auto;
	width:100%;
}
.intro-text {
	border: 1px solid #65def2;
    border-radius: 10px;
	box-shadow: 0 0 5px 1px rgba(101, 222, 242, 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);
}

/*
|----------------------------------------------------------------------------
| 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;
}

/*
|----------------------------------------------------------------------------
| CONTACT FORM STYLE 3
|----------------------------------------------------------------------------
*/
#contact-3 {
	background-attachment: fixed;
	background-color: #fff;
    background-image: url("../images/bg-3.jpg");
	background-position: center;
	background-repeat: no-repeat;
    background-size: cover;
	padding: 60px 0 30px;
    position: relative;
}
#contact-3::before {
    background-color: #fff;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.75;
    position: absolute;
    top: 0;
    width: 100%;
}
/*CONTACT INFO*/
.contact-info ul {
    margin-bottom: 30px;
}
.contact-info .list-unstyled > li {
    padding-bottom: 5px;
}
.contact-info .list-unstyled > li:last-child {
    padding-bottom: 0;
}
.contact-info i {
    text-align: left;
}
.contact-info a {
    color: #222;
}
/*CONTACT MAP*/
#contact-3 #map {
	border: 1px solid #65def2;
	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: 25px;
    position: relative;
	width: 100%;
}
#contactForm3 .input-group-icon {
    position: absolute;
	top: 0;
}
#contactForm3 .form-group .input-group-icon {
    background-color: #1391a6;
    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;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
#contactForm3 .form-control:focus + .input-group-icon{
    background-color: #1391a6;
}
#contactForm3 .form-control {	
    background-color: transparent;
    border: 1px solid #1391a6;
    padding-left: 50px;	
}
#contactForm3 .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);
}
#contactForm3 .form-control:focus + .input-group-icon{
    background-color: #4ba6b5;
    color: #fff;
}
#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: #ce0606;
    margin: 0;
    padding-left: 42px;
    position: absolute;
    bottom: -32px;
}
#contactForm3 .has-error .form-control {
    border-color: #ce0606;
}
#contactForm3 .has-error .input-group-icon {
    background-color: #ce0606;
    color: #fff;
}
#contactForm3 .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;
}
#contactForm3 .has-error .form-control:focus + .input-group-icon {
    background-color: #ce0606;
    color: #fff;
}
#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: #1391a6;
    border: 1px solid #1391a6;
    border-radius: 4px 0 0 4px;
	color: #fff;
    padding: 4.5px 14px;
	height: 34px;
}
#contactForm3 .input-group-btn > .btn > input[type="file"] {
    display: none;
}

/*select box*/
#contactForm3 select {
	background-color: white;
	display: inline-block;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
}
#contactForm3 select#service {
	background-image: linear-gradient(45deg, transparent 50%, #1391a6 50%),
		linear-gradient(135deg, #1391a6 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#service:focus {
	background-image: linear-gradient(45deg, transparent 50%, #1391a6 50%),
		linear-gradient(135deg, #1391a6 50%, transparent 50%),
		radial-gradient(transparent 66%, transparent 66%);
}

/*
|----------------------------------------------------------------------------
| 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;
}

/*
|----------------------------------------------------------------------------
| 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: #65def2;
    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;
}

@media screen and (max-width: 767px) {
	.intro-text {
		margin: 0 0 30px;
	}
}
@media screen and (max-width: 320px) {
	#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
		width: 20px;
	}
}