body {
    background-color: #1a1a1a;
    color: #fff;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
}

hr {
    width: 50%;
    background-color: #fff;
    color: #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #ffffff22;
    border-right: 1px solid #ffffff22;
    border-radius: 50%;
}

#login {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9999;
    background-color: #222;
}

#login-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: transparent;
    z-index: 99999;
}

#loading-screen {
    position: absolute;
    top:0;
    left:5vw;
    width: 95vw;
    height: 100vh;
    background-color: #222;
    z-index: 9;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 9;
}

#loading-screen.hide {
    opacity: 0;
    z-index: -99999;
    transition: all .5s;
}

#loader {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border-top: 3px solid #FF9F43;
    border-right: 2px solid #FF9F43;
    border-bottom: 1px solid #FF9F43;
    animation: loading .5s linear infinite;
}

.tabulator-row .tabulator-cell {
    border-right: none;
}

.tabulator .tabulator-header .tabulator-col {
    border-right: none;
}

::-webkit-scrollbar {
    width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #333;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #555;
border-radius: 5px;
}

#nav-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 22vw;
    transform: translateX(-17vw);
    z-index: 99;
    background-color: #222;
    box-shadow: 10px 0 10px #00000055;
    transition: all .25s;
    overflow-y: hidden;
}

#nav-bar-header {
    height: 4vh;
    width: 22vw;
    display: flex;
    background-color: #222;
    justify-content: space-between;
    align-items: center;
}

#nav-bar-header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

#nav-bar-header-left {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

#nav-bar-header-left i {
    font-size: 1.5rem;
    padding: 0 .5rem;
    opacity: .5;
    transition: all .1s;
}

#nav-bar-header-left i:hover {
    opacity: 1;
    cursor: pointer;
    transition: all .1s;
}

#nav-bar-header-left i.active {
    opacity: 1;
    transition: all .1s;
}

#event-side-bar {
    position: relative;
    height: 96vh;
    width: 22vw;
    z-index: 99;
    opacity: 0;
    display: none;
    background-color: #222;
    transition: all .25s;
    overflow-y: hidden;
}

#event-side-bar.active {
    opacity: 1;
    display: block;
}

#nav-bar.show {
    transform: translateX(0);
    transition: all .25s;
}

#event-side-bar-header {
    padding-top: 2rem;
    min-height: 10%;
    position: relative;
    width: 100%;
    background-color: #222;
    box-shadow: 0 5px 5px #00000055;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#arrow-input {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

#expand-collapse {
    font-size: 1.5rem;
    transition: all .2s;
}

hr {
    margin: 2rem 0;
}


#expand-collapse.dropdown {
    transform: rotate(180deg);
    transition: all .2s;
}

#expand-collapse:hover {
    cursor: pointer;
    color: #FF9F43;
    transition: all .2s;
}

#event-side-bar-header-dropdown {
    display: none;
    background-color: #222;
    margin: 2rem .5rem;
    box-shadow: 0 0 20px #00000077;
    max-width: 100%;
    padding: 2rem;
    border-radius: 5px;
}

#event-side-bar-header-dropdown.dropdown {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#last-sale-update,
#refresh-zero-filter,
#cost-tickets-orderby,
#pre-date,
#pub-date {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#refresh-zero-filter {
    justify-content: center;
}

#pre-date > h3,
#pre-date > div,
#pub-date > h3,
#pub-date > div {
    margin: 0 .5rem;
}

#pre-date > div,
#pub-date > div {
    display: flex;
    justify-content: center;
    align-items: center;
}

#pre-date label,
#pub-date label {
    margin-right: .25rem;
}

#last-sale-orderby,
#cost-orderby,
#last-update-orderby,
#tickets-orderby {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 49%;
}

#last-sale-orderby span,
#last-update-orderby span,
#cost-orderby span,
#tickets-orderby span {
    margin-right: .25rem;
    transition: all .2s;
}

#last-sale-orderby span:hover,
#last-update-orderby span:hover,
#cost-orderby span:hover,
#tickets-orderby span:hover {
    cursor: pointer;
    color: #FF9F43;
    transition: all .2s;
}

