.eBlock .btnStyle, .btnStyle {
	display: inline-block;
	overflow: visible;
	text-transform: none;
	border: 1px #CCC solid;
	background-color: #DDD;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
	background-image: -webkit-linear-gradient(top, #FFF, #DDD);
	background-image: -moz-linear-gradient(top, #FFF, #DDD);
	background-image: -ms-linear-gradient(top, #FFF, #DDD);
	background-image: -o-linear-gradient(top, #FFF, #DDD);
	background-image: linear-gradient(to bottom, #FFF, #DDD);
	padding: 5px;
	font: 16px "微軟正黑體", Heiti TC, "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
	color: #333;
	margin: 10px 10px 20px 10px;
	border-radius: 3px;
	padding: 10px 15px;
	outline: none;
}
.eBlock .btnStyle:hover, .btnStyle:hover {
	background: #EEE;
	cursor: pointer;
}
.eBlock .btnStyle i, .btnStyle i {
	padding-right: 5px;
}
/* ============================================================ 
   Created by Steve
=============================================================== */
#add_album.panel {
	position: relative;
	padding: 10px;
	border: 2px dashed #CCC;
	margin-top: 20px;
}
.edit_panel {
	display: block;
	width: 770px;
	height: 150px;
	background-color: #00ffff;
	padding: 10px;
	border-style: dashed;
	border-width: 2px;
	border-color: #999999;
}
.button .action_button {
	border-style: solid;
	border-color: #cccccc;
	border-width: 1px;
	border-radius: 5px;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 12px;
	color: #333333;
}
.button.small {
	font-size: 10px;
	margin: 0px;
	padding: 4px;
}
.small-button {
	font-size: 10px;
	margin: 0px;
	padding: 4px;
}
.button.tag {
	font-size: 16px;
	margin: 4px;
	padding: 4px;
}
.dropzone {
	font-size: 2em;
	background: rgba(0,154,145,0.15);
	border: none;
	height: auto;
	max-height: 100%;
}
.act_result {
	background: #de2c29;
	color: #FFF;
	font-size: 16px;
	border: none;
	padding: 4px;
	margin: 0px 0px 10px 10px;
	display: none;
}
/* ============================================================ 
   album_list.htm
=============================================================== */
.wm_album h3.tag_title {
	padding: 10px 10px 5px 20px;
}
.wm_album {
	width: 100%;
	overflow: hidden;
	position: relative;
}
/* tag */
.wm_album .button {
	display: inline-block;
	padding: 8px 12px;
	margin: 10px 10px 0px 0px;
	color: #FFF;
	background: #7e71a6;
	/*background-image: linear-gradient( hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.1) );border: 0;*/
	font-family: "微軟正黑體";
	font-size: 16px;
	outline: none;
	border: none;
	transition: all 0.25s ease;
	-webkit-transition: all 0.25s ease;
}
.wm_album .button:enabled {
	cursor: pointer;
}
.wm_album .button:enabled:hover {
	background: #dddddd;
	color: #7f7e88;
}
.wm_album .button.is-checked, .button.is-selected {
	background: #dddddd;
	color: #0067aa;
	outline: none;
}
.wm_album .button:active {
	background: ##7e71a6;
	color: #FFF;
	outline: none;
}
.wm_album .button input[type="radio"] {
	display: none;
}
.wm_album .button-group {
	margin: 0px 0px 20px 20px;
}
.wm_album .button-group:after {
	content: '';
	display: block;
	clear: both;
}
.wm_album .button-group .button {
	float: left;
	border-radius: 0;
}
/*Searching bar*/
.wm_album .albumSearch {
	position: absolute;
	top: 0;
	right: 0;
}
.wm_album .albumSearch > i {
	display: inline-block;
	color: #333;
	font-size: 18px;
}
.wm_album .albumSearch > input[type="text"] {
	font-family: "微軟正黑體";
	box-shadow: inset 0px 0px 2px rgba(0,0,0,0.25);
	background: rgba(255,255,255,0.5);
	border: 1px solid #6d292c;
	width: 200px;
	padding: 10px 15px;
	margin: 10px 10px 20px 5px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-transition: all 0.7s ease 0s;
	-moz-transition: all 0.7s ease 0s;
	-o-transition: all 0.7s ease 0s;
	transition: all 0.7s ease 0s;
	text-align: center;
	display: inline-block;
}
.wm_album .albumSearch > input[type="text"]:focus {
	width: 250px;
	outline: none;
}
/* ----- Albums Style ----- */
.wm_album .album_wrap {
	position: relative;
	margin: 20px;
	box-shadow: 2px 2px 3px rgba(0,0,0,0.15);
}
/* animate mask */
.wm_album .album_wrap a.animateMask:before {
	content: "";
	background:  rgba(0,102,204,0.75);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: all 0.6s ease;
}
.wm_album .album_wrap a.animateMask:after {
	content: "";
	background-size: cover;
	width: 100%;
	position: absolute;
	top: 0px;
	left: 0;
	opacity: 0;
	transition: all 0.6s ease;
}
.wm_album .Img h6 {
	text-align: center;
	width: 100%;
	height: 100%;
	padding: 0px;
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: all 0.6s ease;
	transform: rotateX(90deg);
	transform-style: preserve-3d;
}
.wm_album .Img h6 b.pic {
	position: absolute;
	top: 20px;
	left: 20px;
	color: #FFF;
	font-size: 20px;
	line-height: 50px;
}
.wm_album .Img h6 b.pic:before {
	content: "\f03e";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	display: block;
	text-align: left;
	font-size: 50px;
}
.wm_album .Img h6 b.video {
	position: absolute;
	top: 30%;
	left: 30%;
	color: rgba(255,255,255,0.75);
	font-size: 10em;
}
.wm_album .element-item:hover .album_wrap h6 {
	transition-delay: 0.3s;
	opacity: 1;
	transform: rotateX(0deg);
}
.wm_album .element-item:hover .album_wrap a.animateMask:before {
	opacity: 1;
	top: 0;
}
.wm_album .element-item:hover .album_wrap a.animateMask:after {
	top: 100%;
	opacity: 1;
}
/* single album */
.wm_album .grid {
	position: relative;
	margin: 0;
	padding: 0;
}
.wm_album .grid a {
	text-decoration: none;
}
.wm_album .grid:after {
	content: '';
	display: block;
	clear: both;
}
.wm_album .element-item {
	position: relative;
	float: left;
	width: 25%;
	display: inline-block;
	color: #262524;
}
@media only screen and (max-width: 840px) {
.wm_album .element-item {
	width: 50%;
}
}
@media only screen and (max-width: 480px) {
.wm_album .element-item {
	width: 100%;
}
}
.wm_album .element-item .Img {
	max-width: 100%;
	height: auto;
}
.wm_album .element-item .Img img {
	display: block;
	width: 100%;
}
.wm_album .element-item h3 {
	color: #333;
	font: 18x/26px Heiti TC, "微軟正黑體", "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
	background: rgba(255,255,255,0.85);
	display: block;
	margin: 0;
	padding: 10px;
	height: 80px;
	font-weight: normal;
}
.wm_album .element-item h3:hover {
	color: #FFF;
	background: #0066cc;
	cursor: pointer;
}
#GalleryWrap .loadAlbum {
	display: block;
	text-align: center;
	margin: 40px 0px 10px 0px;
}
#GalleryWrap #More {
	padding: 5px 10px;
	background-color: #6d292c;
	color: #FFF;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
	transition: all 600ms ease-in-out;
	-webkit-transition: all 600ms ease-in-out;
	-moz-transition: all 600ms ease-in-out;
	-o-transition: all 600ms ease-in-out;
}
#GalleryWrap #More:hover {
	background-color: #0066cc;
}
#GalleryWrap .loadAlbum p {
	text-align: center;
	color: #6d292c;
}
/* Admin Mode */
.wm_album .element-item .Img > i {
	position: absolute;
	top: -10px;
	right: -10px;
	color: #FFF;
	background: #de2c29;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-style: normal;
	text-align: center;
	border-radius: 99em;
}
.wm_album .maintain_album {
	position: absolute;
	bottom: 0px;
	right: 0px;
}
.wm_album .maintain_album a {
	display: inline-block;
	padding: 0px 4px;
	color: #666;
}
.wm_album .maintain_album a:hover {
	color: #de2c29;
}
.wm_album .maintain_album a i {
	font-size: 1.5em;
}
.wm_album .editor {
	outline: 2px #CCC dashed;
	height: 310px;
}
/* ----- Albums end ----- */


