/*
|----------------------------------------------------------------------------
	Floating Contact - Floating Quick Contact WordPress Plugin
	Author: MGScoder
	Author URL: https://codecanyon.net/user/mgscoder
|----------------------------------------------------------------------------
*/
#cbdemoContent {
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 15px;
}
#cbdemoContent img {
	max-width: 100%;
}
.text-center {
	text-align: center;
}
.clearfix {
	clear: both;
	display: block;
}

#floating-contact-buttons-widget {
	position: fixed;
	top: calc(100vh - 240px);
	left: -60px;
	width: 32px;
	z-index: 99999;
}
#floating-contact-buttons-widget.slide-on-scroll {
	position: absolute;
}
#floating-contact-buttons-widget .floating-contact-button-link  {
	display: block;
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 1px 0;
	text-align: center;
	line-height: 32px;
	font-size: 18px;
	background-color: #8e8e93;
	color: #fff;
	position: relative;
	left: 0;
	border-radius: 50%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;  
	-webkit-transition: all 250ms;
	transition: all 250ms;
}
#floating-contact-buttons-widget .floating-contact-button-link span  {
	line-height: 32px;
}
#floating-contact-buttons-widget .floating-contact-button-link:hover, #floating-contact-buttons-widget .floating-contact-button-link:focus, #floating-contact-buttons-widget .floating-contact-button-link:active {
	color: #fff;
}
#floating-contact-buttons-widget .floating-contact-button-link:hover {
	color: #fff;
	-webkit-animation: mgsfcblink 12s infinite;
	animation: mgsfcblink 12s infinite;
	-webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
@-webkit-keyframes mgsfcblink {
	20%,
	24%,
	55% {
		color: transparent;
		text-shadow: none;
	}

	0%,
	19%,
	21%,
	23%,
	25%,
	54%,
	56%,
	100% {
		text-shadow: 0 0 5px #000, 0 0 8px #fff, 0 0 10px #000, 0 0 20px #fff, 0 0 30px #000, 0 0 10px #000, 0 0 38px #fff;
		color: #fff;
	}
}

@keyframes mgsfcblink {
	20%,
	24%,
	55% {
		color: rgba(255, 255, 255, 0.1);
		text-shadow: none;
	}

	0%,
	19%,
	21%,
	23%,
	25%,
	54%,
	56%,
	100% {
		color: #fff;
		text-shadow: 0 0 5px #000, 0 0 8px #fff, 0 0 10px #000, 0 0 20px #fff, 0 0 30px #000, 0 0 10px #000, 0 0 38px #fff;
	}
}
#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-hidden {
	left: -60px;
}
#floating-contact-buttons-widget .floating-contact-button-link.bspace {
	margin-top: 5px;
}
#floating-contact-buttons-widget .show-hide-floating-contact-icon-bar,
#floating-contact-buttons-widget .floating-contact-button-link.show-hide-floating-contact-icon-bar:focus,
#floating-contact-buttons-widget .floating-contact-button-link.show-hide-floating-contact-icon-bar:active {
	background-color: #0000ff;
	color: #fff;
	border: 0;
	outline: 0;
	padding: 0;
	width: 32px;
	border-radius: 50%;
	margin-top: 5px;
	margin-bottom: 5px;
}
#floating-contact-buttons-widget .floating-contact-button-link.show-hide-floating-contact-icon-bar:hover {
	color: #000;
	background-color: #ccc;
	padding: 0;
	width: 32px;
}

#floating-contact-buttons-widget .show-hide-floating-contact-icon-bar .fa-times {
    color: #ff0000;
}
#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-form, #floating-contact-buttons-widget .floating-contact-button-link.mgsfc-form:hover {
    background-color: #fb9902;
}
#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-phone, #floating-contact-buttons-widget .floating-contact-button-link.mgsfc-phone:hover {
    background-color: #53b232;
}
#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-email, #floating-contact-buttons-widget .floating-contact-button-link.mgsfc-email:hover {
    background-color: #000;
}
#floating-contact-buttons-widget .floating-contact-button-link.cb-contactform, #floating-contact-buttons-widget .floating-contact-button-link.cb-contactform:hover {
    background-color: #0084ff;
}
#floating-contact-buttons-widget .floating-contact-button-link.cb-extrabtn1, #floating-contact-buttons-widget .floating-contact-button-link.cb-extrabtn1:hover {
    background-color: #627b83;
}

