@font-face {
  font-family: 'thumbgrid';
  src: url('thumbgrid-font/font/thumbgrid.eot?44954952');
  src: url('thumbgrid-font/font/thumbgrid.eot?44954952#iefix') format('embedded-opentype'),
  url('thumbgrid-font/font/thumbgrid.woff?44954952') format('woff'),
  url('thumbgrid-font/font/thumbgrid.ttf?44954952') format('truetype'),
  url('thumbgrid-font/font/thumbgrid.svg?44954952#thumbgrid') format('svg');
  font-weight: normal;
  font-style: normal;
}

.thumb-grid img {
  opacity: 0;
}

.thumb-grid.active img {
  opacity: 1;
}

#thumbGrid{
/*  width: 980px;*/
  margin: 0 auto;
}

.thumb-grid {
/*  position: absolute;
  margin: 20px auto;*/
  padding: 0;
  text-align:center;
/*  max-width: 980px;*/
  list-style: none;
  font-size: 0;

}

.thumb-grid li {
/*  position: relative;*/
  display: inline-block !important;

/*  width: 300px;   margin: 10px;*/
/*  height: 225px;*/
  overflow: hidden;
  
  border: 1px solid rgba(0, 0, 0, 0.2);

}

.thumb-grid li img {
  transition:All 1s ease;
  -webkit-transition:All .3s ease;
  -moz-transition:All .3s ease;
  -o-transition:All .3s ease;

  transform: rotate(0deg) scale(1) skew(0deg) translate(0px);
  -webkit-transform: rotate(0deg) scale(1) skew(0deg) translate(0px);
  -moz-transform: rotate(0deg) scale(1) skew(0deg) translate(0px);
  -o-transform: rotate(0deg) scale(1) skew(0deg) translate(0px);
  -ms-transform: rotate(0deg) scale(1) skew(0deg) translate(0px);

}

.thumb-grid li:hover img {
  transform: rotate(0deg) scale(1.3) skew(0deg) translate(0px);
  -webkit-transform: rotate(0deg) scale(1.3) skew(0deg) translate(0px);
  -moz-transform: rotate(0deg) scale(1.3) skew(0deg) translate(0px);
  -o-transform: rotate(0deg) scale(1.3) skew(0deg) translate(0px);
  -ms-transform: rotate(0deg) scale(1.3) skew(0deg) translate(0px);

}

.thumbWrapper {
  cursor: pointer;
}

/* Navigation */

nav.thumbGridNav {
  margin-top: 20px;
  text-align: center;
  direction:ltr;

}

nav.thumbGridNav .indexEl {
  cursor: pointer;
}

nav.thumbGridNav a {
  display: inline-block;
  margin: 0 8px;
  width: 18px;
  line-height:18px;
  height: 18px;
  border-radius: 50%;
  background: #eee;
  color:#000;
  cursor: pointer;
  opacity: 0.7;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;

  overflow: hidden;
/*  text-indent: -1000px;*/
}

nav.thumbGridNav a:hover {
  opacity: 1;
    background: #DDD;
  box-shadow: 0 0 0 1px   rgba(0, 128, 255,0.8);
}

nav.thumbGridNav a.sel {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(0, 128, 255, 0.6);
}

.tg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .95);
  z-index: 15000;
}

.tg-placeHolder {
  background: rgb(30, 33, 35);
  box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}


.tg-placeHolder div{
  -webkit-perspective: 1000;
  /*-webkit-transform: translateZ(0);*/
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
}

.tg-close {
  position: absolute;
  top: 10px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  text-align: right;
}

.tg-close:after {
  content: '\e805';
  font-family: "thumbgrid";
  color: #ffffff;
  font-size: 33px;
  font-weight: 300;
  cursor: pointer;
}

.tg-next {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  text-align: right;
}

.tg-next:after {
  content: '\e801';
  font-family: "thumbgrid";
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
}

.tg-prev {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
}

.tg-prev:after {
  content: '\e800';
  font-family: "thumbgrid";
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
}

.tg-spinner{
  position: absolute;
  top: 50%;
  right: 50%;
  margin-top: -40px;
  margin-left: -40px;
  background: transparent;
  width: 80px;
  height: 80px;
}

.ss-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  max-width: 90%;
  margin-left: 5%;

}


/******** DEMO SWITCHER *******/


#customize {
  display: inline-block;
  margin-top: -30px;
  position: absolute;
  color: white;
  text-align: right;
}


#customize input, #customize select {
  font-size: 17px;
  margin: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  color:#fff;
  background-color: rgba(0, 0, 0, 0.2)
}

#customize select {
  margin: 0;
  background-image: url(thumbgrid-font/font/downArrow.svg);
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 25px;
  outline: none;
  overflow: hidden;
  text-indent: 0.01px;
  text-overflow: '';
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  vertical-align: middle;

}

#customize label {
  font-size: 16px;
  margin: 3px 0;
  padding: 3px 0;
  width: 150px;
  display: inline-block;
}


