.isMobile .body_part {max-width: 770px;}
.isMobile #top_menu form {display: none;}
	.isMobile #body_all {background-size: 1050px auto; background-position-y: -330px;}
		.main_site.isMobile #body_all {background-size: 180% auto; background-position-y: 0px;}
		.microsite.isMobile #body_all {background-size: 170% auto; background-position-y: 0px;}
	.isMobile #body_cont {margin-top: 70px;}
		.isMobile .homepage #body_cont {margin-top: 0;}
	.isMobile #top_menu {height: auto; min-height: 40px;}
		.isMobile #logo_text {display: block !important; left: 62px; right: 0; text-align: left;}
			.isMobile #logo_text img {max-width: 85%; height: auto;}
		.isMobile #logo_mobile {display: block; left: 0;}
		.isMobile #menu_sandwich_holder {top: 60px; left: 50%; position: absolute;}
			.isMobile #menu_sandwich {position: relative; left: -50%; color: #FFF; display: block;}
			.main_site.isMobile #menu_sandwich {color: #000;}
		.isMobile #top_menu .body_part>ul {position: absolute; top: 100px !important; width: 80% !important; margin: 0 10%; box-sizing: border-box;}
			.isMobile #top_menu .body_part ul li a {padding: 3px 0;}
		.isMobile #top_menu ul li #languages a {display: inline;}
		.isMobile #top_menu ul.submenu_show {display: block !important;}
	.isMobile #top_menu .body_part>ul {display: none; text-align: left; top: 40px; left: 0; width: 30%; background-color: #FFF; position: absolute; left: 0; z-index: 9999;
									min-width: 250px; padding-bottom: 7px;}
		.isMobile #top_menu .body_part>ul li {display: block; list-style-type: none; padding-left: 10px; line-height: 2;}
		.isMobile #top_menu_clear {display: block;}
		.isMobile #top_menu .menu_subm_caret {display: none !important;}
		.isMobile #top_menu .submenu {display: none !important;}
	.isMobile.microsite #logo_msite {width: 100%; text-align: center; top: 10px;}
		.isMobile.microsite #logo_msite_name, .isMobile.microsite #logo_msite_hk {width: 100%; text-align: center;}
		.isMobile.microsite #logo_msite {display: none}
	.isMobile.microsite #header_menu {left: 0; top: 60px;}
	.isMobile #body_header {height: auto !important;}
		.isMobile #body_header #logo {display: none;}
		.main_site.isMobile #body_header {margin-top: 60px;}
		.isMobile #header_menu {display: none;}
		.isMobile .homepage #header_menu, .isMobile.microsite #header_menu {background-color: transparent; position: relative;
																			 top: 0; left: 0 !important; right: 0; display: block;}
			.isMobile #header_menu ul li {display: block; padding-top: 5px; margin: 0 15%;}
				.isMobile #header_menu ul li a {background-color: #cf2200; color: #FFF !important;}
				.isMobile #header_menu ul li a:hover {background-color: #FFF;}
	.isMobile #hp_heading, .isMobile #hp_heading_hr, .isMobile.microsite #hp_heading {top: 0; left: 0 !important; width: 100%;
				position: relative; text-align: center; margin-top: 60px; display: block;}
				.main_site.isMobile #hp_heading_hr {top:0;}
		.main_site.isMobile #hp_heading {display: none;}
		.main_site.isMobile #hp_heading_hr h1 {font-size: 40px; text-shadow: 1px 3px 3px #0003;}
		.main_site.isMobile #hp_heading_hr h2 {font-size: 30px;text-shadow: 1px 3px 3px #0003;}
		.main_site.isMobile #hp_heading_hr .contribution {margin-bottom: 7px;}
	.isMobile.microsite .subpage #hp_heading {display: none;}
	.isMobile.microsite .subpage #header_menu {margin-top: 70px;}
	.isMobile #hp_info_one, .isMobile #hp_info_two {position: relative; width: 100%; left: 0; top: 0; margin-top: 10px;}
		.isMobile.microsite #hp_info_one, .isMobile.microsite #hp_info_two {left: auto; top: 0;}
	.main_site.isMobile #hp_news, .isMobile #hp_news, .isMobile.microsite #hp_news, .isMobile.microsite #hp_services {margin-top: 10px;}

	.isMobile #body_footer table td {width: 99%;}
	.isMobile ul.files li {width: 90% !important;}
	.isMobile #hp_services {height: auto;}
		.isMobile #hp_services p {display: block; width: auto; padding-bottom: 15px;}
			.isMobile #hp_services #hp_services_cont {display: block; width: auto;}
	.isMobile #mapycz_mhd_holder {height: auto;}
		.isMobile #mapycz_mhd {width: 100%; height: 250px; position: relative;}
		.isMobile #mapycz_mhd_search {width: 100%; height: auto; position: relative;}
	.isMobile #hp_news {width: 100%; height: auto; margin-top: 10px; float: none;}
		.isMobile .homepage #hp_news {min-height: 0;}
	.isMobile #body_all #hp_services {width: 100%; /*height: auto;*/ margin-top: 10px; margin-left: 0; float: none;}
	.isMobile #logo_mobile_wrap {margin: 0 auto; text-align: center; padding-bottom: 5px;}
		.isMobile #logo_mobile_wrap #logo_mobile {display: inline-block; position: relative; left: 0; vertical-align: middle;}
		.isMobile #logo_mobile_wrap #logo_text {display: inline-block !important; position: relative; left: 0; vertical-align: middle; margin-left: 15px;}
