﻿body {
    font-family: 'Questrial', sans-serif;
    font-size: 90%;
}

md-pagination-wrapper {
    transform: none !important;
}

ng-md-icon > svg {
    display: table;
    margin: 0 auto;
}

.fullheight {
    height: 100%;
}

.fullheightcontainer {
    height: 100vh;
}

md-toolbar {
    padding-bottom: 85px;
    max-height: 85px;
}

.mainmenu-container {
    border-right-style: solid;
    border-right-color: rgb(223, 236, 250);
    border-right-width: 25px;
    font-size: 10%;
}

cf-dashboardpane > md-whiteframe {
    border-color: rgb(93, 139, 191);
    border-style: solid;
    border-radius: 4px;
    box-shadow: none !important;
}

    cf-dashboardpane > md-whiteframe > md-toolbar {
        border-bottom-style: none !important;
    }

md-sidenav {
    box-shadow: none !important;
}

.searchcriteria md-select {
    width: 175px;
    margin-right: 10px;
}

md-toolbar {
    border-bottom-color: rgb(93, 139, 191);
    border-bottom-style: solid;
}

    md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
        background-color: rgb(254,255,255);
        color: black;
    }

md-tabs.md-default-theme.md-accent > md-tabs-wrapper, md-tabs.md-accent > md-tabs-wrapper {
    background-color: rgb(41,74,130);
}

a.md-button.md-primary.md-raised, a.md-button.md-primary.md-fab, .md-button.md-primary.md-raised, .md-button.md-primary.md-fab {
    color: rgb(255,255,255);
}


button.md-warn.md-fab {
    background-color: rgb(41,74,130) !important;
    fill: white;
}

ng-md-icon.toolbaricon {
    fill: rgb(41,74,130);
}

ng-md-icon.accent {
    fill: rgb(220,160,25);
}

/*button.md-warn.md-fab > md-icon {
    fill: white;
}*/

div.searchcriteria {
    padding-left: 96px;
    padding-top: 20px;
    margin-right: 30px;
}

table.searchresults {
    margin-top: 10px;
}

    table.searchresults > thead > tr > th:first-child {
        padding-left: 91px;
        padding-right: 10px;
    }

    table.searchresults > tbody > tr > td:first-child {
        padding-left: 91px;
        padding-right: 10px;
    }

.searchcriterion {
    width: 250px;
    margin-right: 30px;
}

label {
    color: rgba(0,0,0,0.54);
    font-size: 1em;
}

tr.orderdetails td {
    padding-bottom: 2px;
}

tr.orderdetailsinfo td {
    padding-top: 2px;
}

/* Screen Info */
div.screenavailability-day {
    float: left;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

    div.screenavailability-day:nth-child(7n+2) {
        clear: left;
    }

span.screenavailability-dayheader {
    width: 80px;
    display: inline-block;
    text-align: center;
}

div.screenavailability-day-soldout {
    background-color: yellow;
}

.highlightbackground {
    background-color: yellow;
}

div.screenavailability-day-backorder {
    background-color: red;
}

div.screenavailability-day-current {
    background-color: lightblue;
}

tr.screenavailabilitywaitinglist {
    background-color: yellow;
}

tr.screenavailabilitypreempted > td {
    text-decoration: line-through;
}

/* Override angular material default.  Creates a scroolbar in cf-toolbar */
h1.md-toolbar-tools {
    padding-right: 0;
}

/* Side Nav */
div.sidenav-content {
    -ms-flex-direction: column;
    flex-direction: column;
    display: flex;
    height: 100vh;
}

    div.sidenav-content > md-content {
        flex-basis: 0;
        flex-grow: 1;
        flex-shrink: 1;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    div.sidenav-content > md-toolbar {
        height: 64px;
        -ms-flex-direction: column;
        flex-direction: column;
        display: flex;
        position: relative;
    }

        div.sidenav-content > md-toolbar > h1 {
            position: absolute;
            top: 15px;
            padding-left: 92px;
            font-size: x-large;
            font-weight: normal;
        }

md-toolbar > button.md-fab {
    position: absolute;
    float: left;
    margin-left: 20px;
    top: 50px;
}

md-toolbar * button.md-fab {
    position: absolute;
    float: left;
    margin-left: 20px;
    top: 106px;
}

md-content.sidenav-container {
    padding-top: 20px;
    padding-left: 90px;
    padding-right: 90px;
}

.toolbar-buttons {
    padding-top: 10px;
    padding-right: 20px;
    -ms-flex-direction: row;
    flex-direction: row;
    justify-content: flex-end;
    fill: rgb(41,74,130);
    display: flex;
}



/* Edit Container */
md-tabs > section > div.md-header-items-container {
    padding-left: 68px;
}

.contentcontainer {
    padding-left: 92px;
    padding-right: 92px;
    padding-top: 30px;
}



.material-select.ng-invalid.ng-touched {
    border-bottom-color: red;
}


.material-select-container {
    width: 100%;
    margin-right: 10px;
}

    .material-select-container > select {
        position: relative;
        cursor: pointer;
        color: #444;
        background-color: transparent;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.258824);
        outline: none;
        height: 3rem;
        line-height: 3rem;
        width: 100%;
        font-size: 1rem;
        margin-bottom: 8px;
        padding: 0;
        display: block;
    }

    .material-select-container > label {
        -webkit-font-smoothing: antialiased;
        -webkit-transform: matrix(0.779341963805737, 0, 0, 0.779341963805737, 0, 6.34735727310181);
        -webkit-transform-origin: 0px 0px;
        -webkit-transition-delay: 0s;
        -webkit-transition-duration: 0.25s;
        -webkit-transition-property: transform;
        -webkit-transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        box-sizing: border-box;
        color: rgba(0, 0, 0, 0.541176);
        cursor: default;
        display: block;
        font-family: RobotoDraft, Roboto, 'Helvetica Neue', sans-serif;
        font-size: 16px;
        font-weight: 500;
        height: 18px;
        order: 1;
        padding-left: 4px;
        pointer-events: none;
        transform: matrix(0.779341963805737, 0, 0, 0.779341963805737, 0, 6.34735727310181);
        transform-origin: 0px 0px;
        transition-delay: 0s;
        transition-duration: 0.25s;
        transition-property: transform;
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        width: 138.640625px;
        z-index: 1;
    }

.clickable:hover {
    cursor: pointer;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}



div.searching > div {
    height: 30px;
}

    div.searching > div > div {
        width: 100%;
    }

        div.searching > div > div > md-progress-linear {
            opacity: 0;
            -webkit-animation: fadeIn ease-in 1;
            -moz-animation: fadeIn ease-in 1;
            animation: fadeIn ease-in 1;
            -webkit-animation-fill-mode: forwards;
            -moz-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
            -webkit-animation-duration: 1s;
            -moz-animation-duration: 1s;
            animation-duration: 1s;
            -webkit-animation-delay: 1.2s;
            -moz-animation-delay: 1.2s;
            animation-delay: 1.2s;
        }

div.searching > h3 {
    text-align: center;
    opacity: .50;
    font-weight: 200;
    font-size: x-large;
}

select.ng-invalid.ng-touched {
    border-bottom: 1px solid rgb(244,67,54);
}


textarea.ng-invalid.ng-touched {
    border-bottom: 1px solid rgb(244,67,54) !important;
}

/* Fix tabs not growing to 100% */
md-tab-content {
    overflow: auto;
}

#tab-content-0 > div {
    height: 100%;
}
