﻿
/*  Link 50 CSS */

/* Bootstrap Overrides */

.calDateFrom, .calDateTo .ajax__calendar_container {
    background-color: #ffffff;
}

.calDateFrom, .calDateTo .ajax__calendar_active {
    background-color: lightblue;
}

.calDateFrom, .calDateTo .ajax__calendar_body {
    background-color: #ffffff;
}

.calDateFrom .ajax__calendar_hover .ajax__calendar_day, .calDateFrom .ajax__calendar_hover .ajax__calendar_month, .calDateFrom .ajax__calendar_hover .ajax__calendar_year, .calDateFrom .ajax__calendar_active {
    color: #004080;
    background-color: lightblue;
    font-weight: normal;
    }

.calDateFrom .ajax__calendar_today {
    font-weight: bold;
    }

.calDateTo .ajax__calendar_hover .ajax__calendar_day, .calDateTo .ajax__calendar_hover .ajax__calendar_month, .calDateTo .ajax__calendar_hover .ajax__calendar_year, .calDateTo .ajax__calendar_active {
    color: #004080;
    background-color: lightblue;
    font-weight: normal;
}

.calDateTo .ajax__calendar_today {
    font-weight: bold;
}

html {
    overflow: -moz-scrollbars-vertical;
    overflow: scroll;
}

h3.header {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #428BCA;
}

html, body {
    height: 100%;
}

body {
    padding: 50px 0 0 0;
}

table {
    table-layout: fixed;
}

iframe {
    overflow-x: hidden !important;
    overflow-Y: hidden !important;
    width: 100vw;
    height: 56.25vw;
    padding: 0;
    margin: 0;
    border: none;
}

.pagination {
    margin: 0px !important;
}




/* Move the nav outside of the slide menu  */

.nav-tight {
    margin-left: 0px;
}

    .nav-tight > li > a {
        padding: 10px;
    }

.navbar-toggle {
    float: left;
    margin: 0px;
}

.navbar-brand {
    padding: 7px;
}

.navbar-nav > li {
    margin: 0px;
    padding: 30px 5px 0px 0px;
}

    .navbar-nav > li > a {
        margin: 0px;
        padding: 0px 15px 0px 15px;
    }

@media (min-width: 0) {
    .navbar-toggle {
        display: block; /* force showing the toggle */
    }
}

@media (min-width: 992px) {
    body {
        padding: 0;
    }

    .navbar {
        right: auto;
        background: none;
        border: none;
    }
}



.table-hover > tbody > tr > .active:hover, .table-hover > tbody > .active:hover > td, .table-hover > tbody > .active:hover > th {
    background-color: #E8E8E8;
}

.table > thead > tr > .success, .table > tbody > tr > .success, .table > tfoot > tr > .success, .table > thead > .success > td, .table > tbody > .success > td, .table > tfoot > .success > td, .table > thead > .success > th, .table > tbody > .success > th, .table > tfoot > .success > th {
    background-color: #5CB85C;
}

.table-hover > tbody > tr > .success:hover, .table-hover > tbody > .success:hover > td, .table-hover > tbody > .success:hover > th {
    background-color: #D0E9C6;
}

.table > thead > tr > .danger, .table > tbody > tr > .danger, .table > tfoot > tr > .danger, .table > thead > .danger > td, .table > tbody > .danger > td, .table > tfoot > .danger > td, .table > thead > .danger > th, .table > tbody > .danger > th, .table > tfoot > .danger > th {
    background-color: #D9534F;
}

.table-hover > tbody > tr > .danger:hover, .table-hover > tbody > .danger:hover > td, .table-hover > tbody > .danger:hover > th {
    background-color: #EBCCCC;
}

.table > thead > tr > .inactive, .table > tbody > tr > .inactive, .table > tfoot > tr > .inactive, .table > thead > .inactive > td, .table > tbody > .inactive > td, .table > tfoot > .inactive > td, .table > thead > .inactive > th, .table > tbody > .inactive > th, .table > tfoot > .inactive > th {
    background-color: #d19587;
}

    .table > thead > tr > .inactive:hover, .table > tbody > tr > .inactive, .table > tfoot > tr > .inactive, .table > thead > .inactive > td, .table > tbody > .inactive > td, .table > tfoot > .inactive > td, .table > thead > .inactive > th, .table > tbody > .inactive > th, .table > tfoot > .inactive > th {
        background-color: #d19587;
    }

