@media (max-width: 768px) { #offers-root { margin: 10px 10px; } #close-offer-controls-x { width: 25px; } .button-group button { max-width: 30%; } #premium-selector-area { width: 80px; } #amount-area-content { width: 50%; } .create-offer-step { width: 95%; } .checkbox-row { width: 90%; } .checkbox-row > input[type='checkbox'] { flex-shrink: 0; margin-left: 5%; } .myoffer-card { width: 100%; height: 500px; margin: 5px 5px; padding: 10px; } } @media (min-width: 769px) { #offers-root { width: 75%; margin: 20px auto; } #close-offer-controls-x { width: 50px; } #premium-selector-area { width: 100px; } #amount-area-content { width: 33%; } .create-offer-step { margin-left: auto; margin-right: auto; width: 70%; min-width: 500px; max-width: 95%; } .checkbox-row { width: 60%; } .checkbox-row > input[type='checkbox'] { flex-shrink: 0; margin-left: 20%; } .myoffer-card { width: 23%; min-width: 339px; height: 500px; margin: 10px 10px; padding: 10px; } } #view-my-offers-root { display: none; text-align: center; } #view-my-offers-root > * { margin-left: auto; margin-right: auto; } #own-offers-container { display: flex; flex-wrap: wrap; justify-content: space-evenly; } .myoffer-card { display: grid; grid-template-columns: 48% 4% 48%; grid-template-rows: 25% 1% 30% 1% 18% 1% 14% 1% 10%; } .myoffer-card > div { padding: 5px; } .myoffer-card p { margin: 0; } .trade-desc { grid-column: 1; grid-row: 1; text-align: left; } .left-icon-checkboxed-field { display: flex; align-items: center; margin-bottom: 2px; font-size: 0.9em; } .left-icon-checkboxed-field > * { margin-right: 2px; margin-left: 2px; } .left-icon-checkboxed-field img { height: 1.1em; } .right-icon-checkboxed-field { display: flex; align-items: center; justify-content: end; margin-bottom: 2px; font-size: 0.9em; } .right-icon-checkboxed-field > * { margin-right: 2px; margin-left: 2px; } .right-icon-checkboxed-field img { height: 1.2em; } .offer-card-content-title { color: gray; font-size: 0.8em; font-weight: 100; } .offer-card-content-data { font-size: 1.1em; font-weight: bold; } .premium-desc { grid-column: 3; grid-row: 1; text-align: right; } .where-desc { grid-column: 1; grid-row: 3; text-align: left; overflow-y: auto; overflow-x: hidden; } .when-desc { grid-column: 3; grid-row: 3; text-align: right; overflow-y: auto; overflow-x: hidden; } .bitcoin-methods-desc { grid-column: 1; grid-row: 5; text-align: left; } .visibility-desc { grid-column: 3; grid-row: 5; text-align: right; } .other-desc { grid-column: 1; grid-row: 7; text-align: left; } .offer-action-buttons-area { grid-column-start: 1; grid-column-end: 4; grid-row: 9; display: flex; align-items: center; justify-content: flex-end; } .offer-action-area { cursor: pointer; margin-right: 20px; } .offer-long-text { font-size: 0.9em; } #create-offer-controls { text-align: center; overflow-y: auto; max-height: 800px; padding: 20px; } .create-offer-step { text-align: center; border-radius: 20px; box-shadow: 0 0 13px #ccc; padding: 20px 0; margin-top: 10px; margin-bottom: 10px; margin-left: auto; margin-right: auto; } .create-offer-step h3 { margin-top: 0; } #close-offer-controls-area { display: flex; justify-content: end; } #premium-area > * { display: block; } #premium-content-area { width: 80%; height: 50px; align-items: center; margin-left: auto; margin-right: auto; display: flex; } #premium-selector-area { margin-left: auto; margin-right: 5%; display: flex; } #premium-value { border: 1px solid gray; width: 50%; align-content: center; } #premium-buttons-container { width: 50%; } .premium-button { background: white; border: 2px solid #e1c300; width: 100%; height: 50%; font-size: 1em; } .premium-button:hover { background: #fff8ce; } #button-increase-premium { border-top-right-radius: 10px; } #button-decrease-premium { border-bottom-right-radius: 10px; } #premium-price-display-area { margin-left: 0; margin-right: auto; font-size: 1em; text-align: start; } #premium-price-display-area > * { margin-top: 0; margin-bottom: 0; } #market-price-paragraph { color: gray; font-size: 0.8em; } #amount-area-content { margin-left: auto; margin-right: auto; } .money-amount-input-area { padding: 0; width: 100%; display: flex; } .money-amount-input-area > * { display: inline-block; font-size: 1em; height: 2em; vertical-align: middle; } .input-money-amount { width: 75%; margin: 0; } .money-amount-input-area .curr-symbol { background-color: #d8d8d8; width: 25%; margin: 0; border: 1px solid gray; } .money-amount-input-area .curr-symbol .curr-character { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; } .place-and-time-box { height: 100px; width: 30%; min-width: 200px; resize: none; } .checkbox-row { display: flex; margin-left: auto; margin-right: auto; } .checkbox-row > label { text-align: start; margin-right: auto; margin-left: 0; align-content: center; } .checkbox-row > input[type='checkbox'] { flex-shrink: 0; margin-right: 1em; height: 2em; width: 2em; } #submit-button-area { margin-top: 1em; margin-bottom: 1em; } #button-submit-offer { width: 33%; } #close-offer { margin-left: auto; margin-right: auto; }