@import url('https://fonts.googleapis.com/css?family=Shojumaru');

#goog-gt-tt
{
    display:none!important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}

html {
	margin: 0 auto;
}

body {
	margin: 0 auto;
	padding: 0;
	font-family: arial;
	background: #E8F2EA;
	font-size: 1em;
}

#container { 
	margin: 0 auto;
	padding: 0 0;
	height: 100%;
}

.top_menu_anchor {
	margin: 0 auto; 
	padding: 0;
	height: 0;
	z-index: 2;
	clear: both;
}

#top_menu_block {
	width: 100%;
	max-height: 25vh;
	position: absolute;
	background: #ED6639;
	margin: 0 auto;
	padding: 0;
	z-index: 1;
}

.transl {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
}

.header_text {
	color: #003366;
	text-align: center;
}
.header_text h1 {
	font-family: 'Shojumaru', cursive;
	font-size: 3.5em;
	margin: 0;
	padding: 0;
	text-shadow: 4px -3px 3px #FFFFCC;
}
.header_text h2 {
	position: relative;
	top: -1vh;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

.header_img {
	background: url("/images/sunburst_bg.png");
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: cover;
	width: 40vw;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}
.header_img img {
	position: relative;
	bottom: -.55vh;
	width: 100%;
}

.header_date_block {
	/*width: 22vw;*/
	max-width: 30%;
	max-height: 85%;
	position: absolute;
	top: 0;
	right: 0;
	border: 3px solid #003366;
	font-size: .75em;
	font-weight: bold;
	margin: 5px;
	border-radius: .3em;
}

.header_date_block dl {
	margin: 0;
}

.header_date_block dt {
	background: #003366;
	color: #FFFFCC;
	text-align: center;
	margin: 0 0;
}

.header_date_block dd {
	background: #FFFFCC;
	color: #003366;
	border: 1px solid #003366;
	padding: 0 0 0 2px;
	margin: 0 0;
}

#top_menu {	
	width: 100%;
	position: relative;
	text-align: center;
	color: #FFFFFF;
	padding: 3px 0;
}

#top_menu img {
	display: none;
	height: 35px;
	position: fixed;
	left: 0;
	top: .5%;
	margin-left: 2%;
	z-index: -1;
}
#top_menu ul {
	display: inline-block;
	margin: 0;
	padding: 0;
}
#top_menu li {
	display: inline-block;
	list-style-type: none;
	margin: 0;
}

#top_menu a{
	display: inline-block;
	background: #003366;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	border: 2px solid #FFFFFF;
	border-radius: 5em;
	padding: 3px 6px;
	margin: 3px 2px;
}

#top_menu a:hover {
	background: #CC0000;
}

#top_menu a.active {
	background: #CC0033;
}

.soc_media_button_container {
	display: inline-block;
	position: relative;
	top: 6px;	
}

#top_menu a.twitter-share-button, #top_menu a.twitter-follow-button, #top_menu a.fb-xfbml-parse-ignore {
	display: inline-block;
	background: none;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	border: none;
}

div.fb-share-button {
	display: inline-block;
	position: relative;
	top: -4px;
	padding: 0 0 0 3px;
}

#page_menu {
	text-align: center;
	position: fixed;
	width: 100%;
	bottom: 1%;
}

#page_menu a {
	display: inline-block;
	background-color: rgba(255,0,0,.7);
	color: #FFFFFF;
	text-decoration: none;
	border-radius: 8px;
	padding: 2px;
	margin: 3px auto;
}

#page_menu span {
	display: none;
}

#page_menu span a {
	background: none;
}

#page_menu span a img {
	width: 20%;
}

.top_slide {
	position: relative;
	padding: 0 0 0 0;
	height: 100vh;
	width: 100%;
}

.top_slide:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
}

.top_slide, .top_slide:before {
  background: 50% 50% / cover;  
}

.slide {
	position: relative;
	padding: 0 0 0 0;
	height: 100vh;
	width: 100%;
}

.slide:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left:0;
  right:0;
}

.slide, .slide:before {
  background: 50% 50% / cover;  
}

.text_box, article {
	background: rgba(0,0,0,.6);
	color: #FFFFCC;
	font-size: 1.2em;
	border-radius: 8px;
	height: 100%;
	margin: 2vh 1vw 0 1vw;
	padding: 1% 2%;
}

