
.xt-framework-notice{

  line-height: initial!important;
  display: flex;
  align-items: center;
  position: relative;

  &:not(:last-of-type) {
    margin: 0 0 10px !important;
  }

  .xt-framework-notice-narrow &{
    flex-direction: column;
    align-items: flex-start;
  }

  @media screen and (max-width: 400px) {
    flex-direction: column;
    align-items: flex-start;
  }

  .woocommerce-notices-wrapper &{
    display:none
  }

  &:not([class*=woocommerce-]) {
    padding: 1em 1.5em;
    margin: 0 0 1em;
    position: relative;
    color: #515151;
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
    background-color: #f7f6f7;
    border-top: 3px solid #696969;
  }

  &.xt-framework-notice-warning{
    background-color: #f7f6f7;
    border-top: 3px solid #efc851;
  }
  &.xt-framework-notice-error{
    border-top: 3px solid #e74e47;
  }
  &.xt-framework-notice-success{
    background-color: #f7f6f7;
    border-top: 3px solid #64cc90;
  }
  &.xt-framework-notice-info{
    background-color: #f7f6f7;
    border-top: 3px solid #2196f3;
  }

  &:before {
    position: absolute!important;
    top: 50%!important;
    transform: translateY(-50%)!important;
    margin: 0!important;
  }

  .xt-framework-notice-col-left{
    padding-right: 10px;
    flex:1;
  }

  .xt-framework-notice-col-right > *{

    .xt-framework-notice-narrow &{
      margin-top:12px;
    }

    @media screen and (max-width: 400px) {
      margin-top:12px;
    }
  }

  .button {
    float: right;
    padding: 8px 12px!important;
    height: auto!important;
    line-height: inherit!important;
    font-family: inherit!important;
    margin-bottom: 0!important;
    margin-left: 5px!important;

    &:first-child {
      margin-left: 0 !important;
      margin-top: 0!important;
      margin-bottom: 0!important;
    }

    @media screen and (max-width: 400px) {
      margin-left: 0 !important;
    }
  }
}