main {
  min-height: calc(100vh - 265px);
  align-items: center;
  /*display: flex;*/
}
a {
  color: #fa4334;
  text-decoration: none;
}
a:hover {
  color: #d75a4f;
  text-decoration: underline;
}
.btn-primary {
  background-color: #fa4334;
  border-color: #fa4334;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
  background-color: #d75a4f;
  border-color: #d75a4f;
}
#copyright {
  background: #191b1e;
  color: #ccc;
  /* padding: 20px 0; */
  font-size: 12px;
}
.btn-link {
  color: #fa4334;
}
.btn-link:hover {
  color: #d75a4f;
}

/* BARCODE PAGE */
.card {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  border: 0;
}

.card-header {
  padding: .75rem 1.25rem;
  margin-bottom: 0;
  background-color: rgba(0,0,0,.03);
  border-bottom: 0;
}

.show-form {
  cursor: pointer;
}

.show-card {
  /* border: 1px solid #000; */
  border-radius: 5px;
  padding: 5px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

a.show-card {
  color: inherit;
}

a.show-card:hover {
  text-decoration: none;
}

.show-title {
  font-size: 24px;
  font-weight: bolder;
  border-bottom: 1px solid #e2e2e2;
  margin-bottom: 10px;
  padding-bottom: 5px;
  height: 3.5em;
  display: table;
  width: 100%;
  overflow-y: hidden;
}

.show-title p {
  display: table-cell;
  vertical-align: middle;
}

span.quantities {
  font-size: 18px;
  color: #fa4334;
  font-weight: bolder;
}

.show-title > .dates {
  margin: 6px 0;
  font-size: 16px;
}

.show-info {
  padding: 0 15px;
}

.link {
  color: #fa4334;
  font-weight: bolder;
  font-size: 18px;
}

.group-barcode {
  width: fit-content;
  width: -moz-fit-content;
}

.title {
  color: #fa4334;
  text-decoration: underline;
}

/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.table-fixed tbody {
  height: 300px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
  /* display: block; */
}

.table-fixed tbody td,
.table-fixed tbody th,
.table-fixed thead > tr > th {
  /* float: left; */
  position: relative;

  &::after {
    content: '';
    clear: both;
    display: block;
  }
}

/*
*
* ==========================================
* CUSTOM LOADING MODAL CLASSES
* ==========================================
*
*/
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fa4334;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
  transform: scale(0);
  }
  100% {
  transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
  transform: scale(1);
  }
  100% {
  transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
  transform: translate(0, 0);
  }
  100% {
  transform: translate(24px, 0);
  }
}

/*
*
* ==========================================
* CUSTOM CLASSES
* ==========================================
*
*/
.custom-file-input:lang(es) ~ .custom-file-label::after {
  content:"Elegir"
}
.modal {
  overflow-y: auto;
}
.modal.show < #app {
  overflow: hidden;
}
.table-separator {
  background-color: #d75a4f;
  height: 5px;
}
.form-control[type="checkbox"], .form-control[type="radio"] {
  max-width: 25px;
}
.btn-outline-roco {
  color: #fa4334;
  background-color: transparent;
  background-image: none;
  border-color: #fa4334;
}
.btn-outline-roco:hover {
  color: #fff;
  background-color: #fa4334;
  border-color: #fa4334;
}
.item-alert {
  font-size: 1rem;
}
.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #fa4334;
  border-color: #fa4334;
}
#ocModal {
  z-index: 9999;
}
#ocSeeModal {
  z-index: 9999;
}
#messageModal {
  max-height: 100vh;
  overflow-y: scroll;
  z-index: 10000;
}
#ocQuestionModal {
  z-index: 10001;
}
#loadingModal {
  z-index: 10005;
}

@media (min-width: 991px) {
  .modal-dialog {
    max-width: 900px;
  }
}

/*
*
* ==========================================
* CUSTOM SWITCH BUTTON
* ==========================================
*
*/
/*.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}*/
.switch {
  position: relative;
  /*display: inline-table;*/
  width: 80px;
  height: 34px;
  margin: .5rem 0;
  /*margin: .5rem auto;*/
  padding: 0 41px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #fa4334;
  /*padding-left: 0;
  padding-right: 22px;*/
  padding-left: 5px;
  padding-right: 40px;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(45px);
  -ms-transform: translateX(45px);
  transform: translateX(45px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
  padding-left: 22px;
  line-height: 34px;
  color: #fff;
  font-weight: bolder;
}

.slider.round:before {
  border-radius: 50%;
}

/*
*
* ==========================================
* CUSTOM SWITCH BUTTON
* ==========================================
*
*/
@media (min-width: 768px) {
  .border-md-top {
    border-top: 1px solid #dee2e6!important;
  }
  .border-md-right {
    border-right: 1px solid #dee2e6!important;
  }
  .border-md-bottom {
    border-bottom: 1px solid #dee2e6!important;
  }
  .border-md-left {
    border-left: 1px solid #dee2e6!important;
  }
}

/*
*
* ==========================================
* CUSTOM SEPARATOR
* ==========================================
*
*/
.separator-line-detail {
    border-top: 1px solid #fa4334;
}

/*
*
* ==========================================
* CUSTOM TEXT COLOR
* ==========================================
*
*/
.text-color {
    color: #fa4334;
}

/*
*
* ==========================================
* CUSTOM MAGICZOOM
* ==========================================
*
*/
div#zoom-fig > a[id^='product_image_'] > figure.mz-figure > span[id^='crMz'],
div#zoom-fig > a[id^='product_image_'] > figure.mz-figure > div[id^='crMz'],
div#zoom-fig > [id^='product_image_'] > figure.mz-figure > [id^='crMz'],
div.mz-expand > span[id^='crMz'] > a[id^='mzCr'],
div.mz-expand > div[id^='crMz'] > a[id^='mzCr'],
div.mz-expand > span[id^='crMz'] > div[id^='mzCr'],
div.mz-expand > div[id^='crMz'] > div[id^='mzCr'],
div.mz-expand > [id^='crMz'] > [id^='mzCr'] {
  display: none !important;
}
div.mz-expand > span[id^='crMz'] > a[id^='mzCr'] {
    display: none !important;
}