.table > thead > tr > .warning, .table > tbody > tr > .warning, .table > tfoot > tr > .warning, .table > thead > .warning > td, .table > tbody > .warning > td, .table > tfoot > .warning > td, .table > thead > .warning > th, .table > tbody > .warning > th, .table > tfoot > .warning > th {
    background-color: #F0AD4E;
}

.table-hover > tbody > tr > .warning:hover, .table-hover > tbody > .warning:hover > td, .table-hover > tbody > .warning:hover > th {
    background-color: #FAF2CC;
}

.form-horizontal .control-label {
    text-align: left !important;
}

/* boostrap callouts */

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}

    .bs-callout h4 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .bs-callout p:last-child {
        margin-bottom: 0;
    }

    .bs-callout code {
        border-radius: 3px;
    }

    .bs-callout + .bs-callout {
        margin-top: -5px;
    }

.bs-callout-danger {
    border-left-color: #d9534f;
}

    .bs-callout-danger h4 {
        color: #d9534f;
    }

.bs-callout-warning {
    border-left-color: #f0ad4e;
}

    .bs-callout-warning h4 {
        color: #f0ad4e;
    }

.bs-callout-info {
    border-left-color: #5bc0de;
}

    .bs-callout-info h4 {
        color: #5bc0de;
    }

/* Custom additional styles */

.gridheight {
    padding: 0;
    margin: 0px 0px 10px 0px;
    /*height: 400px;*/
    height: 60vh;
    overflow-x: auto;
    overflow-y: scroll;
}

.frameheight {
    padding: 0;
    margin: 0px 0px 0px 0px;
    height: 60vh;
    overflow-x: hidden;
    overflow-y: hidden;
    border: 0px none;
    width: 100%;
}


.gridhalfheight {
    padding: 0;
    margin: 0px 0px 10px 0px;
    min-height: 200px;
}

.gridwidth {
    padding: 0;
    margin: 0px 0px 10px 0px;
    height: 400px;
    overflow-x: auto;
    overflow-y: scroll;
}

.datagrid {
    margin: 0px;
    /*width: 1140px;*/
}

.link50surround {
    width: 1200px;
    margin: 0;
    padding: 0;
}

.modalgrid {
    padding: 0;
    margin: 0px 0px 10px 0px;
    width: 100%;
    height: 99vh;
    overflow-x: auto;
    overflow-y: scroll;
}


.modalgrid-nofix {
    padding: 0;
    margin: 0px 0px 10px 0px;
    width: 100%;
    overflow-x: auto;
    overflow-y: scroll;
}

hr.tight {
    margin-bottom: 5px !important;
}

hr.tighttop {
    margin-top: 5px !important;
    margin-bottom: 10px !important;
}

h1.header {
    margin-bottom: 0px !important;
    margin-top: 0px !important;
}

.separator {
    margin-bottom: 10px;
    clear: both;
}

.top-gap {
    margin-top: 10px;
    clear: both;
}

.showpointer:hover {
    cursor: pointer;
}

table.details {
    table-layout: fixed;
}


.page-header {
    margin-top: 0px;
    font-weight: bold;
    padding: 8px;
    color: #eee;
    /*background-image: -webkit-linear-gradient(top, #419641 0%, #3e8f3e 100%);
    background-image: -o-linear-gradient(top, #419641 0%, #3e8f3e 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#419641), to(#3e8f3e));
    background-image: linear-gradient(to bottom, #419641 0%, #3e8f3e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff419641', endColorstr='#ff3e8f3e', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    background-repeat: repeat-x;*/
    background-color: #01744B;
    /*border-color: #1c7e1c;*/
    border: none;
    /*background-image: url('/Content/images/link50fade.png');
    background-position: right center;    
    background-repeat: no-repeat;*/
    height: 46px;
}

