/* Market tabs — desktop only. Loaded with a min-width media attribute. */

/* Buy offers ------------------------------------------------------------- */

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyPage {
    position: relative;
    width: 100%;
    margin: -10px 0 0;
    padding: 3px 0 18px;
    color: #354033;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyTraderCount {
    float: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 38px;
    margin: 0 0 8px;
    padding: 7px 12px;
    gap: 7px;
    border: 1px solid #c4d0bf;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8faf6 0%, #edf3e9 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(56, 70, 49, .08);
    color: #465343;
    font-size: 13px;
    line-height: 22px;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyTraderCount > strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #527d19;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyTraderCount > strong > span {
    display: inline-block;
    direction: ltr;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyPage > .clear,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyTraderCount + .clear {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr);
    align-items: stretch;
    float: none;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
    gap: 8px;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters > .boxes {
    position: relative;
    display: block;
    float: none;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid #bdc9b7;
    border-radius: 6px;
    background: #fff;
    box-shadow: inset 0 1px rgba(255, 255, 255, .85), 0 1px 2px rgba(56, 70, 49, .08);
    overflow: hidden;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters > .boxes > :not(.boxes-contents) {
    display: none;
    background: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .boxes-contents {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters table.buy_select {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    background: transparent;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters table.buy_select thead td {
    height: 44px;
    padding: 5px 6px;
    border: 0;
    border-left: 1px solid #ccd6c7;
    background: linear-gradient(180deg, #edf4e9 0%, #e1ecdc 100%);
    color: #3c4b38;
    font: 700 12px/19px Tahoma, Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters table.buy_select tbody td {
    height: 44px;
    padding: 5px 2px;
    border: 0;
    background: #fff;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select thead,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select thead tr,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select thead td {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select thead td::after {
    content: ":";
    margin-right: 2px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select tbody {
    display: block;
    width: 100%;
    height: 44px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters :is(.search_select, .bid_select) table.buy_select tbody tr {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    height: 44px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 1px solid #c3cec0;
    border-radius: 5px;
    background: linear-gradient(180deg, #fff 0%, #edf2e9 100%);
    background-image: linear-gradient(180deg, #fff 0%, #edf2e9 100%);
    box-shadow: 0 1px 2px rgba(67, 77, 55, .13), inset 0 1px #fff;
    appearance: none;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter:focus,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilterActive {
    border-color: #76963d;
    background: linear-gradient(180deg, #e6f3d2 0%, #c5dd9a 100%);
    background-image: linear-gradient(180deg, #e6f3d2 0%, #c5dd9a 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62), 0 1px 2px rgba(69, 91, 33, .14);
    outline: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter::before,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter::after {
    display: none;
    content: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters button.iconFilter i {
    flex: 0 0 auto;
    margin: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select::before {
    content: "النسبة";
    position: static;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 5px 4px;
    border-left: 1px solid #ccd6c7;
    background: linear-gradient(180deg, #edf4e9 0%, #e1ecdc 100%);
    color: #3c4b38;
    font: 700 11px/19px Tahoma, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select .boxes-contents {
    padding: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select table.buy_select tbody {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: 44px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select table.buy_select tbody tr,
html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select table.buy_select tbody td {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    padding: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select button.iconFilter {
    width: 31px;
    min-width: 31px;
    height: 32px;
    min-height: 32px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select img.marketPercentage {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select button.iconFilter::after {
    display: block;
    width: 100%;
    color: #465640;
    font: 700 10px/30px Tahoma, Arial, sans-serif;
    direction: ltr;
    text-align: center;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select button.iconFilter[value*="1_1"]::after {
    content: "1:1";
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyFilters .ratio_select button.iconFilter[value*="1_x"]::after {
    content: "1:x";
}

html#mainLayout body.build #content #build.gid17 .trav47MarketBuyPage[aria-busy="true"] {
    transition: opacity .12s ease;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketOffersHeading {
    display: block;
    width: 100%;
    min-height: 35px;
    margin: 0;
    padding: 7px 11px;
    border: 1px solid #bdc9b7;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #edf4e9 0%, #dfeadb 100%);
    color: #34422f;
    font: 700 13px/20px Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #bdc9b7;
    border-top: 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0 0 6px 6px;
    table-layout: fixed;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(51, 64, 46, .08);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td {
    height: 32px;
    padding: 5px 4px;
    border: 0;
    border-bottom: 1px solid #ccd3c8;
    border-left: 1px solid #d9ded6;
    background: #f5f7f3;
    color: #465241;
    font: 700 11px/19px Tahoma, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable tbody td {
    height: 39px;
    padding: 6px 5px;
    border: 0;
    border-bottom: 1px solid #e4e9e1;
    border-left: 1px solid #edf0eb;
    background: #fff;
    color: #423f39;
    font: 400 11px/19px Tahoma, Arial, sans-serif;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable tbody tr:nth-child(even) td {
    background: #f9faf8;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable tr > td:last-child {
    border-left: 0;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td:nth-child(1),
html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td:nth-child(2) {
    width: 22%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td:nth-child(3) {
    width: 24%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td:nth-child(4) {
    width: 17%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable thead td:nth-child(5) {
    width: 15%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable td.val,
html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable td.dur {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable td.none[colspan] {
    height: auto;
    padding: 18px 8px;
    background: linear-gradient(180deg, #fff 0%, #f8faf7 100%);
    color: #737d6f;
    font-size: 12px;
    text-align: center;
    white-space: normal;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketOffersTable td.act button {
    float: none;
    min-width: 48px;
    height: 27px;
    margin: 0;
    padding: 3px 8px;
    text-align: center;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    direction: rtl;
    float: none;
    clear: both;
    width: 100%;
    min-height: 40px;
    margin: 8px 0 0;
    padding: 3px 0;
    gap: 14px;
    background: transparent;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator .travianPagerArrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 38px;
    min-width: 38px;
    height: 29px;
    min-height: 29px;
    margin: 0;
    padding: 0;
    border: 1px solid #789640;
    border-radius: 5px;
    background: linear-gradient(180deg, #f4fae9 0%, #d7e8b9 100%);
    color: #43651c;
    font-size: 0;
    line-height: 0;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    box-shadow: inset 0 1px #fff, 0 1px 2px rgba(56, 69, 39, .14);
    overflow: hidden;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator .travianPagerArrow::before {
    display: block;
    color: inherit;
    font: 700 23px/26px Arial, sans-serif;
    text-indent: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator .travianPagerPrevious::before {
    content: "‹";
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator .travianPagerNext::before {
    content: "›";
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPaginator .travianPagerArrow.disabled {
    opacity: .32;
    filter: grayscale(.65);
    pointer-events: none;
    box-shadow: none;
}

/* Create offer ----------------------------------------------------------- */

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage {
    position: relative;
    width: 100%;
    margin: -10px 0 0;
    padding: 3px 0 18px;
    color: #354033;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellTraderCount {
    float: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 42px;
    margin: 0 0 8px;
    padding: 7px 12px;
    gap: 7px;
    border: 1px solid #c4d0bf;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8faf6 0%, #edf3e9 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(56, 70, 49, .08);
    color: #465343;
    font-size: 13px;
    line-height: 22px;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellTraderCount > span::after {
    content: ":";
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellTraderCount > strong {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #527d19;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    direction: rtl;
    unicode-bidi: isolate;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellTraderCount > strong > :is(span, b) {
    display: inline-block;
    direction: ltr;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellForm {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellResourceRow {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin: 0 0 8px;
    gap: 8px;
    overflow: visible;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellResourceCard {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0 8px 8px;
    border: 1px solid #bdc9b7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(56, 70, 49, .08);
    overflow: visible;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellResourceCard > h4 {
    display: block;
    float: none;
    width: calc(100% + 16px);
    min-height: 34px;
    margin: 0 -8px 8px;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid #ccd6c7;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #edf4e9 0%, #e1ecdc 100%);
    color: #3c4b38;
    font: 700 13px/20px Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellResourceControls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
    align-items: center;
    width: 100%;
    gap: 7px;
    overflow: visible;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 input.trav47MarketSellAmount {
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    height: 38px;
    margin: 0;
    padding: 5px 8px;
    border: 1px solid #aebba8;
    border-radius: 5px;
    outline: 0;
    background: #fff;
    color: #343b31;
    font: 700 13px/26px Tahoma, Arial, sans-serif;
    direction: ltr;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(61, 72, 53, .1);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 input.trav47MarketSellAmount:focus {
    border-color: #789b40;
    box-shadow: 0 0 0 2px rgba(117, 157, 57, .14), inset 0 1px 2px rgba(61, 72, 53, .08);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceSelect {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceSelect.is-open {
    z-index: 30;
}

html#mainLayout body.build #content #build.gid17 :is(.trav47MarketResourceTrigger, .trav47MarketResourceOption) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 9px;
    gap: 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    background-image: none;
    color: #46533f;
    font: 700 12px/20px Tahoma, Arial, sans-serif;
    text-align: right;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceTrigger {
    height: 38px;
    border: 1px solid #aebba8;
    border-radius: 5px;
    background: linear-gradient(180deg, #fff 0%, #edf3e9 100%);
    background-image: linear-gradient(180deg, #fff 0%, #edf3e9 100%);
    box-shadow: inset 0 1px #fff;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceTrigger:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketResourceSelect.is-open .trav47MarketResourceTrigger {
    border-color: #789b40;
    background: linear-gradient(180deg, #f9fdf4 0%, #e2eed4 100%);
    background-image: linear-gradient(180deg, #f9fdf4 0%, #e2eed4 100%);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceTrigger > i,
html#mainLayout body.build #content #build.gid17 .trav47MarketResourceOption > i {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
    vertical-align: middle;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceTrigger > span,
html#mainLayout body.build #content #build.gid17 .trav47MarketResourceOption > span {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceTrigger > b {
    flex: 0 0 auto;
    color: #68814f;
    font: 700 16px/18px Arial, sans-serif;
    transition: transform .12s ease;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceSelect.is-open .trav47MarketResourceTrigger > b {
    transform: rotate(180deg);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceMenu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    right: 0;
    display: none;
    width: 100%;
    min-width: 126px;
    margin: 0;
    padding: 4px;
    border: 1px solid #9eae92;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 15px rgba(44, 53, 38, .23);
    overflow: hidden;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceSelect.is-open .trav47MarketResourceMenu {
    display: grid;
    gap: 2px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceOption {
    height: 31px;
    border-radius: 4px;
    background: #f7f9f5;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceOption:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketResourceOption.is-selected {
    background: #dceacb;
    color: #3c6018;
}

html#mainLayout body.build #content #build.gid17 .trav47NativeResourceSelect {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellOptionsRow {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    margin: 0 0 8px;
    gap: 8px;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellOption {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    margin: 0;
    padding: 6px 8px;
    gap: 6px;
    border: 1px solid #c5cec0;
    border-radius: 6px;
    background: #f6f9f3;
    color: #4d5848;
    font: 400 11px/18px Tahoma, Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellOption:only-child {
    grid-column: 1 / -1;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellOption input.check {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #6d942e;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellTimeOption input.text {
    flex: 0 0 42px;
    width: 42px;
    height: 29px;
    margin: 0;
    padding: 3px;
    border: 1px solid #b9c4b3;
    border-radius: 4px;
    background: #fff;
    color: #374033;
    font: 700 11px/21px Tahoma, Arial, sans-serif;
    direction: ltr;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 button.trav47MarketSellSubmit {
    display: block;
    float: none;
    min-width: 92px;
    height: 30px;
    margin: 0 auto 8px;
    padding: 4px 18px;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
) {
    border: 1px solid #3f5f13;
    border-radius: 5px;
    outline: 0;
    background: linear-gradient(180deg, #89bb39 0%, #5f8a21 100%);
    background-image: linear-gradient(180deg, #89bb39 0%, #5f8a21 100%);
    color: #fff;
    box-shadow: inset 0 1px rgba(225, 249, 177, .75), inset 0 -1px rgba(49, 82, 12, .55), 0 1px 2px rgba(45, 61, 27, .25);
    text-shadow: 0 1px 1px rgba(31, 55, 9, .85);
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
) > .button-container {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    background-image: none;
    box-shadow: none;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
) .button-background {
    display: none;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
) .button-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 9px;
    color: inherit;
    font: inherit;
    line-height: normal;
    text-align: center;
    background: transparent;
    background-image: none;
    box-shadow: none;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
):hover,
html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
):focus {
    border-color: #31500a;
    background: linear-gradient(180deg, #9acb4a 0%, #6d982b 100%);
    background-image: linear-gradient(180deg, #9acb4a 0%, #6d982b 100%);
    color: #fff;
}

html#mainLayout body.build #content #build.gid17 :is(
    button.trav47MarketSellSubmit,
    table.trav47MarketOffersTable td.act button.green
):active {
    background: linear-gradient(180deg, #587f1c 0%, #79a62f 100%);
    background-image: linear-gradient(180deg, #587f1c 0%, #79a62f 100%);
    box-shadow: inset 0 2px 3px rgba(37, 66, 8, .38);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage > p.hint {
    width: 100%;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #d2d8ce;
    border-radius: 6px;
    background: #f8faf7;
    color: #687164;
    font: 400 11px/18px Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage > h4.spacer {
    display: block;
    float: none;
    width: 100%;
    min-height: 35px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #bdc9b7;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #edf4e9 0%, #dfeadb 100%);
    color: #3c4b38;
    font: 700 13px/20px Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview {
    width: 100%;
    margin: 0;
    border: 1px solid #bdc9b7;
    border-top: 0;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    font: 400 11px/18px Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td {
    height: 35px;
    padding: 4px 3px;
    border: 1px solid #dde2da;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview thead td {
    background: #f1f5ef;
    color: #4d5848;
    font-weight: 700;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview tbody tr:nth-child(even) td {
    background: #f8faf6;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td.tra {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td.val {
    color: #3f4c39;
    font-weight: 700;
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferResource,
html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferDuration {
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 4px;
    direction: ltr;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferResource > i {
    flex: 0 0 auto;
    margin: 0;
    vertical-align: middle;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferAmount,
html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferDurationValue {
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td.dur {
    direction: rtl;
    unicode-bidi: isolate;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage .trav47MarketOfferDurationUnit {
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td.al {
    color: #5c762d;
    font-weight: 700;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSellPage table#sell_overview td.abo form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

html#mainLayout body.build #content #build.gid17 button.trav47MarketOfferDelete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    min-width: 21px;
    height: 21px;
    min-height: 21px;
    margin: 0;
    padding: 0;
    border: 1px solid #b9877c;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff5f2 0%, #ead1ca 100%);
    color: #9a3f31;
    font: 700 15px/18px Arial, sans-serif;
    box-shadow: inset 0 1px #fff;
    appearance: none;
    box-sizing: border-box;
}

/* Market plans ----------------------------------------------------------- */

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanPage {
    position: relative;
    width: 100%;
    margin: -10px 0 0;
    padding: 3px 0 18px;
    color: #354033;
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanCreateToggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    margin: 0 0 8px;
    padding: 7px 12px;
    gap: 10px;
    border: 1px solid #b7c5af;
    border-radius: 6px;
    outline: 0;
    background: linear-gradient(180deg, #f7faf4 0%, #e5efe0 100%);
    background-image: linear-gradient(180deg, #f7faf4 0%, #e5efe0 100%);
    color: #405239;
    font: 700 13px/22px Tahoma, Arial, sans-serif;
    text-align: right;
    box-shadow: inset 0 1px #fff, 0 1px 2px rgba(56, 70, 49, .08);
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanCreateToggle:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanCreateToggle:focus {
    border-color: #829c68;
    background: linear-gradient(180deg, #fbfdf8 0%, #dcebd4 100%);
    background-image: linear-gradient(180deg, #fbfdf8 0%, #dcebd4 100%);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanCreateToggle > b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border: 1px solid #9daf91;
    border-radius: 50%;
    background: #fff;
    color: #5a7544;
    font: 700 18px/22px Arial, sans-serif;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanForm[hidden],
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanDetails[hidden],
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanConfirm[hidden] {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanForm {
    position: relative;
    z-index: 3;
    display: block;
    width: 100%;
    margin: 0 0 10px;
    padding: 0 10px 10px;
    border: 1px solid #bdc9b7;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(51, 64, 46, .08);
    overflow: visible;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanForm > h4,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanListHeading {
    display: block;
    float: none;
    width: calc(100% + 20px);
    min-height: 36px;
    margin: 0 -10px 10px;
    padding: 7px 11px;
    border: 0;
    border-bottom: 1px solid #ccd6c7;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #edf4e9 0%, #e1ecdc 100%);
    color: #3c4b38;
    font: 700 13px/21px Tahoma, Arial, sans-serif;
    text-align: right;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    gap: 8px;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanFieldTarget {
    grid-column: 1 / -1;
    position: relative;
    z-index: 8;
    display: grid;
    grid-template-columns: 135px minmax(0, 1fr);
    align-items: center;
    min-height: 45px;
    padding: 6px 8px;
    gap: 8px;
    border: 1px solid #c6d0c2;
    border-radius: 5px;
    background: #f7faf5;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanFieldTarget > label {
    display: block;
    margin: 0;
    color: #465343;
    font: 700 12px/22px Tahoma, Arial, sans-serif;
    text-align: right;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageSelect {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageSelect.is-open {
    z-index: 30;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageTrigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    float: none;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    gap: 8px;
    border: 1px solid #aebba8;
    border-radius: 5px;
    outline: 0;
    background: linear-gradient(180deg, #fff 0%, #edf3e9 100%);
    background-image: linear-gradient(180deg, #fff 0%, #edf3e9 100%);
    color: #45513f;
    font: 700 12px/22px Tahoma, Arial, sans-serif;
    text-align: right;
    box-shadow: inset 0 1px #fff;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageTrigger:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageSelect.is-open .trav47MarketPlanVillageTrigger {
    border-color: #789b40;
    background: linear-gradient(180deg, #f9fdf4 0%, #e2eed4 100%);
    background-image: linear-gradient(180deg, #f9fdf4 0%, #e2eed4 100%);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageTrigger > span {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageTrigger > b {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 5px solid #68814f;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transition: transform .12s ease;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageSelect.is-open .trav47MarketPlanVillageTrigger > b {
    transform: rotate(180deg);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageMenu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    right: 0;
    display: none;
    width: 100%;
    min-width: 190px;
    max-height: 190px;
    margin: 0;
    padding: 4px;
    border: 1px solid #9eae92;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 15px rgba(44, 53, 38, .23);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageSelect.is-open .trav47MarketPlanVillageMenu {
    display: grid;
    gap: 2px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageOption {
    display: block;
    float: none;
    width: 100%;
    min-height: 31px;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-radius: 4px;
    background: #f7f9f5;
    color: #46533f;
    font: 700 11px/20px Tahoma, Arial, sans-serif;
    text-align: right;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageOption:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageOption.is-selected {
    background: #dceacb;
    color: #3c6018;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanVillageNative {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanResourceField {
    display: grid;
    grid-template-rows: auto 34px 27px;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 7px;
    gap: 5px;
    border: 1px solid #c6d0c2;
    border-radius: 5px;
    background: #fff;
    box-shadow: inset 0 1px #fff, 0 1px 2px rgba(56, 70, 49, .06);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanResourceLabel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 23px;
    margin: 0;
    gap: 5px;
    color: #43503e;
    font: 700 12px/20px Tahoma, Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanResourceLabel > i {
    flex: 0 0 auto;
    margin: 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanResourceField > input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 4px 6px;
    border: 1px solid #aebba8;
    border-radius: 4px;
    outline: 0;
    background: #fff;
    color: #343b31;
    font: 700 12px/24px Tahoma, Arial, sans-serif;
    direction: ltr;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(61, 72, 53, .1);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanResourceField > input:focus {
    border-color: #789b40;
    box-shadow: 0 0 0 2px rgba(117, 157, 57, .14), inset 0 1px 2px rgba(61, 72, 53, .08);
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanQuickFill {
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 100%;
    min-width: 0;
    height: 27px;
    min-height: 27px;
    margin: 0;
    padding: 2px 5px;
    border: 1px solid #b8c5b0;
    border-radius: 4px;
    outline: 0;
    background: linear-gradient(180deg, #f7faf4 0%, #e8f0e3 100%);
    background-image: linear-gradient(180deg, #f7faf4 0%, #e8f0e3 100%);
    color: #50752c;
    font: 700 11px/20px Tahoma, Arial, sans-serif;
    text-align: center;
    appearance: none;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanQuickFill:hover {
    border-color: #809d68;
    background: #e0edd5;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanQuickFill > b {
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanActions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    min-height: 47px;
    margin: 9px 0 0;
    padding: 6px 8px;
    gap: 10px;
    border: 1px solid #c6d0c2;
    border-radius: 5px;
    background: #f7faf5;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanIntervalInline {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    margin: 0;
    gap: 6px;
    color: #4b5846;
    font: 400 11px/20px Tahoma, Arial, sans-serif;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanIntervalControl {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanIntervalControl > input {
    flex: 0 0 48px;
    width: 48px;
    height: 31px;
    min-height: 31px;
    margin: 0;
    padding: 3px;
    border: 1px solid #aebba8;
    border-radius: 4px;
    background: #fff;
    color: #374033;
    font: 700 12px/23px Tahoma, Arial, sans-serif;
    direction: ltr;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanIntervalControl > small {
    color: #778171;
    font-size: 10px;
    line-height: 18px;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanActionButtons,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanButtons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanActionButtons > button,
html#mainLayout body.build #content #build.gid17 .trav47MarketPlanButtons button {
    float: none;
    min-width: 88px;
    height: 31px;
    margin: 0;
    padding: 4px 12px;
    border-radius: 5px;
    font: 700 12px/21px Tahoma, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 :is(
    .trav47MarketPlanActionButtons button.green,
    .trav47MarketPlanButtons button.green
) {
    border: 1px solid #3f5f13;
    background: linear-gradient(180deg, #89bb39 0%, #5f8a21 100%);
    background-image: linear-gradient(180deg, #89bb39 0%, #5f8a21 100%);
    color: #fff;
    box-shadow: inset 0 1px rgba(225, 249, 177, .75), inset 0 -1px rgba(49, 82, 12, .55), 0 1px 2px rgba(45, 61, 27, .2);
    text-shadow: 0 1px 1px rgba(31, 55, 9, .85);
    appearance: none;
}

html#mainLayout body.build #content #build.gid17 :is(
    .trav47MarketPlanActionButtons button.green,
    .trav47MarketPlanButtons button.green
) .button-background {
    display: none;
}

html#mainLayout body.build #content #build.gid17 :is(
    .trav47MarketPlanActionButtons button.green,
    .trav47MarketPlanButtons button.green
) :is(.button-container, .button-content) {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    background-image: none;
    color: inherit;
    font: inherit;
    line-height: normal;
    box-shadow: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanCancel {
    border: 1px solid #a5b09f;
    background: linear-gradient(180deg, #fafcf8 0%, #e7ece4 100%);
    background-image: linear-gradient(180deg, #fafcf8 0%, #e7ece4 100%);
    color: #505b4c;
    box-shadow: inset 0 1px #fff;
    appearance: none;
    cursor: pointer;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanListHeading {
    width: 100%;
    margin: 0;
    border: 1px solid #bdc9b7;
    border-radius: 6px 6px 0 0;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanList {
    display: grid;
    width: 100%;
    margin: 0;
    padding: 6px;
    gap: 6px;
    border: 1px solid #bdc9b7;
    border-top: 0;
    border-radius: 0 0 6px 6px;
    background: #f7f9f5;
    box-shadow: 0 1px 3px rgba(51, 64, 46, .06);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanEmpty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 12px 8px;
    border-radius: 4px;
    background: #fff;
    color: #747e70;
    font: 400 11px/20px Tahoma, Arial, sans-serif;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanItem {
    border-color: #c4cec0;
    border-radius: 5px;
    background: #fff;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketPlanSummary {
    grid-template-columns: minmax(0, 1fr) auto 54px 18px;
    min-height: 42px;
    padding: 7px 10px;
    gap: 9px;
    border: 0;
    background: linear-gradient(180deg, #fff 0%, #eef4ea 100%);
    color: #3e4b39;
    font: 700 11px/20px Tahoma, Arial, sans-serif;
}

/* Send ------------------------------------------------------------------- */

html#mainLayout body.build #content #build.gid17 .trav47MarketSendPage {
    width: 100%;
    margin: 0;
    padding: 8px 0 0;
    color: #344033;
    direction: rtl;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketTraderCount {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 38px;
    margin: 0 0 10px;
    padding: 7px 12px;
    border: 1px solid #c7d2c2;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8faf6 0%, #edf3e9 100%);
    box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(56, 70, 49, .08);
    color: #465343;
    font-size: 13px;
    line-height: 22px;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketTraderCountLabel {
    font-weight: 700;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketTraderCountValue {
    color: #527d19;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    direction: rtl;
    unicode-bidi: isolate;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSendForm {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor {
    float: none;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #c6d0c2;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(51, 64, 46, .09);
    table-layout: fixed;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody {
    display: block;
    width: 100%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > tr:not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) {
    display: grid;
    grid-template-columns: 24px 56px 215px max-content;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-bottom: 1px solid #e0e6dd;
    background: #fff;
    direction: rtl;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > tr:nth-child(even):not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) {
    background: #f8faf7;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > tr:not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) > td {
    width: auto !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > .trav47MarketCapacityRow {
    display: block;
    width: 100%;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > .trav47MarketCapacityRow > td {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tbody > tr:not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) > td,
html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor > tr:not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) > td {
    height: 42px;
    padding: 5px 6px;
    border: 0;
    border-bottom: 1px solid #e0e6dd;
    background: #fff;
    color: #3e4b3a;
    font-size: 13px;
    vertical-align: middle;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor tr:nth-child(even):not(.trav47MarketResourceDivider):not(.trav47MarketCapacityRow) > td {
    background: #f8faf7;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.ico {
    width: 24px;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: left;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.ico > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 24px;
    margin: 0;
    padding: 0;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.nam {
    width: 56px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    padding-right: 5px !important;
    padding-left: 0 !important;
    color: #344331;
    font-weight: 700;
    line-height: 16px;
    text-align: right;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.val {
    width: 39%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.val input.text {
    display: block;
    width: 100%;
    height: 31px;
    margin: 0 auto;
    padding: 4px 8px;
    border: 1px solid #aebaa9;
    border-radius: 4px;
    background: #fff;
    color: #2f3d2c;
    box-shadow: inset 0 1px 2px rgba(50, 62, 45, .09);
    font: 700 13px/21px Tahoma, Arial, sans-serif;
    text-align: center;
    direction: ltr;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.val input.text:focus {
    border-color: #79a33d;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(117, 157, 57, .14), inset 0 1px 2px rgba(50, 62, 45, .08);
}

html#mainLayout body.build #content #build.gid17 table.trav47MarketResourceEditor td.max {
    width: auto;
    padding-right: 5px !important;
    padding-left: 0 !important;
    color: #6a7566;
    font-size: 12px;
    text-align: right;
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill a,
html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill a:visited {
    color: #568515;
    font-weight: 700;
    border: 0 !important;
    outline: 0;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill a:hover,
html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill a:focus,
html#mainLayout body.build #content #build.gid17 .trav47MarketQuickFill a:active {
    color: #376309;
    text-decoration: none !important;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketResourceDivider {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityRow > td {
    padding: 0;
    border: 0;
    background: #eef3eb;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacitySummary {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    width: 100%;
    min-height: 46px;
    border-top: 0;
    background: #eef3eb;
    direction: rtl;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 8px 10px;
    color: #485544;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem + .trav47MarketCapacityItem {
    border-right: 1px solid #cfd8cb;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem strong {
    color: #4d7b12;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketLoadItem {
    display: grid;
    grid-template-columns: auto minmax(55px, 1fr) auto minmax(55px, 1fr);
    align-items: center;
    gap: 6px;
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem.error,
html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem.error strong,
html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem .error,
html#mainLayout body.build #content #build.gid17 .trav47MarketCapacityItem .notEnoughMerchants {
    color: #be3025;
}

html#mainLayout body.build #content #build.gid17 .marketSendDestination {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: normal;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSendWarnings {
    width: 100%;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSendWarnings:empty {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSendWarning,
html#mainLayout body.build #content #build.gid17 .trav47MarketSendFeedback,
html#mainLayout body.build #content #build.gid17 .trav47MarketSendWarnings #note {
    display: block;
    width: 100%;
    margin: 8px 0;
    padding: 4px 10px;
    text-align: center;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketDestinationCard {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    overflow: hidden;
    border: 1px solid #c5d0c1;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(51, 64, 46, .08);
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketDestinationTitle {
    grid-column: 1 / -1;
    padding: 8px 12px;
    border-bottom: 1px solid #ccd6c8;
    background: linear-gradient(180deg, #f5f8f3 0%, #e8efe4 100%);
    color: #3f503a;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

html#mainLayout body.build #content #build.gid17 .marketSendToRow,
html#mainLayout body.build #content #build.gid17 .marketDestinationLine {
    min-width: 0;
    min-height: 78px;
    margin: 0;
    padding: 10px 12px;
    background: #fff;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .marketSendToRow {
    border-left: 1px solid #dbe2d8;
}

html#mainLayout body.build #content #build.gid17 .marketVillageTargetControl {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin: 0;
    color: #43513f;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

html#mainLayout body.build #content #build.gid17 .myVillageTargetSelect {
    display: block;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 4px 10px 4px 30px;
    border: 1px solid #a7b5a1;
    border-radius: 6px;
    outline: 0;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #f8faf7;
    background-image: none !important;
    color: #354331;
    box-shadow: inset 0 1px rgba(255, 255, 255, .9), 0 1px 2px rgba(51, 64, 46, .08);
    font: 700 12px/24px Tahoma, Arial, sans-serif;
    text-align: right;
    direction: rtl;
    cursor: pointer;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .marketVillageTargetControl::after {
    content: "";
    position: absolute;
    top: auto;
    right: auto;
    bottom: 14px;
    left: 13px;
    width: 0;
    height: 0;
    margin: 0;
    border: 0;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    border-top: 6px solid #617456;
    transform: none;
    pointer-events: none;
}

html#mainLayout body.build #content #build.gid17 .myVillageTargetSelect::-ms-expand {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .myVillageTargetSelect:hover {
    border-color: #879b7e;
    background-color: #fff;
}

html#mainLayout body.build #content #build.gid17 .myVillageTargetSelect option {
    padding: 7px 9px;
    background: #fff;
    color: #354331;
    font: 700 12px Tahoma, Arial, sans-serif;
}

html#mainLayout body.build #content #build.gid17 .myVillageTargetSelect:focus {
    border-color: #79a33d;
    box-shadow: 0 0 0 2px rgba(117, 157, 57, .14);
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine > span.or {
    float: none;
    margin: 0;
    color: #43513f;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    direction: rtl;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput .xCoord,
html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput .yCoord {
    float: none;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput label {
    margin: 0;
    color: #50604b;
    font: 700 12px/32px Tahoma, Arial, sans-serif;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput input.text {
    width: 68px;
    height: 34px;
    margin: 0;
    padding: 4px 6px;
    border: 1px solid #acb9a7;
    border-radius: 4px;
    outline: 0;
    background: #fff;
    color: #2f3d2c;
    box-shadow: inset 0 1px 2px rgba(51, 64, 46, .08);
    font: 700 13px/24px Tahoma, Arial, sans-serif;
    text-align: center;
    direction: ltr;
    box-sizing: border-box;
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .coordinatesInput input.text:focus {
    border-color: #79a33d;
    box-shadow: 0 0 0 2px rgba(117, 157, 57, .14);
}

html#mainLayout body.build #content #build.gid17 .marketDestinationLine .clear,
html#mainLayout body.build #content #build.gid17 .marketSendDestination > .clear {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCarryNote {
    margin: 0;
    padding: 2px 8px;
    color: #596654;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketCarryNote b {
    color: #426f0d;
    font-variant-numeric: tabular-nums;
}

html#mainLayout body.build #content #build.gid17 .marketSubmitRow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
}

html#mainLayout body.build #content #build.gid17 .marketSubmitRow button#enabledButton {
    width: 89px;
    min-width: 89px;
    height: 28px;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
}

html#mainLayout body.build #content #build.gid17 .marketSubmitRow > .clear {
    display: none;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketSendFeedback:empty,
html#mainLayout body.build #content #build.gid17 #note:empty {
    display: none;
}

/* Merchant counters in the Arabic desktop layout: the available amount is
   the right-hand value and the maximum is the left-hand value. */
html#mainLayout body.build #content #build.gid17 .trav47MarketMerchantStatValue {
    display: inline-flex !important;
    flex-flow: row-reverse nowrap !important;
    align-items: center !important;
    gap: 0 !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
    white-space: nowrap !important;
}

html#mainLayout body.build #content #build.gid17 .trav47MarketMerchantStatValue > span {
    display: inline-block !important;
    direction: ltr !important;
    unicode-bidi: isolate !important;
}
