
    :root {
        --text: #565656;
--links: #864192;
--titles: #000000;
--page-background: #F6F8FB;
--highlight: #581364;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #480048;
--section-titles-background: #F6F8FB;
--header-background: #864192;
--header-links: #FFFFFF;
--footer-background: #F7B133;
--footer-links: #000000;
    }
    
:root {
    --filter-bg: #2c7fb8; /* Publication filter wrapper background */
    --button-bg: #EC643C; /* Publication button background */
    --button-border: #EC643C; /* Publication button border */
    --button-bg-hover: #D14016; /* Publication button background hover */
    --button-border-hover: #D14016; /* Publication button border hover */
    --colour-primary: #864192; /* Usually matches the header-background colour in the colors page */
    --colour-itemcard-type1: #FCAF17; /* Yellow */
    --colour-itemcard-type2: #DD001B; /* Red */
    --colour-itemcard-type3: #00B9F2; /* Blue */
    --colour-itemcard-type4: #864192; /* Purple */
    --colour-itemcard-type5: #F15A22; /* Orange */
    --colour-itemcard-type6: #85ADAE; /* Teal */
    --colour-itemcard-type7: #98C564; /* Green */
    --colour-itemcard-type8: #b15928; /* Brown */
    --colour-itemcard-type9: #00B9F2; /* Blue */
    --colour-itemcard-type10: #00B9F2; /* Blue */
    --page-bg-header: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/cityobservatorybirmingham/theme_image/blurry-gradient-haikei.png'); /* Page background header */
    --page-bg-header-solid: rgb(127,58,142);
    --page-bg-header-gradient: linear-gradient(135deg, rgba(127,58,142,1) 30%, rgba(230,0,126,1) 90%);
}

@font-face {
    font-family: 'MontserratRegular';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/cityobservatorybirmingham/theme_font/Montserrat-Regular.ttf') format('truetype');
}


@font-face {
    font-family: 'MontserratBold';
    src: url('https://s3-eu-west-1.amazonaws.com/aws-ec2-eu-1-opendatasoft-staticfileset/cityobservatorybirmingham/theme_font/Montserrat-Bold.ttf') format('truetype');
}

body, p {
    font-family: 'MontserratRegular', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'MontserratBold', sans-serif;
}

.ods-catalog-card__title{
    color: var(--colour-primary);
}

.ods-catalog-card:hover:before {
    background-color: var(--colour-primary);
}
.ods-catalog-card {
    border-radius: 8px; /* Adjust the value as needed */
    overflow: hidden; /* Ensures that the content inside the card doesn't overflow the rounded corners */
}




/* Added for testing */
.rods-page-renderer__container{
    margin-right: auto;
    margin-left: auto;
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 768px) {
    .rods-page-renderer__container {
        width:740px !important;
    }
}

@media (min-width: 992px) {
    .rods-page-renderer__container {
        width:960px !important;
    }
}

@media (min-width: 1200px) {
    .rods-page-renderer__container {
        width:1160px !important;
    }
}

.markdown-text-container {
    font-size: 18px;
}


/* FIX FOR WRONG ASPECT PICTOGRAM ON RELATED DATASET IMAGES
========================================================================== */
.ods-dataset-similar-datasets img { 
    object-fit: contain; 
}

/* ENLARGE 'EDIT IN ADVANCED MODE' TEXT
========================================================================== */
.ods-edit-advanced-mode-link {
    font-size: 1rem;
}

/* DESKTOP SPECIFICS - STYLE OF ODS HEADER
========================================================================== */

.ods-responsive-menu-collapsible__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ods-front-header__portal-brand {
    display: flex;
    height: 40px;
    position: relative;
    top: 0;
}

