/* CODIGO CSS ADICIONAL A BOOTSTRAP */
.selectpicker {
  z-index: 215000000 !important;
}

.selectpicker .dropdown-menu {
  z-index: 215000005 !important;
}

.ui-autocomplete {
  z-index: 215000000 !important;
}

/*
.ui-autocomplete-loading {
    background: white url("http://m.gadgets.ndtv.com/static/mobile/images/loading_icon.gif") right center no-repeat;
  }
*/
.bootstrap-datetimepicker-widget {
  z-index: 215000000 !important;
}

/*Loading page*/
.jm-loadingpage {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 999999999;
  background-color: #4996FF;
  opacity: .95;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes bouncing {
  0% {
    bottom: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }

  100% {
    bottom: 50px;
    box-shadow: 0 50px 50px rgba(0, 0, 0, 0.1);
  }
}

.botonlogin {
  line-height: 80px;
}

.spinner {
  animation: rotate 0.5s infinite linear;
}

@keyframes rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.btn-apps {
  border-radius: 3px;
  position: relative;
  padding: 15px 5px;
  margin: 0 0 10px 10px;
  min-width: 80px;
  height: 60px;
  text-align: center;
  /* color: #666; */
  /* border: 1px solid #ddd; */
  /* background-color: #f4f4f4; */
  font-size: 12px;
}

.ir-arriba {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #024959;
  border-color: #024959;
  font-weight: bold;
  font-size: 25px;
  color: #fff;
  cursor: pointer;
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 215000004 !important;
}

/*Loading page*/

/*Loading page scroll infinito */
.ajax-load {
  background: #e1e1e1;
  padding: 10px 0px;
  width: 100%;
}

/*Loading page scroll infinito */

.mayus {
  text-transform: uppercase;
}

.minus {
  text-transform: lowercase;
}

.capit {
  text-transform: capitalize;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

@media (min-width: 768px) {
  .modal-xl {
    width: 90%;
    max-width: 90%;
  }
}

@media (max-width: 768px) {

  .modal-dialog-xxl {
    margin-top: 2rem !important;
    margin: 0px auto;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
  }

  .modal-xl {
    width: 90%;
    max-width: 90%;
  }

  .modal-xxl {
    width: 90% !important;
    max-width: 90% !important;
    height: 90vh !important;
    max-height: 90% !important;
  }

  .modal-xxl>.modal-content>.modal-body {
    max-height: calc(90vh - 170px) !important;
    overflow-y: auto;
    min-height: calc(90vh - 170px) !important;
  }
}


@media (min-width: 768px) {

  .modal-xxl {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    max-height: 100%;
  }

  .modal-dialog-xxl {
    margin-top: -2rem !important;
    margin: 0px auto;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
  }

  /* .modal-dialog {
    margin: 0rem auto;
  } */

  .modal-xxl>.modal-content {
    margin: 0rem auto;
    width: 100%;
    max-width: 100%;
    height: 100vh !important;
    max-height: 100%;
  }

  .modal-xxl>.modal-content>.modal-body {
    max-height: calc(100vh - 132px);
    overflow-y: auto;
    min-height: calc(100vh - 132px);
  }


}

/* .thumbnail {
  color: #3C8DBC;
  overflow: hidden;
  font-weight: lighter;
  box-shadow: 4px 4px 4px #999;
  background: linear-gradient(to bottom right, #fff, #ececec);
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
} */

.thumbnail {
  color: #3C8DBC;
  overflow: hidden;
  font-weight: lighter;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 8px 8px 16px #c4c4c4,
              -8px -8px 16px #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

/* .thumbnail i {
  --fa-primary-color: #3C8DBC;
  --fa-secondary-color: #3C8DBC;
} */

.thumbnail i {
  --fa-primary-color: #3C8DBC;
  --fa-secondary-color: #3C8DBC;
  transition: all 0.2s ease;
}

/* .thumbnail:hover {
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
  background: linear-gradient(to bottom right, #3C8DBC, #1b0e66);
  border-color: #999;
  box-shadow: 8px 2px 8px #999;
} */

.thumbnail:hover {
  transform:  scale(1.02);
  background: linear-gradient(145deg, #3C8DBC, #1b0e66);
  box-shadow: 12px 12px 24px #b8b8b8,
              -12px -12px 24px #ffffff,
              0 8px 32px rgba(60, 141, 188, 0.2);
  border-color: #3C8DBC;
}

/* .thumbnail:active {
  box-shadow: none;
  transform:  translateY(4px);
  background: linear-gradient(to bottom right, #1b0e66, #1b0e66);
} */

.thumbnail:active {
  transform: translateY(0px) scale(0.98);
  box-shadow: 4px 4px 8px #d0d0d0,
              -4px -4px 8px #ffffff;
  background: linear-gradient(145deg, #1b0e66, #1b0e66);
}

.thumbnail:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.thumbnail:hover i {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  color: linear-gradient(to bottom right, #3C8DBC, #1b0e66);
  --fa-primary-color: #FFF;
  --fa-secondary-color: #FFF;
}

.thumbnail:hover strong {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  color: #FFF;
}

.form-letra {
  font-size: 20px;
  color: black;
}

.ui-widget-content {
  font-size: 17px !important;
  color: black;
}

.sombra {
  box-shadow: 2px 2px 5px #999;
}

.btn-info {
  color: #fff;
  background-color: #4194B8 !important;
  border-color: #4194B8 !important;
}

.modal-header {
  border-bottom: 1px solid #eee;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.modal-footer {
  /*border-bottom:1px solid #eee;*/
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.modal-content {
  border-bottom: 1px solid #eee;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.box {
  -webkit-border-top-left-radius: 10px;
  -webkit-border-top-right-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-topright: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -webkit-border-bottom-right-radius: 10px;
  -moz-border-radius-bottomleft: 10px;
  -moz-border-radius-bottomright: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 2.5px 0px 1px rgb(0 0 0 / 10%) !important;
}

/*VENTANA FLOTANTE DE ATRIBUTOS EN CAJA */
.atributos {
  position: absolute;
  z-index: 10000000;
  text-align: center;
  background: #4478a0;
  margin: 13px 0 4px 4px;
  display: inline-block;
  width: 350px;
  box-shadow: 0px 0px 8px rgba(68, 140, 160, 0.5);
}

.atributos:after {
  content: "";
  opacity: 0.9;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  z-index: -5;
  border-color: rgba(170, 170, 170, 0);
}

.atributos:before {
  border-color: rgba(170, 170, 170, 0);
  border-width: 16px;
  left: 50%;
  margin-left: -16px;
}

.atributos .title {
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
  padding: 8px 16px;
  background: #5C9CCE;
  font-size: 16px;
}

.atributos .content {
  border: 1px solid #5189B5;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 4px;
  margin-top: 8px;
  padding: 8px 16px;
  background: #5C9CCE;
}

.atributos .title:first-child {
  margin-top: -4px;
}

.zoom {
  z-index: 215000000 !important;
  transition: transform 1s;
}

.zoom:hover {
  transform: scale(1.8);
}

.is-invalid {
  border-color: #dd4b39 !important;
}

.text-danger {
  color: #dd4b39 !important;
}

.modal {
  /* text-align: center; */
  padding: 0 !important;
}

.modal:before {
  content: '';
  /* display: inline-block; */
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  /* display: inline-block; */
  text-align: left;
  vertical-align: middle;
}

.fab-container {
  position: fixed;
  top: 150px;
  right: 0px;
  max-width: 300px;
  /* z-index: 215000009 !important; */
  /* z-index: 9999 !important; */
  z-index: 1049 !important;
  cursor: pointer;
  transition: all .8s ease-out;
}

.fab {
  width: 45px;
  height: 40px;
  line-height: 40px;
  background: #008cff;
  box-shadow: 0 0.3rem 0.6rem rgb(0 0 0 / 13%);
  color: #fff;
  text-align: center;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.fab-icon-holder {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.fab-icon-holder:hover {
  opacity: 0.8;
}

.fab-options {
  list-style-type: none;
  top: 0px;
  right: -300px;
  bottom: 0;
  transform-origin: 85% top;
  width: 300px;
  height: 100%;
  position: fixed;
  background: #fff;
  border-left: 0 solid #d2d2d2;
  box-shadow: 0 0.3rem 0.6rem rgb(0 0 0 / 13%);
  transition: all .8s ease-out;
  z-index: 215000000 !important;
  overflow: scroll;
}

.fab:hover+.fab-options,
.fab-options:hover {
  right: 0px;
}

.fab:hover+.fab-options:hover,
.fab-container:hover {
  right: 300px;
  max-width: 300px;
}

.fab-options li {
  display: flex;
  padding: 5px;
  padding-right: 25px;
  text-align: center;
}

.breadcrumb {
  color: #000 !important;
  font-weight: bold !important;
}

.content-header>.breadcrumb {
  font-size: 14px !important;
}

.box-header {
  background-color: rgba(9, 9, 9, 0.06) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .125);
  padding: 2px !important;
  position: relative;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  min-height: 62px;
  /* max-height: 62px; */
  /* display: flex;
  align-items: center; */
}

.box-header>h1,
.box-header>h2,
.box-header>h3,
.box-header>h4,
.box-header>h5,
.box-header>h6,
.box-header>p,
.box-header>span {
  font-size: 20px;
  font-weight: bold;
}

.box-title {
  font-size: 20px;
  font-weight: bold;
}

.btn-success {
  background: linear-gradient(to bottom right, #00A65A, #015e34);
}

.btn-danger {
  background: linear-gradient(to bottom right, #DD4B39, #991e0e);
}

.btn-info {
  background: linear-gradient(to bottom right, #4194B8, #0a6e99);
}

.btn-primary {
  background: linear-gradient(to bottom right, #3C8DBC, #075886);
}

.btn-default {
  background: linear-gradient(to bottom right, #F4F4F4, #e7e7e7);
}

.btn-warning {
  background: linear-gradient(to bottom right, #f7b346, #ff9d00);
}

.thumbnail-bar {
  color: #3C8DBC;
  overflow: hidden;
  font-weight: lighter;
  box-shadow: 4px 1px 4px #999;
  border-radius: 15px;
  padding: 5px;
  margin-bottom: 15px;

}

.thumbnail-bar strong {
  color: #FFF;
}

.thumbnail-bar i {
  --fa-primary-color: #FFFFFF;
  --fa-secondary-color: #FFFFFF;
}

.thumbnail-bar:hover {
  -webkit-transform: scale(1.03);
  -ms-transform: scale(1.03);
  transform: scale(1.03);
  border-color: #999;
  box-shadow: 0px 0px 4px 4px #999;
}

.thumbnail-bar:active {
  box-shadow: none;
  transform:  translateY(4px);
}

.thumbnail-bar:hover i {
  --fa-primary-color: #FFF;
  --fa-secondary-color: #FFF;
}

.thumbnail-bar:hover strong {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  color: #FFF;
}

.modal {
  padding-right: 0px !important;
}

.modal-title {
  text-align: center !important;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: hidden;
}

.modal-xxl {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.modal-dialog-xxl {
  margin: 0px auto;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
}

/* .modal-dialog {
  margin: 0rem auto;
} */

.modal-xxl>.modal-content {
  margin: 0rem auto;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

.modal-header {
  border-bottom: 2px solid #e9ecef !important;
}

.modal-footer {
  border-top: 2px solid #e9ecef !important;
}

/*
.modal-backdrop.in {
  opacity: 1 !important;
}
*/

.dt-buttons {
  margin-top: 10px;
  margin-bottom: 10px;
}

.select2-container {
  display: block !important;
}

.form-group-buttom {
  margin-bottom: 1px !important;
}


.error-page>.headline {
  float: left;
  font-size: 20em;
  font-weight: 500;
}

.text-warning {
  color: #ffc107 !important;
}

.error-page {
  width: 100%;
  margin: 20px auto 0 auto;
}

.error-page>.error-content>h3 {
  font-weight: 600;
  font-size: 35px;
}

.error-page>.error-content>p {
  font-weight: 500;
  font-size: 20px;
}

.select2-hidden-accessible {
  position: absolute !important;
}

.product-image {
  max-width: 450px;
  height: auto;
  width: 100%;
}

.product-image-thumbs {
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -ms-flexbox;
  display: flex;
  margin-top: 2rem;
}

.product-image-thumb {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
  border-radius: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  display: -ms-flexbox;
  display: flex;
  margin-right: 1rem;
  max-width: 7rem;
  padding: 0.5rem;
}

.product-image-thumb img {
  max-width: 100%;
  height: auto;
  -ms-flex-item-align: center;
  align-self: center;
}

.product-image-thumb:hover {
  opacity: .5;
}

.bg-gray {
  background-color: #adb5bd;
  color: #1f2d3d;
}

.box-header>.box-tools {
  right: 14px !important;
  top: 14px !important;
}

.swal2-popup {
  font-size: 1.6rem !important;
}

.modal-dialog-centered {
  display: grid;
  display: -ms-flexbox;
  display: grid;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (5.5rem * 2));
}

.table>tbody>tr>td {
  vertical-align: middle !important;
}

.form-control-checkbox {
  display: block;
  position: relative;
}

.form-control-checkbox>label {
  display: contents;
  position: relative;
}

input[type="checkbox"] {
  position: relative;
  top: 3px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
}

.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

table.dataTable > tfoot > tr > th,
table.dataTable > tfoot > tr > td {
    background-color: #4194b8;
    color: #FFF;
    font-weight: bold;
}

.select2-selection--multiple {
  border: 1px solid #d2d6de !important;
  border-radius: 0 !important;
  padding: 6px 12px !important;;
  height: 34px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
  margin: -6px !important; 
}

.fc-popover-body {
  max-height: 150px;
  overflow-y: auto;
}
.btn-dark {
  background-color: #343a40 !important;
  border-color: #343a40 !important;
  color: #fff !important;
}