select {
    margin-left: 0.5rem;
    margin-top: 2px;
    width: 4rem;
    border-radius: 0.25rem;
}

select.lg {
    min-width: 10rem;
    width: auto;
    margin: unset;
    padding: 0.5rem 1rem;
}

select.lg option {
    padding: 0.25rem;
}

.add select {
    width: 100%;
    padding: 0.75em 0.5em;
    border-radius: 0;
    margin-left: 0;
}

.dataTables_filter {
    float: right;
}

.dataTables_filter label {
    width: 100%;
}

label:not(.form-check-label).header-label {
    float: right;
    padding: 0.25em;
    font-weight: normal;
}

td.delete,
td.cancelled,
td.checkedOut,
td.paused,
span.paused {
    color: #ff595e;
}

td.confirmed,
td.active,
td.checkedIn,
td.published,
td.completed,
td.succeeded,
span.published,
p.green {
    color: #06d6a0;
}
td.pending,
a.pending,
span.pending {
    color: #ffca3a;
}

td.addNewMessageButton,
th.addNewMessageButton {
    color: #007bff;
    font-weight: bold;
    font-size: 1.1rem;
}

.header-select {
    float: right;
    min-width: 10em;
    border-radius: 0.25rem;
    border: 1px solid #ced4da;
    padding: 0.25em;
}

.table {
    table-layout: fixed;
    width: 100%;
}

.table tr:hover {
    cursor: pointer;
}
.table td,
.table th {
    vertical-align: middle;
}

p.page-link:hover {
    cursor: pointer;
}

img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

img.boat-image {
    width: 200px;
    height: 100px;
    object-fit: cover;
}

img.detail-image-lg {
    width: 100%;
    height: auto;
    max-height: 20rem;
    object-fit: contain;
}

input, .yw-route-select {
    width: 100%;
    padding: 0.75em 0.5em;
}

input.md {
    width: 50%;
}

input[type="search"] {
    display: inline-block;
    width: auto;
    margin-left: 0.5rem;
}

.user-header-buttons {
    float: right;
    border-radius: 0.25rem;
    background-color: #222f79;
    color: #fff;
    outline: none;
    border: none;
    padding: 0.25rem 0.75rem;
    margin-right: 0.75rem;
}

.user-header-buttons.left {
    float: left !important;
}
.user-header-buttons:hover {
    cursor: pointer;
    background-color: #1d2764;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    color: #fff;
}

.user-buttons-container {
    overflow: auto;
}

.header-button {
    float: right;
    margin-top: 0.5rem;
    padding: 0.25rem 0.75rem;
    min-width: 10rem;
}

.content-header .container-fluid {
    overflow: auto;
}
p.btn {
    padding: 0.5rem 1rem;
}
.see-all-button {
    padding: 0.5rem 1rem;
    outline: none;
    border: 1px solid #ffca3a;
    border-radius: 0.25rem;
    color: #ffca3a;
}

.see-all-button:hover {
    cursor: pointer;
    color: #daaa26;
    border-color: #daaa26;
}

.see-all-button.green {
    color: #28a745;
    border-color: #28a745;
}

.see-all-button.green:hover {
    color: #1e8536;
    border-color: #1e8536;
}

/* Sidebar styling */
.nav-sidebar > .nav-item .nav-icon.fas {
    margin-right: 1rem;
}

.dashboardLinks {
    border-radius: 5px;
    background: rgb(9, 7, 47);
    background: linear-gradient(175deg, rgba(9, 7, 47, 1) 0%, rgba(34, 47, 121, 1) 100%);
}

.header-container {
    min-height: 4rem;
    overflow: auto;
}

.users-body-table img {
    max-height: 15rem;
}

.nav-sidebar,
.nav-sidebar:hover {
    overflow-x: hidden;
}

div.hidden {
    display: none;
}

#locations-autocomplete {
    width: 500px;
    max-height: 400px;
    overflow: auto;
    margin-bottom: 2rem;
    background: rgb(255, 255, 255);
    border: 1px solid rgb(206, 212, 218);
    border-radius: 0.25rem;
    position: absolute;
    z-index: 10;
    right: 0;
    top: 2rem;
}
p.autocomplete {
    padding: 0.5rem 1rem;
}
p.autocomplete:hover {
    cursor: pointer;
    background: #cfcfcf;
}
