/* cookies */

@media only screen and (max-width: 425px) {
  #chat-widget-container {
    bottom: 0 !important;
  }
  div.cc-highlight {
    margin-top: 0px !important;
  }
  .cc-window.cc-bottom {
    bottom: 85px !important;
    padding: 1.5em !important;
  }
}

.Drawer.Drawer--fromRight,
.PageOverlay.is-visible { display: none !important; }

.love-it-or-return-it {
    margin-top: 25px;
}

@media only screen and (max-width: 768px) {
  #shopify-section-featured-collections .SectionHeader {
    padding: 0 24px;
  }
  .Product__InfoWrapper {
    padding: 0 20px;
  }
  .Footer {
    padding: 34px 20px;
  }
  .Footer button#Subscribe {
    min-width: 120px;
  }
}

/* Custom Sections */ 
div#shopify-section-16287002862da730ca {
 background-color: #FDF2F0;
}

.ProductItem__PriceList.Heading {
  margin-top: 0;
}

/* mally poreless face defender  */

.template-page-poreless-face-defender p,
.template-page-poreless-face-defender h3,
.template-page-poreless-face-defender div,
.template-page-poreless-face-defender .var_title, 
.template-page-poreless-face-defender .default_shade, 
.template-page-poreless-face-defender .shade_title, 
.template-page-poreless-face-defender .swatch_info_section strong,
.template-page-poreless-face-defender .Heading,
.template-page-poreless-face-defender .Price {
  color: #3D3434;
}

.template-page-poreless-face-defender .Button--primary {
  color: white !important;
}
.template-page-poreless-face-defender .Button--primary:before,
.template-page-poreless-face-defender .sticky_announcement {
  background-color: #3D3434;
}

.template-page-poreless-face-defender .sticky_header a {
  border: 1px solid #3D3434;
  color: #3D3434;
}

.template-page-poreless-face-defender .add_to_bag_qty.custom-select {
  border: 2px solid #3D3434;
  color: #3D3434;
}

#product_form_6038239609003 img {
  width: 12px !important; 
}
/* mally evercolor  */

.template-page-evercolor-shadow p,
.template-page-evercolor-shadow h3,
.template-page-evercolor-shadow div,
.template-page-evercolor-shadow .var_title, 
.template-page-evercolor-shadow .default_shade, 
.template-page-evercolor-shadow .shade_title, 
.template-page-evercolor-shadow .swatch_info_section strong,
.template-page-evercolor-shadow .Heading,
.template-page-evercolor-shadow .Price {
  color: #3D3434;
}

div#shopify-section-template--15372367036587__1642169243c3efafef {
  padding-bottom: 40px;
}
.template-page-evercolor-shadow .Button--primary:before,
.template-page-evercolor-shadow .sticky_announcement {
  background-color: #3D3434;
}

.template-page-evercolor-shadow .sticky_header a {
  border: 1px solid #3D3434;
  color: #3D3434;
}

.template-page-evercolor-shadow .add_to_bag_qty.custom-select {
  border: 2px solid #3D3434;
  color: #3D3434;
}

/* mally evercolor hero  */

.template-page-evercolor-shadow-hero .Drawer.Drawer--fromRight,
.template-page-evercolor-shadow-hero .PageOverlay.is-visible { display: none !important; }

.template-page-evercolor-shadow-hero p,
.template-page-evercolor-shadow-hero h3,
.template-page-evercolor-shadow-hero div,
.template-page-evercolor-shadow-hero .var_title, 
.template-page-evercolor-shadow-hero .default_shade, 
.template-page-evercolor-shadow-hero .shade_title, 
.template-page-evercolor-shadow-hero .swatch_info_section strong,
.template-page-evercolor-shadow-hero .Heading,
.template-page-evercolor-shadow-hero .Price {
  color: #3D3434;
}

.template-page-evercolor-shadow-hero .Button--primary:before,
.template-page-evercolor-shadow-hero .sticky_announcement {
  background-color: #3D3434;
}

.template-page-evercolor-shadow-hero .sticky_header a {
  border: 1px solid #3D3434;
  color: #3D3434;
}

.template-page-evercolor-shadow-hero .add_to_bag_qty.custom-select {
  border: 2px solid #3D3434;
  color: #3D3434;
}

/* mally evercolor asb  */

