@charset "UTF-8";
/* CSS Document */


body {
	font-family: "微軟正黑體", "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, "sans-serif";
	margin: 0;
	padding: 0;
}
* {
	box-sizing: border-box;
}
:focus {
	outline: none;
}
ul, li {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
input {
	appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}
header, main, article, main, section, footer{
	float: left;
	width: 100%;
}
.container {
	max-width: 1200px;
	margin: 0 auto;
}
.container-fluid {
	width: 100%;
	padding: 0%;
}
a {
	text-decoration: none;
}
.content {
	width: 100vw;
	height: 100vh;
	float: left;
}
@media screen and (max-width: 768px) {
	.container-fluid {
		width: 100%;
		padding: 0%;
	}
}

@media (min-width: 1800px) { 
	.container {
		max-width: 1500px!important;
	}
}
@media (min-width: 2500px) { 
	.container {
		max-width: 2200px!important;
	}
}

.toggle {
	cursor: pointer;
	display: block;
	position: absolute;
	left: 1rem;
	top: 1rem;
	background-color: #FFF;
	padding: 0px 5px;
	border-radius: 3px;
	border: 2px solid #FFF;
}
.toggle p {
	display: block;
	width: 30px;
	height: 30px;
	margin: 0;
	position: relative;
}

.toggle p span {
	width: 100%;
	height: 2px;
	background-color: #b48b51;
	display: block;
	margin: 8px 0;
	transition: all .1s linear;
	transform: rotate(0deg);
	position: relative;
}

.toggle p.switch .mid{
	display: none;
}
.toggle p.switch .top{
	transform: rotate(45deg);
	top: 10px;
	position: relative;
	transition: all .1s linear;
}
.toggle p.switch .btm{
	position: relative;
	transform: rotate(-45deg);
	transition: all .1s linear;
}
.toggle span {
	letter-spacing: 0.2em;
	font-weight: 400;
	font-size: 80%;
}
.toggle span.none {
	display: none;
}




main {
	background-color: #b48b51;
	width: 100vw;
	min-height: 100vh;
	position: relative;
}
nav {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
	width: 260px;
	max-width: 100%;

}
.leftmenu {
	/*margin:0 0 0 -100%;
	transition: margin .3s ease-out;*/
	width: 100%;
	/*background-color: rgba(190,0,117,.8);*/
	height: 100vh;
	padding: 30vh 1rem;
}
.leftmenu.active {
	width: 100%;
	/*transition: margin .3s ease-out;*/
	margin: 0;
	/*background-color: rgba(190,0,117,.8);*/
	height: 100vh;
	padding: 1rem 1rem;
}
ul.menu li {
	width: 100%;
	float: left;
	
}

ul.menu li a {
	font-size: 1.1rem;
	color: #b48b51;
	display: block;
	padding: 0.5rem 0;
	font-weight: 400;
	border-bottom: 1px solid #b48b51;
	/*text-shadow: 0 0 2px #b48b51;*/
}
ul.menu li:last-child a {
	border-bottom: none;
}
ul.menu li a:hover {
	/*background-color: rgba(255,255,255,.2);*/
	color:#be0075;
}
.toggle {
	display: none;
}
@media screen and (max-width: 999px) {
	nav {
		width: 100%;
		background-color: rgba(255,255,255,1);
		z-index: 102;
	}
	.toggle {
		display: block;
	}
	.toggle.active {
		border: 2px solid #b48b51;
	}
	.leftmenu {
		display: none;
		padding: 4rem 1rem;
	}
	.leftmenu.active {
		display: block;
		padding: 4rem 1rem;
	}
	ul.menu li a {
		color: #b48b51;
	}
}




.logo {
	position: absolute;
	right: 0rem;
	bottom:3rem;
	text-align: center;
	padding: 1rem;
	background-color: rgba(190,0,117,.7);
}
.logo p {
	text-align: center;
	font-size: 0.85rem;
	margin: 0.8rem 0;
	color: #FFF;
	font-weight: 100;
}
.logo img {
	max-height: 280px;
}

.count {
	
	margin: 0rem auto;
	position: fixed;
	left: 0;
}
.ctitle {
	font-size: 5.5rem;
	color: #000;
	text-align: center;
	font-weight: 200;
	margin: 0 0 0rem;
	padding: 1rem 0 1rem;
	width: 100%;
}
.time {
	width: calc(100%);
	float: left;
	text-align: center;
	color: #000;
}
.time span {
	display: block;
	font-size: 1rem;
}
#years, #days, #hour, #min, #sec {
	font-size: 3rem;
	font-weight: 200;
}
.ctitle img {
	max-height: 430px;
	opacity: .4;
}