#cost-amount,
#sale-date,
#update-date,
#tickets-count {
    max-width: 33.33333%;
}

#event-side-bar-header input {
    padding: .5rem;
    border: none;
    border-radius: 3px;
}

h3 span i.fa-chevron-up {
    transition: all .25s;
}

h3 span i.fa-chevron-up.sort {
    color: #FF9F43;
}

h3 span i.fa-chevron-up.sort.desc {
    transform: rotate(180deg);
    transition: all .25s;
}

.fa-map {
    color: #fff;
}

#event-search {
    width: 75%;
}

#event-dates {
    display: flex;
    justify-content: space-between;
}

#start-date,
#end-date {
    min-width: 150px;
}

#start-date {
    margin-right: .5rem;
}

#end-date {
    margin-left: .5rem;
}

#tags-filter {
    margin: 1rem 0;
}

#event-side-bar-header input:focus {
    outline: transparent;
}

#event-side-bar-events {
    overflow-y: scroll;
    width: 100%;
    max-height: 90%;
}

.event-listing {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: .5rem 1rem;
    text-transform: uppercase;
    font-size: 1rem;
    background-color: #222;
    border-bottom: 1px solid #999;
    opacity: 1;
    transition: all .1s;
}

.event-listing.group-listing {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.event-listing.hide-event {
    display: none;
}

.event-listing:hover {
    cursor: pointer;
    background-color: #4a4a4a;
    opacity: 1;
}

.event-listing.active {
    background-color: #555;
    opacity: 1;
    transition: all .1s;
}

.event-locdate {
    display: flex;
    justify-content: space-between;
    color: #bbb;
    margin-bottom: .5rem;
}

.loc-date-left {
    max-width: 60%;
}

.loc-date-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.loc-date-right .event-time {
    margin-left: .5rem;
}

.loc-date-right .start-time {
    display: flex;
}

.event-date,
.event-time {
    font-weight: 900;
    font-size: 1rem;
}

.event-city,
.event-venue {
    font-size: 1rem;
}

.pre-time {
    color: #FFF;
}

.pub-time,
.last-update {
    color: #D9534F;
}

.last-sale {
    color: #4e8b22;
}

.event-name {
    letter-spacing: 1px;
    margin: .5rem 0;
    font-size: 1rem;
}

.event-tags {
    font-size: 1rem;
    color: #FF9F43;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: .5rem;
}

.event-footer-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.event-footer-left div,
.event-footer-left .event-qtyLstCost {
    margin-right: 1rem;
}

.event-qtyLstCost {
    /* font-size: 11px; */
    font-size: 1rem;
}

.event-qtyLstCost span {
    color: #FF9F43;
    margin-left: 1rem;
    font-size: 1rem;
    font-weight: 900;
    text-shadow: 0 0 1px #000;
}

.event-listing.active .event-qtyLstCost span {
    text-shadow: none;
}

.event-links {
    display: flex;
    justify-self: flex-end;
}

.event-links h3 a {
    margin-left: .5rem;
}

.event-links h3 a img {
    height: 20px;
    width: 20px;
    border-radius: 50%;
}

.event-links .group-vs-link img,
.event-links .group-tm-link img {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin: 0 .25rem;
}

.event-listing a {
    opacity: .8;
    transition: all .2s;
}

.event-listing a:hover {
    cursor: pointer;
    opacity: 1;
    transition: all .2s;
}

#stats-iframe {
    position: absolute;
    bottom: 50vh;
    left: 5.5vw;
    height: 50vh;
    width: 54vw;
    box-shadow: 10px -15px 10px #00000022;
    z-index: 8;
    background-color: #222;
}

#stats-iframe.grouping * {
    display: none;
}

#stats-iframe-content {
    position: relative;
    height: 100%;
    width: 100%;
}

#stats-iframe-header {
    position: absolute;
    top: 0;
    left: 0;
    height: 7.5%;
    width: 100%;
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#stats-iframe-header button {
    height: 75%;
    width: 50%;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    opacity: .5;
    box-shadow: 0 10px 10px #00000077;
    z-index: 99;
    transition: all .25s;
}

