/*
-----------------------------------------------
imarketsolutions.com 
Stylesheet: Halloween.css
Organization:	iMarket Solutions

----------------------------------------------- */

/*#container-primary-navigation {
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}*/

.star {
  margin: 0; 
  position: absolute; 
  display: block; 
  color: transparent; 
  width: 0px; 
  height: 0px; 
  border-right: 100px solid transparent; 
  border-bottom: 70px solid yellow; 
  border-left: 100px solid transparent; 
  -moz-transform: rotate(35deg) scale(0.25); 
  -webkit-transform: rotate(35deg) scale(0.25); 
  -ms-transform: rotate(35deg) scale(0.25); 
  -o-transform: rotate(35deg) scale(0.25);
  transform: rotate(35deg) scale(0.25);
  -moz-transform-origin: 50% 50%;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  left: 50%;
  top: 0;
  margin-top: -43px;
  margin-left: -99px;
  z-index: 100;
}

.star:before { 
  border-bottom: 80px solid yellow; 
  border-left: 30px solid transparent; 
  border-right: 30px solid transparent; 
  position: absolute; 
  height: 0; 
  width: 0; 
  top: -45px; 
  left: -65px; 
  display: block; 
  content: ''; 
  -webkit-transform: rotate(-35deg); 
  -moz-transform: rotate(-35deg); 
  -ms-transform: rotate(-35deg); 
  -o-transform: rotate(-35deg);
}

.star:after { 
  position: absolute; 
  display: block; 
  color: transparent; 
  top: 3px; 
  left: -105px; 
  width: 0px; 
  height: 0px; 
  border-right: 100px solid transparent; 
  border-bottom: 70px solid yellow; 
  border-left: 100px solid transparent; 
  -webkit-transform: rotate(-70deg); 
  -moz-transform: rotate(-70deg); 
  -ms-transform: rotate(-70deg); 
  -o-transform: rotate(-70deg); 
  content: ''; 
}

.ornament {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  background: yellow;
  /*background: radial-gradient(circle at 10px 10px, yellow, #D4AF37);*/
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.ornament:nth-child(1) {
  top: 80px;
  left: 49%;
  z-index: 15;
}
.ornament:nth-child(2) {
  top: 202px;
  left: 39%;
  z-index: 16;
}
.ornament:nth-child(3) {
  top: 245px;
  left: 63%;
  z-index: 17;
}
.ornament:nth-child(4) {
  top: 319px;
  left: 47%;
  display: none;
  z-index: 18;
}
.ornament:nth-child(5) {
  top: 363px;
  left: 69%;
  z-index: 19;
}
.ornament:nth-child(6) {
  top: 414px;
  left: 29%;
  z-index: 20;
}

.tinsel {
  display: none;
  position: absolute;
  top: 45%;
  left: 44%;
  height: 20px;
  width: 230px;
  border-radius: 10px;
  /*background: #C0C0C0;*/
  /*background-image: url('/assets/templates/main/css/december/img/nate/black-white-tinsel-texture-27499338.jpeg');*/

  /*background: 
  linear-gradient(63deg, #999 23%, transparent 23%) 7px 0, 
  linear-gradient(63deg, transparent 74%, #999 78%), 
  linear-gradient(63deg, transparent 34%, #999 38%, #999 58%, transparent 62%), 
  #444;
  background-size: 16px 48px;*/
  background-color: #eee;
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black), linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
background-size: 60px 60px;
background-position: 0 0, 30px 30px;
background-color: #eee;
background-image: linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black), linear-gradient(45deg, black 25%, transparent 25%, transparent 75%, black 75%, black);
background-size: 60px 60px;
background-position: 0 0, 30px 30px;

  -webkit-transform: translate(-50%, -50%) rotate(-19deg);
  -moz-transform: translate(-50%, -50%) rotate(-19deg);
  -ms-transform: translate(-50%, -50%) rotate(-19deg);
  -o-transform: translate(-50%, -50%) rotate(-19deg);
  transform: translate(-50%, -50%) rotate(-19deg);
}

.tinsel:nth-child(1) {
  top: 22%;
  left: 47%;
  width: 173px;
  z-index: 4;
}

.tinsel:nth-child(2) {
  top: 45%;
  left: 44%;
  width: 230px;
  z-index: 5;
}

.tinsel:nth-child(3) {
  top: 72%;
  left: 42%;
  width: 289px;
  z-index: 6;
}

