/* Menu background colour*/

.WaGadgetMenuHorizontal.menuStyle001 .menuInner ul.firstLevel, .WaGadgetMenuHorizontal.menuStyle001 .menuButton
{background:#0D2A57}

.WaGadgetMenuHorizontal.menuStyle003 .menuInner ul.firstLevel, .WaGadgetMenuHorizontal.menuStyle003 .menuButton
{background:#ffffff}

/* Menu background image - hide down arrow */

.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li.dir>.item>a>span:before
{background-image: none}

/* Blog - hide author */

.WaGadgetBlog .boxBodyInfoOuterContainer h5 .postedByLink{
display:none;
}
.WaGadgetBlog .boxBodyInfoOuterContainer h5 .postedByLabel{
display:none;
}
.WaGadgetRecentBlogPosts .gadgetStyleBody ul li .author {
 display: none;
}


/*events gadget - remove capitalisation*/

.WaGadgetUpcomingEvents ul li .title {
    margin: 0 0 6px 0;
    padding: 0;
    text-transform: none;
}
/* Code to change page width START */
.container_12 {
    width: 1440px;
}
.s1_grid_12{
    width: auto;
}
@media only screen and (max-width: 1199px) and (min-width: 600px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1200px;
    min-width: 600px;
}}
@media only screen and (max-width: 616px){
.container_12 {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 600px;
    min-width: 320px;
    display: block;
}}
/* Code to change page width END */ 


/* Colour of Log-in Button */

.WaGadgetLoginButton .loginBoxLinkContainer .loginBoxLinkButton
    {background-color:#ffffff;
    color:#008bae;
        
    }



/* Image grid display */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.image-grid {
    display: grid;
    grid-gap: 35px;
    padding: 35px;
    box-sizing: border-box;
}

.image-cell img {
    width: 100%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    display: block;
    object-fit: contain; /* Ensures the image fits within the container without cropping or warping */
    border-radius: 5px;
    margin: 0 auto; /* Center the image in the cell */
}

@media (max-width: 599px) {
    /* Mobile screens: 2 images wide */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 600px) and (max-width: 899px) {
    /* Small tablets: 3 images wide */
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    /* Large tablets/small desktops: 4 images wide */
    .image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    /* Desktops: 5 images wide */
    .image-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.sidebar .image-grid {
    grid-template-columns: 1fr;
    padding: 0;
}

/* Default: Show desktop header, hide mobile */
.header-desktop {
  display: block;
}
.header-mobile {
  display: none;
}

/* Media query for small screens */
@media screen and (max-width: 600px) {
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: block;
  }
}
