/**********************************************************
* Copyright (C) 2014, Envalo, Inc - All Rights Reserved
* (www.envalo.com/licensing)
*
* @file grid.css
* @date 12/7/2015
*/
/* LOADING OVERLAY CSS */
.grid_screen {
    display: none;
}

.grid_screen .loader_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
}

.grid_screen .loader_wrap .loader {
    background: url(img/loading-bar.gif) center center no-repeat;
    width: 128px;
    height: 128px;
    position: absolute;
    left: -64px;
    top: -64px;
}

.locked_grid {
    position: relative !important;
}

.locked_grid > .grid_screen {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border: 1px solid gray;
    background: transparent;
    background-color: rgba(0, 0, 0, 0.20);
}

/* END LOADING OVERLAY CSS */

/* BREADCRUMBS */

.breadcrumbs a, .breadcrumbs {
    text-decoration: none;
    font-size: .929rem;

}

.breadcrumbs a:hover {
    color: rgb(137, 104, 9);
    text-decoration: none;
}

.breadcrumbs .Dashboard:before {
    background: url(img/icon-breadcrumb-gear.png) no-repeat
}

/* END OF BREADCRUMBS */

/* GENERAL GRID CSS */
.grid {
    position: static;
    top: 0 !important
}

.grid .data-table {
    background-color: #fff;
    border: none;
}

.grid .data-table .headings {
    background-color: rgba(102, 102, 102, 0.57);
}

#checkout-step-shipping .grid .data-table .headings,
#checkout-step-payment .grid .data-table .headings,
#checkout-review-table-wrapper .grid .data-table .headings {
    background-color: #ffe3ad;
}

#checkout-review-table-wrapper .grid .data-table td, #checkout-review-table-wrapper .grid .data-table th {
    padding: 0 5px
}

.grid .data-table .headings a {
    color: #000;
    text-decoration: none
}

.grid .data-table .headings a:hover {
    text-decoration: underline
}

.grid .data-table .headings .sort-arrow-asc, .sort-arrow-asc {
    background: url(img/arrow-up.png) no-repeat right;
    padding-right: 18px;
}

.grid .data-table .headings .sort-arrow-desc, .sort-arrow-desc {
    background: url(img/arrow-down.png) no-repeat right;
    padding-right: 18px;
    padding-top: 5px;
}

.grid .data-table th {
    border: none;
    line-height: 40px;

}

.grid .data-table th .sort-title {
    font-family: 'Raleway-Bold';
    font-size: .9rem;
    text-transform: none;
}

#checkout-step-shipping .grid .data-table th,
#checkout-step-payment .grid .data-table th,
#checkout-review-table-wrapper .grid .data-table th {
    border-color: #f2820e !important;
}

.grid .data-table td > span.nobr {
    display: block;

    overflow: hidden;
    text-overflow: ellipsis;
}

.grid .data-table th:hover,
.grid .data-table tr.standard_row td:hover,
.grid .data-table tr.active_row td:hover {

}

.grid .data-table th > span.nobr {
    display: block;

    overflow: hidden;
}

.grid .data-table th:hover > span.nobr,
.grid .data-table td:hover > span.nobr {
    /*padding: 0 5px;*/
    overflow: visible;
    text-overflow: inherit;
    /*position: relative;*/
    background-color: inherit;
}

.grid .data-table td:hover > span.nobr > span {
    position: relative;
    z-index: 1;
    background-color: inherit;
}

.grid .data-table tr.standard_row {
    /*background-color: #fff;*/
    /*height: 45px;*/
}

.grid .data-table tr.standard_row {
    background-color: #fff;
    font-size: 1rem;
}

.grid .data-table tr.clickable.standard_row:hover {
    background-color: #F7FBFF;
}

.grid .data-table tr.clickable {
    cursor: pointer;
}

.grid .data-table tr.clickable span {
    padding: 1px;
}

.grid .data-table tr td {

    line-height: 45px;
    margin: 0 0 -1px 0;

}

.grid .data-table tr td.filter.datetime,
.grid .data-table tr td.filter.currency {
    line-height: 18px;
}

