﻿:root {
    --mdc-theme-primary: #009BD8;
    --mdc-theme-secondary: #1C6AC2;
    --font-family: 'Open Sans', sans-serif, Arial;
    --mdc-layout-grid-margin: 0.25rem !important;
    --mdc-layout-grid-margin-desktop: 0.25rem !important;
    --mdc-layout-grid-gutter-desktop: 24px;
    --mdc-layout-grid-column-width-desktop: 72px;
    --mdc-layout-grid-margin-tablet: 0.25rem !important;
    --mdc-layout-grid-gutter-tablet: 16px;
    --mdc-layout-grid-column-width-tablet: 72px;
    --mdc-layout-grid-margin-phone: 0.25rem !important;
    --mdc-layout-grid-gutter-phone: 16px;
    --mdc-layout-grid-column-width-phone: 72px;
    --color-gray: #CED4DC;
    --mdc-typography-body1-font-size: 0.75rem;
    --color-red: #ff420f;
    --color-cell-green: #7BD7AB;
    --color-row-green: #E0F5F0;
    --color-cell-red: #FD8D69;
    --color-row-red: #FF928F; /*#FFE7E2;*/
}



/*.mdc-drawer .mdc-drawer__content .mdc-drawer-menu .mdc-drawer-item .mdc-expansion-panel-link, .mdc-drawer .mdc-drawer__content .mdc-drawer-menu .mdc-drawer-item .mdc-drawer-link {
        height: 32px;
        // *line-height: inherit;
  
        padding: 0 0 0 0.75rem;
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;     
        text-decoration: none;
        color: #fff;
    }*/

.mdc-drawer-link.active {
    background: #009BD8 !important;
    border-radius: 6px;
    color: #fff !important;
}

/*.content-wrapper {
    background: #fff;
    margin-right: 5px;
    margin-left: 8px;
}*/

.modalBackground {
    background-color: gray;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.modalPopup {
    background-color: white;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
}

/*label {
    font-family: 'Open Sans',sans-serif,Arial;
}*/

/*input[type=text], input[type=password] {
    border-radius: 4px;
    /* Grays/$white */
/*background: #FFFFFF;*/
/* Grays/$graychateau */
/*border: 1px solid #9AA1AC;
    box-sizing: border-box;
    height: 26px;
    font-family: 'Open Sans',sans-serif,Arial;
    padding: 6px 6px 6px;*/
/*}*/

.mdc-floating-label {
}

input[type=checkbox] {
    border-radius: 4px;
    padding: 6px 6px 6px;
}


/*select {
    border-radius: 4px;
    height: 26px;
    padding: 2px;
    font-family: 'Open Sans',sans-serif,Arial;
}*/

/*.mdc-text-field .mdc-floating-label {
    top: 40%;
}*/

.org-name {
    /*background: #fff;*/
    text-transform: uppercase;
    color: #fff;
}

/*.header-section-logo {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.87);
    padding: 0px;
    margin: 0px;
    width: 263px;
    z-index: 9;
    position: static;
}*/

.mdc-top-app-bar .divider {
    width: 1px;
    height: 25px;
    background: #d6d7da;
    margin-right: 15px;
    margin-left: 15px;
}

/*@media (max-width: 767px) {
    .mdc-top-app-bar__title {
        display: none;
    }
}

@media (max-width: 991px) {
    .mdc-top-app-bar__section-right {
        display: none;
    }
}*/

@media (max-width: 991px) {
    /* tablet */
    .mdc-top-app-bar {
        background-color: #c4d8d2; /* TODO: Remove - Testing for Tablet mode */
    }

        .top-app-bar-scan, .top-app-bar-system, .mdc-top-app-bar .divider {
            display: none;
        }
}

@media (max-width: 767px) {
    /* phone */
    .mdc-top-app-bar {
        background-color: #ff6a00; /* TODO: Remove - Testing for Phone mode */
    }

        .top-app-bar-scan, .top-app-bar-system, .top-app-bar-search .dropdown-menu, .mdc-top-app-bar .divider {
            display: none;
        }

    .mdc-drawer.mdc-drawer--open + .mdc-drawer-app-content .mdc-top-app-bar .mdc-top-app-bar__row .top-app-bar-search {
        display: none;
    }

    .body-wrapper .main-wrapper .page-wrapper .content-wrapper {
        /* min-height: calc(100vh - 64px - 67px); */
        padding: 5px 5px;
    }
}

/* Report Master V3 Styles*/

.link-separator {
    color: #FFFFFF;
    margin-left: 4px;
    margin-right: 4px;
}

.expanded > .material-icons .mdc-list-item__start-detail .mdc-drawer-item-icon {
    color: #009BD8;
}

/*.mdc-drawer .mdc-drawer__content .mdc-drawer-menu .mdc-drawer-item .mdc-drawer-link {
    padding: 0 1.9rem;
}*/

#page-header {
    height: 80px;
}

.OrgName {
    font-family: Book Antiqua,Verdana;
    font-size: 16px;
    font-style: normal;
    text-transform: uppercase;
    color: #21618C;
    letter-spacing: 2px;
}

.wrapper {
    display: flex;
    align-items: stretch;
    background-color: #fff;
}


/*AutoComplete flyout */

.autocomplete_completionListElement {
    margin: 0px !important;
    color: #000;
    border: #CED4DC;
    border-width: 1px;
    border-style: solid;
    cursor: pointer;
    overflow: auto;
    height: 200px;
    text-align: left;
    list-style-type: none;
    background-color: #FFFFCC;
    max-width: 400px;
    z-index: 100009 !important;
    padding: 4px;
}