#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-ancor::after {
	font-size: 12px;
	line-height: 1.48;
	background-color: rgba(0, 116, 232, 0.98);
	color: #fff;
	content: attr(rel);
	display: block;
	margin-top: -30px;
	padding: 0 10px;
    border: 5px solid transparent;
    border-left: 4px solid #ff0000;
	border-radius: 10px;
	position: absolute;
	white-space: nowrap;
	opacity: 0;
	left: -9999px;
	-ms-transform: scale(0);
	-webkit-transform: scale(0);
	transform: scale(0);
	-webkit-transform-origin: 10% 50%;
	transform-origin: 10% 50%;
	-webkit-transition: opacity .1s ease .3s,left 0s ease .3s,margin-top 300ms ease .3s,-webkit-transform 300ms ease .3s;
	transition: opacity .1s ease .3s,left 0s ease .3s,margin-top 300ms ease .3s,-webkit-transform 300ms ease .3s;
}
#floating-contact-buttons-widget .floating-contact-button-link.mgsfc-ancor:hover::after {
	font-size: 12px;
	line-height: 1.48;
	opacity: 1;
	margin-top: -30px;
	left: 38px;
	padding: 0 10px;
    border: 5px solid transparent;
    border-left: 4px solid #ff0000;
	border-radius: 10px;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: opacity .1s ease .3s,left 0s ease,margin-top .3s ease .3s,-webkit-transform .3s ease .3s;
	transition: opacity .1s ease .3s,left 0s ease,margin-top .3s ease .3s,-webkit-transform .3s ease .3s;
}
	
.floating-contact-button-link .fcbwaves {
	position: relative;
	display: inline-block;
	width: 50px;
	left: -9px;
	top: -41px;
	height: 50px;
	border-radius: 50%;
	border-width: 4px;
	border-style: solid;
	border-color: #043e7c;
	-webkit-animation-name: waves;
	animation-name: waves;
	-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
	animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}	

@-webkit-keyframes waves {
	0% {
		-ms-transform: scale(0.5);
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0.0;
	}
	25% {
		-ms-transform: scale(0.5);
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0.1;
	}
	50% {
		-ms-transform: scale(0.6);
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0.3;
	}
	75% {
		-ms-transform: scale(0.75);
		-webkit-transform: scale(0.75);
		transform: scale(0.75);
		opacity: 0.5;
	}
	100% {
		-ms-transform: scale(1);
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0.0;
	}
}
@keyframes waves {
	0% {
		-ms-transform: scale(0.5);
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0.0;
	}
	25% {
		-ms-transform: scale(0.5);
		-webkit-transform: scale(0.5);
		transform: scale(0.5);
		opacity: 0.1;
	}
	50% {
		-ms-transform: scale(0.6);
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0.3;
	}
	75% {
		-ms-transform: scale(0.75);
		-webkit-transform: scale(0.75);
		transform: scale(0.75);
		opacity: 0.5;
	}
	100% {
		-ms-transform: scale(1);
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0.0;
	}
}

#msgFCformSubmit.h3 {
    margin: 0 0 20px;
}
#msgFCformSubmit.text-success {
    color: #37a000;
	font-size: 16px;
}
#msgFCformSubmit.text-danger, .text-danger {
    color: #ce0606;
	font-size: 16px;
}
.fcbmodal-body {
	background-color: #eee;
	width: 600px;
	max-width: calc(100% - 70px);
	bottom: 55px;
	position: fixed;
	border-radius: 10px;
	padding: 30px 10px 10px 15px;
}
.fcbmodal-body.hidediv {
	left: -9999px;
	-ms-transform: scale(0);
	-webkit-transform: scale(0);
	transform: scale(0);
	-webkit-transform-origin: 10% 50%;
	transform-origin: 10% 50%;
	-webkit-transition: opacity .1s ease .3s,left 0s ease .3s,margin-top 300ms ease .3s,-webkit-transform 300ms ease .3s;
	transition: opacity .1s ease .3s,left 0s ease .3s,margin-top 300ms ease .3s,-webkit-transform 300ms ease .3s;
}
.fcbmodal-body.showdiv {
	left: 60px;
	z-index: 99999;
	-ms-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: opacity .1s ease .3s,left 0s ease,margin-top .3s ease .3s,-webkit-transform .3s ease .3s;
	transition: opacity .1s ease .3s,left 0s ease,margin-top .3s ease .3s,-webkit-transform .3s ease .3s;
}
.fcbmodal-body h5 {
	font-size: 18px;
    color: #0147fe;
	text-transform: capitalize;
	letter-spacing: inherit;
}
.fcbmodal-body button.close {
    font-size: 42px;
	padding: 0;
	line-height: 1;
	font-weight: bold;
    border: none;
    right: -10px;
    position: absolute;
    top: -30px;
	width: 50px;height: 50px;
	background-color: #eee;
    color: #d22d2d;
	cursor: pointer;
	border-radius: 50%;
}