article {
	padding: 0 10px 10px 10px;
}

article p a {
	color: #ED6639;
	text-decoration: none;
}

article p a:hover {
	text-decoration: underline;
}

.byline, .permalink, .publisher, .date_modified {
	display: inline;
	font-size: .7em;
}

.publisher img {
	vertical-align: -7px;
}

.permalink a {
	color: #FFFFCC;
}

.related_articles {
	font-size: .85em;
	background: rgba(0,0,0, .5);
	border-radius: 5px;
	padding: 5px;
	margin: 5px 0 0 0;
}

.related_articles div {	
	font-weight: bold;
}

.related_articles a {
	color: #FFFFCC;
	text-decoration: none;	
}

.related_articles a:hover {
	color: #FFFFCC;
	text-decoration: underline;	
}

.text_inner {	
	height: 72vh;
	overflow-y: auto;
}

.text_inner_small {
	max-height: 30vh;
	overflow-y: auto;
}

.text_box a {
	color: #ED6639;
	text-decoration: none;
}

.text_box a:hover {
	text-decoration: underline;
}

.box_title h3, article h3 {
	font-size: 1em;
}

.box_title, article h3 {
	text-align: center;
	font-weight: bold;
	color: #ED6639;
	border-bottom: 1px solid #ED6639;
}

.box_title a:hover {
	color: #FFFFAA;
	text-decoration: none;
}
.box_title h3, .box_title h4 {
	margin: 0;
	padding: 2px 0 0 0;
}

.box_title h5 {
	color: #FFFFCC;
	font-size: .7em;
	padding: 1px 0 0 0;
	margin: 0 0;
}

article h3 {	
	margin: 0;
	padding: 3px 0 0 0;
	border: none;
}

article h4, .text_inner h4 {
	text-align: center;
	font-size: .7em;
	padding: 0 0 3px 0;
	margin: 0;
	border-bottom: 1px solid #ED6639;
}

.menu_cat h3 {
	text-align: left;
	font-size: .9em;
	border-bottom: 1px solid #ED6639;
	margin: 0;
	cursor: pointer;
}

.menu_cat div {
	display: none;
	background: rgba(0,0,0,.5);
	position: absolute;
	width: 20%;
	right: 14%;
	padding: 2px;
}

div.menu_cat:hover > div {
	display: block;
}

.text_box p {
	margin: 1.5% 0 0 0;
	line-height: 100%;	
}

.text_box video, article video {
	width: 100%;
	margin: 2px 0 0 0;	
}

.pic_box {
	background-color: #FF0000;
	margin: 0 5%;
	padding: 1% 0 1% 1.5%;
	border-radius: 8px;
}

.pic_box .pic_cell {
	position: relative;
	width: 32%;
	margin: 0 1% 0 0;
	float: left;
}

.pic_box .caption {
	display: none;
	background: rgba(0,0,0,.7);
	color: #FFFFCC;
	padding: 3px 6px;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

.pic_box img {
	width: 100%;
}

.link_box a {
	display: block;
	background: rgba(0,0,0,.6);
	font-size: .9em;
	color: #FFFFCC;
	padding: 1px 2px;
	margin: 5px 0;
}

.link_box a:hover {
	background: rgba(255,255,204,.8);
	color: #000000;
}

.link_box a.active_link {
	background: rgba(255,255,175,.8);
	color: #CC0022;
	font-size: .8em;
}
.link_box a span {
	color: #FF5511;
}

.link_box a.active_link span {
	color: #000000;
}

.link_box p {
	font-size: .9em;
	background: rgba(0,0,0,.4);
}

.half {
	width: 50%;
	float: left;
}

.width_70 {
	width: 70%;
	float:left;
}

.width_80 {
	width: 80%;
	float:left;
}

.width_20 {
	width: 20%;
	float:left;
}

.width_30 {
	width: 30%;
	float: left;
}

.width_25_0 {
	width: 25%;
}

.width_30_0 {
	width: 30%;
}

.width_45_0 {
	width: 45%;
}

.width_49_0 {
	width: 49%;
}

.width_100_0 {
	width: 100%;
}

.message_response {
	background: #FFFFFF;
	color: #000000;
	padding: 3px;
	margin-top: 1em;
}

.red {
	color: #FF3300;
}

.spacer_1 {
	clear: both;
}

.ttip span, .ttip span a{
	color: #FF0099;
	text-decoration: underline;
	text-decoration-style: double;
	cursor: context-menu;
}

.ttip span a{
	cursor: pointer;
}

.ttip span a:hover{
	text-decoration: inherit;
	color: #FF00FF;
}

.small_text {
	font-size: .6em;
}

#ajax_target {
	display: none;
	cursor: zoom-out;
	background: rgba(0,0,0,.7);
	text-align: center;
	position: fixed;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: 16;

}

