/*
 * Pagina de estilos para Web Stock Manager 
 * Copyright 2020 
 * Bajo licencia de Caribbean Computer Services CC-Services
 */


body {
  font-size: 0.9rem;
}

tr.table-tr-divider{
  border-bottom: 2px solid;
}

/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para el sidebar del menu
 *------------------------------------------------------------------------------------------------------------------------------------
 */

.page-wrapper .sidebar-wrapper,
.sidebar-wrapper .sidebar-brand > a,
.sidebar-wrapper .sidebar-dropdown > a:after,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before,
.sidebar-wrapper ul li a i,
.page-wrapper .page-content,
.sidebar-wrapper .sidebar-search input.search-menu,
.sidebar-wrapper .sidebar-search .input-group-text,
.sidebar-wrapper .sidebar-menu ul li a,
#show-sidebar,
#close-sidebar {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.page-wrapper {
  height: 100vh;
}

.page-wrapper .theme {
  width: 40px;
  height: 40px;
  display: inline-block;
  border-radius: 4px;
  margin: 2px;
}

.sidebar-wrapper {
  width: 300px;
  padding-top: 65px;
  height: 100%;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: -300px;
  z-index: 999;
}

.sidebar-wrapper ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sidebar-wrapper a {
  text-decoration: none;
}


/*----------------show sidebar button----------------*/
#show-sidebar {
  position: fixed;
  left: 0;
  top: 15px;
  border-radius: 0 4px 4px 0px;
  width: 35px;
  transition-delay: 0.3s;
  background: #3a3f48;
  z-index: 1100;
}
.page-wrapper.toggled #show-sidebar {
  left: -40px;
}
/*----------------sidebar-content----------------*/

.sidebar-content {
  max-height: calc(100% - 30px);
  height: calc(100% - 30px);
  overflow-y: auto;
  position: relative;
}

.sidebar-content.desktop {
  overflow-y: hidden;
}

/*----------------toggeled sidebar----------------*/

.page-wrapper.toggled .sidebar-wrapper {
  left: 0px;
}

/*--------------------sidebar-brand----------------------*/

.sidebar-wrapper .sidebar-brand {
  padding: 10px 20px;
  display: flex;
  align-items: center;
}

.sidebar-wrapper .sidebar-brand > a {
  text-transform: uppercase;
  font-weight: bold;
  flex-grow: 1;
}

.sidebar-wrapper .sidebar-brand #close-sidebar {
  cursor: pointer;
  font-size: 20px;
}


/*--------------------sidebar-header----------------------*/