.grid .data-table tr td.filter.datetime .label,
.grid .data-table tr td.filter.currency .label {
    width: 30px;
    display: block;

}

.grid .data-table .exceptions td {

    line-height: 25px;

    border: 1px solid #edf1f5;
    border-width: 1px 0;
    margin: 0 0 -1px 0;

}

.grid .data-table tr.standard_row:hover td {

}

.grid .data-table .active_row, .grid .data-table tr.even.active_row {
    background-color: #A0A09C;
    color: #fff;
    height: 45px;
    padding: 0;
}

.grid .data-table .standard_row.section_header {
   background-color: rgba(102, 102, 102, 0.57);
}

.grid .data-table .active_row td {
    border: none;
    line-height: 45px;
}

.grid .data-table .active_row a {
    color: #fff;
    text-decoration: underline;
}

.grid .data-table .active_row span {
    color: #fff;
}

.tools_block .show_per_page {
    white-space: nowrap;
    margin: 5px 0 0 0;
    text-align: right;

}

.tools_block {
    border: none !important;
    position: static !important;
    background: transparent none !important;
    height: 24px;
    padding: 5px 0 5px;
    clear: both;
    margin-bottom: .5rem;
}

.envalo-customer-index-dashboard .tools_block
{
    display: inline;
}

.envalo-customer-index-dashboard .tools_block button.button
{
    margin-top: .4rem;
}

.envalo-customer-index-dashboard .recent_products_ordered h1
{
    margin-bottom: 0;
}

.envalo-customer-index-dashboard .recent_orders h1
{
    margin-bottom: 0;
}


.tools_block .btn-calendar-field {
    float: right;
    margin-left: 10px
}

.tools_block .search {
    float: right !important;
    margin-right: 0 !important;
    margin-left: 10px
}

.tools_block .btn-calendar-field .calendar-module {
    position: absolute;
    z-index: 99999999999999999999999;
}

.tools_block .btn-calendar-field span.title {
    color: #452302;
    font-size: 13px;
    font-family: 'OxygenBold';
    padding-bottom: 5px;
    float: left;
    padding: 8px 5px 0 0;
}

.tools_block #date-range-field_example_order_grid a.calendar-icon {
    background: url(img/icon-calendar-tble-header2.png) no-repeat;

    width: 22px;
    height: 25px;
    display: inline-block;
}

.grid .empty-grid-row {
    text-align: center;
    font-size: 1rem;
}

/* END GENERAL GRID CSS */

/* GRID BUTTON CSS */
.button_set a {
    visibility: hidden;
    display: inline-block;
    margin: 0 2px;
    border: 1px solid green;
}

.opc-wrapper .button_set a {
    visibility: visible;
}

.button_set a span {
    display: inline-block;
    width: 26px;
    height: 26px;
}

/*.button_set a:hover{opacity:0.8}*/

.button_set .button_type_submit span {
    background: url(img/icons-submit.png) center center no-repeat;
}

.button_set .button_type_withdraw span {
    background: url(img/icons-withdraw.png) center center no-repeat;
}

.button_set .button_type_view span {
    background: url(button_view.png) center center no-repeat;
}

.button_set .button_type_checkmark span {
    background: url(img/icons-accept.png) center center no-repeat;
}

.button_set .button_type_cancel span {
    background: url(img/icons-reject.png) center center no-repeat;
}

.button_set .button_type_viewdetails {
    visibility: visible !important;
}

.button_set .button_type_viewdetails span {
    background: url(img/icons-view.png) center center no-repeat;
}

.button_set .button_type_receiveorders span {
    background: url(img/icons-receive-orders.png) center center no-repeat;
}

tr:hover .button_set a,
.active_row .button_set a,
tr.hover_row .button_set a {
    visibility: visible;
}

/* END GRID BUTTON CSS */

/* GRID MESSAGE CSS */
.row_message {
    overflow: hidden;
    display: block;
    position: absolute;

}

.page_message {
    overflow: hidden;
    display: block;
    position: fixed;
    z-index: 10000;
    padding-top: 5px;
}