#stats-iframe-header button:hover {
    cursor: pointer;
    opacity: 1;
    transition: all .25s;
}

#stats-iframe-header button.active {
    opacity: 1;
    transition: all .25s;
}

#stats-iframe-body {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 92.5%;
    width: 100%;
    border-radius: 0 0 5px 5px;
}

#quad-4 .quad-4-section {
    display: none;
}

#quad-4 .quad-4-section.active {
    display: block;
}

#sales-data {
    max-height: 100%;
    overflow-y: scroll;
}

#sales-data .tabulator-col-title {
    font-size: 12px !important;
}

#sales-data .tabulator-cell {
    font-size: 12px !important;
}

#stats-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 5px 5px;
}

#stats-header {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

#stats-quadrants {
    position: relative;
    height: 100%;
    border-radius: 0 0 5px 5px;
}

#quad-1 {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    height: 60%;
    width: 50%;
    background-color: #444;
    border-bottom: 1px solid #ffffff6c;
}

.line-graph {
    height: 100%;
    width: 100%;
    background-color: #222;
}

#quad-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40%;
    width: 50%;
    border-radius: 0 0 0 5px;
    display: flex;
    flex-direction: column;
}

#quad-2-header {
    height: 15%;
    width: 100%;
    background-color: #fff;
    color: #222;
    display: flex;
    box-shadow: 0 5px 5px #00000044;
    justify-content: center;
    align-items: center;
    z-index: 9;
}

#quad-2-content {
    height: 80%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: scroll;
}

#quad-4 {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    background-color: #222;
    border-radius: 0 0 5px 0;
}

#autoprice-criteria {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 60%;
    width: 50%;
    border-radius: 0 0 0 5px;
    background-color: #222;
    text-align: center;
    vertical-align: center;
}

#autoprice-criteria.hide {
    display: none;
}

#stats-table {
    overflow-y: scroll;
    height: 100%;
    width: 100%;
    padding: 0;
    border-radius: 0 0 5px 0;
}

#stats-table-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: space-between;
    text-align: center;
    padding: .5rem 0;
}

#stats-header-main {
    display: flex;
    justify-content: space-evenly;
    padding: 1rem 0;
}

#stats-table-header h3 {
    font-size: .8rem;
}

#stats-event-links {
    border-top: 1px solid #ffffff6c;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#stats-event-links h3 {
    margin: 0 .25rem;
}

#stats-event-links h3 i {
    font-size: 1.5rem;
}

#stats-event-links h3 i:hover {
    cursor: pointer;
    color: #FF9F43;
    transition: all .25s;
}

#stats-table-body {
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

}

#stats-table .stat-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #444;
}

#stats-table .stat-row:nth-of-type(odd) {
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}

#stats-table .stat-row:nth-of-type(even) {
    border: .5px solid #222;
}

#stats-table h5 {
    width: 50%;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding: .25rem;
}

.stat-row h5:nth-of-type(1) {
    border-right: 1px solid #222;
}

.message {
    width: 95%;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    background-color: #eee;
    color: #222;
    padding: .5rem;
    margin: .5rem 0;
    box-shadow: 0 0 5px #00000033;
}

.message-date {
    font-weight: 700;
    font-size: 1rem;
}

.message-author {
    color: #FF9F43;
    font-size: 1rem;
    font-weight: 700;
}

.message-content {
    margin-top: 1rem;
}

.message-alert {
    color: #F10000;
    font-weight: 700;
}

#quad-2-footer {
    height: 15%;
    width: 100%;
    position: relative;
    background-color: #eee;
    color: #fff;
    box-shadow: 0 -10px 10px #00000022;
    display: flex;
    justify-content: flex-start;
    border-radius: 0 0 0 5px;
}

#message-input {
    width: 90%;
    height: 100%;
    border: none;
    padding-left: .5rem;
    padding-top: .5rem;
    overflow-wrap: normal;
    resize: none;
    word-wrap: normal;
    color: #111;
    background-color: #eee;
}

#message-input:focus {
    outline: transparent;
}

