body {
	-webkit-text-size-adjust: 100%;

}
.pc-only {
	display: none;
}
.mobile-only {
	display: inline;
}
#container {
	min-width: 100%;
}

/*****header*****/

#header {
	height: 48px;
}
#title_logo {
	width:100%;
	height:43px;
	margin-top:5px;
	border-bottom:solid 5px #fff;
}
#title_logo a{
	background-size:cover;
	width:272px;
	height:43px;
	display:block;
}
#header_right {
	display: none;
}
#header_right > a {
	text-align: center;
	padding-top: 15px;
}
#header_right > a:last-child {
	display: none;
}

/***** global menu *****/

#gmenu {
	width:100%;
	justify-content: normal;
	overflow: auto;
	background: none;
	position: static;
}
#gmenu-wrap {
	position: relative;
}
#gmenu-left,
#gmenu-right {
	position: absolute;
	height: 100%;
	width: 25px;
	z-index: 9999;
	transition: opacity .5s;
}
#gmenu-left {
	opacity: 0;
	background: linear-gradient(to left, rgba(255,255,255,0), rgba(255,255,255,1) 20%);
}
#gmenu-right {
	opacity: .8;
	right: 0;
	background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1) 20%);
}
#gmenu-left::before,
#gmenu-right::before {
	content: '';
	width: 13px;
	height: 13px;
	border: 0;
	border-top: solid 2px #393939;
	border-right: solid 2px #393939;
	position: absolute;
	top: 16px;
	margin: auto;
	box-sizing: border-box;
}
#gmenu-left::before {
	left: 7px;
	transform: rotate(-135deg);
	animation: arrow-l 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s infinite alternate;
}
#gmenu-right::before {
	right: 7px;
	transform: rotate(45deg);
	animation: arrow-r 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0s infinite alternate;
}
@keyframes arrow-l {
  0% {
    opacity: 1;
    transform: rotate(-135deg) translate(2px,-2px);
  }
  100% {
    opacity: 0.5;
    transform: rotate(-135deg) translate(-2px,2px);
  }
}
@keyframes arrow-r {
  0% {
    opacity: 1;
    transform: rotate(45deg) translate(2px,-2px);
  }
  100% {
    opacity: 0.5;
    transform: rotate(45deg) translate(-2px,2px);
  }
}
#gmenu li {
	color: #333;
}
#gmenu > li > a {
	padding: 0 10px;
	white-space: nowrap;
	font-weight: normal;
	color: #333;
}
#gmenu >li > a:hover {
	opacity: 1;
	border-top-color: transparent;
}
#gmenu >li > a:not([href]) {
	color: #333;
}
#gmbtn{
	display: inline-block;
	width: 48px;
	height: 48px;
	overflow: hidden;
	cursor: pointer;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 20001;
	text-indent: 100%;
	white-space: nowrap;
	/*background-color:whitesmoke;*/
}
#gmbtn:before, #gmbtn:after {
	content: "";
	width: 23px;
	margin: 15px auto 0;
	display: block;
}
#gmbtn:before {
	height: 2px;
	background-color: #333;
}
#gmbtn:after {
	margin-top: 7px;
	height: 7px;
	border-top: 2px solid #333;
	border-bottom: 2px solid #333;
}
#gmbtn:focus + * + * + #gmenu,
#header:focus-within + #gmlay + #menu {
	max-height:450px;
}
#gmbtn:focus + #gmlay + #header > #header_right,
#header:focus-within + #gmlay,
#gmbtn:focus + #gmlay {
	display: block;
}
#gmlay {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	z-index: 10001;
	background: #fff;
	opacity: 0;
	transition: opacity .5s;
	display: block;
}
#gmlay.open {
	opacity: .8;
	bottom: 0;
}

/* main */

#main,#ct-main {
	width: auto;
	margin: 10px;
}
#main img,#ct-main img {
	max-width:100%;
	height:auto;
}

/* main_menu */

#main_menu {
	position: fixed;
	top: 0;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	margin-top: 48px;
	flex-wrap: wrap;
	background-color:rgba(255,255,255, 0.8);
	justify-content: left;
	display: flex;
	width: 100%;
	height: 0;
	padding: 0;
	z-index: 10001;
	opacity: 0;
	transition: opacity .5s;
}
.open ~ #main_menu {
	height: auto;
	opacity: 1;
}
#main_menu > li {
	width: 50%;
	height: 125px;
	margin-right: 0;
	background-image:none;
	text-align: left;
	min-height:0;
	border: none;
}
#main_menu > li:first-child {
	margin-left:0;
}
#main_menu > li:nth-child(7) {
	display:inline;
}
#main_menu > li:nth-child(n+8) {
	/*display:none;*/
}
#main_menu li a {
	padding: 0;
	margin-top: 6px;
	display: inline-block;
	overflow: hidden;
	width: 100%;
	font-size: 1.1em;
	line-height: 1.2em;
}
#main_menu > li:last-child {
	margin-bottom:0;
}
#main_menu > li > a::before {
	background-size: 36%;
}
#main_menu li a span {
	display: block;
	vertical-align: middle;
	text-align: center;
}
#main_menu ul {
	display: none !important;
}
#main_menu > li > a[href$=kids]::before {
	background-image: url("../img/biblekids-icon.png");
}
#main_menu > li > a[href*=what_we_believe]::before {
	background-image: url("../img/faith-icon.png");
}
#main_menu > li.mobile-only {
	margin-bottom: 30px;
}
#board {
	position:relative;
	background:url("../img/board_m.jpg");
	background-repeat:no-repeat;
	width: 100%;
	background-size: 100%;
	border: solid 1px #CCC;
	border-radius:7px;
	padding-bottom:16px;
}
#slide {
	top:12%;
	left:4%;
	width:43%;
	height:auto;
	position:absolute;
}
#comment {
	top: 0;
	left: 0;
	padding-top: 12%;
	padding-left: 57%;
	padding-bottom: 10%;
	background:none;
	width: 35%;
	height: auto;
	font-size: 9px;
}
#icon {
	padding-top:10px;
}

/***** footer *****/

#footer {
	padding: 10px 5px;
}
#address{
	float: none;
	font-size: .9rem;
	text-align: center;
	width: 100%;
}
#address * {
	font-size: .8rem;
}
#about {
	font-size: .8rem;
	padding-top: 18px;
	text-align: center;
}
#about br{
	display: none;
}
#footer_right {
	width: 100%;
}
#footer_right a {
	float: none;
	padding:0;
	text-align: center;
	background: whitesmoke;
	padding:10px 0;
	color:#696969;
	display: block;
	/*font-weight:bold;*/
}
#footer_right a:nth-child(2n) {
	width: 49%;
	border-right:1px solid #393939;
}
#sitetop {
	display:block;
	float:left;
	width: 50%;
	padding:0;
	text-align: center;
	padding:10px 0;
	border-right:1px solid #d5d5d5;
	color:#000000;
	font-weight:bold;
	text-decoration: none;
}
#to_top {
	padding: 10px 0;
}
#to_top:before {
	display: none;
}
