/*
 @copyright 2021 Double Bastion LLC <www.doublebastion.com>

 @author Double Bastion LLC

 @license GNU AGPL version 3 or any later version

 This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
 License as published by the Free Software Foundation; either
 version 3 of the License, or any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU AFFERO GENERAL PUBLIC LICENSE for more details.

 You should have received a copy of the GNU Affero General Public
 License along with this program.  If not, see <http://www.gnu.org/licenses/>.



 This is a modified version of the original "ctxSip.css" file.

 Below is the copyright notice of ctxSip phone (https://github.com/collecttix/ctxSip)
 which also applies to the original "ctxSip.css" file, which was part of ctxSip phone:


   The MIT License (MIT)

   Copyright (c) 2014 Collecttix

   Permission is hereby granted, free of charge, to any person obtaining a copy
   of this software and associated documentation files (the "Software"), to deal
   in the Software without restriction, including without limitation the rights
   to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the Software is
   furnished to do so, subject to the following conditions:

   The above copyright notice and this permission notice shall be included in
   all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
   AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
   LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
   OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
   THE SOFTWARE.
*/

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-Regular.woff2') format('woff2'),
         url('../../fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-Italic.woff2') format('woff2'),
         url('../../fonts/Inter-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-Medium.woff2') format('woff2'),
         url('../../fonts/Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-MediumItalic.woff2') format('woff2'),
         url('../../fonts/Inter-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-SemiBold.woff2') format('woff2'),
         url('../../fonts/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-SemiBoldItalic.woff2') format('woff2'),
         url('../../fonts/Inter-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-Bold.woff2') format('woff2'),
         url('../../fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-BoldItalic.woff2') format('woff2'),
         url('../../fonts/Inter-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-ExtraBold.woff2') format('woff2'),
         url('../../fonts/Inter-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('../../fonts/Inter-ExtraBoldItalic.woff2') format('woff2'),
         url('../../fonts/Inter-ExtraBoldItalic.woff') format('woff');
    font-weight: 800;
    font-style: italic;
}

#sipClient {
  display: block;
  position: relative;
  margin: 0;
  background-color: #30394a;
  font-size: 13px;
  line-height: 1.42857143;
  font-family: 'Inter';
  /* firefox 19+ */
  /* ie */
}

#sipClient p {
  margin: 0;
  padding: 0 0 10px 0;
  line-height: 22px;
}

.sipStatus {
  margin: 0 -15px 0 -15px;
  padding: 1px 16px 0 16px;
  background-color: #2c6595;
  color: #e4e4e4;
  font-weight: 500;
}

#txtCallStatus {
  color: #e4e4e4;
}

#sip-dialpad {
  margin: 8px 0 0 0;
}

#dialpadWrap {
  display: block;
  position: relative;
  width: 246px;
  height: 354px;
}

#sip-dialpad .col-xs-4 {
  text-align: center;
}

#sipClient .btn-default {
  border-color: #ffffff !important;
}

#callButton {
  font-weight: 600;
  font-size: 15px;
  padding: 5px 12px;
  background-color: #5cb880 !important;
  border-color: #5cb880 !important;
}

#callButton:hover {
  background-color: #55a976 !important;
  border-color: #55a976 !important;
}

#callButton:active {
  background-color: #4a9467 !important;
  border-color: #4a9467 !important;
}

#callButton .fa-phone {
  display: inline-block;
  margin: 2px 6px 0 0 !important;
  font-size: 16.5px;
}

.digit {
  height: 66px;
  width: 66px;
  margin: 0 8px 14px 8px !important;
  background-color: #f7f7f7;
  font-weight: 300;
  font-size: 24px;
  border-radius: 6px;
  line-height: 21px;
  padding-top: 14px;
  float: left;
}

.digit span {
  display: block;
  color: #999;
  font-size: 11px;
  font-weight: normal;
}

.sip-panel h3 {
  margin-top: 22px;
}

#sip-splash .fa {
  margin-bottom: 15px;
}

#sip-splash .fa-circle {
  color: #5cb85c;
}

#sip-log .panel-heading {
  padding: 3px 8px;
  height: 28px;
}

.panel-title {
  font-size: 15px;
}

.form-group {
  margin-bottom: 8px;
}

.list-group-item {
  padding: 6px 8px !important;
}

#sip-logitems {
  overflow-y: auto;
  overflow-x: hidden;
}

#sldVolume {
  width: 140px;
  margin: 0 auto;
  box-shadow: none;
}

.sip-logitem {
  padding: 4px;
}

#numDisplay::-webkit-input-placeholder {
  color: #bbb;
}

