/* 	============================================================================
	(c) magic moving pixel s.a., Luxembourg
	----------------------------------------------------------------------------
	Filename    : policemusee.css
	Project     : 843 - Police Musée
	the stylesheet reacts mobile for the following resolution switches
	-  xs:    1px -  575px 
	-  sm:  576px -  767px
	-  md:  768px -  991px
	-  lg:  992px - 1199px
	-  xl: 1200px - 1399px
	- xxl: 1400px - 
	----------------------------------------------------------------------------
	Color Hex Codes

	#0274BE - Blue
	#FB2056 - Red
	#444444	- Gray
	----------------------------------------------------------------------------
	History 
	Version   Date         Authors    Modification
	1.0       30.01.2025   cmat       Initial release
	============================================================================*/

:root {
	--color-blue: #0274BE;
	--color-red: #FB2056;
	--color-gray: #444444;
	--color-black: #352f36;
	--color-black-transparent: #352f3680;
	--card-w: 200px;
}	

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

html, body {
	height: 100%;
}

html {
	box-sizing: border-box;
	font-size: 100%;
  	line-height: 1.6;
  	scroll-behavior: smooth;
}

body {
	display: flex;
	flex-direction: column;
  	color: var(--color-black);
  	background-color: white;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
    line-height: 1.6;
}

main {
	flex: 1;
}

.main-margin-top {
	margin-top: 60px;
}

h1 { 
	position: relative;
	display: inline-block;
	font-size: 1.5rem;     
	font-weight: 700; 
	line-height: 1.2;
	margin-bottom: 3rem;
}

h1::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 100%;
	transform: translateX(-50%);
	height: 3px;
	background-color: var(--color-red);
}

h2 { 
	font-size: 1.25rem;
	font-weight: 600; 
	line-height: 1.2; 
}

h3 { 
	font-size: 1.125rem;
	font-weight: 600; 
	line-height: 1.2; 
}

h4 { 
	font-size: 1rem;
	font-weight: 600; 
	line-height: 1.2;
}

h5 { 
	font-size: 1rem;
	font-weight: 600; 
	line-height: 1.2; 
}

h6 { 
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2; 
}

img, picture, video, canvas, svg {
  	display: block;
  	max-width: 100%;
  	height: auto;
}

input, button, textarea, select {
  	font: inherit;
}

.navbar {
	background-color: var(--color-black);
}

nav.navbar {
	padding-top: 0;
	padding-bottom: 0;
}

.header-homepage .nav-link,
.header-content .nav-link {
	font-size: 1.2rem;
}

.header-homepage .nav-link,
.header-content .nav-link,
.footer .nav-link {
	color: white;
	display: inline-block;
	position: relative;
}

.header-homepage .nav-link::after,
.header-content .nav-link::after,
.footer .nav-link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-red);
	transition: width 0.3s ease, left 0.3s ease;
}

.header-homepage .nav-link:hover,
.footer .nav-link:hover {
	color: white;
}

.header-homepage .nav-link:hover::after,
.header-content .nav-link:hover::after,
.footer .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.header-homepage .nav-link.active,
.header-content .nav-link.active,
.footer .nav-link.active {
	color: white;
}

.header-homepage .nav-link.active::after,
.header-content .nav-link.active::after,
.footer .nav-link.active::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 100%;
	height: 2px;
	background-color: var(--color-red);
}

.header-content nav {
	background-color: var(--color-black);
}


.footer .nav-link {
	padding-left: 0;
	padding-right: 0;
}

.section-welcome {
	background-color: rgb(235, 235, 235);
	padding-top: 3rem;
}

.section-welcome h1 {
	margin-bottom: 5rem;
}

.section-welcome .mmpwebimage {
	height: 100%;
}

.section-welcome .mmpwebimage .BD {
	height: 100%;
}

