@import '~pretty-checkbox/src/scss/variables';
@import '~pretty-checkbox/src/scss/core';
@import '~pretty-checkbox/src/scss/elements/svg/general';

.mz-checkbox.pretty.p-has-indeterminate {
  input[type='checkbox']:indeterminate ~.state:not(.p-is-indeterminate) {
    display: none;
  }

  input[type='checkbox']:indeterminate ~.state.p-is-indeterminate {
    display: block;

    .icon, .svg {
      display: block;
      opacity: 0.5;
    }
  }
}

.mz-checkbox.pretty.p-smooth {
  label:before,
  label:after,
  .icon,
  .svg {
    transition: all 0.5s ease;
  }

  input:checked + .state {
    label:after {
      transition: all 0.3s ease;
    }

    .icon,
    .svg,
    img {
      animation: zoom 0.2s ease;
    }
  }

  &.p-default input:checked + .state {
    label:after {
      animation: zoom 0.2s ease;
    }
  }

  &.p-plain input:checked + .state {
    label:before {
      content: '';
      transform: scale(0);
      transition: all 0.5s ease;
    }
  }
}

.mz-checkbox.pretty.p-svg input:checked ~ .state .svg {
  opacity: 0.5;
}

.mz-checkbox.pretty .state label:before, .mz-checkbox.pretty .state label:after {
  top: 50%;
  transform: translateY(-50%);
  margin-bottom: 0px;
}

.mz-active .mz-checkbox.pretty .state label:before, .mz-checkbox.pretty .state label:after {
  top: 50%;
  transform: translateY(-50%);
  border: none;
}

.mz-checkbox.pretty.p-svg .state .svg {
  top: 50%;
  transform: translateY(-50%);
  border: none;
}

.mz-flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mz-flex-fit {
  flex:1;
}

#mz-app, #mz-autocomplete {
  display: block;
  text-transform: initial;
  letter-spacing: normal;
  margin-top: 2px;
}

#mz-app [v-cloak] .v-cloak--block {
  display: block !important;
}

#mz-app [v-cloak] .v-cloak--inline {
  display: inline !important;
}

#mz-app [v-cloak] .v-cloak--inlineBlock {
  display: inline-block !important;
}

#mz-app [v-cloak] .v-cloak--hidden {
  display: none !important;
}

#mz-app [v-cloak] .v-cloak--invisible {
  visibility: hidden !important;
}

#mz-app .v-cloak--block,
#mz-app .v-cloak--inline,
#mz-app .v-cloak--inlineBlock {
  display: none !important;
}

.mz-right kbd {
  padding: 2px 4px;
  font-size: 90%;
  color: #fff;
  background-color: #333;
  border-radius: 3px;
  -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.mz-score code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

.mz-right code,
.mz-right kbd {
  font-family: Menlo, Monaco, Consolas, 'Courier New', monospace;
}

.mz-btn {
  -webkit-box-shadow: none;
  padding: 6px 12px;
  margin-bottom: 0;
  box-shadow: none;
  border: 1px solid transparent;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
}

.mz-btn:active {
  outline: 0;
  -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  -moz-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.mz-btn:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.mz-btn-default {
  background-color: #f4f4f4;
  color: #444;
  border-color: #ddd;
  text-decoration: none;
}

.mz-btn-primary {
  background-color: #007dc6;
  border-color: #367fa9;
}

.mz-btn-primary.hover,
.mz-btn-primary:active,
.mz-btn-primary:hover {
  background-color: #367fa9;
}

.mz-btn-primary.hover,
.mz-btn-primary:active,
.mz-btn-primary:hover {
  background-color: #286090;
}

.mz-btn-default.mz-active {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.mz-btn-default.focus, .mz-btn-default:focus {
  color: #333;
  background-color: #e6e6e6;
  border-color: #8c8c8c;
}

.mz-btn-default.mz-active.focus,
.mz-btn-default.mz-active:focus,
.mz-btn-default.mz-active:hover,
.mz-btn-default:mz-active.focus,
.mz-btn-default:mz-active:focus,
.mz-btn-default:mz-active:hover {
  color: #333;
  background-color: #d4d4d4;
  border-color: #8c8c8c;
  outline: 0;  
}

.mz-btn.mz-active.focus,
.mz-btn.mz-active:focus,
.mz-btn.focus,
.mz-btn:active.focus,
.mz-btn:active:focus,
.mz-btn:focus {
  outline: 0;  
  outline-offset: -2px;
}

.form-field .mz-search-box {
  max-width: 200px;
}

.mz-form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 1em;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s,
    -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.mz-form-control:focus {
  outline: 0;
}

.mz-form-control-feedback {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  pointer-events: none;
}

.mz-wrapper {
  padding-left: 10px;
  padding-right: 10px;
}

.mz-box-body:after,
.mz-box-body:before,
.mz-box-footer:after,
.mz-box-footer:before,
.mz-box-header:after,
.mz-box-header:before {
  content: ' ';
  display: table;
}

.mz-box-body {
  padding: 7px 0;
}

.mz-box-body:after,
.mz-box-footer:after,
.mz-box-header:after,
.mz-wrapper:after {
  clear: both;
}

.mz-facet .mz-active .mz-checkbox label {
  color: #fa2a00;
  font-weight: 700;
}

.mz-facet .mz-partial .mz-checkbox label {
  color: #fa2a00;
}

.mz-box-body .mz-row {
  margin-right: 0;
  margin-left: -5px;
  display: flex;
  flex-wrap: wrap;
}

.mz-pagination {
  margin: 0;
  padding-bottom: 3px;
}

.mz-pull-right {
  float: right !important;
  text-align: right;
}

.mz-collapse,
.mz-expand,
.mz-label {
  font-weight: 700;
}

.mz-collapse {
  margin-top: 5px;
}

.mz-close,
.mz-open,
.mz-remove-filter {
  position: absolute;
  top: 0;
  display: block;
  text-align: right;
}

.mz-remove-filter {
  right: 20px;
  color: #c3c0c0;
}

.mz-close,
.mz-open {
  right: 0;
  color: #9c9c9c;
}

.mz-pointer-events {
  pointer-events: auto;
  top: 1px;
  right: 3px;
  width: 32px;
  height: 32px;
  color: #ccc;
}

.mz-label {
  position: relative;
  width: 100%;
}

h5.mz-label {
  text-transform: none;
  margin-top: 15px;
  font-size: 1rem;
}

.mz-facet {
  padding: 2px 10px 5px 5px;
  line-height: 1;
}

.mz-facet .mz-values {
  padding-bottom: 5px;
}

.mz-checkbox .mz-image {
  max-width: 100px;
}

.mz-results {
  padding-top: 0;
  min-height: 100px;
}

.mz-action-bar .mz-select {
  margin-right: 5px;
}

.mz-action-bar .mz-select select {
  padding: 7px 5px;
  font-size: 14px;
  border-radius: 2px;
  float: left;
  background-color: #fff;
}

.mz-action-bar .mz-inline-flex {
  display: inline-flex;
  flex-wrap: wrap;
}

.mz-action-bar .mz-inline-flex.mz-preview-margin {
  margin-bottom: 5px;
}

.mz-action-bar .mz-inline-flex .mz-filter {
  display: none;
}

.mz-action-bar .mz-hits-info {
  float: right;
  font-size: small;
  margin: 8px 5px 0 0;
}

.mz-results .mz-table {
  padding-top: 0px;
  display: flex;
  flex-flow: column;
}

.mz-results .mz-table-row {
  padding: 20px 0;
  display: flex;
  flex-flow: row nowrap;
  margin-bottom: 10px;
}

.mz-results .mz-table-item {
  padding: 10px;
  min-width: 25%;
}

.mz-results .mz-table-item.second {
  width: 100%;
}

@media (max-width: 800px) {
  .mz-hidden-xs {
    display: none !important;
  }
}

@media (max-width: 400px) {
  .mz-action-bar .mz-inline-flex .mz-btn,
  .mz-action-bar .mz-select select {
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  #mz-app .mz-action-bar .mz-inline-flex .mz-filter {
    display: block;
  }
  #mz-app .mz-action-bar .mz-select.sort select {
    width: 144px;
  }
  #mz-app .mz-action-bar .mz-select.pg select {
    width: 65px;
  }
  #mz-app .mz-action-bar .mz-inline-flex .mz-btn,
  #mz-app .mz-action-bar .mz-inline-flex .mz-select select {
    font-size: 12px;
  }
  #mz-app .mz-action-bar .mz-inline-flex .mz-btn {
    padding: 6px 10px;
  }
}

