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

Project: Click To Call - Direct Call From Website HTML Plugin
Author: Black Theme
Released On: 8, Sep 2019
@version: 1.0

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

/* Click To Call Main Container */
.cc-style1{
  	display: inline-block;
  	position: fixed;
  	letter-spacing: 0.1px;
  	font-family: 'Open Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
  	z-index: 9999;
}
.cc-right-bottom{
  	bottom: 1em;
  	right: 1em;
  	float: right;
}

/* Floating Panel Container */
.cc-style1 .cc-panel{
  	display: none;
  	margin-bottom: 5%;
  	width: 300px;
  	border-radius: 10px;
  	box-shadow: 0px 3px 7px rgba(12, 12, 12, 0.18);
}

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

/* Floating Panel Body */
.cc-style1 .cc-panel .cc-body{
	  padding: 15px 10px 0;
	  text-align: center;
}
.cc-style1 .cc-body p{
	  margin-bottom: 0;
	  font-size: 14px;
}

/* Floating Panel Footer */
.cc-style1 .cc-panel .cc-footer{
	  padding: 25px 10px 30px;
	  text-align: center;
}
.cc-style1 .cc-footer a{
	  text-decoration: none;
	  color: inherit;
}
.cc-style1 .cc-footer .cc-call-button{
  	position: relative;
  	margin: auto;
  	padding: 6px 20px;
  	transition: all 0.2s ease;
}
.cc-style1 .cc-footer .cc-call-button:before{
  	content: "";
  	position: absolute;
  	top: 0;
  	left: 0;
    width: 40px;
    height: 40px;
  	display: block;
  	border-radius: 28px;
  	transition: all 0.3s ease;
}
.cc-style1 .cc-footer .cc-call-button span{
  	position: relative;
  	font-size: 13px;
  	line-height: 18px;
  	font-weight: 900;
  	letter-spacing: 0.25em;
  	text-transform: uppercase;
  	vertical-align: middle;
}
.cc-style1 .cc-footer .cc-call-button svg{
  	position: relative;
  	top: 0;
  	margin-left: 10px;
  	fill: none;
  	stroke-linecap: round;
  	stroke-linejoin: round;
  	stroke: #111;
  	stroke-width: 2;
  	transform: translateX(-5px);
  	transition: all 0.3s ease;
}
.cc-style1 .cc-footer .cc-call-button:hover:before{
  	width: 100%;
}
.cc-style1 .cc-footer .cc-call-button:hover svg{
  	transform: translateX(0);
}
.cc-style1 .cc-footer .cc-call-button:active{
  	transform: scale(0.96);
}

/* Right Bottom Floating Button */
.cc-style1 .cc-button{
	  width: 50px;
    height: 50px;
	  border-radius: 100%;
	  border: 1px solid #fff;
	  box-shadow: 0 0 10px rgba(12, 12, 12, 0.3);
}
.cc-style1 .cc-button:hover{
	  box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.5);
	  -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;
}
.cc-style1 .cc-button i{
  	display: table;
  	height: 100%;
  	width: 100%;	
  	margin-right: 0px;
  	font-size: 25px;
  	text-align: center;
  	line-height: 50px;
  	cursor: pointer;
}

/* Floating Button Forward Rotation */
.rotateForward{
    animation-name: rotateF;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateF{
  	from{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
  	}
  	to{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
  	}
}

/* Floating Button Backward Rotation */
.rotateBackward{
    animation-name: rotateB;
    animation-duration: 0.65s;
    animation-iteration-count: 1;
}

@keyframes rotateB{
  	from{
        transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
  	}
  	to{
        transform: rotate(0deg);
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
  	}
}

/* Media Css for Smaller Device */
@media(max-width: 576px){

	.cc-style1 .cc-panel{
	    width: 290px;
	}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px){
    
    .cc-style1 .cc-footer .cc-call-button svg{
        stroke: #fff;
    }
    .cc-style1 .cc-footer .cc-call-button:before{
        width: 100%;
    }
}