@charset "UTF-8";

/* Non-grid specific CSS */
body {
 	margin: 0px;
	color: #374046;
	background-color:rgba(50,50,50,1.00);
	font-family: 'Gudea', sans-serif;
	font-size: 18px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 200vw;
	overflow-x: hidden;
}
html {
	overflow-x: hidden;
}
strong {
	color:lightgrey;
}
.logo_back_color{
	width:100%;
	height:120px;
	position: fixed;
	background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0));
	z-index: 9990;
	pointer-events: none;
}

#logo{
	width: 55px;
	height: 18.5px;
	background-size: 55px;
	background-image: url("../images/main/c_g_logo@2x.png");
	position: fixed;
	top: 50px;
  	left: 80px;
	z-index: 10000;
}

#section {
	position: relative;
	float: left;
	width: 82%;
	margin-left: 9%;
}

.item {
	display: none;

}
.item:hover{
	border-color: rgba(255,255,255,1.00);
	outline: solid 10px darkgrey;
	cursor: pointer;
}
.imgContainer{
	position: relative;
	//background-color: darkorange;
	width: 100%;
	//padding-bottom: 100%;
}
.mainNews .imgContainer{
	position: relative;
	float:right;
	width: 50%;
	padding-bottom: 50%;
}
.imgContainer img{
	//position: absolute;
	top:0px;
  width: 100%;
  object-fit: cover;
  height: 100%;
	//filter: grayscale(100%);
	//mix-blend-mode: multiply;
  //opacity: 0.5;
}
.mainPhotothumb{
  position: absolute;
	top:0px;
  width: 100%;
  object-fit: cover;
  height: 100%;
}
.photothumb{
  width: 100%;
	position: relative;
	top:0px;
}

.mainNewsContainer{
	position: relative;
	width: 100%;
	padding: 0px;
	margin-top: 100px;
	margin-bottom: 50px;
	float: left;
	z-index: 1001;
	cursor: pointer;
}

.box {
	width: 200%;
	height: 250px;
	background-color:rgba(80,80,80,0.20);
  	position: fixed;
  	top: 50%;
  	left: -20%;
  	margin-top: -50px;
  	margin-left: -50px;
	transform: rotate(-5deg);
  	animation: rotate 1s linear infinite;
  	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
}


@keyframes rotate {
  to {
    transform: rotate(60deg);
  }
}
@keyframes antiRotate {
  to {
    transform: rotate(-60deg);
  }
}
@keyframes moveUp {
  to {
    transform:translateY(-10vw);
  }
}@keyframes moveDown {
  to {
    transform:translateY(40vw);
  }
}
 .line1{
	width: 200%;
	height: 50%;
	left: -25%;
	border-bottom: 1px solid darkgray;
	position: absolute;
	transform: rotate(20deg);
	z-index: 1100;
	transform-origin: center;
	animation: rotate 1s linear infinite;
 	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
}
 .line2{
	width: 200%;
	height: 15%;
	left: -25%;
	border-bottom: 1px solid gray;
	position: absolute;
	transform: rotate(-10deg);
	z-index: 1100;
	transform-origin: center;
	animation: antiRotate 1s linear infinite;
 	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
}
 .line3{
	width: 200%;
	height: 15%;
	left: -25%;
	border-bottom: 1px solid gray;
	position: absolute;
	transform: rotate(5deg);
	z-index: 1100;
	transform-origin: center;
	animation: rotate 1s linear infinite;
 	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
}

.mainNews{
	position: relative;
	width: 90%;
	padding: 0px;
	left: 5%;
	margin-top: 100px;
	margin-bottom: 50px;
	float: left;
	outline: 1px solid darkgray;
    outline-offset: 0px;
	z-index: 1002;

}

.eventTitle{
	position: absolute;
	width: 70%;
	left:15%;
	top:28%;
	line-height: 0%;
}

.mainNews p1{
	font-family: 'Kanit', sans-serif;
	font-size: 40px;
	line-height: 35px;
	text-align: left;
	color: rgba(100,100,100,1.0);
	text-shadow: 2px 2px 0px darkgrey;
	//background-color: black;
}
.mainNews p2{
	font-family: 'Kanit', sans-serif;
	font-size: 20px;
	line-height: 15px;
	text-align: left;
	font-weight: 400;
	color: rgba(200,200,200,1.00);
	text-shadow: 1.8px 1.8px 3px black;
	//background-color: black;
}
.mainNews p3{
	font-family: 'Noto Serif TC', serif;
	font-size: 20px;
	line-height: 20px;
	text-align: left;
	font-weight: 400;
	color: darkgray;
	text-shadow: 1.2px 1.2px black;
}
.mainNews p5{
	font-family: 'Noto Serif TC', serif;
	font-size: 15px;
	text-align: left;
	font-weight: 400;
	color: darkgray;
	text-shadow: 1.2px 1.2px black;
}
.mainNews p4{
	font-family: 'Kanit', sans-serif;
	font-size: 15px;
	line-height: 20px;
	text-align: left;
	font-weight: 400;
	color: darkgray;
	text-shadow: 1.2px 1.2px black;
}
.mainNews p6{
	line-height: 40px;
}

