body {
  font-family: 'Poppins', sans-serif !important;
  /* font-family: 'Source Sans Pro', sans-serif !important; */
}

.custom-paginator .pagination {
  display: initial;
  margin: 0 0;
  border-radius: 0;
}

.login-page-nobackground {
  margin-top: 50px;
}

.direct-chat-text {
  word-wrap: break-word;
}

.btn-searcher {
  margin-top: 25px;
}

.password {
  word-wrap: break-word;
}

.title-chat-home {
  padding: 10px 0 10px 30px;
}

.ui-tabs {
  margin-bottom: 15px !important;
}

.row>section.content-header {
  padding-top: 0 !important;
  padding-bottom: 15px !important;
}

/* Tabs panel */

.tabbable-panel {
  border: 1px solid #c3c3c3;
  padding: 10px;
  background: #fff;
  margin-bottom: 15px;
}

/* Default mode */

.tabbable-line>.nav-tabs {
  border: none;
  margin: 0;
}

.tabbable-line>.nav-tabs>li {
  margin-right: 2px;
}

.tabbable-line>.nav-tabs>li>a {
  border: 0;
  margin-right: 0;
  color: #737373;
}

.tabbable-line>.nav-tabs>li>a>i {
  color: #a6a6a6;
}

.tabbable-line>.nav-tabs>li.open,
.tabbable-line>.nav-tabs>li:hover {
  border-bottom: 4px solid #a9d4ff;
}

.tabbable-line>.nav-tabs>li.open>a,
.tabbable-line>.nav-tabs>li:hover>a {
  border: 0;
  background: none !important;
  color: #333333;
}

.tabbable-line>.nav-tabs>li.open>a>i,
.tabbable-line>.nav-tabs>li:hover>a>i {
  color: #a6a6a6;
}

.tabbable-line>.nav-tabs>li.open .dropdown-menu,
.tabbable-line>.nav-tabs>li:hover .dropdown-menu {
  margin-top: 0;
}

.tabbable-line>.nav-tabs>li.active {
  border-bottom: 4px solid #007fff;
  position: relative;
}

.tabbable-line>.nav-tabs>li.active>a {
  border: 0;
  color: #333333;
}

.tabbable-line>.nav-tabs>li.active>a>i {
  color: #404040;
}

.tabbable-line>.tab-content {
  margin-top: -3px;
  background-color: #fff;
  border: 0;
  border-top: 1px solid #eee;
  padding: 15px 0;
}

.portlet .tabbable-line>.tab-content {
  padding-bottom: 0;
}

/* CHAT APP */

#frame {
  width: 100%;
  min-width: 360px;
  height: calc(100vh - 101px);
  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;
  }
}

#customFile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

#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 {
  margin: 8px 0 8px 20px;
}

#frame #sidepanel #search input {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  padding: 10px 0 10px 46px;
  width: 100%;
  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% - 188px);
  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 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;
}

.camera-icon {
  width: 60px !important;
  height: 50px !important;
}

#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: 0;
  }
}

#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;
}

#frame #sidepanel #contacts ul li.contact .wrap .meta .preview {
  margin: 5px 0 0 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;
  padding: 0;
}

@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 {
  width: 40px;
  border-radius: 50%;
  float: left;
  margin: 9px 12px 0 9px;
}

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

#frame .content .contact-profile .social-media {
  float: right;
}

#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% - 103px);
  max-height: calc(100% - 103px);
  width: 100%;
  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 {
  clear: both;
  float: left;
  margin: 15px 15px 5px 15px;
  width: calc(100% - 25px);
  font-size: 0.9em;
}

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

#frame .content .messages ul li.sent img {
  margin: 23px 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: 30px;
  height: 30px;
  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%;
}

@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;
  background: #e6eaea;
}

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

#frame .content .message-input .wrap textarea {
  font-family: "proxima-nova", "Source Sans Pro", sans-serif;
  float: left;
  border: none;
  width: calc(100% - 150px);
  padding: 12px 32px 18px 10px;
  color: #32465a;
  resize: none;
  outline: none;
  max-height: 250px;
}

@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;
  height: 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;
}

ul#chat {
  padding-left: 0 !important;
}

ul.data_chats,
ul.open-chats {
  list-style: none;
  padding-left: 0;
}

span.badge.bg-green {
  width: auto !important;
  margin: auto !important;
  position: relative !important;
  height: auto !important;
}

.chat-image-list {
  width: 40px;
  height: 40px;
  background-size: cover !important;
  border-radius: 50px;
  margin-right: 10px;
  margin-top: 3px;
  float: left;
  border: 1px solid #999;
}

.largeImage {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  float: none !important;
  cursor: pointer;
}

#loadUsers {
  width: 100% !important;
}

.text-no-room {
  text-align: center;
  padding-top: 250px;
}

