body {
	font-family: 'Kanit', sans-serif;
}
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, h1, h2, h3, h4, h5, h6 {
	font-family: 'Kanit', sans-serif;
}

::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {  
	background-color: #eaeaea;  
	border-left: 1px solid #ccc;  
}  
::-webkit-scrollbar-thumb {  
	background-color: #ccc;  
}  
::-webkit-scrollbar-thumb:hover {  
	background-color: #aaa;  
}

.uk-accordion-content label { cursor: pointer; }

/*input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #ccc;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]::-moz-range-thumb {
  border: 1px solid #ccc;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background: #ffffff;
  cursor: pointer;
}

input[type=range]::-ms-thumb {
  border: 1px solid #ccc;
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background: #ffffff;
  cursor: pointer;
}*/


#main-header { background: rgba(0, 0, 0, 0.4); }
.random-quote p {
	color: #dadada;
	margin: 0;
	font-size: .98em;
}

#range-slider .thumb {
	position: absolute;
	text-align: center;
}
.uk-range:focus { border: 0; }

.hero h1 {
	font-weight: bold;
	margin: 0;
	line-height: 1;
}
.hero small {
	font-style: italic;
}

.collapsible-header {
	position: relative;
	background-color: #ffffffe0;
	-webkit-transition: background-color .4s ease;
	-moz-transition: background-color .4s ease;
	-o-transition: background-color .4s ease;
	transition: background-color .4s ease;
}
.collapsible-header.active { background-color: #fff; }
.collapsible-header .current {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #bbb;
	transform: none;
	transition: all .3s ease;
}
.collapsible-header .current.animate {
	transform: scale(1.3);
}
.collapsible-header .current .avatar {
	width: 30px;
	height: 30px;
	margin-top: -6px;
	opacity: .8;
}
.collapsible-body { background: #eee; }

.collapsible .collapsible-body {
	margin: 0;
	max-height: 400px;
	overflow: auto;
}
.choices .collapsible-body > span {
	display: inline-block;
	margin-bottom: 8px;
}

.choose-time label.last-choice { font-style: italic; }

.choose-background .collapsible-body {
}

.choose-background .collapsible-body .thumb-area {
	position: relative;
	z-index: 1;
}

.choose-background .collapsible-body .thumb {
	position: relative;
	display: inline-block;
	padding: 6px 5px;
}
.choose-background .collapsible-body .thumb img {
	opacity: .8;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	transition: .3s ease;
}
.choose-background .collapsible-body .thumb:hover img {
	opacity: 1;
}
.choose-background .collapsible-body .thumb.video:after {
	content: "play_circle_outline";
	font-family: "Material Icons";
	position: absolute;
	left: 35%;
	top: 22%;
	font-size: 40px;
	color: #ffffff70;
	-webkit-font-feature-settings: "liga";
}
.choose-background .thumb-area .material-icons {
	position: absolute;
	opacity: 0;
	top: 10px;
	left: 10px;
	color: #333;
	background: rgba(255, 255, 255, 0.67);
	width: 20px;
	height: 20px;
	font-size: 16px;
	line-height: 20px;
	cursor: pointer;
	z-index: 10;
	-webkit-transition: .6s ease;
	-moz-transition: .6s ease;
	-o-transition: .6s ease;
	transition: .6s ease;
}
.choose-background .thumb-area .material-icons:hover {
	background: #fff;
}
.choose-background .collapsible-body .thumb-area:hover .material-icons {
	opacity: 1;
}
.choose-background .thumb-area.active .material-icons {
	background: #333;
	color: #fff;
	opacity: 1;
}
.collapsible-body .thumb img {
	width: 120px;
	height: 90px;
	border-radius: 6px;
}

.music-list {
	padding-top: 1em;
	margin-bottom: 0;
}
.music .play {
	display: block;
	padding: 10px 0;
}
.music.active .play a {
	font-weight: bold;
	color: #2196f3;
}

.switch label input[type=checkbox]:checked+.lever { background-color: #64B5F6; }
.switch label input[type=checkbox]:checked+.lever:after { background-color: #2196f3; }

.ClassyCountdown-days, .ClassyCountdown-hours { display: none !important; }

/*========================================================================= COUNTDOWN SLIDER =========================================================================*/
.new-counter .thumb { display: none; }
.slider-fancy {
	display: block;
	-webkit-appearance: none;
	width: 100%;
	height: 5px;
	background: rgba(255, 255, 255, 0.15);
	outline: none;
	-webkit-transition: .3s ease;
	-moz-transition: .3s ease;
	-o-transition: .3s ease;
	transition: .3s ease;
}
.slider-fancy:focus {
	outline: none;
	border: 0;
}
.slider-fancy::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 0;
	height: 0;
	background: #000;
	cursor: pointer;
}

.slider-fancy::-moz-range-thumb {
	width: 0;
	height: 0;
	background: #000;
	cursor: pointer;
}

/*========================================================================= PAGE MOVE =========================================================================*/
.page-move > .container > .wrap { margin-top: 1em; }
.page-move {
	position: absolute;
	top: -100vh;
	left: 0;
	width: 100%;
	opacity: 0;
	z-index: -1;
	-webkit-transition: opacity 1.3s ease, top 1.8s cubic-bezier(0.65, 0.05, 0.36, 1);
	-moz-transition: opacity 1.3s ease, top 1.8s cubic-bezier(0.65, 0.05, 0.36, 1);
	-o-transition: opacity 1.3s ease, top 1.8s cubic-bezier(0.65, 0.05, 0.36, 1);
	transition: opacity 1.3s ease, top 1.8s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.page-move.active {
	top: 0;
	opacity: 1;
	z-index: 1;
}

/*========================================================================= PAGE COUNTDOWN =========================================================================*/
section[data-theme-color="white"] span, section[data-theme-color="white"] small, section[data-theme-color="white"] p { color: white; }
section[data-theme-color="black"] span, section[data-theme-color="black"] small, section[data-theme-color="black"] p { color: black; }
section[data-theme-color="white"] a .material-icons { color: white; }
section[data-theme-color="black"] a .material-icons { color: black; }
section[data-theme-color="white"] a, section[data-theme-color="white"] a small { color: white; }
section[data-theme-color="black"] a, section[data-theme-color="black"] a small { color: black; }
#countdown-container {
	position: relative;
	font-weight: bold;
	width: 100%;
	-webkit-transition: opacity .8s ease, -webkit-transform 1s ease;
	-moz-transition: opacity .8s ease, -moz-transform 1s ease;
	-o-transition: opacity .8s ease, -o-transform 1s ease;
	transition: opacity .8s ease, transform 1s ease;
}
#countdown-container.resize-animate {
	opacity: 0;
	-webkit-transform: scale(.5);
	-moz-transform: scale(.5);
	-ms-transform: scale(.5);
	-o-transform: scale(.5);
	transform: scale(.5);
}
#countdown-container.resized {
	float: right;
	text-align: right;
	margin-top: -70px;
}
#opacity {
}
.detail { margin-right: 10px; }
.counter.detail {
	display: inline-block;
	min-width: 65px;
}
.detail i {
	position: relative;
	top: 3px;
}
.music.detail { position: relative; }
.volume {
	opacity: 0;
	position: absolute;
	top: 2px;
	min-width: 150px;
	width: 100%;
	-webkit-transition: opacity .3s ease;
	-moz-transition: opacity .3s ease;
	-o-transition: opacity .3s ease;
	transition: opacity .3s ease;
}
.volume.active { opacity: 1; }
.volume .vol-off {
	float: left;
	width: 18px;
	text-align: center;
}
.volume .vol-up {
	float: right;
	width: 18px;
	text-align: center;
}
.volume .range-field {
	float: left;
	width: 114px;
}
#volume-slider {
	position: relative;
	top: -3px;
	margin: 0;
}
i.play-pause, i.volume-trigger {
	cursor: pointer;
}

.details-area ul.rules { margin: 0; }
.details-area ul.rules li { display: inline-block; }

/*========================================================================= SANDTIMER =========================================================================*/
#sand-timer {
	max-width: 300px;
	margin: auto;
}
#sand-timer .image-area {
	position: relative;
}
#sand-timer .sand {
	position: absolute;
	width: 50%;
	height: 18%;
	background: linear-gradient(transparent 50%, sandybrown 0%);
	right: 0;
	left: 0;
	margin: auto;
	z-index: -1;
}
#sand-timer .sand.upper {
	top: 27%;
}
#sand-timer .sand.lower {
	bottom: 23%;
}
#sand-timer img {}

/*========================================================================= PAGE CONGRATULATIONS =========================================================================*/
#congratulations .out { font-style: italic; }