.section-welcome .mmpwebimage .BD img {
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.content-welcome {
	padding: 4rem 0;
}

.content-welcome h1 {
	font-size: 3rem;
}

.content-welcome h2 {
	font-size: 1.4rem;     
	font-weight: 700; 
	line-height: 1.2;
	margin-bottom: 2rem;
}

.content-welcome .mmpwebimage {
	height: 100%;
}

.content-welcome .mmpwebimage .BD {
	height: 100%;
}

.content-welcome .mmpwebimage .BD img {
	width: 100%;
 	height: 100%;
  	object-fit: cover;
}

.section-news,
.section-behind-the-scenes,
.section-members {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.section-news .header-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.header-image img {
	max-height: 500px;
 	margin: 0 auto;
}

.section-behind-the-scenes {
	background-color: rgb(235, 235, 235);
}
 
.section-members {
	color: white;
	background-color: var(--color-gray);
}

.section-members a {
	color: white;
}

.section-members .mmpwebfile-size {
	display: none;
}

.section-members .btn-pm-primary-v2 {
	display: inline-block;
	color: var(--color-red);
	text-decoration: none;
	padding: 10px 40px;
	border: 2px solid var(--color-red);
	border-radius: 0%;
}

.section-members .btn-pm-primary-v2:hover {
	color: white;
	background-color: var(--color-red);
}

.form-control {
	border-radius: 0;
}

.btn-pm-primary {
	color: white;
	background-color: var(--color-red);
	padding: 10px 40px;
	border: 2px solid var(--color-red);
	border-radius: 0;
}

.btn-pm-primary:hover {
	color: white;
	background-color: var(--color-gray);
}

.section-members .icon-file-pdf a {
	color: white;
	background-color: var(--color-red);
	padding: 10px 40px;
	border: 2px solid var(--color-red);
	border-radius: 0;
	text-decoration: none;
}

.section-members .icon-file-pdf a:hover {
	color: var(--color-red);
	background-color: var(--color-gray);
}

.btn-pm-bg-primary {
	color: white;
	background-color: var(--color-red);
	padding: 10px 40px;
	border: 2px solid var(--color-red);
	border-radius: 0;
}

.btn-pm-bg-primary:hover {
	color: var(--color-red);
	background-color: var(--color-gray);
	border: 2px solid var(--color-red);
}

.btn-pm-shop {
	color: white;
	background-color: var(--color-red);
	padding: 10px 20px;
	border: 2px solid var(--color-red);
	border-radius: 0;
}

.btn-pm-shop:hover {
	color: white;
	background-color: var(--color-gray);
}

.btn-pm-secondary {
	color: var(--color-red);
	padding: 10px 40px;
	border: 2px solid var(--color-red);
	border-radius: 0;
}

.btn-pm-secondary:hover {
	color: white;
	background-color: var(--color-gray);
}

.btn-pm-db-primary {
	color: white;
	background-color: var(--color-red);
	border: 1px solid var(--color-red);
	border-radius: 0;
}

.btn-pm-db-secondary {
	color: black;
	background-color: white;
	border: 1px solid var(--color-gray);
	border-radius: 0;
}

.btn-pm-db-primary:hover,
.btn-pm-db-secondary:hover {
	color: white;
	background-color: var(--color-gray);
	border: 1px solid var(--color-gray);
}

.footer {
	color: white;
	background-color: var(--color-black);
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.footer a {
	color: white;
}

.copyright {
	color: white;
	background-color: black;
}

.card-img-wrapper {
	max-height: 50%;
	max-width: 50%;
	overflow: hidden;
	margin: 1rem auto;
}

#reviewContent table {
	width: 100%;
	border-collapse: collapse;
    margin-top: 10px;
}

#reviewContent table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: bold;
    text-align: left;
    padding: 6px;
    border-bottom: 2px solid #ddd;
}

#reviewContent table td {
    padding: 6px;
    border-bottom: 1px solid #eee;
}

#reviewContent table tr:last-child td {
    font-weight: bold;
    background-color: #fafafa;
}

#reviewContent table tr:nth-child(even):not(:last-child) {
    background-color: #f9f9f9;
}

.filter-section {
	border: 1px solid var(--color-black);
}

.error {
	color: red;
}

.booking_nodates{
	border: 1px solid var(--color-black);
	padding: 2rem 3rem;
	text-align: center;
}

.booking_nodates p {
	margin-bottom: 0px;
}

.bootstrap-table .fixed-table-container {
	height: 600px;
	border-top: var(--color-gray) 1px solid;
	border-bottom: var(--color-gray) 1px solid;
}

.nav-tabs .nav-link {
	color: black;
}

.nav-tabs .nav-link.active {
	color: white;
	background-color: var(--color-gray);
}

#map {
	height: 400px;
}

.news-image-container {
	width: 100%;
}

.news-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.border-top {
	border-top: var(--color-gray) 1px solid;
}

.contentitem-subtitle {
	font-style: italic;
}

.category-card {
	display: flex;
    flex-direction: column;
	border: 1px solid var(--color-gray);
	padding: 1.75rem 1.75rem 1.5rem;
	text-decoration: none;
	color: inherit;
	height: 100%;
	position: relative;
	transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
	overflow: hidden;
}

.category-card:hover {
	box-shadow: 0 10px 28px rgba(0,0,0,0.09);
	transform: translateY(-3px);
	color: inherit;
}

.category-card:hover::after {
	transform: scaleX(1);
}

.category-card .cat-name {
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.6rem;
	transition: color 0.2s;
}

.category-card:hover .cat-name {
	color: var(--accent);
}

.category-card .cat-desc {
	font-size: 0.87rem;
	color: var(--muted);
	line-height: 1.6;
	margin: 0;
}
 
.category-card .cat-arrow {
	display: inline-block;
	margin-top: auto;
	color: white;
}

.nav-red-link {
	background-color: var(--color-red);
	border: 1px solid var(--color-red);
}

.team-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
}

.member-card {
	width: var(--card-w);
	flex-shrink: 0;
	border-radius: 14px;
	overflow: hidden;
}

.member-card-photo-wrap {
	width: 100%;
	aspect-ratio: 1 / 1.5;
	overflow: hidden;
	margin: 1rem auto .5rem;
}

.member-card-photo-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.member-card-body {
	text-align: center;
	padding: .75rem .85rem .9rem;
}

.member-card-label {
	font-size: .85rem;
}

@media (max-width: 480px) {
	:root { --card-w: 40%; }
}

@media (min-width: 576px) {

}

@media (min-width: 768px) {

}

@media (min-width: 992px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}