#goBackPlease {
  cursor: pointer;
  margin-right: 10px;
}

p.name {
  margin-bottom: 0;
}

p.preview {
  margin-top: 0 !important;
}

/*Ultimos usuarios registrados module*/

.users-list>li img {
  height: 50px !important;
  width: 50px !important;
}

.users-list>li {
  width: 20% !important;
}

.userinfo-image {
  width: 40px;
  height: 40px;
}

#info_group {
  color: #2c3e50;
}

h6.subheader {
  font-weight: bold;
}

.invoice-custom {
  margin: 10px 0;
}

.guests-title {
  margin-top: 20px;
}

.contcheckall,
.contcheck,
.grpcheckall,
.grpcheck {
  position: inherit !important;
  margin-left: 0 !important;
}

.emojiPickerIconWrap {
  width: calc(100% - 150px);
  margin-bottom: -5px;
}

/*New colors*/

.skin-black .wrapper,
.skin-black .main-sidebar,
.skin-black .left-side {
  background-color: #0e1217;
}

.skin-black .sidebar-menu>li:hover>a,
.skin-black .sidebar-menu>li.active>a {
  background: #1b1f25;
}

.skin-black .sidebar-menu>li>.treeview-menu {
  background: #1b1f25;
}

.skin-black .sidebar-menu>li.header {
  color: #849ca7;
  background: #1b1f25;
}

/*Colores chat*/

#frame #sidepanel #bottom-bar button {
  background: #1b1f25;
}

#frame #sidepanel {
  background: #1b1f25;
}

#frame #sidepanel #contacts::-webkit-scrollbar {
  background: #1b1f25;
}

#frame #sidepanel #contacts ul li.contact:hover {
  background: #3c3e42;
}

#frame #sidepanel #bottom-bar button:hover {
  background: #3c3e42;
}

#frame #sidepanel #search {
  border-top: 1px solid #3c3e42;
  border-bottom: 1px solid #3c3e42;
}

#frame .content .messages ul li.sent p {
  background: #3c3e42;
}

#frame .content .message-input .wrap button {
  background: #3c3e42;
}

#frame .content .message-input .wrap button:hover {
  background: #5e6567;
}

#frame .content .messages ul li {
  font-size: 1em;
}

.skin-black .sidebar-menu>li.active>a {
  background-color: #0e1217;
}

#info_group {
  color: #1b1f25;
}

.content-header>h1 {
  display: inline;
}

.btn-info.btn-searcher,
.btn-topnew {
  margin-left: 5px;
}

img.img-showcase {
  max-width: 150px;
  height: auto;
}

/* Modal para imágenes*/
.imageForModal {
  cursor: pointer;
  transition: 0.3s;
}
.imageForModal:hover {opacity: 0.7;}
.imageModal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}
.imageModal-content {
  margin: auto;
  display: block;
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 80%;
}
#imageModal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}
.imageModal-content, #imageModal-caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}
@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}
@media only screen and (max-width: 700px){
  .imageModal-content {
    width: 100%;
  }
}

.fakeButton,
.box-filter .box-header {
  cursor: pointer;
}

/* Simulador dispositivo móvil */
.smartphone {
  position: relative;
  width: 360px;
  height: 640px;
  margin: auto;
  border: 16px black solid;
  border-top-width: 60px;
  border-bottom-width: 60px;
  border-radius: 36px;
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}
.smartphone:before {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}
.smartphone:after {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}
.smartphone .screen {
  width: 328px;
  height: 520px;
  overflow-y: scroll;
  overflow-x: hidden;
  background: white;
}
.smartphone .screen .headerImage {
  height: 150px;

}
.smartphone .screen .screen-content img {
  max-width: 100%;
  height: auto;
}
.screen-content {
  padding: 10px;
}

.float-right {
  float: right;
}
.float-left {
  float: left;
}
.mr-20 {
  margin-right: 20px;
}
.va-m td {
  vertical-align: middle !important;
}
.sidebar-menu li>a>.fa-angle-down,
.sidebar-menu li>a>.pull-right-container>.fa-angle-up {
  width: auto;
  height: auto;
  padding: 0;
  margin-right: 10px;
  transition: all 0.5s ease;
}
.sidebar-menu li.active>a>.fa-angle-down,
.sidebar-menu li.active>a>.pull-right-container>.fa-angle-up {
  transform: rotate(180deg);
}
.equal {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
}
.w-100 {
  width: 100%;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.img-fluid-forced {
  width: 100%;
  height: auto;
}

.table-mh {
  max-height: 300px;
}

td.actions {
  min-width: 100px;
}

.fa,
.fas,
.far {
  width: 20px;
}
#smartphoneModal .modal-dialog {
  width: 360px;
}
#smartphoneModal .modal-content {
  background: transparent;
}

.pl-5 {
  padding-left: 3rem!important;
}

