.linkToAuctionHistory {
    display: flex;
    justify-content: space-evenly;
    font-size: 1.5em;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
}

.mobile .linkToAuctionHistory {
    font-size: 1.25em;
}

.auctionForm {
    background-image: url('//cdn.e-sim.org/img/bgForElements/auctionsBg.jpg') !important;
    background-size: 140% !important;
    background-position: center !important;
    color: #f2f2f2;
    border-radius: 5px;
    text-align: center;
    margin: 0 auto 0.5em !important;
    box-shadow: 0 0 4px 4px #fff2;
    border: 2px solid #000000;
    width: 97%;
}

.mobile .auctionForm {
    background-size: 200%
}

.auctionFormWrapper {
    background-color: #000000d4;
    padding: 0.5em;
    width: 75%;
    margin: 1.5em auto;
    border: 2px solid black;
    border-radius: 0.5em;
    box-shadow: 0 0 3px 1px black;
    display: flex;
    flex-direction: column;
    gap: 0.25em;
    align-items: center;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}


.mobile .auctionForm > .auctionFormWrapper {
    width: 96%;
}
.mobile .auctionForm > .auctionFormWrapper > .btn-buy {
    padding: 0.6em 1em;
}

.createAuctionForm .btn-buy {
    padding: 1em 2em;
    font-size: 1.5em;
}

.equipmentAuctions {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    padding: 0.2em;
}

.shadowWrapper {
    background-color: #3d3d3d !important;
}
.auctionOfferList {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0 0 0.25em;
    border-radius: 0.25em;
    box-shadow: 0 0 4px #0008 inset;
    color: white;
}

.auctionOffersHeader {
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.7fr 1.25fr;
    font-size: 1.25em;
    width: 96%;
    background-color: #0000000d;
    border-radius: 0.5em 0.5em 0 0;
    background-image: url('//cdn.e-sim.org/img/bgForElements/texture3.png');
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

.auctionOffers {
    display: flex;
    flex-wrap: nowrap;
    width: 99%;
    flex-direction: column;
    margin: 0 auto;
    padding: 0.5em 0;
    align-items: center;
}

.auctionOffer {
    align-items: center;
    font-size: 1.5em;
    padding: 0.375em 0.5em;
    width: 98%;
    transition: all ease 0.2s;
    cursor: pointer;
    text-shadow: 0px 0px 2px black, 0px 1px 2px black, 0px 1px 2px black;
    font-weight: bold;
}

.mobile .auctionOffer {
    width: 96%;
}

.auctionOffer .insideShadowWrapper {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.7fr 1.25fr;
    background-color: unset;
    box-shadow: unset;
    border: none;
    padding: 0;
}

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

.auctionOffer .insideShadowWrapper.marked {
    box-shadow: inset 0 0 3px 1px #66ff00;
    border: 1px solid #66ff00;
    background-color: #a7a9a726;
}

.mobile .auctionOffer .insideShadowWrapper.marked {
    border: 2px solid #66ff00;
}

.auctionOffer .insideShadowWrapper > div {
    justify-self: center;
    align-self: center;
    width: 100%;
}

.auctionOffer .insideShadowWrapper > .auctionItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    justify-content: center;
}

.countdown-amount, .countdown-period {
    padding-right: unset;
}

.auctionOffer .insideShadowWrapper > .auctionBid {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.mobile .auctionOffer .insideShadowWrapper > .auctionBid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.auctionOffer .insideShadowWrapper > .auctionBid .auctionButtons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0.5em;
    align-items: stretch;
}

.auctionOffer .insideShadowWrapper > .auctionBid .btn-buy {
    font-size: 1em;
    min-width: unset;
}

.auctionOffer .insideShadowWrapper > .auctionBid .btn-yellow {
    width: 1.8em;
}
.mobile .auctionOffer .insideShadowWrapper > .auctionBid .btn-buy {
    padding: 0.75em 1em !important;
}

.auctionsModal > .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;
}
.auctionsModal .modalFooter {
    display: flex;
    flex-direction: row;
    gap: 1.5em;
    position: relative;
    margin: 0;
    min-height: 0.5em;
    padding: 0.75em;
    justify-content: center;
    align-items: stretch;
}

