@import "base.css";

ul { padding: 0; margin: 0; }

html {
	width: 100%;
	height: 100%;
	margin: 0 auto; padding: 0;
	display: table;
	margin: 0 auto;
}

body {
	background: #000;
	color: #fff;
	min-height: 100%;
	margin: 0 auto; padding: 0;
	width: 100%;
	height: 100%;
}


#container {
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	margin: auto;
	width: 530px; height: 530px;

}


#contents {
	text-align: center;
	position: relative;
	width: 530px; height: 530px;
	overflow: hidden;
}

#footer {
	margin: 0 auto;
	text-align: center;
}

.inner {
	overflow: hidden;
}

h1 {
	display: block;
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 0;
	margin: auto;
	text-indent: -9999px;
	background-size: contain;
	visibility: hidden;
}

h1#opening-logo {
	width: 250px; height: 100px;
	background: url(img/junlogo-y.png) no-repeat;

	-moz-animation: opening-logo 2s 1s backwards;
	-webkit-animation: opening-logo 2s 1s backwards;
	-o-animation: opening-logo 2s 1s backwards;
	-ms-animation: opening-logo 2s 1s backwards;
}

h1#anniversary-logo {
	width: 300px; height: 180px;
	background: url(img/70th.png) no-repeat;

	-moz-animation: opening-logo 2s backwards;
	-webkit-animation: opening-logo 2s backwards;
	-o-animation: opening-logo 2s backwards;
	-ms-animation: opening-logo 2s backwards;
}

ul#potalindexes {
	position: absolute;
	left: 0; top: 0;
	list-style: none;

	-moz-animation: fadeIn .5s 2.3s backwards;
	-webkit-animation: fadeIn .5s 2.3s backwards;
	-o-animation: fadeIn .5s 2.3s backwards;
	-ms-animation: fadeIn .5s 2.3s backwards;
}



@-webkit-keyframes opening-logo {
	  0% { visibility: visible; opacity: 0.0; }
	 50% { opacity: 1.0; }
	100% { opacity: 0.0; }
}

@-moz-keyframes opening-logo {
	  0% { visibility: visible; opacity: 0.0; }
	 50% { opacity: 1.0; }
	100% { opacity: 0.0; }
}

@keyframes opening-logo {
	  0% { visibility: visible; opacity: 0.0; }
	 50% { opacity: 1.0; }
	100% { opacity: 0.0; }
}
@-webkit-keyframes fadeIn {
	from { opacity: 0.0; }
	  to { opacity: 1.0; }
}
@-moz-keyframes fadeIn {
	from { opacity: 0.0; }
	  to { opacity: 1.0; }
}
@keyframes fadeIn {
	from { opacity: 0.0; }
	  to { opacity: 1.0; }
}

ul#potalindexes li {
	width: 128px; height: 128px;
	overflow: hidden;

	float: left;
	margin: 2px;
	text-align: center;
}
ul#potalindexes li.videoarea {
	background: #111111;
	width: 260px;
	position: relative;
}
ul#potalindexes li.videoarea .youtube {
	display:block;
	width: 258px;
	height: 128px;
	position: absolute;
	top: 0; left: 0;
}

#jun-fb-button { position: fixed; bottom: 10px; right: 10px; }

/* footer */
#tcounter { padding: 0.5em 0; }
#copyright { color: #222; }





