/* Import font from Google - Go to fonts.google.com, select a font and look for the import command */
/* Marcellus for headings, Open Sans for everything else */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Marcellus+SC&display=swap');
@import url("https://fonts.googleapis.com/css?family=Open Sans:300,300i,400,400i,600,600i,700,700i,800,800i&subset=cyrillic,cyrillic-ext,greek,greek-ext,latin,latin-ext,vietnamese");

/* Basic settings 
:root {

    --cassiopeia-color-primary: #141414;
    --cassiopeia-color-link: #012D78;
    --cassiopeia-color-hover: #194285;

    --cassiopeia-font-family-body: "Open Sans", sans-serif;
    --cassiopeia-font-family-headings: "Marcellus", serif;
    --cassiopeia-font-weight-headings: 700;
    --cassiopeia-font-weight-normal: 400;

    --blue: #0d6efd;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #d63384;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #198754;
    --teal: #20c997;
    --cyan: #0dcaf0;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --primary: #0d6efd;
    --secondary: #6c757d;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #212529;
    --primary-rgb: 13, 110, 253;
    --secondary-rgb: 108, 117, 125;
    --success-rgb: 25, 135, 84;
    --info-rgb: 13, 202, 240;
    --warning-rgb: 255, 193, 7;
    --danger-rgb: 220, 53, 69;
    --light-rgb: 248, 249, 250;
    --dark-rgb: 33, 37, 41;
    --white-rgb: 255, 255, 255;
    --black-rgb: 0, 0, 0;
    --body-color-rgb: 33, 37, 41;
    --body-bg-rgb: 255, 255, 255;
    --font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --body-font-family: var(--cassiopeia-font-family-body);
    --body-font-size: 1rem;
    --body-font-weight: 400;
    --body-line-height: 1.5;
    --body-color: #383838;
    --body-bg: #efefef;
}
*/

/* Use font on the page: On Google you can also find the CSS instruction for using the font. If you put this in the body element then the font will be used on the whole website. */

/* ==========================================================================
   Peterchurch Village Hall - Custom Cassiopeia Styles (user.css)
   ========================================================================== */

:root {
  /* Palette variables - easily adjust these to fine-tune brand colours */
  --pvh-primary: #2c5e3b;       /* Traditional Countryside Forest Green */
  --pvh-primary-dark: #1f442a;  /* Darker Green for hover & footer */
  --pvh-accent: #d9822b;        /* Warm Golden Valley Amber accent */
  --pvh-bg-light: #f8f9f7;      /* Soft off-white / warm stone tint */
  --pvh-text: #2b302c;          /* Deep charcoal for high readability */
  --pvh-muted: #5c665e;         /* Muted slate for subtitles/captions */
  --pvh-border: #dce2dd;        /* Subtle sage-grey divider */

  /* Override Cassiopeia / Bootstrap 5 theme defaults */
  --cassiopeia-color-primary: var(--pvh-primary);
  --cassiopeia-color-link: var(--pvh-primary);
  --cassiopeia-color-hover: var(--pvh-primary-dark);
  --bs-body-font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--pvh-text);
}

body {
    font-family: 'Open Sans', sans-serif;
}


