﻿@font-face {
    font-family: 'Asap Regular';
    src: url(fonts/Asap-Regular.ttf)
}

@font-face {
    font-family: 'Asap Bold';
    src: url(fonts/Asap-Bold.ttf)
}

@font-face {
    font-family: 'Asap Medium';
    src: url(fonts/Asap-Medium.ttf)
}

@font-face {
    font-family: 'BordBia Sans Regular';
    src: url(fonts/BordBiaSans-Regular.ttf);
}

@font-face {
    font-family: 'BordBia Sans Bold';
    src: url(fonts/BordBiaSans-Bold.ttf);
}

.asap-bold {
    font-family: 'Asap Bold', Arial;
}

.asap-regular {
    font-family: 'Asap Regular', Arial;
}

.header, .footer, .dashboard {
    background: #005a5f;
}

.dashboard {
    height: 100%;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-menu-logo {
    display: flex;
    align-items: center;
}

    .header-menu-logo img {
        height: 50px;
        padding: 1rem 0;
    }

    .header-menu-logo a {
        margin-left: 40px;
    }

        .header-menu-logo a img {
            height: 70px;
        }

.header-menu-user {
    display: flex;
    flex-direction: column;
}

    .header-menu-user > div {
        margin-bottom: 0.5rem;
        color: #fff;
    }

    .header-menu-user div span {
        font-family: 'Asap Bold';
    }

    .header-menu-user a {
        text-align: center;
        font-family: 'Asap Bold';
    }

.footer .container {
    height: 70px;
    display: flex;
    align-items: center;
}

.footer .container a, .footer .container span {
    color: #fff;
    margin-left: 1rem;
    text-decoration: none;
    font-family: 'Asap Medium'
}

.login {
    background: #005a5f;
    color: #fff;
    height: 100%;
}

.SchemePicker, div.SchemePicker table, div.SchemePicker td {
    background: #005a5f;
}

.schemeBrowser, .schemeBrowserBeef, .schemeBrowserEgg, .schemeBrowserOriginGreen, .schemeBrowserMPQAS, .schemeBrowserHort, .schemeBrowserPig, .schemeBrowserDairy, .schemeBrowserPoultry,
.schemeBrowserQSystem, .schemeBrowserRetail, .schemeBrowserButcher, .schemeBrowserFeed, .schemeBrowserPVP {
    border-bottom: none;
}

.content {
    flex-grow: 2;
}

.aspNetHidden {
    display: none;
}

.form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.container {
    max-width: 90%;
    margin: 0 auto;
}

.m-t-1 {
    margin-top: 1rem !important;
}

.m-t-2 {
    margin-top: 2rem !important;
}

.m-t-3 {
    margin-top: 3rem !important;
}

.m-t-4 {
    margin-top: 4rem !important;
}

.m-t-5 {
    margin-top: 5rem !important;
}

.m-b-05 {
    margin-bottom: .5rem !important;
}

.m-b-1 {
    margin-bottom: 1rem !important;
}

.m-b-2 {
    margin-bottom: 2rem !important;
}

.m-b-3 {
    margin-bottom: 3rem !important;
}

.m-b-4 {
    margin-bottom: 4rem !important;
}

.m-b-5 {
    margin-bottom: 5rem !important;
}

.m-t-05 {
    margin-top: 0.5rem !important;
}

.m-l-05 {
    margin-left: 0.5rem !important;
}

.m-l-1 {
    margin-left: 1rem !important;
}

.m-l-2 {
    margin-left: 2rem !important;
}

.m-l-3 {
    margin-left: 3rem !important;
}

.m-l-4 {
    margin-left: 4rem !important;
}

.m-l-5 {
    margin-left: 5rem !important;
}

.m-r-05 {
    margin-right: 0.5rem !important;
}

.m-r-1 {
    margin-right: 1rem !important;
}

.m-r-2 {
    margin-right: 2rem !important;
}

.m-r-3 {
    margin-right: 3rem !important;
}

.m-r-4 {
    margin-right: 4rem !important;
}

.m-r-5 {
    margin-right: 5rem !important;
}

.m-05 {
    margin: 0.5rem !important;
}

.btn {
    padding: 0.5rem;
    border-radius: 10px;
    background-color: #fff;
    border: solid 1px #eee;
    font-weight: bold;
    text-decoration: none;
    color: black;
    min-width: 100px;
    cursor: pointer;
}

.btn-input {
    border-radius: 0 !important;
    margin-left: 0 !important;
    border-end-end-radius: 5px !important;
    border-start-end-radius: 5px !important;
    border: 1px solid #ced4da !important;
}

.btn input[type="file"] {
    display: none;
}

.btn-rounded {
    padding: 0.2rem;
    border-radius: 100%;
    background-color: #fff;
    border: solid 1px #eee;
    text-decoration: none;
    color: black;
    cursor: pointer;
    min-width: 30px;
    min-height: 30px;
}

.btn-delete {
    background-color: #CD546D;
    color: #fff;
    border: 1px solid #a44357;
}

.btn-add {
    background-color: #00A7EE;
    color: #fff;
    border: 1px solid #0085be;
}

.btn-add:hover{
    background-color: #0096d6;
}

.btn-primary {
    background-color: #008872;
    color: #fff;
}

    .btn-primary:hover {
        background-color: #199380;
    }

.btn-secondary {
    background-color: #005a5f;
    color: #fff;
}

    .btn-secondary:hover {
        background-color: #196a6f;
    }

.btn-terciary {
    background-color: #00997e;
    color: #fff;
}

.btn-export {
    background-color: #005A5F;
    color: #fff;
}

.btn-grey {
    background-color: #76777A;
    color: #fff;
}

.btn-active {
    background-color: #fff;
    color: #005a5f;
    border-color: #005a5f;
}

.no-border {
    border: none;
}

.text-center {
    text-align: center !important;
}

.text-middle {
    vertical-align: middle !important;
}

.no-p {
    padding: 0 !important;
}

.p-1 {
    padding: 1rem !important;
}

.p-03 {
    padding: 0.3rem !important;
}

.p-05 {
    padding: 0.5rem !important;
}

.background-secondary {
    background-color: #005a5f;
    color: #fff;
    border: 0;
}

.background-primary {
    background-color: #008872;
    color: #fff;
    border: 0;
}

.background-gray {
    background-color: #CCDEDF;
}

.background-white {
    background-color: #fff;
}

.border-secondary {
    border: 1px solid #005a5f;
}

.border-light {
    border: 1px solid #eee;
}

.border-t-light {
    border-top: 1px solid #eee;
}

.border-black {
    border: 1px solid #000;
}

.no-list-style {
    list-style: none;
}

.border-box {
    box-sizing: border-box;
}

.no-m {
    margin: 0 !important;
}

.box-shadow-light {
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.75);
}

