@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&display=swap');
:root { 
   --cassiopeia-font-family-body: "Cinzel", sans-serif; 
   --cassiopeia-font-family-headings: "Cinzel",sans-serif; 
   --cassiopeia-font-weight-headings: 600; 
   --cassiopeia-font-weight-normal: 400; 
   --cassiopeia-color-primary: #000000;
   --cassiopeia-color-link: #000000;
   --link-color: #000000;
}

.pagination {
   --pagination-active-bg: #333;
   --pagination-active-border-color: #333;
}

.container-header {
    background-color: #f4f6f7;
    background-image: none;
}

.container-header .grid-child {
    background-color: #f4f6f7;
    background-image: none;
  border-top: 1px solid rgba(0,0,0,0.075);
  border-bottom: 1px solid rgba(0,0,0,0.075);
}


.container-footer {
    background-color: #f4f6f7;
    background-image: none;
}

.site-grid {
    background-color: #f4f6f7;
}

.header {
    background-color: #f4f6f7;
}

.grid-child {
    padding: 3px 15px;
    background-color: white;
}

.footer {
    background-color: #f4f6f7;
    background-image: none;
    color: black;
}

.container-header .mod-menu {
    color: black;
    font-size: 1.5em;
    margin-top: 5px;
    padding: 10px 1px 1px 1px;
}

.container-header .mod-menu li.active a {
    color:white;
    background-color: #333;
}
    
.container-footer .mod-menu {
    margin-top: 5px;
    padding: 10px 1px 1px 1px;
}


figcaption{
   font-family: helvetica;
   font-size: 1.0em;
}


.MyTitle{
    color: black;
    font-size: 8.0vw;
    text-align: center;
    margin-bottom: 10px;
    padding: 0px;
    /*height: 15.0vh;*/
}

/*
.MyTitleImg {
  height: 30.0vh;
  align: right;
}
*/

.container-header .navbar-brand a {
    color: black;
    font-size: 8.0vw;
}


.container-header .mod-menu a {
  -webkit-border-radius: 0 0 2px 2px;
  -moz-border-radius: 0 0 2px 2px;
  border-radius: 10 10 2px 2px; 
  padding: 1px 1px;
  color: #0088cc;
}

.container-header .mod-menu a:hover {
    background-color: #eee;
}

a:not([class]) {
  text-decoration: none;
}

.container-header .navbar-toggler{
  color: black;
  border-top-color: black;
  border-bottom-color: black;
  border-left-color: black;
  border-right-color: black;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  background-color: #eee;
  color: #0000cc!important; 
}

.left.item-image {
  margin-right: 1em;
  margin-bottom: 1em;
}

.center.item-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.banneritem img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

/* It makes the image smaller for the class consigli */
.consigli img {
    max-width: 70%; /* Makes the image 70% of the parent container width */
    display: block; /* Ensures proper alignment */
    margin: 0 auto; /* Centers the image */
    border: 2px solid var(--card-border-color); /* Keeps the existing border */
    padding-bottom: 0px;
}

/* It is a suggestion from chatGPT to make a line above the image  but it does not work*/
.consigli img::before {
    content: ""; /* Necessary for pseudo-elements */
    display: block;
    width: 100%; /* Full width of the container */
    height: 2px; /* Thickness of the line */
    background-color: var(--card-border-color); /* Matches border color */
    margin-bottom: 10px; /* Space between the line and the image */
}


/* This is from Joomla 3
h2.item-title {
  text-align: center;
}

.navigation .nav-pills {
	margin-bottom: 0;
    justify-content: center;
    text-align: center;
    font-size: 1.5em;
    font-family: cinzel;
}

.navigation .nav {
  display: block;
}

.pull-center {
        float: none;
}

.header-inner {
  float: none;
}

.subheading-category {
  text-align: center;
  width: 100%;
  display: inline-block;
  font-size: 30px;
}

.blog h2{
  text-align: center;
}

.well h3.page-header {
  text-align: center;
  display: inline-block;
}

.innernews h3.newstitle {
  text-align: center;
  display: inline-block;
}

.newshead.picturetype {  
  margin: auto;
  width: 50%;
}

.mostread {
  list-style-type: none;
  font-size: 12px;
  font-family: helvetica;
  padding-top: 3px;
}
*/

