.flexColumn {
	display: flex;
	flex-direction: column;
}
.productMarketOfferList {
    margin: 0 auto;
    width: 99%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding:  0 0 1em;
    background: url(/img/bg.png) repeat scroll 0 0 #222;
    border: 1px solid #080808;
    border-radius: 0.25em;
    box-shadow: 0 0 4px #0008 inset;
    color: white;
}
.productMarketOffers {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.productMarketOfferList .gridMoreColumns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;

}

.productMarketOfferList .productMarketOffersHeader {
    display: grid;
    padding: 0.5em;
    grid-template-columns: 1fr 0.75fr 0.75fr 1fr 1fr !important;
    font-size: 1.5em;
    width: 100%;
    background-color: #0000000d;
    border-radius: 0.5em 0.5em 0 0;
    background-image: url(/img/bgForElements/texture3.png);
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.productMarketOffer {
	align-items: center;
	/*display: grid;*/
	/*grid-template-columns: 1fr 1fr 1fr 1fr;*/
	font-size: 1.5em;
    padding: 0.05em 0.5em;
    width: 100%;
    background-image: url(/img/bgForElements/texture3.png);
    background-color: #0000000d;
    background-size: auto;
    /*box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 50%);*/
    transition: all ease 0.2s;
    cursor: pointer;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.productMarketOffer:hover .insideShadowWrapper  {
    background-color: rgba(255, 255, 255, 0.18);
}

.mobile .productMarketOffer {
	font-size: 2em;
    padding: 0.25em 0.5em;
}

.productMarketOffer .insideShadowWrapper {
    margin: 0 auto;
    box-shadow: inset 0 0 3px 1px black;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    background-color: #00000040;
    border-radius: 0.5em;
    padding: 0.2em;
    display: grid;
    grid-template-columns: 1fr 0.75fr 0.75fr 1fr 1fr !important;
    border-bottom: 1px solid #555;

}

.productMarketOffer .qr {
	align-items: center;
	display: flex;
	flex-direction: row;
    justify-content: space-around;
}

.productMarketOffer > .offerer {
    margin: 0 0 0.5em;
}
.productMarketOffer > .offerer > .offerBy {
	margin: auto;
	font-size: 0.875em;
}

.productMarketOffer .insideShadowWrapper > .price, .productMarketOffer .insideShadowWrapper > .quantity {
	font-weight: 900;
	justify-self: center;
	align-self: center;
}

.mobile .productMarketOffer .insideShadowWrapper > .price, .mobile .productMarketOffer .insideShadowWrapper > .quantity {
    font-size: 1.2em;
}

.productMarketOffer .insideShadowWrapper > .price > div {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.25em;
}

.productMarketOffer .insideShadowWrapper > div, .productMarketOffer .insideShadowWrapper > div > span {
    justify-self: center;
    align-self: center;
}

.productMarketOffer .insideShadowWrapper > .buy > .btn-buy {
    width: 75%;
    padding: 8px 16px;
    min-width: unset;
}

.mobile .productMarketOffer .insideShadowWrapper > .buy > .btn-buy {
    font-size: 2em;
}

dialog.productMarketModal {
	align-items: stretch;
    border: 1px solid #000000;
    border-radius: 5px;
	box-shadow: 0 2px 12px #000;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 0;
	text-align: center;
    opacity: 1;
    -webkit-transition: opacity 250ms linear;
    transition: opacity 250ms linear;
    background-image: url('/img/bgForElements/texture3.png');
    background-color: #292929;
    background-size: cover;
    color: white;
    font-size: 1.5em;
    width: 460px;
}

dialog.productMarketModal.big {
    width: 590px;
}

.mobile dialog.productMarketModal.big {
    width: 90%;
}

.mobile dialog.productMarketModal .dropdownSelect > .option {
    zoom: 0;
}

.mobile dialog.productMarketModal .flexColumn > button.btn-buy {
    font-size: 1.5em;
    padding: 0.5em;
}

dialog.productMarketModal.darkform {
    position: fixed;
    margin: revert;
}

.productMarketModal > .insideShadowWrapper {
    margin: 0 auto;
    box-shadow: inset 0 0 3px 1px black;
    text-shadow: 0px 1px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    background-color: #00000040;
    width: 90%;
    border-radius: 0 0 0.5em 0.5em;
    display: unset;
}

.productMarketModal > .insideShadowWrapper:hover {
    background-color: #00000040 !important;
}

dialog.productMarketModal .flexColumn {
	justify-content: space-around;
}
dialog.productMarketModal .flexColumn > .product {
    transform: scale(1.25);
}
dialog.productMarketModal .flexColumn > button.btn-buy {
    min-height: 50px;
    min-width: 150px;
    font-size: 1em;
}

dialog.productMarketModal .dropdownSelect .dropdownDark {
    width: 94%;
}

.mobile dialog.productMarketModal .dropdownSelect .dropdownDark {
    max-height: 30vh;
    width: 90vw;
    left: -5%;
}

dialog.productMarketModal .dropdownSelect {
    width: 10em;
    height: 4em;
}

dialog.productMarketModal .dropdownSelect .optionText {
    font-size: 0.75em;
}

dialog.productMarketModal button, dialog.productMarketModal input {
	cursor: pointer;
}
dialog.productMarketModal button:disabled, dialog.productMarketModal input:disabled {
	cursor: not-allowed;
}

dialog.productMarketModal::backdrop {
    background-color: #30303088;
}
dialog.productMarketModal .modalHeader, dialog.productMarketModal .modalBody, dialog.productMarketModal .modalFooter {
	display: flex;
	flex-direction: row;
	gap: 1.5em;
	position: relative;
}
dialog.productMarketModal .modalHeader {
	justify-content: space-around;
}
dialog.productMarketModal .modalFooter {
	justify-content: space-evenly;
}
dialog.productMarketModal .modalHeader {
	min-height: 2.5em;
	padding: 0.5em 3.25em;
}
dialog.productMarketModal .modalHeader strong {
	font-size: 1.25em;
}
dialog.productMarketModal .closeModal {
	background: #dc143c;
	border: 1px solid #080808;
	border-radius: 4px;
	color: #f2f2f2;
	font-weight: 900;
	height: 1.5em;
	padding: 2px 0;
	position: absolute;
    right: 0.5em;
    top: 0.5em;
	width: 1.5em;
}
dialog.productMarketModal .closeModal::before {
	content: '\2715';
}

dialog.productMarketModal .modalBody {
	justify-content: space-around;
	padding: 1em;
    border-bottom: 1px solid #ffffff63;
    filter: drop-shadow(0px 0px 3px black);
    width: 100%;
}
dialog.productMarketModal .price {
	font-size: 1em;
}
dialog.productMarketModal .price>div:not(:first-child) {
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-weight: 900;
    gap: 1.5em;
}
dialog.productMarketModal .quantity {
	font-size: 1.2em;
	font-weight: 900;
}
dialog.productMarketModal .quality {
    font-size: 1.5em;
    font-weight: 900;
}
dialog.productMarketModal .countInputs {
	display: flex;
    filter: drop-shadow(0px 0px 3px black);
    flex-direction: column;
    padding: 0.25em 0.5em;
    gap: 1em;
    width: 100%;
    margin-top: 1em;
}

dialog.productMarketModal .countInputs.dropdowns {
    flex-direction: row;
    gap: 1em;
    width: 100%;
}

.productMarketModal .countInputs > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.productMarketModal .countInputs > div:first-of-type,
.productMarketModal .countInputs > .dropdownContainer {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 20px;
    width: 100%;
}

.productMarketModal .countInputs > .dropdownContainer {
    gap: 2em !important;
}

.productMarketModal .countInputs > .price_container {
    font-size: 1.2em;
}

.productMarketModal .countInputs .text_price {
    text-decoration: underline;
}

.productMarketModal .countInputs .output_wrapper {
    min-height: 40px;
    font-size: 0.8em;
}

.productMarketModal .countInputs .whole_price_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    width: 100%;
}

.productMarketModal .countInputs .whole_price_output {
    font-size: 1.3em;
    font-weight: bolder;
}

.productMarketModal .countInputs .inputs_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.25em;
}