.auctionsModal .closeModal {
    background: #dc143c;
    border: 1px solid #080808;
    border-radius: 4px;
    color: #f2f2f2;
    font-weight: 900;
    height: 2.5em;
    padding: 2px 0;
    position: absolute;
    right: 0.75em;
    top: 0.75em;
    width: 2.5em;
    cursor: pointer;
}

.auctionsModal .closeModal::before {
    content: '\2715';
}

.auctionsModal .auctionDetails {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.auctionsModal .auctionDetails .topBidder, .auctionsModal .auctionDetails .topBidPrice {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

.auctionsModal .auctionDetails .topBidder > .topbidderName, .linkToAuction {
    display: inline-block;
    color: #0077cc;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.auctionsModal .linkToAuctionButton {
    outline: 3px solid black;
    padding: 1em 1.5em;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 0.5em;
}

.auctionsModal .linkToAuctionButton i {
    padding-right: 0;
}

.auctionsModal .auctionDetails .topBidder > .topbidderName:hover, .linkToAuction:hover {
    box-shadow: 0 1px 6px 1px rgb(0 0 0 / 100%);
}

.auctionsModal .auctionDetails > .price_gold {
    font-size: 1.25em;
}

.auctionsModal .countInputs {
    display: flex;
    filter: drop-shadow(0px 0px 3px black);
    flex-direction: column;
    gap: 1em;
}

.auctionsModal .countInputs > .price_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em;
}

.auctionsModal .countInputs > div:first-of-type {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5em;
    width: 100%;
}

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

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

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

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

.auctionsModal .modalFooter .btn-buy {
    min-height: 50px;
    min-width: 150px;
}

.mobile .darkform .dropdownSelect {
    margin: unset;
}

.mobile .auctionsModal .insideShadowWrapper > .price {
    font-size: 1.2em;
}

.insideShadowWrapper > div, .insideShadowWrapper > div > span {
    justify-self: center;
    align-self: center;
    font-weight: 900;
}

.insideShadowWrapper > .bid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.auctionsModal {
    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('//cdn.e-sim.org/img/bgForElements/texture3.png');
    background-color: #2c3035;
    background-size: cover;
    color: white;
    font-size: 1.5em;
    width: 500px;
}

.auctionsModal .modalBody {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 1em;
    filter: drop-shadow(0px 0px 3px black);
    gap: 1em;
}

.auctionsModal::backdrop {
    background-color: #30303088;
}

.auctionsModal .wallet {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0px 0px 3px black);
}

.auctionsModal .description {
    text-align: center;
}

.auctionsModal .buyAsContainer {
    display: flex;
    flex-direction: column;
}

.auctionsModal .price .gold {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5em;
}

.auctionsModal .modalFooter select.buyer {
    border: 1px solid #0008;
    border-radius: 5px;
    margin: 0.2em;
    max-width: 7em;
    padding: 0.2em 0.5em;
    font-size: 1em;
}

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

.insideShadowWrapper .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);
}

.insideShadowWrapper .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;
}

.insideShadowWrapper .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;
}

.insideShadowWrapper .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);
}

.insideShadowWrapper .range:focus, .insideShadowWrapper .range:active {
    outline: none;
}

.insideShadowWrapper button.grUL, .insideShadowWrapper input.grML, .insideShadowWrapper button.grBL {
    border: 1px solid #484848;
    font-size: 2em;
    font-weight: 900;
}
.insideShadowWrapper button.grUL, .insideShadowWrapper button.grBL {
    justify-self: center;
    padding: 0;
    width: 1.5em;
}
.insideShadowWrapper button.grUL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 0 5px 5px 0;
}
.insideShadowWrapper 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;
}
.insideShadowWrapper button.grBL {
    background: linear-gradient(#f8dd36, #d68706) no-repeat, linear-gradient(#efefef, #c9c9c9);
    border-radius: 5px 0 0 5px;
}

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

.insideShadowWrapper .buttonShadows {
    box-shadow: inset 4px 4px 4px -4px rgb(255 255 255), inset -4px -4px 4px -4px rgb(0 0 0);
}
.insideShadowWrapper .quantityContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 20px;
    width: 100%;
}

.insideShadowWrapper .inputs_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(0 1px 2px black);
}

