﻿@media only screen and (max-width: 599px) {
  .ofToastLabel {
      font-size: 14px;
  }

  .ofToastBody {
      font-size: 12px;
  }

  .ofToastConfirmationMessage {
      font-size: 10px;
  }

  .ofToastUserInput {
    height: 10px;
    width: 10px;
    top: 1px !important;
  }
}

@media only screen and (min-width: 600px) {
    .ofToastLabel {
        font-size: 16px;
    }

    .ofToastBody {
        font-size: 12px;
    }

    .ofToastConfirmationMessage {
        font-size: 10px;
    }

    .ofToastUserInput {
        	height: 12px;
	        width: 12px;
    }
}


.ofToastIcon {
  height: 28px;
  width: 28px;
  z-index: 110001;
}

.ofToastContainer {
  position: fixed;
  visibility: visible;
  width: 200px;
  right: 5px;
  top: 60px;
  overflow-x: visible;
  z-index: 99999;
}

.ofToast {
  float: right;
  visibility: visible;
  width: 250px;
  min-height: 40px;
  /*max-height: 200px;*/
  background-color: #fff;
  color: var(--of-grey900);
  position: relative;
  z-index: 110000;
  margin: 10px;
  left: 5px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 2px 3.92px 1.08px rgb(0 0 0 / 20%);
  animation-name: fadein;
  -webkit-animation-name: fadein;
  animation-duration: 1s;
  -webkit-animation-duration: 1s;
  display: flex;
  flex-direction: row;
}

  .ofToast .ofToastContent {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .ofToast .ofToastContent .ofToastOptions svg {
    pointer-events: visible;
    cursor: pointer;
    z-index: 110002;
  }

    .ofToast .ofToastContent .ofToastOptions {
      display: flex;
      width: 100%;
      align-items: center;
    }

      .ofToast .ofToastContent .ofToastOptions .ofToastPin {
        margin: 8px 8px 0px 0px;
        height: 13px;
        width: 13px;
        fill: var(--of-grey800);
        transform: rotate(-45deg);
      }

        .ofToast .ofToastContent .ofToastOptions .ofToastPin:hover {
          fill: var(--of-accent400);
        }

        .ofToast .ofToastContent .ofToastOptions svg:first-child {
          margin-left: auto;
        }

      .ofToast .ofToastContent .ofToastOptions .ofToastPin.ofPinned, .ofToast .ofToastContent .ofToastOptions .ofToastPin.ofPinned .ofWhiteLayer {
        fill: var(--of-accent400);
        transform: none;
      }

      .ofToast .ofToastContent .ofToastOptions .ofToastCloseButton {
        margin: 8px 8px 0px 10px;
        height: 10px;
        width: 10px;
      }

  .ofToast .ofToast_colorBlock {
    width: 50px;
    min-height: 40px;
    padding: 0;
    /*max-height: 200px;*/
    display: flex;
    margin-right: 10px;
  }

@-webkit-keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadein {
    from {opacity: 0;}
    to {opacity: 1;}
}



.ofToastIcon {
    pointer-events:none;
    margin:auto;
}

.ofToastLabel {
  color: var(--of-grey900);
  position: relative;
  width: 178px;
  font-weight: 500;
  word-wrap: break-word;
  max-height: 60px;
}

.ofToastBody {
  color: var(--of-grey900);
  position: relative;
  margin-top: 3px;
  margin-bottom: 3px;
  width: 187px;
  word-wrap: break-word;
  margin-bottom: 3px;
  max-height: 130px;
}

.ofToastInputWrap {
  display: flex;
  margin: 5px 20px 10px auto;
}

.ofToastUserInput {
  position: relative;
  cursor: pointer;
  margin: 0px 3px 0px 0px;
}

.ofToastConfirmationMessage {
  color: var(--of-grey900);
  position: relative;
  pointer-events: none;
  width: fit-content;
}

.ofToastUrgentOrError {
  border: none;
}

  .ofToastUrgentOrError .ofToast_colorBlock {
    background-color: var(--of-error);
  }

  .ofToastUrgentOrError .ofToastIcon {
    fill: var(--of-error);
  }

  .ofToastUrgentOrError .ofToastLabel {
    color:var(--of-grey900);
  }

.ofToastWarning {
    border: none;
}

  .ofToastWarning .ofToast_colorBlock {
    background-color: var(--of-warning);
  }

  .ofToastWarning .ofToastIcon {
    fill: var(--of-warning);
  }

  .ofToastWarning .ofToastLabel {
    color: var(--of-grey900);
  }

.ofToastSuccess {
  border: none;
}

  .ofToastSuccess .ofToast_colorBlock {
    background-color: var(--of-success);
  }

  .ofToastSuccess .ofToastIcon {
    fill: var(--of-success);
  }

  .ofToastSuccess .ofToastLabel {
    color: var(--of-grey900);
  }

.ofToastInformational {
    border: none;
}

  .ofToastInformational .ofToast_colorBlock {
    background-color: var(--of-info);
  }

  .ofToastInformational .ofToastIcon {
    fill: var(--of-info);
  }

  .ofToastInformational .ofToastLabel {
    color: var(--of-grey900);
  }

.ofToastContent .ofToastHyperlink {
  cursor: pointer;
  pointer-events: visible;
  z-index: 110002;
  font-size: 10px;
  margin: 0px 20px 3px auto;
}

.ofToastAnchor {
  padding-right: 10px;
  color: var(--of-grey900);
  font-weight: 400;
}

.ofToastSummaryBlock {
    max-height: 120px;
    width: 200px;
    left: 50px;
    visibility: visible;
}

.ofToastContent > :last-child {
  margin-bottom: 10px !important;
}