#quad-2-footer button {
    position: absolute;
    top: 50%;
    right: 0%;
    height: 100%;
    width: 10%;
    font-size: 1.5rem;
    transform: translateY(-50%);
    border: none;
    color: #333;
    background-color: #eee;
    box-sizing: border-box;
}

#message-send:hover {
    cursor: pointer;
}

#quad-3 {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #222;
    padding: 1rem 0;
    box-sizing: border-box;
}

#quad-3.grouping {
    display: none;
}

.zones-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    padding: 0 .5rem;
    background-color: transparent;
    overflow-y: scroll;
}

.static-container {
    padding: 1rem .5rem 0 .5rem;
    display: flex;
    flex-direction: column;
    height: 20%;
    width: 100%;
    border-radius: 0 5px 5px 0;
}

.zones-container::-webkit-scrollbar,
#quad-2-content::-webkit-scrollbar {
    width: 0px;
}

/* Track */
.zones-container::-webkit-scrollbar-track,
#quad-2-content::-webkit-scrollbar-track {
background: transparent;
}

/* Handle */
.zones-container::-webkit-scrollbar-thumb,
#quad-2-content::-webkit-scrollbar-thumb {
background: transparent;
border-radius: 5px;
}

/* Handle on hover */
.zones-container::-webkit-scrollbar-thumb:hover,
#quad-2-content::-webkit-scrollbar-thumb:hover {
background: transparent;
}

.zone-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: .25rem 0;
    white-space: nowrap;
    box-sizing: border-box;
}

.zone-container:nth-of-type(odd) {
    background-color: #333;
}

.zone-container:nth-of-type(even) {
    background-color: #444;
}

.zone-container:hover {
    cursor: pointer;
    background-color: #555;
}

.zone-color-name {
    height: 100%;
}

.zone-details {
    padding-right: .5rem;
}

.color-block {
    height: 100%;
    width: 8px;
    margin-right: 1rem;
    border-radius: 0 5px 5px 0;
}

.color-block.active-zone {
    background-color: #FF9900 !important;
    box-shadow: 0 0 10px #000;
}

#total-data,
#selected-data {
    padding: 1rem;
    width: 100%;
    height: 50%;
}

iframe {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    box-shadow: 15px -15px 25px #00000055;
    z-index: 9;
}

#quad-2-header {
    background-color: #222;
}

#quad-2-header h2 {
    font-weight: 300;
    color: #fff;
}

#stats-ticker div h2 span {
    font-size: 1.5rem;
    color: #FF9F43;
    text-shadow: 0 0 2px #000;
    font-weight: 700;
    margin-left: 1rem;
}

#map {
    position: relative;
    display: flex;
    flex-direction: column;
    bottom: 50vh;
    left: 60vw;
    width: 39.5vw;
    height: 50vh;
    border-radius: 5px;
}

#map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 7.5%;
    width: 39.5vw;
}

#map-header-left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 50%;
}

#map-header-left #group-event-name,
#map-header-left #group-event-venue {
    font-size: 1.25rem;
    font-weight: 400;
}

#map-header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 50%;
}

#map-header-left #mapped-by {
    font-size: 1.25rem;
    font-weight: 400;
}

#map-header-left #mapped-by span {
    color: #FF9F43;
    margin-left: .5rem;
}

#map-body {
    position: relative;
    display: flex;
    width: 39.5vw;
    height: 45vh;
    border-radius: 5px;
}

#map-footer {
    width: 100%;
    background-color: #222;
    padding: .25rem 0;
    z-index: 8;
}

#venue-type {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.venue-type-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.venue-type-option input {
    margin-right: .25rem;
}

#tm-plus {
    color: #fff;
    text-shadow: 0 0 10px #FF9F43, 0 0 20px #FF9F43, 0 0 30px #FF9F43, 0 0 40px #FF9F43, 0 0 50px #FF9F43, 0 0 60px #FF9F43, 0 0 70px #FF9F43;
}

#svgContainer {
    position: relative;
    background-color: #272727;
    height: 100%;
    width: 100%;
}

#svgContainer.grouping {
    background-color: transparent;
}

#map-refresh {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: 1rem;
    margin-top: 1rem;
    z-index: 8;
    transform: rotateX(180deg) rotateZ(0);
    transition: all .25s;
}

