@charset "UTF-8";
.res-transparent-header:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.sticky-header,
.res-transparent-header #masthead.sticky-header,
#masthead.sticky-header {
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 200;
  width: 100%;
  background-color: #fff;
  margin: 0 !important;
  opacity: 0.9;
  -webkit-transition: all 0.8s ease-in-out 0s;
  -moz-transition: all 0.8s ease-in-out 0s;
  -o-transition: all 0.8s ease-in-out 0s;
  transition: all 0.8s ease-in-out 0s;
  z-index: 99999;
}

.res-transparent-header:not(.woocommerce-cart):not(.woocommerce-checkout) #masthead.sticky-header.shrink .site-branding .custom-logo,
.res-transparent-header #masthead.sticky-header.shrink .site-branding .custom-logo,
#masthead.sticky-header.shrink .site-branding .custom-logo {
  -webkit-transition: all 0.8s ease-in-out 0s;
  -moz-transition: all 0.8s ease-in-out 0s;
  -o-transition: all 0.8s ease-in-out 0s;
  transition: all 0.8s ease-in-out 0s;
  max-height: 60px;
  width: auto;
}

.admin-bar #masthead.sticky-header {
  top: 32px;
}

.main-navigation-wrapper .full-screen-search-wrapper {
  display: none;
}

@media (max-width: 780px) {
  .admin-bar #masthead.sticky-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar #masthead.sticky-header {
    top: 0;
  }
}

/**
  * Quick View Style
  */
/*=======================
 * MODAL POPUP STYLE
 ========================*/
html.responsive-quick-view-is-open {
  overflow: hidden;
}

html.responsive-quick-view-is-open body {
  overflow: hidden;
}

html.responsive-quick-view-is-open .main-header-bar.responsive-sticky-active, html.responsive-quick-view-is-open .responsive-above-header.responsive-sticky-active, html.responsive-quick-view-is-open .responsive-below-header.responsive-sticky-active {
  margin-left: 0;
}

.responsive-quick-view-bg {
  position: fixed;
  visibility: hidden;
  overflow: hidden;
  background: #0b0b0b;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1042;
}

.responsive-quick-view-loader {
  z-index: 1000;
  border: none;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  position: absolute;
}

.responsive-quick-view-loader.blockUI.blockOverlay::before {
  content: "";
  background: none !important;
  width: 48px;
  height: 48px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border: 3px solid white;
  margin: 0 auto;
  border-radius: 50%;
  border-left-color: transparent;
  border-right-color: transparent;
  animation: responsive-qv-spin 575ms infinite linear;
}

@keyframes responsive-qv-spin {
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.responsive-quick-view-bg-ready {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  visibility: visible;
}

body #responsive-quick-view-modal div.product .flex-viewport {
  width: 100%;
  float: none;
}

#responsive-quick-view-modal {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1400;
  text-align: center;
  transition: all 0.3s;
  overflow-x: hidden;
  overflow-y: auto;
}

#responsive-quick-view-content div.images {
  min-width: 400px;
}

#responsive-quick-view-modal .responsive-content-main-wrapper {
  position: absolute;
  border-radius: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

#responsive-quick-view-modal .responsive-content-main-wrapper:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

#responsive-quick-view-modal .responsive-content-main {
  position: relative;
  pointer-events: none;
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
  transform: translateY(-30px);
  opacity: 0;
  transition: transform 0.5s, opacity 0.3s;
}

#responsive-quick-view-modal .responsive-content-main:after, #responsive-quick-view-modal .responsive-content-main:before {
  content: "";
  display: table;
  clear: both;
}

#responsive-quick-view-modal .responsive-lightbox-content {
  display: table;
  pointer-events: auto;
  background-color: #fff;
  margin: 0 auto;
  box-shadow: 3px 3px 20px 0 rgba(0, 0, 0, 0.15);
  position: relative;
}

#responsive-quick-view-modal.open {
  visibility: visible;
  opacity: 1;
}

#responsive-quick-view-modal.open .responsive-content-main {
  transform: translateY(0);
  opacity: 1;
  width: 100%;
}

#responsive-quick-view-modal .responsive-qv-image-slider {
  position: relative;
}

#responsive-quick-view-modal .responsive-qv-image-slider .responsive-qv-slides li {
  list-style: none;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-control-nav {
  margin: 0;
  padding: 0;
  width: 100%;
  position: absolute;
  bottom: 10px;
  text-align: center;
  z-index: 2;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  vertical-align: middle;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 20px;
  height: 20px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease-in-out;
  visibility: hidden;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav .flex-prev:before, #responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav .flex-next:before {
  content: "";
  font-family: "icomoon" !important;
  speak: none;
  font-size: 20px;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  visibility: visible;
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav .flex-prev {
  left: -50px;
  transform: rotate(90deg);
}

#responsive-quick-view-modal .responsive-qv-image-slider .flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
  transform: rotate(-90deg);
}

