/* 
    Created on : 30/04/2020, 11:18:23 AM
    Author     : Axel Durand www.axeldurand.com
*/

html{
    scroll-behavior: smooth;
}

html, body {
    font-weight: 400;
    height: 100%;
    color: #181818;   
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 1.8;
}

a{
  color:  var(--color-I) !important;
}

.form-text{
    line-height: 1.25em;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link{
      background-color: var(--color-I) !important;
      color: #FFF!important;
}

.btn-primary{
    background-color: var(--color-I) !important;
    border-color:  var(--color-I) !important;
    color: #FFF!important;
}
.btn-primary:hover,
.btn-primary:focus{
    background-color: #000 !important;
    border-color: #000 !important;
    color: #FFF!important;
}

.btn-outline-primary{
  color:  var(--color-I) !important;
  border-color:  var(--color-I) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus{
    background-color: var(--color-I) !important;
    border-color: var(--color-I) !important;
    color: #FFF!important;
}

.btn-outline-warning {
    color: #ffc107!important;
    border-color: #ffc107!important;
}
.btn-outline-warning:hover,
.btn-outline-warning:focus {
    color: #fff!important;
}

.display-none{
    display: none;
}

.float-right .toggle-group{
  float: right;
}

.text-primary{
    color: var(--color-I) !important;
}

.bg-I{
    background: #ebebeb;
}

.bg-II{
    background: whitesmoke;
}

.bg-primary{
  background-color:var(--color-I) !important;
}

.bg-consultorio{
  background: #2f1c6a;
}

.navbar-light .navbar-nav .nav-link{
  color: var(--color-I)!important;
}
.navbar-light .navbar-nav .nav-link:hover{
  color: var(--color-I)!important;
}

.navbar-light .navbar-nav .nav-item.active .nav-link{
  color: var(--color-I)!important;
}

.navbar-brand{
  background: url('../img/sitio/Logo.svg') no-repeat left center;
  text-indent: -9999px;
  width: 200px;
  height: 50px;
  padding: 0;
}

.navbar-light .navbar-toggler{
  border: none;
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(16,39,89, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.navbar-toggler-icon{
  color: var(--color-I);
}

.navbar-consultorio .btn-outline-warning{
  margin-top: 5px;
  padding: .25rem .75rem;
}


.custom-control-label::before,
.custom-control-label::after{
  width:20px;
  height:20px
}

.card {
    z-index: 0;
    border: none;
    border-radius: 0.5rem;
    position: relative;
    box-shadow: 0 0 2px rgba(0,0,0,.2);
}


.list-center {
    display: flex;
    justify-content: center;
    padding: 0;
    text-align: center;
    width: 100%;
}

.btn-card {
    position: relative;
    display: inline-table;
    width: 100%;
    transition: .3s;
    cursor: pointer;
    vertical-align: top;
    padding: 15px 20px 10px;
    border: 3px solid transparent;
    border-radius: 3px;
    background-color: #FFF;
    color: var(--color-I);
    box-shadow: 0 0 2px rgba(0,0,0,.2);
    margin-bottom: 15px;
}
.btn-card i {
    display: inline-block;
    margin: 0 10px ;
    font-size: 3em;
    padding: 0;
}
.btn-card h3 {
    text-transform: uppercase;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-I);
    display: block;
    margin: 0;
}
.btn-card p{
    display: block;
    word-wrap: break-word;
    font-size: .75em;
    margin-bottom: 0;
}
.btn-card:hover {
box-shadow: 0 0 2rem 0.8rem #dbdee6, 0 0 0 0.1rem #c2c7d5;
    border-color: #f9f9fa;
    text-decoration: none;
}

.btn-card-150{
  width: 100%;
}

.btn-card-150 .icono-modo{
  max-width: 75%;
}

@media (min-width: 1280px){
    .btn-card{
        width: 100%;
    }
}

@media (max-width: 700px){
  h2{
    font-size: 1.5em;
  }

  .modal-title {
    font-size: 1.2em;
  }

  .d-sm-block{
    display: block;
    width: 100%;
  }
}

.date .input-group-addon{
  padding: .25rem .75rem;
  border: 1px solid #6c757d;  
}

.input-group.date .input-group-addon{
  border-left: 0;
}

.btn-w-70{
  min-width:70px;
}

.copyright{
    border-top: solid 1px rgba(140,133,255,.2);
    padding: 20px 0;
    color: #2f1c6a!important;
}

.h-100 {
    height: 100%!important;
}

.list-cards{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 25px;
}

.list-cards li{
    margin: 0 5px 5px 0;
    border-radius: 5px;
}





/* DATEPICKER HACK */
.datepicker input{
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.datepicker .input-group-addon{
    padding: 4px 15px;
    background: #FFF;
    border: 1px solid #ced4da;
    border-left: none;
    border-radius: 0 .25rem .25rem 0;
}
.datepicker table tr td.active.active{
    background-color: var(--color-I);
    background-image: none;
}



.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-I);
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.modo-admin{
  display: block;
  height: 20px;
  background-color: crimson;
  color: #FFF;
  text-align: center;
  font-size: .75em;
}

.card-turno{
  width: 100%;
  text-align: left;
  border-radius: 0.5rem;
  position: relative;
  box-shadow: 0 0 2px rgba(0,0,0,.2);
  background: #FFF;
  border: none;
  transition: all .15s ease-in-out;
}
.card-turno:hover{
  opacity: .75;
  transition: all .15s ease-in-out;
}

.videocall-container,
.videocall-body{
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}
.videocall-loader{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  z-index: 1;
}
.videocall-loader p{
  color: var(--color-I);
  text-transform: uppercase;
}
.videocall-loader .lds-roller{
  scale: 2;
}
.videocall-loader .lds-roller div:after{
  background-color: var(--color-I);
}

.videocall{
  object-fit: cover;
  background: #000;  
}

.videocall-local{
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 200px;
  height: 200px;
  border: 5px solid #FFF;
  background-color: #FFF;
  z-index: 10 !important;
}

.videocall-remote{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 100vw;
  height: auto;
  max-height: calc(100vh - 5px);
  z-index: 1 !important;
  transform: translate(-50%, -50%);
}

.videocall-controls{
  position: absolute;
  bottom: 5px;
  left: 5px;
  z-index: 20 !important;
}

.info-remote{
  position: absolute;
  width:50%;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25 !important;
  text-shadow: 2px 2px 4px #000000;
  text-align: center;
  color: #fff;  
}

#stopWatch{
  position: absolute;
  width: 100px;
  top: 5px;
  left: 5px;
  z-index: 24 !important;
  text-align: left;
  background: #fff;
  color: #000;
  text-align: center;
  border-radius: 25px;
}




.rating-header {
    margin-top: -10px;
    margin-bottom: 10px;
}


.date-div {
    width: 100%;
    border-top: 1px solid #cfcfcf;
    padding: 20px 10px;
    display: grid;
    grid-template-areas: "dia horas";
    grid-template-columns: 30% 70%;
}

.date-div h4{
    font-size: 16pt;
    margin: 10px;
      font-weight: 400;
  color: var(--color-I);
    place-self: start;
    grid-area: dia / dia / dia / dia;
}

.time-div {
    margin-left: 5px;
    display: flex;
    flex-wrap: wrap;
    place-self: start;
    grid-area: horas / horas / horas / horas;
}

 .btn-time {
    border: 2px solid #d6d6d6;
    border-radius: 4px;
    padding: 8px;
    margin: 5px;
    background-color: transparent;
    text-align: center;
    cursor: pointer;
    color: #46a0de;
    min-width: 80px;
}

.btn-time:hover{
    background: #46a0de;
    border-color: #46a0de;
    color: #FFF;
}

.btn-time{
  background-color: #fff;
  color: var(--color-I);
  border: 2px solid #d6d6d6;
  border-radius: 4px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
}

#ModalTurnoPreview .modal-header{
  text-align: center;
  color: #fff;
  background: var(--color-I);
}

#ModalTurnoPreview .modal-header h4{
  display: block;
  width: 100%;
  font-weight: 400;
  font-size: 1.2em;
}

