@charset "utf-8";

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

*:focus {
	outline: none;
}

html,
body {
	min-height: 100%;
}

:root {
	--bg-site-start: #005379;
	--bg-site-end: #78c8fa;
	--bg-surface: #ffffff;
	--bg-panel: #eef7ff;
	--text-base: #1f2731;
	--text-title: #18456d;
	--text-accent-hover: #0f3658;
	--border-soft: #b6d4e8;
	--border-strong: #8dbad8;
	--surface-shadow: 0 8px 22px rgba(0, 37, 60, 0.18);
}

body {
	background: linear-gradient(180deg, var(--bg-site-start) 0%, var(--bg-site-end) 100%);
	background-attachment: fixed;
	color: var(--text-base);
	font: 13px/1.45 Verdana, Helvetica, sans-serif;
}

a {
	color: var(--text-title);
	text-decoration: none;
}

a:hover {
	color: var(--text-accent-hover);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

.cc {
	clear: both;
}

.right {
	float: right !important;
}

#header,
#page {
	width: 100%;
}

.page-layout {
	width: 100%;
	max-width: 1532px;
	margin: 0 auto;
	padding: 0 12px;
	position: relative;
	box-sizing: border-box;
}

.container {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

#header {
	background: transparent;
}

#header .header1 {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: calc(100% - 24px);
	max-width: 1508px;
	padding: 16px 22px 12px;
	margin-top: 0;
	background: var(--bg-surface);
	border: 1px solid var(--border-strong);
	border-radius: 0;
	box-shadow: none;
	color: var(--text-base);
}

.logo-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	line-height: 1;
}

.logo-text img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
}

.header-note {
	margin-left: auto;
	max-width: 70%;
	color: var(--text-base);
	font-size: 13px;
	line-height: 1.4;
	text-align: right;
}

#menu-up {
	display: none;
}

.main-nav-bar {
	width: 100%;
	background: transparent;
}

.main-nav-inner {
	width: calc(100% - 24px);
	max-width: 1508px;
	min-width: 0;
	margin: 0 auto;
	padding: 0 18px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 68px;
	flex-wrap: nowrap;
	background: var(--bg-panel);
	border: 1px solid var(--border-strong);
	border-top: 0;
	border-radius: 0;
	box-shadow: none;
}

.main-menu-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.main-menu-button {
	display: none;
	align-items: center;
	gap: 8px;
	color: var(--text-title);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	padding: 12px 0;
	cursor: pointer;
}

.main-menu-button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--text-title);
	stroke-width: 2.2;
	stroke-linecap: round;
}

.main-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 28px;
	flex: 1 1 auto;
	min-width: 0;
}

.main-nav-list a {
	display: block;
	padding: 13px 0;
	color: var(--text-title);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.2px;
	text-decoration: none;
	white-space: nowrap;
}

.main-nav-list a:hover {
	color: var(--text-accent-hover);
}

#search-box.nav-search {
	order: 3;
	float: none;
	width: 196px;
	max-width: 30%;
	min-width: 154px;
	height: auto;
	margin-top: 0;
	margin-left: auto;
	color: var(--text-base);
	flex: 0 1 30%;
}

#search-box.nav-search form {
	width: 100%;
	position: relative;
}

#search-box.nav-search .searchform {
	width: 100%;
	height: 42px;
	padding: 0 48px 0 10px;
	border: 1px solid var(--border-soft);
	border-radius: 10px;
	background: var(--bg-surface);
	color: var(--text-base);
	font-size: 13px;
	line-height: 42px;
}

#search-box.nav-search .searchform::placeholder {
	color: #5f7690;
}

#search-box.nav-search .searchbut {
	position: absolute;
	top: 50%;
	right: 4px;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	margin: 0;
	padding: 0;
	text-indent: 0;
	border: 1px solid var(--border-soft);
	border-radius: 8px;
	background: var(--bg-surface);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#search-box.nav-search .searchbut:hover {
	background: #dceeff;
}

#search-box.nav-search .searchbut svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--text-title);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#page {
	background: transparent;
	font-family: Arial, sans-serif;
	padding-top: 0;
	padding-bottom: 0;
}

#page .container {
	padding: 6px 7px 2px;
	background: var(--bg-surface);
	border: 1px solid var(--border-strong);
	border-top: 0;
	border-radius: 0;
	box-shadow: none;
}

.title-box {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: 10px 0;
}

.title-box>span {
	margin: 0;
	padding: 0;
	width: 100%;
	float: none;
	background: none;
	color: var(--text-title);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	text-align: right;
}

.title-box.title-box-split {
	flex-direction: row-reverse;
	justify-content: space-between;
	gap: 14px;
}

.title-box.title-box-split .title-box-title {
	width: auto;
	flex: 0 0 auto;
	margin-left: auto;
	text-align: right;
}

.title-box.title-box-split .title-box-nav {
	display: inline-flex;
	align-items: center;
	gap: 0;
	flex: 0 0 auto;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	overflow: hidden;
	background: var(--bg-surface);
}

