/*
* Notifiers are meant to be short-lived messages and/or graphics to communicate
* something has happened. Afterwhich, they will close by themselves.
*
*/


/* notifier strip */

.notifier-strip {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  right: 0;
  z-index: 10 !important;
  margin: 0rem auto;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--default-notifier-strip-background-color, #db1dac);
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}

.notifier-strip > .notifier-strip-content {
  display: flex;
  flex-basis: 90%;
  height: 100%;
  padding: 0.125rem !important;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: var(--default-notifier-strip-font-color, #fff);
}

.notifier-strip-controls {
  display: flex;
  flex-flow: row nowrap;
  flex-basis: 10%;
  justify-content: center;
  align-items: center;
  overflow: unset;
  padding: 0em 0em;
  box-sizing: border-box;
}

.notifier-strip-control {
  padding: 0.25em;
  font-size: 1.5em;
  font-weight: 900;
  box-sizing: border-box;
  text-transform: uppercase;
  text-align: center;
  color: var(--default-notifier-strip-font-color, #fff);
  cursor: pointer;
}

.notifier-strip-content .button {
  background-color: var(--default-notifier-strip-button-background-color, #fff);
  color: var(--default-notifier-strip-button-font-color, #db1dac);
}

/* notifier block */

.notifier-block {
  display: none;
  position: absolute;
  z-index: 10 !important;
  top: calc(99% - 17.5rem);
  right: 1%;
  width: 33%;
  height: 17.5rem;
  min-width: 300px;
  max-width: 300px;
  -max-height: 33%;
  margin: 0rem auto;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--default-notifier-block-background-color, #db1dac);
  -webkit-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.notifier-block > .notifier-block-content {
  display: inline-flex;
  width: 100%;
  height: 100%;
  flex: 1 1 100%;
  margin: 0rem 0rem;
  padding: 0.125rem !important;
  align-items: center;
  justify-content: center;
  line-height: 1rem;
  box-sizing: border-box;
  text-align: center;
  font-size: 1rem;
  color: var(--default-notifier-block-font-color, #fff);
}

.notifier-block-content .button {
  background-color: var(--default-notifier-block-button-background-color, #fff);
  color: var(--default-notifier-block-button-font-color, #db1dac);
}

/* notifier feature */

.notifier-feature {
  display: none;
  position: absolute;
  overflow: auto; /* in case there's non-breaking horizontal content; or, break-all can be used to resolve */
  top: calc(50% - 6rem);
  left: 0;
  right: 0;
  height: 10rem;
  z-index: 10 !important;
  margin: 0rem auto;
  box-sizing: border-box;
  text-align: center;
  background-color: var(--default-notifier-feature-background-color, #db1dac);;
  -webkit-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}

.notifier-feature > .notifier-feature-content {
  display: inline-flex;
  width: 100%;
  height: 100%;
  padding: 0rem 0.25rem;
  margin: 0rem 0rem;
  box-sizing: border-box;
  align-items: center;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--default-notifier-feature-font-color, #fff);
}

.notifier-feature-content .button {
  background-color: var(--default-notifier-feature-button-background-color, #fff);
  color: var(--default-notifier-feature-button-font-color, #db1dac);
}


/* notifier badge */

.notifier-badge {
  display: none;
  position: absolute;
  top: calc(50% - 12rem);
  left: calc(50% - 6rem);
  z-index: 20 !important;
  width: var(--notifier-badge-width, var(--default-notifier-badge-width, 12rem));
  height: var(--notifier-badge-height, var(--default-notifier-badge-height, 12rem));
  margin: 0rem auto;
  box-sizing: border-box;
  background-color: var(--notifier-badge-background-color, var(--default-notifier-badge-background-color, #db1dac));
  border-radius: var(--default-circle-border-radius, 50rem);
  --webkit-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
  --moz-box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.notifier-badge > .notifier-badge-content {
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.notifier-badge > .notifier-badge-content,
.notifier-badge > .notifier-badge-content > * {
  box-sizing: border-box;
  line-height: 12rem;
  font-weight: bold;
  font-size: 6rem;
  color: var(--default-notifier-badge-font-color, #fff);
  text-align: center;
  letter-spacing: 0px;
}

/* icon */
.notifier-strip > .notifier-strip-content .notifier-icon {
  font-size: 3rem;
  padding: 0.75rem 1rem;
}

.notifier-block > .notifier-block-content .notifier-icon {
  font-size: 4rem;
  padding: 0.75rem 1rem;
}

.notifier-feature > .notifier-feature-content .notifier-icon {
  font-size: 4rem;
  padding: 0.75rem 1rem;
}


/* body */
.notifier-strip > .notifier-strip-content .notifier-body {
  text-align: center;
}

.notifier-block > .notifier-block-content .notifier-body {
  text-align: left;
  padding: 0.75rem 1rem;
}

.notifier-feature > .notifier-feature-content .notifier-body {
  text-align: left;
  padding: 0.75rem 1rem;
}

@media only screen and (max-width: 450px) {
  .notifier-block {
    width: 100%;
    max-width: unset;
  }
}

@media only screen and (max-width: 850px) {
  .notifier-block {
    top: calc(50% - 17.5rem);
    left: 0;
    right: 0;
  }
}
