/**
 * Featherlight – ultra slim jQuery lightbox
 * Version 0.4.9 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2014, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/

@media all {
  .featherlight {
    display: none;

    /* dimensions: spanning the background from edge to edge */
    position:fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 999;

    /* position: centering content */
    text-align: center;

    /* insures that the ::before pseudo element doesn't force wrap with fixed width content; */
    white-space: nowrap;

    /* styling */
    cursor: pointer;
    background: #333;
    /* IE8 "hack" for nested featherlights */
    background: rgba(0, 0, 0, 0);
  }

    .featherlight a {
      color:#fff;
      padding-bottom:2px;
      -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
    }

    .featherlight a:hover {
      /*border-bottom:2px solid #fff;*/
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
      color: #00A201;
    }


  /* support for nested featherlights. Does not work in IE8 (use JS to fix) */
  .featherlight:last-of-type {
    background: rgba(0, 0, 0, 0.8);
  }

  .featherlight:before {
    /* position: trick to center content vertically */
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
  }

  .featherlight .featherlight-content {
    /* make content container for positioned elements (close button) */
    position: relative;

    /* position: centering vertical and horizontal */
    text-align: left;
    vertical-align: middle;
    display: inline-block;

    /* dimensions: cut off images */
    overflow: auto;
    padding: 25px;

    /* dimensions: handling small or non existing (loading images) content */
    min-width:  30%;

    /* dimensions: handling large content */
    margin-left: 5%;
    margin-right: 5%;
    max-height: 95%;

    /* styling */
    background: #fff;
    cursor: auto;

    /* reset white-space wrapping */
    white-space: normal;
  }

  /* contains the content */
  .featherlight .featherlight-inner {
    /* make sure its visible */
    display: block;
        overflow: hidden;
  }

  .featherlight .featherlight-close-icon {
    /* position: centering vertical and horizontal; */
        position: fixed;
        z-index: 9999;
        top: 10px;
        right: 25px;

        /* dimensions: 25px x 25px; */
        /* line-height: 25px; */
        width: 14px;
        cursor: pointer;
        text-align: center;
        font-size: 30px;
        font: Helvetica, sans-serif;

        /* background: #fff; */
        /* background: rgba(255, 255, 255, 1); */
        color: #fff;
      /*display: none;*/
  }


  .featherlight .featherlight-image {
    /* styling */
    width: 100%;
  }


  .featherlight-iframe .featherlight-content {
    /* removed the border for image croping since iframe is edge to edge */
    border-bottom: 0;
  }

  .featherlight iframe {
    /* styling */
    border: none;
  }


  .lightbox {
      display: none;
    }
  .category_new {
    background: rgba(256,256,256, 0.8)!important;
  }
    .category_new .featherlight-content {
      width: 90%;
    color: #000;
    background: transparent;
    min-width:340px;
  }
  .category_departments .featherlight-content {
    width: 50%;
    color: #fff;
    background: transparent;
    min-width:340px;
        overflow: hidden;
  }
    .category_collections .featherlight-content {
    width: 90%;
    color: #fff;
    background: transparent;
    min-width:340px;
        overflow: hidden;
  }
  .category_new .featherlight-close {
    color: #000;
  }
    .category_departments {
        opacity: 1;
        filter: alpha(opacity=1);
        /*background-image: url('https://cdn.shopify.com/s/files/1/0574/3893/files/fw16_ab225606-cc0c-4a72-9abf-622336a135e1.gif?8137837468063943602') !important;*/
        /*background-repeat: no-repeat !important;*/
        /*background-position: center !important;*/
        /*background-size: cover !important;*/
        width: 100% !important;
        height: 100% !important;
        /*background: #43128d!important; /* Old browsers */
        /*background: -moz-linear-gradient(-45deg,  #43128d 0%, #000000 100%)!important; /* FF3.6+ */
        /*background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#43128d), color-stop(100%,#000000))!important; /* Chrome,Safari4+ */
        /*background: -webkit-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* Chrome10+,Safari5.1+ */
        /*background: -o-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* Opera 11.10+ */
        /*background: -ms-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* IE10+ */
        /*background: linear-gradient(135deg,  #43128d 0%,#000000 100%)!important; /* W3C */
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43128d', endColorstr='#000000',GradientType=1 )!important; /* IE6-9 fallback on horizontal gradient */
        /*font-weight: bolder;*/
        /*text-transform: capitalize;*/
        line-height: 46px;
        font-size: 20px;
        letter-spacing: 0.07em;
      font-family:'nhg-med', helvetica;
    }
    .category_collections {
      opacity: 1;
        filter: alpha(opacity=1);
        /*background-image: url('https://cdn.shopify.com/s/files/1/0574/3893/files/fw16_ab225606-cc0c-4a72-9abf-622336a135e1.gif?8137837468063943602') !important;*/
        /*background-repeat: no-repeat !important;*/
        /*background-position: center !important;*/
        /*background-size: cover !important;*/
        width: 100% !important;
        height: 100% !important;
        /*background: #43128d!important; /* Old browsers */
        /*background: -moz-linear-gradient(-45deg,  #43128d 0%, #000000 100%)!important; /* FF3.6+ */
        /*background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#43128d), color-stop(100%,#000000))!important; /* Chrome,Safari4+ */
        /*background: -webkit-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* Chrome10+,Safari5.1+ */
        /*background: -o-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* Opera 11.10+ */
        /*background: -ms-linear-gradient(-45deg,  #43128d 0%,#000000 100%)!important; /* IE10+ */
        /*background: linear-gradient(135deg,  #43128d 0%,#000000 100%)!important; /* W3C */
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#43128d', endColorstr='#000000',GradientType=1 )!important; /* IE6-9 fallback on horizontal gradient */
        /*font-weight: bolder;*/
        line-height: 60px;
        /*text-transform: capitalize;*/
        font-size: 20px;
        letter-spacing: 0.07em;
      font-family:'nhg-med', helvetica;
    }

    .department_link_title {
      text-align: right;
    }

    .product_readmore {
        background: transparent!important;
        font-weight: 500;
        text-transform: capitalize;
        font-size: 10px;
        letter-spacing: 1px;
        line-height:20px;
    }

  .product_readmore .featherlight-content {
    border: 2px solid #00A201;
    width:35%;
    padding-top: 0px;
    text-transform: none;
  }

  .product_readmore .featherlight-close-icon {
    color: #000!important;
    position: relative;
    top: 8px;
    left: 100%;
    font-size: 22px;
  }

  .product_readmore .featherlight a  {
    color:#000!important;
  }

  }


}

/* handling phones and small screens */
@media only screen and (max-width: 1024px) {
  .featherlight .featherlight-content {
    /* dimensions: maximize lightbox with for small screens */
    margin-left: 10px;
    margin-right: 10px;
    max-height: 98%;

    padding: 10px 10px 0;
    border-bottom: 10px solid transparent;
  }
}
@media (max-width:700px) {
  .product_readmore .featherlight-content {
    width:90%;
  }
}

.featherlight .lightbox-video{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover;
    -moz-object-fit: cover;
    z-index: -10;
    background: white;
    pointer-events: none;
    -webkit-pointer-events: none;
}