#map-refresh:hover {
    cursor: pointer;
    transform: rotateX(180deg) rotateZ(45deg);
    color: #FF9F43;
    transition: all .25s;
}

#map-refresh i,
#sidebar-refresh i {
    font-size: 1.25rem;
}

#map-refresh i:hover,
#sidebar-refresh i:hover {
    cursor: pointer;
}

#sidebar-refresh {
    margin-right: 1rem;
    transition: all .25s;
}

#sidebar-refresh:hover {
    transform: rotate(-45deg);
    color: #FF9F43;
    transition: all .25s;
}

#zero-filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
}

#zero-filter-container label {
    margin-right: .25rem;
}

.zero-cost {
    display: block;
}

.zero-cost.hide {
    display: none;
}

.event-not-found {
    display: none;
}

.event-not-found.show {
    display: flex;
    justify-self: center;
}

#map svg {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

#map svg path {
    z-index: -9;
}

#map svg path.zone {
    z-index: 1;
    pointer-events: all;
}

#map svg path.animate-zone {
    animation: flash infinite 2.5s;
}

#map svg path.animate-section {
    animation: flash infinite 2.5s;
}

#map svg path.zone:hover {
    cursor: pointer;
    fill: #FF9900 !important;
}

#map svg path.top-layer:hover {
    cursor: pointer;
}

#map svg text {
    z-index: 99;
    pointer-events: none;
}

#map svg text:hover {
    cursor: pointer;
}

path.zone.active-section {
    fill: #FF9900 !important;
}

path.zone.etain-filter {
    stroke: #fff;
    stroke-width: 3px;
}

#edit-save {
    display: flex;
}

#edit-save.grouping {
    display: none;
}

#client-input i {
    font-size: 1.25rem;
    opacity: .9;
    transition: all .25s;
    margin: 0 1rem;
}

#client-input i:hover {
    opacity: 1;
    cursor: pointer;
}

[type="checkbox"]:hover {
    cursor: pointer;
}

.etainement-data {
    height: 50vh;
    width: 54vw;
    position: absolute;
    bottom: 0;
    left: 5.5vw;
    background-color: #222;
    box-shadow: 15px -15px 25px #00000055;
}

.market-data {
    height: 50vh;
    width: 39.5vw;
    position: absolute;
    bottom: 0;
    right: .5vw;
    background-color: #222;
    box-shadow: 15px -15px 25px #00000055;
    z-index: 8;
}

.market-data.grouping * {
    display: none;
}

#client-input,
#market-client-input {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border-radius: 5px 5px 0 0;
    height: 7.5%;
    background-color: #222;
}

#market-table-legend {
    display: flex;
    justify-content: space-evenly;
}

#client-input.grouping {
    justify-content: center;
}

#client-input.grouping > div {
    margin: 0 1rem;
}

#market-client-input {
    justify-content: center;
}

#market-client-input * {
    margin: 0 1rem;
}

#group i.grouping {
    font-size: 2.25rem;
}

#quantity-input {
    width: 100px;
    display: flex;
    justify-content: center;
}

#quantity-input #quantity {
    width: 100%;
    border-radius: 2px;
    padding: .25rem 0 .25rem .25rem;
    border: none;
    box-shadow: 0 0 15px #000000aa;
}

#quantity-input #quantity:focus {
    outline: transparent;
}

#section-input label.hide,
#row-input label.hide {
    display: none;
}

#total-tickets {
    font-size: 1.25rem;
}

#edit-save i:nth-of-type(2),
#edit-save i:nth-of-type(3) {
    color: #fff;
    transition: all .25s;
}

#edit-save i:nth-of-type(2).save-pending {
    color: #3DC934;
    font-size: 1.75rem;
    transition: all .25s;
}

#edit-save i:nth-of-type(3).save-pending {
    color: #D9534F;
    font-size: 1.75rem;
    transition: all .25s;
}

#edit-save i:hover {
    color: #FF9F43;
    cursor: pointer;
    transition: all .15s;
}

#tables {
    height: 90%;
    position: relative;
}

#market-tables {
    height: 90%;
    position: relative;
}

.backlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ddd;
    opacity: .3;
}

.market-legend-item {
    margin: 3px;
    padding: 3px;
    text-align: center;
    font-size: 90%;
    border: 1px solid white;
}

.etainement-row .tabulator-cell,
.cancelled-row, .etainement-row-color {
    background-color: #D9534F;
}

.anytickets-row .tabulator-cell,
.sold-row, .anytickets-row-color {
    background-color: #FF9F43;
}

.tradedesk-row .tabulator-cell, 
.tradedesk-row-color {
    background-color: #0000AA
}

.large-position-row .tabulator-cell,
.large-position-row-color {
    background-color: #AA00AA
}

.arb-row .tabulator-cell,
.arb-row-color {
    background-color: #AA0000
}

.pricer-row .tabulator-cell,
.pricer-row-color {
    background-color: #00AA00
}

.sold-row {
    background-color: #C2F0FF !important;
    color: #222;
}

#etain-table .cancelled-row {
    background-color: #D9534F;
}

.anytickets-row > .tabulator-cell[tabulator-field="Section"],
.etainement-row > .tabulator-cell[tabulator-field="Section"],
.arb-row > .tabulator-cell[tabulator-field="Section"],
.pricer-row > .tabulator-cell[tabulator-field="Section"],
.large-position-row > .tabulator-cell[tabulator-field="Section"],
.cancelled-row > .tabulator-cell[tabulator-field="Section"],
.sold-row > .tabulator-cell[tabulator-field="Section"] {
    background-color: transparent;
}

.tabulator-selected {
    background-color: #222 !important;
}

#etain-table {
    font-size: 1rem;
    height: 100%;
    max-height: 100%;
    margin: 0;
    border: none;
    box-sizing: border-box;
}

#market-table {
    font-size: 1rem;
    height: 100%;
    max-height: 100%;
}

#group i:hover {
    cursor: pointer;
    color: #FF9F43;
    transition: all .25s;
}

#edit-popup,
#grouping-popup {
    height: 49vh;
    width: 54vw;
    position: absolute;
    bottom: .5vh;
    left: 5.5vw;
    opacity: 0;
    z-index: -1;
    background-color: #222222ee;
    color: #fff;
    border-radius: 5px;
    transition: all .5s;
}

#grouping-popup.grouping {
    height: 98vh;
}

#edit-popup.show-popup,
#grouping-popup.show-popup {
    opacity: 1;
    z-index: 8;
    transition: all .5s;
}

#edit-nav-bar,
#grouping-nav-bar {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
}

#edit-nav-bar i,
#grouping-nav-bar i {
    font-size: 1.25rem;
    opacity: .9;
}

#edit-nav-bar i:hover,
#grouping-nav-bar i:hover {
    opacity: 1;
    color: #FF9F43;
    cursor: pointer;
    transition: all .25s;
}

#edit-body,
#grouping-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#edit-body-content,
#grouping-body-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 70px;
    position: relative;
    margin-bottom: 5rem;
}

#new-price-label,
#grouping-label {
    font-size: 1.5rem;
    font-weight: 400;
}

#new-price,
#grouping {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border: none;
    margin-left: 1.5rem;
    border-radius: 5px;
    background-color: #ffffffbb;
    box-shadow: 0 0 25px #000000aa;
    transition: all .25s;
}

#new-price.price-error {
    animation: price-error 1s linear;
}

#new-price:focus {
    outline: transparent;
}

#new-price-options {
    padding: 2rem 0;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

#new-price-option label {
    font-size: 1.25rem;
}

#percent-option,
#currency-option {
    height: 15px;
    width: 15px;
    margin-right: .5rem;
}

#percent-option:hover,
#currency-option:hover {
    cursor: pointer;
}

.submit-new-price,
.confirm-new-price,
.cancel-new-price,
.submit-grouping {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    margin-top: 3rem;
    box-shadow: 0 0 25px #000000aa;
    background-color: #FF9F43;
    opacity: .8;
    color: #fff;
    transition: all .1s;
}

.submit-new-price:hover,
.confirm-new-price:hover,
.cancel-new-price:hover,
.submit-grouping:hover {
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 0 10px #000000cc;
    transition: all .1s;
}