.color-red {
    color: red;
}

.btn-delete-mini {
    background-color: #CD546D;
    color: #fff;
    border-radius: 100%;
    padding: 0;
    min-width: 0;
    font-size: 0.5rem;
    width: 15px;
    height: 15px;
}

.btn-group-delete {
    margin: 1rem 0;
}

.btn-group-delete input[type=submit]:nth-child(2) {
    position: relative;
    right: 15px;
    top: -15px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
}

.tabs label.menu-item {
    order: 1;
    display: block;
    padding: 1rem 2rem;
    margin-right: 0.2rem;
    cursor: pointer;
    
    background: #fff;
    color: #000;
    font-weight: bold;
    transition: background ease 0.2s;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tabs .tab {
    order: 99;
    flex-grow: 1;
    width: 100%;
    display: none;
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #99bdbf;
}

.tabs > input[type="radio"] {
    display: none;
}

.tabs > input[type="radio"]:checked + label.menu-item {
    background-color: #005a5f;
    color: #fff;    
}

.tabs > input[type="radio"]:checked + label.menu-item + .tab {
    display: block;
}

@media (max-width: 45em) {
    .tabs .tab,
    .tabs label.menu-item {
        order: initial;
    }

    .tabs label.menu-item {
        width: 100%;
        margin-right: 0;
        margin-top: 0.2rem;
    }
}

.max-width-80 {
    max-width: 80px;
}

.max-width-100 {
    max-width: 100px;
}

.max-width-150 {
    max-width: 150px;
}

.max-width-200 {
    max-width: 200px;
}

.max-width-300 {
    max-width: 300px;
}

.max-width-500 {
    max-width: 500px;
}

.max-width-600 {
    max-width: 600px;
}

.max-width-800 {
    max-width: 800px;
}

.max-width-1000 {
    max-width: 1000px;
}

.max-height-500 {
    max-height: 500px;
}

.min-height-150 {
    min-height: 150px;
}

.width-50-p {
    width: 50% !important;
}

.width-20-p {
    width: 20% !important;
}

.width-30-p {
    width: 30% !important;
}

.width-35-p {
    width: 35% !important;
}

.width-38-p {
    width: 38% !important;
}

.width-40-p {
    width: 40% !important;
}

.width-45-p {
    width: 45% !important;
}

.width-55-p {
    width: 55% !important;
}

.width-60-p {
    width: 60% !important;
}

.width-65-p {
    width: 65% !important;
}

.width-68-p {
    width: 68% !important;
}

.width-75-p {
    width: 75% !important;
}

.width-80-p {
    width: 80% !important;
}

.width-90-p {
    width: 90% !important;
}

.width-100-p {
    width: 100% !important;
}

.width-50 {
    width: 50px;
}

.width-80 {
    width: 80px;
}

.width-100 {
    width: 100px;
}

.width-160 {
    width: 160px;
}

.width-200 {
    width: 200px;
}

.width-300 {
    width: 300px;
}

.width-450 {
    width: 450px;
}

.width-600 {
    width: 600px;
}

.width-700 {
    width: 700px;
}

.width-800 {
    width: 800px;
}

.no-min-width {
    min-width: 0 !important;
}

.min-width-20px {
    min-width: 20px;
}

.min-width-30px {
    min-width: 30px;
}

.min-width-50px{
    min-width: 50px;
}

.min-width-70px {
    min-width: 70px;
}

.min-width-90px {
    min-width: 90px;
}

.min-width-200px {
    min-width: 200px;
}

.height-50 {
    height: 50px;
}

.height-100 {
    height: 100px;
}

.height-100-p {
    height: 100% !important;
}

.max-height-10 {
    max-height: 10px;
}

.font-size-1-5 {
    font-size: 1.5rem;
}

/*Components*/
.dropdown-first-item-hidden option:nth-child(1) {
    display: none;
}

.dropdown-first-item-bold option:nth-child(1) {
    font-weight: bold;
}

.dropdown-first-item-border-bottom li:nth-child(1) {
    border-bottom: 1px solid black;
}

.dropdown {
    padding: .3rem;
    min-width: 100px;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.textbox {
    padding: .3rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
}

.textbox-btn {
    margin-right: 0 !important;
    border-end-end-radius: 0px !important;
    border-start-end-radius: 0px !important;
}

.textbox:focus, .dropdown:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.hide {
    display: none;
}

/*Scrollbar Green*/
body::-webkit-scrollbar {
    width: 1em;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: #327a7e;
    outline: 1px solid slategrey;
}
/*Scrollbar Green*/

.list-style-none {
    list-style: none;
}

.test-environment {
    min-width: 100%;
    background-color: red;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    color: white;
    font-size: 1.5rem;
    padding: 0.5rem 0;
    text-align: center;
}

.fixed-header-test {
    position: fixed;
    top: 0;
    z-index: 10;
}

.d-flex-no-gap {
    gap: 0;
}

.input-group {
    display: flex;
    gap: 0;
}

.input-group-btn-delete {
    background-color: #CD546D;
    color: #fff;
    border: 1px solid #a44357;    
    border-end-end-radius: 5px;
    border-start-end-radius: 5px;
}

.input-group-input {
    border-end-end-radius: 0;
    border-start-end-radius: 0;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-30 {
    width: 30% !important;
}

.w-80 {
    width: 80% !important;
}

.w-100 {
    width: 100% !important;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.hr {
    background-color: #eee;
    border: none;
    height: 1px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.box-shadow {
    box-shadow: 0px 0px 7px -1px #000000;
}

.m-1 {
    margin: 1rem;
}

.hr {
    border: 1px solid #eee;
}

/*Toast Message*/
#toast-message {
    visibility: hidden;
    min-width: 350px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 10px;
    padding: 1rem;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 30px;
    border: 1px solid white;
    box-shadow: 0px 0px 5px 1px #eee;
}

    #toast-message.show {
        visibility: visible;
        -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
        animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 30px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

/*Toast Message*/

.color-black, .text-black {
    color: black !important;
}

.color-white, .text-white {
    color: white !important;
}

.justify-content-start {
    justify-content: start;
}

.align-items-start {
    align-items: start;
}

.align-items-end {
    align-items: end;
}

.table-header-sticky th {
    position: sticky;
    top: 0;
}

.justify-content-end {
    justify-content: end;
}

.flex-column-gap-05 {
    column-gap: .5rem;
}

.flex-column-gap-1 {
    column-gap: 1rem;
}

.flex-column-gap-2 {
    column-gap: 2rem;
}

.flex-column-gap-2px {
    column-gap: 2px;
}

.flex-row-gap-05 {
    row-gap: .5rem;
}

.flex-row-gap-1 {
    row-gap: 1rem;
}

.btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.5rem;
}

.check-radio-list-horizontal {
    list-style: none;
    display: flex;
    column-gap: 1rem;
}

.check-radio-list-horizontal li {
    display: flex;
    align-items: center;
}

.flex-row-gap-1 {
    row-gap: 1rem;
}

.white-space-pre-wrap {
    white-space: pre-wrap;
}

.bg-bordbia-green {
    background-color: #005a5f !important;
}

.bg-bordbia-green-light {
    background-color: #009c7d !important;
}

.ml-4p{
    margin-left: 4% !important;
}

.required{
    color: red;
    font-size: large;
    font-weight: bold;
    margin-right: 0.5rem;
}

.word-wrap, .word-wrap a {    
    word-wrap: break-word !important;
    word-break: break-all;
}

.text-red{
    color: red !important;
}

.text-orange{
    color: darkorange !important;
}

.text-green {
    color: #005a5f !important;
}

.loading {
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}



@-webkit-keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes spinner-grow {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    background-color: currentcolor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: .75s linear infinite spinner-grow;
    animation: .75s linear infinite spinner-grow;
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .spinner-border,
    .spinner-grow {
        -webkit-animation-duration: 1s;
        animation-duration: 1s;
    }
}

.loading .spinner-grow {
    width: 5rem;
    height: 5rem;
}

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.justify-content-around {
    -ms-flex-pack: distribute !important;
    justify-content: space-around !important;
}
.justify-content-between {
    justify-content: space-between !important;    
}
.unstyled-list{
    list-style-type: none;
}
.error-panel, .warning-panel {
    border-radius: 5px;
    padding: 0.5rem;
}
.error-panel {
    background: #CD546D;
    color: #fff;
    border: 1px solid #a44357;
}
.warning-panel {
    background: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
}

input[type="file"].file-upload {
    /* Hide the default file input button */
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-label {
    /* Style the label to look like a button */
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

/* Optional: Add hover effect */
.file-upload-label:hover {
    background-color: #3e8e41; /* Darker green */
}

/* Optional: Style the file name display */
.file-upload-file-name {
    margin-top: 10px;
    font-size: 16px;
}