body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/*Bootstap overwrites*/

.container {
    max-width: 90%;
}

.col-md-4 {
    width: 25%;
}


.glyphicon.glyphicon-ok-circle {
    color: green;
    font-size: 13px;
}

.glyphicon.glyphicon-remove-circle {
    color: red;
    font-size: 13px;
}

@media only screen and (max-width: 1000px) {
    .col-md-4 {
        width: 100%;
    }
}

/*Status Page*/

#all_station_status_list {
    font-size: 96%;
    text-align: center;
}

table#all_station_status_table tbody tr:hover {
    background: aliceblue;
    transition: 0.4s;
}

table#status_info {
    width: 30%
}

table#station_status_table {
    text-align: center;
}


table#station_config_table {
    width: max-content !important;
    max-width: max-content;
    text-align: center;
}

table#station_selective_profile_table {
    width: max-content !important;
    max-width: max-content;
    text-align: center;
}

table#station_broadband_profile_table {
    width: max-content !important;
    max-width: max-content;
    text-align: center;
}


/*Station Page*/

table#station_data_table tbody tr:hover {
    background: aliceblue;
    transition: 0.4s;
}

#chart_container {
    width: 100%
}

.stinfochart {
    width: 100%;
    height: 350px;
    
}
button.export-station.btn.btn-primary {
    float: right;
}

.data-tables .table-responsive {
    width: 100%;
    overflow-x: scroll;
}

th.station8061 {
    white-space: nowrap;
    padding: 4px;
    border-bottom: 2px solid #ddd;
}

td.station8061 {
    white-space: nowrap;
    padding: 4px;
    border-bottom: 1px solid #ddd;
}

table#station_data_table {
    text-align: center;
}

.glyphicon-ok-circle-red
{
    color:red !important;
}

.glyphicon-ok-circle-green {
    color: green !important;
}



/*Inventory Page*/
.intr-btn {
    margin: 10px 0px;
}

table#station_inventory tbody tr:hover {
    background: aliceblue;
    transition: 0.4s;
}

.intr-btn.btn-header {
    float: right;
    margin: 0px;
}

table#station_inventory tbody tr[station-status='On repair'] {
    background-color: #f2dede;
}

.modal-body.modal-grid-container {
    display: grid;
    grid-column-gap: 30px;
    grid-template-columns: auto auto auto auto;
}

@media screen and (min-width: 1000px) {
    .modal-content {
        width: 1000px;
    }
    .modal-dialog {
        width: 1000px;
    }
}


@media screen and (max-width: 768px) {
    .modal-content {
        width: 720px;
    }
    .modal-dialog {
        width: 740px;
    }
}


@media screen and (max-width: 450px) {
    .modal-content {
        width: 390px;
    }
    .modal-dialog {
        width: 450px;
    }
    .modal-body.modal-grid-container {
        display: grid;
        grid-column-gap: 30px;
        grid-template-columns: auto;
    }
}

.form-group.modal-grid-item {
    /*text-align: center;*/
}


.modal-header .close {
    margin-top: -37px !important;
    opacity: 1;
}

/*Error Pages*/
.http-errors{
    margin: auto;
}

.http-errors > h1{
    text-align: center;
}

/*Portal Backend Pages*/

#portal-pages-main .modal-body.modal-grid-container {
    grid-template-columns: max-content;
}

.form-group.col.col-sm-3.col-custom {
    width: 26%;
}

#portal-pages-main .modal-dialog {
    width: 100%;
}

#portal-pages-main .modal-content-portal-pages {
    width: 100%;
    -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    position: relative;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    outline: 0;
}

img.logo {
    width: 54px;
    float: left;
}


#drivetest-map {
    height: 660px;
}
