﻿.notificationBar {
  border-color: #a5b3c5;
  border-width: 2px;
  border-style: solid;
  /*display: table;
    width: 100%;*/
  margin: 0px 0 15px 0;
  background-color: white;
  border-radius: 1px;
  margin: 30px 15px 0px 15px;
}

  .notificationBar.ofColor_error {
    border-color: #e72025;
    border-width: 2px;
  }

  .notificationBar.ofColor_warning {
    border-color: var(--of-red300);
    border-width: 2px;
  }

    .notificationBar.ofColor_nuetral {
        border-color: var(--of-primary500);
        border-width: 2px;
    }

#n_image_up, #n_image_down {
  height: 20px;
  cursor: pointer;
}

.notificationBar-info-message {
  vertical-align: middle;
  text-align: center;
  height: 25px;
  width: 100%;
  clear: both;
  right: 0px;
  left: 0px;
  line-height: 25px;
  font-size: 14px;
  color: black;
}

.notificationBar-info-message a {
    color: var(--of-primary500);
}

  .notificationBar-info-message.collapsed {
    /*border-bottom-width: 2px;
        border-bottom-style: solid;*/
  }

  .notificationBar-info-message.ofColor_nuetral.collapsed {
    /*border-bottom-width: 2px;
        border-bottom-style: solid;*/
    border-bottom-color: #0455ab;
  }

  .notificationBar-info-message.ofColor_error.collapsed {
    border-bottom-color: #e72025;
  }

  .notificationBar-info-message.ofColor_warning.collapsed {
    border-bottom-color: var(--of-red300);
  }


.notificationBar-full.ofColor_nuetral {
  border-top-color: #0455ab;
}

.notificationBar-full.ofColor_error {
  border-top-color: #e72025;
}

.notificationBar-full.ofColor_warning {
  border-top-color: var(--of-red300);
}

.notificationBar.ofColor_error > div > .notificationBar-info-message.collapsed {
  border-bottom-color: #e72025;
}

.notificationBar.ofColor_warning > div > .notificationBar-info-message.collapsed {
  border-bottom-color: var(--of-red300);
}

.notificationBar.ofColor_neutral > div > .notificationBar-info-message.collapsed {
  border-bottom-color: #0455ab;
}

.notificationBar-info-message span.holder {
  float: right;
  width: 20px;
  height: 12px;
}

.notificationFullList {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #dcdcdc;
}

.notificationBar-full {
  display: none;
  max-height: 135px;
  overflow-y: auto;
  font-size: 12px;
}

  .notificationBar-full span {
    float: right;
    margin-top: -23px;
    margin-right: 3px;
  }

.notificationBar-info {
  margin: 0px;
  /* background-color: rgb(254, 244, 151);*/
}

.notificationTableContainer {
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 2px;
}

.notificationMessage {
  padding-left: 15px;
  color: black;
}

.tableFull {
  border-collapse: collapse;
  border: 0px;
  width: 100%;
  min-height: 25px;
}

  .tableFull tr {
    border: 0px;
    padding: 2px 5px;
    margin-bottom: 1px;
    margin-top: 1px;
  }

    .tableFull tr td {
      border: 0px;
      /*padding: 2px 0px 2px 2px;*/
      margin-bottom: 1px;
      margin-top: 1px;
      vertical-align: middle;
    }

      .tableFull tr td > a > svg {
        width: 16px;
        height: 16px;
        fill: black;
        padding-top: 3px;
      }

      .tableFull tr td > svg {
        width: 16px;
        height: 16px;
        fill: black;
      }

      .tableFull tr td.ofColor_error > a > svg {
        fill: #e72025;
      }

      .tableFull tr td.ofColor_error > svg {
        fill: #e72025;
      }

      .tableFull tr td.ofColor_warning > a > svg {
        fill: var(--of-red300);
      }

      .tableFull tr td.ofColor_warning > svg {
        fill: var(--of-red300);
      }

      .tableFull tr td.ofColor_neutral > a > svg {
        fill: #0455ab;
      }

      .tableFull tr td.ofColor_neutral > svg {
        fill: #0455ab;
      }

  .tableFull .tr {
    border: 0px;
    padding: 2px 5px;
    margin-bottom: 1px;
    margin-top: 1px;
  }

    .tableFull .tr .td {
      border: 0px;
      padding: 2px 5px;
      margin-bottom: 1px;
      margin-top: 1px;
    }

      .tableFull .tr .td > a > svg {
        width: 16px;
        height: 16px;
        fill: black;
      }

      .tableFull .tr .td > svg {
        width: 16px;
        height: 16px;
        fill: black;
      }

      .tableFull .tr .td.ofColor_error > a > svg {
        fill: #e72025;
      }

      .tableFull .tr .td.ofColor_error > svg {
        fill: #e72025;
      }

      .tableFull .tr .td.ofColor_warning > a > svg {
        fill: var(--of-red300);
      }

      .tableFull .tr .td.ofColor_warning > svg {
        fill: var(--of-red300);
      }

      .tableFull .tr .td.ofColor_neutral > a > svg {
        fill: #0455ab;
      }

      .tableFull .tr .td.ofColor_neutral > svg {
        fill: #0455ab;
      }


