#menu .nav li ul { z-index: 999; }

@media (max-width: 1200px) {
	*,
	*:after,
	*:before { box-sizing: border-box; outline: 0; padding: 0; margin: 0; }

	body { min-width: 320px; zoom: 0 !important; }

	#menu { z-index: 999; }
	#menu .nav li.active ul { opacity: 1; left: 0; background: rgba(255,255,255,1); }

	#banner { height: 0; padding-bottom: 28.3%; background-size: cover; }

	.container { width: 100%; max-width: 980px; padding: 0 10px; }

	.header_line img { width: 100% !important; }

	.home-row2 { max-width: 980px; width: auto; }

	.blockd { width: calc(100% - 288px); margin-right: 0; padding-right: 4%; }
	.blocke { width: 288px; }

	#header form:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }
	.header_container { width: 980px; }
	.header_container > img { padding: 0; margin: 15px; }
	#header .search_box { width: 40%; height: auto; min-height: 24px; }
	#header .search_box + .search_box { width: 60%; padding-right: 20px; }

	.search_goa { background: #ededed; width: calc(100% - 36px); max-width: 100%; height: 30px; border-width: 1px 0 1px 1px; border-style: solid; border-color: #777777; border-radius: 7px 0 0 7px; box-shadow: inset 1px 2px 5px 0px #b2b2b2; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
	.search_button { float: right; -webkit-appearance: none; -moz-appearance: none; appearance: none; }

	.header_container #login-search { right: 25px; width: calc(100% - 420px); padding: 9px 0 3px 15px; }

	.boxnews { height: auto; min-height: 205px; margin-bottom: 10px; }

	.footer-area-a li { margin-bottom: 3px; }
	.footer-area-a li a { width: 100%; line-height: 1.2; margin-top: 0; display: inline-block; margin-right: 0; word-break: break-word; }

	.footer-bottomright { width: 34%; padding-right: 0; }
	.footer-bottomleft { width: 66%; }

	.login { width: 100%; min-height: 66px; height: auto; }
	.login_title { padding-left: 0; }
	.login_box { width: 100%; }
	.login_box form { float: none; display: inline-block; max-width: 570px; }
	.login_box form:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }
	.login_box .fill_img { background: transparent; margin-right: 0; margin-left: 0; padding-left: 7px; }
	.login_form .select { width: 100%;  height: 26px; padding: 0 10px; border-radius: 7px; margin-top: 0; box-shadow: inset 1px 2px 5px 0px #d1d1d1; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
	.login_box .space_2 { padding-left: 20px; margin-left: 0; }
	.login_box .login_button { float: right; margin-left: 20px; }
	.login_box .register { float: none; width: 100%; text-align: center; margin-right: 0; margin-top: 10px; max-width: 570px; }
}

@media (max-width: 1024px) {
	.header_container { width: 100%; }

	.home-row1:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }

	.home-row2 { max-width: 100%; width: 100%; }

	.blocka,
	.blockb { width: auto; max-width: 33.33%; min-height: 307px; height: auto; padding-left: 10px; }

	.blockc { max-width: 33.33%; width: auto; min-height: 340px; height: auto; padding-left: 10px; }

	.blockf { max-width: 100%; width: auto; }

	.box { width: auto; max-width: 294px; height: auto; min-height: 205px; margin-left: 0; }

	.boxnews { width: calc(100% - 10px); margin-left: 0; padding-left: 10px; }
	.events { width: 88%; }

	.button_sub { width: 88%; margin-left: 10px; }

	#mc_embed_signup .mc-field-group input,
	#mc_embed_signup .mc-field-group select { width: 100% !important; }

	.editor ul:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }
	.pdf { max-width: 280px; width: 100%; }

	#footer { height: auto; min-height: 250px; }

	.footer-area-a,
	.footer-area-b,
	.footer-area-c,
	.footer-area-d { width: 25%; min-height: 150px; height: auto; margin-right: 0; padding: 0 13px; }
}

@media (max-width: 992px) {
	.header_container > img { transform: scale(.7); transform-origin: 0 0; margin: 22px 15px 15px; }

	.header_container #login-search { right: 15px; width: calc(100% - 310px); }
	#header form { width: 100%; }

	.fb-page { width: 228px !important; overflow-x: auto; }

	.docs_left { width: 170px; }
	.docs_right { width: calc(100% - 170px); padding-left: 3%; margin-left: 0; }

	.footer-bottomleft,
	.footer-bottomright { width: 100%; }

	.footer-bottomright { text-align: center; margin-top: 0; margin-bottom: 30px; }

	.login { float: none; max-width: 585px; margin: 0 auto; }
	.login:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }
}