#mgsfloatingcontactform a {
	color: #0147fe;
}
#mgsfloatingcontactform .form-group {
	width: 48%;
	margin: 0 2% 10px 0;
	float: left;
}
#mgsfloatingcontactform .form-group label {
	font-size: 15px;
	font-weight: 400;
}
#mgsfloatingcontactform .form-group.mgsfcconsentcheckboxrow {
	width: 98%;
	margin: -5px 0 5px;
	text-align: left;
	font-size: 15px;
	font-weight: 400;
}
#mgsfloatingcontactform .form-group.mgsfcformtextareafullwidth {
	width: 98%;
	margin: 0 0 10px;
	text-align: left;
}

#mgsfloatingcontactform #msgFCformSubmitButtonHolder.form-group, #msgFCform-processing-image {
	width: 100%;
	clear: both;
}
#mgsfloatingcontactform .form-control {
    background-color: #fff;
	border: 1px solid #ccc;
	padding: 6px 12px;
	font-size: 15px;
	font-weight: 400;
	border-radius: 5px;
	width: 100%;
}
#mgsfloatingcontactform .form-control:focus {
    border-color: #333;
    outline: none;
}
#mgsfloatingcontactform input.form-control {
	height: 40px;
}
#mgsfloatingcontactform textarea.form-control {
	height: 66px;
}
.clearfix {
    clear: both;
}
#floating-contact-buttons-widget button.show-hide-floating-contact-icon-bar, .btn {
	cursor: pointer;
}
#msgFCformSubmitButtonHolder .btn.btn-custom {
	font-size: 16px;
	overflow: hidden;
	padding: 6px 25px;
	text-transform: uppercase;
    background-color: #0147fe;
    color: #fff;
    -webkit-box-shadow: 0 0 1px transparent;
    box-shadow: 0 0 1px transparent;
    display: inline-block;
    position: relative;
    vertical-align: middle;
	border-radius: 8px;
	border: 1px solid #0147fe;
	cursor: pointer;
}
#mgsfloatingcontactform input::placeholder, #mgsfloatingcontactform ::placeholder {
	color: #666;
}
#mgsfloatingcontactform input, #mgsfloatingcontactform select, #mgsfloatingcontactform textarea {
	color: #333;
}
#mgsfloatingcontactform .g-recaptcha {
	-webkit-transform:scale(0.85);
	transform:scale(0.85);
	-webkit-transform-origin:0 0;
	transform-origin:0 0;
	margin-bottom: 0;
}
#mgsfloatingcontactform .g-recaptcha iframe {
	margin-bottom: 0;
}


.mgsfcwidget-area ul {
    list-style: none;
    padding: 0;
	margin: 0 0 10px;
}
.floating-contact-info-holder h4.mgsfcwidget-title {
    border-bottom: 1px solid rgba(52, 152, 219, .7);
    color: #333;
	font-size: 24px;
	font-weight: bold;
	margin: 0 0 25px;
    position: relative;
	text-transform: capitalize;
}
.floating-contact-info-holder h4.mgsfcwidget-title::before {
    background-color: #0147fe;
    bottom: 0;
    content: "";
    display: block;
    height: 2px;
    left: 0;
    margin: 0 0 -1px;
    position: absolute;
    width: 32px;
}
.floating-contact-info-holder h4.mgsfcwidget-title span {
	color: #0147fe;
}
.floating-contact-info-holder .contact-info.list-unstyled > li {
    font-size: 16px;
    line-height: 1.4;
    padding: 0 0 10px;
}
.floating-contact-info-holder .contact-info.list-unstyled > li i {
    margin: 0 5px 0 0;
}

