
    :root {
        --text: #04427b;
--links: #04427b;
--titles: #04427b;
--page-background: #efefef;
--highlight: #006fba;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #04427b;
--section-titles-background: #F6F8FB;
--header-background: #FFFFFF;
--header-links: #04427b;
--footer-background: #FFFFFF;
--footer-links: #04427b;
    }
    
/*************************************************************/
/* DEFAULT STYLESHEET 
/*
/* For fast customization, simply change the variable values
/* based on the client's needs.
/*************************************************************/

/* ================= Define Variables ===================== */

:root{
    --color-primary: #006fba;
    --color-secondary: #147D34;
    --color-other: #04427b;

    --font-family-primary: "FiraSans";
    --font-family-secondary: "BebasNeueRounded";
    --font-family-other: "bree";
}

/* ================= Custom Fonts ===================== */

@font-face {
    font-family: "BebasNeueRounded";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/BebasNeueRounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeueRounded";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/BebasNeueRounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "BebasNeueRounded";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/BebasNeueRounded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "FiraSans";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/FiraSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "FiraSans";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/FiraSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "FiraSans";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/FiraSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "bree";
    src: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/bree-300.woff2') format('woff2'),url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/bree-300.woff') format('woff'),url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_font/bree-300.otf') format('opentype');
    font-display: auto;
    font-style: normal;
    font-weight: 300;
    -moz-font-feature-settings: "salt";
    -webkit-font-feature-settings: "salt";
    font-feature-settings: "salt";
}

/* ================= Global ===================== */

body, h1, h2, h4, h5, h6, p, a{
    font-family: var(--font-family-primary);
    -moz-font-feature-settings: "salt";
    -webkit-font-feature-settings: "salt";
    font-feature-settings: "salt";
}

a:hover, a:focus {
    color: var(--color-secondary) !important;
}

/* ================= Hide "Data Visualisation", "Live City", "How-to guide" from unauthenticated users ===================== */
.unauthenticatedUser a[href="/pages/visualise/"],
.unauthenticatedUser a[href="/pages/counting-dashboard/"],
.unauthenticatedUser a[href="/pages/how-to-guide/"] {
    display: none;
}

/* ================= Studio common styles ===================== */

/*main:has(.rods-front-office-container) {
    margin: 0;
}

.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(1) {
    margin: -31px -31px 0;
    padding: 0;
}

.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(2) {
    position: absolute;
    top: calc(100% - 490px);
    left: 26px;
}

.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(3) 
.rods-page-renderer__block .ods-visualizations-md-text .markdown-text-container {
    background: var(--color-primary);
    padding: 10px 30px;
    color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
}


.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(3) 
.rods-page-renderer__block .ods-visualizations-md-text .markdown-text-container p:nth-child(1) {
    background: #fff;
    width: 300px;
    padding: 10px 20px;
    color: var(--color-primary);
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    margin-top: -10px;
    margin-left: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(2) 
.markdown-text-container.markdown-text-container--align-left {
    padding: 25px 50px;
    background: white;
    border-radius: 30px;
    border-bottom-left-radius: 0;
}

.rods-front-office-container .rods-page-renderer__container .rods-page-renderer__section:nth-child(2)
.markdown-text-container.svelte-nhuxev p {
    font-size: 3.125rem;
    line-height: 1.3;
    color: var(--color-other);
    font-family: var(--font-family-secondary);
    letter-spacing: 0.06em;
}

.rods-page-renderer__container h3{
    font-size: 22px;
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--color-other);
    margin: 1em 0;
    font-family: var(--font-family-other), sans-serif;
}

.rods-page-renderer__container h1, .rods-page-renderer__container h2{
    font-family: var(--font-family-secondary), sans-serif;
    font-weight: 400;
}

.rods-page-renderer__container h2{
    font-size: 2.25rem;
    line-height: 1.3;
    color: var(--color-primary);
    margin: 0.83em 0;
}

.rods-page-renderer__container h1 {
    letter-spacing: 0.06em;
    font-size: 50px;
    font-size: 3.125rem;
    line-height: 1.3;
    color: var(--color-other);
    margin: 0.67em 0;
}

.rods-page-renderer__container h3, .rods-page-renderer__container body{
    font-size: 22px;
    font-size: 1.375rem;
    line-height: 1.3;
    color: var(--color-other);
    margin: 1em 0;
    font-family: var(--font-family-other),sans-serif;
}

.rods-page-renderer__container p{
    font-size: 18px;
    font-weight: 300;
    word-break: break-word;
}

.rods-page-renderer__block--type-chart, .rods-page-renderer__block--type-map {
    background: #fff;
    border-radius: 10px;
}*/

/* ================= ODS Login Form ===================== */



/* ================= Custom Header ===================== */

