﻿:root {
    --main-font: "Encode Sans", sans-serif;
}

.text-limited {
    color: #8b5eca !important;
    font-weight: bold;
}

.text-intranet {
    color: #228B22 !important;
    font-weight: bold;
}

.bn-container{
    max-width:1200px;
    margin:auto;
}

nav {
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav a {
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

nav a:hover {
    background-color: #f44336;
    color: white;
}


.hamburger, .mobile-only {
    display: none;
}

.menu-collection {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.menu-item {
    border-radius: 15px;
    padding: 8px;
    border: none;
    outline: 0;
    text-align: center;
    max-width: 130px;
}

.eyecatcher {
    font-family: var(--main-font) !important;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.vertical-table {
    display: block;
    display: flex;
    overflow-x: auto;
}

.vertical-table tbody tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.vertical-table tbody {
    width: 100%;
    text-align: center;
}

.vertical-table tbody tr:last-child {
    border-bottom: none;
}

.vertical-table tbody td {
    background-color: #f8f8f8;
    padding: 1rem;
    border: 1px solid #ddd;
    white-space: pre-wrap;
}

.vertical-table tbody td::before {
    text-decoration: underline;
    font-size: 1.1em;
}

.vertical-table tbody td:first-child::before {
    content: "Event\A\A";
}

.vertical-table tbody td:nth-child(2)::before {
    content: "Location\A";
}

.vertical-table tbody td:nth-child(3)::before {
    content: "Appointment\A";
}

.vertical-table tbody td:nth-child(4)::before {
    content: "Arrival\A";
}

.vertical-table tbody td:nth-child(5)::before {
    content: "Departure\A";
}

.vertical-table tbody td:nth-child(6)::before {
    content: "Tractor / Trailer / Piece Count\A";
}

.vertical-table tbody td:nth-child(7)::before {
    content: "Miles\A";
}

.vertical-table tbody td:nth-child(even) {
    background-color: #FAFAFA;
}

.vertical-table tbody td:nth-child(odd) {
    background-color: #ffffff;
}

.dataTables_filter {
    margin-bottom: .5rem;
    padding-right: 1.5rem;
}

.dataTables_info {
    padding-left: 1.5rem;
    font-weight: bold;
}

.dataTables_length {
    padding-left: 1.5rem;
}

.tutorial {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.placard{
    max-width:900px;
    margin:auto;
    border-radius:15px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

.hide {
    display: none;
}

.modal-table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* Overlay */
.bn-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
    z-index: 999; /* Slightly less than the modal to keep it behind */
}

.bn-loading-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    text-align: center;
    z-index: 1000;
}

.w3-modal{
    z-index:11!important;

}

.bn-loading-content {
    font-size: 16px;

}

.fa-spinner {
    font-size: 3rem;
}

.bn-loading-close {
    margin-top: 10px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

.messagelink {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    display: block;
    width: 100%;
    max-width: 900px;
    margin: auto;
    font-weight: bold;
}

.clear-button {
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
}

.button, .button-standard {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
}

/* deprecated, don't use*/
.button-thumb {
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: white !important;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.thumb-button {
    width: 50px;
    height: 50px;
    cursor: pointer;
    color: white !important;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.button-standard {
    width: 230px;
}

.button-mini {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
}

.button-mini {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 16px !important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
    width: 50px;
    width: 50px;
}

.navbar-buttons{
    display: flex;
    justify-content: space-evenly;
    flex-wrap:wrap;
    grid-row-gap:25px;
    gap:25px;
    padding:10px;
}

#divLogin {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    float: right !important;
    height: 100%;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-button {
    height: 57px;
    display: flex;
    align-items: center;
    text-align: left;
    padding: 9px;
    font-family: Verdana;
    font-size: 10px;
}

    .login-button .fa {
        vertical-align: middle; /* Align the icon vertically in the middle */
    }

    .login-button .login-text {
        margin-left: 10px; /* Add some space between the icon and text */
    }

.logged-in {
    height: 57px;
    display: flex;
    align-items: center;
    font-size: 80%;
    text-align: left;
    font-family: Verdana;
}

.button-medium {
    width: 270px;
}

i .button-medium {
    text-align: left;
}

select {
    padding: 8px;
}

.icon-aligned {
    vertical-align: middle;
    font-size: 1.5rem;
}

.bold {
    font-weight: bold;
}

.hover-pointer {
    cursor: pointer;
}

.max-width {
    max-width: 900px;
    margin: auto;
}

.TextBoxWidthSmall {
    width: 150px;
    text-align: center;
    text-transform: uppercase;
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    height: 15px;
    border-radius: 5px;
}


.slider:hover {
    opacity: 1;
}

.bn-ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0;
}

.bn-ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 5px;
    padding: 12px 20px;
    line-height: 1.5;
    word-wrap: break-word;
    background-size: 20px 20px;

    border-bottom: 1px solid #ddd;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    line-height: 1.6;
}

.w3-tag {
    margin-top: 10px;

}

@media (max-width: 700px) {

    .w3-tag {
        margin-top: 0px;
    }

    .bn-ul li {

        flex-direction: column;
        align-items: center;

    }
}

.message-center-dot-display {
    border-bottom: none;
    background-image: none;
    text-align: center;
    display: block;
    justify-content:center;
}

.subheader-list-item {
    font-weight: bold;
    margin-top: 10px;
    border: none !important;
    border-radius: 5px;
}

.tag-intranet {
    display: inline-block;
    /*transform: rotate(-20deg); Reduce the rotation for better appearance */
    background-color: green;
    color: white;
    font-size: .50rem;
    max-width: 75px;

    text-align: center;
    overflow: hidden;
    border-radius: 15px;
}

.tag-intranet i {
    font-size: 1rem; /* Adjust icon size */

    display: inline-block; /* Ensure proper alignment */
}


/* Deprecate this table class, only use bn-table moving forward*/
.table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
    font-size: 10px;
}

.bn-table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    display: table;
    font-size: 10px;
    table-layout: auto;
}

.bn-table thead th,
.bn-table thead td {
    border: none;
}

.bn-table th,
.bn-table td {
    padding: 8px;
    text-align: left;

}

/* Make the table horizontally scrollable on smaller screens, place in parent div of table */
.bn-table-wrapper {
    overflow-x: auto;
}

div:has(> .bn-table) {
    overflow-x: auto;
}

/* For smaller tables that can be used for controls / navigation */
.bn-table-small {
    margin: auto;
    border-collapse: collapse;
    
}

.bn-table-small tr {
    background-color: initial!important;
}

.bn-table-small td,
.bn-table-small th {
    padding: 12px 15px; 
    text-align: left; 
    background-color: inherit; 
}

.bn-table-small th {
    font-weight: bold;
}

.bn-table-small td:first-child {
    font-weight: bold; 
    font-size: small;
}


@media (max-width: 600px) {

    .bn-table th,
    .bn-table td {
        padding: 6px;
    }
}

.bn-table thead th,
.bn-table thead td {
    border: none;
}

.bn-table th,
.bn-table td {
    padding: 8px;
    text-align: left;
}

/* Make the table horizontally scrollable on smaller screens */
.bn-table-wrapper {
    overflow-x: auto;
}


@media (max-width: 600px) {
    .bn-table th, .bn-table td {
        padding: 6px;
    }
}


fieldset {
    max-width: 1200px;
    margin: auto;
    margin-bottom: 16px;
}

.bn-fieldset {
    padding: 5px;
    border-radius: 15px;
}

.bn-field legend {
    font-weight: bold;
    margin-left: calc(50% - 35px - 2px);
}

label{
    font-weight:bold;
}

#myBtn {
    FONT-SIZE: 18px;
    CURSOR: pointer;
    BORDER-TOP: medium none;
    BORDER-RIGHT: medium none;
    RIGHT: 30px;
    BORDER-BOTTOM: medium none;
    POSITION: fixed;
    OUTLINE-WIDTH: medium;
    PADDING-BOTTOM: 15px;
    PADDING-TOP: 15px;
    OUTLINE-STYLE: none;
    PADDING-LEFT: 15px;
    BORDER-LEFT: medium none;
    Z-INDEX: 99;
    DISPLAY: none;
    OUTLINE-COLOR: invert;
    PADDING-RIGHT: 15px;
    BOTTOM: 20px;
    border-radius: 4px;
}

/* Favorite bar */

.favorite-toggle {
    padding: 8px;
    border-radius: 50px 5px 5px 50px;
}

#favorite-bar {
    background-color: #3d3c3c;
    display: flex;
    flex-direction: column;
    width: 500px;
    right: 0;
    position: absolute;
    z-index:20;
}

#favorite-bar a {
    margin-right: 10px;
    padding: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    width: 100%;
    font-size: 13px;
}