/*
|----------------------------------------------------------------------------
	SOCIAL / .social-icon
|----------------------------------------------------------------------------
*/
.mgsfcsocial .list-inline.list-social {
    padding: 0 0 30px;
    width: 175px;
    margin: 0 auto;
}
.mgsfcsocial .list-inline.list-social > li {
    padding: 0;
	float: left;
}
.mgsfcsocial .social-icon {
    border: 1px solid #0147fe;
    border-radius: 3px;
    color: #0147fe;
    display: block;
    height: 32px;
    margin-right: 5px;
    overflow: hidden;
    text-align: center;
    text-shadow: none;
    width: 32px;
}
.mgsfcsocial a.social-icon {
	text-decoration: none;
}
.mgsfcsocial .social-icon-rounded {
    border-radius: 50%;
}
.mgsfcsocial .social-icon-dark, .mgsfcsocial .social-icon-light {
    border-color: transparent;
}
.mgsfcsocial .social-icon-dark {
    background-color: #444;
    color: #fff;
}
.mgsfcsocial .social-icon-light {
    background-color: #b5b5b5;
    color: #666;
}
.mgsfcsocial .social-icon-colored {
    border-color: transparent;
}
.mgsfcsocial .social-icon.social-icon-large {
    height: 44px;
    margin: 0 10px 10px 0;
    width: 44px;
}
.mgsfcsocial .social-icon.social-icon-small {
    height: 24px;
    width: 24px;
}
.mgsfcsocial .social-icon i {
    display: block;
	font-size: 22px;
    line-height: 32px;
	padding: 0 1px;
    position: relative;
    -webkit-transition:all 0.3s ease 0s;
    -moz-transition:all 0.3s ease 0s;
    -ms-transition:all 0.3s ease 0s;
    -o-transition:all 0.3s ease 0s;
    transition:all 0.3s ease 0s;
}
.mgsfcsocial .social-icon.social-icon-small i {
    font-size: 16px;
    line-height: 24px;
}
.mgsfcsocial .social-icon.social-icon-large i {
    font-size: 34px;
    line-height: 44px;
}
.mgsfcsocial .social-icon.social-icon-large:hover i:first-child {
    margin-top: -44px;
}
.mgsfcsocial .social-icon.social-icon-small:hover i:first-child {
    margin-top: -24px;
}
.mgsfcsocial .social-icon:hover i:first-child {
    margin-top: -32px;
}
.mgsfcsocial .social-icon:hover {
	text-decoration: none;
}
.mgsfcsocial .social-icon-colored.social-icon, .mgsfcsocial .social-icon:hover {
    border-color: transparent;
}
.mgsfcsocial .social-icon-colored.social-icon-facebook, .mgsfcsocial .social-icon-facebook:hover {
    background-color: #3b5998;
}
.mgsfcsocial .social-icon-colored.social-icon-twitter, .mgsfcsocial .social-icon-twitter:hover {
    background-color: #00acee;
}
.mgsfcsocial .social-icon-colored.social-icon-gplus, .mgsfcsocial .social-icon-gplus:hover {
    background-color: #dd4b39;
}
.mgsfcsocial .social-icon-colored.social-icon-linkedin, .mgsfcsocial .social-icon-linkedin:hover {
    background-color: #0077b5;
}
.mgsfcsocial .social-icon-colored.social-icon-vimeo, .mgsfcsocial .social-icon-vimeo:hover {
    background-color: #1ca7cc;
}
.mgsfcsocial .social-icon-colored.social-icon-pinterest, .mgsfcsocial .social-icon-pinterest:hover {
    background-color: #cb2027;
}
.mgsfcsocial .social-icon-colored.social-icon-dribbble, .mgsfcsocial .social-icon-dribbble:hover {
    background-color: #ec4a89;
}
.mgsfcsocial .social-icon-colored.social-icon-rss, .mgsfcsocial .social-icon-rss:hover {
    background-color: #fb9f3c;
}
.mgsfcsocial .social-icon-colored.social-icon-flickr, .mgsfcsocial .social-icon-flickr:hover {
    background-color: #ff0084;
}
.mgsfcsocial .social-icon-colored.social-icon-instagram, .mgsfcsocial .social-icon-instagram:hover {
    background-color: #bc2a8d;
}
.mgsfcsocial .social-icon-colored.social-icon-youtube, .mgsfcsocial .social-icon-youtube:hover {
    background-color: #bb0000;
}
.mgsfcsocial .social-icon-colored.social-icon-skype, .mgsfcsocial .social-icon-skype:hover {
    background-color: #12a5f4;
}
.mgsfcsocial .social-icon-colored.social-icon-yahoo, .mgsfcsocial .footer .social-icon-yahoo:hover {
    background-color: #7B0099;
}
.mgsfcsocial .social-icon-colored.social-icon-tumblr, .mgsfcsocial .social-icon-tumblr:hover {
    background-color: #32506d;
}
.mgsfcsocial .social-icon i:last-child {
    color: #fff;
}
.mgsfcsocial .social-icon-colored i {
    color: #fff;
}


