.justify-content_center {
    justify-content: center;
  }

.spinner {
  position: fixed;
  display: none;        
  left: 50%;
  top: 50%;
  height:160px;
  width:160px;
  margin:0px auto;
  z-index: 99999999;
}

/* Applying css spinner for safari, because Safari caches the background image and does not restart the GIF animation when visibility is toggled.  */
_::-webkit-full-page-media, _:future, :root .css-spinner-safari {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #0053d8;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner-orderstep {
  background-image: url(/static/teratioApp/orderstep/assets/img/orderstep_spinner.gif);
  background-repeat: no-repeat;
  background-size: 150px 150px;
  background-position: center center;
}

@keyframes selectize-spinner {
  to {transform: rotate(360deg);}
}

.selectize-control.loading:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 2px solid #ccc;
  border-top-color: #000;
  animation: selectize-spinner .6s linear infinite;
  z-index: 9999;
}

.overlay {
  background: #e9e9e9;  
  display: none;        
  position: fixed;   
  top: 0;               
  right: 0;             
  bottom: 0;
  left: 0;
  opacity: 0.8;
  z-index: 99999999;
}

#browserAlertDiv {
  background-color: red;
  width: 100%;
  min-height: 30px;
  z-index: 99999999;  
}

#browserAlertDiv > p {
  color: white;
  font-weight: bold;
  text-align: center;
}

.brodcastDiv {
  background-color: orange;
  width: 100%;
  min-height: 30px;
  display: flex;
  justify-content: center;
}

.brodcastDiv > p {
  /*color: black;*/
  text-align: center;
}

.brodcastDiv > a {
  /*color: black;*/
  text-align: center;
}

.brodcastDivText {
  margin-left: 15px;
  margin-bottom: 15px !important; 
  margin-top: 15px !important;
  min-width: 80vw;
}

#releaseDiv {
  background-color: green;
  width: 100%;
  min-height: 30px;
  display: flex;
}

#releaseDiv > p {
  color: white;
  text-align: center;
}

#releaseDiv > a {
  color: white;
  text-align: center;
}

.releaseDivClose {
  padding-top: 5px;
  cursor: pointer; 
  margin-left: auto; 
  margin-bottom: 15px; 
  margin-top: 15px; 
  margin-right: 20px;
  min-width: 65px;
}

.brodcastDivClose {
  cursor: pointer; 
  margin-left: auto; 
  margin-bottom: 15px; 
  margin-top: 15px; 
  margin-right: 20px;
  min-width: 65px;
}

.releaseDivText {
  margin-left: 15px;
  margin-bottom: 15px; 
  margin-top: 15px;
  min-width: 80vw;
  padding-top: 5px;
  padding-bottom: 50px;
}

.div_release_extra_30 {
  margin-top: 60px;
}

.header--sticky-animate {
  transition: transform 0.3s ease-in;
}

.header--sticky {
  position: sticky;
  top: 0;
  will-change: transform;
  transform: translateY(-100%);
}

.header--sticky-show {
  transform: translateY(0);
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 1000px) {

  .releaseDivClose {
    margin-right: 10px;
  }

  .brodcastDivClose {
    margin-right: 10px;
  }
  
}

@media (max-width: 767.98px) {

  .div_release_extra_30_header {
    top: 60px;
  }
  
  .releaseDivText {
    margin-right: 0;
    margin-left: 10px;
  }
  
  .broadcastDivText {
    margin-right: 0;
    margin-left: 10px;
  }

  #releaseDiv {
    z-index: 910;
    padding-left: 5px;
    padding-right: 5px;
  }

  .brodcastDiv {
    z-index: 910;
    padding: 5px;
    padding-left: 5px;
    padding-right: 5px;
  }

}

.number_input_no_arrows {
  -moz-appearance: textfield;
  padding: .5rem;
  text-align: right;
}

.number_input_no_arrows::-webkit-outer-spin-button,
.number_input_no_arrows::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.block_on_child_p > p {
  display: block;
}

