/* Fluid layout for narrow desktop windows, tablets and phones. Loaded after style.css; full-width desktop is unchanged. */
.lav-nav-toggle { display: none; }

@media (max-width: 1010px) {
	body { min-width: 0; }
	.main, header .inner, header nav, .content-box-top, footer .inner, .inside-banner, .soci { width: auto; max-width: 980px; box-sizing: border-box; }
	.soci { height: auto; overflow: hidden; padding: 10px 10px 4px; }
	.soci span { max-width: 100%; }
	.inside-banner { height: auto; }
	.inside-banner img { display: block; width: 100%; height: auto; }
	#content_left img, #content_right img, .lav-content img { max-width: 100%; height: auto; }
	.home_form_bg { box-sizing: border-box; }
}

@media (max-width: 960px) {
	header .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px 14px; overflow: visible; }
	header .inner .logo { order: -1; flex: 0 0 100%; float: none; display: block; width: auto; height: 97px; background-position: center 0; }
	header .inner .button-big-green { float: none; margin: 0 !important; padding: 10px 18px; font-size: 14px; line-height: 18px; }

	#primary-menu { position: relative; }
	.lav-nav-toggle { display: block; width: 100%; padding: 14px 20px; border: 0; background: #94c120; color: #fdfcf9; font: bold 16px/20px "Lucida Sans Unicode", "Lucida Grande", sans-serif; text-align: left; cursor: pointer; border-radius: 6px 6px 0 0; }
	.lav-nav-toggle::after { content: "\2630"; float: right; }
	.sf-menu { display: none; height: auto; font-size: 14px; line-height: 18px; }
	#primary-menu.lav-nav-open .sf-menu { display: block; }
	.sf-menu > li, .sf-menu > li.first, .sf-menu > li.last { float: none; border-radius: 0; }
	.sf-menu > li > a, .sf-menu > li:first-child > a, .sf-menu > li.last > a { padding: 12px 20px; white-space: normal; letter-spacing: 0; }
	.sf-menu ul { position: static; display: block !important; width: auto; margin: 0; }
	.sf-menu li li a { text-align: left; padding: 8px 20px 8px 40px; line-height: 20px; }
	.sf-menu li li.last a { border-radius: 0; }
	.sf-menu li li a, .sf-menu li li li a { background: #86b01b; text-shadow: none; }
	.sf-menu li li a:hover { background: #7aa317; }
	.sf-menu li li { border-top: 1px solid rgba(255, 255, 255, .25); }

	.content-box { height: auto !important; min-height: 0; }
	.content-box::after { content: ""; display: table; clear: both; }
	#content_left, #content_right { float: none; width: auto; margin: 0 15px; }
	#content_right { margin-top: 20px; clear: both; }
	.inner_left, .inner_right { float: none; width: auto; margin: 0; }
	.inside_h1, .inside_h2, .inside_text { max-width: 100%; box-sizing: border-box; }
	#point { float: none; display: flow-root; width: auto; max-width: 260px; height: auto; padding-bottom: 12px; }
	p { text-align: left; }
	body { overflow-x: hidden; }
	h1.inside_h2[style], h1.inside_h1[style] { float: none; width: auto; }
	#form_holder input.button { float: none !important; margin-left: 0 !important; clear: both; max-width: 100%; box-sizing: border-box; }

	.home_form_bg { height: auto !important; float: none !important; overflow: hidden; padding: 0 10px 10px; }
	.home_form_bg > div { width: auto !important; float: none !important; height: auto !important; padding: 6px 0; }
	.home_form_bg form { display: block; }
	.home_form { width: calc(50% - 8px) !important; box-sizing: border-box; height: 30px !important; margin: 6px 6px 0 0 !important; }
	.home_form_bg .button1 { margin-top: 8px !important; }

	#my-carousel { max-width: 100%; overflow: hidden; }
	#my-carousel .jcarousel-container { max-width: 100%; box-sizing: border-box; }
	#my-carousel .jcarousel-clip { max-width: calc(100% - 60px); }
	div[style*="display:flex"] { display: block !important; float: none !important; max-width: 100%; }
	div[style*="display:flex"] > div { float: none; width: auto; max-width: 100%; }
	div[style*="display:flex"] p, div[style*="display:flex"] a { float: none !important; margin-left: 0 !important; }
	#form_holder { float: none; width: auto; height: auto; padding: 15px; box-sizing: border-box; }
	.text_name { float: none; display: block; width: auto !important; height: auto; text-align: left; margin-top: 6px; }
	.text_input, .text_input1, .text_input2 { float: none; display: block; box-sizing: border-box; width: 100%; max-width: 340px; height: auto; margin-left: 0 !important; }
	.c_fo { float: none; margin: 10px 0 0; }
	div[style*="714px"] { width: auto !important; max-width: 714px; }
	table.logggin { width: 100%; }
	table.logggin td { display: block; width: auto !important; }
	.home_form1 { width: 100% !important; max-width: 220px; box-sizing: border-box; }

	.lav-card { width: auto; }
	#galleryfic_gallery, div.content { width: auto !important; max-width: 100%; }
	#content_left [style*="width:255px"] { width: 100% !important; max-width: 255px; }

	footer .inner { padding: 0 10px; }
	footer .fleft, footer .fright { float: none; text-align: center; padding-top: 6px; }
	footer img { max-width: 100%; height: auto; }
}

@media (max-width: 600px) {
	h1 { font-size: 28px; line-height: 34px; }
	h2 { font-size: 24px; line-height: 30px; }
	h3, h4, h5 { font-size: 22px; line-height: 28px; }
	.inside_h1 { font-size: 30px; line-height: 36px; }
	#content_left, #content_right { margin-left: 12px; margin-right: 12px; }
	.lav-card .lav-body { padding: 14px 14px 18px; }
	.home_form { width: 100% !important; }
	.lav-codes { columns: 1; }
	header .inner .button-big-green { padding: 8px 12px; font-size: 13px; }
}