.allergen-not {
  color: #E9E9E9;
}
.allergen-may {
  color: #E4AD3E;
}
.allergen-yes {
  color: #CB514F;
}

.table.vac>tbody>tr>td {
  vertical-align: middle;
}

.oh {
  overflow: hidden;
}

.wsnw {
  white-space: nowrap;
}

.ellipsis {
  text-overflow: ellipsis;
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
  height: 34px;
  border-radius: 0;
  border-color: #d2d6de;
}

.box-filter .text-header {
  margin-top: 8px;
}
.box-filter.box-solid.box-default>.box-header a,
.box-filter.box-solid.box-default>.box-header .btn {
  color: #fff;
}
.box-filter.box-solid>.box-header .btn.btn-success:hover,
.box-filter.box-solid>.box-header a.btn-success:hover {
  background: #008d4c;
}
.box-filter.box-solid>.box-header .btn.btn-info:hover,
.box-filter.box-solid>.box-header a.btn-info:hover {
  background: #00acd6;
}

#chat li {
  list-style: none;
}

.mce-notification-warning {
  display: none;
}

#contacts .panel {
  margin: 5px 0px 5px 8px;
  background-color: #1b1f25;
}

#contacts .panel-title a:after {
  font-family: "Font Awesome 5 Free";
  content: '\f106';
  float: right;
  font-weight: 900;
  transform: rotate(180deg);
}
#contacts .panel-title a.collapsed:after {
  font-family: "Font Awesome 5 Free";
  content:'\f107';
}
form .required>label::after {
  color: #EE3322;
  content: "*";
  display: inline;
}
form .required::after {
  content: "";
}
.error[role=alert] {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #d73925;
  background-color: #dd4b39;
  color: #fff;
}
@media screen and (max-width: 768px) {
  div.box-tools.pull-right {
    position: relative;
  }
}
.is-owner {
  padding: 10px 5px;
  background-color: lightgrey;
}

/* Styles for dereuromark calendar plugin */
.calendar {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-collapse: collapse;
  table-layout: fixed; /* Añadido para que todas las celdas tengan el mismo tamaño */
}

.calendar th,
.calendar td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top; /* Cambiado para centrar el contenido verticalmente */
  border: 1px solid #ddd;
  text-align: center; /* Añadido para centrar el contenido horizontalmente */
}

.calendar th {
  vertical-align: middle;
  border-bottom-width: 2px;
  background-color: #f5f5f5; /* Cambiado para mejorar el color de fondo */
  color: #333; /* Cambiado para mejorar el color del texto */
  font-weight: bold;
}

.calendar caption {
  font-weight: bold;
  margin-bottom: 10px;
}

.calendar .active,
.calendar .success,
.calendar .info,
.calendar .warning,
.calendar .danger {
  background-color: #f5f5f5;
}

.calendar .success:hover,
.calendar .success:hover,
.calendar .success:hover,
.calendar .success:hover,
.calendar .success:hover,
.calendar .success:hover {
  background-color: #d0e9c6;
}

.calendar .info,
.calendar .info,
.calendar .info,
.calendar .info,
.calendar .info,
.calendar .info {
  background-color: #d9edf7;
}

.calendar .warning,
.calendar .warning,
.calendar .warning,
.calendar .warning,
.calendar .warning,
.calendar .warning {
  background-color: #fcf8e3;
}

.calendar .danger,
.calendar .danger,
.calendar .danger,
.calendar .danger,
.calendar .danger,
.calendar .danger {
  background-color: #f2dede;
}

@media screen and (max-width: 767px) {
  .table-responsive > .calendar {
    margin-bottom: 0;
  }
  .table-responsive > .calendar th,
  .table-responsive > .calendar td {
    white-space: nowrap;
  }
}

.cell-data > ul {
  list-style: none;
  padding-inline-start: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.cell-disabled {
  background: #d3d3d3;
}

.cell-weekend {
  background: #f8f8f8;
}

.cell-number {
  margin-bottom: 5px;
  font-weight: 700;
}

.cell-next > a,
.cell-prev > a {
  color: #fff;
  display: inline-block;
  padding: 5px 10px;
  background-color: #3498db;
  border: 1px solid #3498db;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
}

.cell-next > a:hover,
.cell-prev > a:hover {
  background-color: #2980b9;
}

.cell-today {
  background: #e6ffe6;
}

.box-header h3.box-title {
  font-size: 24px;
}

.label-diaries {
  font-size: 95%;
  margin-bottom: 5px;
  display: block;
}

.notification-active {
  background-color: #2ecc71;
  color: #fff;
}

.predefined-search {
  margin-top: 20px;
}

.predefined-search > li {
  display: flex;
  justify-content: space-between;
}

.text-lg {
  font-size: 1.5em;
}

.label-diaries.closed {
  opacity: 0.5;
}
