@charset "utf-8";
/* CSS Document */
body{
	font-size:14px;
	background:url(../img/index/bg.jpg) repeat;
	font-family:Tahoma;
	text-rendering: optimizeLegibility;
	
}

.container{
    padding-right: calc(var(--bs-gutter-x) * 0.1);
    padding-left: calc(var(--bs-gutter-x) * 0.1);
}
.trimSpace {
	display: block;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}
#div_center{
	margin:auto;
	height:auto;
	width: 1350px;
	position: relative;
}

/* Header: same width as the 3-column layout (260 + 16 + 690 + 16 + 260 = 1242px) */
#logo-header {
	max-width: 1272px;
	margin: 0 auto;
	padding: 16px 16px 0;
	text-align: center;
	margin-bottom:10px;
}
#logo-header img {
	display: block;
	max-width: 100%;   /* never wider than its container */
	height: auto;      /* keeps the aspect ratio */
	margin: 0 auto;
}

/* Image button grid */
.menu-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3 per row */
  margin-bottom: 3px;
}

.menu-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 1 / 1;                      /* keeps tiles square */
  background: linear-gradient(#ffd21f, #f5b800);
  border: 2px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #c99700, 0 2px 4px rgba(0, 0, 0, .3);
  color: #1a1a1a;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
	.menu-btn:hover {
	  color: #1a1a1a;
	  transform: translateY(-2px);
	  filter: brightness(1.08);
	}
	.menu-btn img {
	  flex: 1 1 auto;
	  min-height: 0;                            /* lets the image shrink */
	  max-width: 100%;
	  object-fit: contain;
	}
	.menu-btn span { display: block; }

	/* "new" badge */
	.menu-btn .badge-new {
	  position: absolute;
	  top: -6px;
	  right: -4px;
	  padding: 1px 6px;
	  background: #e8e8e8;
	  border: 1px solid #999;
	  border-radius: 8px;
	  color: #d33;
	  font-size: 0.6rem;
	  font-style: italic;
	}


/* center main page */
.box-inline{
	display:inline;
	float:left;
	margin-right:5px;
}
#badge-header{
	position:fixed;
	top:0;
	left:0;
}
.page-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
#menu_l, #menu_r {
	
}
#content_main {
	width: 720px;
	flex: 0 0 720px;
	
    background-color: #006da2;
    padding: 5px;
    border-radius: 5px;
    filter: none;
}
#content_main iframe {
	display: block;
	width: 720px;
	height: 920px;
	border: 0;

}
	#content_main_in{
		height:930px;
		width:710px;
		display:block;
		float:left;
		background-color:#d0dce3;
		margin:0;
		padding:5px;
		border-radius:5px;
	}
	#content_main_c{
		height:920px;
		width:700px;
		border-radius:5px;
		background:#FFF;
		padding:5px;
		overflow: hidden;
	}
	
/* Collapsible header */
.panel-heading {
	cursor: pointer;
	user-select: none;
}

/* CSS chevron (replaces Glyphicons; your JS toggles these classes) */
.glyphicon {
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transition: transform 0.2s ease;
}
.glyphicon-chevron-down { transform: rotate(45deg); }
.glyphicon-chevron-up   { transform: rotate(-135deg); }

.bg-info-subtle {
    background-color: #418bca !important;
}
.border-info {
	border-color: #eeeeee !important;
}
.card-header[data-block] {
    cursor: pointer;
    user-select: none;
 }
.card-header.bg-info-subtle.d-flex.justify-content-between.align-items-center {
    font-weight: bold;
    color: #ffffff;
}
.link_head:hover{
	/*text-shadow: 1px 1px #666, -2px -2px 1px #444;*/
	/*color:#00b6ff;*/
}
a.link_head , .link_head:visited, .link_head:focus{
	color:#FFF;
	text-decoration:underline;
	text-shadow: 0 0 2px #666666;
}

/* Replacement for Glyphicons chevrons (your JS toggles these classes) */
.glyphicon {
	display: inline-block;
	width: 0.6em;
	height: 0.6em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transition: transform 0.2s ease;
}
.glyphicon-chevron-down { transform: rotate(45deg); }
.glyphicon-chevron-up   { transform: rotate(-135deg); }

a.link{
	color:#4793d3;
	text-decoration:solid;
}
a.link:hover, .link:focus{
	color:#00579f;
	text-decoration:underline;
}

.list-group-item:last-child {
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}

#footer_main{
	display:inline-block;
	width:1330px;
	height:120px;
	font-size:11px;
	color:#FFF;
	text-align:center;
	background:#03344d;
	border:1px #006da2 solid;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	position: relative;
    bottom: 0px;
	margin-top: 2px;
}
.yellow{
	color:#FF0;
	text-decoration:blink;
	font-size:12px;
}

/* Stack vertically on narrow screens */
@media (max-width: 1260px) {
	.page-layout { flex-direction: column; align-items: center; }
	#menu_l, #menu_r, #content_main { width: 100%; max-width: 720px; flex: 0 0 auto; }
	#content_main iframe { width: 100%; }
}

/*.menu-buttons { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; margin-inline: auto; }*/

/* Phone and tablet: 6 per row */
@media (max-width: 991.98px) {
  .menu-buttons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 3px;
  }
  .menu-btn {
    border-width: 1px;
    border-radius: 6px;
  }
  #logo-header {
	  padding: 0;
	  padding-top:25px;
	  margin-bottom:25px;
  }
}