/*=====================================================

Project: FB Messenger - Direct Message on Facebook Messenger From website HTML Plugin
Author: Black Theme
Released On: 8, Sep 2019
@version: 1.0

=======================================================*/

/* Click To FB Messenger Main Panel */
.fb-style4{
	position: fixed;
  	bottom: 20px;
  	right: 20px;
  	letter-spacing: 0.1px;
  	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  	z-index: 9999;
}

/* Click To FB Messenger Floating Button */
.fb-style4 .fb-button{
	display: inline-block;
	padding: 0 1px 0 0;
  	width: 50px;
  	height: 50px;
	font-size: 25px;  	
  	line-height: 48px;
  	text-align: center;
  	border: 1px solid #fff;
	border-radius: 100%;
	box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
  	cursor: pointer;
}
.fb-style4 .fb-button:hover{
	box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
}
.fb-style4 .fb-button img{
  	width: 33px;
  	margin-bottom: 5px;
  	cursor: pointer;
}

/*  Click To FB Messenger Modal Window */
.fb-style4 .fb-modal{
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100%;
	height: auto;
	max-width: 630px;
	min-width: 320px;
	border-radius: 5px;
	visibility: hidden;
    box-shadow: 0 0 10px rgba(43, 43, 43, 0.41);
	z-index: 2000;

	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
}
.fb-style4 .fb-show{
	visibility: visible;
}
.fb-style4 .fb-overlay{
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1000;
}
.fb-style4 .fb-show ~ .fb-overlay{
	opacity: 1;
	visibility: visible;
	background-color: #0000007a;
} 
.fb-style4 .fb-modal .fb-content{
	position: relative;
	margin: 0 auto;
	border-radius: 10px;
}

/* Modal Header */
.fb-style4 .fb-panel .fb-header{
	padding: 15px 10px;
	border-radius: 8px 8px 0 0;
	text-align: center;
}
.fb-style4 .fb-header img{
	padding: 5px;
	width: 30%;
	border: 2px solid #fff;
	border-radius: 100%;
}
.fb-style4 .fb-header h2{
	padding-top: 5px;
	margin-bottom: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
}
.fb-style4 .fb-header p{
	margin-bottom: 0;
	font-size: 13px;
}

/* Modal Body */
.fb-style4 .fb-panel .fb-body{
	padding: 20px 10px 0;
	text-align: center;
}
.fb-style4 .fb-body p{
	margin-bottom: 0;
	font-size: 14px;
}

/* Modal Footer */
.fb-style4 .fb-panel .fb-footer{
	padding: 35px 10px 45px;
	text-align: center;
}
.fb-style4 .fb-footer a{
	text-decoration: none;
	color: inherit;
}
.fb-style4 .fb-footer .fb-msg-button{
  	position: relative;
  	margin: auto;
  	padding: 20px 12px;
	border-radius: 100%;
  	font-size: 13px;
  	font-weight: 700;
}
.fb-style4 .fb-footer .fb-msg-button:hover{
	box-shadow: 0px 0px 10px #999;
}

/* Common CSS */
.fb-style4 .fb-footer .fb-msg-button,
.fb-style4 .fb-footer .fb-msg-button:hover{
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}

/* 3D Flip Vertical with Animations */
.fb-flip-y.fb-modal{
	width: 200px;
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	-ms-perspective: 1300px;
	-o-perspective: 1300px;
	perspective: 1300px;
}
.fb-flip-y .fb-content{
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	
	-webkit-transform: rotateX(-70deg);
	-moz-transform: rotateX(-70deg);
	-ms-transform: rotateX(-70deg);
	-o-transform: rotateX(-70deg);
	transform: rotateX(-70deg);

	opacity: 0;
}
.fb-show.fb-flip-y .fb-content{
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	-o-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Common CSS */
.fb-style4,
.fb-style4 .fb-button:hover,
.fb-flip-y .fb-content{
    -webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	-ms-transition: all .3s ease-in-out;
	-o-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}