:root {
    --header-Color: #043b7a;
    --fieldText-Color: rgba(25, 42, 132, 1);
    --flyUnderBar-Color: rgb(25, 42, 132, 1);
    --button-Color: #043b7a;
    --fieldText-Color: rgba(25, 42, 132, 1);
}

/* Set a style for all buttons */
button {
    border-radius: 5px;
    background-color: var(--button-Color);
    /* color: white; */
    color : var(--button-text-color);
    padding: 6px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
}
.button-row {
    justify-content: space-between;
    padding: 0 5px;
}
.button-holder {
    height: 50px;
    position:relative;
    width:200px;
}

button:hover {
    opacity: 0.8;
}

span.psw {
    float: right;
}

/*form*/
.form-container {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-radius: 8px;
}

.manage-form {
    background-color: var(--window-Color);
    backdrop-filter : blur(var(--blur-constant));
    -webkit-backdrop-filter : blur(var(--blur-constant));
    box-shadow: var(--box-color-constant) var(--box-constant);
    position: absolute;
    top: 58px;
    border-radius: 5px 5px 0 0;
}

.manage-form.active {
    background-color: white;
    position: absolute;
    top: 58px;
    margin: 5px;
}

/*login form header*/
.login-form-header {
    display: flex;
    flex-direction: column;
    color: white;
    background-color: var(--header-Color);
    border-radius: 5px 5px 0 0;
}

.HeaderText1.login-main-words {
    font-size: 32px;
}

.HeaderText1.login-sub-words {
    font-size: 12px;
}

.button-link-color {
    color: var(--button-Color);
}

/*form header*/
.form-header {
    display: flex;
    justify-content: space-between;
    color: white;
    background-color: var(--header-Color);
    border-radius: 5px 5px 0 0;
}

.HeaderText1 {
    padding: 10px;
    font-size: 20px;
    color: var(--header-Text-Color);
}

.HeaderText2 {
    padding: 10px 0;
    font-size: 12px;
}

.ExitButton {
    border-radius: 15px;
    height: 25px;
    width: 25px;
}

button.ExitButton {
    position: relative;
    color: #ffffff;
    /* border-radius: 25px; */
    border-color: rgba(255, 255, 255, 1);
    border-style: solid;
    background-color: rgba(0, 0, 0, 0);
    /* font-size: 20px; */
    color: #ffffff;
    outline: none;
    /* padding: 0; */
    margin: 10px;
}

.material-icons.md-12 {
    font-size: 20px;
    top: 0.5px;
    left: 0.7px;
    color: #ffffff;
}

i.material-icons {
    font-size: 20px;
    position: absolute;
    right: 0;
    bottom: 12px;
    color: var(--slider-background);
    transform: rotate(0deg);
    transition-duration: 250ms;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow-y: auto;
    max-height: calc(100dvh - 140px);
    overflow-x: hidden;
}

/* make sure all prompts stay the header color... */
.forgotpassword_subgrid > .SectionHeader, .forgotpassword_subgrid > * > .SectionHeader,
.newuser_subgrid > .SectionHeader {
    color: var(--header-Color);
}

.login_subgrid, .forgotpassword_subgrid,
.newuser_subgrid {
    padding: 10px;
}

.alert_subgrid {
    display: grid;
    grid-template-columns: auto auto auto;
    /* grid-template-columns: auto auto; */
    /* grid-template-columns: 1fr auto; */
    /* grid-template-columns: 1fr auto 1fr auto; */
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}

.invoice_subgrid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 8px;
}

.invoice-button-container {
    display:flex;
    gap:15px;
}

.alert-info-container {
    position:absolute;
    top:0px;
    left:35px;
    height:178px;
    width:220px;
    border-radius:0px 5px 5px 0px;
    border: 1px solid #cccccc;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.alert-options-container {
    position:absolute;
    top:0px;
    left:35px;
    height:178px;
    /* width:220px; */
    width: 260px;

    /* original value */
    /* width: 500px; */
    border-radius:0px 5px 5px 0px;
    border: 1px solid #cccccc;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.geofence-checkbox {
    height: 25px;
}