.eventType{
	background-color: rgba(0,0,0,0.50);
	padding-left: 5px;
	padding-right: 5px;
	position: absolute;
	left:-12%;
	top:50%;
	font-family: 'Kanit', sans-serif;
	font-size: 12px;
	color: darkgray;
	z-index: 1000;
}

.bigDate{
	position: absolute;
	left:-12%;
	top:-23%;
	font-family: 'Kanit', sans-serif;
	font-size: 12vw;
	color: rgba(50,50,50,0.00);
  	-webkit-text-stroke-width: 1px;
  	-webkit-text-stroke-color: darkgray;
	z-index: 1000;
}

.newsPhotothumb{
	float: right;
  	width: 50%;
	z-index: 1000;
}

.highlight_back_color{
	position: absolute;
	top:-300px;
	left:0%;
	float: left;
	width: 110%;
	height: 1000px;
	background-color:rgba(36,36,36,0.50);
	transform: rotate(-5deg);
	transform-origin: center;
	animation: antiRotate 1s linear infinite;
 	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
	z-index: 0;
}

.highlight_back_color_container{
	position: relative;
	float: left;
	width: 100%;
	z-index: 0;
}

.highlight{
	position: relative;
	//overflow: hidden;
	top:0px;
	left: 12%;
	float: left;
	width: 76%;
	height: 420px; //highlight hight grayBackground
	//background-color: rgba(255,255,255,0.6);
	background-image: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
	//outline: 30px solid rgba(30,30,30,0.5);
    //outline-offset: 30px;
	z-index: 1500;
	transform:translateY(5vw);
	animation: moveUp 1s linear infinite;
 	animation-play-state: paused;
  	animation-delay: calc(var(--scroll) * -1s);

  	animation-iteration-count: 1;
  	animation-fill-mode: both;
}

.highlight_item{
	position: relative;
	float: left;
	box-shadow: inset 0px -20px rgba(150,150,150,1.0);
	width: 30%;
	margin-top: 20px;
	margin-left: 10%;
	margin-right: 10%;
	height: 160px;
	text-indent: 5%;
	line-height: 0%;
	z-index: 1600;
	cursor: pointer;
}
.highlight_item h1:hover{
	color: rgba(50,50,50,0.10);
}

.highlight_item h1{


	position: relative;
	left:0%;
	top:0%;
	font-family: 'Dosis', sans-serif;
	font-size: 53px;
	letter-spacing: 5px;
	line-height: 30px;
	color: rgba(150,150,150,0.50);
	text-align: left;
  	-webkit-text-stroke-width: 2px;
	-webkit-text-stroke-color: rgba(220,220,220,1.00);
}
.highlight_item h2{
	font-family: 'Noto Serif TC', serif;
	font-size: 30px;
	text-align: left;
	font-weight: 400;
	color: rgba(220,220,220,1.00);
}

.footer{
	margin-top: 100px;
	padding-top: 100px;
	padding-bottom: 500px;
	border-top: 1px solid darkgray;
	width: 100%;
	z-index: 3000;
}
.footer a {
  color: darkgray;
}

.footer_column1{
	float: left;
	width: 20%;
}

.footer_column2{
	float: left;
	width: 50%;
}
.footer_column3{
	float: left;
	width: 30%;
}


.footer_column1_item h1{
	font-family: 'Kanit', sans-serif;
	font-size: 25px;
	text-align: left;
	font-weight: 400;
	color: rgba(50,50,50,0.6);
	text-shadow: 1px 1px darkgray;
}
.footer_column2_item h1{
	font-family: 'Kanit', sans-serif;
	font-size: 25px;
	text-align: left;
	font-weight: 400;
	color: rgba(50,50,50,0.6);
	text-shadow: 1px 1px darkgray;
}
.footer_column3_item h1{
	font-family: 'Kanit', sans-serif;
	font-size: 25px;
	text-align: left;
	font-weight: 400;
	color: rgba(50,50,50,0.6);
	text-shadow: 1px 1px darkgray;
}

