body {
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
  font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  max-height: 100%;
  min-height: 100%;
}

.main-header {
  background: #1269DB;
  min-height: 42px;
  width: 100%;
  position: fixed;
  z-index: 1001;
  box-shadow: 0px 0px 5px rgba(18, 23, 39, 0.5);
  padding-top: 2px;
  padding-bottom: 2px;
}

.logo-header {
  float: left;
  width: 150px;
  line-height: 60px;
  color: #333333;
  z-index: 1001;
  padding-left: 25px;
  padding-right: 25px;
  display: flex;
  align-items: center;
  position: relative;
  transition: all 0.3s;
}

.navbar-header {
  padding: 0px 15px;
}

#search-nav {
  flex: 1;
  max-width: 400px;
  transition: all 0.4s;
  font-weight: bolder;
  font-size: 14px;
  min-width: 39%;
}

#search-nav.focus {
  max-width: 400px;
}

@media (max-width: 576px) {
  .logo-header {
    display: none;
  }
  .card {
    margin-top: 10vh !important;
  }
  .gbtn {
    margin-top: 5vh !important;
  }
  .ptvbtn {
    display: none !important;
  }
  .alturam {
    height: 90px;
  }
  .oculto {
    display: none !important;
  }

}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
}

.sombra {
  box-shadow: 0px 0px 5px 0px rgba(18, 23, 39, 0.5) !important;
}

.hidden-caret .dropdown-toggle::after {
  display: none !important;
}

.profile-pic:hover,
.profile-pic:focus {
  text-decoration: none;
}

.profile-pic span {
  font-size: 14px;
}

.profile-pic span {
  display: none;
}

.avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
}

.avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: inline-block;
}

.user-box {
  display: flex;
  padding: 0.25rem 1rem;
}

.avatar-lg {
  width: 3.75rem;
  height: 3.75rem;
}

.avatar-lg .rounded {
  border-radius: 8px !important;
}

.encabezado {
  background-color: rgba(222, 222, 222, 0.7);
  margin-bottom: -1px;
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 250px;
  padding: 15px;
  margin: 0 auto;
  padding-top: 5%;
}

.direct-chat-messages {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
  padding: 10px;
  height: 400px;
  overflow: auto;
}

.padding-fila {
  padding: 8px !important;
  line-height: 1.42857143 !important;
  vertical-align: top !important;
}

.scroll {
  min-height: 20%;
  max-height: 100%;
  width: 100%;
  padding: 0px 5px 0 5px;
  margin: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-color: rgba(103, 110, 117, 0.15) rgba(122, 128, 134, 0.05);
  scrollbar-width: thin;
}

.altura {
  height: 100%;
}

.sin-borde {
  border-top: none !important;
}

.borde-inferior {
  border-bottom: 1px solid #dee2e6;
}

body,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
p,
.navbar,
.brand,
.btn-simple,
.alert,
a,
.td-name,
td,
button.close {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: "Lato", sans-serif;
}

.form-group label,
.form-check label {
  margin-bottom: 0.5rem;
  color: #495057;
  font-weight: 600;
  font-size: 1rem;
  /*white-space: nowrap;*/
  margin-top: 0.2rem;
}

label {
  color: #495057 !important;
  font-size: 14px !important;
}

.btn-primary {
  background: #1572e8 !important;
  border-color: #1572e8 !important;
}
.btn-secondary {
  background: #6861ce !important;
  border-color: #6861ce !important;
}

.lbl {
  display: inline-block;
  background: #f8f9fa;
  cursor: pointer;
  position: relative;
}

.lbl::after {
  content: "";
  display: block;
  background: #eee;
  position: absolute;
}

#switch:checked + .lbl::after {
  left: 36px;
}

#switch:checked + .lbl {
  background: #dae0e5;
}

#switch {
  display: none;
}

.suiche {
  display: flex;
  justify-content: center;
  padding-right: 5px;
  padding-bottom: 5px;
}

.etiqueta {
  font-size: 14px !important;
  font-weight: bold;
  padding-right: 5px;
  margin-right: 5px;
  margin-left: 7px;
}

/*     Alert    */

.alert {
  border: 0px;
  position: relative;
  padding: 0.95rem 1.25rem;
  border-radius: 1px;
  color: inherit;
  background-color: #ffffff;
  -webkit-box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
  -moz-box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
  box-shadow: 1px 1px 14px 0px rgba(18, 38, 63, 0.26);
}