.template-page-evercolor-shadow-asb p,
.template-page-evercolor-shadow-asb h3,
.template-page-evercolor-shadow-asb div,
.template-page-evercolor-shadow-asb .var_title, 
.template-page-evercolor-shadow-asb .default_shade, 
.template-page-evercolor-shadow-asb .shade_title, 
.template-page-evercolor-shadow-asb .swatch_info_section strong,
.template-page-evercolor-shadow-asb .Heading,
.template-page-evercolor-shadow-asb .Price {
  color: #3D3434;
}

.template-page-evercolor-shadow-asb .Button--primary:before,
.template-page-evercolor-shadow-asb .sticky_announcement {
  background-color: #3D3434;
}

.template-page-evercolor-shadow-asb .sticky_header a {
  border: 1px solid #3D3434;
  color: #3D3434;
}

.template-page-evercolor-shadow-asb .add_to_bag_qty.custom-select {
  border: 2px solid #3D3434;
  color: #3D3434;
}

/*  */

.spackle_family .PageContent {
  max-width: 1200px; 
  padding: 30px 0; 
  margin-top: 20px;
  margin-bottom: 20px;
}
.flex-wrap {
  flex-wrap: wrap;
}
.spackle_family img {
  margin: 0;
}
.flex-row-wrapper {
  display: flex;
  flex-direction: row;
}
.flex-col-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.flex-50 {
  width: 50%;
}
.padding-35 {
  padding: 35px;
}
.social-richtext {
  margin-bottom: 15px;
}
@media only screen and (max-width: 768px) {
  .spackle_family .PageContent {
    padding: 25px 0px; 
    margin-top: 0px;
  }
  .mob_padding {
    padding-left: 15px;
    padding-right: 15px;
  }

  .flex-50 {
    width: 100%;
  }
  .padding-35 {
    padding: 25px 0;
  }
}
/* savings promo */

.mally_promo {
  display: block;
  padding: 16px 0 8px;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  margin-top: 20px;
}
.mally_promo h3 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 6px;
  font-family: 'IvyPresto Display','Libre Baskerville',serif;
  color: #df8c97;
}
.mally_promo .text,
.mally_promo .code {
  text-align: center;
/*   text-transform: uppercase; */
}
.mally_promo .text p:first-child {
  border: none;
}
.mally_promo .text p {
  display: inline-block;
  border-left: 1px solid #675558;
  padding: 0 8px;
  letter-spacing: 1px;
  font-size: 14px;
}

.mally_promo_2 {
  display: block;
  padding: 16px 0;
  border: 1px solid #e3e3e3;
  border-radius: 5px;
  margin-top: 20px;
}
.mally_promo_2 h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 6px;
  font-family: 'IvyPresto Display','Libre Baskerville',serif;
  color: #df8c97;
}
.mally_promo_2 .text {
  text-align: center;
}

.mally_promo_2 .text p:first-child {
  border: none;
}

.mally_promo_2 .text p {
  display: inline-block;
  border-left: 1px solid #675558;
  padding: 0 8px;
  letter-spacing: 1px;
  font-size: 14px;
}

@media only screen and (max-width: 400px) {
  .mally_promo_2 h3 {
    font-size: 16px;
  }
  .mally_promo_2 .text p {
    font-size: 13px;
  }
}

/* footer */

#footer-newsletter {
  margin-top: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  align-self: center;
}

.Footer__Block--newsletter,
.Footer__Block--links-texts {
  flex-basis: 50%;
}

.Footer__Block--links-texts .Linklist {
  column-count: 2;
}

.Footer__Block--links-texts .Linklist__Item {
  margin-bottom: 15px;
}

.Footer__Block--links-texts .Heading {
  font-size: 32px;
  margin-bottom: 10px;
}

.Footer__Block--newsletter h2.Footer__Title.Heading.u-h6 {
  font-family: 'Acumin Pro';
  font-size: 15px;
}

.Footer__Block--newsletter p {
/* 
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #56585A; */
/*   text-transform: uppercase; */
}

.Footer__Block--newsletter button {
  height: 50px;
/*   background-color: #fff;
  color: #55585a;
  display: inline-flex;
  text-transform: none;
  font-weight: 400;
  font-size: 16px;
  padding: 10.5px 28px;
  height: 46px;
  border: 1px solid #56585A;
  align-items: center;
  border-radius: 0; */
}

button#Subscribe {
  text-transform: capitalize;
/*   border-color: #DF8C97; */
  color: #664b54;
  padding: 15px 20px 12px;
}

.Form__Submit.Button.Button--primary::before {
  background-color: #DF8C97;
  border-radius: 0;
}

.Footer__Block--newsletter input.Form__Input {
  color: #333;
/*   border: 1px solid #56585A; */
  background-color: white;
  width: 300px;
  display: inline-flex;
  height: 50px;
  padding-top: 16px;
  margin-right: 5px;
}

