.m-a-sm { margin:        ($spacer * 0.5) !important; }
.m-t-sm { margin-top:    ($spacer-y * 0.5) !important; }
.m-r-sm { margin-right:  ($spacer-y * 0.5) !important; }
.m-b-sm { margin-bottom: ($spacer-y * 0.5) !important; }
.m-l-sm { margin-left:   ($spacer-y * 0.5) !important; }
.m-x-sm { margin-right:  ($spacer-x * 0.5) !important; margin-left:   ($spacer-x * 0.5) !important; }
.m-y-sm { margin-top:    ($spacer-y * 0.5) !important; margin-bottom: ($spacer-y * 0.5) !important; }

.m-a-xs { margin:        ($spacer * 0.25) !important; }
.m-t-xs { margin-top:    ($spacer-y * 0.25) !important; }
.m-r-xs { margin-right:  ($spacer-y * 0.25) !important; }
.m-b-xs { margin-bottom: ($spacer-y * 0.25) !important; }
.m-l-xs { margin-left:   ($spacer-y * 0.25) !important; }
.m-x-xs { margin-right:  ($spacer-x * 0.25) !important; margin-left:   ($spacer-x * 0.25) !important; }
.m-y-xs { margin-top:    ($spacer-y * 0.25) !important; margin-bottom: ($spacer-y * 0.25) !important; }

.p-a-sm { padding:        ($spacer * 0.5) !important; }
.p-t-sm { padding-top:    ($spacer-y * 0.5) !important; }
.p-r-sm { padding-right:  ($spacer-y * 0.5) !important; }
.p-b-sm { padding-bottom: ($spacer-y * 0.5) !important; }
.p-l-sm { padding-left:   ($spacer-y * 0.5) !important; }
.p-x-sm { padding-right:  ($spacer-x * 0.5) !important; padding-left:   ($spacer-x * 0.5) !important; }
.p-y-sm { padding-top:    ($spacer-y * 0.5) !important; padding-bottom: ($spacer-y * 0.5) !important; }

.p-a-xs { padding:        ($spacer * 0.25) !important; }
.p-t-xs { padding-top:    ($spacer-y * 0.25) !important; }
.p-r-xs { padding-right:  ($spacer-y * 0.25) !important; }
.p-b-xs { padding-bottom: ($spacer-y * 0.25) !important; }
.p-l-xs { padding-left:   ($spacer-y * 0.25) !important; }
.p-x-xs { padding-right:  ($spacer-x * 0.25) !important; padding-left:   ($spacer-x * 0.25) !important; }
.p-y-xs { padding-top:    ($spacer-y * 0.25) !important; padding-bottom: ($spacer-y * 0.25) !important; }






.m-s { margin-top:-2px !important; }

.padding{
  padding: 1.5rem 1.5rem;
}
.margin{
  margin-bottom: 1.5rem;
}

.padding-out{
  margin: -1.5rem -1.5rem;
}

@include media-breakpoint-down(md) {
  .padding{
    padding: 1rem 1rem;
  }
  .padding-out{
    margin: -1rem -1rem;
  }
  .margin{
    margin-bottom: 1rem;
  }
  .box,
  .box-color{
    margin-bottom: 1rem;
  }
}

