/*************************************
Article Page
**************************************/

.hgg2015 *, .hgg2015 *:after, .hgg2015 *:before {
  box-sizing: border-box;
}

.hgg2015 {
  background-color: #f0f0f0;
  background-image: url(img/snowfall.gif);
  color: #ff002e;
  font-family: "Source Sans Pro", sans-serif;
  margin: 0 auto;
  max-width: 960px;
  overflow-x: hidden;
  padding-bottom: 20px;
  position: relative;
  text-align: center;
  width: 100%;
}

.hgg2015 header {
line-height: 1;
  margin: 25px 0 50px;
}

.hgg2015 h1 {
  font-size: 3em;
  font-weight: 300;
  margin-bottom: 5px;
}

.hgg2015 p {
  font-size: 1.5em;
  font-weight: 300;
}

.hgg2015 .wrapper {
  margin: 0 auto;
  max-width: 960px;
}

.hgg2015 .stage {
  margin: 0 -25px;
  list-style: none;
  padding: 0;
}

.hgg2015 .flip-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -ms-perspective: 1000;
  perspective: 1000;
  -ms-transform: perspective(1000px);
  -moz-transform: perspective(1000px);
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  margin: 25px;
  display: inline-block;
}

.hgg2015 .flip-container:hover .back, .hgg2015 .flip-container.hover .back {
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.hgg2015 .flip-container:hover .front, .hgg2015 .flip-container.hover .front {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

.hgg2015 .flip-container, .hgg2015 .front, .hgg2015 .back {
  width: 260px;
  height: 400px;
}

.hgg2015 .flipper {
  -webkit-transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  -ms-transition: 0.6s;
  -moz-transition: 0.6s;
  -moz-transform: perspective(1000px);
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transition: 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.hgg2015 .front, .hgg2015 .back {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: 0.6s;
  -webkit-transform-style: preserve-3d;
  -webkit-transform: rotateY(0deg);
  -moz-transition: 0.6s;
  -moz-transform-style: preserve-3d;
  -moz-transform: rotateY(0deg);
  -o-transition: 0.6s;
  -o-transform-style: preserve-3d;
  -o-transform: rotateY(0deg);
  -ms-transition: 0.6s;
  -ms-transform-style: preserve-3d;
  -ms-transform: rotateY(0deg);
  transition: 0.6s;
  transform-style: preserve-3d;
  transform: rotateY(0deg);
  position: absolute;
  top: 0;
  left: 0;

}

.hgg2015 .front:before, .hgg2015 .back:before {
  content: "";
  width: 260px;
  height: 25px;
  position: absolute;
  bottom: 0;
  left: 0;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hgg2015 .front {
  -webkit-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  z-index: 2;
}

.hgg2015 .back {
  border: 1px solid #FF3F3F;
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

/* Posters and still images */

.hgg2015 .flip-container:nth-child(1) .front {
  background-image: url(img/gifts-for-her-category.jpg);
}

.hgg2015 .flip-container:nth-child(1) .back {
  background-image: url(img/gifts-for-her-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(2) .front {
  background-image: url(img/gifts-for-him-category.jpg);
}

.hgg2015 .flip-container:nth-child(2) .back {
  background-image: url(img/gifts-for-him-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(3) .front {
  background-image: url(img/gifts-under-10-category.jpg);
}

.hgg2015 .flip-container:nth-child(3) .back {
  background-image: url(img/gifts-under-10-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(4) .front {
  background-image: url(img/littmann-medelita-category.jpg);
}

.hgg2015 .flip-container:nth-child(4) .back {
  background-image: url(img/littmann-medelita-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(5) .front {
  background-image: url(img/shoes-category.jpg);
}

.hgg2015 .flip-container:nth-child(5) .back {
  background-image: url(img/shoes-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(6) .front {
  background-image: url(img/stocking-stuffers-category.jpg);
}

.hgg2015 .flip-container:nth-child(6) .back {
  background-image: url(img/stocking-stuffers-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(7) .front {
  background-image: url(img/bright-ideas-category.jpg);
}

.hgg2015 .flip-container:nth-child(7) .back {
  background-image: url(img/bright-ideas-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(8) .front {
  background-image: url(img/last-min-gifts-category.jpg);
}

.hgg2015 .flip-container:nth-child(8) .back {
  background-image: url(img/last-min-gifts-category-hover.gif);
}

.hgg2015 .flip-container:nth-child(9) .front {
  background-image: url(img/antimicrobial-category.jpg);
}

.hgg2015 .flip-container:nth-child(9) .back {
  background-image: url(img/antimicrobial-category-hover.gif);
}


/*************************************
Category Page
**************************************/

.hgg2015-cat {
  font-family: "Source Sans Pro", sans-serif;
  margin: 0 auto;
  max-width: 960px;
  overflow: hidden;
  width: 100%;
}

.hgg2015-cat .main {
  background-image: url("img/hgg2015-hero.jpg");
  background-size: contain;
  float: left;
  height: 62vw;
  max-height: 276px;
  max-width: 444px;
  width: 100%;
}

.hgg2015-cat .main a {
  display: block;
  height: 100%;
}

.hgg2015-cat .cats {
  float: left;
  max-width: 516px;
}

.hgg2015-cat .cats a {
  background-image: url("img/hgg2015-sprite.png");
  background-color: #B6CC6A;
  color: #000;
  float: left;
  height: 88px;
  margin: 0 0 6px 6px;
  text-decoration: none;
  text-indent: -200%;
  text-transform: uppercase;
  width: 166px;
}

.hgg2015-cat .cats a:hover,
.hgg2015-cat .cats a.active {
  color: #fff;
}


/* Category hover/active States */

.hgg2015-cat .cats a:nth-of-type(1):hover, .hgg2015-cat .cats a:nth-of-type(1).active {
  background-position: -166px 0;
}

.hgg2015-cat .cats a:nth-of-type(2) {
  background-color: #8295A3;
  background-position: -332px 0;
}

.hgg2015-cat .cats a:nth-of-type(2):hover, .hgg2015-cat .cats a:nth-of-type(2).active {
  background-position: -498px 0;
}

.hgg2015-cat .cats a:nth-of-type(3) {
  background-color: #A0CFE3;
  background-position: -664px 0;
}

.hgg2015-cat .cats a:nth-of-type(3):hover, .hgg2015-cat .cats a:nth-of-type(3).active {
  background-position: -830px 0;
}

.hgg2015-cat .cats a:nth-of-type(4) {
  background-color: #AEA7C6;
  background-position: -996px 0;
}

.hgg2015-cat .cats a:nth-of-type(4):hover, .hgg2015-cat .cats a:nth-of-type(4).active {
  background-position: -1162px 0;
}

.hgg2015-cat .cats a:nth-of-type(5) {
  background-color: #C2C2C2;
  background-position: -1328px 0;
}

.hgg2015-cat .cats a:nth-of-type(5):hover, .hgg2015-cat .cats a:nth-of-type(5).active {
  background-position: -1494px 0;
}

.hgg2015-cat .cats a:nth-of-type(6) {
  background-color: #F5A36B;
  background-position: -1660px 0;
}

.hgg2015-cat .cats a:nth-of-type(6):hover, .hgg2015-cat .cats a:nth-of-type(6).active {
  background-position: -1826px 0;
}

.hgg2015-cat .cats a:nth-of-type(7) {
  background-color: #EBBE49;
  background-position: -1992px 0;
}

.hgg2015-cat .cats a:nth-of-type(7):hover, .hgg2015-cat .cats a:nth-of-type(7).active {
  background-position: -2158px 0;
}

.hgg2015-cat .cats a:nth-of-type(8) {
  background-color: #63CFBD;
  background-position: -2324px 0;
}

.hgg2015-cat .cats a:nth-of-type(8):hover, .hgg2015-cat .cats a:nth-of-type(8).active {
  background-position: -2490px 0;
}

.hgg2015-cat .cats a:nth-of-type(9) {
  background-color: #89C544;
  background-position: -2656px 0;
}

.hgg2015-cat .cats a:nth-of-type(9):hover, .hgg2015-cat .cats a:nth-of-type(9).active {
  background-position: -2822px 0;
}

@media (max-width: 960px) {
  .hgg2015-cat .cats {
    clear: both;
    max-width: 444px;
    width: 100%;
  }
  .hgg2015-cat .cats a {
    background-image: none;
    box-sizing: border-box;
    font-size: 120%;
    font-weight: bold;
    height: auto;
    line-height: 1;
    margin: 1px 0 0;
    padding: 10px 10px 10px 25px;
    text-indent: 0;
    width: 100%;
  }
}