body {
  overflow-x: hidden !important;
}
.image-with-collection .Button.Button--primary::before {
  background: #535F78;
}

.image-with-collection .ProductItem__PriceList.Heading {
  font-style: normal;
}

.image-with-collection span.ProductItem__Price.Price.Text--subdued {
  font-family: 'Circular Std';
  font-weight: 500;
}

.image-with-collection .product__price-savings{
  display: none;
}

.collection_slick_wrapper.slick-dotted.slick-slider {
  margin-bottom: 15px;
}

@media only screen and (max-width: 768px) {
  .Footer__Inner {
    padding: 0 20px !important;
  }
}

iframe[title="Messaging window"] {
  z-index: 9999999999 !important;
}

/* cart numbers */

.Header__CartDot {
  font-family: 'CircularStd';
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1;
  padding-top: 1.5px;
  color: white;
  font-size: 9px;
  width: 12px;
  height: 12px;
}
/* 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;
  }
}

.Footer--withMargin {
  margin-top: 0;
}
.mobile-image-block.Product__SlideItem.Carousel__Cell { 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;
}
@media only screen and (max-width: 768px) {
  .flex-50 {
    width: 100%;
  }
  .padding-35 {
    padding: 25px 0;
  }
}

.full-width-image-wrapper img {
  width: 100%;
}

/* Header */
.Header__Top__Wrapper {
  background: #FFF;
  padding: 12px 50px;
  max-height: 50px;
}
.Header__Shipping_Text {
  color: #484848;
  float: left;
  font-weight: 500;
}
.Header__Top__Wrapper .Text--subdued, 
.Header__Top__Wrapper .Link--primary, .Header__Top__Wrapper .Link--secondary:hover {
  color: #56585A;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
}

.Header__Top__Wrapper .Heading, .Header__Top__Wrapper .Link--secondary, .Header__Top__Wrapper .Link--primary:hover {
  color: #56585A;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 1px;
}
.Header__FlexItem__Mobile {
  display: none !important;
}


@media only screen and (min-width: 1140px) {
  .Header__FlexItem.Header__FlexItem--fill {
    justify-content: center;
  }
  .Header__MainNav.hidden-pocket.hidden-lap .HorizontalList__Item {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 27px;
    padding-bottom: 26px;
  }
  .Header:not(.Header--sidebar) .Header__Wrapper {
    padding: 0px 50px 0px;
  }
  #section-header-old .Header__Wrapper .Header__Logo,
  #section-header .Header__Wrapper .Header__Logo {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  #section-header-old .Header__FlexItem.Header__FlexItem--fill.Header__Icons,
  #section-header .Header__FlexItem.Header__FlexItem--fill.Header__Icons {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media only screen and (max-width: 1139px) {
  .Header__FlexItem__Desktop {
    display: none !important;
  }
  .Header__FlexItem__Mobile {
    display: flex !important;
  }
}

body {
  margin-top: 0 !important;
}


#shopify-section-1600210224885 {
  padding-top: 80px;
}

.Header__Search {
  cursor: pointer;
}

nav.SidebarMenu__Nav.SidebarMenu__Nav--secondary ul.Linklist {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 1140px) {
  .Header__FlexItem.Header__FlexItem--fill.Header__Icons {
    position: initial;
  }
  .Header__FlexItem.Header__FlexItem--logo {
    width: unset;
  }
}
/* .HorizontalItem_Search {
  border-bottom: 1px solid black;
  padding-right: 150px;
} */

@media only screen and (max-width: 1360px) {
  .Header__FlexItem.Header__FlexItem--fill.Desktop_Nav {
    margin-left: 0px;
  }
  .HorizontalList__Item a.Heading.u-h6 {
    font-size: 14px;
  }
  .Header__MainNav {
    margin-right: 0;
  }
}
@media only screen and (max-width: 1200px) {
  .HorizontalList--spacingExtraLoose .HorizontalList__Item {
    margin-right: 14px;
    margin-left: 14px;
  }
}