#profesional-preview{
  color: var(--color-I);
}

.list-resumen{
  margin:0;
  padding: 0;
  list-style: none;
}
.list-resumen li{
  font-size: .75em;;
}


.h-150{
  max-height: 150px;
}

@media screen and (max-width: 640px){

  .info-remote{
    width:100%;
    font-size: 1em;
  }
}

.calendario{
  display: block;
  width: 100%;
}
.dia-empty,
.dia-passer,
.dia-cabecera,
.dia{
  text-align:center;
  display: inline-block;
  width: calc(100%/7);
  height: 50px;
}

.dia-passer{
  background-color: #ebedef;
}

.dia-dispo{
  color: #007bff;
    border:1px solid #007bff;
    background-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}





.toast{
  z-index: 1000!important;
  position: absolute;
  top: 65px;
  right: 10px;
}




/* .agenda .cabecera button{
  display: block;
  text-align: left;
  width: 100%;
  font-size: 1.5em;  
  color: #000;
  border-bottom: 1px solid #c2c7d5;
  border-radius: 0;
} */

.agenda .cabecera .btn-link{
  padding: 0;
}
.agenda .cabecera .btn-link:hover{
  text-decoration: none;
}

.agenda .turno{
  position: relative;
  display: block;
  width: 100%;
  border: none;
  margin: 0 0 5px;
  padding: 1em;
  position: relative;
  background: #FFF;
  border-radius: 5px;
}