#ajax_target .text_box {
	background: #003366;
}

#ajax_target img {
	max-width: 90vw;
	max-height: 90vh;
	margin-top: 5vh;
}

#ajax_target p {
	display:block;
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	background: rgba(0,0,255,.8);
	color: #FFFFFF;
	position: absolute;
	bottom: 0;
	margin: 0 0;
}

#ajax_target p a {
	color: #FFFFFF;
}

#x_box {
	display: none;
	position: fixed;
	top: 1vh;
	right: 1vw;
	font-family: verdana;
	font-size: 1.5em;
	font-weight: bold;
	color: #EEEEEE;
	text-decoration: underline;
	cursor: pointer;
	z-index: 17;
}

.inner, #top_section .inner {
	position: absolute;
	margin: 5vh 0 0 0;
}

.float_r  {
	float: right;
}

.noborder {
	border: none;
}

.rss_block span {
	font-size: .8em;
}
.rss_block p {
	font-size: .8em;
}
.rss_top {
	position: sticky;
	top: 0;
	background: #575757;
	padding: 0 2px;
}

.rss_block hr {
	clear: both;
}
.rss_block form {
	margin: 0 0;
	padding: 0 0;
}

.feed_error {
	font-weight: bold;
}

#top_section .inner {
	margin: 18vh 0 0 0;
}

#top_section {
	background-image: url("/images/DSC_5263.jpg");
	background-attachment: fixed; 
}

#section_1 {
	background-image: url("/images/DSC_1486.jpg");
	background-attachment: fixed;
}

#section_2 {
	background-image: url("/images/DSC_1744.jpg");
	background-attachment: fixed;
}

#section_3 {
	background-image: url("/media/files/yok_pic_7.jpg");
	background-attachment: fixed;
}

div.content {
	padding: 18vh 0 1vh 0;
	height: 100%;
}

.pic_frame_small, .pic_frame_med, .pic_frame_large, .video_frame_small, .video_frame_med, .video_frame_large {
	background-color: rgba(237,102,57,.8);
	color: #FFFFCC;
	border-radius: 4px;
}

.pic_frame_small, .video_frame_small {
	width: 25%;
}

.pic_frame_med , .video_frame_med {
	width: 49%;
	
}

.pic_frame_large, .video_frame_large {
	width: 100%;
}

.pic_frame_small img, .pic_frame_med img, .pic_frame_large img {
	width: 100%;
	cursor: zoom-in;
}

.video_frame_small video, .video_frame_med video, .video_frame_large video {
	width: 100%;
	margin: 0 0;
}

.video_frame_small iframe, .video_frame_med iframe, .video_frame_large iframe {
	width: 100%;
	height: 50vh;
	margin: 0 0;
	border: none;
}

.video_frame_large iframe {

	height: 75vh;
}

.pic_frame_small p, .pic_frame_med p, .pic_frame_large p, .video_frame_small p, .video_frame_med p, .video_frame_large p {
	font-size: .9em;
	text-align: center;
	padding: 2px 2px;
	margin: 0 0;
}



.ital {
	font-style: italic;
	font-size: .8em;
	font-weight: bold;
}

.left {
	float: left;
	margin: 5px 1% 2px 0;
}

.right {
	float: right;
	margin: 5px 0px 2px 1%;
}

.clr_r {
	clear: right;
}

.clr_l {
	clear: left;
}

.clr {
	clear: both;
}

.center_box {
	margin: auto;
}

.center {
	text-align: center;
}

.underline {
	text-decoration: underline;
}

.bold, .hilite {
	font-weight: bold;
}

.user_sitemap ul {
	list-style-type: none;
}

.user_sitemap a {
	color: #FFFFCC;
	text-decoration: none;
}

.user_sitemap a:hover {
	text-decoration: underline;
	font-weight: bold;
}