#responsive-quick-view-modal .responsive-qv-image-slider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}

#responsive-quick-view-modal .responsive-qv-image-slider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}

#responsive-quick-view-content {
  height: 100%;
  overflow: hidden;
}

#responsive-quick-view-content div.product {
  padding: 0;
  display: inline-block;
  width: 100%;
  vertical-align: middle;
  overflow: hidden;
  max-width: 1000px;
}

#responsive-quick-view-content div.images {
  opacity: 1 !important;
  margin: 0;
  width: 50%;
  min-width: 400px;
  display: inline-block;
  float: left;
}

#responsive-quick-view-content div.summary {
  margin: 0;
  padding: 30px;
  width: 50%;
  min-width: 400px;
  float: left;
  overflow-y: auto;
}

.open .responsive-quick-view-loader {
  opacity: 0;
}

@media (max-width: 768px) {
  #responsive-quick-view-content div.summary form.cart.stick .button {
    padding: 10px;
  }
  #responsive-quick-view-modal .responsive-content-main-wrapper {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: none !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 10%;
  }
  #responsive-quick-view-content div.summary,
  #responsive-quick-view-content div.images {
    min-width: auto;
  }
}

.stick-add-to-cart #responsive-quick-view-content div.summary {
  padding-bottom: 0;
}

@media (min-width: 768px) {
  #responsive-quick-view-content div.summary form.cart.stick {
    position: absolute;
    bottom: 0;
    background: #fff;
    margin: 0;
    padding: 20px 30px 30px 0;
    width: 50%;
    width: calc(50% - 30px);
    bottom: 0;
  }
}

@media (min-width: 545px) {
  #responsive-quick-view-content div.summary {
    content: "544";
    overflow-y: auto;
  }
}

#responsive-quick-view-content div.summary .added_to_cart {
  padding-top: 5px;
  margin: 0 1em;
}

#responsive-quick-view-content div.woocommerce-product-rating:after, #responsive-quick-view-content div.woocommerce-product-rating:before {
  content: "";
  display: table;
  clear: both;
}

#responsive-quick-view-content div.woocommerce-product-rating a.woocommerce-review-link {
  display: none;
}

#responsive-quick-view-content .onsale {
  top: 15px;
  left: 15px;
  right: auto;
}

#responsive-quick-view-close {
  position: absolute;
  font-size: 1em;
  top: -15px;
  right: -15px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  z-index: 2;
  background: #fff;
  color: #000;
  border-radius: 50%;
  box-shadow: 0 0 4px #4c4c4c;
}

#responsive-quick-view-close:before {
  content: "\f00d";
  font-family: "icomoon";
  text-decoration: inherit;
}

#responsive-quick-view-close:hover {
  opacity: 1;
  transition: all 0.2s ease;
}

@media (max-width: 544px) {
  #responsive-quick-view-content {
    max-width: initial !important;
    max-height: initial !important;
  }
  #responsive-quick-view-content div.images {
    width: 100%;
    float: none;
  }
  #responsive-quick-view-content div.summary {
    width: 100%;
    float: none;
    margin: 0;
    padding: 15px;
    width: 100%;
    float: left;
    max-height: initial !important;
  }
}

/* Button On Page and Image */
.responsive-shop-thumbnail-wrap {
  position: relative;
}

.responsive-quick-view-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  min-height: 2em;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.responsive-quick-view-text:hover {
  background: #000000;
  color: #fff;
}

.resp-shop-thumbnail-wrap:hover .responsive-quick-view-text {
  opacity: 1;
}

.woocommerce #responsive-quick-view-modal div.product form.cart .button.add_to_cart_button,
.woocommerce #responsive-quick-view-modal div.product form.cart .button.single_add_to_cart_button {
  letter-spacing: 1px;
  padding: 10px 20px;
}

.woocommerce #responsive-quick-view-modal div.product form.cart .button.add_to_cart_button.loading,
.woocommerce #responsive-quick-view-modal div.product form.cart .button.single_add_to_cart_button.loading {
  padding-right: 40px;
}

@media (max-width: 768px) {
  #responsive-quick-view-modal.open .responsive-content-main {
    transform: none !important;
  }
}

/**
  * Infinite scrolling
  */
.responsive-shop-pagination-infinite {
  text-align: center;
  margin: 2.5em 0 0;
}

.responsive-load-more {
  cursor: pointer;
  display: none;
  border: 2px solid #ffffff;
  transition: all .2s linear;
  color: #000;
}

.responsive-load-more.active {
  display: inline-block;
  padding: 0 1.5em;
  line-height: 3em;
}

