

/* Helper classes */
.cf:before,
.cf:after {
  content: ' ';
  display: table;
}

.cf:after {
  clear: both;
}

.hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Main styles */
body {
  color: #CECECE;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: #f0f0f0;
  outline: none;
}

a:hover {
  color: #5C5EDC;
}



/* Product grid */

.grid {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
}

/* Loader */
.grid__loader {
  display: none;
  margin: 3em auto 0;
}

.grid--loading .grid__loader {
  display: block;
}

/* Clearfix */

.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* Grid items */
.mt-grid-portfolio-shortcode .grid__item h3.post-title a{
    color: #fff;

}
.mt-grid-portfolio-shortcode .grid__item h3.post-title {
    font-size: 25px;
    font-weight: bold;
    margin:0;
    text-align: left;
}
.grid__sizer,
.grid__item {
  position: relative;
  float: left;
  width: 33.3333333%;
  padding: .75em;
}

.no-touch .grid__sizer,
.no-touch .grid__item {
  padding: .75em .75em 1.25em;
}


.grid__item--size-a {
  width: 40%;
}

/* Gallery */

.slider {
  padding: 0;
  border-radius: 5px;
  /*background: #24252a;*/
}

.no-touch .slider {
  padding: 0;
}

.slider__item {
  width: 100%;
  padding: 0;
  /*border-radius: 5px;*/
  /*webkit-border-radius: 5px;*/
  overflow: hidden;
}
.slider__item img {
  width: 100%;
}
.mt-portfolio-metas i {
    margin-right: 5px;
}
/* Flickity page dots */

.slider .flickity-page-dots {
  bottom: 20px;
  opacity: 0;
  -webkit-transition: opacity .3s;
  transition: opacity .3s;
}

.no-touch .slider:hover .flickity-page-dots {
  opacity: 1;
}

.slider .flickity-page-dots .dot {
  background: #131417;
}


/* Action style */

.action {
  font-size: 1.05em;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: .25em;
  cursor: pointer;
  color: #fff;
  border: none;
  background: none;
}

.action:focus {
  outline: none;
}

.action--button {
  color: #5c5edc;
}

.no-touch .action--button:hover {
  color: #fff;
  outline: none;
}

.text-hidden {
  position: absolute;
  top: 200%;
}
/* Fixed bottom bar */
.bar {
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 0;
  text-align: center;
  -webkit-transform: translate3d(0, 0, 0);
  /* Fix for Chrome flicker on Mac ...party like we're in 2012! */
}
/* Filter */
.filter__label {
  font-size: .85em;
  display: inline-block;
  margin: 0 2%;
  font-weight: bold;
  color: #393A3F;
}
.filter__item {
  font-weight: bold;
  margin: 0 15px;
  padding: .1em;
  vertical-align: middle;
  color: #a3a3b3;
  border-bottom: 2px solid transparent;
}

.filter__item--selected {
  color: #5c5edc;
  border-color: #5c5edc;
}

.filter__item .icon {
  font-size: 1.75em;
  display: none;
}

@media screen and (max-width: 65em) {
  .grid__sizer,
  .grid__item,
  .grid__item--size-a {
    width: 33.333%;
  }
}

@media screen and (max-width: 50em) {
  .grid__sizer,
  .grid__item,
  .grid__item--size-a {
    width: 50%;
  }
  .bar {
    padding-left: 0;
    text-align: left;
  }
}

@media screen and (max-width: 40em) {
  .bar {
    padding: .5em 4.5em .5em 0;
  }
  .flexbox .filter {
    -webkit-justify-content: space-around;
    justify-content: space-around;
  }
  .filter__item {
    height: 100%;
    padding: .5em .1em;
    border: none;
  }
  .filter__item .icon {
    display: inline-block;
  }
  .filter__label,
  .action__text {
    display: none;
  }
  .cart {
    padding: 0 1em;
  }
}

@media screen and (max-width: 25em) {
  .grid {
    max-width: 75%;
  }
  .grid__loader {
    margin: 0 auto;
  }
  .grid__sizer,
  .grid__item,
  .grid__item--size-a {
    width: 100%;
  }
  .action--buy {
    font-size: 1.5em;
    padding: 1.15em 1.5em;
    -webkit-tap-highlight-color: transparent;
  }
}



.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.mt-portfolio-metas > a {
    color: #666666;
    font-weight: 300;
}
.grid__item {
    opacity: 1;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
}
.grid__item:hover {
    opacity: 0.8;
}
.flex-center {
    align-self: center;
    width: 100%;
}
.mt-portfolio-grid-overlay .flex {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.grid__item:hover .grid_overlay_fancybox .mt-portfolio-grid-overlay i {
    opacity: 1;
}
.mt-portfolio-grid-overlay i {
    color: rgb(255, 255, 255);
    font-size: 30px;
    opacity: 0;
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
}
.grid_overlay_fancybox{
    background: rgba(37, 37, 37, 0) none repeat scroll 0 0;
    position: relative;
    display: block;
}
.grid__item:hover .grid_overlay_fancybox .mt-portfolio-grid-overlay{
    background: rgba(0, 0, 0,.85) none repeat scroll 0 0;
}
.grid__item:hover .grid_overlay_fancybox img {
    transform: scale(1.1) rotate(1deg);
    -webkit-transform: scale(1.1) rotate(1deg);
}
.grid__item .grid_overlay_fancybox{
    overflow: hidden;
}
.grid__item .grid_overlay_fancybox img {
    transform: scale(1) rotate(0deg);
    -webkit-transform: scale(1) rotate(0deg);
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
}
.mt-portfolio-grid-overlay {
    transition: all 250ms ease-in-out;
    -webkit-transition: all 250ms ease-in-out;
    /*background: rgba(0, 0, 0) none repeat scroll 0 0;*/
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover { background: white; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60); /* IE8 */
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  filter: alpha(opacity=25); /* IE8 */
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  filter: alpha(opacity=100); /* IE8 */
  opacity: 1;
}