/*
|----------------------------------------------------------------------------
	Math Captcha
|----------------------------------------------------------------------------
*/
#mgsfchumanCheckCaptchaBox, #mgsfchumanCheckCaptchaInput, #mgsfcfirstDigit, #mgsfcsecondDigit,  #mgsfcmathfirstnum, #mgsfcmathsecondnum {
    display: inline;
}
#mgsfchumanCheckCaptchaInput.form-control {
    height: 30px;
    margin-left: 10px;
    padding: 4px;
    text-align: center;
    width: 45px !important;
}
#mgsfcfirstDigit #mgsfcmathfirstnum, #mgsfcsecondDigit #mgsfcmathsecondnum {
	border: none;
	box-shadow: none;
    width: 30px;
    height: 30px;
	padding: 0;
    pointer-events: none;
    text-align: center;
}


/*
|----------------------------------------------------------------------------
	Right Align
|----------------------------------------------------------------------------
*/	
#floating-contact-buttons-widget.hpright {
    right: -60px;
	left: auto;
}
#floating-contact-buttons-widget.hpright .floating-contact-button-link.mgsfc-hidden {
    right: -60px;
	left: auto;
}
#floating-contact-buttons-widget.hpright .floating-contact-button-link {
	right: 0;
}

#floating-contact-buttons-widget.hpright .floating-contact-button-link.mgsfc-ancor:hover::after {
    right: 45px;
	left: auto;
}

/*
|----------------------------------------------------------------------------
	Contact Form Tab
|----------------------------------------------------------------------------
*/
.mgsfcformtab {
    overflow: hidden;
    background-color: transparent;
	margin-top: -68px;
	margin-bottom: 20px;
}
.mgsfcformtab button {
    background-color: #ccc;
    outline: none;
    cursor: pointer;
	margin: 2px 1px;
    padding: 8px 20px 4px;
    transition: 0.3s;
    font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 6px 6px 0 0;
}
.mgsfcformtab button:hover {
    background-color: #ccc;
}
.mgsfcformtab button.active, .mgsfcformtab button:focus, .mgsfcformtab button:active {
    background-color: #0147fe;
	color: #fff;
}
.mgsfcformtab .fa {
    font-size: 20px;
}
.mgsfcformtabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}
/* Fade in tabs */
@-webkit-keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

#floating-contact-buttons-widget.slide-on-scroll.mobile-viewcb {
	position: fixed !important;
	top: auto !important;
	bottom: 40px !important;
}

#floating-contact-buttons-widget.mobile-viewcb {
	position: fixed !important;
	top: auto !important;
	bottom: 40px !important;
}

#mgsfcbuynowbtn-fixed-box {			
	position: fixed;
	right: 0;
	bottom: 50px;
	z-index: 99999;
}
#mgsfcbuynowbtn-fixed-box .btn-holder {
	margin: 0;
}
#mgsfcbuynowbtn-fixed-box .btn.btn-primary.btn-lg {
    background-color: #0000ff;
    padding: 6px 10px;
    color: #fff;
    border-radius: 6px 0 0 6px;
}

/*
|----------------------------------------------------------------------------
	Responsive
|----------------------------------------------------------------------------
*/
@media screen and (max-width: 767px) {
	.fcbmodal-body.showdiv {
		left: 50px;
	}
	.fcbmodal-body {
		padding: 30px 10px 10px 10px;
	}	
	#mgsfloatingcontactform .form-group {
		width: 100%;
		margin: 0 0 10px;
	}
	.fcbmodal-body #mgsfloatingcontactform .form-control {
		max-width: 100%;
	}
}
@media screen and (max-width: 420px) {
	.fcbmodal-body #mgsfloatingcontactform .form-control {
		width: 250px;
	}
}
@media screen and (max-width: 360px) {
	.fcbmodal-body #mgsfloatingcontactform .form-control {
		width: 230px;
	}	
}
@media screen and (max-width: 320px) {
	.fcbmodal-body #mgsfloatingcontactform .form-control {
		width: 210px;
	}
	#mgsfcfirstDigit #mgsfcmathfirstnum, #mgsfcsecondDigit #mgsfcmathsecondnum {
		width: 20px;
	}
}
@media screen and (max-height: 568px) {
	#mgsfloatingcontactform .form-group {
		margin: 0 0 5px;
	}	
}
@media screen and (max-height: 533px) {
	.mgsfcformtabcontent {
		height: 236px;
		overflow-x: hidden;
		overflow-y: scroll;
	}	
}
@media screen and (max-height: 480px) {	
	#floating-contact-buttons-widget {
		top: calc(100vh - 180px);
	}	
}