#woo-popup-wrap #woo-popup-inner {
  display: block;
  background-color: #fff;
  width: 600px;
  height: 600px;
  margin: .5rem auto;
  padding: 50px 25px;
  border-radius: 600px;
  text-align: center;
  z-index: 1000;
}

#woo-popup-wrap .woo-popup-content {
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 99999;
}

#woo-popup-wrap .checkmark {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 0 auto 30px auto;
  box-shadow: inset 0 0 0 #5bc142;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

#woo-popup-wrap .checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #5bc142;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#woo-popup-wrap .checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

#woo-popup-wrap .popup-title {
  font-size: 24px;
  margin: 0 0 10px;
  letter-spacing: 0.6px;
}

#woo-popup-wrap .popup-content {
  font-size: 14px;
  color: #777;
  margin-bottom: 36px;
  text-transform: uppercase;
}

#woo-popup-wrap .buttons-wrap {
  display: block;
  margin: 20px 0;
}

#woo-popup-wrap .buttons-wrap a {
  display: inline-block;
  min-width: 200px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 10px 10px;
  padding: 12px 10px;
  color: #ffffff;
  border: 2px solid #10659C;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#woo-popup-wrap .buttons-wrap a.continue-btn {
  color: #ffffff;
  border-color: #0066CC;
}

#woo-popup-wrap .buttons-wrap a.continue-btn:hover {
  background-color: #10659C;
  color: #fff;
}

#woo-popup-wrap .buttons-wrap a.cart-btn {
  color: #ffffff;
  border-color: #10659C;
}

#woo-popup-wrap .buttons-wrap a.cart-btn:hover {
  background-color: #10659C;
}

#woo-popup-wrap .popup-text {
  display: block;
  font-size: 15px;
  margin-top: 26px;
}

#woo-popup-wrap .woocommerce-Price-amount bdi {
  color: #0066CC;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0 0 0 100px #5bc142;
  }
}

/* Responsive */
@media only screen and (max-width: 1100px) {
  #woo-popup-wrap #woo-popup-inner {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 90%;
    padding: 30px 20px;
    border-radius: 5px;
  }
}

@media only screen and (max-width: 959px) {
  #woo-popup-wrap .woo-popup-content {
    top: auto;
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
  }
  #woo-popup-wrap .checkmark {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  #woo-popup-wrap .popup-title {
    font-size: 20px;
  }
  #woo-popup-wrap .popup-content {
    font-size: 13px;
    margin-bottom: 20px;
  }
  #woo-popup-wrap .popup-text {
    font-size: 13px;
    margin-top: 20px;
  }
}

@media only screen and (max-width: 767px) {
  #woo-popup-wrap #woo-popup-inner {
    padding: 20px;
    overflow-y: auto;
  }
}

@media only screen and (max-width: 480px) {
  #woo-popup-wrap .buttons-wrap a.cart-btn {
    margin-top: 10px;
  }
}

/* Loader */
.responsive-loader {
  display: none;
  margin: 0 auto;
  min-height: 58px;
  line-height: 58px;
  width: 70px;
  text-align: center;
}

.responsive-loader > div {
  width: 18px;
  height: 18px;
  background-color: #0085ba;
  border-radius: 100%;
  display: inline-block;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.responsive-loader .responsive-loader-1 {
  animation-delay: -0.32s;
}

.responsive-loader .responsive-loader-2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.responsive-load-more {
  cursor: pointer;
  display: none;
  border: 2px solid #ffffff;
  transition: all .2s linear;
  color: #000;
}

.responsive-load-more.active {
  display: inline-block;
  padding: 0 1.5em;
  line-height: 3em;
}

.responsive-pagination-infinite {
  text-align: center;
  margin: 2.5em 0 0;
}

/* Date Box */
.responsive-date-box {
  text-align: center;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.date-box-links {
  text-decoration: none;
  margin-top: auto;
  margin-bottom: auto;
}

.date-box-day {
  line-height: 1em;
  font-weight: 900;
  padding-top: 3px;
  padding-bottom: 3px;
}

.date-box-month,
.date-box-year {
  line-height: 1em;
}

/* Blog/Archive Layouts */
.standard-blog-layout #main-blog .post-entry {
  display: block;
}

.standard-blog-layout .responsive-date-box.with-thumbnail {
  margin-top: 0;
}

.blog-layout-two #main-blog .entry-title {
  grid-area: title;
  margin-top: 0;
  margin-bottom: 0;
  word-break: break-all;
}

.blog-layout-two #main-blog .post-meta {
  grid-area: meta;
}

.blog-layout-two #main-blog .datebox-container {
  grid-area: rightside;
  position: relative;
}

.blog-layout-two #main-blog .thumbnail {
  grid-area: rightside;
  position: relative;
  margin-top: 0;
}

.blog-layout-two #main-blog .entry-content {
  grid-area: content;
}

