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

Project:  ChatPro - All in One Chat on Any Social Plateform jQuery Plugin
Author:  Black Theme
Released On:  25, Nov 2019
@version:  1.0
 
==========================================================*/

/* ChatPro Main Panel */
.cp-style5{
    position: relative;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
    z-index: 50;
}

/* Each menu item layout */
.cp-style5 .menu-item{
    position: fixed;
    display: block;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 51px;
    height: 51px;
    opacity: 0;
    transition: 0.5s;
    z-index: 1;
}
.cp-style5 .menu-item a{
    display: block;
    width: inherit;
    height: inherit;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    pointer-events: none;
    transition: 0.2s;
}

/* Each menu item position */
.cp-style5 .cp-checked ~ ul .menu-item{ 
    opacity: 1;
}
.cp-style5 .cp-checked ~ ul .menu-item a{
    pointer-events:auto;
}
.cp-style5 .cp-chat-button ~ ul .menu-item a img{
    margin-bottom: 3px;
    width: 25px;
    transition: all .3s;
}
.cp-style5 .cp-chat-button ~ ul .menu-item a:hover img{
    width: 30px;
    transition: all .3s;
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(1){
    transform: rotate(9deg) translate(-150px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(2){
    transform: rotate(41deg) translateX(-140px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(3){
    transform: rotate(74deg) translateX(-147px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(4){
    transform: rotate(106deg) translateX(-147px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(5){
    transform: rotate(139deg) translateX(-137px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(6){
    transform: rotate(170deg) translateX(-150px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(7){
    transform: rotate(15.75deg) translateX(-83px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(8){
    transform: rotate(64.5deg) translateX(-83px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(9){
    transform: rotate(113.5deg) translateX(-83px);
}
.cp-style5 .cp-checked ~ ul .menu-item:nth-child(10){
    transform: rotate(163.25deg) translateX(-83px);
}

/* Rotation after the on hover */
.cp-style5 .menu-item:nth-child(1) a{
    transform: rotate(0deg);
}
.cp-style5 .menu-item:nth-child(2) a{
    transform: rotate(-36deg);
}
.cp-style5 .menu-item:nth-child(3) a{
    transform: rotate(-72deg);
}
.cp-style5 .menu-item:nth-child(4) a{
    transform: rotate(-106deg);
}
.cp-style5 .menu-item:nth-child(5) a{
    transform: rotate(-144deg);
}
.cp-style5 .menu-item:nth-child(6) a{
    transform: rotate(-168deg);
}
.cp-style5 .menu-item:nth-child(7) a{
    transform: rotate(-15deg);
}
.cp-style5 .menu-item:nth-child(8) a{
    transform: rotate(-65deg);
}
.cp-style5 .menu-item:nth-child(9) a{
    transform: rotate(-114deg);
}
.cp-style5 .menu-item:nth-child(10) a{
    transform: rotate(-160deg);
}

/* Floating Chat Button Alternate*/
.cp-style5 .cp-chat-button-alternate{
    position: fixed;
    padding: 5px;
    margin: auto;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 61px;
    width: 61px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}
.cp-style5 .cp-chat-button-alternate .cp-button-alternate{
    position: absolute;
    margin: auto;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 51px;
    width: 51px;
    text-align: center;
    border-radius: 50%;
}
.cp-style5 .cp-chat-button-alternate .cp-button-alternate .fa-comments, 
.cp-style5 .cp-chat-button-alternate .cp-button-alternate .fa-times{
    display: block;
    margin-top: 9px;
    font-size: 30px;
    transition: 0.7s;
}
/* Floating Chat Button */
.cp-style5 .cp-chat-button{
    position: fixed;
    padding: 5px;
    margin: auto;
    bottom: 5px;
   /* left: 0;*/
    right: 25px;
    height: 61px;
    width: 61px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}
.cp-style5 .cp-chat-button .cp-button{
    position: absolute;
    margin: auto;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 51px;
    width: 51px;
    text-align: center;
    border-radius: 50%;
}
.cp-style5 .cp-chat-button .cp-button .fa-comments, 
.cp-style5 .cp-chat-button .cp-button .fa-times{
    display: block;
    margin-top: 9px;
    font-size: 30px;
    transition: 0.7s;
}

/* Overlay Background Effect */
.cp-overlay{
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.cp-overlay-show{
    opacity: 1;
    visibility: visible;
    background-color: #0000007a;
}