.alert [data-notify="icon"] {
  display: block;
}

.alert [data-notify="icon"]::before {
  line-height: 35px;
  font-size: 22px;
  display: block;
  left: 15px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border-radius: 30px;
  text-align: center;
  color: #fff;
}

.alert [data-notify="title"] {
  display: block;
  color: #2b2b2b;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 5px;
}

.alert [data-notify="message"] {
  font-size: 13px;
  color: #908e8e;
}

.alert .close {
  background: rgba(255, 255, 255, 0.8);
  width: 25px;
  height: 25px;
  line-height: 25px;
  top: 12px !important;
  border-radius: 50%;
}

/*    Alert States    */

.alert-black {
  border-left: 4px solid #1a2035;
}

.alert-black [data-notify="icon"]:before {
  background: #1a2035;
}

.alert-primary {
  border-left: 4px solid #1572e8;
}

.alert-primary [data-notify="icon"]:before {
  background: #1572e8;
}

.alert-secondary {
  border-left: 4px solid #6861ce;
}

.alert-secondary [data-notify="icon"]:before {
  background: #6861ce;
}

.alert-info {
  border-left: 4px solid #48abf7;
}

.alert-info [data-notify="icon"]:before {
  background: #48abf7;
}

.alert-success {
  border-left: 4px solid #31ce36;
}

.alert-success [data-notify="icon"]:before {
  background: #31ce36;
}

.alert-warning {
  border-left: 4px solid #ffad46;
}

.alert-warning [data-notify="icon"]:before {
  background: #ffad46;
}

.alert-danger {
  border-left: 4px solid #f25961;
}

.alert-danger [data-notify="icon"]:before {
  background: #f25961;
}

.btn-border {
  background: transparent !important;
}

.btn-border.btn-info {
  color: #48abf7 !important;
  border: 1px solid #48abf7 !important;
}

.btn-border.btn-primary {
  color: #1572e8 !important;
  border: 1px solid #1572e8 !important;
}

.bg-secondary {
  background-color: #6861ce !important;
}

/* noti */

.notif-box,
.messages-notif-box {
  width: 280px;
  padding: 0 !important;
}

.notif-box .notif-center a,
.messages-notif-box .notif-center a {
  display: flex;
  color: #4d585f;
}

.notif-box .notif-center a:hover,
.messages-notif-box .notif-center a:hover {
  text-decoration: none;
  background: #fafafa;
  transition: all 0.2s;
}

.notif-box .notif-center a .notif-icon,
.messages-notif-box .notif-center a .notif-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 10px;
  align-items: center;
  justify-content: center;
  background: #eee;
  border-radius: 50%;
}

.notif-box .notif-center a .notif-img,
.messages-notif-box .notif-center a .notif-img {
  display: inline-flex;
  width: 40px;
  height: 40px;
  margin: 10px;
  align-items: center;
  justify-content: center;
  background: #eee;
  border-radius: 50%;
}

.notif-box .notif-center a .notif-img img,
.messages-notif-box .notif-center a .notif-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.notif-box .notif-center a .notif-icon.notif-black,
.notif-box .notif-center a .notif-icon.notif-primary,
.notif-box .notif-center a .notif-icon.notif-secondary,
.notif-box .notif-center a .notif-icon.notif-info,
.notif-box .notif-center a .notif-icon.notif-success,
.notif-box .notif-center a .notif-icon.notif-warning,
.notif-box .notif-center a .notif-icon.notif-danger,
.messages-notif-box .notif-center a .notif-icon.notif-black,
.messages-notif-box .notif-center a .notif-icon.notif-primary,
.messages-notif-box .notif-center a .notif-icon.notif-secondary,
.messages-notif-box .notif-center a .notif-icon.notif-info,
.messages-notif-box .notif-center a .notif-icon.notif-success,
.messages-notif-box .notif-center a .notif-icon.notif-warning,
.messages-notif-box .notif-center a .notif-icon.notif-danger {
  color: #ffffff !important;
}

.notif-box .notif-center a .notif-icon.notif-black,
.messages-notif-box .notif-center a .notif-icon.notif-black {
  background: #1a2035 !important;
}

.notif-box .notif-center a .notif-icon.notif-primary,
.messages-notif-box .notif-center a .notif-icon.notif-primary {
  background: #1572e8 !important;
}

.notif-box .notif-center a .notif-icon.notif-secondary,
.messages-notif-box .notif-center a .notif-icon.notif-secondary {
  background: #6861ce !important;
}