.submit-new-price:active,
.confirm-new-price:active,
.cancel-new-price:active {
    opacity: .9;
    box-shadow: 0 0 5px #000;
    transition: all .1s;
}

.submit-new-price.show-warning {
    display: none;
    opacity: 0;
}

.confirm-new-price,
.cancel-new-price {
    width: 40%;
}

.confirm-new-price {
    background-color: #3DC934;
}

.cancel-new-price {
    opacity: .8;
    background-color: #D9534F;
}

#warning-messages {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translateX(-50%);
}

#warning-messages i {
    font-size: 2rem;
    color: #FF9F43;
}

#warning-messages .warning {
    line-height: 1.7;
}

#warning-messages.show-warning {
    opacity: 1;
    transition: all .25s;
}

.messages {
    text-align: center;
}

#confirm-msg {
    color: #3DC934;
}

#cancel-msg {
    color: #D9534F;
}

#warning-buttons {
    display: none;
    width: 100%;
    opacity: 0;
    transition: all .25s;
}

#warning-buttons.show-warning {
    display: flex;
    justify-content: space-evenly;
    opacity: 1;
    transition: all .25s;
}

.tabulator-col-title-holder {
    text-align: center;
}

.tabulator-col-title {
    padding-right: 0px !important
}

.tabulator-cell {
    text-align: center;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transition: all .25s;
}

.tabulator-cell.staging {
    background-color: #FF9F43;
    color: #000;
    transition: all .25s;
}

.tabulator-cell.price-error {
    background-color: #FF9F43;
    transition: all .25s;
}

.tabulator-cell i {
    color: #6fa9ec;
}

.toggle-section {
    display: grid;
}

.toggle-container {
    display: flex;
    align-items: center;
    margin: 1px;
    padding: 2px;
    size: 50%;
}

#active-toggle-container {
    grid-row: 1;
    grid-column: 1;
}

#cancelled-toggle-container {
    grid-row: 1;
    grid-column: 2;
}

#sold-toggle-container {
    grid-row: 2;
    grid-column: 1;
}

#zone-toggle-container {
    grid-row: 2;
    grid-column: 2;
}

.toggle-container h3 {
    font-size: 1rem;
    margin: 0 .5rem;
}

.toggle-background {
    height: 16px;
    width: 35px;
    background-color: #444;
    border-radius: 20px;
    position: relative;
    transition: all .25s;
    box-shadow: 0 0 10px #00000055;
}

.toggle-background.active {
    background-color: #FF9F43;
    transition: all .25s;
}

.toggle-background:hover {
    cursor: pointer;
}

.txt-input {
    max-width: 100px;
    margin-left: .5rem;
    border-radius: 2px;
    padding: .25rem .5rem;
    border: none;
    box-shadow: 0 0 15px #000000aa;
}

.txt-input:focus {
    outline: transparent;
}

.tabulator-row {
    display: block;
}

.tabulator-row.hide-row {
    display: none;
}

.toggle-overlay {
    position: absolute;
    top: 50%;
    left: 3%;
    height: 14px;
    width: 14px;
    border-radius: 50%;
    transform: translateY(-50%);
    background-color: #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    transition: all .25s;
}

.toggle-overlay:hover {
    cursor: pointer;
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.75);
    transition: all .25s;
}

#active-toggle.active,
#cancelled-toggle.active,
#sold-toggle.active,
#zone-toggle.active {
    transform: translate(130%, -50%);
    transition: all .25s;
}

#active-toggle.active:hover,
#cancelled-toggle.active:hover,
#sold-toggle.active:hover,
#zone-toggle.active:hover {
    transform: translate(130%, -50%) scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.75);
    transition: all .25s;
}

#qtymatch-toggle {
    transform: translate(-80%, -50%);
    transition: all .25s;
}

#qtymatch-toggle.active {
    background-color: #fff;
    transform: translate(40%, -50%);
    transition: all .25s;
}

#qtymatch-toggle.active:hover {
    transform: translate(40%, -50%) scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.75);
    transition: all .25s;
}