@media (max-width: 767px) {
	#header { position: relative; background: transparent; min-height: 142px; height: auto; border-bottom: 5px solid #5ba641; }

	.header_container { height: auto; text-align: center; padding: 15px 20px; margin-top: 0; }
	.header_container > img { transform: scale(.9); margin: 0; }

	#header .search_box { text-align: left; }
	#header .search_box + .search_box { text-align: right; }

	#header form { float: none; width: 100%; }

	.header_container #login-search { position: relative; right: 0; max-width: 600px; width: auto; padding: 0; border-left: 0; }
	.header_container #login-search:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }

	#menu { display: none; top: 100%; background: #f5f5f5; width: 100%; margin-top: 5px; }
	#menu .nav li { float: none; text-align: center; margin-right: 0; }
	#menu .nav .active > a { color: #027439; }
	#menu .nav li a { font-size: 18px; }
	#menu .nav li ul { position: static; opacity: 0; left: auto; width: 100%; max-height: 0; text-align: center; transition: max-height .3s, opacity .3s;}
	#menu .nav li.active ul { max-height: 200px; opacity: 1; }
	#menu .nav li ul li { text-align: center; border-bottom: 0; }
	#menu .nav li ul li a { font-size: 14px; }

	#menu .nav li:hover ul { background: transparent !important; }
	#menu .nav li:hover ul li a:hover { background: transparent !important; }

	.btn-menu { position: absolute; top: 20px; right: 25px; display: inline-block; width: 30px; height: 40px; z-index: 1; }

	.btn-menu span,
	.btn-menu span:before,
	.btn-menu span:after { transition: background .3s, margin .3s, transform .3s; }

	.btn-menu span,
	.btn-menu span:before,
	.btn-menu span:after { content: ' '; position: absolute; left: 0; right: 0; top: 50%; margin-top: -5px; height: 2px; background-color: #000; }

	.btn-menu span:before { margin-top: -9px; }
	.btn-menu span:after { margin-top: 7px; }

	.btn-menu.active span { background-color: transparent; }

	.btn-menu.active span:before,
	.btn-menu.active span:after { margin-top: -5px; }

	.btn-menu.active span:before { transform: rotate(45deg); }
	.btn-menu.active span:after { transform: rotate(-45deg); }

	.blocka,
	.blockb,
	.blockc { float: none; width: auto; max-width: 100%; padding-left: 0; }

	.blocka,
	.blockb { min-height: 250px; }

	.blockb .box { text-align: center; }

	.blockc { min-height: 300px; margin: 10px 0 0; }

	.blocke,
	.blockd { width: 100%; }

	.blockd { padding-right: 0; }

	.blocke h4 { width: 100%; }

	.fb-page { width: 300px !important; overflow-x: hidden; }

	.events { width: 94%; }
	.contact_containt { width: 100%; }

	.blocke .events,
	.blocke .contact_containt { margin: 0; }
	.blocke .contact_containt a { float: left; }
	.blocke .contact_containt a img { float: none; }
	.blocke .contact_containt .key_farmer { line-height: 1; }
	.blocke .contact_containt .key { width: auto; max-width: 160px; }

	.box { float: none; max-width: 100%; }

	#mc_embed_signup form { padding: 10px !important; }
	#mc_embed_signup h2 { text-align: center; }
	#mc_embed_signup .indicates-required { margin-right: 0 !important; margin-bottom: 20px; }
	#mc_embed_signup .mc-field-group { width: 100% !important; }
	.search_box form { float: none; }

	.login { max-width: 500px; }

	.login_box .fill_img { width: 155px; }
	.login_box .login_button { background: transparent; margin-left: 0; width: 100%; text-align: center; margin-top: 10px; }

	.boxnews { float: none; max-width: 600px; min-height: 180px; margin: 0 auto 10px; width: 100%; }
	.boxnews:after { display: table; line-height: 0; clear: both; content: " "; font-size: 0; height: 0; }

	.button_sub { float: none; margin: 0 auto; width: auto; max-width: 600px; padding-left: 10px; }

	.pdf { max-width: 100%; }

	.footer-bottomleft { margin-bottom: 27px; }

	.footer-area-a,
	.footer-area-b,
	.footer-area-c,
	.footer-area-d { width: 50%; }

	.footer-area-a:nth-child(2n + 1),
	.footer-area-b:nth-child(2n + 1),
	.footer-area-c:nth-child(2n + 1),
	.footer-area-d:nth-child(2n + 1) { clear: both; border-left: 0; }
}

@media (max-width: 600px) {
	.docs_left { float: none; width: 100%; }
	.docs_right { float: none; width: 100%; padding-left: 0; }

	.table-docs { overflow-x: scroll; webkit-overflow-scrolling: touch; }
	.table-docs table { width: 600px; }
}

@media (max-width: 479px) {
	#banner { padding-bottom: 33%; }

	.header_container > img { transform: scale(1); width: 190px !important; height: 26px !important; margin-top: 10px; }

	.header_container { padding: 15px 10px; }

	.header_container #login-search { margin: -4px auto 0; }

	#header .search_box,
	#header .search_box + .search_box { max-width: 100%; width: 100%; padding-right: 0; }

	.fb-page { width: 290px !important; overflow-x: auto; }

	.events { width: 92%; }

	.blocke .contact_containt a { margin-bottom: 10px; }
	.blocke .contact_containt p { float: left; margin-top: 10px; }
	.blocke .contact_containt .key_farmer { width: 100%; }
	.blocke .contact_containt .key { width: 100%; max-width: 100%; }

	.content_box.editor table td { display: block; width: 100%; }
	.content_box.editor table td img { float: none !important; }

	.login_box .fill_img { width: 100%; margin-bottom: 10px; padding-left: 0; }
	.login_box .select { margin-left: 0; }
	.login_box .space_2 { padding-left: 0; }

	.login_box .space_1,
	.login_box .space_2 { min-width: 80px; }

	.footer-area-a,
	.footer-area-b,
	.footer-area-c,
	.footer-area-d { width: 100%; border-left: 0; }

	.footer-area-a:nth-child(2n + 1),
	.footer-area-b:nth-child(2n + 1),
	.footer-area-c:nth-child(2n + 1),
	.footer-area-d:nth-child(2n + 1) { clear: none; }
}
