/**
* @file
* Visual styles for Dark+'s products grid views slideout filters.
*/
@media (max-width: 991px) {
  .view-filters--slideout {
    margin-bottom: 0;
  }
  .view-filters--slideout .fieldset-wrapper .bef-toggle {
    font-size: 14px;
    display: block;
    text-align: right;
  }
  .view-filters--slideout .form-actions {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 0 -5px 0;
  }
  .view-filters--slideout .form-actions input[type="submit"] {
    flex-grow: 1;
    margin-left: 5px;
    margin-right: 5px;
  }
  .view-filters--slideout .bef-exposed-form .form--inline .form-item {
    float: none;
    margin-right: 0;
    margin-top: 0;
  }
  .slideout-filters-toggle.mt-button.mt-button--small:hover,
  .slideout-filters-toggle.mt-button.mt-button--small:focus {
    padding: 6px 20px;
  }
  .slideout-filters-toggle.mt-button:after {
    content: "";
  }
}
.view-filters--slideout .bef-exposed-form .form--inline .form-item.highlight {
  text-align: left;
}
@media (min-width: 992px) {
  .view-filters--slideout .bef-exposed-form .form--inline {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .view-filters--slideout .bef-exposed-form .form--inline > .form-item {
    margin: 0 0 30px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  .view-filters--slideout .form-item legend {
    padding-right: 75px;
  }
  .view-filters--slideout .form-item .fieldset-wrapper {
    position: relative;
  }
  .view-filters--slideout .form-item legend + .fieldset-wrapper .bef-toggle {
    position: absolute;
    top: -35px;
    right: 1em;
    font-size: 15px;
  }
  .view-filters--slideout .bef-exposed-form .form--inline > .form-item.form-item-title {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .view-filters--slideout .bef-exposed-form .form--inline > .form-item.form-item-items-per-page,
  .view-filters--slideout .bef-exposed-form .form--inline > .form-actions {
    flex-basis: auto;
    max-width: none;
    width: auto;
  }
  .view-filters--slideout .bef-exposed-form .form--inline > .form-item .form-checkboxes {
    max-height: 85px;
    overflow-y: auto;
  }
  .view-filters--slideout .bef-exposed-form .form-item-items-per-page select {
    min-width: 180px;
    max-height: 50px;
    width: auto;
  }
  .view-filters--slideout .bef-exposed-form .form-actions {
    position: relative;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
  }
  .view-filters--slideout .bef-exposed-form .form--inline > .form-item.form-item-items-per-page + .form-actions input[type="submit"] {
    margin-top: 35px;
  }
  .view-filters--slideout .bef-exposed-form .form-actions input[type="submit"] {
    width: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 991px) {
  .view-filters--slideout {
    max-height: 100%;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: none;
    height: 100%;
    width: 17em;
    transform: translate3d(-17em, 0, 0);
    position: fixed;
    min-height: 100%;
    max-height: none;
    top: 0;
    display: block;
    overflow-x: hidden;
    left: 0;
    z-index: 100;
    padding: 50px 15px 30px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.25), 4px 2px 24px rgba(0,0,0,0.25);
  }
  .view-filters--slideout.view-filters--slideout-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  .view-filters--slideout .views-exposed-form {
    position: relative;
  }
  @supports ((position: -webkit-sticky) or (position: sticky)) {
    .view-filters--slideout .form-actions {
      padding: 5px 0;
      position: -webkit-sticky;
      position: sticky;
      top: 0;
      bottom: -30px;
    }
    .view-filters--slideout .form-actions input {
      padding-left: 5px;
      padding-right: 5px;
    }
  }
}
.main-content.slideout-filters-open {
  z-index: 502;
  position: relative;
}
.view-filters--slideout .slideout-filters-close-toggle {
  border-width: 0;
  font-size: 28px;
  margin: 0;
  padding: 5px!important;
  text-align: center;
  position: absolute!important;
  top: 5px;
  right: 5px;
  width: 45px;
  height: 45px;
  z-index: 1;
}
.view-filters--slideout .slideout-filters-close-toggle:hover:after,
.view-filters--slideout .slideout-filters-close-toggle:focus:after {
  content: "";
}

.view-filters--slideout .form-item.form-item-items-per-page > label {
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: normal;
  font-size: inherit;
  text-transform: none;
  padding: 0;
}