.blog-layout-two #main-blog .post-entry {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  grid-column-gap: 15px;
  grid-template-areas: 'title rightside' 'meta rightside' 'content rightside';
}

.blog-layout-two .responsive-date-box.without-thumbnail {
  position: relative;
  margin: 0;
  margin-left: auto;
}

.blog-layout-two .responsive-date-box.with-thumbnail {
  position: relative;
  top: 0;
  right: 0;
  margin-top: 0;
}

.blog-layout-two #main-blog .thumbnail > .thumbnail-link > img {
  max-height: 230px;
  width: 360px;
}

@media (max-width: 768px) {
  .blog-layout-two #main-blog .post-entry {
    display: block;
  }
  .blog-layout-two #main-blog .entry-title {
    margin-bottom: 14px;
  }
  .blog-layout-two .responsive-date-box.without-thumbnail {
    position: static;
    margin-left: 0;
  }
  .blog-layout-two #main-blog .post-entry > .datebox-container {
    margin-bottom: 14px;
  }
  .blog-layout-two #main-blog .thumbnail > .thumbnail-link > img {
    max-height: 100%;
    width: 100%;
  }
  .blog-layout-two .responsive-date-box.with-thumbnail {
    top: 0;
    right: 0;
  }
}

.blog-layout-three #main-blog .entry-title {
  grid-area: title;
  margin-top: 0;
  margin-bottom: 0;
  word-break: break-all;
}

.blog-layout-three #main-blog .post-meta {
  grid-area: meta;
}

.blog-layout-three #main-blog .datebox-container {
  grid-area: leftside;
  position: relative;
}

.blog-layout-three #main-blog .thumbnail {
  grid-area: leftside;
  position: relative;
  margin-top: 0;
}

.blog-layout-three #main-blog .entry-content {
  grid-area: content;
}

.blog-layout-three #main-blog .post-entry {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  grid-column-gap: 15px;
  grid-template-areas: 'leftside title' 'leftside meta' 'leftside content';
}

.blog-layout-three .responsive-date-box.without-thumbnail {
  position: relative;
  margin: 0;
  margin-right: auto;
}

.blog-layout-three .responsive-date-box.with-thumbnail {
  position: relative;
  top: 0;
  left: 0;
  margin-top: 0;
}

.blog-layout-three #main-blog .thumbnail > .thumbnail-link > img {
  max-height: 230px;
  width: 360px;
}

@media (max-width: 768px) {
  .blog-layout-three #main-blog .post-entry {
    display: block;
  }
  .blog-layout-three #main-blog .entry-title {
    margin-bottom: 14px;
  }
  .blog-layout-three .responsive-date-box.without-thumbnail {
    position: static;
    margin-left: 0;
  }
  .blog-layout-three #main-blog .post-entry > .datebox-container {
    margin-bottom: 14px;
  }
  .blog-layout-three #main-blog .thumbnail > .thumbnail-link > img {
    max-height: 100%;
    width: 100%;
  }
  .blog-layout-three .responsive-date-box.with-thumbnail {
    top: 0;
    right: 0;
  }
}

/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
  display: none;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}

.mfp-ajax-cur {
  cursor: progress;
}

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
  cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.mfp-loading.mfp-figure {
  display: none;
}

.mfp-hide {
  display: none !important;
}

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044;
}

.mfp-preloader a {
  color: #CCC;
}

.mfp-preloader a:hover {
  color: #FFF;
}

.mfp-s-ready .mfp-preloader {
  display: none;
}

.mfp-s-error .mfp-content {
  display: none;
}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: #FFF;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}

.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}

.mfp-close:active {
  top: 1px;
}

.mfp-close-btn-in .mfp-close {
  color: #333;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: #FFF;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
  margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: medium inset transparent;
}

.mfp-arrow:after {
  border-top-width: 13px;
  border-bottom-width: 13px;
  top: 8px;
}

.mfp-arrow:before {
  border-top-width: 21px;
  border-bottom-width: 21px;
  opacity: 0.7;
}

.mfp-arrow-left {
  left: 0;
}

.mfp-arrow-left:after {
  border-right: 17px solid #FFF;
  margin-left: 31px;
}

.mfp-arrow-left:before {
  margin-left: 25px;
  border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
  right: 0;
}

.mfp-arrow-right:after {
  border-left: 17px solid #FFF;
  margin-left: 39px;
}

.mfp-arrow-right:before {
  border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
  top: -40px;
}

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #000;
}

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
  line-height: 0;
}

.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: #444;
}

.mfp-figure small {
  color: #BDBDBD;
  display: block;
  font-size: 12px;
  line-height: 14px;
}

.mfp-figure figure {
  margin: 0;
}

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px;
}

.mfp-image-holder .mfp-content {
  max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
         * Remove all paddings around the image on small screen
         */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
}

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