.title-box.title-box-split .title-filter-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	height: 38px;
	padding: 0 14px;
	border: none;
	border-radius: 0;
	background: var(--bg-surface);
	color: var(--text-title);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: none;
}

.title-box.title-box-split .title-filter-btn+.title-filter-btn {
	border-left: 1px solid var(--border-soft);
}

.title-box.title-box-split .title-filter-btn:hover {
	color: var(--text-accent-hover);
	background: #dceeff;
}

.title-box.title-box-split .title-filter-btn.is-active {
	color: #fff;
	background: var(--text-title);
	box-shadow: none;
}

.thumbs-grid {
	position: relative;
	min-height: 220px;
}

.thumbs-loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.9);
	z-index: 20;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader-spinner,
.thumbs-loader .page-loader-spinner {
	width: 44px;
	height: 44px;
	border: 4px solid rgba(24, 69, 109, 0.2);
	border-top-color: var(--text-title);
	border-radius: 50%;
	animation: page-loader-spin 0.8s linear infinite;
}

.thumbs-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@keyframes page-loader-spin {
	to {
		transform: rotate(360deg);
	}
}

.th_container {
	list-style-type: none;
	position: relative;
	margin: 10px 0 0;
	padding: 0;
	visibility: hidden;
}

.th_container.mosaic-ready {
	visibility: visible;
}

.th_container li {
	width: 300px;
	background: var(--bg-surface);
	border: 1px solid var(--border-strong);
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(15, 44, 70, 0.12);
}

.th_container li:hover {
	border-color: var(--text-title);
}

.th_container li img {
	display: block;
	width: 100%;
	height: auto;
}

.th_container li p {
	color: var(--text-base);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
	font-weight: 400;
	margin: 8px;
}

.th_container a {
	position: relative;
	display: block;
}

.category-badge {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.65);
	color: var(--text-title);
	border: 1px solid var(--border-soft);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.category-badge span {
	opacity: 1;
}

.duration-badge {
	right: 8px;
	bottom: 8px;
	padding: 4px 7px;
	font-size: 11px;
}

.archive {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	padding: 12px 0;
	margin: 20px 0 15px;
}

.archive a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border: 1px solid var(--border-strong);
	border-radius: 7px;
	background: var(--bg-panel);
	color: var(--text-title);
	font-size: 18px;
	font-weight: 700;
}

.archive a:hover {
	background: var(--text-title);
	color: #fff;
}

.archive a svg {
	display: block;
}

#footer {
	margin-top: 0;
	padding-bottom: 0;
	background: transparent;
}

#footer-bottom {
	padding: 14px 16px;
	background: var(--bg-surface);
	border: 1px solid var(--border-strong);
	border-top: 0;
	border-radius: 0;
	box-shadow: none;
}

#footer p {
	margin: 14px 0;
	color: var(--text-base);
	font-size: 12px;
	text-align: center;
	line-height: 1.5;
}

#footer p.copy {
	color: var(--text-base);
	font-size: 13px;
}

#footer p.copy a {
	color: var(--text-title);
	font-weight: 700;
}

@media only screen and (max-width: 1000px) {
	#header .header1 {
		justify-content: center;
		padding-top: 12px;
		padding-bottom: 10px;
	}

	#header .header1,
	.main-nav-inner,
	#page .container,
	#footer-bottom {
		padding-left: 12px;
		padding-right: 12px;
	}

	#page .container {
		padding-left: 6px;
		padding-right: 6px;
	}

	.logo-text {
		width: 100%;
		justify-content: center;
	}

	.header-note {
		display: none;
	}
}

@media only screen and (min-width: 601px) and (max-width: 960px) {
	.main-nav-inner {
		gap: 10px;
	}

	.main-nav-list {
		gap: 12px;
	}

	.main-nav-list a {
		font-size: 14px;
		padding: 11px 0;
	}

	#search-box.nav-search {
		width: 161px;
		max-width: 30%;
		min-width: 126px;
	}
}

@media only screen and (max-width: 760px) {
	#header .header1 {
		padding-top: 10px;
		padding-bottom: 8px;
	}

	.title-box.title-box-split {
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 480px) {
	.title-box.title-box-split .title-box-title {
		display: none;
	}
}

@media only screen and (max-width: 600px) {
	.main-nav-inner {
		min-width: 0;
		padding: 0 12px 10px;
		flex-wrap: wrap;
		gap: 8px 14px;
		min-height: 56px;
	}

	.main-menu-button {
		display: inline-flex;
		order: 1;
	}

	.main-nav-list {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0 0 12px;
		width: 100%;
		order: 3;
	}

	.main-menu-toggle:checked~.main-nav-list {
		display: flex;
	}

	.main-nav-list a {
		padding: 10px 2px;
	}

	#search-box.nav-search {
		order: 2;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin-left: 0;
		flex-basis: 100%;
	}

	#search-box.nav-search .searchform {
		height: 44px;
		padding-right: 50px;
		line-height: 44px;
	}

	#search-box.nav-search .searchbut {
		width: 36px;
		height: 36px;
	}
}