#numDisplay::-moz-placeholder {
  color: #bbb;
}

#numDisplay::-ms-input-placeholder {
  color: #bbb;
}

#numDisplay::-moz-placeholder {
  color: #bbb;
}

#numDisplay {
  height: 26px;
  padding: 0px 4px;
  font-size: 15px;
  font-weight: 500;
  overflow: visible;
  border-radius: 4px;
}

.btn .fa {
  display: inline-block; 
  margin: 4px 2px 0px 2px !important;
}

#audioLocal {
  display: block;
  height: 0px !important;
  width: 0px !important;
  margin: 0px;
}

.page-header {
  margin-top: 6vh;
  margin-right: 0;
  margin-bottom: 20px;
  margin-left: 0;
}

#outputAudio, #outputVideo {
  display: none;
}

#selectFromNmbr {
  display: block;
  width: 100%;
  height: auto;
  text-align: center;
  margin: 6px 0;
}

#fromNmbrTitle {
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0 4px 0 0;
  color: #e8e8e8;
  font-size: 18px;
  font-weight: 600;
  border-radius: 4px;
}

#fromNumber {
  display: inline-block;
  width: auto;
  height: 22px;
  font-size: 15px;
  margin: 0 18.5px 0 0 !important;
  padding: 0 4px 0 4px;
  text-align: left;
  border-radius: 4px;
}

.input-group-btn {
  vertical-align: bottom !important;
}

.callTimeMmt {
  font-size: 11.5px;
  margin: 2px 0 0 18px;
}

.list-group-item-warning {
  background-color: #ffffe3;
}

.text-right {
  word-break: break-word;
}

#txtRegStatus {
  display: inline-block;
  width: auto;
  margin: 0 10px 0 0;
}

#volumeBtn {
  display: inline-block;
  width: auto;
  margin: 0 4px 0 -10px;
}

#btnVol {
  position: relative;
  height: 18px;
  width: 20px;
  vertical-align: top !important;
}

#btnVol .fa-volume-up, #btnVol .fa-volume-down, #btnVol .fa-volume-off {
  position: absolute;
  font-size: 12px !important;
  top: -1.6px;
  left: 0.5px;
}

.volumeDropdown {
  top: 22px;
  float: left;
}

#contactsUsersList {
  display: inline-block;
  position: relative;
  width: 36px;
  height: 26px;
  background-color: #2c6595;
  border-radius: 3px;
  cursor: pointer;
}

.contUsrsLst {
  display: block;
  width: 20px;
  height: 20px;
  margin: 6.3px 0 0 10px;
  background-image: url('../images/contacts.svg');
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

.contUsrsLstRed {
  display: block;
  width: 20px;
  height: 20px;
  margin: 5.7px 0 0 9px;
  background-image: url('../images/contacts_red.svg');
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

#deleteInput {
  display: none;
  position: absolute;
  width: 20.15px;
  height: 13px;
  top: 45px;
  right: 43px;
  background-image: url('../images/backspace.svg');
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
  z-index: 1560;
}

#contactsTable {
  display: none;
  width: 100%;
  height: calc(100vh - 111px);
  background-color: #ffffff;
  overflow-y: auto;
  border-radius: 4px;
}

#cntctsTbl {
  width: 100%;
  border: none;
}

#cntctsTbl td {
  border: none;
  padding: 3px 0;
}

.contactType {
  width: 10vw;
}

.cntctName {
  display: block;
  width: 100%;
  height: auto;
  padding: 0 6px;
  font-size: 13.5px;
  font-weight: 500;
}

.cntctRole {
  display: block;
  width: 100%;
  height: auto;
  padding: 0 6px;
  color: #737373;
  font-size: 12.5px;
  font-weight: 400;
}

.phnmbrRow {
  display: block;
  width: 100%;
  height: auto;
}

.phnbType {
  display: inline-block;
  width: 20px;
}

.phnbNumber {
  display: inline-block;
  position: relative;
  margin: 5px 0 5px 3px;
  border: 1px solid #5cb880;
  border-radius: 20px;
  padding: 0 5px;
  cursor: pointer;
}

.phnbNumber:hover {
  color: #ffffff;
  background-color: #5cb880;
  border: 1px solid #5cb880;
}

