/*
Theme Name: GNG CPG
Author: Based on MND CPG11 by Monica (monicandesign.com)
Description: Custom Coppermine theme for GNG Gallery
Version: 2.0 — Structure MND CPG11 exacte
*/

/*
Table of Contents:
1.0 - Main
2.0 - Structure
3.0 - Menu
4.0 - Header
5.0 - Footer
6.0 - CPG Content
7.0 - CPG Menu
8.0 - Forms
9.0 - Images
10.0 - Tables
11.0 - Statlinks
12.0 - Categories
13.0 - Albums
14.0 - Thumbnails
15.0 - Sort order
16.0 - Preview
17.0 - Administrator
18.0 - Miscellaneous
19.0 - No Edit
20.0 - Responsive
  20.1 - Mobile
  20.2 - Tablet
  20.3 - Desktop
-------------------------------------------------------------- */


/* 1.0 Main
-------------------------------------------------------------- */

body {
	font: 13px/23px 'Open Sans', sans-serif;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	color: #2d2d2d;
	background-color: #ffffff;
}

a {
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	text-decoration: none;
	color: #D4794A;
}

a:hover,
a:focus {
	color: #1a1a1a;
}


/* 2.0 Structure
-------------------------------------------------------------- */

.site-content,
.container {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 10px;
}

.site-content:before,
.site-content:after,
.site-navigation:before,
.site-navigation:after {
	display: table;
	content: '';
}

.site-content:after,
.site-navigation:after {
	clear: both;
}


/* 3.0 Menu
-------------------------------------------------------------- */

.site-nav-top {
	width: 100%;
	background-color: #FDDCB5;
	border-bottom: 2px solid #F5A87B;
}

.nav-top-inner {
	max-width: 1220px;
	margin: 0 auto;
	text-align: center;
	padding: 0;
}

.site-nav-top a,
.nav-top-inner a {
	display: inline-block;
	padding: 7px 9px;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #1a1a1a;
	transition: background 0.2s ease, color 0.2s ease;
	border-right: 1px solid rgba(0,0,0,0.08);
	position: relative;
}

.site-nav-top a:hover,
.site-nav-top a:focus,
.nav-top-inner a:hover {
	background: #F5A87B;
	color: #ffffff;
}

/* Séparateur vertical pêche */
.site-nav-top a::after,
.nav-top-inner a::after {
	content: '';
	position: absolute;
	right: 0;
	top: 25%;
	height: 50%;
	width: 1.5px;
	background-color: #F5A87B;
	opacity: 0.6;
}

.site-nav-top a:last-child::after,
.nav-top-inner a:last-child::after {
	display: none;
}

.site-nav-mobile { display: none; }


/* 4.0 Header
-------------------------------------------------------------- */

.site-header {
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
}

.header-banner-img {
	width: 100%;
	height: 430px;
	background: url(./imgs/header.png) center center no-repeat;
	background-size: cover;
}

/* Bloc sous le header */
.header-sub {
	display: flex;
	align-items: center;
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	background: #ffffff;
	border-top: 3px solid #FDDCB5;
	border-bottom: 1px solid #e0e0e0;
	padding: 20px 0;
	gap: 0;
}

/* Colonne gauche : image cliquable */
.header-sub-link {
	flex: 0 0 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
}