.sidebar-wrapper .sidebar-header {
  padding: 20px;
  overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic {
  float: left;
  width: 60px;
  padding: 2px;
  border-radius: 12px;
  margin-right: 15px;
  overflow: hidden;
}

.sidebar-wrapper .sidebar-header .user-pic img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.sidebar-wrapper .sidebar-header .user-info {
  float: left;
}

.sidebar-wrapper .sidebar-header .user-info > span {
  display: block;
}

.sidebar-wrapper .sidebar-header .user-info .user-role {
  font-size: 12px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status {
  font-size: 11px;
  margin-top: 4px;
}

.sidebar-wrapper .sidebar-header .user-info .user-status i {
  font-size: 8px;
  margin-right: 4px;
  color: #5cb85c;
}

/*----------------------sidebar-menu-------------------------*/

.sidebar-wrapper .sidebar-menu {
  padding-bottom: 10px;
}

.sidebar-wrapper .sidebar-menu .header-menu span {
  font-weight: bold;
  font-size: 14px;
  padding: 15px 20px 5px 20px;
  display: inline-block;
}

.sidebar-wrapper .sidebar-menu ul li a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  position: relative;
  padding: 8px 30px 8px 20px;
}

.sidebar-wrapper .sidebar-menu ul li a i {
  margin-right: 10px;
  font-size: 16px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 4px;
}

.sidebar-wrapper .sidebar-menu ul li a:hover > i::before {
  display: inline-block;
  animation: swing ease-in-out 0.5s 1 alternate;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown > a:after {
  font-family: "bootstrap-icons";
  font-weight: 900;
  content: "\F231";
  font-style: normal;
  display: inline-block;
  top: 12px;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  background: 0 0;
  position: absolute;
  right: 15px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li {
  font-size: 13px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a:before {
  content: "\F28A";
  font-family: "bootstrap-icons";
  font-weight: 400;
  font-style: normal;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 10px;
  font-size: 8px;
}

.chiller-theme .sidebar-wrapper .sidebar-header,
.chiller-theme .sidebar-wrapper .sidebar-search,
.chiller-theme .sidebar-wrapper .sidebar-menu {
  border-top: 1px solid #3a3f48;
}

.sidebar-wrapper .sidebar-menu ul li a span.label,
.sidebar-wrapper .sidebar-menu ul li a span.badge {
  float: right;
  margin-top: 8px;
  margin-left: 5px;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .badge,
.sidebar-wrapper .sidebar-menu .sidebar-dropdown .sidebar-submenu li a .label {
  float: right;
  margin-top: 0px;
}

.sidebar-wrapper .sidebar-menu .sidebar-submenu {
  display: none;
}

.sidebar-wrapper .sidebar-menu .sidebar-dropdown.active > a:after {
  transform: rotate(90deg);
  right: 17px;
}
/*--------------------------side-footer------------------------------*/

.sidebar-footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  display: flex;
}

.sidebar-footer > a {
  flex-grow: 1;
  text-align: center;
  height: 30px;
  line-height: 30px;
  position: relative;
}

.sidebar-footer > a .notification {
  position: absolute;
  top: 0;
}

.badge-sonar {
  display: inline-block;
  background: #980303;
  border-radius: 50%;
  height: 8px;
  width: 8px;
  position: absolute;
  top: 0;
}

.badge-sonar:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 2px solid #980303;
  opacity: 0;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  animation: sonar 1.5s infinite;
}


/*--------------------------page-content-----------------------------*/

.page-wrapper .page-content {
  display: inline-block;
  width: 100%;
  padding-left: 0px;
  padding-top: 65px;
}
.footer-wm {
  color: #fff;
  background-color: #3a3f48;
}
.card-content{
  margin-right: 0px;
  width: 100%;
}

@media screen and (max-width: 768px){
  .page-wrapper .page-content{
    padding-top: 0px;
  }
  #navbar{
    display: none;
  }
  .fixed-top-basrtittle {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    min-height: 56px;
    padding-left: 50px;
    z-index: 1030;
  }
  .card-body{
    margin-top: 56px;
  }
  .sidebar-wrapper{
    margin-top: 0px;
    padding-top: 0px;
    z-index: 1100;
  }

}

/*------scroll bar---------------------*/

::-webkit-scrollbar {
  width: 8px;
  height: 7px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #525965;
  border: 0px none #ffffff;
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: #525965;
}
::-webkit-scrollbar-thumb:active {
  background: #525965;
}
::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none #ffffff;
  border-radius: 50px;
}
::-webkit-scrollbar-track:hover {
  background: transparent;
}
::-webkit-scrollbar-track:active {
  background: transparent;
}
::-webkit-scrollbar-corner {
  background: transparent;
}


/*-----------------------------chiller-theme-------------------------------------------------*/

.chiller-theme .sidebar-wrapper {
  background: #1E2224;
}

.chiller-theme .sidebar-wrapper .sidebar-header,
.chiller-theme .sidebar-wrapper .sidebar-search,
.chiller-theme .sidebar-wrapper .sidebar-menu {
  border-top: 1px solid #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text {
  border-color: transparent;
  box-shadow: none;
}

.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-role,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info .user-status,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu,
.chiller-theme .sidebar-wrapper .sidebar-search .input-group-text,
.chiller-theme .sidebar-wrapper .sidebar-brand>a,
.chiller-theme .sidebar-wrapper .sidebar-menu ul li a,
.chiller-theme .sidebar-footer>a {
  color: #818896;
}

.chiller-theme .sidebar-wrapper .sidebar-menu ul li:hover>a,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active>a,
.chiller-theme .sidebar-wrapper .sidebar-header .user-info,
.chiller-theme .sidebar-wrapper .sidebar-brand:hover,
.chiller-theme .sidebar-footer>a:hover {
  color: #fff;
  background-color: #1a95d5;
}


.sidebar-brand a:hover{
  color: #fff !important;
}

.page-wrapper.chiller-theme.toggled #close-sidebar {
  color: #bdbdbd;
}

.page-wrapper.chiller-theme.toggled #close-sidebar:hover {
  color: #ffffff;
}

.chiller-theme .sidebar-wrapper ul li:hover a i,
.chiller-theme .sidebar-wrapper .sidebar-dropdown .sidebar-submenu li a:hover:before,
.chiller-theme .sidebar-wrapper .sidebar-search input.search-menu:focus+span,
.chiller-theme .sidebar-wrapper .sidebar-menu .sidebar-dropdown.active a i {
  text-shadow:0px 0px 10px rgba(22, 199, 255, 0.5);
}

.sidebar-submenu ul{
  background: #3a3f48;
}

.chiller-theme .sidebar-wrapper .sidebar-menu .header-menu span {
  color: #6c7b88;
}

.chiller-theme .sidebar-footer {
  background: #3a3f48;
  box-shadow: 0px -1px 5px #282c33;
  border-top: 1px solid #464a52;
}

.chiller-theme .sidebar-footer>a:first-child {
  border-left: none;
}

.chiller-theme .sidebar-footer>a:last-child {
  border-right: none;
}

@media screen and (min-width: 768px) {
  .page-wrapper.toggled .page-content {
    padding-left: 300px;
  }
}


/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para el encabezado conde va el logo y nombre del sistema y nombre de usuario
 *------------------------------------------------------------------------------------------------------------------------------------
 */

