.aui .container {
    width: auto;
    max-width: 1660px;
}

/* dashboard */
.page-dashboard {
    font-size: 14px;
    position: relative;
    padding: 30px 10px 70px;
}

.dashboard {
    position: relative;
}
.dashboard .dashboard-head {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 30px;
}
.dashboard .dashboard-head > div {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-end;
    align-items: flex-end;
}
.dashboard .dashboard-head > div:nth-child(1) {
    width: 100%;
}
.dashboard .dashboard-head > div:nth-child(2) {
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.dashboard .dashboard-head .search-by-company,
.dashboard .dashboard-head .search-by-date,
.dashboard .dashboard-head .search-by-name,
.dashboard .dashboard-head .internal-users {
    margin: 0 20px 5px 0;
    position: relative;
}

.dashboard .dashboard-head .search-by-company {
    width: 100%;
    min-width: 200px;
    max-width: 210px;
}
.dashboard .dashboard-head .search-by-company .nice_select select {
    font-size: 14px;
}

.dashboard .dashboard-head .search-by-date {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}
.dashboard .dashboard-head .search-by-date .dates {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;

    border-bottom: 1px solid #000000;
    margin-right: 10px;
    height: 34px;
}
.dashboard .dashboard-head .search-by-date .dates:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 14px;
    background: url(../images/date.svg) no-repeat 0 0;
    margin: 0;
}
.dashboard .dashboard-head .search-by-date .dates .calendar {
    position: relative;
    cursor: pointer;
    padding: 0 5px;
}
.dashboard .dashboard-head .search-by-date .dates .calendar:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.14);
}
.dashboard .dashboard-head .search-by-date .dates .calendar input {
    box-shadow: none !important;
    background-color: transparent;
    border: 0 !important;
    width: 130px;
    padding: 0;
    margin: 0;
    font-size: 14px !important;
}
.dashboard .dashboard-head .search-by-date .btn {
    min-width: 0 !important;
    padding: 7px 14px !important;
    margin: 0;
}

.aui .dashboard .internal-users label {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    margin: 0;
    white-space: nowrap;
}
.aui .dashboard .internal-users label input[type="checkbox"] {
    margin: 0 4px 0 0;
}
.aui .dashboard .internal-users label span {
    font-size: 12px;
}

.dashboard .dashboard-head .search-by-name {
    display: block;
    width: 100%;
    min-width: 200px;
    max-width: 210px;
    border-bottom: 1px solid #000000;
    margin-right: 0;
    margin-left: 15px;
}
.dashboard .dashboard-head .search-by-name.search-by-ref {
    min-width: 0;
    width: 110px;
}
.dashboard .dashboard-head .search-by-name input {
    border: 0 !important;
}
.dashboard .dashboard-head .search-by-name input[type=text] {
    width: 90%;
    height: 36px !important;
    padding: 0 5px !important;
    font-size: 14px !important;
    font-style: normal !important;
}
.dashboard .dashboard-head .search-by-name input[type=text]::-webkit-input-placeholder {
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}
.dashboard .dashboard-head .search-by-name input[type=text]::-moz-placeholder {
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}
.dashboard .dashboard-head .search-by-name input[type=text]:-ms-input-placeholder {
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}
.dashboard .dashboard-head .search-by-name input[type=text]:-moz-placeholder {
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

.dashboard .dashboard-head .search-by-name .btn-search {
    width: 30px;
    background: #ffffff;
    transition: all 0.1s ease-in-out;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
}
.dashboard .dashboard-head .search-by-name .btn-search:after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url(../images/btn-search.svg) no-repeat center center;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
}
.dashboard .dashboard-head .search-by-name:hover .btn-search:after,
.dashboard .dashboard-head .search-by-name:focus .btn-search:after,
.dashboard .dashboard-head .search-by-name input[type=text]:focus + .btn-search:after {
    opacity: 1;
}

.dashboard .dashboard-body {
    position: relative;
    background: #f2f2f2;
    border-top: 1px solid #dadada;
}
.dashboard-table {
    height: 70vh;
    min-width: 1100px;
    min-height: 0;
    overflow: auto;
}
.dashboard-table table {
    border-spacing: 0;
    width: 100%;
}
.dashboard-table td, .dashboard-table th {
    border: 0;
    border-bottom: 1px solid #eee;
    background: #ffffff;
    color: #000;
    padding: 8px 10px;
    line-height: 20px;
    vertical-align: middle;
    min-width: 60px;
}
.dashboard-table td:nth-child(1), .dashboard-table th:nth-child(1) {
    min-width: 200px;
}
.dashboard-table th {
    white-space: nowrap;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 0;
    z-index: 10;
}
.dashboard-table th div {
    padding: 8px 10px;
    background: #f2f2f2;
    border-left: 1px solid #dadada;
    line-height: 30px;
    color: #444444;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
}
.dashboard-table th:first-child div {
    border: none;
}

.dashboard-table td {
    color: #888888;
    font-size: 14px;
    padding-top: 20px;
    padding-bottom: 18px;
}
.dashboard-table td:first-child {
    border-left: 3px solid transparent;
    padding-left: 9px;
}

.dashboard-table td .name {
    display: inline-block;
    color: #444444;
}
.dashboard-table td .email {
    display: inline-block;
    color: #888888 !important;
    font-size: 13px;
    text-decoration: none;
}
.dashboard-table td .price {
    color: #444444;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.dashboard-table tbody tr:hover td {
    background-color: #f8f8f8;
}
.dashboard-table tbody tr:hover td:first-child {
    border-left: 3px solid #ff4200;
}

.btn-sort {
    display: inline-block;
    width: 16px;
    height: 16px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    margin-left: 0;
    top: -2px;
}
.btn-sort.sort-asc {
    background: url(../images/sort-arrow.svg) no-repeat center center;
}
.btn-sort.sort-desc {
    background: url(../images/sort-arrow.svg) no-repeat center center;
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

@media (max-width: 1100px) {
    .dashboard .dashboard-head .internal-users {
        margin-top: 5px;
        margin-bottom: 0;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
    }
    .aui .dashboard .internal-users label {
        margin-right: 20px;
    }
}

@media (max-width: 992px) {
    .aui .page-dashboard .container {
        padding: 0;
    }
    .dashboard .dashboard-head {
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }
    .dashboard .dashboard-head > div:nth-child(2) {
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
    }
    .dashboard .dashboard-head .search-by-company,
    .dashboard .dashboard-head .search-by-name {
        max-width: 296px;
    }
    .dashboard .dashboard-head .search-by-name {
        margin-left: 0;
        margin-right: 20px;
    }

    .dashboard-table {
        height: 60vh;
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .aui #banner .header-right-navigation,
    .aui .account-section {
        display: none;
    }
}

@media (max-width: 567px) {
    .dashboard .dashboard-head > div {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }

    .dashboard .dashboard-head .search-by-name.search-by-ref {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .dashboard .dashboard-head .search-by-date .btn {
        margin-top: 10px;
    }
}

.searching-layover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 1000;
}

.spinner-holder {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
}
.spinner-holder .icon_spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: url(/desktop-theme/images/spinner.svg) no-repeat 0 0 !important;;
    -webkit-animation: spin 1.5s infinite linear;
    animation: spin 1.5s infinite linear;
    background-size: 40px!important;
}
.spinner-holder .icon_spinner:before {
    display: none !important;
}

@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}