/* ============================================================ 
    album_edit.tpl 
=============================================================== */
#album_form * {
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#form_new_album {
	width: 100%;
}
h2.albumTitle {
	padding: 10px;
}
.albumTitle:before {
	content: "\f030";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	padding-right: 10px;
}
/* modal content */
#album_form label {
	font-family: Arial, Microsoft JhengHei, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.125em;
	line-height: 1.25em;
	color: #333;
}
#album_form input[type=checkbox] {
	width: 20px;
	height: 20px;
	margin: 0px 5px;
}
#tag_selection label {
	font-weight: normal;
}
#tag_selection label:before {
	content: "";
	padding-right: 0px;
}
#album_form input[type=text] {
	display: block;
	width: 100%;
	color: #333;
	padding: 13px;
	margin: 5px 0 10px 0;
	font-size: 16px;
	max-height: 45px;
	font-family: "微軟正黑體";
	border: 1px #999 solid;
	outline: none;
	background: rgb(255,255,255);
	box-shadow: inset 0px 0px 3px rgba(0,0,0,0.25);
}
#album_form select {
	background: rgb(255,255,255);
	display: block;
	width: 100%;
	color: #333;
	padding: 10px;
	margin: 5px 0 10px 0;
	font-size: 0.875em;
	max-height: 48px;
	font-family: "微軟正黑體";
	border: 1px #999 solid;
	outline: none;
}
#album_form textarea {
	display: block;
	width: 100%;
	height: 150px;
	background: rgb(255,255,255);
	color: #333;
	padding: 10px;
	margin: 5px 0 10px 0;
	font-family: "微軟正黑體";
	font-size: 1.05em;
	border: 1px #999 solid;
	overflow: auto;
}
#form_new_album .sendButton, #form_new_album .editButton {
	cursor: pointer;
	overflow: visible;
	text-transform: none;
	border: 1px #CCC solid;
	background-color: #DDD;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#DDD));
	background-image: -webkit-linear-gradient(top, #FFF, #DDD);
	background-image: -moz-linear-gradient(top, #FFF, #DDD);
	background-image: -ms-linear-gradient(top, #FFF, #DDD);
	background-image: -o-linear-gradient(top, #FFF, #DDD);
	background-image: linear-gradient(to bottom, #FFF, #DDD);
	font: 13px/18px Heiti TC, "微軟正黑體", "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
	color: #333;
}
#form_new_album .sendButton {
	font-size: 1em;
	margin: 10px 2px;
	padding: 10px 10px;
	border-radius: 3px;
}
#form_new_album .editButton {
	font-size: 1em;
	margin: 10px 2px;
	padding: 5px 7px;
	border-radius: 3px;
	font-size: 14px;
}
#form_new_album .sendButton:hover, #form_new_album .editButton:hover {
	background: #EEE;
}
.form_album_wrap {
	position: relative;
	width: 100%;
	margin: 0px;
	padding: 20px 0px 0px 0px;
}
.form_album_wrap:after {
	content: "\0020";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.form_album_wrap .wrap-col {
	margin: 10px;
}
.form_album_wrap .col-1-2, .form_album_wrap .col-1-3, .form_album_wrap .col-2-3, .form_album_wrap .col-full {
	float: left;
	display: inline-block;
	margin-top: 20px;
}
.form_album_wrap .col-full {
	width: 100%;
}
.form_album_wrap .col-1-2 {
	width: 50%;
}
.form_album_wrap .col-1-3 {
	width: 33.333333%;
}
.form_album_wrap .col-2-3 {
	width: 66.666666%;
}
@media only screen and (max-width: 768px) {
.form_album_wrap .col-1-3, .form_album_wrap .col-2-3 {
	width: 100%;
}
}
@media only screen and (max-width: 480px) {
.form_album_wrap .col-1-2 {
	width: 100%;
}
}
/*Tag Admin*/
#tag_remover i {
	font-size: 18px;
	color: #F00;
	padding: 5px 2px;
	margin-left: 5px;
}
#tag_renamer i {
	font-size: 18px;
	color: #09C;
	padding: 5px 2px;
}
#Filter .tag {
	font-size: 16px;
	display: inline-block;
	padding: 3px 6px;
	border: 1px solid #666;
	color: #333;
	border-radius: 5px 0px 5px 0px;
	margin: 0px 2px 2px 0px;
}
/* PhotoManager */
#PhotoManager img.thumb {
	width: 100%;
	height: auto;
	box-shadow: 1px 2px 3px rgba(0,0,0,0.25);
	display: block;
	margin: 10px 0px 0px 0px;
}
#PhotoManager .top-setting {
	display: block;
	margin: 0px 10px 20px 10px;
	padding: 10px 0px 10px 0px;
	overflow: hidden;
	border-bottom: 1px solid #FFF;
}
#PhotoManager .top-setting > label, #album_form .top-setting > input[type="button"] {
	display: inline-block;
}
#PhotoManager .top-setting > input[type="button"] {
	float: right;
}
#PhotoManager .imgList {
	position: relative;
	display: block;
	margin: 0px;
	padding: 0px;
	overflow: hidden;
}
#PhotoManager .imgList:after {
	content: '';
	display: block;
	clear: both;
}
#PhotoManager .photo-item {
	position: relative;
	float: left;
	width: 20%;
	height: auto;
	display: inline-block;
}
#PhotoManager .photo-item .select {
	padding: 5px;
	height: 36px;
	line-heigth: 36px;
	background: #FFF;
}
#PhotoManager .photo-item .select label, #PhotoManager .photo-item .select input[type="checkbox"] {
	float: left;
	display: inline-block;
}
#PhotoManager .photo-item .select a {
	float: right;
	display: inline-block;
	font-size: 18px;
}
#PhotoManager .photo-item .item-wrap {
	margin: 10px;
	box-shadow: 1px 2px 5px rgba(0,0,0,0.15);
}
#PhotoManager .photo-item .Img {
	position: relative;
	max-width: 100%;
	height: 150px;
}
#PhotoManager .photo-item .Img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
}
/* tabs */
div.albumTab {
	overflow: hidden;
	border-bottom: 2px solid #666;
	margin-top: 30px;
}
div.albumTab button {
	background-color: #EEE;
	margin-right: 5px;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 10px 12px;
	transition: 0.3s;
	font: 16px/24px Heiti TC, "微軟正黑體", "メイリオ", Microsoft JhengHei, Helvetica, Arial, sans-serif;
	border-top-right-radius: 10px;
}
div.albumTab button:hover {
	background-color: #999;
	color: #FFF;
}
div.albumTab button.active {
	background-color: #666;;
	color: #FFF;
}
.albumContent {
	display: none;
	padding: 0px;
	margin: 0px;
}
/* ============================================================ 
    watch_album.htm
=============================================================== */
.photo_box {
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.photo_box h3.album_name {
	padding: 10px;
	margin: 0;
	color: #333;
	font-size: 24px;
}
.photo_box .photo {
	position: relative;
	padding: 0px;
	margin: 15px 0px;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
}
.photo_box .photo .hidden {
	display: none;
}
.photo_box .photo img {
	margin: 0;
	padding: 0px;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-wheight: 100%;
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
	transition: transform 0.5s ease, opacity 0.5s ease;
}
.photo_box .photo img:hover {
	-webkit-transform: scale(0.95);
	transform: scale(0.95);
	-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
	transition: transform 0.5s ease, opacity 0.5s ease;
}
.photo_box .button_box {
	padding: 10px 10px;
	margin: 0px;
	display: block;
}
.photo_box .button_box > button {
	float: right;
	background: #007433;
	color: #FFF;
	border: none;
	border-radius: 0px;
	font-size: 14px;
	padding: 5px 8px;
}
.photo_box .button_box > button:hover {
	cursor: pointer;
	background: #0066cc;
}
.photo_box .button_box > button i {
	padding-right: 10px;
}
.photo_box .photo ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
.photo_box .photo ul li {
	float: left;
	width: 25%;
	display: inline-block;
	padding: 0;
	margin: 0;
}
@media only screen and (max-width: 800px) {
.photo_box .photo ul li {
	width: 33.333333%;
}
}
@media only screen and (max-width: 580px) {
.photo_box .photo ul li {
	width: 50%;
}
}
@media only screen and (max-width: 426px) {
.photo_box .photo ul li {
	width: 100%;
}
}
.photo_box .photo ul li > a {
	outline: none;
}
