#my_rides,
.my-riders {
    padding: 1rem;
    margin: 1rem;
    max-width: 1000px;
    /* min-width: 450px; */
    width: 90%;
    background-color: rgba(64, 64, 64, 0.9);
    border-radius: 0.5rem;
    margin: 1rem auto;
}

@media (max-width: 600px) {

    #my_rides,
    .my-riders {
        padding: .5rem;
        margin: 1rem auto;
        width: calc(100vw - 1rem);
    }

    .ride-header {
        margin: -.5rem -.5rem .5rem !important;
    }

    #below_top .welcome-toast {
        min-width: 0px !important;
        width: calc(100vw - 1rem) !important;
    }
}

.my-riders,
.upload-modal {
    background-color: rgba(64, 64, 64, 1);
    width: 100%;
    color: #eee;
}


.bike-menu {
    padding-right: 5px;
    padding-left: 5px;
    display: flex;
    flex-direction: column;
}

.inherit {
    display: inherit;
}

#ride_list,
#rider_list {
    margin: 1rem 0;
    display: flex;
    width: 100%;
    flex-direction: column;
}

#rider_list {
    flex-wrap: wrap;
    flex-direction: row;
}

.ride-title {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

input.ride-title,
input.ride-title:focus,
input.ride-title:active {
    padding: 0 0.25rem;
    height: 1.7rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: inherit;
    box-shadow: 0 0 4px var(--secondary);
}

.ride-card {
    background-color: rgba(48, 48, 48, 1);
    box-shadow: 1px 2px 8px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    margin-bottom: 1rem;
}

.ride-card-checkbox {
    background-color: rgba(255, 255, 255, 0.2) !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    /* margin: 1rem !important; */
}

.ride-card-checkbox:checked {
    /* background-color: var(--secondary) !important; */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%2328b2b2' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.ride-card:hover {
    background-color: rgba(40, 40, 40, 1);
}

.list-group-item {
    background-color: rgba(0, 0, 0, 0);
    border: rgba(0, 0, 0, 0);
    color: #fff;
}

.ride-svg {
    /* width: 100px; */
    max-height: 150px;
    padding: 0.25rem;
    filter: drop-shadow(2px 4px 6px black);
    /* filter: brightness(0) invert(76%) sepia(74%) saturate(293%) hue-rotate(146deg) brightness(98%) contrast(93%); */
}

.svg-spinner {
    /* width: 100px; */
    /* height: 100px; */
    /* background-color: rgb(51, 51, 51); */
    border-radius: 0.5rem;
    flex: 0 0 auto;
    cursor: pointer;
    /* box-shadow: 0 0 7px 0px #000000; */
    display: flex;
    align-items: center;
    overflow: hidden;
    /* padding: 0.5rem; */
}

.svg-spinner>.spinner-border {
    margin: 0 auto;
}

.ride-description {
    /* flex: 1 1 auto;  */
    cursor: pointer;
}

.ride-card a {
    text-decoration: none;
    color: inherit;
    /* align-items: center; */
    border-end: 1px solid #333;
    /* padding: 0.5rem; */
}

.ride-actions {
    flex: 0 0 auto;
    opacity: 0.5;
    /* padding: 0.5rem; */
}

.ride-card:hover>a:not(:hover)+.ride-actions {
    opacity: 1;
}

.dropdown-menu {
    background-color: #666;
    min-width: max-content;
}

#ride_search_group {
    position: relative;
}

#ride_search_icon {
    position: absolute;
    height: 100%;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
}

.rider-name {
    width: 100%;
    max-width: 400px;
    margin-right: 16px;
}

.dark-input,
.dark-input .Select-control {
    border: 1px solid #333;
    background-color: #333 !important;
    transition: 0.15s;
    color: #ddd !important;
    border-radius: 18px !important;
    text-align: center;
}

.dark-input .Select-value>span,
.dark-input .Select-input>* {
    color: #eee !important;

}

.dark-input .Select-input {
    background-color: #333 !important;
}

.dark-input .Select-menu-outer {
    background-color: #333 !important;
    border-color: var(--secondary);
    border-top: none;
    color: #eee;
}

.search-input {
    max-width: 380px;
    padding: 0 36px 0 36px;
    margin-right: 16px;
}

.search-clear {
    transform: translateX(-52px);
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dark-input:focus,
.dark-input:active,
.dark-input.is-focused .Select-control,
.dark-input.is-open .Select-control {
    box-shadow: 0 0 4px var(--secondary) !important;
    border: 1px solid var(--secondary) !important;
}

.dark-input.is-open .Select-control {
    border-radius: 18px 18px 0 0 !important;
}

button.margin {
    margin: 0.5rem 0;
}

button.btn.dark-button,
button.export {
    color: #eee;
    background-color: #333;
    border: none;
    display: flex;
    white-space: nowrap;
    align-items: center;
}

button.export {
    margin-bottom: 0.25rem;
    margin-top: 0.5rem;
}

button.export::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    background-image: url(icons/download.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 0.5rem;
    z-index: 1;
    filter: invert(1)
}

#rider_edit {
    margin-left: 0.5rem;
}

#rider_remove {
    margin-left: -0.5rem;
    margin-right: 0.5rem;
}

.modal-body:first-child {
    border-radius: 4px;
}

.modal.fade.show {
    display: flex !important;
    align-items: center;
}