#favorite-bar a i {
    font-size: 20px;
}

#favorite-bar:nth-child(odd), #navigation:nth-child(odd) {
    background-color: #282828;
}

#favorite-bar:nth-child(even), #navigation:nth-child(odd) {
    background-color: black;
}

#favorite-bar a:hover {
    background-color: white;
    color: black;
}

.favorites-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.close-icon {
    cursor: pointer;
    font-size: 20px;
    max-width: 40px;
}

.desktop-toggle:hover, .favorite-toggle:hover {
    background-color: gray;
    border-radius: 0;
}

.dropdown-root-link, .dropdown-root-link:hover, .dropdown-root-link:visited {
    text-decoration: none;
    color: white;
}

/* Branded coloring on hover*/
.fa-facebook-square:hover {
    color: #3b5998;
}

.fa-twitter:hover {
    color: #1DA1F2;
}

.fa-instagram:hover {
    color: #E4405F;
}

.fa-linkedin-square:hover {
    color: #0077B5;
}

.fa-youtube-play:hover {
    color: #FF0000;
}

.hamburger-container {
    display: none;
}

.logo {
    padding: 8px 4px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.toggle {
    padding: 8px;
    margin-right: 4px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
}

.bold {
    font-weight: bold;
}

.hide {
    display: none;
}

.sectionHeader {
    font-weight: bold;
}
/*Flex Box*/

.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    flex: 1;
    min-width: 300px;
}

