div.search {
    display: flex;
    align-items: center;
    height: 40px;
    width: 75%;
    background: var(--sub-bg);
    border: none;
    border-radius: 10px;
    color: var(--textcolor);
    margin-bottom: 50px;
}

input.search {
    height: 100%;
    width: 100%;
    background: none;
    border: none;
    font-size: large;
    color: var(--textcolor);
    outline-width: 0;
}

#bazaar-items {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.item-info {
    width: 100%;
    margin-left: 10px;
    color: var(--textcolor);
}

.item-image {
    height: 128px;
    width: 128px;
    align-self: center;
}


.item-info h3 {
    width: 100%;
    text-align: center;
}

.item-category h2 {
    font-size: 1.5em;
    text-align: center;
}

div.item {
    display: flex;
    width: 100%;
    height: 90%;
}

div.item a {
    text-align: center;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    background-color: var(--sub-bg);
    padding: 10px;
    border-radius: 10px;
    align-self: center;
}

.item-stats {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


div.stat-container {
    height: 2rem;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    border-radius: 10px;
    background-color: #3c3e42;
    margin: 10px 5px 0 5px;
}

div.stat-container div.label {
    color: var(--textcolor);
    margin: 0 10px 0 10px;
    padding-left: 0;
}

div.stat-container div.value {
    display: flex;
    height: 100%;
    text-align: center;
    align-items: center;
    border-radius: 0 10px 10px 0;
    padding: 0 10px 0 10px;
}

/*make unique colors for these*/
.buy-price {
    background-color: #a41a03;
}

.buy-volume {
    background-color: #c0670c;
}

.sell-price {
    background-color: #1c5cdf;
}

.sell-volume {
    background-color: #4b0cc8;
}

#bazaar-charts {
    width: 100%;
}

#bazaar-header2 {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    color: #b0abab;
}

div.charts {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

div.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 45%));
    grid-gap: 20px;
    justify-content: center;
    width: 100%;
    margin-bottom: 35px;
    margin: auto;
    max-width: 75%;
}

/* Make max width on chart-container more on small screens */
@media (max-width: 768px) {
    div.chart-container {
        max-width: 100%;
    }
}

div.chart-container div.chart-item:first-child {
    grid-column: span 2;
}
/* Make grid columns only have 1 each when less than 1200px screen size */
@media (max-width: 1200px) {
    div.chart-container div.chart-item:nth-child(2) {
        grid-column: span 2;
    }
    div.chart-container div.chart-item:nth-child(3) {
        grid-column: span 2;
    }
}

div.chart-title {
    margin-top: 10px;
    font-size: larger;
}

div.chart-item {
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 10px;
    background-color: var(--sub-bg);
    flex-direction: column;
    margin: auto;
}

div.chart {
    width: 90%;
}

select.time-select {
    display: flex;
    align-items: center;
    border-radius: 10px;
    height: 40px;
    min-width: 100px;
    background: var(--sub-bg);
    border: none;
    font-size: large;
    color: var(--textcolor);
    outline-width: 0;
    text-align: center;
    margin: 10px;
}

#faq-question {
    font-weight: bold;
    font-size: 20px;
}

#faq-answer {
    margin-bottom: 20px;
}

#bazaar-orders {
    display: flex;
    flex-wrap: wrap;
}

#sell-orders-div {
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

#bazaar-faq {
    background-color: #151922;
    padding: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

#orders-header {
    background-color: #151922;
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-bottom: 0px;

    display: flex;
    justify-content: center;
    align-items: center;
}

#bazaar-table {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}