label a {
	color: #FFFFFF;
	text-decoration: underline;
}

footer {
	background: #000000;
	color: #FFFFCC;
	text-align: center;
	padding: 5vh 0;
}

footer .bottom_menu {
	padding-bottom: 8px;
}
footer .bottom_menu ul, footer .bottom_menu li {
	display: inline;
	margin: 0 0;
	padding: 0 4px;
}
footer a {
	color: #FFFFCC;
	text-decoration: underline;
}

footer a:hover {
	font-weight: bold;
	text-decoration: none;
}

#page911 {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;	
	background-color: rgba(0,0,0,.8);
	background-image: url("/images/remember911.png");
	background-size: 95%;
	background-position: bottom;
	background-repeat: no-repeat;
	color: #FFFFFF;
	z-index: 20;
}

#page911 p {
	text-align: center;
	font-size: 1.5em;
	padding: 2vh 2vw;
}

#page911 p span {
	color: #FFFFCC;
	font-size: .8em;
}


@media only screen and (max-width: 380px) {
   body { 
	font-size: .1em; 
	}
   .header_text h1 { 
   font-size: .5em; 
   }
   #top_menu_block h2 {
	display: none;
   }
   div.header_date_block { 
   display: none; 
   }
   .transl {
	height: 26px !important;
	overflow: hidden !important;
	}
}

@media screen  
  and (max-width: 640px)  
  and (orientation: landscape) {
  #top_menu_block h2 {
	display: none;
  }
  #top_menu {
	top: -4vh;
  }
	.transl {
	height: 26px !important;
	overflow: hidden !important;
	}

}

@media only screen and (max-width: 700px) {
   body { 
	font-size: .3em; 
   }
  .header_text h1 { 
   font-size: 1em; 
   }
	div.header_date_block { 
	display: none; 
   }
   #top_section .inner {
	margin-top: 25vh;
   }
   .text_inner {	
	max-height: 65vh;
}
   .transl {
	height: 26px !important;
	overflow: hidden !important;
	}
}

@media only screen and (max-width: 810px) {
	body { 
		font-size: .7em; 
	}
	.header_text h1 { 
		font-size: 3em; 
   }
	div.header_date_block { 
		font-size: .6em; 
   }
	.transl {
	height: 26px !important;
	overflow: hidden !important;
	}
}

@media only screen and (max-width: 1300px) {
	body { 
		font-size: .9em; 
	}
	.header_text h1 { 
		font-size: 3em; 
   }
	div.header_date_block { 
		font-size: .6em; 
   }
   	.transl {
	height: 26px !important;
	overflow: hidden !important;
	}
}

@media only screen and (max-width: 1400px) {
	body { 
		font-size: .9em; 
	}
		div.header_date_block { 
		font-size: .7em; 
   }
   	.transl {
	height: 26px !important;
	overflow: hidden !important;
	}
}

@media only screen and (orientation: portrait) {
div.content {
	padding: 14vh 0 0 0;
}
}

@media only screen and (orientation: portrait) {
div.content {
	padding: 15vh 0 0 0;
	}
   #top_section .inner {
	margin-top: 17vh;
   }
   .text_inner {	
	max-height: 68vh;
	}
	.video_frame_small iframe, .video_frame_med iframe, .video_frame_large iframe {
	height: 30vh;
	}
	.video_frame_large iframe {
		height: 50vh;
	}
}

@media only screen and (max-height: 500px) {
div.content {
	padding: 26vh 0 0 0;
	}
   #top_section .inner {
	margin-top: 25vh;
   }

   .text_inner {	
	max-height: 65vh;
	}
}



/*  style definitions imported from old japan-days site */

table.lang_box {
	border-spacing: 0;
}

table.lang_box td{
	padding: 1px;
	border: 1px solid #ECE5B6;
	text-align: center;
}

.table_title, .table_title_2, .table_title_3 {
	font-size: 1em;
	color: #CC0000;
	font-weight: bold;
	background: #ECE5B6;
	border-bottom: 1px solid #CC0000 !important;
}

.table_title_3 {
	border-left: 1px solid #CC0000 !important;
	border-right: 1px solid #CC0000 !important;
}

.table_title_2 {
	font-size: .8em;
	text-align: left !important;
}

.caption {
	background-color: #333333;
}
/* end old j-days style definitions */