.notificationBar-info-message table tbody tr td > svg {
  width: 16px;
  height: 16px;
  fill: black;
}

.notificationBar-info-message table tbody tr td.ofColor_error > a > svg {
  fill: #e72025;
}

.notificationBar-info-message table tbody tr td.ofColor_error > svg {
  fill: #e72025;
}

.notificationBar-info-message table tbody tr td.ofColor_warning > a > svg {
  fill: var(--of-red300);
}

.notificationBar-info-message table tbody tr td.ofColor_warning > svg {
  fill: var(--of-red300);
}

.notificationBar-info-message table tbody tr td.ofColor_neutral > a > svg {
  fill: #0455ab;
}

.notificationBar-info-message table tbody tr td.ofColor_neutral > svg {
  fill: #0455ab;
}

.tableFull tr td div {
  padding-left: 15px;
  margin-top: -5px;
}

.tableFull .tr .td div {
  padding-left: 5px;
}

.tableFull img {
  height: 11px;
  margin-right: 5px;
}

.notificationBar-info-message.has-sub.collapsed span.holder svg {
  transform: rotate(-90deg);
}

.notificationBar-info-message.has-sub span.holder svg {
  transform: rotate(90deg);
}

.notificationBar-info-message > a > .holder > svg {
  width: 20px;
  height: 12px;
  fill: black;
}

.notificationBar-info-message .ofColor_error > svg {
  width: 16px;
  height: 16px;
  fill: #e72025;
}

.notificationBar-info-message .ofColor_good > svg {
  width: 16px;
  height: 16px;
  fill: #0455ab;
}

.notificationBar-info-message .ofColor_warning > svg {
  width: 16px;
  height: 16px;
  fill: var(--of-red300);
}

.notificationBar-info-message .ofColor_neutral > svg {
  width: 16px;
  height: 16px;
  fill: #0455ab;
}

.notificationBar.ofHide {
  border-width: 0px;
  border-style: none;
}

.processAnyWay {
  text-underline-position: under;
  padding-left: 5px;
}

  .processAnyWay > a {
    color: blue !important;
    text-decoration: underline;
  }

/*Notification center*/

#notificationContainer {
  position: absolute;
  min-width: 280px;
  right: 0;
  background-color: var(--of-white500);
  display: none;
  z-index: 100000;
  box-shadow: 0px 2px 3.92px 1.08px rgb(0 0 0 / 20%);
}

/* So the panel actually shows up on the users small screen */
@media only screen and (max-width: 599px) {
  #notificationContainer{
    right: 0px !important;
  }
}

  #notificationContainer .headerContainer {
    display: flex;
    align-items: center;
    margin: 0 10px 0 6px;
  }

  #notificationContainer .headerTitle {
    font-size: 14px;
    color: var(--of-grey900);
    font-weight: 500;
  }

  #notificationContainer .headerIcons {
    position: relative;
    top: 3px;
    margin-left: auto;
  }

  #notificationContainer .notificationList {
    min-height: 231px;
    display: inline-grid;
    grid-template-rows: min-content;
    align-items: baseline;
    margin: 20px 0px 10px 0px;
    max-height: 500px;
    overflow: auto;
  }

    #notificationContainer .notificationList .ofToast {
      margin: 10px 15px;
      left: 0px;
    }

      #notificationContainer .notificationList .ofToast:first-child {
        margin-top: 0;
      }


      #notificationContainer .notificationList .ofToast:last-child {
        margin-bottom: 20px;
      }

    #notificationContainer .notificationList .ofToastNew {
      border-width: 2px;
    }


/* Scrollbar styles */
#notificationContainer .notificationList::-webkit-scrollbar {
  width: 5px;
}

    #notificationContainer .notificationList::-webkit-scrollbar-track {
      background: var(--of-white500);
    }

    #notificationContainer .notificationList::-webkit-scrollbar-thumb {
      background: var(--of-grey300);
    }

      #notificationContainer .notificationList::-webkit-scrollbar-thumb:hover {
        background: var(--of-grey400);
      }



/* Stop action panel from going behind toasts */
#notificationContainer .ofActionPanel {
  z-index: 110001;
}


/* Filters */
#notificationContainer.ofFilterNew .notificationList > :not(.ofToastNew) {
  display: none;
}

#notificationContainer #notificationOptionsPanel ol > li::before, #notificationContainer #notificationOptions_panel ol > li::before {
  content: "\2713  ";
  visibility: hidden;
}

#notificationContainer.ofFilterNew #notificationOptionsPanel ol > li::before, #notificationContainer.ofFilterNew #notificationOptions_panel ol > li::before {
  visibility: visible;
}


#notificationContainer ol > #refreshNotifications::before {
  visibility: hidden !important;
}