body .btncart.btn-busy {
    background: transparent;
} 
/**POPUP CSS**/
 .popup-overlay {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.8);
    border: none;
    z-index: 9;
    visibility: hidden;
  	position: fixed;
}
.popup-overlay .btnp-call {
    border-radius: 25px;
    color: #ffffff;
    padding: 10px 16px;
    font-family: sans-serif;
    max-width: 114px;
    margin: 0 auto;
    font-weight: 600;
}
.popup-overlay .span-call strong {
    padding: 10px 0;
    font-size: 13px;
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
	color: #f0f0f0;
}
.popup-overlay .span-call {
    padding: 5px 0 15px;
    font-family: 'Nunito', Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    margin: 5px 0 12px;
    border-bottom: 1px solid #eee;
	color: #f0f0f0;
}
.popup-overlay .span-call:last-child {
    border: none;
}
.popup-overlay .btnp-free, .popup-overlay .btnp-recharge:hover
{
	background: #8a5fbe;
}
.popup-overlay .btnp-recharge, .popup-overlay .btnp-free:hover
{
	background: #a17ccd;
}
.popup-overlay .btnp-call a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #F0F0F0;
    font-size: 15px;
    text-decoration: none;
    font-family: sans-serif;
}
.popup-overlay .btnp-call a img {
    margin-right: 10px;
    width: 18px;
}
#numbers-popup {
    width: 400px;
    height: 340px;
    position: relative;
    margin: 0px auto;
    top: 125px;
    padding: 20px 30px;
    border-radius: 10px;
	background: #0c1e20;
	border: 4px solid #e5c04d;

}

.popup-overlay button.close {
    position: absolute;
    right: -10px;
    top: -15px;
    border: 1px solid #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    background: #000;
    color: #fff;
    cursor: pointer;
}
#numbers-popup h2 {
    font-size: 20px;
    text-align: center;
    font-family: 'Cormorant Garamond', Georgia, "Times New Roman", serif;
    margin: 0 0 15px;
    padding: 0 0 20px;
    font-weight: 600;
    position: relative;
	color: #f0f0f0;
}
#numbers-popup h2:before {
    position: absolute;
    content: "";
    background: #172025;
    bottom: 9px;
    width: 32px;
    height: 3px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.boxNew:hover {
    background-color: #879296;
}
.popup-overlay.active {
  /*displays pop-up when "active" class is present*/
  visibility: visible;
  text-align: center;
}
.popup-content {
  /*Hides pop-up content when there is no "active" class */
  visibility: hidden;
}
.popup-content.active {
  /*Shows pop-up content when "active" class is present */
  visibility: visible;
}

/**POPUP CSS**/
.free {
	background:#CCFF99;
}
.busy {
	background: #FF4D4D;
}
.pause {
	background: #ff7f50;
}
.notregistered {
	background: #9B9B9B;
	opacity: .50;
	filter: alpha(opacity=50);
	-khtml-opacity: 0.5;
	-moz-opacity: 0.5;
}
.dnd {
	background: #FFD700;
}
.notregistered {
	background: #A9A9A9;
}
.extenbutton {
	width:12em;
	height:3em;
	font-size:85%;
	color:#fff;
	float:left;
	border:2px solid #AAA;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	-moz-box-shadow:2px 2px 3px #999;
	-webkit-box-shadow:2px 2px 3px #999;
	box-shadow:2px 2px 3px #999;
	margin:3px;
	padding:2px;
}
.presenceNormal {
	background: url(sprites02.png);
	background-position: 0 -25px;
	background-repeat: no-repeat;
	width: 30px;
	height: 30px;
	margin-right: 2px;
	float: left;
}
.presenceDnd {
        background: url(sprites02.png);
        background-position: 0 -50px;
        background-repeat: no-repeat;
        width: 30px;
        height: 30px;
        margin-right: 2px;
        float: left;
}
.presenceBusy {
	background: url(sprites02.png);
	background-position: 0 0;
	width: 30px;
	height: 30px;
	margin-right: 2px;
	float: left;
}
.presenceNo {
        background: url(sprites02.png);
        background-position: 0 0;
        width: 30px;
        height: 30px;
        margin-right: 2px;
        float: left;
}
.labelname {
	color: #000;
	height: 1.6em;
	float: left;
	/*//width: 65%;*/
}
.selected {
	border: 2px solid #808080;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 2px 2px 3px #09f;
	-webkit-box-shadow: 2px 2px 3px #09f;
	box-shadow: 2px 2px 3px #09f;
}
.copyright {
        clear:both
}
/**card design**/
body {
    margin: 0;
}
.boxNew {
    position: relative;
    width: calc(32.3% - 10px);
    height: 134px;
    float: left;
    padding: 4px;
    margin: 4px;
    border: 1px solid #f2fafd;
    -webkit-transition: all .3s;
    border-radius: 5px;
    display: flex;
    align-content: flex-start;
    background-color: #141f21;
}
.boxNew .imgNew {
    position: static;
    width: 134px;
    height: 134px;
    margin: 0;
}
.boxNew .imgNew img {
    width: 134px;
    height: 134px;
    float: left;
    margin: 0;
    padding: 0;
    border-radius: 2px;
}
.boxNew .firstname {
    font-size: 22px;
    margin: 0px 5px 5px 10px;
    float: left;
    width: 100%;
    display: inline-block;
    font-family: sans-serif;
    color: #fff;
}
.boxNew .labelnameNew {
    position: unset;
    float: right;
    line-height: normal;
    font-size: 15px;
    width: 100%;
}
.boxNew .name_code {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.boxNew .codenumber {
	text-align: right;
	font-family: sans-serif;
	color: #f2fafd;
}
.boxNew .codenumber br{
	display: none;
}
.boxNew .btncart {
    position: absolute;
    text-align: center;
    bottom: 15px;
    right: 15px;
    border-radius: 25px;
    color: #F2FAFD;
    padding: 5px 10px;
    font-size: small;
    font-family: sans-serif;
    min-width: 122px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-color: #FEF9F5;
    background: #415962;
    cursor: pointer;	
}
.boxNew .codenumber span{
	font-weight: 400;
    font-size: 18px;
}
/*.btn-busy {
    background: #FF0000;
}
.btn-free {
    background: #6ab165;
}
.btn-free:hover {
    background: #3fafd4;
}
.btn-terminazione{
	background-color: #FFA500;
}
.btncart.btn-pause {
    background: #FFA500;
}
.btn-offline{
	background-color: #808080;
}*/
.boxNew .btncart img{
	padding-right: 5px;
}

@media only screen and (max-width: 1024px) and (min-width: 768px){
	.boxNew{
		    width: calc(50% - 18px);
	}
}
@media only screen and (max-width: 767px){
	.boxNew {    
		width: 95% !important; 
	}
	.boxNew .btncart{
    	min-width: 120px;
	}
	#numbers-popup {
	    width: 75%;
	    padding: 20px;
	}
	#numbers-popup h2 {
	    font-size: 18px;
	}
	.popup-overlay .btnp-call{
		padding: 6px 14px;
		font-size: 13px;
	}

}
@media only screen and (max-width: 420px)
{
	.boxNew .firstname, .boxNew .codenumber {
	    font-size: 12px;
	}
	.boxNew .codenumber span {
	    font-size: 14px;
	}
}
@media only screen and (max-width: 380px)
{
	.boxNew .btncart{
		right: 8px;
		font-size: 11px;
	}
}