.footer_column2_item p1{
	font-family: 'Kanit', sans-serif;
	font-size: 12px;
	text-align: left;
	font-weight: 400;
	color: darkgray;
	line-height: 0%;
}
.footer_column2_item p2{
	font-family: 'Noto Serif TC', serif;
	font-size: 12px;
	text-align: left;
	font-weight: 400;
	color: darkgray;
	line-height: 40%;
}
.footer_icon{
	position: relative;
	left:30px;
	width: 30px
}

#smallPhoto{
 	 width: 360px;
	float: left;
}

p{
	font-style: italic;
}

.title {
	position: relative;
	top: 0px;
	margin: 0px;
  	padding: 10px 10px 10px 10px;
  	font-family: 'Dosis', sans-serif;
 }

.title h3{
  font-size: 1.2em;
  color: #ffffff;
  text-transform: uppercase;
}
.title p1{
  font-size: 20px;
  color: #ffffff;
  text-transform: uppercase;
}
.title p2{
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
}
.eventPageTitle{
	padding-top: 100px;
	color: #000000;
}
.eventPageTitle h1{
	font-family: 'Kanit', sans-serif;
	font-size: 20px;
	color:darkgray;
	text-align: left;
}

.about .title h4{
  font-size: 28px;
  color: #ffffff;
}
.about .title p3{
  font-size: 14px;
  color: #ffffff;
}

.desc{
  padding: 0px;
}

.desc img{
  width: 49%;
  margin: 10px 1% 15px 0px;

}
.desc video{
	margin: 10px 10px 10px 0;
}

.desc p{
	font-size: 18px;
	color:darkgray;
  margin-bottom: 10px;
}
.desc h4{
	color:lightgrey;
}


.descTxt{
	width: 49%;
	margin: 10px 0px 15px 1%;
  	float: right;
}

#copyright {
	float:left;
	display: block;
	width:100%;
	padding-top:30px;
	padding-bottom:30px;
	text-align: left;
	font-family: 'Mallanna', sans-serif;
	font-size: 14px;
	color: darkgray;
}

#biography{
	 width: 70%;
}

#participated{
	 width: 50%;
}

#biography td {
	font-style: italic;
  padding-top: 20px;
}


/*
 * Made by Erik Terwan
 * 24th of November 2015
 * All rights reserved
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */


a
{
  text-decoration: none;
  //color: #232323;
	color: lightgrey;

  //transition: color 0.3s ease;
}

a:hover
{
  color: gray;
}


#menuToggle_container
{
	display: block;
  position: fixed;
	width: 43px;
  height: 32px;
	top: 42px;
  right: 80px;
	z-index: 10001;
}

#menuToggle
{
  display: block;
  position: relative;
  top: 5px;
  left: 5px;

  z-index: 2003;

  -webkit-user-select: none;
  user-select: none;
}

#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2005; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #8D8D8D;
  border-radius: 3px;

  z-index: 2004;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */

#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #8D8D8D;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#h-menu
{
	font-family: "Avenir Next", "Avenir", sans-serif;
  position: absolute;
  width: 100vw;
	text-align: center;
  margin: -100px 0 0 100px;
	left: -100vw;
  padding-top: 180px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 1500px;
	z-index: 2002;

  background: rgba(230,230,230,0.95);
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

   transform-origin: 0% 0%;
  transform: translate(0, -100%);
	opacity: 0;

  transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
/* transition: opacity 0.5s cubic-bezier(0.77,0.2,0.05,1.0);*/
}

#h-menu li
{
  padding: 10px 0;
  font-size: 25px;
}

#h-menu p1{
  font-size: 16px;
  color: gray;
}
#h-menu p2{
	font-family: 'Dosis', sans-serif;
  font-size: 45px;
  color: #000000;
}

/*
 * And let's slide it in from the left
 */
#menuToggle input:checked ~ ul
{
  transform: none;
	opacity: 1;
}
#nav_shopping_cart a{
  color: black;
}
#nav_shopping_cart {

	line-height: 32px;
	font-family: 'Dosis', sans-serif;
	font-size: 15px;

	text-align: center;
	/*background-color: rgba(0,0,0,0.30);*/
  background-color: rgba(255, 255, 255,0.60);
  border: none;
	display: block;
  position: fixed;
	width: 120px;
  height: 32px;
	top: 125px;
  right: 0px;
	z-index: 9999;
	cursor: pointer;
}