.js-save-table-settings {
  width: -webkit-fill-available;
}

.notification .badge {
  position: absolute;
  /*top: -10px;
  right: 20px;*/
  padding: 5px 7px;
  border-radius: 50%;
  background: red;
  background-color:red;
  color: white;
}

.notification .badge-zero {
  background: #0053d8;
  background-color:#0053d8;
}

.card-header .icon {
  transition: .3s transform ease-in-out;
}
.card-header .collapsed .icon {
  transform: rotate(90deg);
}

.centered_footer {
  display: flex;  
  justify-content: center;  
  align-items: center;  
}

.p-margin-0 > p {
  margin: 0 !important
}

.modal-multi .ms-drop.bottom {
  position: relative;
  text-align: left;
}

.vendor_color:first-child {
  background-color: #EDFCF7 !important;
}

[data-toggle="collapse"].collapsed .if-not-collapsed {
  display: none;
}
[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
  display: none;
}
.collapse.show {
  display: flex;
}

.os-d-none {
  display: none;
}

.before-text-warning::before {
  color: #ffc107!important;
}

.before-text-warning.hide-icon::before {
  display: none;
}

.adjusted_price_icons_container {
  position: relative; 
  display: flex;
  right: 0;
  width: inherit;
  justify-content: end;
  
  p {
    white-space: nowrap;
    padding: 0 3px;
    margin: 5px 0 0 0 !important;
  }
}

.prices-tooltip .tooltip.bottom .tooltip-inner {
  text-align: left !important;
}

.prices-tooltip + .tooltip.bottom > .tooltip-inner {text-align: left !important;}

.tooltip-inner {
  text-align: left;
}
  
.before-text-pr-happy::before {
  color: #1BC98E!important;
}

.before-text-pr-neutral::before {
  color: #ffc107!important;
}

.before-text-pr-sad::before {
  color: #E64759!important;
}

.video-container video {
  /* Make video to at least 100% wide and tall */
  max-width: 960px; 
  max-height: 80vh; 

  /* Setting width & height to auto prevents the browser from stretching or squishing the video */
  width: auto;
  height: auto;
}


@media (max-width: 960px) {

  .video-container video {
    max-width: 80vw;
  }
  
}

.parcel_table,
.parcel_table th,
.parcel_table td {
  border: 3.5px solid #8ea2c3;
  border-radius: 0.225rem;
}

.parcel_table {
  color: #405f87;
  width: 100%;
  max-width:100%;
  padding: 0.3rem 0.5rem 0.3rem 1.5rem;
}

.parcel_table .form-field__input {
  border: none;
}

.label-modal {
  color: #405f87;
}

.label-modal .form__row {
  margin-bottom: 0.5rem;
}

.label-modal .form__item {
  margin-bottom: 0;
}

.label-modal .form-label {
  margin-top: 0.3rem;
  margin-bottom: 0;
  font-weight: 600;
}

.label-modal .form-field__custom-toggle {
  font-weight: 400;
}

.label-modal .form-field__input {
  padding: 0.3rem;
  height: unset;
}

.label-modal select {
  width:100%;
  max-width:100%;
  height: 2rem;
  color: #405f87;
  border: 3.5px solid #8ea2c3;
  border-radius: 0.225rem;
}

.label-modal .ms-parent {
  width: 100%;
}

.label-modal .ms-choice {
  width:100%;
  max-width:100%;
  height: 2rem;
  padding: 0.3rem;
  color: #405f87;
  border: 3.5px solid #8ea2c3;
  border-radius: 0.225rem;
}

.label-modal .ms-choice > span {
  top: 4px;
  left: unset;
  right: unset;
  padding-left: unset;
}

.label-modal .ms-choice > div {
  position: absolute;
  top: 4px;
  right: 7px;
  width: 20px;
  height: 25px;
}

