/* -------------------------------- 

Primary style

-------------------------------- */

*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}



body::after {
  /* dark overlay layer - visible when we fire .cd-quick-view */
  position: fixed;content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0; 
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
}
body::before {content: ''; }
@media only screen and (min-width: 320px) {
  body.overlay-layer::after {
    visibility: visible; z-index: 998;content: '';
    opacity: 1;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
  }
}


/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%; height: 100%;
  max-width: 1170px;
  margin: 0 auto; 
}
.cd-container:after {
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */
html, body {
  height: 100%;font-family: "Roboto", "serif" !important;
}


.cd-items {
  padding: 1em 0;
}
@media only screen and (min-width: 768px) {
  .cd-items {
    padding: 2em 0 0;
  }
}
@media only screen and (min-width: 1024px) {
  .cd-items {
    padding: 4em 0 0;
  }
}

/* scott start below 1024px */
  .cd-item {
    width: 48%;
    float: left;
    margin: 0 3% 2em 0;
  }
  .cd-item:nth-child(2n) {
    margin-right: 0;
  }

  .cd-quick-view {
    display: block;
    position: fixed;
    max-width: 200px;
    visibility: hidden; margin-top: 66px;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
    z-index: 1;font-family: "Roboto", "serif";
  }
  .cd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }

  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .cd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.cd-slider li img {
  display: block;
  width: 100%;
  max-width: 90%;margin: 55px 0 0 15%;
}
/* scott end below 1024px */


@media only screen and (min-width: 1024px) {
  .cd-item {
    width: 16%;
    float: left;
    margin: 0 .7% 2.8em 0;
  }
  .cd-item:nth-child(2n) {
    margin-right: .6%;
  }
  .cd-item:nth-child(9n) {
    margin-right: 0;
  }
  .cd-item.empty-box::after {
    /* box visible as placeholder when the .cd-quick-view zooms in */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #392c3f;content: '';
  }
}


@media only screen and (min-width: 1200px) {
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 100%; height: 100%;
  max-width: 1920px;
  margin: 0 auto 0 auto; padding: 0px; display: flex; flex-wrap: wrap; flex-basis: auto;
    
}

  .cd-item {
    width: 10.5%;
    float: left;
    margin: .74% .74% .74% 0;border: 0px solid #ffffff;
      
  }
  .cd-item:nth-child(2n) {
    margin-right: .6%;
  }
  .cd-item:nth-child(9n) {
    margin-right: 0;
  }
  .cd-item.empty-box::after {
    /* box visible as placeholder when the .cd-quick-view zooms in */
    position: absolute;content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #cccccc;
  }
  .cd-item:hover {border: 0px solid #cc0000;
  }

}
.cd-item-info {
text-align: left !important;
}
/*  scott  */
.cd-trigger {
  position: absolute;
  height: 100%; display: flex; align-items: center; justify-content: center;
  width: 100%;
  bottom: 0;
  left: 0; z-index: 6;
  background: rgba(0, 0, 0, 0.9);
  text-align: center; font-size: 1.2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
  opacity: 0;
  -webkit-transition: opacity 0.2s, background-color 0.2s;
  -moz-transition: opacity 0.2s, background-color 0.2s;
  transition: opacity 0.2s, background-color 0.2s;
}
.no-touch .cd-trigger:hover {
  background: rgba(0, 0, 0, 0);
}
@media only screen and (min-width: 1024px) {
  .cd-trigger {
    /* scott always visible on small devices */
    visibility: visible;
    opacity: 0;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-trigger {
    /* only visible on hover on big devices */
    opacity: 0;
  }
}

@media only screen and (min-width: 1170px) {
  .no-touch .cd-item:hover .cd-trigger, .touch .cd-item:hover .cd-trigger {
    opacity: 1;
  }

  .touch .cd-item .cd-trigger {
    opacity: 0;
  }
}
.cd-quick-view {
  /* quick view non available on small devices */
}

/* scott small devices */
/*  scott */
.cd-item-info {
  position: absolute; left:-20px;
  padding: 3em 0em 3em 0;text-align: left; 
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s, visibility 0s;
  -moz-transition: opacity .3s, visibility 0s;
  transition: opacity .3s, visibility 0s;
}
.cd-item-info h2 {font-weight: 300; text-transform: uppercase; font-family: "Noto Serif", "serif";font-size: 2.4rem; line-height: 1.2;}

.cd-item-info h2 span{text-align: center !important; font-size: .88rem; padding: 10px 0 0 0; border-radius: 50%; line-height: 14px; margin-left: 10px; height: 45px; width: 46px;}

.cd-item-info h3 span{
  font-weight: 700; text-transform: uppercase;
  font-size: 1.2rem; line-height: 1.2; 
}
.cd-item-info h4 {font-family: "Roboto", "serif";
  font-weight: 400; text-transform: uppercase;
  font-size: 1.1rem; line-height: 1.3; 
}

.cd-item-info ul {
  margin: 10px 0;
}

.cd-item-info li { display: flex; align-items: center;
  line-height: 1.3;font-size: 1.1rem;
  color: #1b1b1b;
}
.cd-item-info .cd-item-action li {
  display: inline-block;
  margin-right: 1em;
}
.cd-item-info .cd-item-action li:first-child {
  margin-left: -4px;
}
.cd-item-info .add-to-cart {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  color: #444444;
  background: transparent;
  border: 2px solid #30336b;
  padding: 10px 25px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  border-radius: 0px;
  cursor: pointer;
  margin: 10px 0px;
  transition: 0.3s;
  cursor: pointer;
}

.cd-item-info .add-to-cart:focus{
  outline: none;
}
.cd-item-info .add-to-cart:hover{
  background: #cccccc;
  color: #000000;
  border: 2px solid #000000;
}


.add-content .cd-item-info {
  /* class added at the end of the width animation, used to show the content */
  position: relative;
  visibility: visible;
  opacity: 1;
}
.add-content .cd-item-info h2 {
  -webkit-animation: cd-slide-in 0.3s;
  -moz-animation: cd-slide-in 0.3s;
  animation: cd-slide-in 0.3s;
}
.add-content .cd-item-info p {
  -webkit-animation: cd-slide-in 0.4s;
  -moz-animation: cd-slide-in 0.4s;
  animation: cd-slide-in 0.4s;
}
.add-content .cd-item-info .cd-item-action {
  -webkit-animation: cd-slide-in 0.5s;
  -moz-animation: cd-slide-in 0.5s;
  animation: cd-slide-in 0.5s;
}

@media only screen and (min-width: 320px) {
    
  .cd-quick-view {
    display: block;
    position: fixed;
      max-width: 300px;
    width: 300px; margin: 200px 0 0 0;
    visibility: hidden; 
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width; z-index: 999;
      top: 20vh !important; left: 50vw !important; transform: translate(-50%, -50%) !important; 
  }
  .cd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }
  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .cd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.cd-slider li img {
  display: block;
  width: 100%;
  max-width:300px; display: none;
}

/*  scott */
.cd-item-info {
  position: absolute; left:30px;
  padding: 3em 0em 3em 0em;text-align: left; 
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s, visibility 0s;
  -moz-transition: opacity .3s, visibility 0s;
  transition: opacity .3s, visibility 0s;
}

}