/* MOBILE SPECIFICS - STYLE OF ODS HEADER
========================================================================== */
.ods-responsive-menu-placeholder.ods-responsive-menu-placeholder--active {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.ods-responsive-menu--collapsed .ods-responsive-menu-collapsible__content {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__logo {
    display: none;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu,
.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu
{
    width: 100%;
}

/* DESKTOP SPECIFICS - STYLE OF DROPDOWN MENU
========================================================================== */

.dropdown-menu-content {
    position: absolute;
    background-color: #864192;
    filter: drop-shadow(0px 14px 8px rgba(37, 48, 59, 0.1));
    z-index: 1;
    padding: 10px 20px;
    min-width: 150px;  
}

.dropdown-menu-content a {
    color: #FFFFFF;
    text-decoration: none;
    display: block;
    opacity:1;
    padding: 5px;
    font-size: 1rem;
    line-height: 35px;
}

.dropdown-menu-content a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@media screen and (min-width: 1000px){
    .dropdown-menu-content {
        display: none;
    }

    .dropdown-menu:hover  .dropdown-menu-content {
        display: block;
    }

    .dropdown-menu:hover .ods-front-header__menu-item-link {
        opacity: 1;
    }   
}

/* MOBILE SPECIFICS - STYLE OF DROPDOWN MENU
========================================================================== */

@media screen and (max-width: 1000px){    
    .dropdown-menu-content {
        position: relative;
        padding-left: 25px;
        filter: none;
    }
}

.ods-front-header__menu-item-link {
    opacity: 1
}

.ods-front-header__menu-item-link:hover {
    text-decoration: none;
    color: #fff;
    opacity: .5
}

.ods-front-header__menu-item-link--active {
    border-bottom: 5px solid #581364;
    color: #fff;
    opacity: .5
}

.responsive-iframe {
    width: 100%;  /* Full width */
    height: 80vh; /* example height to fill viewport */
    border: none;  /* Removes border */
    box-sizing: border-box;
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center; /* centers vertically */
    padding-bottom: 20px;
}

.ods-catalog-card__keyword:hover {
    background-color: #581364;
}


/* ALERT CALLOUT */
.alert-callout {
    display: flex;
    align-items: flex-start;
    border-left: 4px solid #FCAF17;
    background-color: #fff3cd;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
    font-family: system-ui, sans-serif;
}

.alert-callout-warning {
    border-color: #FCAF17;
    background-color: #fff3cd;
}

.alert-callout-icon {
    font-size: 1.5em;
    margin-right: 0.75em;
    line-height: 1.2;
}

.alert-callout-content {
    flex: 1;
}

.alert-callout-title {
    font-weight: bold;
    color: #856404;
    margin-bottom: 0.25em;
}

.alert-callout-body {
    color: #856404;
}

/* INFO CALLOUT */
.info-callout {
    display: flex;
    align-items: flex-start;
    border-left: 4px solid #00B9F2;
    background-color: #d1ecf1;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
    font-family: system-ui, sans-serif;
}

.info-callout-icon {
    font-size: 1.5em;
    margin-right: 0.75em;
    line-height: 1.2;
    color: #00B9F2;
}

.info-callout-content {
    flex: 1;
}

.info-callout-title {
    font-weight: bold;
    color: #0c5460;
    margin-bottom: 0.25em;
}

.info-callout-body {
    color: #0c5460;
}

/* critical CALLOUT */
.critical-callout {
    display: flex;
    align-items: flex-start;
    border-left: 4px solid #dc3545;
    background-color: #f8d7da;
    padding: 1em;
    margin: 1em 0;
    border-radius: 4px;
    font-family: system-ui, sans-serif;
}

.critical-callout-warning {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.critical-callout-icon {
    font-size: 1.5em;
    margin-right: 0.75em;
    line-height: 1.2;
}

.critical-callout-content {
    flex: 1;
}

.critical-callout-title {
    font-weight: bold;
    color: #721c24;
    margin-bottom: 0.25em;
}

.critical-callout-body {
    color: #721c24;
}


/* COLLAPSABLE CARDS */

details summary {
    cursor: pointer;
    padding: 0.5em;
    background-color: #f6d3d0;
    color: #8f3c3c;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 0.5em;
}

details[open] summary {
    background-color: #edbbb6 ;
    color: #7a2f2f;
}

details ul {
    padding-left: 1.5em;
    margin-left: 1em;
    margin-top: 0.5em;
    margin-bottom: 2em;
}


