.nav-toggle {
	display: none;
}

/* Header */
@media (max-width: 991px) {
	html,body {
		width: 100%;
		padding: 0;
	}
	html,
	html * {
		box-sizing: border-box;
	}
	body header.ym-header h1,
	body.splash header.ym-header h1 {
		height: 80px;
		background-image: url(header.png);
		background-size: auto 70px;
		background-position: 23px 3px;
		
	}
	body.splash header.ym-header h1 span {
		display: none;
	}
	
	body header.ym-header {
		height: auto;
	}
	body header.ym-header h1 a {
		width: 200px;
		margin-left: 0;
		height: 80px;
		left: 0;
	}
	
}

/* Navigation */
@media (max-width: 991px) {
	.nav-toggle {
		display: block;
		position: absolute;
		top: 15px;
		left: auto;
		right: 30px;
		bottom: auto;
		width: 40px;
		height: 40px;
		padding: 0;
		border: none;
		background: none;
		cursor: pointer;
	}
	.nav-toggle span {
		display: block;
		height: 3px;
		background: #7F0000;
		margin: 8px 0;
	}
	body.splash #nav {
		height: auto;
	}
	body #nav {
		padding: 0 30px;
		margin-top: 0;
		height: auto;
	}
	body #nav1 {
		display: none;
	}
	body #nav1.active {
		display: block;	
	}
	body #nav #nav-inner {
		max-width: 100%;
		height: auto;
	}
	body #nav #nav1 {
		position: static;
		max-width: 100%;
	}
	body #nav1 li {
		float: none;
		display: block;
	}
	body #nav1 * {
		max-width: 100%;
	}
	body #nav1 li a {
		display: block;
		margin: 0;
		font-size: 1.4em;
		color: #FFEEBC;
		line-height: 43px;
	}
	body #nav2 {
		position: static;
		height: auto;
	}
	body #nav2 ul {
		padding-top: 8px;
		padding-bottom: 8px;
	}
	body #nav2 li {
		max-width: 100%;
		padding: 4px 0;
	}
	body #nav2 li a  {
		white-space: unset;
		line-height: 1.3em;
	}
	body #nav2 ul:after {
		content: '';
		display: table;
		clear: both;	
	}
}
/* Banner */
@media (max-width: 991px) {
	body #banner {
		height: auto;
	}
	body #banner #banner-inner {
		position: static;
		max-width: 100%;
		margin-left: 0;
	}
	body #banner #banner-inner .frame {
		position: static;
	}
	body #banner #banner-inner .ce-center .ce-outer {
		float: none;
		right: 0;
	}
	body #banner #banner-inner .ce-center .ce-inner {
		float: none;
		right: 0;
	}
	body #banner #banner-inner .ce-center .ce-inner .column {
		float: none;
	}
	body #banner img {
		width: 100% !important;
		height: auto !important;
	}
}


/* Content */
@media (max-width: 991px) {
	body.splash #main {
		padding-top: 0;
	}
	#main-inner {
		max-width: 100%;
		padding: 0 30px;
	}
	body .ce-gallery img {
		max-width: 100%;
		height: auto;
	}
	body .frame-type-list > div,
	body .frame-type-html > div {
		margin-left: 0 !important;
	}
	
	body .frame-type-list iframe,
	body .frame-type-html iframe {
		width: 100%;
		display: block;
	}
}
@media (max-width: 767px) {
	body .ce-intext.ce-left .ce-gallery,
	body .ce-left .ce-gallery,
	body .ce-intext.ce-right .ce-gallery,
	body .ce-right .ce-gallery {
		float: none;
		margin: 0;
	}
	.ce-gallery .ce-row {
		margin: 0;
	}
	.ce-gallery .ce-row img {
		margin-bottom: 10px;	
	}
	
	.frame-type-form_formframework .form-group label.control-label {
		width: 100%;
		float: none;
		margin-bottom: 5px;
		display: block;
	}
	.frame-type-form_formframework .form-group .input {
		width: 100%;
		float: none;
	}
	body .frame-type-form_formframework .input.checkbox {
		margin-left: 0;
	}
	body .frame-type-form_formframework .btn {
		margin-left: 0;
	}
}
footer #footer-inner ul{
	margin: 0;
}
footer #footer-inner ul li {
	margin-left: 30px;
}
/* Footer */
@media (max-width: 991px) {
	footer #footer-inner {
		max-width: 100%;
	}
	
	
}
@media (max-width: 767px) {
	footer #footer-inner ul li {
		display: block;
	}
	footer #footer-inner .ym-contain-oh {
		float: none;	
	}
}
/*
* {
	outline: 1px solid red !important;
}
*/



.captcha + input {
	margin-left: 20%;
	width: 50%;
}

@media (max-width: 767px) {
	.captcha + input {
		margin-left: 0;
		width: 100%;
	}
}