.alert-options-display {
    overflow-y: scroll;
    overflow-x: hidden;
    /* padding-left: 15px; */
    padding-left: 10px;
    padding-top: 5px;
}

.alert-start-end-options {
    display:flex;
    /* justify-content: space-around; */
}

.alert-rec-open-sesame {
    z-index: 9999999;
}

.alert-geo-checkbox-container {
    display:flex;
    flex-direction:column;
}

.alert-geo-speed-container {
    display:flex;
}

.alert-geo-speed-details {
    padding-right:8px;
}

.alert-ign-checkbox {
    display: block;
    height: 20px;
}

i.material-icons.md-12.alert-recipient-icon {
    top: 4px;
}

.devices_subgrid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}
.maintenance_subgrid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}
.manage_subaccounts_subgrid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}
.manage_subaccount_list, .manage_subaccount_listselect{
    height: 480px;
    width: 200px;
}
.maintenance-detail{
    height: 270px;
}

.form-row{
    display: flex;
    gap: 10px;
}
.form-row-static{
    display: flex;
}
.centered{
    align-items: center;
}
.form-full{
    width: 100%;
}
.form-full > div{
    width: 100%;
}
.form-half{
    width: 50%;
}
.form-half > div{
    width: 100%;
}
.form-one-third{
    width: 33%;
}
.form-two-third{
    width: 67%;
}
/* .contact_subgrid .form-half > div {
    width: 100%;
} */

.contact_notify {
    display:flex;
    justify-content:center;
    padding-top:5px;
}

.contact_notify label {
    padding: 0 5px;
}

.contact_inputs {
    min-width: 420px;
}
.address_inputs {
    min-width: 420px;
}

.contact_subgrid,
.address_subgrid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}
.recent_subgrid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}

.addcard_subgrid {
    display: grid;
    grid-template-columns: auto;
    /* gap: 10px; */
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}

.history_subgrid {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden;
    padding: 8px;
}

.history-checkbox-container {
    display: flex;
}

.history-checkbox-section {
    display: flex;
    flex-direction: column;
}

.history-checkbox-section label.TextInput {
    height: 25px;
}

.playback-controls {
    /* height: 50px; */
    display: flex;
    flex-direction: column;
    /* padding-left: 5px; */
    padding: 0 5px;
}

button.history-button {
    position: relative;
}

#runHistoryButton {
    width: 200px;
}

.play-history {
    /* bottom: 0;
    left: 0; */
    bottom: unset;
    left: unset;
}

/* need complexity to override existing rules */
i.history.history-icon, .history-icon {
    font-size: 28px;
}

.playback-buttons-container {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    width:375px;
}

.playback-buttons-left-section {
    display:flex;
    flex-direction: row
    ;width:110px;
    justify-content:space-between;
}

.playback-buttons-speed-section {
    display:flex;
    flex-direction: row;
    align-items:center;
}

.reportmanager_subgrid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}

.reportmanager-checkbox-container {
    display: flex;
    flex-direction: column;
}

.reportmanager-checkbox-row {
    display:flex;
}

/* .reportmanager-checkbox-container label.TextInput {
    height: 25px;
} */
.reportmanager-checkbox-row label.TextInput {
    height: 25px;
}

.run-report-params {
    height: 110px;
    width: 550px;
    border-radius: 0px 5px 5px 0px;
    border: 1px solid #cccccc;
    background-color: transparent;

    overflow: hidden;
}

.run-report-options {
    padding: 15px;
}

button#submitReport.run-report-submit {
    width:200px;
    position:relative;
    float:right;
}

/* .FieldText {
    color: var(--fieldText-Color);
    font-size: 14px;
} */

thead{
    background-color: var(--header-Color);
    color: var(--header-Text-Color);
}
.maintDateHdr{
    left: 5px;
}
.maintMilesHdr{
    left: 125px;
}
.maintHoursHdr{
    left: 210px;
}
.maintCostHdr{
    left: 300px;
}
.maintNotesHdr{
    left: 347px;
}
th#Date {
    width: 14%;
}
/* th#DeviceName {
    width: 5%;
} */
th#MaintMileage {
    width: 12%;
}
th#MaintHours {
    width: 12%;
}
th#Cost {
    width: 12%;
}
th#Notes {
    width: 50%;
    padding: 0 0 0 8px;
}
#recent-detail-section{
    width: 800px;
}
#AddressMarkerImg{
    height: 50px;
}