.form-check-input, .form-check-label{
  cursor: pointer;
}

.agenda .jourj .cabecera .jourj-title{
  color: #46a0de;
}

.agenda .separador-hora{
  font-size: 1.25em;
  font-weight: bold;
}

.agenda .turno time{
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--color-I);
  color: #FFF;
  padding-left: 1em;
  padding-right: 1em;
  border-radius: 5px;
}

.agenda .tipo-turno{
  position: absolute;
  text-align: center;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  opacity: .1;
  font-size: 1.5em;
}

.agenda .turno .info{
  display: block;
  float: right;
  width: calc(100% - 63px);
  text-align: right;
  margin: 0;
  line-height: 1.25em;
  font-size: 1em;
}

.agenda .turno .info-2{
  font-size: .75em;
}

.agenda .turno.no-disponible{
  background-color: #ced4da;
}

.agenda .turno.cancelado{
  background-color: #ced4da;
}

.agenda .turno.danger time{
  background-color: rgb(221,51,51);
}

.agenda .turno.esperando time{
    background: #ffc107;
}

.agenda .turno.success time{
    background: #2f1c6a;
}

.agenda .turno.reservado time{
  background:#7952b3;
}

.agenda .turno.dark time{
    background: #000;
}

.agenda .turno.exepcion{
  background: #666;
}
.agenda .turno.exepcion .info{
  color: #FFF;
  font-size: .75em;
}

.agenda .turno.sobreturno .time{
  color: #000;
  background: #fff;
}


.agenda .turno:hover{
  opacity: .75;
}

.agenda .turno .duracion{
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  font-size: .75em;
}

.loader-agenda{
  position: absolute;
  left: 50%;
  top: 70px;
  background: #fff;
  border-radius: 5px;
  padding: 3em;
  transform: translateX(-50%);
  z-index: 1000 !important;
}

.clickeable{
  cursor: pointer;
}

.btn-dia{
  padding-left: 0;
  padding-right: 0;
}













/* C H A T */
.btn-chat {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: var(--color-I);
  color: #FFF;
  border: none;
  width: 75px;
  height: 75px;
  text-align: center;
  padding: 0;
  z-index: 100;
  border-radius: 50%;
}

#frame {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 95%;
  min-width: 360px;
  max-width: 800px;
  height: 92vh;
  min-height: 300px;
  max-height: 720px;
  background: #E6EAEA;
}

@media screen and (max-width: 360px) {
  #frame {
    width: 100%;
    height: 100vh;
  }
}

#frame #sidepanel {
  float: left;
  min-width: 280px;
  max-width: 340px;
  width: 40%;
  height: 100%;
  background: #2c3e50;
  color: #f5f5f5;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel {
    width: 58px;
    min-width: 58px;
  }
}

#frame #sidepanel #profile {
  width: 80%;
  margin: 25px auto;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0 0 0;
    background: #32465a;
  }
}

#frame #sidepanel #profile.expanded .wrap {
  height: 210px;
  line-height: initial;
}

#frame #sidepanel #profile.expanded .wrap p {
  margin-top: 20px;
}

#frame #sidepanel #profile.expanded .wrap i.expand-button {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

