.bg-disabled {
  background-color: #000 !important;
}

.text-lemon {
  color: #61f803;
}

#inCallButtons,
.softphone {
  position: absolute;
  bottom: 22px;
  background-color: #fafafa;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.1);
  padding: 0 25px 0 25px;
  transform: scale(0.9);
  z-index: 9999;
  max-width: 270px;
}

.callcenter #inCallButtons {
  right: 5px;
}

#inCallButtons:focus,
.softphone:focus {
  outline: none;
  box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.3);
}

.softphone {
  left: -0.1rem !important;
  bottom: 1.2rem !important;
  text-align: left !important;
  line-height: 1.5;
}

.sidebarSoftphone {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.sidebarSoftphone .softphone {
  position: fixed;
}

.sidebarSoftphone .quickAnswer {
  position: fixed;
}

.handle {
  color: #b1b1b1;
  padding: 0 !important;
  margin: 0 !important;
}

.handle:hover {
  color: #504e4e;
}

.handle .fa-grip-lines {
  pointer-events: none;
}

.display {
  margin: 0px 0 10px 0;
  background-color: #504e4e;
  border: 1px solid #444242;
  border-radius: 3px;
  font-weight: bold;
  color: #f0f5ed;
  height: 105px;
  font-size: 10px;
  padding: 5px 10px;
}

.display:hover {
  background-color: #555353;
}

#call-number {
  outline: none;
  width: 100%;
  white-space: nowrap;
  overflow-x: hidden;
}

#dialPad div {
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.answer,
.call,
#hangUp,
#reject,
#mute {
  color: #fff;
  background-color: #389400;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 30px;
  border-radius: 25px 25px 25px 25px;
  -moz-border-radius: 25px 25px 25px 25px;
  -webkit-border-radius: 25px 25px 25px 25px;
  cursor: pointer;
  cursor: hand;
  border: none !important;
  margin: 10px 10px 0px 10px !important;
}

.answer,
.call,
#hangUp,
#reject {
  float: right !important;
}

#mute:active,
#reject:active,
#hangUp:active,
.answer:active,
.call:active {
  background-color: #b6b6b6;
  -webkit-box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.45);
  box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.45);
  border: none;
}

.call:hover,
#mute:hover,
#reject:hover {
  background-color: #e2e2e2 !important;
}

.call:hover {
  color: #389400 !important;
}

#mute:hover {
  color: #545454 !important;
}

#reject:hover {
  color: #a90002 !important;
}

#hangUp {
  background-color: #a90002;
}

#reject {
  background-color: #fff;
  color: #a90002;
  margin-right: 10px;
}

.call {
  background-color: #fff;
  color: #389400;
}

#mute {
  color: #545454;
  width: 50px;
  height: 50px;
  border-radius: 25px 25px 25px 25px;
  -moz-border-radius: 25px 25px 25px 25px;
  -webkit-border-radius: 25px 25px 25px 25px;
  background-color: #fff;
}

inCallButtons .active,
inCallButtons active:hover {
  color: #fff !important;
  background-color: #389400 !important;
}

#dialPad {
  width: 210px;
  height: 308px;
  margin: 0 auto;
}

#dialPad div {
  float: left;
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 26px;
  margin: 10px 10px 0px 10px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border-radius: 25px 25px 25px 25px;
  -moz-border-radius: 25px 25px 25px 25px;
  -webkit-border-radius: 25px 25px 25px 25px;
  border: 1px solid #e8e8e8;
  padding-top: 5px;
}

#dialPad div:hover {
  background-color: #9c9898;
  color: #fff !important;
  cursor: pointer;
  cursor: hand;
}

#dialPad div:active {
  -webkit-box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.25);
  border: none;
}

.answer .fa {
  -webkit-animation: callp 1s;
  animation: callp 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-play-state: running;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: running;
}

@-webkit-keyframes callp {
  from {
    color: #fff;
  }
  to {
    color: #389400;
  }
}
@keyframes callp {
  from {
    color: #fff;
  }
  to {
    color: #389400;
  }
}

.answer {
  -webkit-animation: call 1s;
  animation: call 1s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-direction: alternate;
  -webkit-animation-play-state: running;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: running;
}

@-webkit-keyframes call {
  from {
    background: #389400;
  }

  to {
    background: #fff;
  }
}
@keyframes call {
  from {
    background: #389400;
  }

  to {
    background: #fff;
  }
}

.videoContainer {
  position: absolute;
  right: 290px;
  bottom: 39px;
  width: 535px;
  height: 425px;
  background-color: #fafafa;
  border-radius: 5px;
  box-shadow: 0px 1px 7px 2px rgba(0, 0, 0, 0.1);
  transform: scale(1);
  z-index: 9999999;
}