.notif-box .notif-center a .notif-icon.notif-info,
.messages-notif-box .notif-center a .notif-icon.notif-info {
  background: #48abf7 !important;
}

.notif-box .notif-center a .notif-icon.notif-success,
.messages-notif-box .notif-center a .notif-icon.notif-success {
  background: #31ce36 !important;
}

.notif-box .notif-center a .notif-icon.notif-warning,
.messages-notif-box .notif-center a .notif-icon.notif-warning {
  background: #ffad46 !important;
}

.notif-box .notif-center a .notif-icon.notif-danger,
.messages-notif-box .notif-center a .notif-icon.notif-danger {
  background: #f25961 !important;
}

.notif-box .notif-center a .notif-icon i,
.messages-notif-box .notif-center a .notif-icon i {
  font-size: 15px;
}

.notif-box .notif-center a .notif-content,
.messages-notif-box .notif-center a .notif-content {
  padding: 10px 15px 10px 0;
}

.notif-box .notif-center a .message-content,
.messages-notif-box .notif-center a .message-content {
  padding: 7px 15px 10px 0;
}

.notif-box .notif-center a .notif-content .subject,
.messages-notif-box .notif-center a .notif-content .subject {
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.notif-box .notif-center a .notif-content .block,
.messages-notif-box .notif-center a .notif-content .block {
  font-size: 13px;
  line-height: 20px;
  display: block;
}

.notif-box .notif-center a .notif-content .time,
.messages-notif-box .notif-center a .notif-content .time {
  color: #7d8c95;
  font-size: 11px;
}

.notif-box .see-all,
.messages-notif-box .see-all {
  border-top: 1px solid #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: #555;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.notif-box .see-all:hover,
.messages-notif-box .see-all:hover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: #555;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.notif-box .see-all i,
.messages-notif-box .see-all i {
  float: right;
}

.notif-box .notif-scroll {
  max-height: 256px;
}

.messages-notif-box .message-notif-scroll {
  max-height: 250px;
}

.messages-notif-box .notif-center a {
  border-bottom: 1px solid #f1f1f1;
}

.messages-notif-box .notif-center a:last-child {
  border-bottom: 0px;
}

.messages-notif-box .notif-center a .notif-content {
  padding: 7px 15px 7px 5px;
}

/*     User Dropdown    */

.dropdown-user {
  width: 260px;
}

.user-box {
  display: flex;
  padding: 0.25rem 1rem;
}

.user-box .u-text {
  padding: 0 10px;
}

.user-box .u-text h4 {
  margin-bottom: 5px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.user-box .u-text .text-muted {
  font-size: 12px;
  margin-bottom: 5px;
}

.user-box .u-text .btn {
  font-size: 11px;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}


.tab {
    height: 550px;
  }

@media screen and (max-width: 991px) {
  .notif-box .notif-scroll,
  .messages-notif-box .message-notif-scroll,
  .quick-actions .quick-actions-scroll {
    max-height: calc(100vh - 200px);
  }

  .dropdown-user .dropdown-user-scroll {
    max-height: calc(100vh - 132px);
  }
  
  @media screen and (min-width: 640px) and (max-width: 812px){
    .content {
      padding-top: 10%;
    }

    .gbtn {
        margin-top: 8vh !important;
      }
      
  }

}

@media screen and (min-width: 991px) {
  .navbar-header .dropdown-menu {
    margin-top: 13px;
  }

  .navbar-header .dropdown-menu:after {
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: "";
    right: 10px;
    top: -8px;
    position: absolute;
    z-index: 1001;
  }
}

.list-group .list-group-header {
  font-size: 12px;
  font-weight: 600;
  padding: .75rem 1rem;
}

.list-group .list-group-item {
  display: flex;
  align-items: stretch;
  border-width: 1px 0;
  border-color: #ebecec;
}

.list-group .list-group-item-figure {
  align-self: start;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  color: #a9acb0;
}

.list-group .list-group-item-body {
  flex: 1;
  min-width: 0;
  align-self: center;
  font-size: .875rem;
}

.list-group .list-group-item-text {
  margin-bottom: 0;
  line-height: 1.25rem;
  color: #686f76;
}

.list-group-file-item .list-group-item {
  padding: 0px;
}

.list-group-file-item .list-group-item-figure {
  padding: .75rem 1rem;
}

.list-group-file-item .list-group-item-body {
  padding: .75rem 0;
}

.list-group-bordered .list-group-item {
  border: 1px solid #e3ebf6;
}

.list-group-bordered .list-group-item.active {
  background: #1572E8;
  border-color: #1572E8;
}

.list-group-lg .list-group-item {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/*    Avatar    */
      
.avatar {
  position: relative;
  display: inline-block;
}

.avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.avatar-title {
  width: 100%;
  height: 100%;
  background-color: #6861CE;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-online::before,
.avatar-offline::before,
.avatar-away::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  content: '';
  border: 2px solid #fff;
}

.avatar-online::before {
  background-color: #31CE36;
}

.avatar-offline::before {
  background-color: #97a2b1;
}

.avatar-away::before {
  background-color: #FFAD46;
}

.avatar {
  width: 3rem;
  height: 3rem;
}

.avatar .border {
  border-width: 3px !important;
}

.avatar .rounded {
  border-radius: 6px !important;
}

.avatar .avatar-title {
  font-size: 18px;
}

.avatar-xs {
  width: 1.65rem;
  height: 1.65rem;
}

.avatar-xs .border {
  border-width: 2px !important;
}

.avatar-xs .rounded {
  border-radius: 4px !important;
}

.avatar-xs .avatar-title {
  font-size: 12px;
}

.avatar-xs.avatar-online::before,
.avatar-xs.avatar-offline::before,
.avatar-xs.avatar-away::before {
  border-width: 1px;
}

.avatar-sm {
  width: 2.5rem;
  height: 2.5rem;
}

.avatar-sm .border {
  border-width: 3px !important;
}

.avatar-sm .rounded {
  border-radius: 4px !important;
}

.avatar-sm .avatar-title {
  font-size: 15px;
}

.avatar-sm.avatar-online::before,
.avatar-sm.avatar-offline::before,
.avatar-sm.avatar-away::before {
  border-width: 2px;
}

.avatar-lg {
  width: 3.75rem;
  height: 3.75rem;
}

.avatar-lg .border {
  border-width: 3px !important;
}

.avatar-lg .rounded {
  border-radius: 8px !important;
}

.avatar-lg .avatar-title {
  font-size: 24px;
}

.avatar-lg.avatar-online::before,
.avatar-lg.avatar-offline::before,
.avatar-lg.avatar-away::before {
  border-width: 3px;
}

.avatar-xl {
  width: 5rem;
  height: 5rem;
}

.avatar-xl .border {
  border-width: 4px !important;
}

.avatar-xl .rounded {
  border-radius: 8px !important;
}

.avatar-xl .avatar-title {
  font-size: 28px;
}

.avatar-xl.avatar-online::before,
.avatar-xl.avatar-offline::before,
.avatar-xl.avatar-away::before {
  border-width: 4px;
}

.avatar-xxl {
  width: 5.125rem;
  height: 5.125rem;
}

.avatar-xxl .border {
  border-width: 6px !important;
}

.avatar-xxl .rounded {
  border-radius: 8px !important;
}

.avatar-xxl .avatar-title {
  font-size: 30px;
}

.avatar-xxl.avatar-online::before,
.avatar-xxl.avatar-offline::before,
.avatar-xxl.avatar-away::before {
  border-width: 4px;
}

@media (min-width: 768px) {
  .avatar-xxl {
      width: 8rem;
      height: 8rem;
  }
  .avatar-xxl .border {
      border-width: 4px !important;
  }
  .avatar-xxl .rounded {
      border-radius: 12px !important;
  }
  .avatar-xxl .avatar-title {
      font-size: 42px;
  }
  .avatar-xxl.avatar-online::before,
  .avatar-xxl.avatar-offline::before,
  .avatar-xxl.avatar-away::before {
      border-width: 4px;
  }
}

.avatar-group {
  display: inline-flex;
}

.avatar-group .avatar+.avatar {
  margin-left: -.75rem;
}

.avatar-group .avatar-xs+.avatar-xs {
  margin-left: -.40625rem;
}

.avatar-group .avatar-sm+.avatar-sm {
  margin-left: -.625rem;
}

.avatar-group .avatar-lg+.avatar-lg {
  margin-left: -1rem;
}

.avatar-group .avatar-xl+.avatar-xl {
  margin-left: -1.28125rem;
}

.avatar-group .avatar:hover {
  z-index: 1;
}

.border-dark {
  border-color: #202940 !important;
}