#frame #sidepanel #profile .wrap {
  height: 60px;
  line-height: 60px;
  overflow: hidden;
  -moz-transition: 0.3s height ease;
  -o-transition: 0.3s height ease;
  -webkit-transition: 0.3s height ease;
  transition: 0.3s height ease;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap {
    height: 55px;
  }
}

#frame #sidepanel #profile .wrap img {
  width: 50px;
  border-radius: 50%;
  padding: 3px;
  border: 2px solid #e74c3c;
  height: auto;
  float: left;
  cursor: pointer;
  -moz-transition: 0.3s border ease;
  -o-transition: 0.3s border ease;
  -webkit-transition: 0.3s border ease;
  transition: 0.3s border ease;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap img {
    width: 40px;
    margin-left: 4px;
  }
}

#frame #sidepanel #profile .wrap img.online {
  border: 2px solid #2ecc71;
}

#frame #sidepanel #profile .wrap img.away {
  border: 2px solid #f1c40f;
}

#frame #sidepanel #profile .wrap img.busy {
  border: 2px solid #e74c3c;
}

#frame #sidepanel #profile .wrap img.offline {
  border: 2px solid #95a5a6;
}

#frame #sidepanel #profile .wrap p {
  float: left;
  margin-left: 15px;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap p {
    display: none;
  }
}

#frame #sidepanel #profile .wrap i.expand-button {
  float: right;
  margin-top: 23px;
  font-size: 0.8em;
  cursor: pointer;
  color: #435f7a;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap i.expand-button {
    display: none;
  }
}

#frame #sidepanel #profile .wrap #status-options {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 150px;
  margin: 70px 0 0 0;
  border-radius: 6px;
  z-index: 99;
  line-height: initial;
  background: #435f7a;
  -moz-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options {
    width: 58px;
    margin-top: 57px;
  }
}

#frame #sidepanel #profile .wrap #status-options.active {
  opacity: 1;
  visibility: visible;
  margin: 75px 0 0 0;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options.active {
    margin-top: 62px;
  }
}

#frame #sidepanel #profile .wrap #status-options:before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #435f7a;
  margin: -8px 0 0 24px;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options:before {
    margin-left: 23px;
  }
}

#frame #sidepanel #profile .wrap #status-options ul {
  overflow: hidden;
  border-radius: 6px;
}

#frame #sidepanel #profile .wrap #status-options ul li {
  padding: 15px 0 30px 18px;
  display: block;
  cursor: pointer;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li {
    padding: 15px 0 35px 22px;
  }
}

#frame #sidepanel #profile .wrap #status-options ul li:hover {
  background: #496886;
}

#frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 5px 0 0 0;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle {
    width: 14px;
    height: 14px;
  }
}

#frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  margin: -3px 0 0 -3px;
  background: transparent;
  border-radius: 50%;
  z-index: 0;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li span.status-circle:before {
    height: 18px;
    width: 18px;
  }
}

#frame #sidepanel #profile .wrap #status-options ul li p {
  padding-left: 12px;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #profile .wrap #status-options ul li p {
    display: none;
  }
}

#frame #sidepanel #profile .wrap #status-options ul li#status-online span.status-circle {
  background: #2ecc71;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-online.active span.status-circle:before {
  border: 1px solid #2ecc71;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-away span.status-circle {
  background: #f1c40f;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-away.active span.status-circle:before {
  border: 1px solid #f1c40f;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-busy span.status-circle {
  background: #e74c3c;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-busy.active span.status-circle:before {
  border: 1px solid #e74c3c;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-offline span.status-circle {
  background: #95a5a6;
}

#frame #sidepanel #profile .wrap #status-options ul li#status-offline.active span.status-circle:before {
  border: 1px solid #95a5a6;
}

#frame #sidepanel #profile .wrap #expanded {
  padding: 100px 0 0 0;
  display: block;
  line-height: initial !important;
}

#frame #sidepanel #profile .wrap #expanded label {
  float: left;
  clear: both;
  margin: 0 8px 5px 0;
  padding: 5px 0;
}

#frame #sidepanel #profile .wrap #expanded input {
  border: none;
  margin-bottom: 6px;
  background: #32465a;
  border-radius: 3px;
  color: #f5f5f5;
  padding: 7px;
  width: calc(100% - 43px);
}

#frame #sidepanel #profile .wrap #expanded input:focus {
  outline: none;
  background: #435f7a;
}