/* The page header of Cassiopeia has the class "header" so you control it with .header */
/* green gradient in header background */
.header {
 /*   background: rgb(102,51,0);
	background: linear-gradient(90deg, rgba(102,51,0,1) 0%, rgba(255,204,153,1) 100%);
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#398235+0,8ab66b+56,c9de96+100 */
background: #398235; /* Old browsers */
background: -moz-linear-gradient(left,  #398235 0%, #8ab66b 56%, #c9de96 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left,  #398235 0%,#8ab66b 56%,#c9de96 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right,  #398235 0%,#8ab66b 56%,#c9de96 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#398235', endColorstr='#c9de96',GradientType=1 ); /* IE6-9 */

}

/* Change the font for the navigation if it is in the header CL */
.container-header nav {
  font-variant: small-caps;
}

/* change background colour of header CL 
.container-header {
   background-color: #48712d;
   background-image: none;
} */

/* Right-align menu in header CL */
.container-header .mod-menu {
   justify-content: right;
   color: #fff;
   padding: 0;
}

/* Smaller banner */
.container-banner .banner-overlay {
   height: 150px;
   background-size: contain;
}
.container-banner .banner-overlay .overlay {
    background-color: rgba(0,0,0,0);
}



/* Color the dropdown menu in the menu with the class .metismenu.mod-menu .mm-collapse */

.metismenu.mod-list .navbar-collapse {
    background: #475BAF;
}

/* The links in the dropdown menu you have to adress them individually */

.metismenu.mod-list .navbar-collapse .metismenu-item a {
    color: #fff;
}

/* Modules have the class card, so you control them with .card - if you want to control only a specific module, you can give the module its own CSS class in the settings and then control it with that */

.card {
    box-shadow: 12px 4px 18px 0px rgba(0, 0, 0, 0.35);
    -webkit-box-shadow: 12px 4px 18px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 12px 4px 18px 0px rgba(0, 0, 0, 0.35);
}

/* Modules are on different module positions in the Cassiopeia template then the modules get in addition to card also the position as class name, for example main-top - so if you want to change all modules to main top you take .main-top.card */

.main-top.card {
    background: #e1e9f5;
}


/* Headings are html elements, the main heading is an h1, then comes h2, h3, h4 and so on. You control an html element by simply writing the name in front of it */

h1 {
    text-shadow: 2px 2px 8px rgba(150, 150, 150, 1);
    color: rgba(119, 9, 121, 1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Marcellus", serif;
}

/* In Joomla most buttons have the class btn-primary - in the element inspector you can check if the button you want to color really has this color.
*/

.btn-primary {
    background: rgba(119, 9, 121, 1);
}

/* If you want to color something, only if you move the mouse over it then write :hover behind it
*/

.btn-primary:hover {
    background: rgba(0, 212, 255, 1);
}

/* In Joomla all article images have the class item-image, if you want to control only a specific image, then you have to give the image inside the article its own CSS class.


.item-image {
    border: 2px solid #ff0000;
}
*/

/*If you run into icons on the website, you can color them individually*/

.icon-user {
    color: #403678;

}

/* or you color all icons with this special statement*/

.fa, .fas, [class*=" icon-"], [class^="icon-"] {
    color: #403678;
}

img.blog-featured.items-leading {
  max-width: 75%;
}

/* The page footer of Cassiopeia has the class "footer" so you control it with .footer */

.footer {
	/*background: rgb(102,51,0);
	background: linear-gradient(270deg, rgba(102,51,0,1) 0%, rgba(255,204,153,1) 100%); */
  /* green gradient to match header */
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#398235+0,8ab66b+56,c9de96+100 */
	background: #398235; /* Old browsers */
	background: -moz-linear-gradient(left,  #398235 0%, #8ab66b 56%, #c9de96 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left,  #398235 0%,#8ab66b 56%,#c9de96 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right,  #398235 0%,#8ab66b 56%,#c9de96 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#398235', endColorstr='#c9de96',GradientType=1 ); /* IE6-9 */
}

div.toggle-editor {
  display: none;
}

img.pc-flyer {
  /* class used for reducing the size of full-page images in articles */
  	width: 85%;
    height: auto;
}

/* green/blue border around each article */
div.blog-item:nth-of-type(odd) {
  border: 1px solid #398235;
}
div.blog-item:nth-of-type(even) {
  border: 1px solid #2568FB;
}
/* div.item-content {
    border: 1px solid #398235;
}
div.item-content {
    border: 1px solid #2568FB;
}

/* leading item in blog layout */
div.blog-items.items-leading {
   border: 1px solid #FECD45;
}



/* Typography & Headings */
h1, h2, h3, h4, .navbar-brand {
  font-family: Georgia, 'Merriweather', 'Times New Roman', serif;
  color: var(--pvh-primary-dark);
  font-weight: 700;
}

/* ==========================================================================
   Header & Top Banner (Cassiopeia Positions)
   ========================================================================== */
.container-topbar {
  background-color: var(--pvh-primary-dark);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  text-align: center;
}

.container-header {
  background-color: #ffffff;
  border-bottom: 3px solid var(--pvh-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.container-header .mod-menu {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.container-header .mod-menu a {
  color: var(--pvh-text);
  padding: 0.5rem 1rem;
  transition: color 0.2s ease, border-bottom 0.2s ease;
}

.container-header .mod-menu a:hover,
.container-header .mod-menu li.active > a {
  color: var(--pvh-primary);
  border-bottom: 2px solid var(--pvh-accent);
}

/* ==========================================================================
   About Us Article Content (.pvh-about-page)
   ========================================================================== */
.pvh-about-page {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 1.05rem;
}

.pvh-about-page .lead {
  font-size: 1.25rem;
  color: var(--pvh-primary);
  border-left: 4px solid var(--pvh-accent);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.pvh-about-page h2,
.pvh-about-page h3 {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--pvh-border);
}

/* ==========================================================================
   Variable Management Committee Table
   ========================================================================== */
.committee-table {
  width: 100%;
  margin: 1.5rem 0 2.25rem;
  border-collapse: collapse;
  background-color: #ffffff;
  border: 1px solid var(--pvh-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.committee-table thead th {
  background-color: var(--pvh-primary);
  color: #ffffff;
  font-family: var(--bs-body-font-family);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1.25rem;
  border: none;
}

.committee-table tbody td {
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--pvh-border);
  vertical-align: middle;
}

.committee-table tbody tr:nth-child(even) {
  background-color: var(--pvh-bg-light);
}

.committee-table tbody tr:hover {
  background-color: #eef3ef;
}

.committee-table tbody td:first-child {
  font-weight: 600;
  color: var(--pvh-text);
  width: 45%;
}

.committee-table tbody td:last-child {
  color: var(--pvh-muted);
}

/* ==========================================================================
   National Lottery Community Fund Callout Box
   ========================================================================== */
.lottery-acknowledgement {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: var(--pvh-bg-light);
  border: 1px solid var(--pvh-border);
  border-left: 5px solid var(--pvh-primary);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}

.lottery-acknowledgement img {
  max-width: 160px;
  height: auto;
  flex-shrink: 0;
}

.lottery-acknowledgement p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--pvh-text);
}

/* Stack cleanly on mobile screens */
@media (max-width: 600px) {
  .lottery-acknowledgement {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Site-Wide Footer (Cassiopeia Footer Position)
   ========================================================================== */
.container-footer {
  background-color: var(--pvh-primary-dark);
  color: #e6ece7;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.92rem;
}

.container-footer h3,
.container-footer h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.container-footer a {
  color: #b7d9c0;
  text-decoration: underline;
}

.container-footer a:hover {
  color: #ffffff;
}








