div#bar_alert
{
  padding: 4px 8px;
  background-color: lightgray; /* default, likely changed in background dialog */
  border: 1px dotted gray;
}

div#bar_alert > p /* text from ckeditor will have <p> wrapper */
{
  width: 100%;
  margin: 0;
}

div#alert_container,
img#alert_container
{
  display: none;
  position: fixed;
  width: 80%;
  min-width: 300px;
  max-width: 600px;
  padding: 12px;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  z-index: 100;
  cursor: pointer;
  -webkit-box-shadow: 0 0 15px 8px rgba(44,44,44,.5);
  box-shadow: 0 0 15px 8px rgba(44,44,44,.5);
  background: #eeeeee; /* default, likely changed in background dialog */
  border: 1px solid darkgray;
}

img#alert_container
{
  padding: 0;
  border-style: none;
}

div#alert_container img
{
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

div#alert_container div#alert_message
{
  flex: 1 1 100%;
  text-align: center;
  letter-spacing: 1px;
}

/* style for image displayed without text */

/* toggle alert button */

div#toggle_alert
{
  display: block;
  position: absolute;
  width: 25px;
  height: 25px;
  left: 2px;
  top: 2px;
  background-image: url("/images/site/info_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: .3;
  z-index: 200;
}

div#toggle_alert:hover
{
  opacity: 1;
}

/*-----*/

@media screen and (max-width: 600px)
{
  div#toggle_alert
  {
    width: 18px;
    height: 18px;
  }
}