#frame #sidepanel #search {
  border-top: 1px solid #32465a;
  border-bottom: 1px solid #32465a;
  font-weight: 300;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #search {
    display: none;
  }
}

#frame #sidepanel #search label {
  position: absolute;
  margin: 10px 0 0 20px;
}

#frame #sidepanel #search input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  padding: 10px 0 10px 46px;
  width: calc(100% - 25px);
  border: none;
  background: #32465a;
  color: #f5f5f5;
}

#frame #sidepanel #search input:focus {
  outline: none;
  background: #435f7a;
}

#frame #sidepanel #search input::-webkit-input-placeholder {
  color: #f5f5f5;
}

#frame #sidepanel #search input::-moz-placeholder {
  color: #f5f5f5;
}

#frame #sidepanel #search input:-ms-input-placeholder {
  color: #f5f5f5;
}

#frame #sidepanel #search input:-moz-placeholder {
  color: #f5f5f5;
}

#frame #sidepanel #contacts {
  height: calc(100% - 177px);
  overflow-y: scroll;
  overflow-x: hidden;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts {
    height: calc(100% - 149px);
    overflow-y: scroll;
    overflow-x: hidden;
  }

  #frame #sidepanel #contacts::-webkit-scrollbar {
    display: none;
  }
}

#frame #sidepanel #contacts.expanded {
  height: calc(100% - 334px);
}

#frame #sidepanel #contacts::-webkit-scrollbar {
  width: 8px;
  background: #2c3e50;
}

#frame #sidepanel #contacts::-webkit-scrollbar-thumb {
  background-color: #243140;
}

#frame #sidepanel #contacts ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#frame #sidepanel #contacts ul li.contact {
  position: relative;
  padding: 10px 0 15px 0;
  font-size: 0.9em;
  cursor: pointer;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact {
    padding: 6px 0 46px 8px;
  }
}

#frame #sidepanel #contacts ul li.contact:hover {
  background: #32465a;
}

#frame #sidepanel #contacts ul li.contact.active {
  background: #32465a;
  border-right: 5px solid #435f7a;
}

#frame #sidepanel #contacts ul li.contact.active span.contact-status {
  border: 2px solid #32465a !important;
}

#frame #sidepanel #contacts ul li.contact .wrap {
  width: 88%;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap {
    width: 100%;
  }
}

#frame #sidepanel #contacts ul li.contact .wrap span {
  position: absolute;
  left: 0;
  margin: -2px 0 0 -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #2c3e50;
  background: #95a5a6;
}

#frame #sidepanel #contacts ul li.contact .wrap span.online {
  background: #2ecc71;
}

#frame #sidepanel #contacts ul li.contact .wrap span.away {
  background: #f1c40f;
}

#frame #sidepanel #contacts ul li.contact .wrap span.busy {
  background: #e74c3c;
}

#frame #sidepanel #contacts ul li.contact .wrap img {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap img {
    margin-right: 0px;
  }
}

#frame #sidepanel #contacts ul li.contact .wrap .meta {
  padding: 5px 0 0 0;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #contacts ul li.contact .wrap .meta {
    display: none;
  }
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .name {
  font-weight: 600;
  margin: 0;
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .preview {
  margin: 0;
  padding: 0 0 1px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -moz-transition: 1s all ease;
  -o-transition: 1s all ease;
  -webkit-transition: 1s all ease;
  transition: 1s all ease;
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .preview span {
  position: initial;
  border-radius: initial;
  background: none;
  border: none;
  padding: 0 2px 0 0;
  margin: 0 0 0 1px;
  opacity: .5;
}

#frame #sidepanel #bottom-bar {
  position: absolute;
  width: 100%;
  bottom: 0;
}

#frame #sidepanel #bottom-bar button {
  float: left;
  border: none;
  width: 50%;
  padding: 10px 0;
  background: #32465a;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 0.85em;
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button {
    float: none;
    width: 100%;
    padding: 15px 0;
  }
}

#frame #sidepanel #bottom-bar button:focus {
  outline: none;
}

#frame #sidepanel #bottom-bar button:nth-child(1) {
  border-right: 1px solid #2c3e50;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button:nth-child(1) {
    border-right: none;
    border-bottom: 1px solid #2c3e50;
  }
}

