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

/* ----------------------------------------------------
  FEEDBACK/ERROR POPUPS
  (TOP-RIGHT SCREEN ALIGNED)
---------------------------------------------------- */

.feedback-popup-wrap {
  position : fixed;
  top: 60px; right: 20px;
  background: #faf1c1;
  text-align: center; font-size: 0.8em;
  z-index: 1000003; /* 1 more than popup boxes, previously at 9999 */
  width: 45%;
  border-radius: 8px;
  border: 1px solid #c7a800;
  opacity: 0;
}

.feedback-popup-wrap.error-popup {
  background : #fdd9d9;
  border: 1px solid #d84a4a;
}

  .feedback-popup {
    position : relative;
    max-width: 1140px;
    margin: 0 auto; padding: 15px;
    color : #292929;
    text-align : left;
  }

  .feedback-popup-scrollable {
    max-height: 115px;
    padding-right: 5px;
    overflow-y: auto;
    -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;
  }

  .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 }

@media screen and (max-width: 767px) {
  .feedback-popup {
    max-width : 100%;
    padding : 10px
  }
}

@media screen and (min-width: 1900px){
  body .feedback-popup-wrap {
    top: 53px;
  }
}

/* ----------------------------------------------------
  ALERT POPUPS
  (BOTTOM SCREEN ALIGNED)
---------------------------------------------------- */

.alert-bottom-popup-wrap {
  position : fixed;
  bottom : 0;
  width : 100%; padding : 0;
  opacity : 0.9;
  text-align: center;
  background : #faf1c1;
  z-index : 99999999; /* Highest priority */
}

  .alert-bottom-popup {
    position : relative;
    margin : 0 auto; padding : 15px 10px;
    max-width: 1140px;
    color : #292929;
    text-align : left;
  }

  .alert-bottom-popup-icon { font-size : 400%; line-height : 1 } /* Icon utilizes font-awesome */

  .alert-bottom-popup-close {
    position : absolute;
    top : 5px; right : 5px;
    background: url(/images/core/business/icon_cancel_small_dark.png) no-repeat;
    width : 20px; height : 20px;
  }