@media only screen
and (max-width : 1024px) {
	nav li.menu-item-has-children > span{display:block;}
	nav span { right: unset; left: 50%; top: unset; bottom: -12px; transform: translateX(-50%); }
	nav ul li:hover > ul,.dropdown ul li:hover > ul{display: none;}
	.fa-caret-down:before { right: 0; left: 0; }
	.dropdown ul ul { left: 50%; transform: translateX(-50%); }
	.dropdown ul ul li a { text-indent: unset; text-align: center; }
}

@media only screen 
and (max-width : 1000px) {
	html, body{ -webkit-touch-callout: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;}
	header {background-image:none;min-height:auto;padding:10px 0;}
	.header_left {padding:0 0 0 10px;margin-bottom:0;right:auto;bottom:auto;width:auto;height:auto;background-image:none;}
	.header_right {padding-right:10px;padding-top:18px;}
	header .wrapper {overflow:hidden;}
	nav {min-height:auto;background-image:none;background-color:#923A84;}
	nav ul {float:none;}
	nav ul li {margin-right:0;margin-bottom:4px;}
	nav {padding:4px 4px 0;}
	nav ul li:after {content:"";}
	nav ul li {width:33%;}
	nav span { right: 0; left: unset; top: 0; transform: unset; width: fit-content; }
	nav ul li a {border-radius:0px;border:1px solid #A0448F;line-height:35px;background:#FF69B3;}
	nav ul li.current_page_item a,nav ul li a:hover {background:#FA3E9C;}

	.fa-caret-up:before { content: "\f0d8"; right: 0; left: 0; }
	#banner {min-height:auto;background-image:none;background:#66225B;padding:10px;margin-top:0;}
	#banner .wrapper {overflow:hidden;}
	.slogan {bottom:0;}
	
	.dropdown ul ul,.dropdown ul ul li,.dropdown ul ul li a {width:100%;}
	
	.dropdown ul ul li a {background-color:#FF8CC5;}
	.dropdown ul ul li a:hover,.dropdown ul ul li.current_page_item a {background:#FA3E9C!important;}
	.dropdown ul ul li {margin-bottom:0;}
	
	#mid {background-image:none;min-height:0;margin:0;padding:10px 0;text-align:center;}
	.midbox {top:0;}
	
	#main  {padding:0 10px 10px;margin-top:0;background-image:none;}
	.maincontents {padding:0;}
	.event_table_con{overflow-x: scroll;}
	
	#col-a {float:none;width:100%;overflow:hidden;box-shadow:none;}
	#col-b {float:none;width:100%;padding-top:0;}
	
	.sidebar-menu {float:left;width:49%;min-height:100%;}
	.sidebar-menu ul {padding:0;}
	.sidebar-menu ul li a{background-image:none;background:#E6A527;}
	.sidebar-menu ul li.current_page_item a,.sidebar-menu ul li a:hover {background:#FA40A1;}
	
	.contact {float:none;width:500px;background-image:none;border-radius:10px;padding:15px;margin:0 auto;overflow:hidden;}
	.contact .second {margin-bottom:0px;}
	.contact h2 {text-align:center;margin-bottom:10px;}
	
	.newsletter {float:none;width:500px;margin:0 auto;}
	
	.mission {float:right;width:49%;background-image:none;background:#000;text-align:center;min-height:auto;padding:15px;}
	.mission p {text-align:left;}
	.visitorCounter {margin:0 auto;}
	.visitor_container {float:left;width:49%;}
	
	#bottom {min-height:auto;background-image:none;}
	#bottom h2::after {content:"";}
	#bottom::after {top:10px;}
	
	footer {background-image:none;min-height:auto;background:#FD76B9;margin-top:0;padding-top:0;}
	footer .wrapper {overflow:hidden;}

	.menu-footer-menu-container {min-height:auto;background-image:none;}
	.menu-footer-menu-container ul {float:none;}
	.menu-footer-menu-container ul li {margin-right:0;margin-bottom:4px;}
	.menu-footer-menu-container {padding:4px 4px 0;}
	.menu-footer-menu-container ul li:after {content:"";}
	.menu-footer-menu-container ul li {width:33%;}
	.menu-footer-menu-container span { right: 0; left: unset; top: 0; transform: unset; width: fit-content; }
	.menu-footer-menu-container ul li a {border-radius:0px;border:1px solid #A0448F;line-height:35px;background:#FB409B;}
	.menu-footer-menu-container ul li.current_page_item a,.menu-footer-menu-container ul li a:hover {background:#FA3E9C;}
	
	.newsletter h2 {text-align:center;}
	.newsletter {width:441px;margin-top:20px;}
	.newsletter h2::before {content:"";}
	.footer-up {background-image:none;min-height:auto;background:#FB409B;margin-top:0;padding:10px 0;margin-bottom:0;}
	.footer-down {margin-top:0;padding:10px;}
	
	.midbox {margin-bottom:20px!important;}
	.newsletter h2 { position: relative; padding-left: 0;}
	.comment-form input[type="submit"] { width:30%; }

	.thumb { margin: 10px 0px 40px 20px; }

}

@media only screen 
and (max-width : 900px) {
.header_left {float:none;text-align:center;width:100%;padding:0;}
.header_right {float:none;text-align:center;width:100%;padding:0;}
.header_right h2 {margin:10px 0 5px;}
}

@media only screen 
and (max-width : 805px) {
	nav ul li {width:49%;}
	.footer-left {float:none;display:block;text-align:center;}
	.footer-right {float:none;display:block;text-align:center;}
	#copyright {padding-top:5px;text-align:center;}
	.footer-logo {padding-top:15px;}
}

@media only screen 
and (max-width : 800px) {
	.menu-footer-menu-container ul li {
		width: 100%;
	  }
}
@media only screen 
and (max-width : 700px) {
.grid-gallery-photos { height: 9240px!important; }
}
@media only screen 
and (max-width : 670px) {
.mid_box:nth-child(2) {margin:0!important;}
.mid_box {margin-bottom:15px;}
#copyright strong { display: block; }
#copyright span{display: none;}
}

@media only screen 
and (max-width : 642px) {
.visitorCounter {width:100%;padding-right:5px;}
.visit_num {width:150px;float:right;}
}

@media only screen 
and (max-width : 600px) {
	.dropdown ul ul {position:relative;padding-top:4px;}
	.dropdown ul ul li  {margin-bottom:4px;}
	.dropdown ul ul li a {text-align:center;margin-bottom:0;border-bottom:0;}
	.sidebar-menu {width:100%;float:none;}
	.mission {width:100%;float:none;background-image:none;padding:10px;}
	.contact {float:none;width:100%;}
	.visitor_container {float:none;width:100%;}
	.visitorCounter {width:300px;}
	.nav-toggle-button, nav li{display: block; }
	nav{display: none;}
	nav ul li {width:100%;}
	#banner {display:none;}
	.newsletter {width:100%;}
	.newsletter input[type="email"] {width:220px;margin:0 auto 10px;}
	.newsletter input[type="submit"] {margin:0 auto;}
	.nav_footer ul li:nth-child(5) { position: relative; left: unset; transform:unset; }

	.col_2 { -webkit-column-count: 1;-moz-column-count: 1;column-count: 1;}
	.thumb {float:none;display:block;margin:0 auto 10px;}
	#wpadminbar{position: fixed!important;}
	.contact .first, .contact .second, .contact .third { float: unset; margin: 0 auto; }
	.banner_right {display:none;}
	.banner_left h2 {line-height:30px;}

	.nav_footer ul  {-webkit-column-count: 1;-moz-column-count: 1;column-count: 1;}
	#col-a {padding:10px 0 0;}
	.newsletter form{text-align: center;}
	.footer-up {padding:10px;}
	.contact {padding:0;}
	.visitorCounter {background-image:none;background:#3A3A3A;}
	
	.thumb_desc {float:none;display:block;margin:0 auto 15px;}
	.mid_box { width: 100%;}
	.mid_box a { margin: 9px auto 0; }
	.contact .third:before { left: 4px;}

	.back_top{display: block;}
	#copyright {padding-bottom: 55px;}
}
@media only screen 
and (max-width : 500px) {
.col_2 { -webkit-column-count: 1;-moz-column-count: 1;column-count: 1;}
.thumb,.thumb2 {float:none;display:block;margin:0 auto 10px;}
.comment-form input[type="submit"] { width:50%; }

/* Nonhome */
.calendar-con{position: relative;overflow-x: scroll;width: 100%;}
#mc-3d5a35dc491e7c24858a2c2a1c6047be{width: 650px!important;}
}

@media only screen 
and (max-width : 450px) {
.contact p {float:none!important;width:200px;margin:0 auto 10px;}
.newsletter h2 {padding-left:0;text-align:center;}
.newsletter h2::before {content:"";}
.banner_left p {width:100%;}
.maincontents h1 {float:none;margin-bottom:5px;}
.maincontents .social {float:none;margin:0 0 16px;}

.mid_box {width:100%;}
.mid_box a{margin-left:auto;margin-right:auto;}
}

@media only screen
and (max-width : 320px) {
	.comment-form label { display:block; }
	.comment-form input { width:100%; }
	.comment-form input[type="submit"] { width:50%; }
	.comment-form-comment textarea { width:100%; }
}