/**
 * Pop-up styles start
 **/
 #wppm_popup_background{
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900000000000;
    background-color: #000;
    opacity: 0.8;
  }
  #wppm_popup_container{
    position: fixed;
    top:30px;
    left: 0;
    width: 100%;
    z-index: 900000000001;
  }
  #wppm_popup{
    position: fixed;
    background-color: #fff;
    height: 100px;
    padding: 0 !important;
  }
  #wppm_popup_title{
    border-bottom: 1px solid #ccc;
    font: 26px "OpenSans-Light",Helvetica,Arial,sans-serif;
    padding: 15px !important;
  } 
  #wppm_popup_title h3{
    font-size: 18px;
    margin: 0 !important;
  }
  #wppm_popup_body{
    min-height: 100px;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #fff;
    padding: 15px !important;
  }
  #wppm_popup_footer{
    background-color: #F6F6F6;
    padding: 15px !important;
  }
  #wppm_popup_footer button{
    width: 120px;
    height: 40px;
    border-radius: 20px;
    margin-right: 10px;
  }
  .wppm_popup_close{
    color: #273444;
    background-color: #EFF2F7;
    border-color: #000;
    border-radius: 50px;
    padding: 5px;
  }
  .wppm_popup_action{
    color: #FFF !important;
    background-color: #306EFF;
    border-color: #306EFF;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%);
    cursor: pointer;
    border-radius: 50px !important;
    padding: 5px;
  }
  
  .mce-window.mce-in, .mce-menu.mce-in.mce-animate{
    z-index: 900000000001 !important;;
  }

  /**
 * Pop-up styles start
 **/
 #wppm_task_popup_background{
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 900000000000;
  background-color: #000;
  opacity: 0.8;
}
#wppm_task_popup_container{
  position: fixed;
  top:30px;
  left: 0;
  width: 100%;
  z-index: 900000000001;
}
#wppm_task_popup{
  position: fixed;
  background-color: #fff;
  height: 100px;
  padding: 0 !important;
}
#wppm_task_popup_title{
  border-bottom: 1px solid #ccc;
  font: 26px "OpenSans-Light",Helvetica,Arial,sans-serif;
  padding: 15px !important;
} 
#wppm_task_popup_title h3{
  font-size: 18px;
  margin: 0 !important;
}
#wppm_task_popup_body{
  min-height: 100px;
  max-height: 300px;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #fff;
  padding: 15px !important;
}
#wppm_task_popup_footer{
  background-color: #F6F6F6;
  padding: 15px !important;
}
#wppm_task_popup_footer button{
  width: 120px;
  height: 40px;
  border-radius: 20px;
  margin-right: 10px;
}
.wppm_task_popup_close{
  color: #273444;
  background-color: #EFF2F7;
  border-color: #000;
  border-radius: 50px;
  padding: 5px;
}
.wppm_task_popup_action{
  color: #FFF !important;
  background-color: #306EFF;
  border-color: #306EFF;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%);
  cursor: pointer;
  border-radius: 50px !important;
  padding: 5px;
}
/* ---------- Loading: no flash of the old dialog (see wppm_modal_hold() in modal.js) ----------
   While the popup content loads, the frame stays hidden and a spinner shows on the dark
   background; when the content arrives the dialog appears already in its final (SaaS) style. */
#wppm_popup_container.wppm-modal-loading,
#wppm_task_popup_container.wppm-modal-loading {
  visibility: hidden;
}
#wppm_popup_background.wppm-modal-loading::after,
#wppm_task_popup_background.wppm-modal-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: wppm-modal-spin .7s linear infinite;
}
@keyframes wppm-modal-spin {
  to { transform: rotate(360deg); }
}
#wppm_popup_container.wppm-modal-reveal #wppm_popup,
#wppm_task_popup_container.wppm-modal-reveal #wppm_task_popup {
  animation: wppm-modal-in .16s ease-out;
}
@keyframes wppm-modal-in {
  from { opacity: 0; transform: translateY(6px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  #wppm_popup_container.wppm-modal-reveal #wppm_popup,
  #wppm_task_popup_container.wppm-modal-reveal #wppm_task_popup {
    animation: none;
  }
  #wppm_popup_background.wppm-modal-loading::after,
  #wppm_task_popup_background.wppm-modal-loading::after {
    animation-duration: 1.6s;
  }
}