@media only screen and (max-width: 1140px) {

  .Header__FlexItem.Header__FlexItem--fill.Desktop_Nav {
    margin-left: unset;
    justify-content: flex-start;
/*     width: 100%; */
    position: absolute;
  }
  .Header__Shipping_Text {
    text-align: center;
    float: unset;
  }
  .Header__Top__Wrapper .Header__FlexItem--fill {
    display: none;
  }
  .SidebarMenu .Drawer__Content::before,
  header.Drawer__Header,
  aside.Drawer__Footer
  {
    background: white;
  }
  nav.SidebarMenu__Nav.SidebarMenu__Nav--primary {
    background: white;
    margin: 0 -30px;
    padding: 0 30px;
  }
  section#sidebar-menu ,
  .SidebarMenu .Drawer__Footer::before {
    background: #F6F7FA;
  }
  .SidebarMenu__Nav--secondary .Text--subdued{
    color: #56585A;
  }
  .Drawer__Close {
    left: auto;
    right: 30px;
  }
}
@media only screen and (max-width: 768px) {
  #shopify-section-1600181676968 {
    display: none;
  }
  .Header__Top__Wrapper {
    padding: 7px 15px;
  }


}

/* footer */




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

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

.Footer__Block--newsletter h2.Footer__Title.Heading.u-h6 {
  font-family: 'Athelas', serif;
  font-size: 28px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.18;
  letter-spacing: 1.22px;
  color: #56585A;
}

.Footer__Block--newsletter p {
  font-family: 'Athelas', sans-serif;
  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 {
  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;
}

.Form__Submit:not(.Form__Button).Button.Button--primary::before {
  background-color: #fff;
}

.Footer__Block--newsletter input.Form__Input {
  color: #56585A;
  border: 1px solid #56585A;
  width: 300px;
  display: inline-flex;
  height: 46px;
  margin-right: 5px;
}

.Footer__Block--newsletter input.Form__Input::placeholder {
  color: #56585A;
}
.Footer__Block--newsletter .Social_Text {
  margin-top: 20px;
  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;
}
@media only screen and (max-width: 1140px) {
  .Form__Submit.Button.Button--primary {
    padding: 10px 28px 11px;
  }
}

@media only screen and (max-width: 768px) {
  .Footer__Block .Linklist__Item {
    text-align: center;
  }
  .Footer__Block--newsletter,
  .Footer_Content {
    text-align: center;
  }
  .Footer__Aside {
    display: none;
  }
  #footer-newsletter {
    justify-content: center;
  }
}

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

/* 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: 25px;
    text-align: center;
  }
  .feature_image_info h3 {
/*     text-transform: uppercase; */
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 5px;
  }
  
  .feature_image_info a {
/*     text-transform: uppercase; */
  }
  .feature_image_info p {
    font-family: 'Athelas', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
  }
  @media only screen and (max-width: 768px) {
    .featured_image_info {
      padding-left: 24px;
      padding-right: 24px;
    }
    .featured_image_block {
      width: 100%;
      margin: 35px auto;
    }
    .featured_image_wrapper {
      margin: 0 auto;
    }
  }

/* PLP Video */

.Video_PLP_Cell {
  display: flex;
  position: absolute;
  height: calc(100% - 40px);
  width: calc(100% - 40px);
  left: 20px;
  flex-direction: column;
  text-align: left;
}
.Video_PLP_Cell h2 {
  font-size: 30px;
  margin-bottom: 0;
  line-height: 34px;
}
.Video_PLP_Cell p {
  font-style: italic;
  font-size: 22px;
}
/* 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;
}
.margin-bottom {
  margin-bottom: 40px;
}
.max-width {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.mobile-only {
  display: none;
}
.tablet-only {
  display: none;
}
@media only screen and (max-width: 1000px) {
  .tablet-only {
    display: block;
  }
}
@media only screen and (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .padding-y {
    padding-top: 0px;
    padding-bottom: 0px;
  }
  .padding-right {
    padding-right: 0px;
  }
  .padding-left {
    padding-left: 0px;
  }
}

/* footer navigation */

.footer_top_wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row;
  background: #37394C;
  color: #FFFFFF;
  text-align: center;
  height: 60px;
  align-items: center;
}
.footer_bottom_wrapper {
  background: #FAF6F3;
  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 {
  color: #ffffff;
  font-size: 23px;
  letter-spacing: 1px;
  text-transform: none;
}
.slider_title {
  line-height: 2;
  padding-top: 10px;
  font-family: 'Athelas', sans-serif;
  font-size: 16px;
  text-align: center;

}
.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-family: 'Athelas', serif;
  font-size: 23px;
  font-weight: bold;
}
.footer_slider_text p {
  font-family: 'Athelas', sans-serif;
  font-size: 13px;
}
.footer_slider_text a {
  font-family: 'Athelas', sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-decoration: underline;
  z-index: 1;
}
.footer_slider_block img {
  border-radius: 50%;
}
@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_bottom_inner_wrapper {
    padding: 0 0px;
  }
  .footer_title_block:first-child {
    border-bottom: 1px solid #56585A;
    border-right: none !important;
    margin-left: 50px;
    margin-right: 50px;
  }
  .footer_top_wrapper {
    height: unset;
    /* padding: 0 50px; */
  }
  .footer_title_block {
    width: 100%;
    padding: 25px 0;
  }
  
  .footer_title_block h3 {
    padding: 0 5px;
    font-size: 20px;
    line-height: 1.15;
  }
  
  .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: center;
  }
  .footer_bottom_inner_wrapper {
    margin: 0 auto;
  }
  .slider_title {
    text-align: center;
    padding-bottom: 15px;
  }
  .slider_navigation_wrapper {
    display: none;
  }
}