.message_type_success div {

    border: 1px solid #446423;
    background-color: #eff5ea;
    color: #3d6611;
    padding: 10px;
}

.message_type_failure div {
    border: 1px solid #e9581f;
    background-color: #fff5f3;
    color: #d91a00;
    padding: 10px;
}

/* END GRID MESSAGE CSS */
/* PAGER BLOCK CSS */
.pager_block {
    float: right;
}

.pager_block_container {
    margin: .5rem 0;
    font-size: .9rem;
}

.pager_block_container .pager_current {
    color: #fff;
    background-color: #000;
    padding: .1rem .5rem;
    border-radius: .2rem;
}

.pager_block_container .pager_number {
    padding: 0 .5rem;
}

.pager_block_container .pager_prev {
    margin-right: .5rem;
}

.pager_block_container .pager_count_block {
    font-size: .9rem;
    float: left;
}
.pager_block_container .reset_filters {
    text-align: center;
}

/* END PAGER BLOCK CSS */

/* MASS ACTION CSS */
.mass_action_block .mass_action[disabled],
.mass_action_block .mass_action[disabled] span {

    color: #fff !important;
    cursor: default !important;
    background-color: #C4C4C4;
}

.mass_action {
    z-index: 999999;
    margin-left: 10px !important;
    cursor: pointer;
    display: block;
    float: right
}

/*.mass_action_checkmark {*/
/*background: url(img/icons-accept-multi.png) no-repeat;*/
/*margin-left:5px;*/
/*}*/

/*.mass_action_cancel {*/
/*background: url(img/icons-reject-multi.png) no-repeat;*/
/*margin-left:5px;*/
/*}*/

/* END MASS ACTION CSS */

/* MODAL DIALOGS */
.modal_wrapper {
    position: relative;
}

.modal_wrapper > div {
    position: absolute;
    left: -90000px;
}

.modal {
    background: #fff;
    border-top: 3px solid #00ADF1;
}

.modal .modal-close {
    position: relative;
}

.modal .modal-close a {
    position: absolute;
    width: 30px;
    height: 30px;
    right: -15px;
    top: -15px;
    background: url(../../tinybox2/images/close.png);
}

.modal .modal-close a:hover {
    text-decoration: none;
    background-position: 0 -30px;
}

.modal .heading {
    padding: 30px;
}

.modal .heading h1 {
    font-size: 19px;
    line-height: 19px;
    color: #000;
}

.modal .form {
    background-color: #EBEBEB;
    padding: 30px;
}

.modal input {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 4px 2px;
}

.modal .tool {
    text-align: right;
}

.modal .form textarea {
    width: 100%;
    height: 50px;
    border: 1px solid #C7C7C7;
    border-radius: 10px;
    margin: 15px 0;
    padding: 5px;
}

#grid_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background-color: rgba(0,0,0,0.5);
}

#grid_modal_dialog {
    min-width: 400px;
    text-align: left;
    position: fixed;
    line-height: 18px;
    top: 22%;
    left: 30%;
    width: 40%;
    height: 50%;
    display: block;
    z-index: 1001;
}

#grid_modal_dialog.dynamic-height{
    height: auto;
}

/* END MODAL DIALOGS */

/* CART TOTALS GRID */
.detail-totals {
    width: 25%;
    margin-left: 75%;
}

.detail-totals .grid table {
    border: 1px solid #edf1f5;
    border-top: 0;
    background: #fff;
    margin-top: -1px;
}

.detail-totals .grid .data-table tr td {
    border: 0;
    line-height: 20px;
}

/* END CART TOTALS GRID */

.clear {
    clear: both;
}

/* GRID INPUT FIELDS */
.grid  input.grid_input_number {
    width: 30px;

}

.grid .filters {
    background-color: rgba(153, 153, 153, 0.57);
}

.grid .filter input[type="text"], .grid .filter select {
    max-width: 100px;
    border: 0.071rem solid rgba(102, 102, 102, 0.57);
    background-color: rgb(242, 242, 242);
}