.auctionOffer .auctionBid input[type="text"], .myAuctions input[type="text"] {
    width: 40px;
    height: 1em;
    padding: 10px;
    border: 3px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    text-align: center;
}

.auctionOffer .auctionBid input[type="text"]:focus, .myAuctions input[type="text"]:focus {
    border-color: #007bff;
}

.mobile .auctionOffersHeader {
    padding: 0.2em 0.5em;
}

.mobile .auctionOfferList {
    font-size: 1.5em;
}

.mobile .auctionOffer .auctionBid input[type="text"], .mobile .myAuctions input[type="text"] {
    width: 60%;
    font-size: 1.5em;
}

.mobile .auctionOffer .insideShadowWrapper > .auctionBid .btn-buy.bid {
    min-width: 40%;
}

.mobile .auctionOffer .auctionBid .changeBid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.auctionItem > img:not(.smallhelp), .createAuctionForm img:not(.smallhelp, #missionPointer) {
    zoom: 1.25 !important;
}

.mobile .auctionItem > img:not(.smallhelp, #missionPointer), .mobile .createAuctionForm img:not(.smallhelp, #missionPointer) {
    zoom: 3 !important;
}
.mobile .ui-tooltip {
    zoom: 2;
}

.mobile .auctionOffer .offerer {
    font-size: 14px;
}

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

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

.mobile .auctionsModal {
    font-size: 3em;
    width: 85%;
}

.mobile .auctionsModal .modalFooter > .btn-buy {
    min-width: 350px;
}

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

.mobile .auctionsModal > .insideShadowWrapper {
    box-shadow: inset 0 0 3px 8px black;
}


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

.mobile .insideShadowWrapper > .buy > .btn-buy, .mobile .auctionsModal strong, .mobile .auctionsModal .closeModal::before {
    font-size: 2em;
}

.mobile .productMarketOffer .seller {
    font-size: 14px;
}

.mobile .createAuctionForm .dropdownSelect > .option {
    zoom: 1;
}

.mobile .insideShadowWrapper .range, .mobile .exchange .range {
    width: 65%;
    height: 7em;
    border-radius:3em;
}
.mobile .insideShadowWrapper .range::-webkit-slider-container, .mobile .exchange .range::-webkit-slider-container  {
    height: 5em;
    margin: 1em;
    border-radius:3em;
}

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

.mobile .auctionFormWrapper i.icon {
    padding-right: 0;
}


/*better style for darkForms*/

.darkform h3.whiteHeader {
    margin: 0.5em 2em;
}

.darkform .multiChoiceDark .option {
    padding: 1.5em 0.5em !important;
    font-size: 1.25em;
}

/*css for auction.html*/
.itemDescContainer {
    border: 3px solid grey;
    border-radius: 1em;
    padding: 1em;
    background: #ffffff30;
    background-color: #000;
    background-image: url(//cdn.e-sim.org//img/bgForElements/texture3.png), url(//cdn.e-sim.org//img/bg.png);
    background-repeat: repeat, repeat;
    color: white;
}

.mobile .itemDescContainer {
    zoom: 2;
}

.mobile .auctionDetailsContainer {
    font-size: 2em;
}
/*temporary fix for hover text at auctions*/

.companyTag .hovertext:hover:after {
    width: 100%;
}

.auctionFormWrapper .dropdownSelect {
    margin: 0.25em 1em !important;
}
.spanHeaderStyle{
	display: block;
	font-size: 1.5em;
	padding: 0.5em;
	font-weight: bold;
}

.myAuctions .gridSpan {
	grid-column-start: span 2;
	margin: 1.25em 0 0 0;
}

.myAuctions {
	display: flex;
	justify-content: space-around;
	flex-direction: row;
	width: 100%;
	margin: 0.5em auto;
}

.auctionFormWrapper {
	width: 60%;
}

.mobile .portalTo {
    font-size: 1.5em;
}

.countryBall:not(.topLeft)::after {
	padding: 0 !important;
}

.dropdownSelect {
	margin: 0.25em 0.5em !important;
}

.darkform h3.whiteHeader {
	margin: 0.25em auto;
}

.darkform .multiChoiceDark .option {
	padding: 0.75em 0.25em !important;
}

.darkform .number {
	padding: 0.125em 0.5em !important;
}

.mobile .bg-dark {
	font-size: 2em;
}