/* The animation code */
@-webkit-keyframes glow {
    0%   {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.2);}
    2%  {box-shadow: 0px 0px 7px 9px rgba(255,255,255,0.3);}
    15% {box-shadow: 0px 0px 7px 8px rgba(255,255,255,0.3);}
    30% {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.2);}
    40% {box-shadow: 0px 0px 7px 8px rgba(255,255,255,0.3);}
    95%  {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.3);}
    100%  {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.3);}
}
@keyframes glow {
    0%   {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.2);}
    2%  {box-shadow: 0px 0px 7px 9px rgba(255,255,255,0.3);}
    15% {box-shadow: 0px 0px 7px 8px rgba(255,255,255,0.3);}
    30% {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.2);}
    40% {box-shadow: 0px 0px 7px 8px rgba(255,255,255,0.3);}
    95%  {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.3);}
    100%  {box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.3);}
}

@-webkit-keyframes twinkle {
  0%   {opacity: 0;}
  30% {opacity: 1;}
  70% {opacity: 1;}
  100% {opacity: 0;}
}
@keyframes twinkle {
   0%   {opacity: 0;}
  30% {opacity: 1;}
  70% {opacity: 1;}
  100% {opacity: 0;}
}


.light {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 7px;
  width: 3px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0px 0px 7px 7px rgba(255,255,255,0.3);
  margin-left: -1.5px;
  margin-top: -3.5px;
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: glow 1.1s infinite, twinkle 2s infinite;
  animation: glow 1.1s infinite, twinkle 2s infinite;
}

.light::before,
.light::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 100%;
}
.light::before {
  height: 2px;
  width: 13px;
  z-index: 1;
  margin-top: -1px;
  margin-left: -6.5px;
  background: rgba(255,255,255,0.4);
}
.light::after {
  height: 16px;
  width: 1px;
  /*background: red;*/
  z-index: 2;
  margin-top: -7px;
  margin-left: -0.5px;
  background: rgba(255,255,255,0.5);
}

.light:nth-child(1) {
  z-index: 50;
  top: 12%;
  left: 43%;
  -webkit-animation: glow 1.1s infinite 0.1s, twinkle 2s infinite;
  animation: glow 1.1s infinite 0.1s, twinkle 2s infinite;
}

.light:nth-child(2) {
  z-index: 50;
  top: 24%;
  left: 37%;
  -webkit-animation: glow 1.1s infinite 0.4s, twinkle 2s infinite 0.3s;
  animation: glow 1.1s infinite 0.4s, twinkle 2s infinite 0.3s;
}

.light:nth-child(3) {
  z-index: 50;
  top: 35%;
  left: 59%;
  -webkit-animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.2s;
  animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.2s;
}

.light:nth-child(4) {
  z-index: 50;
  top: 44%;
  left: 30%;
  -webkit-animation: glow 1.1s infinite 0.1s, twinkle 2s infinite 0.11s;
  animation: glow 1.1s infinite 0.1s, twinkle 2s infinite 0.11s;
}

.light:nth-child(5) {
  z-index: 50;
  top: 80%;
  left: 60%;
  -webkit-animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.6s;
  animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.6s;
}

.light:nth-child(6) {
  z-index: 50;
  top: 71%;
  left: 42%;
  -webkit-animation: glow 1.1s infinite 0.2s, twinkle 2s infinite 0.19s;
  animation: glow 1.1s infinite 0.2s, twinkle 2s infinite 0.19s;
}

.light:nth-child(7) {
  z-index: 50;
  top: 48%;
  left: 48%;
  -webkit-animation: glow 1.1s infinite 1s, twinkle 2s infinite 0.9s;
  animation: glow 1.1s infinite 1s, twinkle 2s infinite 0.9s;
}

.light:nth-child(8) {
  z-index: 50;
  top: 84%;
  left: 80%;
  -webkit-animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.1s;
  animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.1s;
}

.light:nth-child(9) {
  z-index: 50;
  top: 60%;
  left: 58%;
  -webkit-animation: glow 1.1s infinite 0.8s, twinkle 2s infinite 0.7s;
  animation: glow 1.1s infinite 0.8s, twinkle 2s infinite 0.7s;
}

.light:nth-child(10) {
  z-index: 50;
  top: 50%;
  left: 70%;
  -webkit-animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.3s;
  animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.3s;
}

