/*
|----------------------------------------------------------------------------
	Kontact - Responsive HTML5 Ajax Contact Form Main CSS
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
	Version: 2.9.3
	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: #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);
}

/*
|----------------------------------------------------------------------------
	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. CONTACT FORM STYLE
|----------------------------------------------------------------------------
*/
#contact-1 {
	padding: 60px 0 30px;
}
#contact-1 #map {
	border: 1px solid #65def2;
	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(101, 222, 242, 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-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;
	font-size: 18px;
	font-weight: bold;
}
#contact-1 .contact-icon i {
	background-color: #1391a6;
	border: 1px solid #1391a6;
    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: #1391a6;
}

/*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: #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: 8px 7px;
    text-align: center;
    vertical-align: top;
    white-space: nowrap;
    width: 40px;
}
#contactForm .form-control:focus + .input-group-icon{
    background-color: #1391a6;
}
#contactForm .form-control {
    background-color: transparent;
    border: 1px solid #1391a6;
    padding-left: 50px;
}
#contactForm .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);
}
#contactForm .form-control:focus + .input-group-icon{
    background-color: #4ba6b5;
    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: 75px;
    color: #ce0606;
    font-size: 14px;
    position: absolute;
    right: 0;
}
#contactForm .has-error .form-control {
    border-color: #ce0606;
}
#contactForm .has-error .input-group-icon {
    background-color: #ce0606;
    color: #ffffff;
}
#contactForm .has-error .form-control:focus {
    border-color: #ce0606;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.075) inset, 0 0 6px 0 #ce0606;
}
#contactForm .has-error .form-control:focus + .input-group-icon {
    background-color: #ce0606;
    color: #ffffff;
}
#contactForm .help-block {
    color: #ce0606;
    margin: 0;
    padding-left: 35px;
    position: absolute;
    top: -25px;
}
#contactForm .help-block ul.list-unstyled li::before {
    content: "\f071";
    font-family: "Font Awesome 6 Free";
	font-weight: bold;
    position: relative;
    padding-right: 5px;
    top: 0;
    left: 0;
}
#contactForm .help-block ul li {
	font-size: 13px;
    background-color: transparent;
    color: #ce0606;
    border: 1px solid #ce0606;
    border-radius: 2px;
    top: 0px;
	position: relative;
	padding: 0 5px;
	margin-left: 5px;
	max-height: 20px;
}
#contactForm .help-block ul li::after {
	content: "";
    position: absolute;
    height: 0;
    width: 0;
    right: 50%;
    top: 18px;
    border: 5px solid transparent;
    border-top: 5px solid #ce0606;
}
#msgContactSubmit.h3 {
    margin: 0 0 30px;
}
#contactForm .text-success {
    color: #37a000;
}
#contactForm .text-danger, .text-danger {
    color: #ce0606;
}
#contactForm .btn.disabled {
    opacity: 1;
}
#contactForm {
    padding-bottom: 5px;
    position: relative;
}
#contactForm .form-group .checkbox {
    margin: 0;
}
#contactForm input[type="checkbox"] {
    margin-top: 5px;
}

#contactForm .input-group-btn ~ .form-control {
    border-radius: 0 4px 4px 0;
	cursor: not-allowed;
	padding-left: 10px;
}
#contactForm .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;
}
#contactForm .input-group-btn > .btn > input[type="file"] {
    display: none;
}

/*upload file b4 fix*/
#contactForm .form-group.attachmentFile .input-group-btn ~ .form-control {
	width: calc(100% - 90px);
	margin-left: -5px;
	border-left: none;
	display: inline;
}
#contactForm .form-group.attachmentFile .input-group-btn > .btn {
	width: 90px;
	margin-top: -5px;
	padding: 7px 14px;
	height: 38px;
}

/*checkbox b4 fix*/
.checkbox input[type="checkbox"] {
    margin: 6px 5px 0 0;
}

/*radio-inline b4 fix*/
.form-group .checkbox-inline, .form-group .radio-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
	margin-right: 15px;
    vertical-align: middle;
    cursor: pointer;
}
.form-group .radio-inline input[type="radio"] {
    margin: 6px 5px 0 -20px;
}


/***************** Mgsstyle Checkbox *****************/
ul.mgsstyle-checkbox.mgscheckbox-style {
	padding-left: 0;
}

.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;
	margin-left: -12px;
}
.mgsstyle-checkbox.mgscheckbox-style label  {
	position: relative;
	padding: 5px 30px;
	cursor: pointer;
}
.mgsstyle-checkbox.mgscheckbox-style label:before {
	border: 1px solid #a0a0a0;
	border-radius: 3px;
	content: "";
	left: 0;
	position: absolute;
	top: 6px;
	width: 20px;
	height: 20px;
}
.mgsstyle-checkbox.mgscheckbox-style :checked + label:before {
	border: 12px solid #1391a6;
	border-radius: 3px;
	content: "";
	left: 0;
	position: absolute;
	top: 5px;
	width: auto;
	height: auto;
}


/*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%, #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;
}
#contactForm select:focus {
	background-image: linear-gradient(45deg, transparent 50%, #1391a6 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: #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;
	pointer-events: auto;
}

/*
|----------------------------------------------------------------------------
	6. Responsive
|----------------------------------------------------------------------------
*/
@media screen and (max-width: 767px) {
	.intro-text {
		margin: 0 0 30px;
	}
}
@media screen and (max-width: 420px) {
	#firstDigit #mathfirstnum, #secondDigit #mathsecondnum {
		width: 20px;
	}
	#contactForm .g-recaptcha {
		-webkit-transform:scale(0.85);
		transform:scale(0.85);
		-webkit-transform-origin:0 0;
		transform-origin:0 0;
	}
}
@media screen and (max-width: 320px) {	
	#contactForm .g-recaptcha {
		-webkit-transform:scale(0.75);
		transform:scale(0.75);
	}
}