
.ratingFormScreenImmobiliser {
  position: fixed;
  width: 100%;
  background-color: black;
  height: 100%;
  top: 0px;
  left: 0px;
  opacity: .5;
}

.ratingForm {
  left: 20%;
  top: 30%;
  width: 55%;
  position: fixed;
  background-color: white;
  padding: 10px 20px 20px 20px;
  z-index: 99;
  text-align: left;
  color: black;
  border: ridge 2px grey;
  border-radius: 8px;
  font-size: 0.9em;
}

.ratingForm .title {
  font-size: 1.2em;
  margin: 15px 15px 10px 0;
}

.ratingForm .prompt {
  font-style: italic;
}

.ratingForm .raterFrame {
  clear: both;
  width: 300px;
  margin: 10px 0;
  font-weight: bold;
}

.ratingForm .raterFrame img {
  width: 99px;
  height: 25px;
  margin: 0 5px 0 5px;
  top: 5px;
  position: relative;
}

img.ratingImageEditable {
  width: 99px;
  height: 26px;
}

img.etrActionButton, div.raterFrame img.etrActionButton {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

img.etrActionButton.disabled {
  opacity: 0.3;
  cursor: default;
}

.actionButton {
  width: 15px;
  height: 15px;
  border: none;
  cursor: pointer;
  margin: 2px;
}

.ratingForm .closeButton {
/*  border: outset 2px grey;
  width: 18px;
  text-align: center;
  height: 16px;
  border-radius: 3px;
  position: absolute;
  right: 0px;
  top: 0px;
  cursor: pointer;
  background: #ffffff; /* Old browsers * /
  background: -moz-linear-gradient(-45deg, #ffffff 0%, #cccccc 100%); /* FF3.6-15 * /
  background: -webkit-linear-gradient(-45deg, #ffffff 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 * /
  background: linear-gradient(135deg, #ffffff 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ * /
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient * /
*/
  right: 0px;
  top: 0;
  position: absolute;
  background: none;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: none;
  cursor: pointer;
  margin: 2px;
}

.userReviewPrompt {
  width: 95%;
  height: 200px;
  margin: 10px 0%;
  padding: 8px;
  font-size: 1.1em;
  border: solid 2px silver;
  resize: vertical;
  background-color: white;
}

.pell-content {
  height: 170px;
}

div.pell-content p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.userReviewButtonFrame {
  width: 100%;
  text-align: right;
}

.userReviewButton {
  width: 80px;
  -webkit-appearance: none;
  height: 30px;
  border: outset 2px silver;
  border-radius: 3px;
  font-size: 1.1em;
  font-variant: small-caps;
  text-transform: lowercase;
  cursor: pointer;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(-45deg, #ffffff 0%, #cccccc 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg, #ffffff 0%,#cccccc 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg, #ffffff 0%,#cccccc 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.ratingForm .followupMessage {
  margin-top: 20px;
}

#PromptFrame span.guidanceNote {
  font-size: 12px;
  top: 10px;
  bottom: 0;
  left: 15px;
  display: block;
}

/*========================================
Rating prompt styles
========================================*/


div.ratingPrompt {
  padding: 5px 20px 10px 20px;
  border: solid thin gray;
  background-color: #def;
  margin: 20px 0 0 0;
  position: relative;
}

div.ratingPrompt div.seeMoreLinkFrame, div.ratingPrompt a.seeMoreLink {
  background-image: linear-gradient(#def0,#defc,#deff);
}

div.ratingPrompt .promptTitle {
  text-transform: lowercase;
  font-variant: small-caps;
  font-size: 1.5em;
  margin-bottom: 5px;
}

div.ratingPrompt .promptBody {
  font-style: italic;
  margin-bottom: 10px;
}

div.ratingPrompt .promptBody span {
  margin-bottom: 10px;
  position: relative;
  bottom: 5px;
  font-size: 16px;
  margin-left: 5px;
}

div.ratingPrompt .promptBody img {
  margin-bottom: 0;
  vertical-align: middle;
}

div.loginPromptInnerFrame div.loginfacebookFrame {
  margin: 5px 10px 10px 0;
}

div.loginPromptInnerFrame img.wordpress {
    height: 44px;
    margin: 0 5px 0 0;
}

div.loginPromptInnerFrame div.wpLoginFrame {
  display: inline-block;
}

div.loginPromptInnerFrame div.loginButtonFrame {
  display: inline-block;
  vertical-align: top;
  height: 44px;
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 15px;
}

div.loginPromptInnerFrame a {
  cursor: pointer;
  position: relative;
}

div.ratingPrompt div.gameDetailsButtonFrame {
  right: 0;
  top: 4px;
}

div#RatingPromptFrame {
  margin-bottom: 10px;
}

div#RatingPromptFrame a.wow-fb-login {
  display: none;
}

