body {
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0),
			rgba(255, 255, 255, 0) 105px, #ffffff 105px), url(../../images/000146820.jpg) 0 0 repeat-x;
}

.myJumbotron {
	background-color: #dbdfe0;
}

#left-box {
	float: left;
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 1px;
}

.en #logo-emb {
	clear: both;
	display: block;
	float: left;
	margin: 2px 0 0 10px;
	padding: 0;
	width: 35px;
}

.en #logo-emb img {
	width: 35px;
}

.en .embname-ja {
	display: block;
	float: left;
	font-weight: bold;
	font-size: 1.28em;
	margin: 4px 0 1px 4px;
	padding: 0;
	color: #000066;
	background-color: transparent;
}

.en .embname-en a:link {
	display: block;
	float: left;
	font-weight: bold;
	font-size: 1.5em;
	margin: 0 0 0 10px;
	text-align: left;
	color: #000066;
	background-color: transparent;
	text-decoration: none;
}

#ex-header {
	background-image: url(../../images/header_logo.png);
	background-repeat: no-repeat;
}

#ex-menu {
	clear: both;
}

a:visited {
	color: #53c;
	text-decoration: underline;
}

a:link {
	color: #000099;
	text-decoration: underline;
}

.responsive-youtube {
	overflow: hidden;
	padding-bottom: 56.25%;
	position: relative;
	height: 0;
}

.responsive-youtube iframe {
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	position: absolute;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(238, 237, 237, 0.952)
}

.nav-color {
	background: rgba(0, 51, 102, 0.95);
}

nav a:link {
	text-decoration: none;
}

.drk-blue {
	color: rgba(0, 51, 102, 0.95);
}

.ani-txt {
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
	animation: animtxt 7s steps(200, end);
	transition: all cubic-bezier(0.1, 0.7, 1.0, 0.1);
}

@keyframes animtxt {
	from {
		width: 0;
		transition: all 3s ease-in-out;
	}
}

/* test */

.whats-new-container {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}

.whats-new-card {
	flex: 1 1 calc(50% - 20px);
	background: #fff;
	border-radius: 8px;
	padding: 16px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: start;
	gap: 12px;
}

.whats-new-card img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	flex-shrink: 0;
}

.whats-new-card .content {
	flex: 1;
}

.whats-new-card .content a {
	text-decoration: none;
	color: #003366;
	font-weight: bold;
	font-size: 1.1em;
}

.whats-new-card .content .date {
	margin: 4px 0;
	font-size: 0.9em;
	color: #666;
}

.whats-new-card .content .desc {
	font-size: 0.95em;
	color: #333;
}

@media (max-width: 768px) {
	.whats-new-card {
		flex: 1 1 100%;
	}
}

/* Search and Font Size positioning and layout */
.custom-search-font-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding-top: 37px;
}

.google-search {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	margin: 0;
}

.google-search input[type="text"] {
	padding: 0.3em 0.5em;
	font-size: 1em;
	border: 1px solid #0D3D6E;
	border-radius: 4px;
	width: 150px;
	height: 25px;
}

.google-search button {
	padding: 0.3em 0.5em;
	font-size: 0.7em;
	cursor: pointer;
	background-color: #D5F4FE;
	/* Light blue background */
	border: 1px solid #0D3D6E;
	color: #0D3D6E;
	border-radius: 4px;
	height: 25px;
}

.font-size-controls {
	display: flex;
	gap: 0rem;
	color: #0D3D6E;
}

.font-size-controls button {
	width: 25px;
	/* Fixed width */
	height: 25px;
	/* Fixed height */
	padding: 0;
	/* Remove extra padding */
	margin-right: 5px;
	font-size: 0.9em;
	text-align: center;
	border: 1px solid #0D3D6E;
	background-color: #fff;
	cursor: pointer;
	line-height: 20px;
	/* Vertically center single character */
	border-radius: 4px;
	/* Optional: slightly rounded corners */
	box-sizing: border-box;
}

.font-size-controls button.active {
	background-color: #0D3D6E;
	color: #fff;
}

.font-size-label {
	white-space: nowrap;
}

/* Always show by default */
.custom-search-font-controls {
	display: flex;
	gap: 1rem;
	align-items: center;
}

/* Hide on screens smaller than 767px */
@media screen and (max-width: 767px) {
	.custom-search-font-controls {
		display: none;
	}
}

.font-size-label {
	font-size: 0.9em;
	margin-right: 0.1rem;
}

/* Mouse Hover Highlighter */
a {
	color: #000;
	transition: background-color 0.2s ease, color 0.2s ease;
	border-radius: 3px;
	text-decoration: none !important;
}

a:hover {
	background-color: #69b1f8;
	color: white;
	font-weight: bold;
	cursor: pointer;
}

button {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button:hover {
	background-color: #69b1f8;
	color: white;
	border-color: #003366;
	cursor: pointer;
}