.light:nth-child(11) {
  z-index: 50;
  top: 76%;
  left: 23%;
  -webkit-animation: glow 1.1s infinite 0.4s, twinkle 2s infinite 0.1s;
  animation: glow 1.1s infinite 0.4s, twinkle 2s infinite 0.1s;
}

.light:nth-child(12) {
  z-index: 50;
  top: 22%;
  left: 65%;
  -webkit-animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.2s;
  animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.2s;
}

.light:nth-child(13) {
  z-index: 50;
  top: 32%;
  left: 46%;
  -webkit-animation: glow 1.1s infinite 0.5s, twinkle 2s infinite 0.6s;
  animation: glow 1.1s infinite 0.5s, twinkle 2s infinite 0.6s;
}

.light:nth-child(14) {
  z-index: 50;
  top: 2%;
  left: 49%;
  -webkit-animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.1s;
  animation: glow 1.1s infinite 0.3s, twinkle 2s infinite 0.1s;
}

.light:nth-child(15) {
  z-index: 50;
  top: 61%;
  left: 31%;
  -webkit-animation: glow 1.1s infinite 0.6s, twinkle 2s infinite 0.6s;
  animation: glow 1.1s infinite 0.6s, twinkle 2s infinite0.6s;
}

.light:nth-child(16) {
  z-index: 50;
  top: 9%;
  left: 56%;
  -webkit-animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.6s;
  animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.6s;
}

.light:nth-child(17) {
  z-index: 50;
  top: 19%;
  left: 55%;
  -webkit-animation: glow 1.1s infinite 1s, twinkle 2s infinite 0.9s;
  animation: glow 1.1s infinite 1s, twinkle 2s infinite 0.9s;
}

.light:nth-child(18) {
  z-index: 50;
  top: 64%;
  left: 72%;
  -webkit-animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.7s;
  animation: glow 1.1s infinite 0.7s, twinkle 2s infinite 0.7s;
}

.light:nth-child(19) {
  z-index: 50;
  top: 23%;
  left: 67%;
  -webkit-animation: glow 1.1s infinite 0.5s, twinkle 2s infinite 0.3s;
  animation: glow 1.1s infinite 0.5s, twinkle 2s infinite 0.3s;
}

.light:nth-child(12) {
  z-index: 50;
  top: 85%;
  left: 43%;
  -webkit-animation: glow 1.1s infinite 0.6s, twinkle 2s infinite 0.5s;
  animation: glow 1.1s infinite 0.6s, twinkle 2s infinite 0.5s;
}

.light:nth-child(13) {
  z-index: 50;
  top: 56%;
  left: 44%;
  -webkit-animation: glow 1.1s infinite 0.2s, twinkle 2s infinite 0.1s;
  animation: glow 1.1s infinite 0.2s, twinkle 2s infinite 0.1s;
}

.light:nth-child(13) {
  z-index: 50;
  top: 30%;
  left: 48%;
  -webkit-animation: glow 1.1s infinite 0.2s, twinkle 2s infinite 0.125s;
  animation: glow 1s infinite 0.2s, twinkle 2s infinite 0.125s;
}

.tree {
  position: relative;
  margin: 30px auto;
  width: 425px;
}

.tree_item {
  margin: 0 auto;
  width: 0;
  height: 0;
  background: #5f9c2d;
  background: repeating-linear-gradient(
  45deg,
  #458B00,
  #458B00 10px,
  #5f9c2d 10px,
  #5f9c2d 20px
);
  background-position: center 0;
  background-size: 1000px 1000px;
  border-left: 100px solid #091C2B;
  border-right: 100px solid #091C2B;
  border-bottom: 150px solid transparent;
  position: relative;
  z-index: 3;
}

.tree_item:nth-child(2) {
    margin-top: -60px;
    border-left-width: 140px;
    border-right-width: 140px;
    border-bottom-width: 190px;
    z-index: 2;
    background-position: center 23px;
  }
  
.tree_item:nth-child(3) {
    margin-top: -80px;
    border-left-width: 200px;
    border-right-width: 200px;
    border-bottom-width: 250px;
    z-index: 1;
    background-position: center 26px;
  }


.tree_stump {
  margin: 0 auto;
  width: 50px;
  height: 60px;
  background: #8c370f;
  background: linear-gradient(#8c370f, #5c240a);
}