.isMobile #header_menu ul li a.header_menu_hopon::after {right: 5px; font-size: 70%; padding: 2px;}

@media only screen and (min-width : 700px) {
	#header_menu ul li[data-page-id="120"] {position: absolute; top: 55px; right: 0; background-color: #cf2200; z-index: 20; height: 40px; line-height: 40px;}
		#header_menu ul li[data-page-id="120"] a {height: 40px; line-height: 40px;}
		#header_menu ul li[data-page-id="120"] a div {padding: 0 12px; line-height: 40px;}
	.footer_company_kudyznudy {margin-left: 70px;}
	.footer_company_cesmad {margin-left: 70px;}
}

@media only screen and (min-width : 1000px) {
	#body_all #logo_text {display: block;}
	#top_menu ul.submenu li a {padding: 3px;}
	.hp_info_mobile {display: none;}
}

@media only screen and (min-width : 1200px) {
	.body_part {width: 1150px;}
	#body_cont_right, .subpage #body_cont_wide {width: 841px;}
	
	#top_menu ul.submenu {padding: 2px 5px 4px; min-width: 230px;}
		#top_menu ul.submenu li {padding: 0;}
			#top_menu ul.submenu li a {background-color: #f2f2f2; border-bottom: 1px solid #FFF; padding: 8px 10px; font-size: 111.11%; font-weight: 300;}
				#top_menu ul.submenu li.act a, #top_menu ul.submenu li a:hover {background-color: #f4ca3a; text-decoration: none;}
}

@media only screen and (min-width : 1400px) {
	#header_menu ul li[data-page-id="120"] {top: 70px;}
	#header_menu ul li[data-page-id="120"], #header_menu ul li[data-page-id="120"] a, #header_menu ul li[data-page-id="120"] a div {height: 50px; line-height: 50px;}
}