/* AutoComplete highlighted item */

.autocomplete_highlightedListItem {
    background-color: #ACACAC;
    color: black;
    padding: 4px;
    /*width: 300px;*/
    z-index: 100009 !important;
}

/* AutoComplete item */

.autocomplete_listItem {
    background-color: #FFFFCC;
    color: #000;
    padding: 4px;
    /*width: 300px;*/
    z-index: 100009 !important;
}

.gvRow {
    border-bottom: #CED4DC 1px solid;
    font-weight: normal;
    /*font-size: 11px;*/
    color: #000000;
    /*font-family: Arial, Helvetica, sans-serif;*/
    text-decoration: none;
    padding: 4px;
    background-color: #f5f5f5;
    height: 25px;
}

.gvAlternateRow {
    border-bottom: #CED4DC 1px solid;
    padding: 4px;
    font-weight: normal;
    /*font-size: 12px;*/
    color: #000000;
    /*font-family: Arial, Helvetica, sans-serif;*/
    text-decoration: none;
    height: 25px;
}

.select2-container .select2-selection--multiple {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 26px !important;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: text;
    /* padding-bottom: 5px; */
    /* padding-right: 5px; */
}

.frame-modal {
    height: -webkit-fill-available;
    width: 100%;
}
.mdc-dialog__surface {
    max-height: 100% !important;
    border-radius: 0px !important;
}

.mdc-dialog__header {
    border-bottom: 1px solid #CED4DC;
    height: 45px;
    min-height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 0px 10px 0px 10px !important;
    align-items: center;
}

.mdc-dialog__footer {
    border-top: 1px solid #CED4DC;
    height: 45px;
    min-height: 45px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 4px;
    padding: 0px 10px 0px 10px !important;
    align-items: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
}

.mdc-dialog__header .label-header {
    margin: 0px !important;
    font-size: 15px;
}

.mdc-dialog__body {
    padding: 20px !important;
}

.mdc-dialog__close-button {
    width: 40px;
    height: 40px;
    padding: 6px
}

.mdc-checkbox {
    height: 14px;
    width: 14px;
}
.mdc-dialog__content {
    padding: 2px !important;
}
/*.mdc-dialog--scrollable .mdc-dialog__content {
    padding-top: 1px;
    padding-bottom: 1px;
}*/

@media (min-width: 592px) {
    .mdc-dialog__surface:not(.dialog-sm) {
        height: 100% !important;
        min-width: 100% !important;
    }
}

@media (min-width: 767px) {
    .mdc-dialog__surface:not(.dialog-sm) {
        height: calc(100% - 10px) !important;
        min-width: calc(100% - 10px) !important;
    }

    .mdc-dialog__header {
        height: 45px;
        min-height: 45px;        
    }

    .mdc-dialog__footer {
        height: 45px;
        min-height: 45px;        
    }
}

@media (min-width: 991px) {
    .mdc-dialog__surface:not(.dialog-sm) {
        height: calc(100% - 20px) !important;
        min-width: calc(100% - 20px) !important;
    }

    .mdc-dialog__header {
        height: 45px;
        min-height: 45px;       
    }
    .mdc-dialog__footer {
        height: 45px;
        min-height: 45px;        
    }
}

.mdc-dialog__container {
    width: 100% !important;
    height: 100% !important;
}




input:focus, select:focus, textarea:focus, button:focus {
    /*border: 1px solid;*/
    box-shadow: 0 0 2pt 1pt #9AA1AC;
}
/*input[type=button]:focus, input[type=submit]:focus {*/
/*outline: 1px solid #9AA1AC !important;*/
/*box-shadow: 0 0 2pt 1pt #9AA1AC;
}*/
/*input[type=radio]:focus, input[type=checkbox]:focus, a:focus {*/
/*border: 1px solid #9AA1AC;*/
/*outline: 1px solid #9AA1AC !important;
}*/

/* override styles when printing */
@media print {

    header, .mdc-top-app-bar {
        display: none;
    }
    aside, .mdc-drawer, .side-panel {
        display: none;
        width: 0px !important;
        border: none;
    }
    .section-body .section-body--content > div {
        padding: 2px 0 !important;
    }    
    .page-wrapper {
        display: block !important;
        margin-left: 0px !important;
    }
}

.overlaySearch {
    position: fixed;
    z-index: 100;
    opacity: 0.75;
    background-repeat: no-repeat;
    background-position: center;
    left: 450px;
    bottom: 0;
    right: 0;
    top: 300px;
    border: 1px solid #FFBE9F;
    width: 100px;
    height: 50px;
    background-color: #fff;
    filter: alpha(opacity=75);
    font-family: Tahoma;
    font-size: 11px;
    font-weight: bold;
    text-align: center
}

#dlgContent{
    height:500px;
}

/* .modal-popup--header { */
    /* margin-top:30px !important; */
/* } */

    @media only screen and (max-width: 850px) {
        .modal-popup {
            overflow-x: scroll !important;
            max-width: 400px !important;
        }

        .modal-popup--header {
            margin-top: 3px;
        }

        .mdc-dialog__surface {
           height:590px !important;
        }
    }

.web_dialogPreExpense {
    display: none;
    position: fixed;
    top: 50%;
    left: 40%;
    margin-left: -190px;
    margin-top: -100px;
    background-color: #ffffff;
    padding: 3px;
    z-index: 102;
}