.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: 600px;
	max-height: 100%;
	overflow-y: auto;
	margin: 0px;
}

.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;
	padding: 0;
	margin: 0;
}

/* tag */

.wm_album .button {
	display: inline-block;
	padding: 8px 12px;
	margin: 10px 10px 0px 0px;
	/*color: #FFF;*/
	background: rgba(255, 255, 255, 0.5);
	font-family: "微軟正黑體";
	font-size: 16px;
	outline: none;
	/*border: none;*/
	border: 1px solid #DDD;
	transition: all 0.25s ease;
	-webkit-transition: all 0.25s ease;
}

.wm_album .button:enabled {
	cursor: pointer;
}

.wm_album .button:enabled:hover {
	background: #EEE;
	/*color: #FFF;*/
}

.wm_album .button.is-checked, .button.is-selected {
	background: #EEE;
	/*color: #FFF;*/
	outline: none;
}

.wm_album .button:active {
	background: #EEE;
	/*color: #FFF;*/
	outline: none;
}

.wm_album .button input[type="radio"] {
	display: none;
}

.wm_album .button-group {
	margin: 0px 0px 20px 10px;
}

.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 #DDD;
	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: 300px;
	outline: none;
}

/* ----- Albums Style ----- */

.wm_album .album_wrap {
	position: relative;
	margin: 0 15px 30px 15px;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.15);
}

.wm_album .album_wrap a {
	display: block;
}

/* animate mask */

/* .wm_album .album_wrap a.animateMask:before {
	content: "";
	background: rgba(0, 0, 0, 0.85);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	transition: all 0.6s ease;
	z-index: 2;

}

.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 .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 -15px;
	padding: 0;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
}

.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%;
	color: #333;
}

.wm_album .element-item .Img {
	position: relative;
	max-width: 100%;
	/* height: 260px; */
	overflow: hidden;
	background-color: #000;
	text-align: center;
}

.wm_album .element-item .Img img {
	display: block;
	width: 100%;
	max-width: 100%;
	/* height: 100%; */
}

/*文字區*/

.wm_album .element-item .Txt {
	display: block;
	background-color: rgba(45, 7, 155, 1);
	padding: 0;
}

.wm_album .element-item .Txt h6 {
	padding: 0px;
	position: relative;
	/* opacity: 0; */
	/* transition: all 0.6s ease;
	transform: rotateX(90deg);
	transform-style: preserve-3d;
	z-index: 999; */
	color: #ffffff;
	padding: 15px 15px 10px 15px;
	text-align: right;
}

.wm_album .element-item .Txt h6 b.pic {
	font-size: 16px;
}

.wm_album .Txt h6 b.video {
	color: #ffffff;
	text-align: left;
	font-size: 18px;
}

.wm_album .element-item .Txt h6 b.pic:before {
	content: "\f03e";
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	color: #ffffff;
	text-align: left;
	font-size: 16px;
	margin-right: 10px;
	/* display: none; */
}

.wm_album .element-item .Txt h3 {
	color: #ffffff;
	margin: 0;
	padding: 10px 15px;
	font-weight: 600;
	font-size: 18px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.wm_album .element-item .Txt .desp {
	font-size: 14px;
	line-height: 1.5;
	padding: 15px 15px 10px 15px;
	overflow: hidden;
	max-height: 36px;
	color: #ffffff;
}

.wm_album .element-item .Txt .location {
	font-size: 14px;
	line-height: 1.5;
	padding: 10px 15px;
	overflow: hidden;
	max-height: 36px;
	color: #ffffff;
}

/* Hover動畫 */

@media only screen and (min-width: 1200px) {
	.wm_album .element-item .Txt.animated {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 44px;
		transition: all 0.3s linear;
		-ms-transition: all 0.3s linear;
		-webkit-transition: all 0.3s linear;
	}
	.wm_album .element-item .Txt.animated h6 {
		display: none;
	}
	.wm_album .element-item .Txt.animated .desp, .wm_album .element-item .Txt.animated .location {
		opacity: 0;
	}
	.wm_album .album_wrap:hover .Txt.animated {
		height: 100%;
		background-color: rgba(45, 7, 155, 0.75);
	}
	.wm_album .album_wrap a:hover .Txt.animated h6 {
		display: block;
	}
	.wm_album .album_wrap:hover .Txt.animated .desp, .wm_album .album_wrap:hover .Txt.animated .location {
		opacity: 1;
	}
}

#GalleryWrap .loadAlbum {
	display: block;
	text-align: center;
	margin: 40px 0px 10px 0px;
}

#GalleryWrap #More {
	padding: 5px 10px;
	background-color: #DDD;
	/*color: #FFF;*/
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
	transition: all 600ms ease-in-out;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
}

#GalleryWrap #More:hover {
	/*background: rgba(0,0,0,0.75);*/
}

#GalleryWrap .loadAlbum p {
	text-align: center;
	color: #6d292c;
}

/* Admin Mode */

.wm_album .element-item i.nob {
	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;
	z-index: 5;
}

.wm_album .maintain_album {
	/* position: absolute;
	bottom: 0px;
	right: 0px; */
	box-sizing: border-box;
	-ms-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	width: 100%;
	text-align: left;
	padding: 10px;
}

.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 .maintain_album .sort_info {
	float: left;
	font-size: 14px;
	margin-right: 30px;
}

.wm_album .element-item .album_wrap.editor {
	outline: 2px #CCC dashed;
}

.wm_album .element-item .album_wrap.editor .Img {
	height: 260px;
	text-align: center;
}

.wm_album .element-item .album_wrap.editor .Img>img {
	display: block;
	width: auto;
	max-height: 100%;
	margin: 0 auto;
}

@media only screen and (max-width: 1024px) {
	.wm_album .element-item {
		width: 33.333333%;
	}
}

@media only screen and (max-width: 768px) {
	.wm_album .element-item {
		width: 50%;
	}
}

@media only screen and (max-width: 480px) {
	.wm_album .element-item {
		width: 100%;
	}
}

/* ----- 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%;
	-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: #DDD;
	/*color: #FFF;*/
	border: none;
	border-radius: 0px;
	font-size: 14px;
	padding: 5px 8px;
}

.photo_box .button_box>button:hover {
	cursor: pointer;
	/*background: #ff9900;*/
}

.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;
}