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

Project: WhatsChat - WhatsApp Chat Widget jQuery Plugin
Author: Black Theme
Released On: 4, Sep 2019
@version: 1.0

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

/* WhatsChat Main Panel */
a.cmy-button.cmy-trigger {
    background: #00cbff;
}


.modal-content.cmy-content iframe,.modal-content.cmy-content {
    border-radius: 25px;
}
@media (max-width: 576px){
.modal-content.cmy-content iframe,.modal-content.cmy-content {
    border-radius: 0px;
}
}
button.btn-close.cmy-close {
    position: absolute;
    right: 10px;
    margin-top: 10px;
}
.cmy-style{
	position: fixed;
  	bottom: 20px;
  	left: 20px;
	z-index: 9999;
  	letter-spacing: 0.1px;
  	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* WhatsChat Floating Button */
.cmy-style .cmy-button{
	display: inline-block;
  	width: 60px;
  	height: 60px;
  	line-height: 60px;
  	text-align: center;
  	border: 0px solid #fff;
	border-radius: 100%;
  	cursor: pointer;
}
.cmy-style .cmy-button:hover{
	box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
}

.cmy-style .cmy-button:hover{
	    -webkit-transform: rotate( 
270deg
 );
    -moz-transition: rotate(270deg);
    -ms-transition: rotate(270deg);
    -o-transition: rotate(270deg);
    transform: rotate( 270deg );
       box-shadow: 0 0 1px 15px rgb(0 188 212 / 15%), 0 0 1px 30px rgb(0 188 212 / 10%), 0 0 1px 45px rgb(0 188 212 / 10%);
}

@media (max-width: 544px){
/* Footer Close Button */
.cmy-style .cmy-footer{
	text-align: center;
	padding: 0px;
	position: absolute;
    top: 30px;
    left: 30px;
}


}
/*  WhatsChat Modal Window */
.cmy-style .cmy-modal{
	position: fixed;
	top: 55%;
	left: 50%;
	width: 100%;
	height: 90vh;
	max-width: 630px;
	min-width: 320px;
	border-radius: 25px;
	visibility: hidden;
    box-shadow: 0 4px 8px 1px rgba(43,43,43,.15);
	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%);
}
.cmy-style .cmy-show{
	visibility: visible;
}
.cmy-style .cmy-overlay{
	visibility: hidden;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 1000;
}
.cmy-style .cmy-show ~ .cmy-overlay{
	opacity: 1;
	visibility: visible;
} 
.cmy-style .cmy-modal .cmy-content{
	position: relative;
	height: 100%;
	margin: 0 auto;
	border-radius: 25px;
}
.cmy-content iframe {
    border-radius: 25px;
}
/* Modal Header */
.cmy-style .cmy-content .cmy-header{
	padding: 0px;
	text-align: center;
	border-radius: 8px 8px 0px 0px;
}
.cmy-style .cmy-header strong{
	font-size: 15px;
	line-height: 20px;
}
.cmy-style .cmy-header p{
	margin-bottom: 0;
	font-size: 12px;
	line-height: 20px;
}

/* Modal Body Contact List */
.cmy-style .cmy-content .cmy-body{
	padding: 0px;
    height: 100%;
    	
}
.cmy-style .cmy-body ul{
	padding: 0;
	margin-bottom: 0;
	list-style-type: none;
}
.cmy-style .cmy-body .cmy-list{
	padding: 0 10px;
	margin-bottom: 5px;	
	text-align: left;
	list-style-type: none;
	border-radius: 5px;
	overflow: auto;
}
.cmy-style .cmy-body .cmy-list:hover{
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(43, 43, 43, 0.26);
}

/* Contact Profile & Name & Last Seen Status */
.cmy-style .cmy-list .d-flex{
    display: flex;
    padding: 5px 5px;
}
.cmy-style .cmy-list:hover .d-flex{
    border-radius: 5px;
}
.cmy-style .cmy-list .cmy-img-cont{
	position: relative;
}
.cmy-style .cmy-list .cmy-user-img{
    display: block;
    margin-top: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.cmy-style .cmy-list .cmy-user-info{
	margin-top: -5px;
	margin-bottom: auto;
	margin-left: 15px;
	width: 100%;
}
.cmy-style .cmy-user-info .cmy-user-name{
	font-size: 14px;
    font-weight: bold;
}
.cmy-style .cmy-user-info p{
	margin-bottom: 0;
	font-size: 11px;
    line-height: 11px;
}
.cmy-style .cmy-user-info .cmy-status{
    display: inline-block;
    padding: 1px 5px;
    vertical-align: middle;
	font-size: 10px;
    border-radius: 5px;
}
.cmy-style ul .cmy-list .cmy-chat-icon{
	position: relative;
	margin-top: 0;
	text-align: right;
}
.cmy-style ul .cmy-list .cmy-chat-icon i{
	position: absolute;
	margin-top: 17px;
	margin-left: -25px;
	font-size: 25px;
}

/* Footer Close Button */
.cmy-style .cmy-footer{
	text-align: center;
	padding: 0px;
	position: absolute;
    bottom: 30px;
    left: 30px;
}
.cmy-style .cmy-footer .cmy-close{
	display: inline-block;
	 padding: 0px 20px;
    font-size: 24px;
	text-transform: uppercase;
	border: none;
	border-radius: 100px;
	cursor: pointer;	
}

/* 3D Flip Vertical with Animations */
.cmy-flip-y.cmy-modal{
	-webkit-perspective: 1300px;
	-moz-perspective: 1300px;
	-ms-perspective: 1300px;
	-o-perspective: 1300px;
	perspective: 1300px;
}
.cmy-flip-y .cmy-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;
}
.cmy-show.cmy-flip-y .cmy-content{
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	-o-transform: rotateX(0deg);
	transform: rotateX(0deg);
	opacity: 1;
}

/* Common CSS */
button:focus {
    outline: 1px dotted;
    outline: 0px auto -webkit-focus-ring-color!important;
}

.cmy-style,
.cmy-style .cmy-button:hover,
.cmy-style .cmy-body .cmy-list,
.cmy-style .cmy-body .cmy-list:hover,
.cmy-style .cmy-list .cmy-user-img,
.cmy-style .cmy-list:hover .cmy-user-img,
.cmy-flip-y .cmy-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;
}