body {
  font-size: 1.1em;
}

#ImporterFrame {
  width: 600px;
  max-width: 100%;
}

.importerInputWindow {
  width: 580px;
  height: 200px;
  margin: 10px 0;
  max-width: 100%;
  box-sizing: border-box;
}

div.importButton {
  text-align: right;
}

div.importButton input {
    width: 150px;
    background-color: #eee;
}

div.importButton input:hover {
    border-color: #9ecaed;
    box-shadow: 0 0 1px #9ecaed;
    cursor: pointer;
}

.importerResults {
  margin-top: 10px;
  overflow-y: scroll;
  max-height: 600px;
  border: solid thin grey;
  padding: 5px;
}

.importerRow:nth-child(odd) {
  background-color: #eee;
}

.importerRow:nth-child(even) {
  background-color: #fff;
}

.importerRow {
  padding: 10px;
  position: relative;
/*  display: table-row;*/
}

.importerRow div {
  background-color: inherit;
}

.importerRow img.backButton {
  width: 12px;
  position: absolute;
  right: 1px;
  top: 1px;
  cursor: pointer;
}

.importerResultsCell {
  display: table-cell;
  padding: 2px 5px;
}

.importerResultsOriginal {
  text-align: right;
}

.importerResultsLabel {
  font-style: italic;
}

.importerResultsMatches {
}

.importerRow select.gameSelector {
  font-size: 1.1em;
  width: 95%;
}

.importerResultsMatches input.gameDetailsField {
  /*float: left;*/
  width: 180px;
  font-size: 1.1em;
}

input.promptFieldShowPrompt {
  font-style: italic;
  color: silver;
}

#LogInRecommendation {
  display: none;
  border: solid thin red;
  padding: 5px 20px 5px 20px;
  background-color: #ffdddd;
  font-size: 0.9em;
  border-radius: 5px;
}

#LogInRecommendation p:first-child {
  font-size: 1.1em;
  font-weight: bold;
}

#LogInRecommendation p {
  margin: 10px 0;
}

#RatingsFrame img.ratingImageEditable {
  margin: 0 10px -5px 0;
}

#rateAndReview {
  display: none;
}

#rateAndReview .userReviewPrompt {
  width: 97%;
}

#rateAndReview #SubmitDiv {
  text-align: right;
}

#rateAndReview #SubmitButton {
  cursor: pointer;
  background-color: #00a1e0;
  color: white;
  border: none;
  -webkit-appearance: none;
}

@media (max-width: 640px) {
  #rateAndReview #SubmitButton {
    width: 100px;
    height: 36px;
    font-size: 1.2em;
  }
}

#SaveFailedMessage {
  display: none;
}

#saveComplete {
  display: none;
}

.gameDetailsField {
    width: 150px;
}

.gameDetailsFieldWide {
  width: 494px;
}

.gameDetailsFrame {
  position: relative;
}

.gameDetailsFrameUnified, .gameDetailsFrameBasicDetails,.gameDetailsFrameExtraDetails,.gameDetailsFrameRatings {
  width: 95%;
  position: relative;
  color: #444;
  margin-bottom:30px;
}

.gameDetailsFrameExtraDetails,.gameDetailsFrameRatings {
  font-size: 0.8em;
}

div.gameDetailsFrameUnified {
  margin-bottom: 10px;
  width: 80%;
}

.gameDetailsFrameUnified img {
  display: inline-block;
  height: 18px;
  margin-right: 5px;
  margin-top: 2px;
  position: relative;
  top: 2px;
}

.gameDetailsFrameUnified .titleFrame {
  display: inline-block;
}

.gameDetailsFrameUnified .visitDetails {
  font-style: italic;
}

.gameDetailsFrameUnified .userReview {
margin: 10px 0;
color: #444;
}

.gameDetailsFrameBasicDetails div.gameTitle {
  width: 88%;
}

.visibleFrame {
  border: solid 1px silver;
  padding: 5px 10px;
  margin: 28px 0 6px 0;
}

.gameDetailsFieldFrame span.label {
  margin-left: 10px;
}

.userContent {
  color: black;
  font-size: 1.2em;
}

a.userContent {
  color: #0b91ea;
}

.gameDetailsTitle {
  text-transform: lowercase;
  position: absolute;
  font-variant: small-caps;
  font-weight: bold;
  top: -26px;
  font-size: 18px;
  background-color: inherit;
  display: inline-block;
  padding: 0 3px;
}

.gameDetailsCallToAction {
  font-style: italic;
  font-size: 0.8em;
  text-transform: lowercase;
  margin-left: 30px;
}

.gameDetailsCallToAction a, a.gameDetailsCallToAction {
  color: blue;
  cursor: pointer;
}

.gameDetailsButtonFrame {
  right: -7px;
  top: 0;
  position: absolute;
  background: none;
  z-index: 1;
}

.gameDetailsButtonEdit, .gameDetailsButtonSave, .gameDetailsButtonCancel {
  width: 15px;
  height: 15px;
  border: none;
  cursor: pointer;
  margin: 0 5px 0 0;
}

.gameDetailsFieldDropdown {
  width: 180px;
  height: 25px;
}

.importerResultsSummary {
  margin: 20px 0;
}

.messageIgnore {
  font-style: italic;
  color: grey;
}

.messageSuccess {
  color: green;
}

.messageWarning {
  color: red;
}

.messageExplanation {
  font-size: 0.8em;
  color: grey;
  font-style: italic;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  .gameDetailsFrameUnified .userReview {
	  color: #ccc;
	}
	.gameDetailsFrameUnified, .gameDetailsFrameBasicDetails, .gameDetailsFrameExtraDetails, .gameDetailsFrameRatings {
	  color: #ccc;
	}
}