/*.page-header {
    margin-top: 0px;
    font-weight: bold;
    padding: 8px;
    color: #eee;
    background-color: #357ebd;
    background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
    background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
    background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
    background-repeat: repeat-x;
    min-height: 46px;
}*/


.table-slim {
    margin-bottom: 0px !important;
}

.custompager td {
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
}


.custompager a:hover {
    text-decoration: underline;
}



.completionList {
    border: solid 1px #cccccc;
    margin: 0px;
    padding: 5px;
    height: 200px;
    overflow: auto;
    background-color: #FFFFFF;
}

.listItem {
    color: #555555;
    font-size: 14px;
    line-height: 16px;
    padding: 5px;
}

.itemHighlighted {
    background-color: #f5f5f5;
    font-size: 14px;
    line-height: 16px;
    padding: 5px;
    cursor: pointer;
}


.stock-in {
    color: #3c763d;
}

.stock-out {
    color: #a94442;
}

@media screen {
    .printonly {
        display: none;
    }
}


.navmenu, .navbar-offcanvas {
    width: 200px !important;
}


.barcode-large {
    font-family: 'code39';
    font-size: 48px;
}


/* calculator */

table.calculator {
    padding: 6px;
    font-size: 14px;
    line-height: 1.42857143;
    background-image: none;
}

.calculator td {
    padding: 5px;
}

.calcbtn {
    padding: 24px 36px !important;
}

/* Print styles for reports */
@media print {

    @page {
        size: A4 landscape;
        margin: 0.5cm;
    }

    body, table, div {
        margin: 0px !important;
        width: 100% !important;
        overflow: auto !important;
        height: 100% !important;
    }

    a {
        color: inherit !important;
        text-decoration: none !important;
    }

    nav {
        display: none;
    }

    .noprint {
        display: none;
    }

    .printonly {
        display: block;
    }

    /* hide link locations when printing */

    a:link:after, a:visited:after {
        display: none;
        content: "";
    }
}

/* fix for ms ajax calendar tables */


.ajax__calendar_days table,
.ajax__calendar_months table,
.ajax__calendar_years table,
.ajax__calendar_days table td,
.ajax__calendar_months table td,
.ajax__calendar_years table td,
.ajax__calendar_days table,
.ajax__calendar_months table,
.ajax__calendar_years table,
.ajax__calendar_days table td,
.ajax__calendar_months table td,
.ajax__calendar_days table td {
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ajax__calendar_day {
    text-align: center !important;
    width: 23px !important;
}

.ajax__calendar_container {
    z-index: 999;
}

.ajax__calendar_active {
    font-weight: bold;
}

.completionList {
    border: solid 1px #cccccc;
    margin: 0px;
    padding: 5px;
    height: 200px;
    overflow: auto;
    background-color: #FFFFFF;
}

.listItem {
    color: #555555;
    font-size: 14px;
    line-height: 16px;
    padding: 5px;
}

.itemHighlighted {
    background-color: #f5f5f5;
    font-size: 14px;
    line-height: 16px;
    padding: 5px;
    cursor: pointer;
}



.pagination > li > a,
.pagination > li > span {
    color: #01744B;
}

    .pagination > li > a:hover,
    .pagination > li > span:hover,
    .pagination > li > a:focus,
    .pagination > li > span:focus {
        color: #255625;
    }


.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #01744B;
    border-color: #01744B;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
    color: #255625;
}




.btn-file {
    position: relative;
    overflow: hidden;
}

    .btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.table td {
    text-overflow: ellipsis;
}


    .table td.fit,
    .table th.fit {
        white-space: nowrap;
        overflow: hidden;
        width: 144px !important;
    }

.orange {
    color: orangered;
}

tr.spaceUnder > td {
    padding-bottom: 1em;
}

.pager-link {
    padding: 8px 12px;
    margin: 2px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

    .pager-link:hover {
        background-color: #e0e0e0;
        border-color: #999;
    }

.pager-link-active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    font-weight: bold;
}