a.wow-fb-login, .widget-area .widget a.wow-fb-login {
  color: white;
  font-size: 18px;
}

a.wow-fb-login, .widget-area .widget a.wow-fb-login:hover {
  color: white;
  font-size: 18px;
}

/*========================================
User description styles
========================================*/

div.userDescriptionFrame {
  position: relative;
}

div.userDescriptionFrame div.userDescription, div.userDescriptionFrame div.profileField {
  position: relative;
  background: #eee;
  padding: 20px 40px 20px 30px;
  margin-bottom: 20px;
}

div.userDescriptionFrame div.profileField span {
    margin-right: 5px;
}

div.userDescriptionFrame textarea.userDescription {
  height: 80px;
  margin-top: 20px;
  width: 470px;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1.2em;
}

div.userDescriptionFrame div.gameDetailsButtonFrame {
  text-align: right;
  right: 4px;
  top: 8px;
}

.explanationText {
  font-style: italic;
  color: #444;
  margin-bottom: 20px;
}

.explanationTextSmall {
  font-size: 0.8em;
  margin: 5px 30px;
}

/* These properties hide all content that's not in 'fixed' display mode.
Needed to prevent scroll when displaying a fixed box over the top that contains
text form fields, due to a bug in Safari on 11.*. */
body.allNonFixedContentHidden {
  height: 0;
  overflow: hidden;
}

span.ratingImageDescription {
  white-space: nowrap;
  font-size: 18px;
  margin-top: 10px;
  display: inline-block;
}

@media (max-width: 640px) {

  div.gameDetailsButtonFrame img {
      width: 25px;
      height: 25px;
  }

  img.etrActionButton, div.raterFrame img.etrActionButton {
    width: 25px;
    height: 25px;
    vertical-align: middle;
  }

  .ratingForm {
    /*
      left: 0;
      top: 0;
      right: 0;
      bottom: 0;
      padding: 10px 20px 20px 20px;
      z-index: 999;
      border: none;
      border-radius: unset;
      overflow-y: auto;
      */
  }


  input.gameDetailsField,
  select.gameDetailsFieldDropdown,
  select.gameDetailsFieldDropdown:focus {
    margin-bottom: 5px;
  }

  input.gameDetailsField,
  select.gameDetailsFieldDropdown,
  select.gameDetailsFieldDropdown:focus,
  textarea.userReviewPrompt,
  textarea.userDescription,
  input.autoCompleteSearchBox,
  div.autoCompleteResult {
    width: 90%;
    font-size: 16px;
  }

  td.filterRow input {
    width:50%;
  }

  .gameDetailsFieldFrame span.label {
    display: block;
    margin: 0px 0 15px 0;
  }

  div#RatingPromptFrame div.ratingPrompt {
    width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
  }

  div.gameDetailsButtonFrame {
    right: 0px;
    top: 3px;
  }

  div#RatingPromptFrame img.ratingImageEditable {
    width: 198px;
    height: auto;
    max-width: 70%;
    margin: 0 2px;
    vertical-align: middle;
  }

  span.ratingImageDescription {
    display: block;
  }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  div.ratingPrompt {
	  background-color: #123;
	}
  div.ratingPrompt div.seeMoreLinkFrame, div.ratingPrompt a.seeMoreLink {
    background-image: linear-gradient(#1230,#123c,#123f);
  }
  div#RatingPromptFrame div.ratingPrompt a.seeMoreLink {
    background: #123;
    box-shadow: -5px -5px 10px #123;
  }
}