.Footer__Block--newsletter input.Form__Input::placeholder {
  color: #333;
}
.Footer__Block--newsletter .Social_Text {
  margin-top: 180px;
  margin-bottom: -5px;
}

/* .Footer__Block .Link.Link--primary {
  font-family: 'Athelas', sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.50;
  letter-spacing: normal;
  color: #56585A;
} */
.Footer_Content {
  margin-bottom: 25px;
}

.Footer_Content .Linklist__Item .Link {
  font-weight: 500;
}

@media only screen and (max-width: 1140px) {
  .Header__Wrapper .Header__FlexItem--fill:first-child {
    justify-content: start;
  }
  .Form__Submit.Button.Button--primary {
    padding: 10px 28px 11px;
  }
}

@media only screen and (max-width: 768px) {
  .feature_image_info {
    padding: 0 20px;
  }
  .Footer__Block .Linklist__Item {
    text-align: left;
  }
  .Footer__Block--newsletter,
  .Footer_Content {
    text-align: left;
  }
  .Footer__Aside {
    display: none;
  }
  #footer-newsletter {
    justify-content: start;
  }
  .Footer__Block {
    margin-top: 35px;
  }
}

@media only screen and (max-width: 500px) {
  .Footer__Block--newsletter input.Form__Input {
    width: unset;
    min-width: 200px;
  }
}

/* Image blocks */

.padding-y {
  padding-top: 20px;
  padding-bottom: 20px;
}
.padding-right {
  padding-right: 15px;
}
.padding-left {
  padding-left: 15px;
}
.margin-top {
  margin-top: 40px;
}
@media only screen and (max-width: 768px) {
  .padding-y {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .padding-right {
    padding-right: 0px;
  }
  .padding-left {
    padding-left: 0px;
  }
  .margin-top {
    margin-top: 0px;
  }
}

/* featured image blocks */
.featured_image_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    justify-content: space-evenly;
    margin: 0px 90px;
    padding: 35px 0px;
  }
  .featured_image_block {
    width: 45%;
  }
  .feature_image_info {
    margin-top: 10px;
    text-align: left;
  }
  .feature_image_info h3 {
/*     text-transform: uppercase; */
/*     font-weight: bold; */
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 10px;
  }
  
  .feature_image_info a {
/*     text-transform: uppercase; */
  }
  .feature_image_info p {
    font-weight: 500;
/*     font-style: italic; */
    font-size: 16px;
  }
.feature_image_info .signature {
  max-width: 100px;
  float: right;
  margin-right: 35px;
}
#shopify-section-featured-collections .SectionHeader:not(:only-child) {
  margin-left: 45px;
  margin-right: 45px;
}

@media only screen and (max-width: 768px) {
  #shopify-section-featured-collections .SectionHeader:not(:only-child) {
    margin-left: 0px;
    margin-right: 0px;
  }
    
    .featured_image_info {
      padding-left: 24px;
      padding-right: 24px;
      
    }
    .featured_image_block {
      width: 100%;
/*       margin: 35px auto; */
    }
    .feature_image_info .Button {
      margin-bottom: 35px;
    }
    
    .featured_image_wrapper {
      margin: 0 auto;
    }
  }

/* footer navigation */

.footer_top_wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row;
  background-color: #d3d7e5;
  text-align: left;
  height: 60px;
  align-items: center;
}
.footer_bottom_wrapper {
  padding: 50px 0px;
  position: relative;
}
.slider_navigation_wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  top: calc(0px - 39px);
  max-width: 1200px;
  left: 0;
  right: 0;
  padding: 0 45px;
  margin: 0 auto;
  z-index: 3;
  
}
.footer_bottom_inner_wrapper {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 90px;
}

img.chevron-left,
img.chevron-right {
  top: 50%;
  position: relative;
  max-width: 25px;
  cursor: pointer;
}
img.chevron-right {
  float: right;
}
.footer_bottom_inner_wrapper {
  margin: 0 90px;
  z-index: 1;
}
.footer_bottom_slide_wrapper {
  position: relative;
}

