/* -----------------------------------------------------------------------------
Engine:      Gametize
Author:     Gametize Pte Ltd
Description:   Classes for popup and feedback mechanisms
----------------------------------------------------------------------------- */

/* Standard feedback or error messages popup */
.feedback-popup-wrap {
  position : fixed;
  top: 50px;
  background: #faf1c1;
  text-align: center;
  z-index: 1000003; /* 1 more than popup boxes, previously at 9999 */
  font-size: 0.8em;
  width: 45%;
  border-radius: 8px;
  right: 20px;
  border: 1px solid #c7a800;
}
.progress-bar-offset .feedback-popup-wrap { position : fixed; top : 145px; }
  .feedback-popup {
    position : relative;
    max-width: 1140px;
    margin: 0 auto;
    color : #292929;
    text-align : left;
    padding: 15px;
  }

  .feedback-popup-scrollable {max-height: 115px;overflow-y: auto;padding-right: 5px;-webkit-overflow-scrolling: touch;}
  .feedback-popup-close:before {
    content: "\f00d";
    padding: 5px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    color: #292929!important;
  }

  .feedback-popup-close {padding: 5px;font-size: 140%;cursor: pointer;width: auto;position: absolute;top: 0;right: 0;}

  .feedback-popup h3 { margin : 0; color: #292929; font-size : 1.125em; line-height : 1.5 }
  .feedback-popup p { margin : 0 20px 0 0 }

.feedback-popup-wrap.error-popup { background : #fdd9d9 }

/* Points earned from actions popup */
.actionpoints-popup-wrap { position : fixed; top : 55px; right : 10px; z-index: 1000 }
  .actionpoints-popup {
    background : #111; color : #fff; padding : 15px; opacity : 0.8; font-size: 1.5em;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

/* MOBILE + SMALLER SCREEN SPECIFIC STYLES */
@media screen and (max-width: 767px) {
  .feedback-popup { max-width : 100%; padding : 10px 30px 10px 10px }
  .actionpoints-popup { font-size: 1em }
  .feedback-popup-wrap { width: 96%; right: 2%; }
}
