﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}


/* Sticky footer styles
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-position: left top;
    background: #B4B4B4 url(../images/body_bg.gif) repeat left top;
}

label {
    font-weight: bold;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px;
    /* Vertically center the text there */
}

table {
    background-color: white;
}

th.searchable>input {
    width: 100px;
}

th.searchable-small>input {
    width: 50px;
}

th.searchable-big>input {
    width: 150px;
}

.services-table thead tr {
    background-color: #ff0 !important;
}

a.edit-service {
    padding: 3px;
}


.services-table th {
    font-size: 0.9rem;
    padding: .5rem 0 !important;
    vertical-align: top;
    border: 0;
    border-bottom: 0 !important;
}
.services-table td {
    padding: 3px 0 !important;
}

.services-table th.sorting {
    padding-top: -10px;
}

table.dataTable.services-table thead .sorting:before,
table.dataTable.services-table thead .sorting_asc:before,
table.dataTable.services-table thead .sorting_desc:before,
table.dataTable.services-table thead .sorting_asc_disabled:before,
table.dataTable.services-table thead .sorting_desc_disabled:before,
table.dataTable.services-table thead .sorting:after,
table.dataTable.services-table thead .sorting_asc:after,
table.dataTable.services-table thead .sorting_desc:after,
table.dataTable.services-table thead .sorting_asc_disabled:after,
table.dataTable.services-table thead .sorting_desc_disabled:after {
    top: 8px;
}


/*table.dataTable.services-table thead > tr > th.sorting { 

}*/

select {
    max-width: 100%;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
}

img.cta-icon {
    width: 24px;
}

@media (max-width: 1200px) {
    body {}
    table {
        font-size: small;
    }
    .container {
        padding: 0 0 0 0;
        max-width: 1200px;
    }
    img.cta-icon {
        width: 18px;
    }
}

.services-table {
    display: flex;
    flex-direction: column;
}

    .services-table thead {
        width: 100%;
        display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6, BB7 */
        display: -ms-flexbox; /* TWEENER - IE 10 */
        display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
        display: flex;
        justify-content: stretch;
        flex-direction: column;
    }
        .services-table thead tr {
            justify-content: space-around;
            display: flex;
        }

            .services-table thead tr th {
                font-size: 12px;
                line-height: 12px;
                align-items: center;
                display: flex;
            }

.services-table tbody {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

    .services-table tbody tr {
        justify-content: space-around;
        display: flex;
    }
        .services-table tbody tr:nth-child(2n) {
            background: #d4d4d4;
        }
        .services-table thead .service-dtp,
        .services-table thead .service-eta,
        .services-table thead .service-type {
            margin-left: 2px !important;
        }
    .services-table thead tr th img {
        margin: 0 auto;
    }
    .services-table tbody td {
        width: auto !important;
        font-size: 14px;
        line-height: 14px;
        align-items: center;
        display: flex;
        border: none;
    }

.services-table .service-location {
    min-width: 75px !important;
    width: 75px !important;
}

.services-table .service-name {
    min-width: 75px !important;
    width: 75px !important;
}

.services-table .service-vehicle {
    min-width: 65px !important;
    width: 65px !important;
}

.services-table .service-type {
    min-width: 55px !important;
    width: 55px !important;
}

.services-table .service-destination {
    min-width: 225px !important;
    width: 225px !important;
}

.services-table .service-dtp {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-dtd {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-ttp {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-eta {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-oht {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-ttc {
    min-width: 45px !important;
    width: 45px !important;
}

.services-table .service-yellow-patient,
.services-table .service-green-patient,
.services-table .service-white-patient,
.services-table .service-red-patient {
    min-width: 15px !important;
    width: 15px !important;
    text-align: center;
}

.services-table .service-override {
    min-width: 70px !important;
    width: 70px !important;
    display: flex;
    justify-content: space-between;
}
    .services-table .service-override .toggle-group label.btn.toggle-on {
        font-size: 12px;
        padding-left: 0;
    }
    .services-table .service-override .toggle-group label.btn.toggle-off {
        font-size: 12px;
        padding-right: 0;
    }
.services-table .service-edit-th {
    display: flex;
}

.services-table .service-override span {
    padding-right: 10px;
}

.services-table .service-override input[type="text"] {
    max-width: 100%;
    width: 100% !important;
    text-align: right;
}

@media (max-width: 991px) {
    .services-table {}
    .services-table .service-location {
        min-width: 75px !important;
        width: 75px !important;
    }
    .services-table .service-name {
        min-width: 55px !important;
        width: 55px !important;
    }
    .services-table .service-vehicle {
        min-width: 65px !important;
        width: 65px !important;
    }
    .services-table .service-type {
        min-width: 55px !important;
        width: 55px !important;
    }
    .services-table .service-destination {
        min-width: auto !important;
        width: 90px !important;
    }
    .services-table .service-dtp {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-dtd {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-ttp {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-eta {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-oht {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-ttc {
        min-width: 45px !important;
        width: 45px !important;
    }
    .services-table .service-yellow-patient,
    .services-table .service-green-patient,
    .services-table .service-white-patient,
    .services-table .service-red-patient {
        min-width: 15px !important;
        width: 15px !important;
        text-align: center;
    }
    .services-table .service-override {
        min-width: 60px !important;
        width: 60px !important;
    }
}

a {
    cursor: pointer;
}