body{
    position: relative !important;
}

/* Align all table items vertically */
#table td{
    vertical-align: middle;
}


/*SCROLLBAR*/
::-webkit-scrollbar {
    width: 12px;
}
/* Track */
::-webkit-scrollbar-track {
    background:lavender;
    border-left: 1px solid #999;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background:#3C4B64;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background:#303C54;
}


/* Vendor enable_selling toggle switch */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  .slider-danger{
      background-color: var(--danger);
  }

  .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: #2196F3;
  }

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

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

  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }

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

.form-check-input{
    transform:scale(1.2);
}
.form-check-label{
    user-select: none;
}

.blink{
    opacity:0.5;
    animation: blink 2s linear infinite;
}

@keyframes blink{
    /* 0%{
        opacity: 0.5;
        transform: scale(1);
    }, */
    50%{
        opacity: 1;
        transform: scale(1.3);
    }
}

.fade-in{
    animation: fadeIn 1s;
}

.show-if-trash{
    display: none;
}

.cursor-pointer{
    cursor: pointer;
}

.font-header{
    font-family: sans-serif;
    text-shadow: 0px 0px 2px rgb(147 147 147);
}
.custom-input-wrapper{
    position: relative;
}
.custom-input-label {
    z-index: 999;
    position: absolute;
    padding: 0 0 0 0.7rem;
    top: 0.5rem;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto';
}

.custom-form-input {
    height: 4rem;
    padding: 1.6rem 5px 0.5rem 0.6rem;
}

.custom-form-select {
    height: 4rem;
    padding: 1.6rem 5px 0.5rem 0.4rem;
}
.custom-textarea{
    padding: 2rem 0.6rem;
}
.custom-image-input{
    width: 7rem;
    height: 7rem;
    cursor: pointer;
    position: relative;
}
.custom-image-input img{
    height: 100%;
    width: 100%;
}

.custom-image-input {
    cursor: pointer;
    position: relative;
    height: 7rem;
    width: 7rem;
}

.custom-image-input span {
    display: none;
}

.custom-image-input:hover span {
    display: flex;
    position: absolute;
    background-color: rgba(93, 93, 93, 0.6);
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Roboto';
    color: white;
    border-radius: 50%;
    transition: background-color 0.2s ease-in-out;
}
.remove-image{
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    cursor: pointer;
    z-index: 100;
}
.settings-header{
    font-family: sans-serif;
    margin-bottom: 1rem;
}
.auto-assign-modal-button{
    cursor: pointer;
}
.loading {
    display: inline-block;
    margin-left: 5px;
    line-height: 20px;
}
.loading-content {
    border: 5px solid var(--secondary); /* Light grey */
    border-top: 5px solid var(--primary); /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
