
/**
 * Repos Style (c) 2007 www.reposstyle.com
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/* reposstyle.com version 1.5 */
html {
	filter: expression(document.execCommand("BackgroundImageCache", false, true));
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 82.5%;
	color: white;
	background-color: black;
	background-image: url('https://ojamajo.moe/Bonus/index-style/images/stars/stars.png');
}

@media (min-width: 1px) and (max-width: 331px) {
  .too_tiny_screen { display: none; }
  #discord_banner { display: none !important; }
  #dvdbr_banner { display: none !important; }
  #content_desktop { display: none; }
  #command_desktop { display: none; }
  #content_mobile { display: none; }
  #content_tiny{ display: block; }
  #command_center { display: flex; width: 100%; justify-content: center;}
}

@media (min-width: 332px) and (max-width: 420px) {
  .too_tiny_screen { display: none; }
  #discord_banner { display: block !important; }
  #dvdbr_banner { display: none !important; }
  #content_desktop { display: none; }
  #command_desktop { display: none; }
  #content_mobile { display: none; }
  #content_tiny{ display: block; }
  #command_center { display: flex; width: 100%; justify-content: center;}
}

@media (min-width: 421px) and (max-width: 800px) {
  /*#command_desktop { display: none; }*/
  .too_tiny_screen { display: none; }
  #content_tiny { display: flex; justify-content: center; }
  #content_tiny a img { width: 100%; }
  #content_desktop { display: none; }
  #command_desktop { display: none; }
  #content_mobile { display: none; }
  #command_mobile { display: block; }
  #command_center { display: flex; width: 100%; justify-content: center;}
  #command_center a img { width: 100%; }
  #commandbar { height: auto !important; }
  #discord_banner { display: block; }
  #dvdbr_banner { display: block; }
}

@media (min-width: 801px) and (max-width: 1336px) {
  #command_desktop { display: none; }
  #command_mobile { display: block; }
  #content_desktop { display: none; }
  #content_mobile { display: block; }
  #content_tiny{ display: none; }
  #discord_banner { display: none; }
  #dvdbr_banner { display: none; }
  .logo_depot { max-height: 300px; }
}

@media (min-width: 1337px) {
	  #command_desktop { display: block; }
	  #command_mobile { display: none; }
	  #content_desktop { vdisplay: block; }
	  #content_mobile { display: none; }
	  #content_tiny{ display: none; }
	  #discord_banner { display: none; }
	  #dvdbr_banner { display: none; }
	  
	  /* common page elements, may also be layouted for each tool */
	/*#commandbar {
		min-width: 980px;
		height: 1.5em;
		background-color: #ECF1EF;
		padding: 3px;
		border-bottom: 1px solid #CCCCCC;
	}*/

	/* command = commandbar button, <a> is  active, <span> is greyed out */
	#commandbar a {
		background-position: left center;
		background-repeat: no-repeat;
		font-size: 88.5%;
		margin-left: 0.4em;
		margin-right: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
		padding-left: 22px;
		padding-right: 1.0em;
		padding-top: 0.4em;
		padding-bottom: 0.6em;
		line-height: 2.0em;
		color: #d5b200;
		border-left: 2px dotted #C90AFF;
		font-weight: bold;
	}

	#command_center {
		/*display: flex;
		min-width: 230px;*/
	}

	#command_center a {
		border-left: none;
	}

	/* common commands */
	#commandbar #parent {
		background-image: url('/Bonus/index-style/icons/back.png');
		background-size: 24px 24px;
	}
	#commandbar #fiche {
		background-image: url('/Bonus/index-style/icons/fiche.png');
		background-size: 24px 24px;
	}
	#commandbar #discord {
		background-image: url('/Bonus/index-style/icons/discord.png');
		background-size: 24px 24px;
	}
	#commandbar #refresh {
		background-image: url('/Bonus/index-style/icons/refresh.gif');
	}
	#commandbar #home {
		background-image: url('/Bonus/index-style/icons/home.png');
		background-size: 24px 24px;
	}
	#commandbar #crayon {
		background-image: url('/Bonus/index-style/icons/crayon.png');
		background-size: 24px 24px;
	}
	#commandbar #nadja {
		background-image: url('/Bonus/index-style/icons/nadja.png');
		background-size: 24px 24px;
	}
	#commandbar #club-bom {
		background-image: url('https://ojamajo.fr/styles/Ojamajo_v.1.1/theme/images/forum_link.png');
		background-size: 24px 24px;
	}
	#commandbar #od-fr {
		background-image: url('/Bonus/index-style/icons/ojamajo_anniversary_icon.png');
		background-size: 24px 20px;
	}
	#commandbar #mahodou {
		background-image: url('https://mahodou.altervista.org/favicon.png');
	}
	#commandbar #news {
		background-image: url('/Bonus/index-style/icons/news.gif');
	}
}


