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 {
  margin-bottom: 60px;
}

.text-1stwarning {
    --bs-text-opacity: 1;
    color: #E1AD01 !important;
}
.addedto {
    padding: 10px;
    margin-left: -50px;
    color:white;
    background-color:royalblue;
}

/* create an arrow that points up */
div.arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent; /* left arrow slant */
    border-right: 8px solid transparent; /* right arrow slant */
    border-bottom: 8px solid royalblue; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
    margin-left:12px;
}

/* create an arrow that points down */
div.arrow-down {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2f2f2f;
    font-size: 0;
    line-height: 0;
}

/* create an arrow that points left */
div.arrow-left {
    width: 0;
    height: 0;
    border-bottom: 5px solid transparent; /* left arrow slant */
    border-top: 5px solid transparent; /* right arrow slant */
    border-right: 5px solid #2f2f2f; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
}

/* create an arrow that points right */
div.arrow-right {
    width: 0;
    height: 0;
    border-bottom: 5px solid transparent; /* left arrow slant */
    border-top: 5px solid transparent; /* right arrow slant */
    border-left: 5px solid #2f2f2f; /* bottom, add background color here */
    font-size: 0;
    line-height: 0;
}

div.tooltip {
    /* tooltip content styling in here; nothing to do with arrows */
}

/* shared with before and after */
div.tooltip:before, div.tooltip:after {
    content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    border: 10px solid transparent; /* arrow size */
}

/* these arrows will point up */

/* top-stacked, smaller arrow */
div.tooltip:before {
    border-bottom-color: #fff; /* arrow color */
    /* positioning */
    position: absolute;
    top: -19px;
    left: 255px;
    z-index: 2;
}

/* arrow which acts as a background shadow */
div.tooltip:after {
    border-bottom-color: #333; /* arrow color */
    /* positioning */
    position: absolute;
    top: -24px;
    left: 255px;
    z-index: 1;
}

body {
    margin-bottom: 60px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}


/*removes the main Farmers logo in the meu bar*/
@media (max-width: 990px) {

    #mainLogo:not(.collapsed) {
        visibility: hidden;
        display: none;
    }

    /*changes the color of the nav bar background to white when it gets smaller*/
    .navbar-expand-lg {
        background-color: #ffffff !important;
    }

    .menu-title {
        padding: 10px;
    }

    .nav-item {
        border-bottom: thin;
        border-bottom-style: solid;
        border-color: lightgray;
    }

    .navbar-nav{
        align-items:flex-start !important;
    }
}
/*allows for the menu bar to be centered and adds padding*/
@media (min-width: 990px) {
/*    .navbar-brand:not(.collapsed) {
        display: none;
    }
*/
    .nav-item > :not(#farmersImg) {
        padding-top: 20px;
    }

    .navbar-nav {
        align-items: center !important;
    }
}

/*menu container*/
#hcontainer {
    background-color: #ffffff;
    padding: 25px;
    transition: padding 0.4s, background-color 0.4s;
}


/* Style changes for the navbar after scrolling */
.navbar-scrolled {
    /*padding: 35px;*/ /* Adjust the padding as needed */
    background-color: #ffffff; /* Change the background color as needed */
}

.navbar-nav li {
    display: inline-block; /* Making the ul inline-block so that it centers horizontally */
    padding-right: 40px;
}

#loginUl li {
    display: inline-block; /* Making the ul inline-block so that it centers horizontally */
    padding-right: 10px;
}
/*styles the li on the menu bar*/
.menu-title {
    display: block;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}


/*changes the color of just the login name on the menu bar*/
p .menu-title {
    color: #002b5c;
}

/*adjusts margins on the larger Farmers logo on the menu bar*/
#farmersImg {
    margin-left: 30px;
    margin-right: 30px;
}


/*adds the underline feature to the nav bar*/
.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #002b5c;
}

    .hover-underline-animation::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0); /*initially hide the pseudo-element*/
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #002b5c;
        transform-origin: bottom left;
        transition: transform 0.25s ease-out;
        text-decoration: none;
    }


    .hover-underline-animation.underline-blue::after {
        background-color: #002b5c; /* Blue color */
    }

    .hover-underline-animation.underline-white::after {
        background-color: #ffffff; /* white color */
    }

    .hover-underline-animation:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }


/*Removed borders around the hamburger button on menu*/
.navbar-toggler {
    border: none;
}

    /*Removed borders around the hamburger button on menu*/
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0;
        border: none;
    }

/*button that appears when the menu is collapsed*/
.bar1, .bar2, .bar3 {
    width: 25px;
    height: 2px;
    background-color: red;
    margin: 3px 0;
    transition: 0.4s;
}

.change .bar1 {
    transform: translate(0,0px) rotate(-35deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -10px) rotate(35deg);
}

.btn-primary {
    background-color: transparent;
    border: solid 1px #002B5c;
    color: #002B5c;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-family: 'Roboto', sans-serif;
}

.btn-primary:hover {
    /* background-color: transparent;*/
    border: solid 1px black;
    color: white;
    transition: all .1s ease-in-out;
    /*     font-weight: 600;*/
    background-color: #002B5c;
}

.menu-footer {
    display: block;
    background-color: #002b5c;
    padding-bottom: 15px;
    padding-top: 15px;
}

.menu-footer-div {
    text-decoration: none;
    color: #ffffff;
}

.menu-footer-div:hover {
    text-decoration: none;
    color: #ffffff;
}

/*Sticks Transaction History Header in Place on Home Page*/
.sticky-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.bi-trash-fill:hover {
    color: red;
}

th.text-nowrap:hover {
    cursor: pointer;
}

/*keeps the header of the Tickets Past 18 months at the top */
.sticky-top {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.sticky-foot {
    position: sticky;
    bottom: 0;
    background-color: white;
    z-index: 1;
    margin-bottom: 3px;
}

/*allows for the border around the table header to stay while it is sticky*/
.table-border-show {
    border-collapse: separate;
    border-spacing: 0;
}

/*wrapped table Tickets Past 18 month and made adjustments to bootstrap*/
.table-responsive-md {
    overflow-y: auto;
    max-height: 675px; /* Adjust as needed */
}

.bi-caret-left-fill {
    color: white;
}

@media (max-height: 860px) {
    .table-responsive-md {
        max-height: 600px; /* Adjust as needed */
    }
}

/*ipad pro vertical*/
@media all and (device-width: 1024px) {
    .table-responsive-md {
        max-height: 1100px; /* Adjust as needed */
    }
}
/*ipad pro horizontal*/
@media all and (device-width: 1366px) {
    .table-responsive-md {
        max-height: 770px; /* Adjust as needed */
    }
}

@media all and (device-width: 390px) {
    .table-responsive-md {
        max-height: 770px; /* Adjust as needed */
    }
}

/*Customize Customer DropDown*/
#myUL {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: absolute; /* Make the dropdown float */
    top: 100%; /* Align directly below the input */
    left: 0; /* Align with the input field's left edge */
    width: 100%; /* Match the width of the input field */
    z-index: 1000; /* Ensure it appears on top of other elements */
    background-color: white; /* Ensure the dropdown is distinct */
    border: 1px solid #ddd; /* Add a border for visibility */
    max-height: 500px; /* Limit the height to avoid long lists */
    overflow-y: auto; /* Add scroll if the list exceeds the height */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for a dropdown effect */
}

    #myUL li a {
        border: 1px solid #ddd;
        margin-top: -1px; /* Prevent double borders */
        background-color: #f6f6f6;
        padding: 12px;
        text-decoration: none;
        font-size: 18px;
        color: black;
        display: block;
    }

        #myUL li a:hover:not(.header) {
            background-color: #eee;
            cursor: pointer;
        }

    #myUL li.highlight a {
        background-color: #ddd; /* Highlight background */
        color: #000; /* Text color */
    }

#throbber {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000; /* Ensure it's on top of other elements */
    background-color: rgba(255, 255, 255, 0.8); /* Optional: Add a semi-transparent background */
    padding: 10px;
    border-radius: 50%;
    display: block; /* Ensure it's visible by default */
}

.table-morecondensed > thead > tr > th,
.table-morecondensed > tbody > tr > th,
.table-morecondensed > tfoot > tr > th,
.table-morecondensed > thead > tr > td,
.table-morecondensed > tbody > tr > td,
.table-morecondensed > tfoot > tr > td {
    padding: 2px;
}