
.xt-framework-notice{

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

  .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;
  }

  .xt-framework-notice-col-full{
    width:100%;
  }

  .xt-framework-notice-col-left{
    width:70%;
    float: left;
    padding-right: 10px;
    flex:1;

    .xt-framework-notice-narrow &{
      width:100%;
    }

    @media screen and (max-width: 400px) {
      width:100%;
    }

  }

  .xt-framework-notice-col-right{
    float: right;
    margin: 0;

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

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

  .button {
    padding: 8px 12px!important;
    float: right;
  }
}