.ods-front-header{
    height: 135px;
}

.ods-front-header__portal-brand{
    top: 0;
    height: 135px;
    margin-left: 90px;
}

.ods-front-header__menu{
    padding: 20px 0;
    margin-right: 100px;
    height: 135px;
    float: right;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-right: 90px;
}

.ods-front-header__portal-brand .ods-front-header__logo{
    margin: -30px;
    width: 185px;
    height: 185px;
    display: block;
    padding: 21px 0;
    object-fit: contain;
}

.ods-front-header__menu-item-link{
    background: none;
    background-color: transparent;
    font-family: var(--font-family-primary),sans-serif;
    font-size: 1.2vw;
    color: var(--color-other);
    line-height: 45px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: capitalize;
    opacity: 1;
    padding: 0 20px;
}

.ods-front-header__menu-item-link.ods-front-header__menu-item-link--active{
    border-bottom: none;
    color: #fff !important;
    background: var(--color-primary) !important;
    border-radius: 15px;
}

.ods-front-header__management-menu-item-link.ods-front-header__management-menu-item-link--backoffice{
    color: #fff;
}

.ods-front-header__brand-block .brand-block-container {
    display: flex;
    justify-content: space-around;
    background: #fff;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__portal-brand {
    display: none !important;
}

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

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu {
    margin: 0;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu{
    flex-direction: column;
    height: auto;
    align-items: center;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu-item-link{
    padding: 5px 20px;
    font-size: 14px;
}

/* ================ Custom Footer ====================== */

.ods-front-footer .container{
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.ods-front-footer img{
    max-width: 100%;
    height: auto;
}

.ods-front-footer{
    background: url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_image/footer-bg.svg	');
    background-size: 1920px;
    background-position: top center;
    overflow: hidden;
    position: relative;
    background-color: #fff !important;
    padding: 2rem 0;
    height: 100%;
}

.ods-front-footer .region-footer {
    display: flex;
    flex-flow: row wrap;
}
/*
.ods-front-footer .region-footer > * {
    padding: 60px 55px 48px 55px;
} */

#block-cityofdarwinbranding {
    padding: 0 2em 0 0;
}

#block-cityofdarwinbranding p {
    margin: 0;
}

#block-footer ul.menu li a, .block-block-content p a, .content-area-wrapper .main .field--name-body a:not(.ckeditor-accordion-toggler) {
    text-decoration: underline;
}

#block-footer ul.menu li a {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.2em;
    display: block;
    color: var(--color-other);
}

#block-cityofdarwinbranding p img {
    min-width: 200px;
    width: 225px;
    height: 190px;
    background: #fff;
}

#block-acknowledgementandpayingrespect .field--name-body p{
    font-size: 14px;
    margin: 20px 0;
    font-family: var(--font-family-primary);
    font-weight: 300;
    text-align: left;
}

#block-contactblockfooter .contact-info {
    margin-bottom: 48px;
}

#block-contactblockfooter .contact-info, #block-contactblockfooter .social-link {
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: var(--color-other);
    text-align: left;
    margin-bottom: 1em;
}

#block-contactblockfooter .contact-info li, #block-contactblockfooter .social-link li {
    list-style: none;
    margin-bottom: 0.8em;
    text-align: left;
}

#block-contactblockfooter .contact-info strong, #block-contactblockfooter .social-link strong {
    margin-right: 0.3em;
}

#block-contactblockfooter .contact-info a, #block-contactblockfooter .social-link a {
    font-size: 16px;
    color: var(--color-other);
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px,1px,1px,1px);
    width: 1px;
    height: 1px;
    word-wrap: normal;
}

#block-footer ul.menu {
    padding: 0;
    margin: 0;
}

#block-enewsnewsletter {
    position: relative;
}

#block-enewsnewsletter p {
    margin: 0;
    text-align: center;
}

#block-enewsnewsletter .field--name-body ul {
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#block-enewsnewsletter .field--name-body ul li {
    list-style: none;
    width: 100%;
    padding: 0.1em 1em;
}

#block-enewsnewsletter .field--name-body ul li span, #block-enewsnewsletter .field--name-body ul li a {
    color: var(--color-other);
    font-size: 14px;
}

.ods-front-footer .social-link li a.facebook {
    background: transparent url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_image/facebook.png') no-repeat top left;
}

.ods-front-footer .social-link li a.instagram {
    background: transparent url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_image/instagram.png') no-repeat top left;
}

.ods-front-footer .social-link li a.youtube {
    background: transparent url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_image/youtube.png') no-repeat top left;
}

.ods-front-footer .social-link li a.linkedin {
    background: transparent url('https://s3-ap-southeast-2.amazonaws.com/aws-ec2-ap-southeast-2-opendatasoft-staticfileset/darwin/theme_image/linkedin.png') no-repeat top left;
}