/*Images*/

.circle-container {
    background-color: white;
    margin: 15px;
    border: 1px solid #737070;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 2px 2px black;
}

.logo-container {
    border-radius: 15px;
    border: 1px solid #737070;
    box-shadow: 2px 2px #3d3c3c;
    background-color: white;
    display: inline-block; /* Add this line to make the div size to its content */
    padding: 15px;
    margin: auto;
}

    .logo-container img {
        width: 100%;
        height: auto;
        display: block;
    }

@media screen and (max-width: 600px) {
    .bn-margin-top-small {
        margin-top: 60px;
        background-color: white;
    }
}

@media (max-width: 1050px) {
    nav {
        padding-left: 0;
    }

    .nav-mobile-hide {
        display: none !important;
    }

    .desktop-toggle {
        display: none !important;
    }

    .menu-item {
        max-width: none;
    }

    .hamburger-container {
        display: flex;
        align-items: center;
        height: 57px;
        justify-content: flex-end;
        padding: 20px;
    }

    .hamburger {
        display: inline-block;
        text-decoration: none;
        font-size: 20px;
    }

    .mobile-only {
        display: block !important;
        width: 100%;
        padding: 5px;
    }

    .mobile-center {
        margin: auto;
        height: 100% !important;
        display: block;
        text-align: center;
    }

    .flexed {
        display: flex !important;
    }

    .login-text {
        text-align: left;
    }

    .mobile-only-fullwidth {
        width: 100%;
    }

    nav {
        display: flex;
        flex-direction: column;
    }

    #favorite-bar {
        width: 100%;
    }
}

/* Forms */

.bn-form {
    max-width: 1200px;
    margin: auto;
    border: 1px solid lightgray;
    border-radius: 15px;
    padding: 15px;
    font-size: 13px;
}

.bn-form-details {
    max-width: 1200px;
    margin: auto;
    font-size: 13px;
}

.bn-row {
    padding: 4px 8px;
    margin-bottom: 10px;
}

.bn-form-item{
    display:flex;
    gap:10px;
}

.bn-check {
    width: 24px;
    height: 24px;
    position: relative;
    top: 16px;

}

textarea {
    resize:none;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.w3-spin {
    animation: w3-spin 2s infinite linear;
}

.wriggle {
    animation: wriggle-then-wait 12.5s ease-in-out infinite;
}

@keyframes wriggle-then-wait {
    0% {
        transform: translateX(0);
    }

    2% {
        transform: translateX(-2px) rotate(-1deg);
    }

    4% {
        transform: translateX(2px) rotate(1deg);
    }

    6% {
        transform: translateX(-2px) rotate(-1deg);
    }

    8% {
        transform: translateX(0);
    }

    100% { /* Maintain final position */
        transform: translateX(0);
    } 
}

/* larger size on desktop */
@media (min-width: 992px) {
    #toast-container .toast {


        min-width: 450px; /* wider box */
    }

    #toast-container .toast-title {
        font-size: 20px; /* bigger header */
        font-weight: bold;
    }

    #toast-container .toast-message {
        font-size: 18px;
    }
}

/* Font */

.masked-text {
    -webkit-text-security: square;
}

.login-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    max-width:230px;
    margin:auto;
}

.login-grid input {
    max-width: 200px;
}