/*

@media only screen and (min-width : 1700px) {
	.body_part {width: 1650px;}
	#top_menu .body_part>ul {margin-right: 100px;}
	#logo_msite {width: 279px; top: 25px; font-size: 110%;}
		#logo_msite_name, #logo_msite_hk {width: 205px; line-height: 22px; left: 80px;}
			#logo_msite_name {top: 8px;}
			#logo_msite_hk {top: 30px;}
		#logo_msite_pikto {top: 9px;}
			#logo_msite_pikto img {width: 70px;}
	#logo {left: 254px;}
		.microsite #logo {left: 299px;}
	#header_menu {left: 409px;}
	#hp_heading {left: 450px;}
	#hp_info_one, #hp_info_two {width: 395px;}
		.tt_date, .tt_time {text-align: center;}
	#hp_services {background-position-x: center;}
	#body_cont_right, .subpage #body_cont_wide {width: 1290px;}
		table.photogallery_classic td a {max-height: 200px;}
}
/*
@media only screen and (min-width : 2200px) {
	.body_part {width: 1900px;}
	#body_cont_right, .subpage #body_cont_wide {width: 1540px;}
		table.photogallery_classic td a {max-height: 300px;}
}
*/
@media only screen and (max-width : 1400px) {
	.main_site #body_header {height: 95px;}
	.main_site #header_menu ul li {height: 50px;}
		.main_site #header_menu ul li a {height: 50px;}
			.main_site #header_menu ul li a .header_menu_text {line-height: 50px;}
	.main_site #logo {left: 182px;}
		#logo img {width: 112px; height: 72px;}
	#timetable_search_on_map {padding-top: 5px;}
	#hp_heading_hr {top: /*350*/300px;}
	#hp_info_one {height: 325px;}
	#header_menu ul li[data-page-id="227"] a .header_menu_text {line-height: 34px;}
	/* english menu */
	#header_menu ul li[data-page-id="229"] a .header_menu_text {line-height: 34px;}
	#hp_info_two, .hp_info_wide_banner, .hp_info_half_banner {top: 335px; height: 155px;}
		#hp_info_two p {padding: 15px 20px 13px;}
		.hp_info_banner_more {height: 50px;}
			.hp_info_banner_more a {line-height: 50px;}
	#hp_info_hr {top: 405px; height: 85px;}
		#hp_info_hr_info {top: 405px; height: 85px;}
	#hp_news, #hp_services {margin-top: 500px;}
	#hp_content {margin-top: 10px;}
}

@media only screen and (max-width : 1200px) {
	#top_menu form {/*width: 140px;*/width: 30px;}
	#header_menu ul {display:block}
	#header_menu ul li a .header_menu_text {padding: 0 /*7*/2px;}
	/*.main_site #body_all {background-size: auto 550px;}	/*	remove in 2019-01	*/
	/*.main_site #body_all {background-position-x: 100px;}	/*	removed for PF2019, in 2019-01 get it back! */	/*	removed when HR campaign ends	*/
	#body_all #logo_text {display: none;}
	.hp_info_wide_banner {width: 651px;}
	.hp_info_half_banner {}
		.hp_info_banner_links {top: 20px;}
			.hp_info_banner_links a {display: block;}
	#hp_heading {left: 350px;}
	#hp_heading_hr {top: /*380*//*330*/250px;}
		#hp_heading_hr h1 {font-size: 50px;}
		#hp_heading_hr h2 {font-size: 40px;}
	#hp_info_hr {width: 651px; height: 85px; top: 404px;}
		#hp_info_hr_info {width: 200px; left: 760px; height: 85px; top: 404px; line-height: 85px;}
	.cont_half_box {padding: 10px;}
}

