html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 60px;
}

body::before {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    width: 100%;
    height: 100%;
    margin-bottom: 60px;
    background-image: url('../images/background.jpg');
    background-repeat: repeat;
    background-attachment: fixed;
    opacity: 0.25; /* Adjust opacity (0 for fully transparent, 1 for fully opaque) */
    z-index: -1; /* Places the pseudo-element behind the content */
}


/* Make checkboxes more visible */

input[type="checkbox"] {
    outline: 2px solid #000;
    margin: 2px;
    border-radius: .25em;
}

/* Make radio buttons more visible */
input[type="radio"] {
    outline: 2px solid #000;
    margin: 2px;
}

/* Div for each radio button - container */
.radio-option-div {
    margin:10px;    
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-color-hover);
}

textarea {
    resize: none;
}

.textarea-label {
    padding-left:5px;
    padding-bottom:5px;
}

.span-multiline {
    white-space: pre-line;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Variables to reuse */

:root {
    --primary-green: #03ab03;
    --link-gold: gold;
    --gray-background: #767676;
    --gray-background-disabled: #a2a2a2;
    --editable-header-color: var(--link-gold);
    --link-color: #111db3;
    --link-color-hover: var(--link-gold);
}

/* Navigation bar - change opasity */
.bg-white {
    background-color: var(--primary-green) !important;
}

/* Navigation bar - Change Link text color */
.navbar-brand:hover {
    color: var(--link-gold) !important;
}
.nav-link {
    color: white !important;
}

.nav-link:hover {
    color: var(--link-gold) !important;
}

.navbar-toggler-icon {
    filter: invert(100%);
}

/* Rounded corners with a border for an image */
.rounded-image {
    border-radius: 25px;
    border: 2px solid var(--primary-green);
    padding: 20px;
}

/* Primary Button */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--gray-background);
    border-color: var(--gray-background);
}

.btn-primary.disabled {
    background-color: var(--gray-background-disabled);
    border-color: var(--gray-background-disabled);
}

.btn-primary:hover {
    color: var(--link-gold); 
}


/* Primary Text */
.text-primary {
    color: var(--primary-green) !important;
}


/* Center page title */
h1 {
    text-align: center;
}

/* Change Left menu color and style*/
.nav-item {
    margin:10px;
}

.nav-pills .nav-link.active {
    background-color: var(--primary-green);
}

.nav-pills .nav-link {
    background-color: var(--gray-background);
}

/* Table style */
.thead-primary tr th {
    color: white;
    background-color: var(--primary-green);
}

.table-col-max-width {
    max-width: 350px !important;
}

.table-col-quantity-width {
    width:28%;
}

.table-col-image-width {
    width: 160px;
}


/* Span Color for different Amounts and messages for the user  */
.span-red {
    color: red;
}

/* Image for orders (create and edit) */
.image-order {
    width: 350px;
    height: 350px;
}

.modal-image-order {
    max-width: 400px !important;
    margin: auto; /* keep it centered */
}

.editable-header-text {
    color: var(--editable-header-color) !important;
}

/* Promotions, Availability and Some Reports*/
.promo-icon {
    color: red;
}

.red-dotted-container {
    border: 2px dashed red;
    margin: 2px;
    padding:2px;
}

.black-dotted-container {
    border: 1px dashed black;
    margin: 2px;
    padding: 2px;
}

.italic-span {
    font-style: italic;
}


/* Print  */
@media print {
    .page-break {
        break-after: page;
    }
}

/* Route - Color  */
.route-color-div {
    width: 0;
    height: 0;
    border: 20px solid;
    border-radius: 10px;
}


/* Minimun size of actions column  */
.actions-column
{
    min-width:500;
}