@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%;
	}
    main .container {
        max-width: inherit!important;
    }
}

@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: 100%;
	min-height: 100vh;
	position: relative;
}
nav {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
	width: 300px;
	max-width: 100%;
    display: flex;
    background-color: #F8C3CD;
    height: 100vh;
/*
    background-image: url("../img/texture.png");
    background-repeat: repeat;
    background-size: 100% auto;
*/
    align-content: center;
    flex-wrap: wrap;

}
.leftmenu {
	/*margin:0 0 0 -100%;
	transition: margin .3s ease-out;*/
	width: 100%;
	/*background-color: rgba(190,0,117,.8);*/
/*
	height: 100vh;
	padding: 50vh 1rem 0;
*/
}
.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;
	
}
.leftmenu a {
    color: #000;
}
.leftmenu a:hover {
    text-decoration: underline;
}
ul.menu li a {
	font-size: 1.1rem;
	color: #000;
	display: block;
	padding: 0.5rem 0;
	font-weight: 400;
    text-align: center;
	/*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:rgba(30,72,38,1);
}
.toggle {
	display: none;
}
@media screen and (max-width: 999px) {
	nav {
		width: 100%;
/*		background-color: rgba(255,255,255,1);*/
		z-index: 102;
        background: none;
	}
	.toggle {
		display: block;
	}
	.toggle.active {
		border: 2px solid #b48b51;
	}
	.leftmenu {
		display: none;
		padding: 4rem 1rem;
	}
	.leftmenu.active {
		display: flex;
		padding: 4rem 1rem;
        flex-wrap: wrap;
        align-content: center;
	}
	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: relative;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    background-color: #F8C3CD;
    width: 100%;
}
.ctitle {
	font-size: 5.5rem;
	color: #FFF;
	text-align: center;
	font-weight: 200;
	margin: 0 0 0rem;
	padding: 1rem 0 1rem;
	width: 100%;
	text-shadow: 0px 0px 8px rgba(0,0,0,.3);
}
.time {
	width: auto;
/*	float: left;*/
	text-align: center;
	color: #FFF;
	text-shadow: 0px 0px 8px rgba(0,0,0,.3);
    margin: 0 15px;
}
.time span {
	display: block;
	font-size: 1rem;
}
#days, #hour, #min, #sec {
	font-size: 2rem;
	font-weight: 200;
}
.ctitle img {
	max-height: 430px;
	opacity: .4;
}
@media screen and (max-width: 768px) {
	.ctitle img {
		max-height: 50vh;
		opacity: .7;
	}
	.time span {
		display: block;
		font-size: 0.9rem;
		font-weight: 200;
	}
	#days, #hour, #min, #sec {
		font-size: 2rem;
		font-weight: 400;
	}
	.count {
/*		top: 10vh;*/
	}
}




.masonry { 
	/*column-count: 3;
	column-gap: 0;*/
	margin-bottom: 2rem;
}
.item {
	break-inside: avoid;
	box-sizing: border-box;
	padding: 10px 0;
}
.msg_img img {
	width: 100%;
}
.msg_img a:hover img {
    transition: transform .25s linear;
    transform: scale(1.05);
}
.msg_img {
    overflow: hidden;
}
.msg_img a img {
    transition: transform .25s linear;
    transform: scale(1);
}
.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 { 
		column-count: 2;
	} 
}
@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;
    cursor: pointer;
}
.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: #F8C3CD;
    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: 1rem;
    left: 1rem;
}
a.leftmsgbtn img {
	width: 100%;
}

#msg {
	padding: 8vh 0;
}
@media (max-width: 999px) {
	#msg {
		padding: 3vh 0;
	}
    .leftmenu {
        background-size: 20% auto;
        background-position: 95% 5%;
        background-color: #F8C3CD;
    }
}

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;
}
.column {
    width: calc(100% / 3);

}
ul.slides li {
    text-align: center;

}
ul.slides li img {
    max-width: 100%;
}
#about {
    background-color: #DDD;
}
#about p {
    padding: 1rem;
    line-height: 1.7;
}
main {
	background-color: #FFF;

}
main .container {
	width: 100%;
/*
	max-width: calc(100% - 300px);

	margin: 0 auto;
*/
	padding-left: 300px;
/*		float: right;*/
}
main .container {
    display: flex;
    flex-wrap: wrap;
}
@media screen and (max-width: 999px) {
	main .container {
		max-width: inherit!important;
		padding-left: 0;
	}
}
.gallery {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}
.gallery a {
	width: calc(100% / 3);
}
.grid-item {
/*		margin-bottom: 10px;*/
/*		max-width: 300px;*/
	display: block;
}
a.grid-item{ 
	line-height: 0;
	overflow: hidden;
}
.album_img {

}
a.grid-item img {
	width: 100%;
	transform: scale(1);
	transition: transform .25s linear;
}
a.grid-item:hover img{
	transform: scale(1.025);
	transition: transform .25s linear;
}