.label-modal .ms-drop {
  color: #405f87;
  text-align: left;
}

.company-inline-edit-wrap .ms-parent {
  width: 100%;
  top: 2px;
}

.company-inline-edit-wrap .ms-choice {
  width:100%;
  max-width:100%;
  border: none;
  color: #405f87;
}

.company-inline-edit-wrap .ms-drop {
  color: #405f87;
}

#sale_detail_form .ms-parent {
  width: 100%;
}

#sale_detail_form .ms-choice {
  width:100%;
  max-width:100%;
  height: 2.5rem;
  padding: 0.3rem 0.5rem 0.3rem 1.5rem;
  color: #405f87;
  border: 3.5px solid #8ea2c3;
  border-radius: 0.225rem;
}

#sale_detail_form .ms-choice > span {
  top: 8px;
  left: unset;
  right: unset;
  padding-left: unset;
}

#sale_detail_form .ms-choice > div {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 20px;
  height: 25px;
}

#sale_detail_form .ms-drop {
  color: #405f87;
}

.table-grid {
  display: grid;
  grid-template-columns: max-content 2fr 2fr 1fr max-content 1fr max-content 1fr;
  margin-bottom: 20px;
}

.grid-item {
  padding: 5px;
  font-size: 0.875rem;
  line-height: 1.3;
}

.table-grid .grid-item p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.offer-page .table-grid .grid-item p {
  white-space: normal;
}

.grid-header-item {
  color: #7a8799;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 400;
  white-space: nowrap;
}

.grid-line-group {
  grid-column-start: 2;
  grid-column-end: span 2;
  align-items: center;
}

.grid-table-footer {
  padding: 40px 0 26px;
  display: flex;
  justify-content: flex-end;
}

.grid-table-footer .offer-card__total {
  padding: 5px;
}

.grid-column-span-2 {
  grid-column-end: span 2;
}

.grid-column-span-5 {
  grid-column-end: span 5;
}

.grid-column-span-3 {
  grid-column-end: span 3;
}

.mobile-header {
  display: none;
}

.table-grid .table-secondary__img img {
  max-width: 50px;
  width: 100%;
}

.table-grid .form-field__input {
  width: auto;
  max-width: 50px;
}

@media screen and (max-width: 900px) {
  .offer-page {
    padding: 0;
  }

  .table-grid {
    grid-template-columns: 1fr;
  }
  .grid-line-group {
    grid-column-end: auto;
    grid-column-start: auto;
  }
  .grid-column-span-2, .grid-column-span-5, .grid-column-span-3 {
    grid-column-end: auto;
  }

  .grid-item {
    display: flex;
    justify-content: space-between;
    padding: 2px;
  }

  .grid-header-item {
    display: none;
  }

  .mobile-header {
    color: #7a8799;
    font-size: 0.875rem;
    display: block;
  }

  .mobile-header-bold {
    font-weight: 900;
  }

  .grid-last-row-item  {
    border-bottom: 1px solid #7a8799;
    margin-bottom: 10px;
  }

  .grid-product-item, .grid-description-item {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .grid-table-footer {
    flex-direction: column;
    padding-top: 0;
  }

  .offer-page .table-wrap {
    width: 100%;
  }

  .offer-card__total .desc tag {
    white-space: nowrap;
  }

  .table-grid .form-field__input {
    width: auto;
    max-width: 50px;
    padding: 0;
    height: 20px;
  }
}
 
.form-dropdown-multi-single {
  width:100% ;
  max-width:100% ;
  height: 2.5rem ;
  padding: 0.3rem 0.5rem 0.3rem 0.5rem ;
  color: #405f87 ;
  border: 3.5px solid #8ea2c3 ;
  border-radius: 0.225rem ;
}

.text-show {
  opacity: 1;
  transition: all 1s ease;
}

.text-fade {
  opacity: 0;
  transition: all 1s ease;
}

.settings_list_item:hover {
  background-color: #cccccc;
}