.grid .filter.datetime input[type="text"] {
    max-width: 65px;
}

.grid .filter.currency input[type="text"] {
    max-width: 40px;
}

/* END GRID INPUT FIELDS */
.sku_cell {
    min-width: 200px;
}

.line_cell {
    width: 30px;
}

.line_cell span span {
    padding-right: 4px;
}

.currency_cell {
    width: 60px;
}

.number_cell {
    width: 30px;
}

.desc_cell {
    /*width: 140px;*/
}

.desc_cell .nobr {
    max-width: 360px;
    background-color: #fff;
    position: relative;
}

.desc_cell .nobr span {
    /*display: block;*/
    background-color: inherit;
}

.cell_20 {
    width: 20px;
}

.cell_20 input, .cell_20 select {
    width: 14px;
}

.cell_30 {
    width: 30px;
}

.cell_30 input, .cell_30 select {
    width: 24px;
}

.cell_40 {
    width: 40px;
}

.cell_40 input, .cell_40 select {
    width: 34px;
}

.cell_50 {
    width: 50px;
}

.cell_50 input, .cell_50 select {
    width: 44px;
}

.cell_60 {
    width: 60px;
}

.cell_60 input, .cell_60 select {
    width: 54px;
}

.cell_70 {
    width: 70px;
}

.cell_70 input, .cell_70 select {
    width: 64px;
}

.cell_80 {
    width: 80px;
}

.cell_80 input, .cell_80 select {
    width: 74px;
}

.cell_90 {
    width: 90px;
}

.cell_90 input, .cell_90 select {
    width: 84px;
}

.cell_100 {
    width: 100px;
}

.cell_100 input, .cell_100 select {
    width: 94px;
}

/* Used to align Reports */
.cell_113 {
    width: 113px;
}

.cell_140, .cell_140 .nobr {
    width: 140px;
}

.cell_150, .cell_150 .nobr {
    width: 150px;
}

.cell_180, .cell_180 .nobr {
    width: 180px;
}

.cell_300, .cell_300 .nobr {
    width: 300px;
}

.cell_400, .cell_400 .nobr {
    width: 400px;
}

.cell_min_40 {
    min-width: 40px;
}

.cell_min_50 {
    min-width: 50px;
}

.cell_min_60 {
    min-width: 60px;
}

.cell_min_70 {
    min-width: 70px;
}

.cell_min_80 {
    min-width: 80px;
}

.cell_min_90 {
    min-width: 90px;
}

.cell_min_100 {
    min-width: 100px;
}

.cell_min_130 {
    min-width: 130px;
}

.cell_min_150 {
    min-width: 150px;
}

td.a-left.a-right .nobr {
    text-align: left !important;
}

.grid #transaction_history_grid_table.data-table th > span.nobr {

    white-space: normal !important;
    line-height: 20px;
    text-transform: none;
    margin-top: 5px;

}

.cancelable-order-grid-container .order-action-buttons-container .order-action-buttons
{
    float: right;
}

.cancelable-order-grid-container .order-action-buttons-container .order-action-buttons .button-cancel-confirm
{
    margin-left: 1rem;
}

.orders-cancel-grid-container .cancel-confirm-box
{
    margin-bottom: 2rem;
}

#my-orders-table label.nobr.qty_box_label{font-size:14px; }
#my-orders-table label.nobr.qty_box_label .qty_box{font-size:14px}

#editable_orders_grid_table.data-table tbody .standard_row .nobr {white-space: normal !important}
#editable_orders_grid_table.data-table tr.clickable span{line-height:23px}

#multiple_order_cancel_confirmation_grid_table.data-table tbody .standard_row .nobr {white-space: normal !important}
#multiple_order_cancel_confirmation_grid_table.data-table tr.clickable span{line-height:23px}

#orders_grid_table.data-table tbody .standard_row .nobr {white-space: normal !important}
#orders_grid_table.data-table tr.clickable span{line-height:23px}

.disclaimer {
    border: 1px solid #902123;
    background: #fcf8d3;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-style: inherit;
    font-weight: bold;
    color: #902123;
}