@font-face {
    font-family: flama-book;
    src: url("../font/flama-book.otf") format("opentype");
}
@font-face {
    font-family: Yrsa-Regular;
    src: url("../font/Yrsa-Regular.otf") format("opentype");
}

html {
    font-size: 1em;
    line-height: 1.4;
 	height: 100%;
}
body {
  	height: 100%;
  	overflow-x: hidden!important;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.overlay {
	background: rgba(0,0,0,0.6);
    position: absolute!important;
    top: 0!important;
    left: 0!important;
    z-index: 99999!important;
    height: 100%!important;
    width: 100%!important;
    background-image: none!important;
}

canvas,
img{
    vertical-align: middle;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
#snowflakes,
#rain_wrapper,
#rain_bg {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	max-width: 100%;
}
#rain_bg {
	width: 100%;
}

body {
	/*background: url('../image/ingredients.png') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
}

body.singlecolor {
	background: #fff200;
}
body.raindrops {
	background: url() center center no-repeat;
	background-size: cover;
}
body.snowflakes {
	background: url() center center no-repeat;
	background-size: cover;
}
body.singleimg {
	background: url() center center no-repeat;
	background-size: cover;
}

#change {
	background:  url('../img/demo/bg.png') no-repeat center center fixed #a6a6a6;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

body {
	/*overflow: hidden;*/
	position: relative;
}

.mainarea {
	text-align: center;
	display: table;
	font-weight: 300;
	height: 100%;
	min-height: 100%;
	position: relative;
	vertical-align: middle;
	width: 100%;
	z-index: 50;
}
.mainarea-content {
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	padding: 46px 0;
	position: absolute;
	text-align: center;
	width: 100%;
	z-index: -1;
	opacity: 0;
	-webkit-transition: all 1000ms ease;
	-moz-transition: all 1000ms ease;
	-ms-transition: all 1000ms ease;
	-o-transition: all 1000ms ease;
	transition: all 1000ms ease;
	-ms-transform: scale(0.3,0.3); /* IE 9 */
    -webkit-transform: scale(0.3,0.3); /* Chrome, Safari, Opera */
    transform: scale(0.3,0.3);
	-webkit-perspective: 1500px;
	-webkit-perspective-origin: 50% 319px;
	-moz-perspective: 1500px;
	-moz-perspective-origin: 50% 319px;
	perspective: 1500px;
	perspective-origin: 50% 319px;
}
.mainarea-content.active {
	opacity: 1;
	z-index: 30;
	-ms-transform: scale(1,1); /* IE 9 */
    -webkit-transform: scale(1,1); /* Chrome, Safari, Opera */
    transform: scale(1,1);
}
.side-page {
	width: 100%;
	top: 50%;
	position: absolute;
	z-index: 1;
}
.side-page .container {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 500ms ease;
	-moz-transition: all 500ms ease;
	-ms-transition: all 500ms ease;
	-o-transition: all 500ms ease;
	transition: all 500ms ease;
}
.side-page.side-left {
	-moz-transform: translate3d(-100%, -50%, -500px) rotateY(75deg);
	-webkit-transform: translate3d(-100%, -50%, -500px) rotateY(75deg);
	-ms-transform: translate3d(-100%, -50%, -500px) rotateY(75deg);
	transform: translate3d(-100%, -50%, -500px) rotateY(75deg);
}
.side-page.side-right {
	-moz-transform: translate3d(100%, -50%, -500px) rotateY(-75deg);
	-webkit-transform: translate3d(100%, -50%, -500px) rotateY(-75deg);
	-ms-transform: translate3d(100%, -50%, -500px) rotateY(-75deg);
	transform: translate3d(100%, -50%, -500px) rotateY(-75deg);
}
.side-page.went-left {
	left: auto;
	-moz-transform: translate3d(-50%, -50%, -300px) rotateY(75deg);
	-webkit-transform: translate3d(-30%, -60%, 300px) rotateY(75deg);
	-ms-transform: translate3d(-50%, -50%, -300px) rotateY(75deg);
	transform: translate3d(-50%, -50%, -300px) rotateY(75deg);
}
.side-page.went-right {
	right: auto;
	-moz-transform: translate3d(50%, -50%, -300px) rotateY(-75deg);
	-webkit-transform: translate3d(30%, -60%, 300px) rotateY(-75deg);
	-ms-transform: translate3d(50%, -50%, -300px) rotateY(-75deg);
	transform: translate3d(50%, -50%, -300px) rotateY(-75deg);
}
.side-page.went-left .container, .side-page.went-right .container {
	-webkit-transform: scale(0.7,0.7)
}
.side-page.went-left, .side-page.went-right {
	z-index: 2000;
	position: absolute;
	cursor: pointer;
}
.side-page.active {
	-moz-transform: translate3d(0%, -50%, 0) rotateY(0deg);
	-webkit-transform: translate3d(0%, -50%, 0) rotateY(0deg);
	-ms-transform: translate3d(0%, -50%, 0) rotateY(0deg);
	transform: translate3d(0%, -50%, 0) rotateY(0deg);
}
.side-page.side-left .container, .side-page.side-right .container {
	opacity: 0;
}
.side-page.went-left .container, .side-page.went-right .container {
	opacity: 0.25;
}
.side-page.went-left:hover .container, .side-page.went-right:hover .container {
	opacity: 0.6;
}
.side-page.active .container {
	opacity: 1 !important;
}

