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

Primary style

-------------------------------- */
/**, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Source Sans Pro", sans-serif;
  color: #34383c;
  background-color: #ffffff;
}*/
body.overflow-hidden {
  /* used when modal is visible */
  overflow: hidden;
}

/*a {
  color: #03bb91;
  text-decoration: none;
}*/

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

Main Components 

-------------------------------- */
/*header {
  position: relative;
  height: 160px;
  line-height: 160px;
}
header h1 {
  font-size: 2.4rem;
  text-align: center;
}
@media only screen and (min-width: 1170px) {
  header {
    height: 240px;
    line-height: 240px;
  }
  header h1 {
    font-size: 3.2rem;
    font-weight: 300;
  }
}*/

.cd-section {
  padding: 2em 5%;
  text-align: center;
  background-color: #03bb91;
}
.cd-section p {
  margin: 2em 0;
  line-height: 1.6;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media only screen and (min-width: 768px) {
  .cd-section {
    padding: 4em 10%;
  }
  .cd-section p {
    font-size: 1.8rem;
    line-height: 2;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-section {
    padding: 4em 20%;
  }
}

.cd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 0s 0.3s, opacity 0.3s 0s;
  -moz-transition: visibility 0s 0.3s, opacity 0.3s 0s;
  transition: visibility 0s 0.3s, opacity 0.3s 0s;
}
.cd-modal::after {
  /* gradient overlay at bottom of modal window */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  pointer-events: none;
  background: transparent;
  background: -webkit-linear-gradient( bottom , #34383c, rgba(52, 56, 60, 0));
  background: linear-gradient(to top, #34383c, rgba(52, 56, 60, 0));
}
.cd-modal .cd-modal-content {
  height: 100%;
  width: 100%;
  padding:0 5% 3em 5%;
  text-align: left;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-modal p {
  color: #ffffff;
  line-height: 1.6;
  margin: 2em 0;
}
.modal-is-visible .cd-modal {
  visibility: visible;
  opacity: 1;
  -webkit-transition: visibility 0s 0s, opacity 0.3s 0s;
  -moz-transition: visibility 0s 0s, opacity 0.3s 0s;
  transition: visibility 0s 0s, opacity 0.3s 0s;
}
@media only screen and (min-width: 768px) {
  .cd-modal .cd-modal-content {
    padding: 4em 10%;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-modal .cd-modal-content {
    padding: 6em 20%;
  }
  .cd-modal p {
    font-size: 2rem;
    line-height: 2;
  }
}

.cd-modal-action {
  position: relative;
}
.cd-modal-action .btn, .cd-modal-action .cd-modal-bg {
  display: inline-block;
  height: 2.5em;
  background-color: rgba(0, 0, 0, 0.8);
}
.cd-modal-action .btn {
  width: 5.5em;
  border-radius: 5em;
  color: #ffffff;
  line-height: 2.5em;
  white-space: nowrap;
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transition: color 0.2s 0.3s, width 0.3s 0s;
  -moz-transition: color 0.2s 0.3s, width 0.3s 0s;
  transition: color 0.2s 0.3s, width 0.3s 0s;
}
.cd-modal-action .btn.to-circle {
  width: 4em;
  color: transparent;
  -webkit-transition: color 0.2s 0s, width 0.3s 0.2s;
  -moz-transition: color 0.2s 0s, width 0.3s 0.2s;
  transition: color 0.2s 0s, width 0.3s 0.2s;
}
.cd-modal-action .cd-modal-bg {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4em;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transform: translateX(-2em);
  -moz-transform: translateX(-2em);
  -ms-transform: translateX(-2em);
  -o-transform: translateX(-2em);
  transform: translateX(-2em);
  -webkit-transition: visibility 0s 0.5s;
  -moz-transition: visibility 0s 0.5s;
  transition: visibility 0s 0.5s;
}
.cd-modal-action .cd-modal-bg.is-visible {
  opacity: 1;
  visibility: visible;
}

.cd-modal-close {
  position: fixed;
  z-index: 1;
  top: 20px;
  right: 5%;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3) url(../img/cd-icon-close.svg) no-repeat center center;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  -webkit-transform: transateZ(0);
  -moz-transform: transateZ(0);
  -ms-transform: transateZ(0);
  -o-transform: transateZ(0);
  transform: transateZ(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
  transition: transform 0.3s 0s, visibility 0s 0.3s, opacity 0.3s 0s;
}
.no-touch .cd-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-is-visible .cd-modal-close {
  visibility: visible;
  opacity: 1;
  -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  transition: transform 0.3s 0s, visibility 0s 0s, opacity 0.3s 0s;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
@media only screen and (min-width: 768px) {
  .cd-modal-close {
    top: 70px;
  }
}
/*2018/7/17 new add*/
.gItemBox {
  width:100%;
  height: auto;
  padding: 6px 1% 6px 2%;
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  box-sizing: border-box;
}
.gItems {
  position: relative;
  width:32%;
  height: auto;
  text-align: left;
  font-size: 1rem;
  box-sizing: border-box;
  padding: 5px;
  background-color: #fff;
  margin: 0 0.5% 5px 0.5%;
}
.temple_soldout_icon1 {
	position: absolute;
	left: 10%;
	right:10%;
	top: 7vw;
	z-index: 100;
}
.gItemsImg { width: 100%; height:0; padding-bottom:100%; }
.gItemsText {
  width: 90%;
  height: auto;
  padding: 4px 5%;
}
.TextLine0 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  width: 100%;
  height: 2.5rem;
  color: #414141;
  font-size: 1rem;
  line-height: 1.25rem;
  overflow: hidden;
  text-overflow:ellipsis;
  word-break:break-all;
  margin-top: 7px;

}
.TextLine1 {
  width: 60%;
  height: 1.4rem;
  color: #D81C25;
  font-size: 1.3rem;
  line-height: 1.4rem;
  float: left;
  margin-top: 7px;

}
.TextLine2 {
  width: 40%;
  height: 1.4rem;
  color: #7F7F7F;
  font-size: 1rem;
  line-height: 1.4rem;
  float: right;
  margin-top: 7px;
}
.gItemsBtn {
  width: 100%;
  height: auto;
  color: #fff;
  background-color: #F02D23;
  text-align: center;
  height: 2rem;
  font-size: 1rem;
  line-height: 2rem;
  margin-top: 7px;
}
.TextLine3 {
  font-size: 1rem;
  height: 1.2rem;
  line-height: 1.2rem;
  overflow: hidden;
  color: #808080;
  text-overflow:ellipsis;
  white-space: nowrap;
}
.itemIcon1{
	width: 35%;
	position: absolute;
	top: 0;
	left: 0;
	z-index:1;
}
.itemOrder{
	position: absolute;
	top:10% !important;
	width:90%;
}
.itemOrder img { 
	width:100%;
	height:auto;
}