.remove-filters {
    display: flex;
    height: 100%;
    align-items: center;
}

.remove-filters i {
    font-size: 1.25rem;
}

.remove-filters i:hover {
    color: #FF9F43;
    cursor: pointer;
}

#stats-iframe.grouping {
    display: none;
}

.etainement-data.grouping {
    height: 98vh;
}

.market-data.grouping {
    display: none;
}

#manual-event-id-container {
    display: none;
}

#manual-event-id-container.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
}

#manual-event-id-container input {
    padding: .5rem;
    border: none;
    margin-bottom: 1rem;
}

#manual-event-id-container input:focus {
    outline: transparent;
}

#manual-event-id-container button,
#remove-bn-tag {
    height: 25px;
    width: 100px;
    border-radius: 2px;
    box-shadow: 0 0 15px #00000055;
    background-color: #FF9F43;
    color: #fff;
    border: none;
}

#remove-bn-tag {
    width: 115px;
}

#remove-bn-tag.grouping {
    display: none;
}

#manual-event-id-container button:hover,
#remove-bn-tag:hover {
    cursor: pointer;
}

.updated {
    background-color: #ff9e43a4;
}

.event-line {
    border-right: 2px solid red;
    height: 12px;
    display: inline-block;
    margin-right: 6px;
  }

.onsale-line {
    border-right: 2px solid green;
    height: 12px;
    display: inline-block;
    margin-right: 6px;
}

.tabulator-group-header-button-div {
    position: absolute;
    right: 0;
}

.tabulator-group-header-button {
    margin: 0 3px 0px 3px;
    height: 80%;
    font-size: 90%;
    padding: 1px;
    border-radius: 5px;
}

@keyframes price-error {
    0% {
        background-color: #ffffffbb;
    }
    20% {
        background-color: #D9534F;
    }
    40% {
        background-color: #ffffffbb;
    }
    60% {
        background-color: #D9534F;
    }
    80% {
        background-color: #ffffffbb;
    }
    100% {
        background-color: #D9534F;
    }
}

@keyframes flash {
    0% {
        opacity: 1;
    }
    10% {
        opacity: .1;
    }
    20% {
        opacity: 1;
    }
    30% {
        opacity: .1;
    }
    40% {
        opacity: 1;
    }
    50% {
        opacity: .1;
    }
    60% {
        opacity: 1;
    }
    70% {
        opacity: .1;
    }
    80% {
        opacity: 1;
    }
    90% {
        opacity: .1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes loading {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(180deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#last-sale-update,
#cost-tickets-orderby {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#last-sale-update > div,
#cost-tickets-orderby > div,
#event-dates,
#pre-pub-date {
    margin-bottom: 1.5rem !important;
}

#last-sale-orderby,
#last-update-orderby,
#cost-orderby,
#tickets-orderby {
    width: 100%;
    justify-content: space-between;
    position: relative;
}

.operation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#submit-event-filters {
    width: 50%;
    margin-top: 1.5rem;
}

#submit-event-filters-btn {
    width: 100%;
    height: 30px;
    border-radius: 2px;
    box-shadow: 0 0 15px #00000055;
    background-color: #FF9F43;
    color: #fff;
    border: none;
    transition: all .25s;
}

#submit-event-filters-btn:hover {
    cursor: pointer;
    background-color: #FF9F43;
    box-shadow: 0 0 10px #00000055;
    transition: all .25s;
}

h3.platform {
    color: #FF9F43;
    font-size: 1rem;
}

.pricer-link {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 1600px) {
    #nav-bar-header-left i {
        font-size: 1.25rem;
    }

    #event-side-bar-header {
        padding: .5rem 0;
        height: unset;
    }

    #event-dates {
        margin: .5rem 0;
    }

    #event-side-bar-events {
        transform: translateY(1rem);
    }

    #section-input label,
    #row-input label {
        display: none;
    }

    #client-input,
    #market-client-input {
        height: unset;
        padding: .5rem 0;
    }

    #stats-table-header {
        height: unset;
        padding: .5rem 0;
        flex-wrap: wrap;
    }

    #stats-table-header h3 {
        padding: 0 .5rem;
    }

}