/* My Account */
.gpst-default-main-container {
    width: 500px;
    /* height: 500px; */
    height: 450px;
    display:flex;
    flex-direction: row-reverse;
}
.gpst-view-container {
    width: 375px;
    overflow-y: hidden;
}
.gpst-slide-settings {
    color : black;
    /* background-color: white; */
    display: block;
}
.gpst-slide-settings.gpst-flex-slide {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    padding-top: 10px;
}
.slider-indicators button {
    width: 110px;
}
.slider-indicators {
    position: unset;
    justify-content: unset;
    flex-direction: column;
}
.gpst-slider.slider-indicators-outside .slider-indicators {
    margin-bottom: unset;
}
.slider-indicators button {
    line-height: 2;
}

.input-slider-container {
    height: 40px;
    /* gap: 5px; */
}

.account-tabs {
    height: 190px;
}

.account-window-table {
    border-collapse: collapse;
    width:100%;
    white-space: nowrap;

    color: black;
}

.special-slide-button {
    width:100px;
    height:30px;

    /* override the button.ripple absolute rule... */
    position:relative !important;
}

.personalize-input,
.form-half > div.personalize-input {
    width: 150px;
    position: relative;
    /* font-size: 12px; */
}

.form-half > div.personalize-input input {
    font-size: 12px;
}

.account-table-header{
    background-color: var(--header-Color);
    color: var(--header-Text-Color);
}

.account-table-center {
    text-align: center;
}

.modal-buttons-container {
    display:flex;
    justify-content:space-around;
}

.resetpassword_subgrid {
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
    /* overflow-y: auto;
    max-height: calc(100vh - 140px);
    overflow-x: hidden; */
    padding: 8px;
}

.weather_subgrid {
    padding: 15px;
    text-align: center;
    color: black;
}

.weather-legend-words {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 62rem) {
    .gpst-view-container {
        width: 100%;
    }

    .account-active-header {
        width: 10%;
    }

    .account-flag-header {
        width: 25%;
    }
    .account-device-header {
        width: 25%;
    }
}

@media (max-width: 901px) {
    .devices_subgrid, .contact_subgrid, 
    .alert_subgrid, .reportmanager_subgrid,
    .address_subgrid, .history_subgrid,
    .manage_subaccounts_subgrid, .invoice_subgrid {
        grid-template-columns: 1fr;
        /* Single column for smaller screens */
    }
    .manage_subaccount_list, .manage_subaccount_listselect{
        height: 200px;
    }
}
@media (max-width: 800px) {
    #recent-detail-section{
        width: 600px;
    }
}
@media (max-width: 700px) {
    .maintenance_subgrid, .alert_subgrid {
        grid-template-columns: 1fr;
    }
    
}
@media (max-width: 650px) {

}
@media (max-width: 600px) {
    #recent-detail-section{
        width: 400px;
    }
}
@media (max-width: 580px) {
    /* .maintenance_subgrid {
        grid-template-columns: 1fr;
    } */
    .form-row{
        flex-direction: column;
    }
    .form-half, .form-one-third, .form-two-third {
        width: 100%;
    }
    .maintenance-detail{
        height: 380px;
    }
    .contact_notify {
        justify-content: flex-start;
    }
    .maintMilesHdr{
        display: none;
    }
    .maintHoursHdr{
        display: none;
    }
    .maintCostHdr{
        display: none;
    }
    .maintNotesHdr{
        left: 125px;
    }

    .contact_inputs, .address_inputs {
        min-width: unset;
    }
    .run-report-params {
        width: 250px;
    }

    button#submitReport.run-report-submit {
        float: unset;
    }

    .gpst-default-main-container {
        width: 350px;
    }

    /* .input-slider-container {
        height: unset;
    } */

    .personalize-slide .form-row {
        flex-direction: row;
    }
}
@media (max-width: 400px) {
    #recent-detail-section{
        width: 340px;
    }
    .playback-buttons-container {
        width: unset;
    }
}