#back_container
{
	font-family: 'Dosis', sans-serif;
	font-size: 15px;
	color: #8D8D8D;
	text-align: left;
	background-color: rgba(0,0,0,0.30);
  border: none;
	display: block;
  position: fixed;
	width: 120px;
  height: 32px;
	top: 85px;
  right: 0px;
	z-index: 9999;
	cursor: pointer;
}
#decongestant_btn{
	width:100px;
	float: left;
	margin-right: 5px;
}
#bed_btn{
	width:100px;
	float: left;
	margin-right: 5px;
}
figure {
  margin: 0px;
}

figcaption {
	width: 49%;
	border: thin;
  color: white;
	margin-top: -15px;
	padding-bottom: 20px;
  font-style: italic;
	font-size: 14px;
}

table, th, td {
  	border: 1px solid black;
	padding: 10px;
	border-color: darkslategrey;
  	border-collapse: collapse;
}

/* SimpleCart CSS */




.simpleCart_shelfItem {


  display: table;
  }
.simpleCart_shelfItem #verCenter{
    display: table-cell;
  vertical-align:middle;
}
.product_details_image {
  position: absolute;
  left:10px;
  width: 400px;
  height: 500px;
  display: table;
  }
.product_details_image #verCenter{
  display: table-cell;
  vertical-align:middle;
}

  .simpleCart_shelfItem h3 {
  color: #aba;
  font-size: 15px;
  font-weight: bold;
  }
  .simpleCart_shelfItem h2 {
  color: #333;
  font-size: 12px;
  margin-top: -18px;
  font-weight: normal;
  }
  .simpleCart_shelfItem h4 {
  color: #aba;
  font-size: 15px;
  font-weight: bold;
  margin-top: 35px;
  }
  .simpleCart_shelfItem price {
  color: #333;
  font-size: 15px;
  margin-top: -18px;
  font-weight: normal;
  }
.simpleCart_shelfItem .item_add {
  display: block;
  width: 120px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  background-color: grey;
  font-size: 13px;
  color: red;
  cursor: pointer;
}
.simpleCart_shelfItem .item_add p {
  position: relative;
  color: red;
}
.simpleCart_shelfItem .item_add:hover
{
  background-color: darkgray;
}
#cart_table {
  margin: auto;
  color: #666;
}
table { border-collapse: collapse; border-spacing: 0; }
    .simpleCart_items table{
      margin-top:10px;
      width:100%;
      color:lightgrey;
      border: 0px solid black;
    }
    .simpleCart_items th{
  text-align: left;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 14px;
  color: lightgrey;
  padding: 10px 10px;
  border: 3px;
    }
    .simpleCart_items td{
      border: 0px solid black;
      padding:10px 10px;
      vertical-align:middle;
    }

    .simpleCart_items tr:nth-child(even) {
  background-color: #666666;
}
#checkoutDiv{
  float: right;
  font-family: "Avenir Next", "Avenir", sans-serif;
	font-size: 23px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
  border-radius:15px;
  -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
  width: 500px;
  height: 40px;
  background-color: #666666;
  line-height: 40px;
}
#paypal_logo {
float: right;
  width: 110px;
  height: 30px;
}
#paypal_logo img{
  padding-top: 6px;
  padding-bottom: : 6px;
  padding-right: 10px;
  height: 28px;
}
#checkoutTxt{
  float: right;
}

.item-image,
.item-image img{width:80px;}
.item-thumb img{width:80px;}
.item-name{
  width:100px;
}
.item-quantity,
.item-quantity input{
      text-align:left;
}
.item-price,
.item-subtotal{width:50px;}

h5 {
  top: 10px;
  font-size: 20px;
  text-align: right;
}
.simpleCart_checkout {
  position: relative;
  padding: 10px;
  display: block;
  color: #ffffff;
  cursor: pointer;
  margin-top: -27px;
  margin-bottom: 100px;
  float: right;
  clear: both;
}
.simpleCart_checkout span {
  position: relative;
  left: 10px;
  top: 2px;
}
.simpleCart_checkout:hover
{
  background-color: #55D1CA;
}
.addToCartBtnClicked {
  animation: myfirst 300ms;
}
@keyframes myfirst {
  0%   {width: 120px; background-color: rgba(255, 255, 255,0.60);}
  50%  {width: 150px; background-color: rgba(255, 153, 0,0.90);animation-timing-function: ease-in-out;}
  100% {width: 120px; background-color: rgba(255, 255, 255,0.60);}
}
