/*=============================================
 * body
 *=============================================*/

body {
	color: #010101;
	background-color: #E1C07D;
	background-repeat: repeat;
	background-position: center;
	background: url("../img/bg_body.jpg") repeat;
}



/*=============================================
 * #header
 *=============================================*/

#header {
	background: url("../img/key.jpg") no-repeat center top / cover ;
    min-height: 860px;
    position: relative;
}


#key {
    
}

#h_logo {
    bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    text-align: center;
    top: 10%;
    width: 280px;
}

#h_logo img {
    width: 65%;
}


/*    tablet  */
@media screen and (max-width:960px) {
	h1 {text-align: center;top: 0;}
#key {
	height: 400px;
}
        #h_logo {
    top: 11%;
}
    
    #h_logo img {
    width: 45%;
}
}


@media screen and (max-width:769px) {
#key {
	height: 350px;
}
    #h_logo {
    top: 0;
}
    
    #h_logo img {
    width: 45%;
}

}

#header h1 {
	color: #AFAFAF;
	font-size: .85em;
	line-height: 1.6em;
	letter-spacing: .1em;
	text-align: center;
	background: url("../img/bg_hf.jpg") repeat;
}
#header .logo {
	margin: 5px auto;
	margin: 1vh auto;
	padding: 3em 0;
	width: 200px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#header .logo img {
	max-width: 100%;
	height: auto;
}
#header .tel {
	margin: 5px auto;
	margin: 1vh auto;
	padding: .3em 0;
	background: rgba(0, 0, 0, .5);
	width: 150px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#header .tel img {
	max-width: 100%;
	height: auto;
}



/*=============================================
 * #navbar
 *=============================================*/

#navbar {
	background: url("../img/bg_nav.jpg") repeat;
}
#navbar nav {
	color: #FEFEFE;
}
#navbar li {
	display: inline-block;
	min-width: 13%;
}
#navbar a {
	display: block;
	padding: 15px 10px;
	background: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
#navbar a:hover {
	background: #7B5438;
}
#navbar .sub {
	background: #27170C;
}



/*=============================================
 * #container
 *=============================================*/

#container {
}



/*=============================================
 * #sidebar
 *=============================================*/

#sidebar section {
	background: url("../img/bg_sec.jpg") repeat;
}
#sidebar h2 {
	color: #FEFEFE;
	background: url("../img/bg_h2.png") repeat;
}
#sidebar h2:before {
	border-top-color: #FEFEFE;
}
#sidebar li a {
	color: #92580D;
}
#sidebar li a:hover {
	color: #CC9E5A;
}
#sidebar li a:before {
	background: #CC9E5A;
}
#sidebar li a:hover:before {
	background: #BA863A;
}
#sidebar .calendar th {
	color: #A77834;
}
#sidebar .calendar td {
	background: #FEFEFE;
	border-color: #AFAFAF;
}
#sidebar .calendar tr:nth-of-type(odd) td {
	background: #EFEFEF;
}
#sidebar .calendar .header {
	color: #92580D;
	background: #F2EBE3;
	border-color: #AFAFAF;
}
#sidebar .calendar a {
	color: #D05C1A;
}
#sidebar .calendar .having_posts {
	color: #A63435;
	background: #F6E1E1 !important;
}



/*=============================================
 * #main
 *=============================================*/

#main article {
	background: #FEFEFE;
}
#main h2 {
	color: #FEFEFE;
	background: url("../img/bg_h2.png") repeat;
}
#main time {
    display: block;
	color: #7E7E7E;
}
#main .more a {
	color: #010101;
	border-color: #010101;
}
#main .more a:hover {
	color: #A24814;
	border-color: #A24814;
}
#main .more a:before,
#main .more a:after {
	background: #010101;
}
#main .more a:hover:before,
#main .more a:hover:after {
	background: #A24814;
}
#main .pagination {
	color: #909090;
}
#main .pagination li {
	background: #F6F6F6;
	box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination li:hover {
	color: #FEFEFE;
	background: #D05C1A;
	box-shadow:
		0 -1px #D05C1A,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #D05C1A,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #D05C1A,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination .active,
#main .pagination .active:hover {
	color: #FEFEFE;
	background: #936C42;
	box-shadow:
		0 -1px #936C42,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #936C42,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #936C42,
		0 1px 1px rgba(0, 0, 0, .3);
}
#main .pagination .first,
#main .pagination .last {
	color: #936C42;
	font-weight: 600;
}
#main .pagination .more-point-right:hover {
	color: inherit;
	background: #F6F6F6;
	box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-moz-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
	-webkit-box-shadow:
		0 -1px #FEFEFE,
		0 1px 1px rgba(0, 0, 0, .3);
}



/*=============================================
 * #footer
 *=============================================*/

#footer {
	color: #E2BD7B;
	background: url("../img/bg_hf.jpg") repeat;
}



/*=============================================
 * copyright
 *=============================================*/

address {
}





/*=============================================
 * RESPONSIVE
 *=============================================*/

@media screen and (max-width: 1024px) {
	#header {
		min-height: 400px;
	}
}

@media screen and (max-width: 960px) {
	#navbar li {
		min-width: initial;
	}
	#navbar .sub {
		width: 100%;
	}
}

@media screen and (max-width: 768px) {
	#header {
		width: 100%;
		min-height: 300px;
	}
	#header h1 {
		position: static;
	}
	#header .brand {
		margin-right: 0;
		position: static;
		top: auto;
		left: auto;
		transform: none;
		-moz-transform: none;
		-webkit-transform: none;
	}
	#header .logo {
		padding: 0;
	}
	#navbar {
		background: none;
	}
	#navbar.active .toggle {
		right: 230px;
	}
	#navbar nav {
		background: #FEFEFE;
		width: 230px;
		right: -230px;
	}
	#navbar li {
		display: block;
		border-top: 1px solid #DFDFDF;
		border-bottom: 1px solid #DFDFDF;
	}
	#navbar a {
		color: #27170C;
		background: none;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
	}
	#navbar a:hover {
		background: #EFEFEF;
	}
	#navbar .sub {
		background: none;
	}
	#navbar .sub a:before {
		background: #606060;
	}
}

@media screen and (max-width: 640px) {
	#header {
		display: block;
		min-height: 200px;
	}
	#header h1 {
		display: block;
	}
	#header .brand {
		display: block;
		padding: 0;
		height: auto;
	}
}
#header .brand {
	margin-right: -50%;
	color: #FEFEFE;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}