@include media-breakpoint-down(sm) {


  .m-xs-a-sm { margin:        ($spacer * 0.5) !important; }
  .m-xs-t-sm { margin-top:    ($spacer-y * 0.5) !important; }
  .m-xs-r-sm { margin-right:  ($spacer-y * 0.5) !important; }
  .m-xs-b-sm { margin-bottom: ($spacer-y * 0.5) !important; }
  .m-xs-l-sm { margin-left:   ($spacer-y * 0.5) !important; }
  .m-xs-x-sm { margin-right:  ($spacer-x * 0.5) !important; margin-left:   ($spacer-x * 0.5) !important; }
  .m-xs-y-sm { margin-top:    ($spacer-y * 0.5) !important; margin-bottom: ($spacer-y * 0.5) !important; }

  .m-xs-a-xs { margin:        ($spacer * 0.25) !important; }
  .m-xs-t-xs { margin-top:    ($spacer-y * 0.25) !important; }
  .m-xs-r-xs { margin-right:  ($spacer-y * 0.25) !important; }
  .m-xs-b-xs { margin-bottom: ($spacer-y * 0.25) !important; }
  .m-xs-l-xs { margin-left:   ($spacer-y * 0.25) !important; }
  .m-xs-x-xs { margin-right:  ($spacer-x * 0.25) !important; margin-left:   ($spacer-x * 0.25) !important; }
  .m-xs-y-xs { margin-top:    ($spacer-y * 0.25) !important; margin-bottom: ($spacer-y * 0.25) !important; }

  .p-xs-a-sm { padding:        ($spacer * 0.5) !important; }
  .p-xs-t-sm { padding-top:    ($spacer-y * 0.5) !important; }
  .p-xs-r-sm { padding-right:  ($spacer-y * 0.5) !important; }
  .p-xs-b-sm { padding-bottom: ($spacer-y * 0.5) !important; }
  .p-xs-l-sm { padding-left:   ($spacer-y * 0.5) !important; }
  .p-xs-x-sm { padding-right:  ($spacer-x * 0.5) !important; padding-left:   ($spacer-x * 0.5) !important; }
  .p-xs-y-sm { padding-top:    ($spacer-y * 0.5) !important; padding-bottom: ($spacer-y * 0.5) !important; }

  .p-xs-a-xs { padding:        ($spacer * 0.25) !important; }
  .p-xs-t-xs { padding-top:    ($spacer-y * 0.25) !important; }
  .p-xs-r-xs { padding-right:  ($spacer-y * 0.25) !important; }
  .p-xs-b-xs { padding-bottom: ($spacer-y * 0.25) !important; }
  .p-xs-l-xs { padding-left:   ($spacer-y * 0.25) !important; }
  .p-xs-x-xs { padding-right:  ($spacer-x * 0.25) !important; padding-left:   ($spacer-x * 0.25) !important; }
  .p-xs-y-xs { padding-top:    ($spacer-y * 0.25) !important; padding-bottom: ($spacer-y * 0.25) !important; }


  .m-xs-a { margin:        $spacer !important; }
  .m-xs-t { margin-top:    $spacer-y !important; }
  .m-xs-r { margin-right:  $spacer-x !important; }
  .m-xs-b { margin-bottom: $spacer-y !important; }
  .m-xs-l { margin-left:   $spacer-x !important; }
  .m-xs-x { margin-right:  $spacer-x !important; margin-left: $spacer-x !important; }
  .m-xs-y { margin-top:    $spacer-y !important; margin-bottom: $spacer-y !important; }
  .m-xs-x-auto { margin-right: auto !important; margin-left: auto !important; }

  .m-xs-a-md { margin:        ($spacer * 1.5) !important; }
  .m-xs-t-md { margin-top:    ($spacer-y * 1.5) !important; }
  .m-xs-r-md { margin-right:  ($spacer-y * 1.5) !important; }
  .m-xs-b-md { margin-bottom: ($spacer-y * 1.5) !important; }
  .m-xs-l-md { margin-left:   ($spacer-y * 1.5) !important; }
  .m-xs-x-md { margin-right:  ($spacer-x * 1.5) !important; margin-left:   ($spacer-x * 1.5) !important; }
  .m-xs-y-md { margin-top:    ($spacer-y * 1.5) !important; margin-bottom: ($spacer-y * 1.5) !important; }

  .m-xs-a-lg { margin:        ($spacer * 3) !important; }
  .m-xs-t-lg { margin-top:    ($spacer-y * 3) !important; }
  .m-xs-r-lg { margin-right:  ($spacer-y * 3) !important; }
  .m-xs-b-lg { margin-bottom: ($spacer-y * 3) !important; }
  .m-xs-l-lg { margin-left:   ($spacer-y * 3) !important; }
  .m-xs-x-lg { margin-right:  ($spacer-x * 3) !important; margin-left:   ($spacer-x * 3) !important; }
  .m-xs-y-lg { margin-top:    ($spacer-y * 3) !important; margin-bottom: ($spacer-y * 3) !important; }


  .p-xs-a { padding:        $spacer !important; }
  .p-xs-t { padding-top:    $spacer-y !important; }
  .p-xs-r { padding-right:  $spacer-x !important; }
  .p-xs-b { padding-bottom: $spacer-y !important; }
  .p-xs-l { padding-left:   $spacer-x !important; }
  .p-xs-x { padding-right:  $spacer-x !important; padding-left:   $spacer-x !important; }
  .p-xs-y { padding-top:    $spacer-y !important; padding-bottom: $spacer-y !important; }

  .p-xs-a-md { padding:        ($spacer * 1.5) !important; }
  .p-xs-t-md { padding-top:    ($spacer-y * 1.5) !important; }
  .p-xs-r-md { padding-right:  ($spacer-y * 1.5) !important; }
  .p-xs-b-md { padding-bottom: ($spacer-y * 1.5) !important; }
  .p-xs-l-md { padding-left:   ($spacer-y * 1.5) !important; }
  .p-xs-x-md { padding-right:  ($spacer-x * 1.5) !important; padding-left:   ($spacer-x * 1.5) !important; }
  .p-xs-y-md { padding-top:    ($spacer-y * 1.5) !important; padding-bottom: ($spacer-y * 1.5) !important; }

  .p-xs-a-lg { padding:        ($spacer * 3) !important; }
  .p-xs-t-lg { padding-top:    ($spacer-y * 3) !important; }
  .p-xs-r-lg { padding-right:  ($spacer-y * 3) !important; }
  .p-xs-b-lg { padding-bottom: ($spacer-y * 3) !important; }
  .p-xs-l-lg { padding-left:   ($spacer-y * 3) !important; }
  .p-xs-x-lg { padding-right:  ($spacer-x * 3) !important; padding-left:   ($spacer-x * 3) !important; }
  .p-xs-y-lg { padding-top:    ($spacer-y * 3) !important; padding-bottom: ($spacer-y * 3) !important; }


  .padding{
    padding: 0.5rem 0.5rem;
  }
  .padding-out{
    margin: -0.5rem -0.5rem;
  }
  .margin{
    margin-bottom: 0.5rem;
  }
  .box,
  .box-color{
    margin-bottom: 0.5rem;
  }
  .no-padding-xs{
    padding: 0;
  }
}