.regularContact {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

.ncuserContact {
  display: block;
  width: 27px;
  height: 12px;
  margin: 0 auto;
}

.darkBackground {
  background-color: #eff6fd;
}

.incomingCall {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0;
  background-image: url('../images/incoming_blue.svg');
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: text-top;
}

.outgoingCall {
  display: inline-block;
  position: relative;
  width: 14px;
  height: 14px;
  margin: 0;
  background-image: url('../images/outgoing_blue.svg');
  background-repeat: no-repeat;
  background-position: center center;
  vertical-align: text-top;
}

.listPhNb {
  display: inline-block;
  margin: 0 0 0 4px;
  font-weight: 700;
  cursor: pointer; 
}

.callDuration {
  font-size: 11.5px !important;
  margin: 2px 0 0 0;
}

.phnmbrtype {
  display: inline-block;
  margin: 0 0 0 2px ;
}

#searchCntct {
  position: sticky;
  top: 0;
  height: 24px;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  border-color: #ddd;
  text-align: center;
  z-index: 999;
}

#searchSpace {
  display: block;
  position: relative;
  margin: 0 auto;
}

#searchSpace .fa-search {
  display: inline-block;
  position: relative;
  margin: 0 -17px 0 0;
  color: #393f47;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

#txtFindContact {
  display: inline-block;
  position: relative;
  height: 22px;
  width: 220px;
  margin: 1px 0;
  background-color: #ffffff;
  box-sizing: content-box;
  border: none !important;
  outline: none !important;
  border-radius: 4px;
  padding: 0 0 0 22px;
  font-size: 13.5px;
  vertical-align: middle;
}

#totCtDisp {
  height: 26px;
  background-color: #f9f9f9;
}

#totalDisplayed {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 6px;
  text-align: left;
}

#regCntctsTot {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 4px 0 6px;
  vertical-align: text-top;
}

#ncUsersTot {
  display: inline-block;
  position: relative;
  width: 26.4px;
  height: 12px;
  margin: 0 8px 0 15px;
}

#totDspCntcts {
  margin: 0 0 0 7px;
}

.noPhoneNmbrs {
  width: 100%;
  height: auto;
  padding: 50px 20px 20px 20px !important;
  font-weight: 600;
  color: #2c6494;
  font-size: 14px;
  text-align: center;
}

.btn-group-sm > .btn, .btn-sm {
  padding: 3px 10px !important;
}

.btnRecord {
  background-color: #f6e0e0;
  color: #b22020;
  margin: 0;
  cursor: pointer;
}

.btnRecord:hover {
  background-color: #edd3d3;
  color: #b22020;
}

.btnRecord:active {
  background-color: #e5c8c8;
  color: #b22020;
}

.changeRecBtn {
  animation-name: altBackground;
  animation-duration: 800ms;
  animation-iteration-count: infinite;
  animation-timing-function: steps(2, jump-none);
}

@keyframes altBackground {
  from { background-color: #d44f4f; color: #2520b2; }
  to   { background-color: #f6e0e0; color: #b22020; }
}

#alertMsgOverlay {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.09;
  z-index: 5050;
}

#alertConfMessage {
  display: block;
  position: absolute;
  width: 338px;
  height: auto;
  white-space: pre-wrap;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 0 23px rgba(0, 0, 0, 0.23);
  -webkit-box-shadow: 0 0 23px rgba(0, 0, 0, 0.23);
  -moz-box-shadow: 0 0 23px rgba(0, 0, 0, 0.23);
  z-index: 5100;
}

#closeAlertWndcf {
  display: block;
  position: absolute;
  width: 12px;
  height: 12px;
  right: 8px;
  top: 10px;
  padding: 0;
  background-image: url('../images/closewnd.svg');
  background-repeat: no-repeat;
  background-position: center center;
  cursor: pointer;
}

#alertTextWrap {
  display: block;
  text-align: left;
  font-family: 'Inter';
  font-size: 15px;
  margin: 30px 22px 16px 22px;
  color: #353535;
  white-space: pre-wrap;
  word-break: break-word;
}

#cancelOkWrap {
  display: block;
  width: 100%; 
  margin: 10px auto !important;
  text-align: center;
}

#confirmOk, #confirmCancel {
  display: inline-block;
  min-width: 76px;
  border-radius: 20px !important;
  padding: 0px 14px !important;
  margin: 0 5px;
  min-height: 30px !important;
  height: 30px !important;
  color: #ffffff !important;
  background-color: #40c1a3 !important;
}

#confirmOk:hover, #confirmCancel:hover {
  background-color:  #3bb397 !important;
}

#confirmOk:active, #confirmCancel:active {
  background-color: #33a087 !important;
}

@media only screen and (max-width: 600px) {
  #alertConfMessage {
    width: 100vw !important;
    left: 0 !important;
    background-color: #fbfbfb;
  }
}

@media (min-width: 768px) {
  .lead {
    font-size: 19px !important;
  }
}