@media only screen and (max-width : 1000px) {
	/*.main_site #body_all {background-position-y: -60px;}*/
	.main_site #body_all {background-size: auto 700px;}
	/*.main_site #body_all {background-size: auto 450px;}	/*	remove in 2019-01	*/
	.main_site #body_all {background-position-y: -70px; /*background-position-x: 60px*/}	/*	removed for PF2019, in 2019-01 get it back! */
	.body_part {width: 770px;}
	#top_menu form {/*width: 140px;*/}
		#top_menu form input[type="text"] {width: 140px;}
	/*#logo_msite {display: none;}*/
	#logo_msite {top: /*25px*/27px;}
	.main_site #logo {left: 4px;}
		#logo img {width: 112px; height: 72px;}
		/*.microsite #logo {left: 40px;}*/
			.microsite #logo img {width: 76px; height: 72px;}
	.main_site #header_menu {left: 131px;}
		.microsite #header_menu {left: 295px;}
		#header_menu ul li {height: 50px;}
			#header_menu ul li a {height: 50px; font-size: 100%;}
				#header_menu ul li a .header_menu_text {line-height: 50px;}
	#hp_heading, .microsite #hp_heading {top: 0;}
		#hp_heading h1 {font-size: 32px;}
		#hp_heading h2 {font-size: 22px;}
		.microsite #hp_heading {left: 280px !important;}
		#hp_heading_hr {display: none;}
		.main_site #hp_heading_hr {display: block; top: 50px; left: 350px;}
		.main_site #hp_heading_hr h1 {font-size: 30px;}
		.main_site #hp_heading_hr h2 {font-size: 26px;}
	#hp_info_two, .hp_info_wide_banner {top: 180px; left: 350px;}
	.hp_info_half_banner {width: 450px; top: 170px;}
		.hp_info_wide_banner {display: none;}
		#hp_info_hr, #hp_info_hr_info {display: none;}
	#hp_news a.ad_button {/*display: block;*/}
	.microsite #hp_info_one, .microsite #hp_info_two {top: 100px;}
		.microsite #hp_info_two {left: /*393px*/51%;}
	#hp_news, #hp_services {margin-top: 385px; /*height: 280px;*/}
	.main_site #hp_news,.main_site #hp_services  { margin-top:435px; }

		.microsite #hp_news, .microsite #hp_services {margin-top: 340px;}
		#hp_services {background-position-y: 45px;}
	#body_cont {font-size: 90%;}
		#body_cont_right {width: 465px;}
		.subpage #body_cont_wide {width: auto; float: none;}
	.cont_half_image {margin: 0 0 0 25%; width: 50%; float: none; position: relative;}
	#body_footer {font-size: 80%; margin-top: 80px;}
	.cont_half_box, .cont_half_box_wh {display: block; width: 100%; margin-right: 0;}
		.cont_half_box {padding: 20px;}
	.subpage_msite_left_col {display: none;}
	.subpage_msite_left_col.subpage_msite_left_col_mobile {display: block;}
		.subpage_msite_left_col.subpage_msite_left_col_mobile>div {position: relative !important; top: 0 !important; left: 0 !important;}
	.hp_info_desktop {display: none;}
}

@media only screen and (max-width : 800px) {
	.body_part {width: 95%;}
	/*.main_site #body_all {background-size: auto 350px;}	/*	remove in 2019-01	*/
	.main_site #body_all {background-position-x: -100px}	/*	removed for PF2019, in 2019-01 get it back! */
	#top_menu {height: auto; min-height: 40px;}
		#top_menu #menu_sandwich {display: block;}
		#top_menu .body_part>ul {display: none; text-align: left; top: 40px; left: 0; width: 30%; background-color: #FFF; position: absolute; left: 0; z-index: 9999;
									min-width: 250px; padding-bottom: 7px;}
			#top_menu .body_part>ul li {display: block; list-style-type: none; padding-left: 10px; line-height: 2;}
		#top_menu_clear {display: block;}
		#top_menu .menu_subm_caret {display: none !important;}
		#top_menu .submenu {display: none !important;}
	#body_all #logo_text {display: none;}
	.microsite #logo_mobile {display: block;}
	.microsite #logo_msite_name, .microsite #logo_msite_hk {left: 0;}
	.microsite #logo_msite_pikto {display: none;}
	.microsite #logo {display: none;}
	.microsite #header_menu {left: 170px;}
	#header_menu ul li a {font-size: 90%;}

		/*#header_menu ul li a .header_menu_text {padding: 0 4px;}*/
	#body_cont_left {width: 30%; box-sizing: border-box;}
	#body_cont_right {width: 69%;}
	.hp_info_half_banner {width: 49%; top: 0; height: auto;}
		.hp_info_half_banner .hp_info_banner_text {height: auto; padding-bottom: 20px;}
	#tt_ext {left: 30px !important;}
	#subpage_services #hp_services_cont a {width: 30%; margin: 0 1% 1% 0; padding-bottom: 30%;}
	#body_footer table, #body_footer table tr {display: block; text-align: left;}
		#body_footer table td {display: inline-block; box-sizing: border-box; width: 49%;}
	#mapycz_mhd {width: 70%;}
	#mapycz_mhd_search {width: 30%;}
	.schema>a {width: 130px;}
		.schema>a>img {height: 90px !important;}
}

