body {
    /* background-color: #ccc; */
    height: 100%;
}

html {
    height: 100%;
}

.container-fluid {
    border: 1px solid #aaa;
    margin: 10px;
}

.routeSelectDark {
    background-color: #ccc;
}

.col-sm-2 {
    height: 50px;
}

.col-sm-3 {
    height: 50px;
}

.col-sm-6 {
    /*height: 50px;*/
    width: 50%;
}

.col-sm-8 {
    height: 50px;
}

.col-sm-10 {
    height: 50px;
}

#toplogo {
    padding-top: 10px;
}

#messages {
    padding-top: 19px;
    text-align: right;
    margin: 0 0 10px 0;
}

#routeSelect {
    width: 100%;
    color: #000;
    margin-bottom: 5px;
    /* background-color: #ccc; */
}

#autorefresh {
    width: 100%;
    margin-bottom: 5px;
}

#delete {
    width: 100%;
    margin-bottom: 5px;
}

#refresh {
    width: 100%;
    margin-bottom: 5px;
}

#viewall {
    width: 100%;
    margin-bottom: 5px;
}

.deletediv {
    text-align: center;
}

.autorefreshdiv {
    text-align: center;
}

.refreshdiv {
    text-align: center;
}

.viewalldiv {
    text-align: center;
}

@media only screen and (min-width: 768px) {
    .container {
        /*margin-top: 25px;*/
    }

    .deletediv {
        text-align: left;
    }

    .autorefreshdiv {
        text-align: center;
    }

    .refreshdiv {
        text-align: center;
    }

    .viewalldiv {
        text-align: right;
    }
}

#map-canvas {
    border: 1px solid #000;
    width: 100%;
    height: 100%;
    min-height: 750px;
    /*position:absolute !important;*/
}

.accuracy-filter-wrapper {
    position: relative;
    margin: 10px;
    font-family: Arial, sans-serif;
}


.accuracy-filter-button:hover {
    background: #f5f5f5;
}

.accuracy-filter-icon {
    display: inline-block;
    transform: rotate(180deg);
    font-weight: bold;
}

.accuracy-filter-dialog.is-open {
    display: block;
}

.accuracy-filter-option:hover {
    background: #f2f6ff;
}

.accuracy-filter-option input {
    margin: 0;
}

.map-filter-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin: 10px;
}



.speed-filter-wrapper {
    position: relative;
    margin: 0;
    font-family: Arial, sans-serif;
}

.speed-filter-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: #ffffff;
    color: #333333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.speed-filter-button:hover {
    background: #f5f5f5;
}

.speed-filter-svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: #333333;
}

.speed-filter-dialog {
    display: none;
    position: absolute;
    top: 0;
    right: 52px;
    width: 300px;
    padding: 14px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .35);
    z-index: 10;
}

.speed-filter-dialog.is-open {
    display: block;
}

.speed-filter-title {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
}

.speed-filter-options {
    max-height: 330px;
    overflow-y: auto;
}

.speed-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    font-weight: normal;
    color: #333333;
    white-space: nowrap;
}

.speed-filter-option:hover {
    background: #f2f6ff;
}

.speed-filter-option input {
    margin: 0;
}

.speed-filter-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
    flex: 0 0 12px;
    border: 1px solid rgba(0, 0, 0, .15);
}

.speed-filter-apply-button {
    width: 100%;
    margin-top: 12px;
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    background: #1a73e8;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.speed-filter-apply-button:hover {
    background: #1669d8;
}

#select-group {
    position: absolute;
    z-index: 9999;
    margin: 5px;
}

.circle {
    height: 8px;
    width: 8px;
    background-color: rgba(0, 204, 170, 0.6);
    border-radius: 50%;
    border: 1px solid rgba(68, 68, 68, .9);
    position: relative;
}

#mapdiv {
    height: 475px;
}

#selectuserdiv {
    margin-top: 5px;
    margin-bottom: 5px;
}

#selectroutediv {
    margin-top: 5px;
    margin-bottom: 5px;
}

#halimage {
    vertical-align: middle;
    width: 37px;
    height: 37px;
    margin-bottom: 5px;
}
.route-export-simple {
    padding: 16px 24px;
    /*border: 1px solid #cfe0f5;*/
    border-radius: 4px;
    border-left: none;
    border-right: none;
    background: #ffffff;
}

.route-export-simple-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.route-export-form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    flex-wrap: wrap;
}

.route-export-label {
    margin: 0;
    padding: 8px 12px;
    color: #007bff;
    background: #f4f8ff;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
}

.route-export-select {
    width: 220px;
    height: 44px;
    color: #1f3658;
    border-color: #c7d5ea;
    border-radius: 6px;
    font-size: 15px;
}

.route-export-combine {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #344563;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.route-export-combine input {
    width: 16px;
    height: 16px;
    margin: 0;
}

.route-export-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.route-export-actions form {
    margin: 0;
}

.route-export-button {
    min-width: 120px;
    height: 38px;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
}

.route-export-button-primary {
    color: #ffffff;
    background: #1263f1;
    border: 1px solid #1263f1;
    box-shadow: 0 4px 10px rgba(18, 99, 216, 0.22);
}

.route-export-button-primary:hover,
.route-export-button-primary:focus {
    color: #ffffff;
    background: #0f55cf;
    border-color: #0f55cf;
}

.route-export-button-outline {
    color: #1f3658;
    background: #ffffff;
    border: 1px solid #9fb3d1;
    box-shadow: none;
}

.route-export-button-outline:hover,
.route-export-button-outline:focus {
    color: #1263d8;
    background: #f8fbff;
    border-color: #1263d8;
}

@media (max-width: 991px) {
    .route-export-simple-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .route-export-actions {
        width: 100%;
        margin-left: 0;
    }

    .route-export-button {
        width: 100%;
    }
}

.route-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    /*border: 1px solid #d7e3f3;*/
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #ffffff;
}

.route-selected-count {
    color: #006df0;
    font-weight: 700;
}

.route-per-page-form {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.route-per-page-form label {
    margin: 0;
    color: #1f3658;
    font-weight: 700;
    white-space: nowrap;
}

.route-per-page-input {
    width: 90px;
    height: 38px;
    border-color: #c7d5ea;
    border-radius: 6px;
}

.route-per-page-button {
    height: 38px;
    min-width: 64px;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
}
