* {
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  overflow: hidden;
  overflow-y: auto;
  background: #f1f2f7;
  height: 100%;
  width: 100%;
  border-top: 4px solid #37ba8a;
  margin: 0;
}

a {
  color: #777;
  text-decoration: none;
  border: none;
}

.padding-top {
  padding-top: 20px;
}

.login-page {
  width: 350px;
  margin: 7% auto;
  padding: 0 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}

.login-page .text-center {
  margin-bottom: 10px;
}

.box {
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #f2f2f2;
}

.page {
  position: relative;
  display: block;
  top: 60px;
  left: 0;
  padding: 35px 15px 20px 100px;
  width: 100%;
}

.bg-green {
  background-color: #A3C86D;
}

.bg-grey {
  background-color: #bdbdbd;
}

.bg-info {
  background-color: #1464c8;
}

.bg-blue {
  background-color: #7ACBEE;
}

.bg-yellow {
  background-color: #FDD761;
}

.bg-red {
  background-color: #FF7857;
}

.panel-default>.panel-heading {
  background-color: #f5f5f5;
  border-bottom: 2px solid #3498DB;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 15px;
}

.panel-box {
  width: 90%;
  height: 100%;
  text-align: center;
  border: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor:pointer;
}



.panel-box:hover{
    box-shadow: 5px 5px 10px #c6cdcf;
}

.panel-box:active{
    transform:scale(0.95);
}

.panel-box.selected{
    box-shadow: 10px 10px 1px rgb(219 219 219);
}

.panel-icon {
  width:100%;
  padding: 30px;
  border-radius: 0;
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}


.panel-value {
    padding: 0px 20px;
  width:100%;
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}

.panel-value h2 {
  margin-top: 30px;
}

.panel-icon i {
  line-height: 65px;
  font-size: 40px;
  color: #fff;
}

#header {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  height: 80px;
  line-height: 80px;
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

header>.logo {
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100px;
  height: 80px;
  background: #2a3542;
  /* background: rgb(209, 114, 47);
  background: linear-gradient(90deg, rgba(209, 114, 47, 1) 0%, rgba(235, 145, 82, 1) 42%, rgba(222, 118, 43, 1) 100%); */
}

.logo>p {
  line-height: 20px;
}

#logo {
  height: 60px;
}

.header-date {
    overflow:hidden;
    text-overflow:ellipsis;
  color: #9b9b9b;
  margin-left: 20px;
}


.info-menu {
  height: 60px;
  margin: 0;
  line-height: 60px;
  padding: 0 15px;
}

.info-menu li.profile {
  position: relative;
}

.profile a.toggle {
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  color: rgba(150, 150, 158, 1.0);
  position: relative;
  padding: 10px;
  margin: 0;
  background: #f9f9f9;
  border-radius: 30px;
}

.info-menu li.profile a img {
  width: 30px;
  height: 30px;
}

.dropdown-menu {
  margin-top: 4px;
  border-color: #fefefe;
  border-radius: 0;
  position: absolute;
  overflow:auto;
  max-height: 200px;
  box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  -moz-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
  -webkit-box-shadow: 0px 0px 5px rgba(86, 96, 117, 0.15);
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  display: block;
  line-height: 35px;
}

.dropdown-menu li a {
  text-decoration: none;
  display: block;
  font-size: 14px;
  position: relative;
  line-height: 30px;
  width: 100%;
  border-bottom: 1px solid #f4faf9;
}

.dropdown-menu li a i {
  margin-right: 5px;
}

.dropdown-menu li.last a {
  border-bottom: 0;
}

.datepicker {
  text-align: center;
}

.sidebar {
  position: fixed;
  display: block;
  transition: 0.2s;
  z-index: 10;
  left: 0;
  top: 0;
  padding: 80px 0 0;
  height: 100%;
  width: 100px;
  background: #2a3542;
  text-align: center;
}

.sidebar:hover{
    width:280px;
}


.sidebar ul li:hover,
.submenu ul li:hover {
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar ul li {
  display: block;
}

.sidebar ul li:hover,
ul.submenu {
  background-color: #35404d;
}

.sidebar ul li a:hover {
  color: white;
}

.sidebar ul li a,
ul.submenu li a {
  color: #aeb2b7;
  display: block;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
}

.sidebar ul li a i{
    font-size:18px !important;
}
.sidebar ul li a span,
.sidebar ul li i {
  font-size: 14px;
  margin: 0 20px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-shadow: 0 1px rgba(0, 0, 0, 1);
}

.sidebar ul li a i {
  color: #aeb2b7;
  padding: 15px 22px;
  text-align: center;
}

ul.submenu {
  display: none;
  position: relative;
}

ul.submenu li a:hover {
  background-color: #35404d;
}

ul.submenu li a {
  padding-left: 45px;
}

ul.submenu li:before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 0;
  bottom: 0;
  border: 1px dotted #d7d7d7;
  border-width: 0 0 0 1px;
}