@media only screen and (min-width: 768px) {
 .cd-item-info {
text-align: left !important; 
}
   
  .zzzcd-quick-view {
    display: block;
    position: fixed;
      max-width: 500px;
    width: 500px; margin: 25% 0 0 0; 
    visibility: hidden; 
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
    z-index: 999;
      top: 20vh !important; left: 50vw !important; transform: translate(-50%, -50%) !important; 
  }
  .cd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }
  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .zzzcd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff; height: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.zzzcd-slider li iframe {
  display: block;
  width:95% !important; height: 80vh !important; margin: 0;
}	

}

@media only screen and (min-width: 1024px) {
    
  .zzzcd-quick-view {
    display: block;
    position: fixed;
    max-width: 100vw;
    width: 100vw; margin: 16% 0 0 0%;
    visibility: hidden; 
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
        z-index: 999;
      top: 20vh; left: 50vw; transform: translate(-50%, -50%); 

  }
  .zzzcd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }
  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .zzzcd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff; height: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.zzzcd-slider li iframe {
  display: block;
  width:95%; height: 80vh; margin: 0;
}	

}

@media only screen and (min-width: 1281px) {
    /* scott */
  .cd-quick-view {
    display: block;
    position: fixed;
    visibility: hidden;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
        z-index: 9999999999; min-width:80vw; height: 600px; margin: 0;
      top: 50vh !important; left: 50vw !important; transform: translate(-50%, -50%) !important; 

  }
  .cd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }
  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .cd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.cd-slider li iframe {
  display: block;
  width:1000px;
  height:600px;
	margin: 0;
}
}

.cd-slider-wrapper {
  position: relative;
  display: inline-block;
  float: left;
}
.cd-slider-wrapper:after {
  content: '';
  display: table;
  clear: both;
}

.cd-slider {
  zzzfloat: left;
}
.cd-slider li {
  zzzposition: absolute;
  zzztop: 0;
  zzzleft: 0;
  zzzz-index: 1;
}
.zzzcd-slider li img {
  display: block;
  width: 100%;
  max-width: 400px;
}
.cd-slider li.selected {
  position: relative;
  z-index: 3;
}
.add-content .cd-slider {
  margin-right: 3em;
}

.cd-slider-navigation {
  opacity: 0;
}
.add-content .cd-slider-navigation {
  opacity: 1;
}