.masonry { 
	/*column-count: 3;*/
	column-gap: 0;
	margin-bottom: 2rem;
}
.item {
	break-inside: avoid;
	box-sizing: border-box;
	padding: 10px;
}
.msg_img img {
	width: 100%;
}
.item_content {
	padding: 0.8rem;
	border: 1px solid #b48b51;
	border-radius: 3px;
}
.msg_name, .msg_content, .msg_time {
	padding: 0.2rem 0;
}
.msg_name span {
	color: #AAA;
	font-style: italic;
	padding: 0;
}
.msg_content {
	font-size: 0.85rem;
	line-height: 1.7;
	text-align: justify;
}
.msg_time {
	font-size: 0.8rem;
	color: #AAA;
	font-style: italic;
	padding: 0;
	font-weight: 100;
}
@media (max-width: 768px) { 
	.masonry { 
		column-count: 1;
	}
	.item {
		padding: 0;
	}
	.msg_name, .msg_content, .msg_time {
		padding: 0.5rem 1rem;
	}
	.item_content {
		padding: 0;
		border: none;
		border-radius: 0;
	}
} 
@media (min-width: 769px) { 
	.masonry { 
		
	} 
}
@media (min-width: 1000px) { 
	.masonry { 
		/*column-count: 3;*/
	} 
}




.form-group {
	width: 100%;
	float: left;
	margin: 0 0 1rem 0;
}
label, input {
	display: block;
}
.form-group input, .form-group textarea {
	border: none;
	border-bottom: 1px solid #000;
	padding: 0.5rem 0.8rem;
	font-size: 1rem;
	border-radius: 0;
	width: 100%;
	font-weight: 200;
	background-color: rgba(255,255,255,.7);resize: none;
}
.form-group input[type=file], .form-group input[type=submit]  {
	background-color: rgba(255,255,255,7);
	font-weight: 200;
}
.form-group input[type=file] {
	opacity: 0;
	height: 100%;
	z-index: 101;
}
.form-group input[type=submit] {
	width: auto;
	margin: 0 auto;
	border: 1px solid #000;
}
.form-group input:hover, .form-group textarea:hover {
	background-color: rgba(255,255,255,.1);
}
label {
	font-weight: 200;
	font-size: 1.2rem;
	padding: 0.3rem 0;
}
@media (max-width: 768px) { 
	.form-group input[type=file] {
		padding: 0.5rem;
	}
}
.uploadphoto {
    display: inline-block;
    background-image: url(../img/add_white.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #b48b51;
    border-radius: 5px;
    /* padding: 36%; */
    background-size: 80% 80%;
    width: 40px;
    height: 40px;
    position: relative;
	float: right;
}

a.leftmsgbtn {
    display: block;
    z-index: 101;
    background-color: #b48b51;
    border-radius: 50%;
    /* padding: 36%; */
    background-size: 80% 80%;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 3rem;
    left: 1rem;
}
a.leftmsgbtn img {
	width: 100%;
}

#msg {
	padding: 8vh 0;
}
@media (max-width: 999px) {
	#msg {
		padding: 3vh 0;
	}
}

footer {
	position: fixed;
	bottom: 1rem;
	z-index: 0;
}

footer .copyright {
	text-align: center;
	font-weight: 100;
	font-size: 0.8rem;
	color: #FFF;
	padding: 0 1rem;
}