﻿body {
    color: rgba(0, 0, 0, 0.81);
}

.navbar {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.22);
}

.container-fluid .navbar-brand {
    margin-left: unset !important;
}

.modal-title {
    display: inline !important;
    float: unset !important;
}
.GridActionCol a {
    color:black;
}
.checkbox label {
    display: inline;
    padding: 0;
}

#divContent {
    width: 98vw; /*to remove horizontal scrolling*/
    margin: auto;
}

.dropdown {
    z-index: 101 !important; /*Because z-index of th element is 101, so top part of drop down goes under table header and list becomes ugly. This z-index must be higher than th tag*/
}

#mainNav {
    z-index: 102 !important; /*Seeting 101 zindex for drop down above will move dropdows above navigation bar dropdowns. To test effect of this class open ComdataCustLimitProfiles page and open Customers dropdown list.*/
}

.form-control, select2-input {
    box-shadow: unset !important;
    border: 1px solid rgba(66, 165, 245, 0.17) !important;
}

.form-control:focus, select2-input:focus {
    box-shadow: unset !important;
    border: 1px solid rgba(66, 165, 245, 1) !important;
}

.btn {
    text-transform: none;
    /*filter: saturate(1.8);*/
    border-radius: 0;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.05);    
}

.divFilters .btn {
    font-size: 12px;
}
.divFilters .btn:not(:hover):not([ng-click]) {
    /*ng-click is used to angular calender elements*/
    background: linear-gradient(0deg, #d5e2ff, #e1eafe, #d5e2ff);
    color: black;
}

.btn-link {
    color: #1976D2 !important;
}

.btn-default {
    background-color: transparent;
}

.btn-default:hover {
    background-color: rgba(221, 221, 221, 0.85);
    filter: saturate(2);
}

.no-shaddow {
    box-shadow: none !important;
}

.select2-drop {
    margin-top: -1px;
}

.container-fluid {
    padding-left: 5px;
    padding-right: 5px;
}
/*.divFilters .btn-success, .divFilters .btn-warning, .divFilters .btn-info, .divFilters .btn-default, .divFilters .btn-primary {
    background-color: transparent !important;
    color: unset;
}
    .divFilters .btn-success:hover, .divFilters .btn-warning:hover, .divFilters .btn-info:hover, .divFilters .btn-default:hover, .divFilters .btn-primary:hover {        
        color: blue ;
    }*/
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: unset !important;
}


fieldset .navbar {
    box-shadow: unset !important;
}

table tr td {
    padding: 8px;
}

.divFilters .container-fluid .navbar-collapse {
    padding-left: 0px; /*Left aligns buttons in actions bar with header*/
    padding-right: 0px;
}

#divPageHeader {
    margin: 0;
    display: flex;
    height: 58px;
    align-items: center;
    border-bottom: 1px solid rgba(221, 221, 221, 0.37);
}

#divPageHeader h3 {
    margin: unset;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    border:1px solid #ddd;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(70deg, #7e7e7e, #ddd, #a9a9a9);
}

/*scrollbar style for firefox*/
* {
    scrollbar-width: thin;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
.accountCodes {
    background-color: white;
}

.accountCodes table tr td {
    padding: 0px 9px 0px 9px;
    border: none;
}

.collapse.in {
    padding-left: 25px !important;
}

.divFilters .navbar-brand {
    padding: 5px;
    line-height: 11px;
    margin: 0;
    margin-top: 18px;
    margin-bottom: -18px;
}

.divFilters nav table tr td {
    white-space: nowrap;
}

@media (min-width:800px) {
    #divActionBarNavWrapper {
        position: absolute;
        z-index: 999;
        background-color: aliceblue;
        border-radius: 5px;
        padding: 10px;
        box-shadow: 0px 5px 10px #ddd;
        right: 0;
    }

    .accountCodesList {
        position: absolute !important;
        top: -53px;
        left: 25vw;
        /*box-shadow: 0px 4px 10px #ddd;*/
    }

    #ContentPlaceHolder1_messageFilterApplied {
        position: absolute;
        padding: 6px;
        box-shadow: 0px 3px 13px #cecece;
        background-color: white;
        top: -56px;
        z-index: 102;
        left: -17vw;
    }
    .moveActionBarUp {
        margin-top: 5px;
        padding-bottom: 5px;
        align-items: center;
        display: flex;
        position: absolute;
        top: 69px;
        background-color: transparent;
        min-width: 88%;
        right: 0;
        text-align: right;
        margin: 0;
    }
}

.changeCurrency {
    position: absolute;
    right: 27px;
    background-color: rgba(255,255,255, 0.8);
    padding: 10px;
    top: 62px;
}

.changeCurrency ul {
    min-width: unset;
}

[ng-app="ui.bootstrap.demo"] table tr td button, [ng-app="ui.bootstrap.demo"] table tr th button, [ng-app="ui.bootstrap.demo"] li button {
    background-color: unset !important;
}

[ng-app="ui.bootstrap.demo"] table tr td button:hover, [ng-app="ui.bootstrap.demo"] li button:hover {
    background-color: #e6ee9c !important;
    color: black;
}

[ng-app="ui.bootstrap.demo"] table tr td {
    padding: 2px;
}

.table {
    margin-bottom: 5px !important;
}

#divPageHeading {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#divGrdOptions .modal-dialog .modal-content .modal-header {
    padding: 0;
    height: 6px;
}

#divGrdOptions .modal-dialog .modal-content .modal-header h4 {
    display: none !important;
}

#divGrdOptions .modal-dialog .modal-content .modal-header .close {
    position: absolute;
    right: 12px;
    z-index: 1;
}

#showTranModal .modal-body .form-group span {
    overflow: auto;
    white-space: nowrap;
}

#showTranModal .modal-body .form-group span {
    overflow: auto;
    white-space: nowrap;
    padding: 5px;
}

#showTranModal td:hover {
    box-shadow: unset;
}

#ddCustomerBox {
    margin-top: 4px !important;
}

.reportsMenuContainer {
    position: absolute;
    z-index: 107;
    background-color: white;
    /*box-shadow: 0px -7px 0px #eee;*/
    box-shadow: 0px 10px 10px rgba(221, 221, 221, 0.54), 0px -7px 0px #eee;
    /*border-bottom: 3px solid #eee;
    border-top: none;*/
    padding: 5px;
}


.table tr td, .table th {
    background: linear-gradient(2deg,#bdbdbd1a, #fcfcfc2b 28px);
    background-blend-mode: hard-light;
}
canvas {
    filter: saturate(2);
}
.ng-binding {
    /*changes angular button color. if this class is missing then buttons at the bottom becomes invisible.*/
    color: black;    
}

.select2-container .select2-choice {
    display: block;
    height: 33px;
    padding: 4px 8px;
    border: none;
    border-radius: 0;
    background-image: unset;
}

.select2-choice {
    border: none !important;
}

.select2-container .select2-choice .select2-arrow {
    border-left: none;
    border-radius: 0;
    background: unset;
    background-image: unset;
}
.select2-container .select2-choice .select2-arrow b {
    background: unset;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.select2-dropdown-open .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choice, .select2-dropdown-open.select2-drop-above .select2-choices {
    box-shadow: unset;
    border-radius: 0;
    border-bottom-color: transparent;
    -webkit-box-shadow: unset;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-color: transparent;
    background-image: unset;
}

.select2-drop, .select2-drop.select2-drop-above.select2-drop-active {
    border-radius: 0;
    border-color: rgba(66, 165, 245, 0.17);
    box-shadow: unset;
}

.accountCodesList table td {
    padding: 0px 9px 0px 9px;
}