@media only screen and (max-width : 700px) {
	.homepage #body_cont {padding-top: 1px;}
	#logo {display: none;}
	#logo_mobile {display: block;}
	.main_site #header_menu {left: 0;}
	#hp_heading {left: 305px !important;}
	#hp_info_two {left: 305px}
	.main_site #hp_info_two {top: 150px;}
	.hp_info_wide_banner {display: none;}
	#hp_info_hr, #hp_info_hr_info {display: none;}
	#hp_news {width: 100%; height: auto; margin-top: 355px; float: none;}
		.homepage #hp_news {min-height: 0;}
		.main_site #hp_heading_hr {top: 0;left: 305px;}
		.main_site #hp_news {margin-top: 400px;}
	#body_all #hp_services {width: 100%; /*height: auto;*/ margin-top: 10px; margin-left: 0; float: none;}
		#hp_services p {padding-top: 10px;}
	.homepage #body_cont_wide {padding-top: 1px;}
	#body_cont_left {width: auto; float: none;}
	#body_cont_right {width: auto; float: none;}
}

@media only screen and (max-width : 640px) {
	#top_menu form {display: none;}
	#body_all {background-size: 180% auto;}
	.microsite #logo_msite {width: 100%; text-align: center; top: 10px;}
		.microsite #logo_msite_name, .microsite #logo_msite_hk {width: 100%; text-align: center;}
	.microsite #header_menu {left: 0; top: 60px;}
	.main_site #hp_heading {display: none;}
	#hp_heading, .microsite #hp_heading {top: 0; left: 0 !important; width: 100%; position: relative; text-align: center;}
	#hp_info_one, #hp_info_two {position: relative; width: 100%; left: 0; top: 0; margin-top: 10px;}
	.main_site #hp_info_two {top: 0;}
		.microsite #hp_info_one, .microsite #hp_info_two {left: auto; top: 0;}
	.hp_info_half_banner {position: relative; width: 100%; margin-top: 10px;}
	#hp_news, .microsite #hp_news, .microsite #hp_services {margin-top: 10px !important;}
	#body_footer table td {width: 99%;}
	ul.files li {width: 90% !important;}
	#hp_services {height: auto;}
		#hp_services p {display: block; width: auto; padding-bottom: 15px;}
			#hp_services #hp_services_cont {display: block; width: auto;}
	#mapycz_mhd_holder {height: auto;}
		#mapycz_mhd {width: 100%; height: 250px; position: relative;}
		#mapycz_mhd_search {width: 100%; height: auto; position: relative;}
	.schema {text-align: center;}
		.schema>a {display: block; width: auto; float: none; margin-right: 0;}
	#body_footer {margin-top: 130px;}
		.footer_company {height: 90px; top: -110px; word-spacing: -0.25em; width: 200px;}
		.footer_company div {height: 50%; margin-bottom: 10px;}
}

@media only screen and (max-width : 400px) {
	#logo_mobile, .isMobile #logo_mobile, .isMobile #logo_mobile_wrap #logo_mobile {display: none;}
}
@media only screen and (pointer: coarse) {
	#header_menu ul {display: block; }
	#header_menu ul li[data-page-id="227"] {background: transparent;}
	#header_menu ul li[data-page-id="227"] a {color: #cf2200 !important; background: #f4ca3b;}
	/* english menu */
	#header_menu ul li[data-page-id="229"] {background: transparent;}
	#header_menu ul li[data-page-id="229"] a {color: #cf2200 !important; background: #f4ca3b;}
}