.pagination {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.page-btn {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    font-weight: 600;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.4rem;
    padding: 0;
    cursor: pointer;
}

.page-btn:not(:first-child) {
    margin-left: 0.5rem;
}

.page-btn.active {
    background-color: var(--secondary);
    color: #000;
}

.page-btn-placeholder {
    width: 24px;
    height: 24px;
    line-height: 1.4rem;
    text-align: center;
    margin-left: 0.5rem;
}

.ride-action {
    border-radius: 4px;
    transition: .1s;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.75rem;
    display: block;
    border: none !important;
    background-color: transparent !important;
    width: 100%;
    text-align: left;
}

.ride-action:hover {
    background-color: rgba(0, 0, 0, 0.55) !important;
}

.ride-edit-btn {
    display: flex;
    align-items: center;
    background-color: var(--secondary) !important;
    border: none;
    /* color: #333 !important; */
}

.ride-delete-btn {
    display: flex;
    align-items: center;
    background-color: rgb(236, 93, 117) !important;
    border: none;
    color: #000 !important;
    font-weight: bold;
}

.cancel-edit-btn {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border: none;
}

.debug-button {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.offcanvas_btn {
    background-color: transparent !important;
    border-color: transparent !important;
}

.ride-edit-modal {
    /* min-width: 400px; */
    width: 96%;
}

.rider-card {
    background-color: rgba(0, 0, 0, 0);
    /* box-shadow: 1px 2px 8px 0px rgba(0,0,0,0.2); */
    /* padding: 1rem; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 1rem; */
    /* margin-top: 1rem; */
    flex: 0 0 auto;
    border: none;
}

.rider-card>div {
    width: 100%;
}

.rider-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    text-align: center;
    background-color: var(--secondary);
    color: #333;
    font-weight: 900;
}

.rider-description {
    margin: 0 0.5rem;
}

.warning-message {
    font-size: 1.1rem;
}

.upoad-modal .modal-content {
    width: 96%;
}

.ride-upload {
    height: fit-content;
    padding: 1rem;
    border: 1px dashed #fff;
    border-radius: 5px;
    text-align: center;
    margin: 0 0 1rem 0;
    box-sizing: border-box;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.ride-upload>div {
    width: 100%;
}

.ride-upload-label {
    min-width: fit-content;
    width: 40px;
}

.ride-upload-label .small {
    min-width: fit-content;
    width: 40px;
    font-size: "smaller";
}

.ride-upload a {
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
}

.ride-upload span {
    font-size: 1rem;
}

.dark-addon.input-group-append>span {
    margin-left: -24px;
    padding-left: 30px;
    background-color: var(--secondary);
    border-radius: 18px;
    border: none;
    color: #000;
    font-weight: bold;
}

.btn.small-dark-button {
    padding: 0 0.25rem;
    font-size: 0.8rem;
    margin-right: 0.25rem;
    background-color: #111;
    border-color: #666;
}

.btn.small-dark-button:hover {
    border-color: var(--secondary);
    color: var(--secondary)
}

.ride-header {
    border-radius: 0.5rem 0.5rem 0 0;
    margin: -1rem -1rem 1rem;
    padding: 0.5rem 1.5rem;
    background-color: #333;
    font-size: 1.2rem;
    font-weight: bolder;
}

.welcome-toast {
    margin: 1rem auto 0;
    max-width: 1000px !important;
    width: 90% !important;
    min-width: 450px !important;
    background-color: rgb(64, 64, 64, 0.8);
}

.welcome-toast .toast-header {
    background-color: #333;
    color: #eee;
    font-size: 1.2rem;
}

.welcome-toast .toast-body {
    background-color: transparent;
    font-size: 1rem;
}

button.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%)
}


.icon-text {
    color: var(--secondary);
    font-size: 2rem;
    ;
}

.span-action {
    text-decoration: underline;
    cursor: pointer;
}

.span-action:hover {
    text-decoration: underline 3px var(--secondary);
}

.locked {
    cursor: not-allowed !important;
}

.ride-detail {
    font-size: 0.8rem;
    line-height: 1.1rem;
    padding: 0rem 0rem;
}

.ride-detail>span {
    margin-right: .25rem;
    display: inline-block;
    width: 85px;
    font-weight: 600;
}

.rider-stats-table {
    margin: 1rem 0;
    font-size: 0.8rem;
}

td {
    vertical-align: middle;
    text-align: center;
}

.rider-stats-table td {
    padding: 0.25rem 0.5rem;
}

.rider-stats-input {
    min-width: 5rem;
    width: 100%;
    height: 34px;
    padding: 0 0.5rem;
    color: #eee;
    text-align: center;
    border-radius: 99999px;
    background-color: #333;
    border: 1px solid #333;
}

.rider-stats-input:focus,
.rider-stats-input:active {
    box-shadow: 0 0 4px var(--secondary) !important;
    border: 1px solid var(--secondary) !important;
}

#rider_characteristics label {
    font-size: 0.85rem;
}

.ride-warning {
    margin-left: 0.5rem;
    color: var(--secondary);
    font-size: 0.85rem;
    white-space: nowrap;
}

.input-group {
    position: relative;
}

.dark-input-icon {
    color: var(--secondary);
    height: 36px;
    line-height: 36px;
    font-size: 1.2rem;
    position: absolute;
    z-index: 9;
    margin-left: 0.5rem;
}

.dark-input-icon+input.dark-input {
    padding-left: 2rem;
}

.no-item-message {
    height: 300px;
    line-height: 300px;
    text-align: center;
    font-size: 1.2rem;
}