.cd-slider-navigation li {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 3;
}
.cd-slider-navigation li:first-child {
  left: 0;
}
.cd-slider-navigation li:last-child {
  /* equal to the .cd-slider-wrapper margin-right */
  right: 3em;
}
.cd-slider-navigation li a {
  display: block;
  width: 40px;
  height: 50px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  opacity: 0;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: opacity 0.2s, background 0.2s;
  -moz-transition: opacity 0.2s, background 0.2s;
  transition: opacity 0.2s, background 0.2s;
}
.cd-slider-navigation li a::before, .cd-slider-navigation li a::after {
  /* create arrows in CSS */
  position: absolute;
  top: 18px;
  left: 14px;
  display: inline-block;
  background: #ffffff;
  height: 3px;
  width: 12px;
}
.cd-slider-navigation li a::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-slider-navigation li a::after {
  -webkit-transform: translateY(7px) rotate(-45deg);
  -moz-transform: translateY(7px) rotate(-45deg);
  -ms-transform: translateY(7px) rotate(-45deg);
  -o-transform: translateY(7px) rotate(-45deg);
  transform: translateY(7px) rotate(-45deg);
}
.add-content .cd-slider-navigation li a {
  opacity: .2;
}
.no-touch .cd-slider-navigation li a:hover {
  background: rgba(71, 55, 78, 0.8);
  opacity: 1;
}
.touch .cd-slider-navigation li a {
  opacity: 1;
}
.cd-slider-navigation li:first-child a::before {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.cd-slider-navigation li:first-child a::after {
  -webkit-transform: translateY(7px) rotate(45deg);
  -moz-transform: translateY(7px) rotate(45deg);
  -ms-transform: translateY(7px) rotate(45deg);
  -o-transform: translateY(7px) rotate(45deg);
  transform: translateY(7px) rotate(45deg);
}


@-webkit-keyframes cd-slide-in {
  0% {
    -webkit-transform: translate3d(-40px, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
  }
}
@-moz-keyframes cd-slide-in {
  0% {
    -moz-transform: translate3d(-40px, 0, 0);
  }
  100% {
    -moz-transform: translate3d(0, 0, 0);
  }
}
@keyframes cd-slide-in {
  0% {
    -webkit-transform: translate3d(-40px, 0, 0);
    -moz-transform: translate3d(-40px, 0, 0);
    -ms-transform: translate3d(-40px, 0, 0);
    -o-transform: translate3d(-40px, 0, 0);
    transform: translate3d(-40px, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.cd-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-block;
  width: 30px;
  height: 30px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  visibility: hidden;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform .3s 0s, visibility 0s .3s;
  -moz-transition: -moz-transform .3s 0s, visibility 0s .3s;
  transition: transform .3s 0s, visibility 0s .3s;
}
.cd-close::before, .cd-close::after {
  /* close icon in css */
  position: absolute;content: '';
  top: 12px;
  left: 5px;
  display: inline-block;
  height: 4px;
  width: 20px;
  background: #47374e;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cd-close::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.cd-close::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.no-touch .cd-close:hover {
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
}
.add-content .cd-close {
  visibility: visible;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform .3s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform .3s 0s, visibility 0s 0s;
  transition: transform .3s 0s, visibility 0s 0s;
}

@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 950px) 
  and (orientation: landscape) { 
 

  .cd-quick-view {
    display: block;
    position: fixed;
    max-width: 500px !important;
    width:500px;  height: 300px !important; margin: 200px auto 0 auto !important;
    visibility: hidden;
    /* Force Hardware Acceleration in WebKit */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: left, top, width;
      z-index: 999 !important;
      top: 5vh !important; left: 50vw !important; transform: translate(-50%, -50%) !important;
  }

  .cd-quick-view:after {
    content: '';
    display: table;
    clear: both;
  }
  .cd-quick-view.is-visible {
    /* class added when user clicks on .cd-trigger */
    visibility: visible;
  }
  .cd-quick-view.animate-width {
    /* class added at the end of the first zoom-in animation */
    background-color: #ffffff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    -webkit-transition: box-shadow 0.3s;
    -moz-transition: box-shadow 0.3s;
    transition: box-shadow 0.3s;
  }
.cd-slider li img {
  display: block;
  width: 100%; margin: 0 !important;
  max-width:300px; height: 300px !important; 
}

/*  scott */
.cd-item-info {
  position: absolute; left:-20px;
  padding: 0em 0em 0em 0em;text-align: left; 
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s, visibility 0s;
  -moz-transition: opacity .3s, visibility 0s;
  transition: opacity .3s, visibility 0s;
}

.cd-item-info h2 {font-weight: 300; text-transform: uppercase; font-family: "Noto Serif", "serif";font-size: 1.9rem; line-height: 1.2;}


.cd-item-info h3 span{
  font-weight: 700; text-transform: uppercase;
  font-size: 1.1rem; line-height: 1.2; 
}
.cd-item-info h4 {
  font-weight: 400; text-transform: uppercase;
  font-size: .85rem; line-height: 1.2; 
}

.cd-item-info ul {
  margin: 10px 0;
}

.cd-item-info li { display: flex; align-items: center;
  line-height: 1.2;font-size: .9rem;
  color: #1b1b1b;
}

}