/* ----- Main area ----- */
.mainarea h2 {
	margin: 0 0 57px 0;
	font-family: 'flama-book', sans-serif;
	font-weight: 100;
	font-size: 72px;
	color: #fffefe;
	text-align: center;
}
.mainarea h3 {
	margin: 0 0 35px 0;
	color: #fffefe;
	font-family: 'flama-book', sans-serif;
	font-weight: 100;
	font-size: 48px;
	text-align: center;
}
.mainarea h4 {
	margin: 0 0 25px 0;
	color: #fffefe;
	font-family: 'Exo 2', sans-serif;
	font-weight: 100;
	font-size: 30px;
	text-align: center;
}
.mainarea p {
	margin: 0 0 24px 0;
	font-family: 'Open Sans', sans-serif;
	font-weight: 300;
	color: #fffefe;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
}
.mainarea p a {
	color: #e4e38d;
	text-decoration: none;
}
.mainarea p a:hover {
	text-decoration: underline;
}

#component {
	bottom: 0;
	top: 0;
	height: 100%;
}

.itemwrap {
	width: 880px;
	margin: 0 auto;
	z-index: 50;
}
.itemwrap > li {
	padding-top: 50px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.itemwrap > li > div {
	top: 50%;
	width: 100%;
	position: absolute;
}

.custom-select {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/*------------------------------------------------------------------
[Clock]
*/

#clock {
	width: 100%;
	opacity: 0;
	z-index: -1;
	-webkit-transition: all 1000ms ease;
	-moz-transition: all 1000ms ease;
	-ms-transition: all 1000ms ease;
	-o-transition: all 1000ms ease;
	transition: all 1000ms ease;
	-ms-transform: scale(0.3,0.3);
    -webkit-transform: scale(0.3,0.3);
    transform: scale(0.3,0.3);
}
#clock.active {
	opacity: 1;
	z-index: 30;
	-ms-transform: scale(1,1);
    -webkit-transform: scale(1,1);
    transform: scale(1,1);
}
.clock-container {
	text-align: center;
}

#clock {
	margin-top: 25px!important;
	padding-right: 30px;
}


/*------------------------------------------------------------------
[Twitter]
*/

.twitter-container {
	/*position: absolute;*/
	top: 126px;
	left: 110px;
	min-height: 106px;
	min-width: 290px;
	padding-left: 64px;
	z-index: 50;
	background: url('../img/twitter-bg.png') no-repeat left top;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-top: 25px;
    margin-left: 25px;
}
.twitter {
	margin: 0 19px 16px 19px;
}


.tweet_list {
	list-style: none;
	margin: 0;
	padding-left: 0;
	width: 190px;
}
.tweet_list li {
	font-size: 12px;
	line-height: 15px;
	color: #ffffff;
	font-family: 'Open Sans': sans-serif;
	display: none;
}
.tweet_list li p {
	margin-top:  0;
}

.tweet_list li a {
	color: #fff;
	text-decoration: none;
}
.tweet_list li .tweet_text a {
	font-weight: bold;
}
.tweet_list li .tweet_time {
	display: block;
	margin-top: 13px;
}
.tweet_list .tweet_first {
	display: block;
}

/*------------------------------------------------------------------
[Social]
*/

.social-container {
	position: absolute;
    z-index: 50;
    /* text-align: center; */
    bottom: 20px;
    margin: 0 auto;
    /* width: 100%; */
    right: 30px;
}
.social {
	margin: 0;
	padding: 0;
	list-style: none;
}
.social li {
	float: left;
	margin: 0 8px;
}
.social li a:hover {
	opacity: 0.7;
}

.social-container i {
	color:  #ffffff;
	font-size:  1.3em;
	padding-top: 3px;
}

/* ----- Transition ----- */
.social-icons li a, .social-icons li a img, .social-icons li, .close, .close img, input[type="submit"], .thumbs .thumb {
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;
}

.side-page  {
	-webkit-transition: all 1100ms ease;
	-moz-transition: all 1100ms ease;
	-ms-transition: all 1100ms ease;
	-o-transition: all 1100ms ease;
	transition: all 1100ms ease;
}

footer {
	position: fixed;
	bottom: 0;
	background: #3b424b;
	width: 100%;
	height: 57px;
	font-size: 12px;
	font-family: 'Exo 2', sans-serif;
	color: #b0bfc4;
	line-height: 57px;
	text-align: center;
}


.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}


.commingsoon {
	margin-top: 5%;
}
.h3br {
    font-size: 25px;
    margin-top: 1em;
    display: block;
}