.navbar {
  background: #1E2224;
  min-height: 65px;
}
.navbar-brand{
  color: #F8FFFF;
}
.navbar a:hover{
  color: #F8FFFF;
}
.sub-menu-username{
  margin: 0.8rem 0 0;
}
.text-white{
  color: #ffffff;
}
a.dropdown-item:hover{
  color: #484848;
}
@media screen and (max-width: 768px){
  #navbar{
	display: none;
  }
}

/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para las tarjetas del dashboard
 *------------------------------------------------------------------------------------------------------------------------------------
 */
/*Paneles iniciales del index*/
.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.panel-footer {
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}
.panel-heading {
  padding: 10px 20px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
.huge {
  font-size: 40px;
}
.panel-heading .panel-title{
  padding: 9px 0;
  font-size: 1em;
  line-height: 1em;
}
.panel-green {
  border-color: #28a745 ;
}
.panel-primary {
  border-color: #337ab7;
}
.panel-yellow {
  border-color: #ffc107 ;
}
.panel-red {
  border-color: #dc3545 ;
}
.panel-green .panel-heading {
  border-color: #28a745 ;
  color: #fff;
  background-color: #28a745 ;
}
.panel-primary .panel-heading {
  border-color: #337ab7;
  color: #fff;
  background-color: #337ab7;
}
.panel-yellow .panel-heading {
  border-color: #ffc107 ;
  color: #fff;
  background-color: #ffc107 ;
}
.panel-red .panel-heading {
  border-color: #dc3545 ;
  color: #fff;
  background-color: #dc3545 ;
}
.panel-green a {
  color: #28a745 ;
}
.panel-primary a {
  color: #337ab7;
}
.panel-yellow a {
  color: #ffc107 ;
}
.panel-red a {
  color: #dc3545 ;
}
.panel-green a:hover {
  color: #28a745 ;
}
.panel-primary a:hover {
  color: #337ab7;
}
.panel-yellow a:hover {
  color: #ffc107 ;
}
.panel-red a:hover {
  color: #dc3545 ;
}


/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para la tarjeta del econtenido de la pagina 
 *------------------------------------------------------------------------------------------------------------------------------------
 */
.container-fluid{
	padding-right: 0px !important;
}

/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para las tablas de datatable
 *------------------------------------------------------------------------------------------------------------------------------------
 */

.dt-buttons.btn-group{
  clear: both;
}
.dataTables_length, .dataTables_filter{
  display: inline-block;
}
.dataTables_filter{
  float: right;
}

button.dt-button, div.dt-button, button.dt-button{
  background-image:none;
}
.footer-wsm, .footer-wsm>.card {
  background-color: #3a3f48;
}
.divisor-factura{
  border: 1px dashed #6c757d; 
  height: 0; 
  width: 100%;
  display: block;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
bottom: .5em;
}

/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * para el comrpovante de abono en la Cuentas por cobrar detallada
 *------------------------------------------------------------------------------------------------------------------------------------
 */
.CaCtaXcobrarTablaData{
  display: none;
}
.CaCtaXpagarTablaData{
  display: none;
}
/*
 *------------------------------------------------------------------------------------------------------------------------------------ 
 * estilos para el sidebar del menu
 *------------------------------------------------------------------------------------------------------------------------------------
 */



@media print {
  * {
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/ 

  }
  .imp-arq {
    font-size: 10px!important;
  }
  .noimprimirFactura {
    display: none;
  }
  .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  /*para el comrpovante de abono en la Cuentas por cobrar detallada*/
  .CaCtaXcobrarTablaData{
    display: block;
  }
  .CaCtaXpagarTablaData{
    display: block;
  }
  .table .thead-active th {
    color: #000;
    background-color: rgba(0,0,0,0.075) !important;
    border-color: #454d55;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-primary th {
    color: #212529;
    background-color: #b8daff !important;
    border-color: #7abaff;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-primary > th {
    border-color: #7abaff !important;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-secondary th {
    color: #212529;
    background-color: #d6d8db !important;
    border-color: #b3b7bb;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-success th {
    color: #212529;
    background-color: #c3e6cb !important;
    border-color: #8fd19e;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-danger th {
    color: #212529;
    background-color: #f5c6cb !important;
    border-color: #ed969e;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-warning th {
    color: #212529;
    background-color: #ffeeba !important;
    border-color: #ffdf7e;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .table-info th {
    color: #212529;
    background-color: #bee5eb !important;
    border-color: #86cfda;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .bg-primary th {
    color: #212529;
    background-color: #007bff !important;
    border-color: #dee2e6;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .bg-success th {
    color: #212529;
    background-color: #28a745 !important;
    border-color: #dee2e6;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .bg-warning th {
    color: #212529;
    background-color: #ffc107 !important;
    border-color: #dee2e6;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }
  .table .bg-danger th {
    color: #212529;
    background-color: #dc3545 !important;
    border-color: #dee2e6;
    -webkit-print-color-adjust: exact !important; /*Chrome, Safari */
    color-adjust: exact !important;  /*Firefox*/
  }  blockquote {
    border: 0px !important; 
  }
}