.productMarketModal .wallet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
 }

dialog.productMarketModal .countInputs button.grUL, dialog.productMarketModal .countInputs input.grML, dialog.productMarketModal .countInputs button.grBL {
	border: 1px solid #484848;
	font-size: 1.5em;
	font-weight: 900;
}
dialog.productMarketModal .countInputs button.grUL, dialog.productMarketModal .countInputs button.grBL {
	justify-self: center;
	padding: 0;
	width: 1.5em;
}
.mobile dialog.productMarketModal .countInputs button.grUL {
    border-radius: 0 20px 20px 0;
}

dialog.productMarketModal .countInputs button.grUL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 0 10px 10px 0;
}
dialog.productMarketModal .countInputs input.grML {
	-webkit-appearance: none;
	-moz-appearance: textfield;
	color: black;
	margin: 0;
	text-align: center;
	width: 4em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.mobile dialog.productMarketModal .countInputs button.grBL{
    border-radius: 20px 0 0 20px;
}

dialog.productMarketModal .countInputs button.grBL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 10px 0 0 10px;
}

dialog.productMarketModal .inputs_wrapper > button:active {
    background-image: linear-gradient(to bottom, #d68706 0, #f8dd36 100%)!important;
}

.productMarketModal .buttonShadows {
    box-shadow: inset 4px 4px 4px -4px rgb(255 255 255), inset -4px -4px 4px -4px rgb(0 0 0);
}

.productMarketModal .countInputs .range {
    -webkit-appearance: none;
    height: 3em;
    width: 70%;
    border-radius: 2.25em;
    box-shadow: 0 -1px #eaeaea, 0 1px #fff;
    background: linear-gradient(#c3c3c3, #f1f1f1);
    cursor: pointer;
    border: 0;
}

.productMarketModal .countInputs .range::-webkit-slider-container {
    -webkit-appearance: none;
    -webkit-user-modify: read-write !important;
    margin: 0.375em;
    height: 2.25em;
    border-radius: 2.25em;
    box-shadow: inset 0 1px 4px #8c8c8c;
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
}

.productMarketModal .countInputs .range::-webkit-slider-thumb {
    -webkit-appearance: none;
    box-sizing: border-box;
    border: solid 0.375em transparent;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    box-shadow: 0 2px 5px #7d7d7d;
    background: linear-gradient(#c5c5c5, whitesmoke) padding-box, linear-gradient(#fbfbfb, #c2c2c2) border-box;
    cursor: ew-resize;
}

.productMarketModal .countInputs .range::-moz-range-thumb {
    -webkit-appearance: none;
    box-sizing: border-box;
    border: solid 0.375em transparent;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    box-shadow: 0 2px 5px #7d7d7d;
    background: linear-gradient(#c5c5c5, whitesmoke) padding-box, linear-gradient(#fbfbfb, #c2c2c2) border-box;
    cursor: ew-resize;
}

.productMarketModal .countInputs .range::-moz-range-track {
    -webkit-appearance: none;
    -webkit-user-modify: read-write !important;
    margin: 0.375em;
    height: 2.25em;
    border-radius: 2.25em;
    box-shadow: inset 0 1px 4px #8c8c8c;
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
}

.productMarketModal .countInputs .range:focus, .productMarketModal .countInputs .range:active {
    outline: none;
}

/*.productMarketModal .countInputs .range::-webkit-slider-thumb {*/
    /*-webkit-appearance: none;*/
    /*appearance: none;*/
    /*background: #dad124;*/
    /*height: 4em;*/
    /*width: 3em;*/
    /*-webkit-border-radius: 4px;*/
    /*-moz-border-radius: 4px;*/
    /*border-radius: 4px;*/
    /*box-shadow: inset 4px 4px 4px -4px rgb(255 255 255), inset -4px -4px 4px -4px rgb(0 0 0);*/
/*}*/
.productMarketOfferList h4 {
	font-size: 1.5em;
	padding: 0.5em;
}
dialog.productMarketModal .modalFooter {
	margin: 0;
	min-height: 0.5em;
	padding: 0.75em;
}
dialog.productMarketModal .buyButton {
	background: #14dc50;
	border: 1px solid #080808;
	border-radius: 4px;
	color: #f2f2f2;
	padding: 0.33em 1em;
	text-shadow: 0 0 2px #0008;
}
dialog.productMarketModal .modalFooter select.buyer {
	border: 1px solid #0008;
	border-radius: 5px;
	margin: 0.2em;
	max-width: 7em;
	padding: 0.2em 0.5em;
    font-size: 1em;
}

.mobile .productMarketOffer > .price {
    font-size: 0.8em;
}

.mobile .productMarketOffer .qr {
    flex-direction: column;
	justify-self: center;
}

.mobile .productMarketOffer .product {
    zoom: 2;
}

.mobile .productMarketModal {
    font-size: 3em;
    width: 92%;
}

.mobile .productMarketOfferList .productMarketOffersHeader {
    font-size: 3em;
}

.mobile .productMarketModal strong,
.mobile .productMarketModal .closeModal::before {
    font-size: 2em;
}

.mobile .productMarketModal .ribbon {
    height: 100px;
}

.mobile .productMarketModal .closeModal {
    right: 1.25em;
    top: 1.25em;
    font-size: 0.8em;
    width: 3em;
    height: 3em;
}

.mobile .productMarketModal .countInputs .output_wrapper {
    min-height: 40px;
    font-size: 0.8em;
}

.mobile dialog.productMarketModal .modalBody {
    filter: drop-shadow(0px 0px 8px black);
    border-bottom: 2px solid #ffffff63;
}

.mobile .productMarketModal > .insideShadowWrapper {
    box-shadow: inset 0 0 3px 8px black;
    width: 94%;
}

.mobile .productMarketModal .flexColumn > .product {
    transform: scale(3.25);
}

.mobile .productMarketModal .flexColumn > button.btn-buy {
    min-width: 350px;
}

.mobile .productMarketModal .countInputs .range {
    width: 90%;
    height: 10em;
    border-radius:4em;
    font-size: 0.25em;
}

.mobile .productMarketModal .countInputs .range::-webkit-slider-container  {
    height: 8em;
    margin: 1em;
    border-radius:3em;
}

.mobile .productMarketModal .buttonShadows {
    box-shadow: inset 10px 10px 10px -10px rgb(255 255 255), inset -10px -10px 10px -10px rgb(0 0 0);
}
.mobile .productMarketModal .countInputs .range::-webkit-slider-thumb {
    width: 9em;
    height: 9em;
    border: solid 0.975em transparent;
}

.productMarketOfferList.mateuszStyle {
    zoom: 1.5;
}

.productMarketOfferList.mateuszStyle > .productMarketOffersHeader, .productMarketOfferList.mateuszStyle > .productMarketOffers {
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
}

.productMarketOfferList.mateuszStyle .gridMoreColumns {
    grid-template-columns: 0.6fr 0.7fr 1.2fr 1fr !important;
}

.darkTable {
    margin: auto;
    border-collapse: separate;
    color: #f2f2f2 !important;
}

.darkTable tr:first-child {
    background: rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

.darkTable tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.7);
}

.darkTable tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.7);
}

.darkTable td {
    min-height: 24px;
    padding: 4px 6px;
}

    .marketPlaceWrapper .dropdownSelect {
        margin: 0.25em 1em !important;
    }

.mobile .marketPlaceWrapper .linkToStorage,
.mobile .marketPlaceWrapper .linkToMyAuctions {
    padding: 0.25em 1em;
    font-size: 1.75em;
}

</style>