.mz-highlight {
  background-color: #ffff0047;
}

.mz-btn.mz-btn-primary {
  color: #fff;
}

a.disabled {
  pointer-events: none;
  text-decoration: none;
  cursor: not-allowed;
  opacity: 0.5;
}

.mz-loader {
  max-width: 100%;
  max-height: 100%;
  bottom: 0;
  left: 0;
  margin: auto;
  overflow: auto;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1000;
}

.product .compare {
  vertical-align: bottom;
}

.mz-fallback {
  display: none;
}

.mz-drawer {
  max-width: 350px;
}

@media (min-width: 768px) {
  .mz-col-sm-3 {
    width: 25%;
  }
  .mz-col-sm-9 {
    width: 75%;
  }
  .mz-col-sm-12 {
    width: 75%;
  }
  .mz-col-sm-3,
  .mz-col-sm-9 {
    float: left;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
    min-height: 1px;
  }
}

.mz-list::-webkit-scrollbar {
  width: 5px;
  position: fixed;
  right:0;
}

.mz-list::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0);
  transition: background-color 2s;
}

.mz-list:hover::-webkit-scrollbar-thumb {
	background:	#d9dbdc;
}

.mz-list::-webkit-scrollbar-thumb:hover {
	background:	#d9dbdc;
}

.ch-drawer, .toggle-over-flow {
  position: fixed;
}

.ch-drawer__header :first-child {
  flex: 0;
}

.ch-drawer__close-btn {
  margin: 0px 0.4em;
}

.mz-aggs-vertical,
.mz-hits {
  padding-left: 5px;
  padding-right: 5px;
  position: relative;
  min-height: 1px;
}
.mz-aggs-horizontal {
  display: none !important;
}

@media (min-width: 768px) {
  .mz-aggs-vertical {
    width: 25%;
    float: left;
  }
  .mz-hits {
    width: 75%;
    float: left;
  }
}

/* vertical - no additional styles needed */

/* horizontal */
@media (min-width: 768px) {
  .mz-filter-layout-horizontal .mz-aggs-horizontal {
    display: inline-flex !important;
  }
  .mz-filter-layout-horizontal .mz-aggs-vertical {
    display: none !important;
  }
  .mz-filter-layout-horizontal .mz-hits {
    width: 100%;
  }
}

/* off-canvas */
@media (min-width: 768px) {
  .mz-filter-layout-overlay .mz-aggs-vertical {
    display: none !important;
  }
  .mz-filter-layout-overlay .mz-hits {
    width: 100%;
  }
  .mz-filter-layout-overlay .mz-action-bar .mz-inline-flex .mz-filter {
    display: block !important;
  }  
}
.mz-show-more {
  margin-top: 5px;
}