.ods-front-footer .social-link li a {
    text-indent: -9999px;
    display: block;
    width: 30px;
    height: 30px;
    float: left;
    background-size: contain !important;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.ods-front-footer .social-link li {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    margin-bottom: 10px;
}

.ods-front-footer li, .ods-front-footer li {
    list-style: none;
    list-style-image: none;
}

#block-footer ul.menu li:nth-child(6) {
    margin-bottom: 1.4em;
}

#block-footer ul.menu li:nth-child(n+7) a {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 400;
}

#block-footer ul.menu li a {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.2em;
    display: block;
    text-align: left;
}

#block-enewsnewsletter .send-message {
    text-align: center;
    display: inline-block;
    padding: 0.3em 1.5em;
    background: #efefef;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 2em;
    border-radius: 7px;
    color: var(--color-other);
}

#block-enewsnewsletter .report-issue{
    background: #004578;
    border-radius: 5px;
    color: #fff;
    padding: 0.5em 1.2em;
    display: inline-block;
    font-size: 0.95rem;
    border: 1px solid #004578;
    transition: all 0.3s ease;
    font-family: var(--font-family-other),sans-serif;
}

#block-enewsnewsletter .icon-message {
    width: 100%;
    max-width: 57px;
    text-align: center;
    margin: auto;
    display: block;
    margin-bottom: 30px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

#block-enewsnewsletter .report-issue:hover{
    background: #fff;
    color: #004578 !important;
    text-decoration: none;
}

@media (min-width: 1025px){
    .ods-front-footer .region-footer {
        flex-flow: row nowrap;
        padding-bottom: 0;
    }
}

@media (max-width: 1024px){
    #block-cityofdarwinbranding {
        width: 100%;
    }
    #block-enewsnewsletter {
        width: 100%;
    }
    #block-enewsnewsletter::before {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        content: "";
        z-index: 0;
        border-top: 4px solid #efefef;
        border-bottom: 4px solid #efefef;
        right: 40px;
        left: -40px;
        width: 100vw;
    }
}

@media (min-width: 1025px){
    #block-contactblockfooter, #block-footer, #block-enewsnewsletter {
        flex: 1;
    }
}

@media (min-width: 769px) and (max-width: 1024px){
    .ods-front-footer .region-footer {
        justify-content: space-around;
    }
}

@media (max-width: 768px){
    #block-footer, #block-contactblockfooter {
        width: 100%;
        text-align: center;
    }
    .ods-front-footer .region-footer > * {
        padding: 32px 55px;
    }
    #block-contactblockfooter .contact-info, #block-contactblockfooter .social-link{
        text-align: center;
    }
    #block-contactblockfooter .contact-info li, #block-contactblockfooter .social-link li{
        text-align: center;
    }
    #block-footer ul.menu li a{
        text-align: center;
    }
}

/* ================ Catalog/Dataset pages ====================== */

.ods-dataset-visualization__edit-dataset-link{
    color: #fff;
}
.ods-dataset-visualization__edit-dataset-link:hover{
    color: #fff !important;
    text-decoration: underline;
}

/* ================ Management Menu ====================== */

.ods-front-header__management-menu-item{
    font-family: var(--font-family-primary) !important;
}

.ods-front-header__management-menu-item-link:hover{
    border-bottom: none;
    text-decoration: underline;
    color: var(--color-secondary) !important;
}

.ods-front-header__management-menu-item-link--backoffice:hover{
    border-bottom: none;
    text-decoration: underline;
    color: #fff !important;
}

.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu-item-link:not(.ods-front-header__management-menu-item-link--backoffice){
    border-bottom: none;
}

/* ================ Responsive Menu ====================== */

/* ================ Hide Export and Api Tab in Explore Page ====================== */
header:has(.not-admin) ~ .main--dataset [title="Export"]{
    min-height: 400px;
}
header:has(.not-admin) ~ .main--dataset [title="Export"] div{
    display: none !important;
}
header:has(.not-admin) ~ .main--dataset [title="Export"]:after{
    content: "You do not have access to export data.";
    font-size: 14px;
    position: relative;
    top: 150px;
    left: 35%;
}
header:has(.not-admin) ~ .main--dataset [title="API"]{
    min-height: 400px;
}
header:has(.not-admin) ~ .main--dataset [title="API"] div{
    display: none !important;
}
header:has(.not-admin) ~ .main--dataset [title="API"]:after{
    content: "You do not have access to export data.";
    font-size: 14px;
    position: relative;
    top: 150px;
    left: 35%;
}

/* ================ Hide Admin Theme Tiles in explore page ====================== */

.ods-catalog-card__wrapper:has(.theme-admin) {
    display: none;
}