/* swatches */

.swatch_option .ColorSwatch:hover:after {
  border: none;
}
.swatch_option {
  padding: 2.5px 0;
  width: 35px;
}
  
.swatch_options .btn-collection .ColorSwatch--large {
  margin-right: 0px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}

.swatch_options .btn-collection.swatch_option.selected .ColorSwatch--large {
  outline: 1px solid black;
  outline-offset: 2.5px;
}
/* reviews */

[data-bv-show=inline_rating].collection_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=inline_rating].collection_reviews .bv_main_container,
[data-bv-show=rating_summary].collection_reviews .bv_main_container {
  display: flex !important;
  justify-content: center !important;
}
[data-bv-show=inline_rating].collection_reviews .bv_avgRating_component_container.notranslate,
[data-bv-show=rating_summary].collection_reviews .bv_avgRating_component_container.notranslate {
    display: none !important;
}
[data-bv-show=inline_rating].collection_reviews .bv_main_container .bv_main_container_row_flex,
[data-bv-show=rating_summary].collection_reviews .bv_main_container .bv_main_container_row_flex {
  padding-right: 0 !important;
}
[data-bv-show=inline_rating].collection_reviews .bv_main_container .bv_numReviews_text,
[data-bv-show=rating_summary].collection_reviews .bv_main_container .bv_numReviews_text {
  color: #56585A !important;
  text-decoration: underline !important;
}
[data-bv-show=inline_rating].collection_reviews .bv_main_container .bv_stars_component_container,
[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: 23px;
}

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

/* estimated shipping */

[class^="ot-estimated-shipping"] {
  font-size: 16px !important;
  color: #55585a !important;
  font-family: 'Athelas' !important;
}
[class^="ot-estimated-shipping"] input {
  padding: 3px 3px 3px 10px !important;
  height: 30px !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 5px;
}
[class^="ot-estimated-shipping"] p {
  background-color: #d3d7e5 !important;
  padding: 6px 10px !important;
  color: #55585a !important;
  font-family: 'CircularStd' !important;
  font-size: 14px !important;
  font-weight: 100;
  border-radius: 5px;
}

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

/* julep eyeshadow 101 */


div#shopify-section-template--14384260055063__1642460829fcf37e38 p em strong {
    font-size: 22px;
}

/* Jamie Chung Cushion Complexion */
#jamie-chung-cushion-complexion .review-image-mobile,
#jamie-chung-length-matters .review-image-mobile,
#rachel-bilson-es-101 .review-image-mobile,
#anna-camp-everyday-easy .review-image-mobile {
  display: none;
}

#rachel-bilson-es-101 .review_area {
  letter-spacing: 0.78px;
  line-height: 24px;
  max-width: 445px;
}

#jamie-chung-cushion-complexion .mini_slider_title,
#rachel-bilson-es-101 .mini_slider_title {
  margin-bottom: 1px;
}

#jamie-chung-cushion-complexion .shade-select .var_title,
#jamie-chung-length-matters .shade-select .var_title,
#rachel-bilson-es-101 .shade-select .var_title,
#anna-camp-everyday-easy .shade-select .var_title{
  flex: 1;
}
@media only screen and (max-width: 768px) {
  #jamie-chung-length-matters .blocksmobile-review {
    text-align: center;
  }
}
@media only screen and (max-width: 400px) {
  .shopify-section--footer {
    overflow: hidden;
  }
  #footer-newsletter {
    margin-top: 20px;
    flex-direction: column;
    align-items: center;
  }
  #footer-newsletter .Form__Input {
    margin-right: 0;
  }
  #footer-newsletter .Form__Submit {
    margin-top: 10px;
    min-width: 200px;
    justify-content: center;
  }
  #jamie-chung-cushion-complexion .ProductMeta__Title.Heading.u-h2 {
    word-break: break-all;
  }
}

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