ul.submenu li a:before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 7px;
  left: 25px;
  top: 18px;
  border-top: 1px dotted #d7d7d7;
}

.sale_report_header {
  padding: 15px 0;
}

table td h6 {
  margin: 0 0 0.2em 0;
}

table tfoot tr td:first-child {
  border: 0;
}

table tfoot tr td:last-child {
  border-top: 1px solid #ccc;
}

table td h6,
table tfoot tr td:last-child {
  color: #000;
  _font-size: 1.2em;
  font-weight: normal;
}

#comentario_inicial {
  border: 1px solid #e6e6e6;
  padding: 10px;
  resize: none;
}

.form-control {
  color: #646464;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-transition: all .15s ease-out;
  -webkit-transition: all .15s ease-out;
  transition: all .15s ease-out;
}

.form-control:focus {
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  outline: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 10px;
  align-content:center;
  /* margin: 5px 0 0 0; */
}


.btn {
  border-radius: 3px;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #51aded;
  border-color: #3d8fd8
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: #3175b8;
  border-color: #3d8fd8
}

.btn-success {
  background-color: #2ecc71
}

.btn-success:hover,
.btn-success:focus,
.btn-success.focus,
.btn-success:active,
.btn-success.active {
  background-color: #27ae60
}

.btn-warning {
  background-color: #e7c13e;
  border-color: #dfba3c;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning.focus,
.btn-warning:active,
.btn-warning.active {
  background-color: #d0ac2c;
  border-color: #dfba3c;
}

.btn-danger {
  background-color: #ed5153
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger.focus,
.btn-danger:active,
.btn-danger.active {
  background-color: #bb282a
}

.input-group-addon {
  background-color: #fcfcfc;
  border: 1px solid #dbdbdb;
  border-radius: 0;
}

input[type=file] {
  text-indent: -99999px;
}

td img.img-thumbnail {
  width: 125px;
  height: 125px;
  vertical-align: top;
}

.img-avatar {
  width: 50px;
  height: 50px;
}

.jumbotron {
  margin-bottom: 0;
}

.list-group-item:first-child,
.list-group-item:last-child {
  border-radius: 0;
}

.profile .jumbotron {
  border-radius: 3px 3px 0 0;
}

.profile .jumbotron h3 {
  color: white;
}

img.img-size-2 {
  width: 125px;
  height: 125px;
}

.select-box::after {
  content: "\025be";
  display: table-cell;
  text-align: center;
  padding-top: 7px;
  width: 30px;
  height: 34px;
  background-color: #ebebeb;
  position: absolute;
  top: 0;
  right: 15px;
  pointer-events: none;
}

tr:nth-child(2n) {
  background-color: rgb(237, 237, 237);
}


.panel-body {
  overflow: auto;
}

.sidebar-icon {
  padding: 0 15px;
  cursor: pointer;
  /* background-color: #16a085; */
  background: #2a3542;

}

.sidebar-icon>.glyphicon {
  font-size: 20px;
  color: white;
}

.comment-box {
  position: fixed;
  z-index: 10;
  right: 0;
  bottom: 0;
  height: -webkit-calc(100% - 80);
  height: -moz-calc(100% - 80px);
  height: calc(100% - 80px);
  border-radius: 5px;
  width: 350px;
  background: #f1f2f7;
  border: 10px solid #2a3542;
  text-align: center;
  transition: 0.2s;
  overflow: auto;
}

.comment-box.gone {
  border: 10px solid transparent;
  width: 0;
}

#comments {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 15px 10px 15px;
  margin-bottom:50px;
  width: auto;
}

.comment {
  background-color: white;
  /* margin: 10px; */
  border-radius: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
}

.comment> :first-child {
  font-size: smaller;
  text-align: left;
  margin: 5px 10px 0px 10px;
  word-wrap: break-word;
}

.comment> :nth-child(2) {
  align-self: flex-start;
  font-size: smaller;
  margin-left: 10px;
  margin-bottom: 0px;
  color: rgb(174, 174, 174);
}

#add-comment {
  position: fixed;
  bottom: 15px;
  right: 15px;
  transition: 0.2s;
  padding: 5px;
  border-radius: 5px;
}

.comment-box.gone>#add-comment,
.comment-box.gone>* {
  right: -350px;
  opacity: 0;
}