#frame #sidepanel #bottom-bar button:hover {
  background: #435f7a;
}

#frame #sidepanel #bottom-bar button i {
  margin-right: 3px;
  font-size: 1em;
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button i {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 735px) {
  #frame #sidepanel #bottom-bar button span {
    display: none;
  }
}

#frame .content {
  float: right;
  width: 60%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 735px) {
  #frame .content {
    width: calc(100% - 58px);
    min-width: 300px !important;
  }
}

@media screen and (min-width: 900px) {
  #frame .content {
    width: calc(100% - 340px);
  }
}

#frame .content .contact-profile {
  width: 100%;
  height: 60px;
  line-height: 60px;
  background: #f5f5f5;
}

#frame .content .contact-profile img,
#frame .content .contact-profile .far {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin: 9px 12px 0 9px;
}

#frame .content .contact-profile p {
  float: left;
  margin: 0;
}

#frame .content .contact-profile .social-media {
  float: right;
  margin-right: 15px;
  cursor: pointer;
}

#frame .content .contact-profile .social-media i {
  margin-left: 14px;
  cursor: pointer;
}

#frame .content .contact-profile .social-media i:nth-last-child(1) {
  margin-right: 20px;
}

#frame .content .contact-profile .social-media i:hover {
  color: #435f7a;
}

#frame .content .messages {
  height: auto;
  min-height: calc(100% - 93px);
  max-height: calc(100% - 93px);
  overflow-y: scroll;
  overflow-x: hidden;
}

@media screen and (max-width: 735px) {
  #frame .content .messages {
    max-height: calc(100% - 105px);
  }
}

#frame .content .messages::-webkit-scrollbar {
  width: 8px;
  background: transparent;
}

#frame .content .messages::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
}

#frame .content .messages ul li {
  display: inline-block;
  clear: both;
  float: left;
  margin: 15px 15px 5px 15px;
  width: calc(100% - 25px);
  font-size: 0.9em;
}

#frame .content .messages ul li .date {
  display: inline-block;
  clear: both;
  text-align: center;
  margin: 0 auto;
  padding: 5px 15px;
  background-color: var(--color-I);
  color: #FFF;
  border-radius: 15px;
}

#frame .content .messages ul li:nth-last-child(1) {
  margin-bottom: 20px;
}

#frame .content .messages ul li.sent img {
  margin: 6px 8px 0 0;
}

#frame .content .messages ul li.sent p {
  background: #435f7a;
  color: #f5f5f5;
}

#frame .content .messages ul li.replies img {
  float: right;
  margin: 6px 0 0 8px;
}

#frame .content .messages ul li.replies p {
  background: #f5f5f5;
  float: right;
}

#frame .content .messages ul li img {
  width: 22px;
  border-radius: 50%;
  float: left;
}

#frame .content .messages ul li p {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  max-width: 205px;
  line-height: 130%;
}

#frame .content .messages ul li p span {
  display: block;
  float: right;
  font-size: .75em;
}

@media screen and (min-width: 735px) {
  #frame .content .messages ul li p {
    max-width: 300px;
  }
}

#frame .content .message-input {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
}

#frame .content .message-input .wrap {
  position: relative;
}

#frame .content .message-input .wrap input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  float: left;
  border: none;
  width: calc(100% - 90px);
  padding: 11px 32px 10px 8px;
  font-size: 0.8em;
  color: #32465a;
}

@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap input {
    padding: 15px 32px 16px 8px;
  }
}

#frame .content .message-input .wrap input:focus {
  outline: none;
}

#frame .content .message-input .wrap .attachment {
  position: absolute;
  right: 60px;
  z-index: 4;
  margin-top: 10px;
  font-size: 1.1em;
  color: #435f7a;
  opacity: .5;
  cursor: pointer;
}

@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap .attachment {
    margin-top: 17px;
    right: 65px;
  }
}

#frame .content .message-input .wrap .attachment:hover {
  opacity: 1;
}

#frame .content .message-input .wrap button {
  float: right;
  border: none;
  width: 50px;
  padding: 12px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
}

@media screen and (max-width: 735px) {
  #frame .content .message-input .wrap button {
    padding: 16px 0;
  }
}

#frame .content .message-input .wrap button:hover {
  background: #435f7a;
}

#frame .content .message-input .wrap button:focus {
  outline: none;
}