/*@media screen and (min-width: 280px) and (orientation: portrait) {*/
@media screen and (max-width:991px) and (orientation: portrait) {
	body { font-size:80%; }
	.site_profile_top span:nth-of-type(2) { font-size: 20px; }
	.site_profile_top span:nth-of-type(3) { font-size: 14px; }
	.header { display:none }
	.frame_pre { width: calc(100% - 15px); left: -25px; }
	.frame { width: calc(100% - 15vw); padding: 40px 10px 10px 10px; }
	.husen { flex-direction: column; top: 10px; left: 10px; height: 50px; width: 250px; transform:none; }
	.husen_top, .husen_1, .husen_2, .husen_3, .husen_4 { border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; background-size: contain; padding: 16px; width: 20px; height: 20px; }
	.husen a { display: inline-block; color: transparent; width: 20px; height: 20px;text-wrap: nowrap; overflow: hidden; }
	.title > h2 { width: 40%; font-size: 18px; text-wrap: nowrap; }
	.polaroids1 h2, .polaroids2 h2, .polaroids3 h2, .polaroids4 h2 { font-size: 80%; text-wrap: nowrap; }
	.team_pr dd { display: inline-block; position: relative; left: -36px; width: 100%; }
	#map_canvas, #map_canvas2 { width: 90%;height: 300px; }
	#mapbox { flex-direction: column; }
	#mapbox * { flex: unset; }
	.yearlydata .year, .yearlydata .days, .yearlydata .times, .yearlydata .norow { display:none; }
	#chart1-contents, #chart1-contents_1, #chart1-contents_2 { max-height: 600px;height:auto; }
	#tateG td div { width: unset; }
	.peakdata { table-layout: fixed; }
	.peakdata .nocol { display:none; }
	.peakdata > thead > tr > th:nth-of-type(-n+2){ width:20%;overflow-wrap: anywhere; }
	#td1_m { overflow-wrap: unset; }
}
@media screen and (max-width:991px) {
	.picturebox div { width: 90%; margin: 20px 10px; }
	.balloontbll td:first-child { display:none; }
	.balloontblr td:last-child { display:none; }
	.left_balloon:after, .left_balloon:before, .right_balloon:after, .right_balloon:before { content:none; }
	.right_balloon_image_mini { display: block; background-size: 40px 40px; background-position: 100% 0; height: 40px !important; width: 40px; min-height: unset; padding-bottom: 3px; float:right; }
	.left_balloon_image_mini  { display: block; background-size: 40px 40px; background-position: 0 0;    height: 40px !important; width: 40px; min-height: unset; padding-bottom: 3px; float:left;  }
	/*.right_balloon, .left_balloon { display: flex; }*/
	.balloontbll, .balloontblr { padding: 0; }
}
@media screen and (min-width:750px) and (max-width:1025px) {
	.picturebox div { width: 70%; margin: 20px 10px; }
}
@media screen and (max-width: 880px) and (orientation: portrait) {
	#tateG td div { width: unset !important; }
}
@media screen and (max-width: 750px) and (orientation: portrait) {
	#tateG td div { width: 9px !important; }
}
@media screen and (max-width: 650px) {
	#tateG td div { width: 8px !important; }
}
@media screen and (max-width: 520px) {
	#tateG td div { width: 7px !important; }
}
@media screen and (max-width: 460px) {
	#tateG td div { width: 6px !important; }
}
@media screen and (max-width: 380px) {
	#tateG td div { width: 5px !important; }
}
@media screen and (max-width: 330px) {
	#tateG td div { width: 4px !important; }
}
@media screen and (max-width: 280px) and (orientation: portrait) {
	.husen { padding-left: 0 !important; left: 5px; }
	.picturebox div { width: 100% !important; }
	.gentbl, .graphtbl { width: calc(100% - 10px) !important; table-layout: fixed; }
	.team_pr_box { display: inline-block; }
}
@media screen and (max-width: 280px) {
	#tateG td div { width: 3px !important; }
}
@media screen and (max-width: 680px) and (orientation: landscape) {
	/*#tateG td div { width: 8px !important; }*/
	.title > h2 { width: 40%; font-size: 18px; text-wrap: nowrap; }
}
@media screen and (max-width: 960px) and (orientation: landscape) {
	/*.frame_pre { width: 108%; }
	.frame { width: 75% !important; }*/
	.frame_pre { width: calc(100% - 30px); left: -25px !important; }
	.frame:before, .frame:after { display:none; }
	.frame > div, .frame > table { padding-left: 20px; }
	.header { display:none }
	.husen { flex-direction: column; top: 10px; left: 50px; height: 50px; width: 250px; transform:none; }
	.husen_top, .husen_1, .husen_2, .husen_3, .husen_4 { border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; background-size: contain; padding: 16px; width: 20px; height: 20px; }
	.husen a { display: inline-block; color: transparent; width: 20px; height: 20px;text-wrap: nowrap; overflow: hidden; }
	/*.husen a { display: inline-block; color: transparent; width: 20px; height: 20px;text-wrap: nowrap; overflow: hidden; }*/
	.title > h2 { text-wrap: nowrap; }
	.picturebox div { width: 70%; margin-bottom: 30px; }
	#map_canvas { width: 90%;height: 300px; }
	#map_canvas2 { width: 90%;height: 300px; }
	#chart1-contents { max-height: 600px;height:auto; }
	.yearlydata .year, #yearlydata .days, #yearlydata .times, #yearlydata .norow { display:none; }
	.peakdata .nocol { display:none; }
}
@media screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) {
	.frame_pre { width: calc(100% - 3vw); left: 1vw; }
}