.comment-box.gone>#comments {
  overflow-y: unset;
  width: 0;
}

#comments-header {
  background-color: #2a3542;
  color: white;
  padding: 10px;
  font-size: medium;
  outline: none;
}

#close-comments{
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}

#comment-to-add {
  resize: none;
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 10px;
  bottom: 50px;
  right: 15px;
  margin-bottom: 20px;
}

#comment-to-add>textarea {
  resize: none;
  border-radius: 5px;
  border: 1px solid rgb(182, 182, 182);
}

#Ingresado {
  color: #585858;
}

#En-proceso{
  background-color: rgb(231, 199, 72);
}

#Cotizado{
    background-color: rgb(0,100,200);
}

#Rechazado{
  background-color: rgb(221, 61, 61);
}

#Vendido{
  background-color: rgb(59, 164, 59);
}

.status{
  color: white;
  /* background-clip: content-box; */
  border-radius: 5px;
  padding: 5px;
}

#product-link{
  display: inline-block;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 200px;
}

.search{
  position: relative;
  left: 10px;
  cursor: pointer;
}

.search-text{
  position: absolute;
}

.filtro-columnas input{
    margin: 5px;
}

.filtro-columnas{
    overflow: auto;
    white-space: nowrap;
    height: 0;
    transition: 0.3s;
    color: grey;
}

#filtro-fecha-captura{
    position: absolute;
    display: none;
    flex-direction: column;
    background-color: white;
    box-shadow: rgb(110, 110, 110) 2px 2px 11px;
    padding: 10px;
    margin-top: 15px;
    border-radius: 5px;
}

#filtro-fecha-captura>form{
    display: flex;
    justify-content:end;
    flex-direction: row;
    align-items: center;
}

#filtro-fecha-captura>form *{
    margin: 4px;
}

.filtro-columnas label{
    font-size: smaller;
}

#prospecto-to-search{
  resize: none;
  display: none;
  position: absolute;
  border: 10px solid #2a3542;
  border-radius: 5px;
}

#notifications{
  width: 40px;
  height: 40px;
  position: absolute;
  border-radius: 50%;
  top: -25px;
  right:-15px;
  background-color: rgb(242, 242, 242);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#notification-badge{
  position: absolute;
  top: 5px;
  right: 5px;
  display: none;
}

[data-badge] {
    position:relative;     
    &:after{
      position:absolute;
      right:-10px;
      top:-10px;
      min-width:10px;
      min-height:10px;
      line-height:10px;
      padding:5px;
      color:#fff;
      background-color:#bf1f1f;
      font-size:10px;
      border-radius:20px;
      content:attr(data-badge);
      border:solid 2px white;
    }   
}

.reminder{
    border-bottom: 2px solid lightgrey;
}

#reminders-list{
    position: absolute;
    right: -50px;
    width:300px;
}

#loading{
    position: absolute;
    display: none;
    width: 50%;
    height: 5px;
    background-color: lightblue;
    animation: loading-bar 1.2s linear infinite;
}

@keyframes loading-bar{
    0% {
        transform: translate(-100%,0);
    }
    100% {
        transform: translate(200%,0);
    }
}

#toggle-columnas{
    position:relative;
    left:10px;
}

.loading-ring {
  display: inline-block;
  height: 80px;
  width: 80px;
  margin: 0 35%;
}
.loading-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid lightgrey;
  border-color: lightgrey transparent lightgrey transparent;
  animation: loading-ring 2s linear infinite;
}

@keyframes loading-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#dashboard-row {
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: 45% 45%;
    display: grid;
    justify-content: space-between;
    row-gap: 20px;
    margin-bottom: 30px;
}

#reminders-list-modal{
    max-width: 300px;
    overflow: auto;
}

@media (max-width: 767px) {
  .page {
    padding: 35px 15px 20px 15px;
  }
  .sidebar{
      width:280px;
      left:-280px;
  }
  header>.logo {
    display: none;
  }
  .header-date{
      font-size: smaller;
  }
}

@media (min-width: 767px) {
  .sidebar-icon {
    display: none;
  }
  .sidebar{
      left:0px;
  }
}

@media (max-width: 1000px) {
  #dashboard-row{
    grid-template-columns: 45% 45%;
    grid-template-rows: 30% 30% 30%
  }
    .row > * {
    margin: 10px 0;
    }
}

@media (max-width: 600px) {
  #dashboard-row{
    grid-template-columns: 250px 250px 250px 250px 250px 250px;
    grid-template-rows: 90%;
    overflow: auto;
  }
}