.videoContainer video {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.videoContainer .handle {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

#remoteVideo {
  width: 535px;
  height: 400px;
}

#remoteVideo:hover .pauseVideo,
#localVideo:hover .pauseVideo {
  opacity: 50%;
}

#localVideo {
  position: absolute;
  top: 22px;
  right: 1px;
  z-index: 99999;
  border-radius: 0;
}

.sidebarSoftphone #localVideo {
  top: 32px;
}

.closeVideo {
  border-top-right-radius: 5px;
  padding: 4px 6px;
  color: #a90002;
  right: 0;
  top: 0;
  position: absolute;
  cursor: pointer;
  z-index: 99999999;
}

.closeVideo:hover {
  opacity: 80%;
}

.enableVideo {
  position: absolute;
  top: 85px;
  right: 35px;
  cursor: pointer;
}

.enableVideo:hover {
  opacity: 80%;
}

.softphone .peer {
  font-size: 11px;
  position: absolute;
  top: 84px;
  left: 34px;
}

.softphone .ip {
  font-size: 11px;
  position: absolute;
  top: 84px;
  left: 85px;
}

.quickAnswer {
  position: absolute;
  bottom: 39px;
  border: none;
  border-radius: 3px;
  min-width: 250px;
  height: 35px;
  z-index: 9999999;
}

.callcenter .quickAnswer {
  right: 18px !important;
}

.sidebarSoftphone .quickAnswer {
  left: 0.3rem;
}

.quickAnswer img {
  border-radius: 50%;
  background-color: #fff;
  padding: 2px;
  max-width: 36px;
}

.quickAnswer .callerInfo {
  line-height: 0.9rem;
}

.quickAnswer .callerInfo .pillInfo {
  background-color: #fff;
  border-radius: 10px;
  padding: 0 10px;
  color: #28a745;
}

.quickAnswer .answerBtn,
.quickAnswer .hangupBtn {
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 6px;
  background-color: #fff;
}

.quickAnswer .answerBtn {
  color: #28a745;
}

.quickAnswer .hangupBtn {
  color: #dc3545;
}

.fade-in {
  opacity: 0;
  bottom: 0;
  transition: all 0.75s ease;
}

.fade-out {
  opacity: 1;
  bottom: 43px;
  transition: all 1.5s ease;
}

#showSoftphone {
  position: fixed;
  left: 0;
  bottom: 5px;
  border-radius: 0 4px 4px 0px;
  width: 35px;
  transition-delay: 0.3s;
  z-index: 99999;

  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.page-wrapper.toggled #showSoftphone {
  left: -40px;
  transition-delay: 0.3s;
}

.page-wrapper #showSoftphone {
  left: 0;
  transition-delay: 0.3s;
}

.sidebarSoftphone .videoContainer {
  position: fixed;
  bottom: 45px !important;
  left: 270px !important;
  border: 1px solid #d5dee9;
}

.sidebarSoftphone .videoContainer > div {
  background-color: #2d486a;
  border-radius: 5px 5px 0 0;
  user-select: none;
}

.sidebarSoftphone .videoContainer > div h6 {
  font-size: 14px;
  font-weight: 700;
}

.sidebarSoftphone .videoContainer .closeVideo {
  margin-top: 5px;
  margin-right: 5px;
}

.lines .col:hover {
  color: #444242;
}

.lines div:hover {
  border-color: #444242 !important;
}

.lines .current-line {
  background-color: #817f7d;
  color: #fff;
}

#softphone-contacts {
  width: 210px;
  height: 288px;
  max-height: 288px;
  overflow: auto;
  margin: 10px 0;
  font-size: 12px;
  border: 1px solid #2d486a;
  border-radius: 3px;
}

#softphone-contacts::-webkit-scrollbar {
  width: 3px !important;
  height: 6px !important;
}

#softphone-contacts::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
}

#softphone-contacts::-webkit-scrollbar-track {
  background: hsla(0, 0%, 100%, 0.1);
}

#softphone-contacts .contact {
  background-color: #fff;
  padding: 5px;
  cursor: pointer;
  border-top: 1px solid #2d486a;
}

#softphone-contacts .contact:first-child {
  background-color: rgb(186, 240, 186);
  border-top: none;
}

#softphone-contacts .contact:last-child {
  border-bottom: 1px solid #2d486a;
}

#softphone-contacts .contact:hover {
  background-color: rgb(157, 208, 241);
}