#content {
	position: relative;
	padding-top: 45px;
}

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.stars, .twinkling, .clouds {
  position:absolute;
  /*top:0;
  left:0;
  right:0;
  bottom:0;*/
  width:100%;
  height:100%;
  /*display:block;*/
}

.stars {
  background:#000 url(images/stars/stars.png) repeat top center;
  z-index:-100;
}

.twinkling{
  background:transparent url(images/stars/twinkling.png) repeat top center;
  z-index:-50;

  -moz-animation:move-twink-back 3000s linear infinite;
  -ms-animation:move-twink-back 300s linear infinite;
  -o-animation:move-twink-back 300s linear infinite;
  -webkit-animation:move-twink-back 300s linear infinite;
  animation:move-twink-back 300s linear infinite;
}

.clouds{
    background:transparent url(images/stars/clouds.png) repeat top center;
    z-index:-30;

  -moz-animation:move-clouds-back 200s linear infinite;
  -ms-animation:move-clouds-back 200s linear infinite;
  -o-animation:move-clouds-back 200s linear infinite;
  -webkit-animation:move-clouds-back 200s linear infinite;
  animation:move-clouds-back 200s linear infinite;
}

h2 {
	font-weight: normal;
	font-size: 1.4em;
	color: #444444;
	margin-left: 5px;
}
a,
a:visited {
	text-decoration: none;
	color: white;
}
a:hover {
	text-decoration: underline;
}
h2 a {
	color: white !important;
}
img {
	border: none;
}
div#files {
	margin: 0 auto 0 auto;
	width: 99%;
}
/* command = commandbar button, <a> is  active, <span> is greyed out */
.command {
	background-position: left center;
	background-repeat: no-repeat;
	font-size: 82.5%;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-left: 20px;
	padding-right: 0.2em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

#commandbar {
	display: inline-flex;
	width: 100%;
	justify-content: space-between;
	align-items: flex-start;
	/*min-width: 980px;*/
	height: 50px;
	background-color: #123CBB8F;
	padding: 3px;
	border-bottom: 1px solid #CCCCCC;
	position: fixed;
	z-index: 8;
	flew-wrap: nowrap;
	flex-direction: row;
	
}

#footer {
	margin-top: 1.5em;
	padding: 0.2em 0 0.2em 0;
	width: 100%;
	clear: both;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	background-color: #F1E3B4;
	color: #8846FF;
	font-size: 85.5%;
	text-align: left;
}
#footer a {
	color: #8846FF;
}
#footer a.last {
	padding-right: 10px;
}
table {
	width: 100%;
	border-collapse: collapse;
}
table tr {
	padding: 0;
	margin: 0;
}
table td,
table th {
    padding: 1px 0 1px 0;
    margin: 0;
    text-align: left;
}
table td {
	border: none;
    /* border-bottom: 1px solid #FFFFFF; */
	border-bottom: 1px solid #0A0351;
    /* background: #fff url(/Bonus/index-style/icons/rowbackground.png) repeat-x; */
	background: rgba(7,16,43,0.4);
	text-align: right;
}
table td.name {
	text-align: left;
	color: white;
}
table tr.hover td {
    border-bottom: 1px dashed #CCCC99;
}
table th.icon {
	width: 16px;
	height: 16px;
	padding-right: 5px;
}
table th.date {
	text-align: right;
	width: 180px;
}
table th.size {
	text-align: right;
	width: 80px;
}
table hr {
	display: none;
}