.link-img {
	width: 140px;
	height: 120px;
	background: url(./imgs/link-brianne.png) center center no-repeat;
	background-size: contain;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.header-sub-link a:hover .link-img {
	opacity: 1;
}

/* Colonne centre : réseaux sociaux */
.header-sub-social {
	flex: 0 0 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #d8625f;
	color: #ffffff;
	font-size: 15px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
	background: #F5A87B;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Colonne droite : texte */
.header-sub-text {
	flex: 1 1 auto;
	padding: 15px 30px 15px 20px;
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	line-height: 1.9;
	color: #5a5a5a;
	border-left: 1px solid #e0e0e0;
}

.highlight-peach {
	background-color: #FDDCB5;
	color: #D4794A;
	font-weight: 700;
	padding: 1px 4px;
}

.highlight-green {
	background-color: #d4ede5;
	color: #3d8a6e;
	font-style: italic;
	padding: 1px 4px;
}


/* 5.0 Footer
-------------------------------------------------------------- */

.site-footer {
	padding: 23px 0;
	background: #ffffff;
	border-top: 2px solid #FDDCB5;
}

.footer-inner {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 25px;
	text-align: center;
}

.footer-bar {
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #2d2d2d;
	margin-bottom: 14px;
}

.footer-bar a { color: #D4794A; font-weight: 700; }
.footer-bar a:hover { color: #1a1a1a; }

.footer-highlight {
	background: #FDDCB5;
	color: #D4794A;
	padding: 1px 6px;
	font-weight: 700;
}

.footer-disclaimer {
	font-size: 11px;
	line-height: 1.7;
	color: #5a5a5a;
	max-width: 900px;
	margin: 0 auto;
	padding-top: 14px;
	border-top: 1px solid #e0e0e0;
}

.footer-disclaimer a { color: #D4794A; }


/* 6.0 CPG Content
-------------------------------------------------------------- */

.content-area {
	float: left;
	width: 839px;
	margin: 0 0 23px 0;
	padding: 13px 25px 0 25px;
	border-right: 1px solid #e0e0e0;
	background: #ffffff;
}

.gallery-wrap {
	padding: 20px;
}

/* Sidebar */
.site-wrapper {
	display: flex;
	align-items: flex-start;
	width: 100%;
	max-width: 1220px;
	margin: 0 auto;
	background: #ffffff;
	border-top: 1px solid #e0e0e0;
}

.site-content {
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
}

.site-sidebar {
	flex: 0 0 220px;
	background: #FDDCB5;
	border-left: 1px solid #e0e0e0;
	padding: 0;
	min-height: 400px;
}

.sidebar-block {
	margin-bottom: 0;
	border-bottom: 1px solid rgba(0,0,0,0.08);
}

.sidebar-title {
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #1a1a1a;
	background: #F5A87B;
	padding: 9px 14px;
	text-align: center;
}

.sidebar-nav { padding: 8px 0; }

.sidebar-nav a {
	display: block;
	padding: 7px 14px;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: #2d2d2d;
	border-bottom: 1px solid rgba(0,0,0,0.05);
	transition: background 0.15s, color 0.15s;
	text-align: center;
}

.sidebar-nav a:hover {
	background: #F5A87B;
	color: #ffffff;
}

.sidebar-nav-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	padding: 0;
}

.sidebar-nav-grid a {
	border-right: 1px solid rgba(0,0,0,0.05);
	font-size: 10px;
	padding: 8px 6px;
}

.sidebar-affiliates {
	padding: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}


/* 7.0 CPG Menu
-------------------------------------------------------------- */

.side-area {
	font-size: 12px;
	line-height: 19px;
	float: right;
	width: 160px;
	margin: 4px 0 23px -1px;
	padding: 0 25px;
	border-left: 1px solid #e0e0e0;
}

.side-area a {
	display: block;
	padding: 5px;
	border-bottom: 1px solid #e0e0e0;
}

.side {
	margin: 19px 0 38px 0;
}

.side-title {
	font: 19px/19px 'Poppins', sans-serif;
	color: #1a1a1a;
}

.side-content {
	margin: 19px 0 38px 0;
	text-align: justify;
}


/* 8.0 Forms
-------------------------------------------------------------- */

.textinput {
	padding-right: 3px;
	padding-left: 3px;
	border: 1px solid #e0e0e0;
}

.listbox {
	vertical-align: middle;
	border: 1px solid #e0e0e0;
}

.button,
.buttonlist ul li a {
	font-family: 'Poppins', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-right: 2px;
	padding: 5px 12px;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	white-space: nowrap;
	color: #ffffff;
	border: none;
	background: #F5A87B;
	cursor: pointer;
}

.button:hover,
.buttonlist ul li a:hover,
.button:focus,
.buttonlist ul li a:focus {
	color: #ffffff;
	background: #D4794A;
}

.radio,
.checkbox {
	vertical-align: middle;
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	padding: 6px 10px;
	border: 1px solid #e0e0e0;
	background: #ffffff;
	color: #2d2d2d;
	width: 100%;
}

input[type="text"]:focus,
textarea:focus {
	outline: none;
	border-color: #F5A87B;
}


/* 9.0 Images
-------------------------------------------------------------- */

.image {
	margin: 3px;
	padding: 3px;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	border: 1px solid #F5A87B;
	background: #ffffff;
	display: inline-block;
}

.image:hover {
	opacity: .9;
	transform: translateY(-2px);
	box-shadow: 0 0 0 2px #FFB347, 0 0 12px 2px rgba(245,168,123,0.6);
}


/* 10.0 Tables
-------------------------------------------------------------- */

.maintable {
	background: #ffffff;
	width: 100%;
}

.tableb {
	padding: 5px 10px;
}

.tableb_alternate {
	padding-top: 0;
	padding-bottom: 0;
	background: transparent;
}

.tablef {
	padding: 10px;
	background: #ffffff;
}


/* 11.0 Statlinks
-------------------------------------------------------------- */

.tableh1 {
	font-family: 'Poppins', sans-serif;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 2px;
	padding: 10px 10px 13px 10px;
	text-transform: uppercase;
	color: #1a1a1a;
	background: #F5A87B;
}

.tableh1 img { display: none !important; }
.tableh1 a { color: #1a1a1a; }
.tableh1 a:hover { color: #ffffff; }

.statlink {
	font-size: 14px;
	letter-spacing: 0;
	text-transform: none;
	color: #2d2d2d;
}

.statlink a { color: #2d2d2d; }
.statlink a:hover, .statlink a:focus { color: #1a1a1a; }

.statlink h2 {
	font-size: 24px;
	font-weight: 400;
	margin: 0;
	letter-spacing: -1px;
	color: #2d2d2d;
}

.message_box {
	padding: 10px 16px;
	background: #FDDCB5;
	border-left: 3px solid #F5A87B;
	color: #2d2d2d;
	font-size: 12px;
	margin-bottom: 14px;
}


/* 12.0 Categories
-------------------------------------------------------------- */

.catrow_noalb {
	padding: 10px;
	border-bottom: none;
	position: relative;
}

.catrow {
	padding: 10px;
	border-bottom: none;
	position: relative;
}

/* Séparateur dégradé pêche */
.catrow::after,
.catrow_noalb::after {
	content: '';
	display: block;
	height: 1.5px;
	background: linear-gradient(
		to right,
		transparent 0%,
		#F5A87B 30%,
		#F5A87B 70%,
		transparent 100%
	);
	opacity: 0.5;
	margin: 0 20px;
}

.catlink {
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 23px;
	display: block;
	text-transform: uppercase;
	color: #1a1a1a;
}

.catlink a {
	color: #1a1a1a;
	border-bottom: 2px solid #F5A87B;
	padding-bottom: 1px;
}

.catlink a:hover { color: #D4794A; }

.catlink:before {
	content: '\0276F';
	font-size: 10px;
	color: #F5A87B;
	margin-right: 8px;
}

.catrow p,
.catrow_noalb p,
.catrow td,
.catrow_noalb td {
	font-size: 11px;
	color: #5a5a5a;
	line-height: 1.6;
}


/* 13.0 Albums
-------------------------------------------------------------- */

.tableh2 {
	font-weight: 700;
	line-height: 21px;
	padding: 11px 10px;
	color: #2d2d2d;
	background: #FDDCB5;
}

.alblink {
	font-weight: 700;
	color: #2d2d2d;
}

.alblink a { color: #2d2d2d; }
.alblink a:hover, .alblink a:focus { color: #D4794A; }

.album_stat {
	font-size: 85%;
	line-height: 1.5;
	margin: 10px 0;
}

.tableb p {
	line-height: 1.5;
	margin: 0;
	padding: 10px 0 0 0;
}

p.album_stat {
	padding: 5px 0 0 0;
}


/* 14.0 Thumbnails
-------------------------------------------------------------- */

.thumbnails {
	padding: 10px 5px;
}

.thumb_filename {
	font-size: 80%;
	line-height: 1.5;
	display: block;
}

.thumb_title {
	font-size: 11px;
	font-weight: 700;
	line-height: 1.5;
	display: block;
	padding: 2px;
}

.thumb_caption {
	font-size: 80%;
	line-height: 1.5;
	display: block;
	padding: 1px;
}

.thumb_caption a {
	text-decoration: underline;
	color: #000;
}

.thumb_num_comments {
	font-size: 85%;
	font-weight: normal;
	font-style: italic;
	line-height: 1.5;
	display: block;
	padding: 2px;
}


/* 15.0 Sort order
-------------------------------------------------------------- */

.sortorder_cell {
	font: 11px/11px 'Open Sans', sans-serif;
	letter-spacing: -1px;
	text-transform: none;
	color: #5a5a5a;
}

.sortorder_options {
	white-space: nowrap;
}


/* 16.0 Preview
-------------------------------------------------------------- */

.navmenu {
	font-weight: 700;
	border-style: none;
	background: #FDDCB5;
}

.navmenu img {
	margin: 0;
	padding: 5px;
}

.navmenu a {
	display: block;
	padding: 5px;
}

.navmenu a:hover,
.navmenu a:focus {
	background: #ffffff;
}

.display_media {
	padding: 10px;
}


/* 17.0 Administrator
-------------------------------------------------------------- */

.admin_menu_wrapper {
	width: 100%;
	background: #F5A87B;
	padding: 0;
	margin: 0 0 15px 0;
}

table.admin_menu {
	display: flex !important;
	flex-wrap: wrap !important;
	width: 100% !important;
	background: #F5A87B !important;
	border: none !important;
	padding: 5px !important;
}

table.admin_menu tr,
table.admin_menu tbody {
	display: flex !important;
	flex-wrap: wrap !important;
	width: 100% !important;
}

table.admin_menu td.admin_float {
	display: inline-flex !important;
	float: none !important;
	align-items: center !important;
	padding: 4px 8px !important;
	border-right: 1px solid rgba(0,0,0,0.1) !important;
}

table.admin_menu td.admin_float a {
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
	color: #1a1a1a !important;
	font-family: 'Poppins', sans-serif !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	text-transform: uppercase !important;
	white-space: nowrap !important;
	padding: 0 !important;
}

table.admin_menu td.admin_float a:hover {
	color: #ffffff !important;
	background: rgba(0,0,0,0.1) !important;
}

table.admin_menu td.admin_float img {
	display: inline-block !important;
	width: 16px !important;
	height: 16px !important;
}


/* 18.0 Miscellaneous
-------------------------------------------------------------- */

.cpg_message_info,
.cpg_message_success,
.cpg_message_warning,
.cpg_message_error,
.cpg_message_validation {
	margin: 10px 0;
	padding: 15px 10px 15px 50px;
	border: 1px solid;
	background-repeat: no-repeat;
	background-position: 10px center;
}

.cpg_message_info {
	color: #00529b;
	background-color: #bde5f8;
	background-image: url('../../images/message/info.png');
}

.cpg_message_success {
	color: #4f8a10;
	background-color: #dff2bf;
	background-image: url('../../images/message/ok.png');
}

.cpg_message_warning {
	color: #9f6000;
	background-color: #feefb3;
	background-image: url('../../images/message/warning.png');
}

.cpg_message_error {
	color: #d8000c;
	background-color: #ffbaba;
	background-image: url('../../images/message/stop.png');
}

.cpg_message_validation {
	color: #d63301;
	background-color: #ffccba;
	background-image: url('../../images/message/error.png');
}

.cpg_summary {
	font-size: .9em;
	float: right;
	width: 400px;
	margin: 10px 0;
	padding: 5px 10px;
	text-align: right;
	color: #D4794A;
	border: 1px solid #e0e0e0;
	background-color: #FDDCB5;
}

#GB_window {
	border: 5px solid #FDDCB5;
	background-color: #ffffff;
}

.external {
	padding-right: 10px;
	background: transparent url('../../images/link.gif') 100% 50% no-repeat;
}


/* 19.0 No Edit
-------------------------------------------------------------- */

.thumbnail {
	max-width: 12vw !important;
	height: auto;
}

.thumb_title,
.thumb_caption,
.thumb_filename,
.thumb_num_comments {
	overflow: hidden;
	max-width: 12vw !important;
}

.strip_image {
	max-width: 10vw !important;
	height: auto;
}

#film {
	width: 100% !important;
}

#film .thumb a:link {
	width: 100% !important;
}

.tape {
	width: 100% !important;
	height: 100% !important;
	margin-left: 0 !important;
}

.remove {
	display: none !important;
}

.display_media .image {
	max-width: 70vw !important;
	height: auto;
}

#picinfo {
	overflow: scroll;
	width: 100% !important;
}


/* 20.0 Responsive
-------------------------------------------------------------- */

.show-menu,
.main-navigation input[type=checkbox] {
	display: none;
}

.main-navigation input[type=checkbox]:checked ~ .rpv-menu {
	display: block;
}

@media (max-width: 959px) {
	.main-navigation ul {
		position: static;
		display: none;
	}

	.main-navigation ul li,
	.main-navigation li a {
		width: 100%;
	}

	.show-menu {
		font-size: 14px;
		display: block;
		text-transform: none;
		color: #1a1a1a;
	}

	.site-navigation {
		padding: 0;
		text-align: left;
	}

	.site-navigation .container {
		padding: 0;
	}

	.main-navigation {
		display: block;
	}

	.main-navigation li {
		margin: 0;
		border-top: 1px solid #e0e0e0;
	}

	.main-navigation a {
		display: block;
	}

	.social-navigation {
		display: none;
	}

	.site-title {
		font-size: 28px;
		line-height: 1;
		display: block;
		float: none;
		margin: 0;
		text-align: center;
		color: #ffffff;
		background: #FDDCB5;
	}

	.site-header {
		height: auto;
		background: none;
	}

	.header-banner-img {
		height: 200px;
	}

	.header-sub {
		flex-direction: column;
		padding: 15px;
		gap: 15px;
	}

	.header-sub-link,
	.header-sub-social,
	.header-sub-text {
		flex: none;
		width: 100%;
		border: none;
		text-align: center;
	}

	.site-wrapper {
		flex-direction: column;
	}

	.site-sidebar {
		flex: none;
		width: 100%;
		border-left: none;
		border-top: 2px solid #F5A87B;
	}

	.site-nav-top { display: none; }

	.site-nav-mobile {
		display: block;
		background: #FDDCB5;
		text-align: center;
		padding: 6px 0;
		border-bottom: 2px solid #F5A87B;
	}

	.site-nav-mobile a {
		display: inline-block;
		padding: 6px 10px;
		font-family: 'Poppins', sans-serif;
		font-size: 10px;
		font-weight: 600;
		text-transform: uppercase;
		color: #1a1a1a;
	}
}


/* 20.1 Mobile
-------------------------------------------------------------- */

@media (max-width: 744px) {
	body {
		line-height: 21px;
	}

	.show-menu {
		padding: 10px;
	}

	.main-navigation li {
		padding: 5px 10px;
	}

	.site-title {
		padding: 21px 10px;
	}

	.site-footer {
		padding: 0 0 21px 0;
	}

	.content-area {
		float: none;
		width: auto;
		margin: 0 0 21px 0;
		padding: 11px 0 0 0;
		border: 0;
	}

	.side-area {
		float: none;
		width: auto;
		margin: 2px 0 21px 0;
		padding: 0;
		border: 0;
	}

	.image {
		margin: 2px;
		padding: 2px;
	}

	.tableh1 {
		padding: 10px 5px 13px 5px;
	}

	.statlink {
		line-height: 21px;
	}

	.statlink h2 {
		font-size: 21px;
		padding: 0 0 8px 0;
	}

	.catrow_noalb,
	.catrow {
		padding: 10px 5px;
	}

	.catlink {
		line-height: 21px;
	}

	.tableh2 {
		padding: 5px;
	}

	.tableb p {
		padding: 5px 0 0 0;
	}

	.thumbnails {
		padding: 5px 3px;
	}

	.sortorder_cell {
		display: none;
	}

	.navmenu {
		font-size: 1.5vw !important;
	}

	.display_media {
		padding: 5px;
	}

	.admin_menu_wrapper {
		margin: 10px 0 11px 0;
	}

	.thumb_caption_rating img,
	#comments img {
		max-width: 2vw !important;
		height: auto !important;
	}

	#comments #captchaImg img {
		max-width: 25vw !important;
		height: auto !important;
	}

	.comment_date {
		font-size: 1.4vw !important;
	}

	.navmenu img,
	.buttonlist img {
		max-width: 2.5vw !important;
		height: auto;
	}

	.buttonlist ul li a span {
		line-height: 2vw !important;
		height: 2vw !important;
	}

	.buttonlist ul li a {
		font-size: 1.5vw !important;
	}
}

@media (min-width: 599px) {
	#tabsMenu .navmenu a {
		display: block !important;
	}

	#tabsMenu .navmenu span {
		display: block !important;
	}
}

@media (max-width: 599px) {
	.content-area {
		padding: 21px 0 0 0;
	}

	.image {
		margin: 2px 0;
	}

	.tableh1 {
		font-size: 21px;
		padding: 0 0 8px 0;
	}

	.statlink {
		letter-spacing: -1px;
	}

	.statlink h2 {
		padding: 0 0 2px 0;
	}

	.catrow_noalb,
	.catrow {
		padding: 5px 0;
	}

	.navmenu {
		font-size: 2.5vw !important;
	}

	.display_media {
		padding: 0;
	}

	.admin_menu_wrapper {
		margin: -21px 0 21px 0;
	}

	#tabsMenu .navmenu a {
		display: none !important;
	}

	#tabsMenu .navmenu span {
		display: block !important;
	}

	.tableb {
		padding: 1px 1px !important;
	}

	.buttonlist ul li a {
		font-size: 2vw !important;
	}
}


/* 20.2 Tablet
-------------------------------------------------------------- */

@media (max-width: 959px) and (min-width: 745px) {
	.site-content,
	.container {
		padding: 0 20px;
	}

	.show-menu {
		padding: 10px 20px;
	}

	.main-navigation li {
		padding: 5px 20px;
	}

	.site-title {
		padding: 21px 20px;
	}

	.site-footer {
		padding: 0 0 23px 0;
	}

	.content-area {
		float: none;
		width: auto;
		margin: 0 0 23px 0;
		padding: 13px 0 0 0;
		border: 0;
	}

	.side-area {
		float: none;
		width: auto;
		margin: 4px 0 23px 0;
		padding: 0;
		border: 0;
	}
}


/* 20.3 Desktop
-------------------------------------------------------------- */

@media (max-width: 1119px) and (min-width: 960px) {
	.content-area {
		max-width: 76.33%;
		margin-right: -1px;
		padding: 13px 2.27% 0 2.27%;
	}

	.side-area {
		max-width: 14.5%;
		padding: 0 2.27%;
	}
}
/* Fix alignement vignettes "derniers albums"
-------------------------------------------------------------- */

/* Aligne toutes les cellules par le haut */
td.thumbnails {
    vertical-align: top !important;
    text-align: center;
    width: 210px;
}

/* Le lien de la vignette en flex column */
td.thumbnails a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* Hauteur minimale fixe sur le titre → aligne les stats en dessous */
td.thumbnails .alblink {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 2px 4px;
}

/* Stats centrées */
td.thumbnails .album_stat {
    text-align: center;
    width: 100%;
}

td.tableb {
    vertical-align: top;
}


/* Barres de section Coppermine → image catbar
-------------------------------------------------------------- */

/* Fond image sur le <tr> parent */
tr:has(td.tableh1),
tr:has(td.tableh2) {
    background: url('./imgs/catbar.png') center center no-repeat;
    background-size: cover;
    height: 90px;
}

/* Table pleine largeur */
table.maintable {
    width: 100% !important;
}

/* Toutes les cellules tableh1/tableh2 */
td.tableh1,
td.tableh2 {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    height: 90px !important;
    vertical-align: middle !important;
    text-align: center !important;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a1a1a !important;
    padding: 0 !important;
}

/* Cellules secondaires (Albums, Fichiers) : masquer */
td.tableh1[width="10%"],
td.tableh2[width="10%"] {
    display: none !important;
}

/* Cellule principale : forcer 100% de largeur */
td.tableh1[width="80%"],
td.tableh2[width="80%"] {
    width: 100% !important;
}

/* Empêcher le débordement */
.gallery-wrap {
    padding: 20px 0 !important;
    overflow: hidden;
}