.footer_title_block {
  width: 50%;
  color: #FFFFFF;
/*   text-transform: uppercase; */
}
.footer_slider_block {
  padding: 0 15px;
}
.footer_title_block h3 {
  font-size: 23px;
  letter-spacing: 1px;
  text-transform: none;
}
.slider_title {
  line-height: 2;
  padding-top: 10px;
  font-size: 16px;
  text-align: left;

}
.footer_slider_text {
  display: inline-flex;
/*   text-transform: uppercase; */
  flex-direction: row;
  align-items: baseline;
  padding-left: 90px;
}
.footer_slider_text h3,
.footer_slider_text p,
.footer_slider_text a {
  margin-bottom: 0;
}
.footer_slider_text p,
.footer_slider_text a {
  margin-left: 10px;
}
.footer_slider_text h3 {

  font-size: 23px;
  font-weight: bold;
}
.footer_slider_text p {

  font-size: 13px;
}
.footer_slider_text a {

  font-size: 13px;
  font-weight: bold;
  text-decoration: underline;
  z-index: 1;
}

@media only screen and (max-width: 1100px) {
  .slider_navigation_wrapper {
    top: calc(0px - 30.5px);
  }
  img.chevron-left,
  img.chevron-right {
    max-width: 15px;
  }
}

@media only screen and (max-width: 768px) {
  .footer_title_block:first-child {
    border-bottom: 1px solid #56585A;
    border-right: none !important;
  }
  .footer_top_wrapper {
    height: unset;
    padding: 0 50px;
  }
  .footer_title_block {
    width: 100%;
    padding: 25px 0;
  },
  .footer_title_block h3 {
    padding: 0 30px;
    font-size: 16px;
  }
  
  .footer_slider_text p,
  .footer_slider_text a {
    margin-left: 0px;
  }

  .footer_slider_text {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    margin-bottom: 25px;
    padding: 0 35px;
  }
  .footer_bottom_wrapper {
    text-align: left;
  }
  .footer_bottom_inner_wrapper {
    margin: 0 auto;
  }
  .slider_title {
    text-align: left;
    padding-bottom: 15px;
  }
  .slider_navigation_wrapper {
    display: none;
  }
}

/* reviews */

[data-bv-show=rating_summary].collection_reviews {
  text-align-last: center !important;
}

.collection_reviews .bv_button_component_container {
  display: none !important;
}
[data-bv-show=rating_summary].collection_reviews .bv_main_container {
  display: flex !important;
  justify-content: center !important;
}

[data-bv-show=rating_summary].collection_reviews .bv_avgRating_component_container.notranslate {
    display: none !important;
}

[data-bv-show=rating_summary].collection_reviews .bv_main_container .bv_main_container_row_flex {
  padding-right: 0 !important;
}
[data-bv-show=rating_summary].collection_reviews .bv_main_container .bv_numReviews_text {
  text-decoration: underline !important;
}

[data-bv-show=rating_summary].collection_reviews .bv_main_container .bv_stars_component_container {
  padding-right: 5px !important;
}

.free-gift-container {
    max-width: 350px;
    float: right;
}

p.free-gift-warning {
  padding-top: 15px;
  padding-bottom: 15px;
}

.Heading_Featured_Collections {
  font-size: 46px;
  margin-bottom: 15px;
}

h3.SectionHeader__SubHeading.SubHeading_Featured_Collections {
  font-size: 22px;
  font-family: 'Acumin Pro', Lato, sans-serif;
  font-weight: 400;
  line-height: 1.3;
}

@media only screen and (max-width: 768px) {
  .Heading_Featured_Collections {
    font-size: 30px;
    margin-bottom: 10px;
  }
  h3.SectionHeader__SubHeading.SubHeading_Featured_Collections {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1920px) {
  #shopify-section-collection-template h1.SectionHeader__Heading.Heading.u-h1 {
    font-size: 60px;
  }
  .Heading.u-h6, .Rte h6.Heading {
    font-size: 18px;
  }
  .feature_image_info h3 {
    font-size: 42px;
    margin-bottom: 20px;  
  }
  .feature_image_info p {
    font-size: 28px;
  }
  p, a {
    font-size: 18px;
  }
  .ProductItem__Title.Heading a {
    font-size: 22px;
  }
  .ProductItem__PriceList.Heading {
    font-size: 20px;
    margin-top: 0;
  }
  .feature_image_info .signature {
    max-width: 135px;
  }
}

/* estimated shipping */

[class^="ot-estimated-shipping"] input {
  padding: 3px 3px 3px 10px !important;
  height: 30px !important;
}

[class^="ot-estimated-shipping"] p {
  color: #675558 !important; 
  font-size: 14px !important;
}

.ot-estimated-shipping-start-day,
.ot-estimated-shipping-end-day,
.shipping-privacy-href span { 
  color: #675558 !important; 
  font-size: 14px !important;
  font-weight: 600 !important;
}

shopify-payment-terms {
    font-size: 13px !important;
}

/* 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; } }