.btn {
    border-radius: 0;
}

@brand-primary : #00857D;

.footer.fixed_full {
    background: #fff none repeat scroll 0 0;
    border-top: 1px solid #e7eaec;
    bottom: 0;
    left: 0;
    padding: 2px 0px;
    position: fixed;
    text-align: center;
    right: 0;
    z-index: 1000;
}

.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}

    .info h4 {
        margin: 0 0 5px;
        color: #777;
    }

.legend {
    text-align: left;
    line-height: 14px;
    font-size: 12px;
    color: #555;
}

    .legend i {
        width: 14px;
        height: 14px;
        float: left;
        font-size: 10px;
        margin-right: 8px;
        opacity: 0.7;
    }

a.small {
    font-size: 12px;
}

.li-report:before {
    position: relative;
    top: 2px;
    color: #ff000000;
    display: inline-block;
    content: "___";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

.li-report {
    text-indent: -7.5px;
    padding-left: 5px;
}

.div-logo {
    background-image: url(./img/bannerbackground-1.png);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 1500px 86px;
    -moz-background-size: 1500px 86px;
    -webkit-background-size: 1500px 86px;
    padding-bottom: 5px;
    overflow: hidden;
    padding: 0px;
    padding-bottom: 5px;
}

.div-logo_new {
    background-image: url(./img/bannerbackground-2.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 536px 86x;
    -moz-background-size: 536px 86px;
    -webkit-background-size: 536px 86px;
    padding-bottom: 5px;
}

.div-logo_old {
    height: 86px;
    width: 100%;
    background-color: #558D87;
    padding: 0px;
    overflow: hidden;
}

.alert {
    padding: 3px 3px 5px 5px;
}


.img-logo {
    padding: 0px;
}

.panel-loader {
    background-image: url(./img/loader.gif);
    background-repeat: no-repeat;
}

html, body {
    height: 100%;
}

.map {
    height: 300px;
    position: relative;
}

.map_tooltip {
    position: absolute;
    display: inline-block;
    height: auto;
    width: auto;
    z-index: 100;
    background-color: #59595998;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    transform: translateX(3%);
    visibility: hidden;
    pointer-events: none;
}

.info_tooltip {
    position: relative;
    display: inline-block;
}

.info_tooltip .info_tooltip_text {
    visibility: hidden;
    position: absolute;
    display: inline-block;
    height: auto;
    width: max-content;
    max-width: 900px;
    z-index: 100;
    background-color: #595959db;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    transform: translateX(10px);
    pointer-events: none;
    white-space: normal;
    overflow-wrap: break-word; /* Break words to avoid overflow */
    word-wrap: break-word; /* Ensure compatibility with older browsers */
    overflow: hidden; /* Prevent content overflow */
}

.info_tooltip:focus .info_tooltip_text,
.info_tooltip:active .info_tooltip_text,
.info_tooltip:hover .info_tooltip_text {
  visibility: visible;
}

/* TODO: manage width of info_tooltip_text better. Want the width to be slightly smaller than the panel-body ancestor */

@media screen and (max-width: 550px) {
    .info_tooltip .info_tooltip_text {
        max-width: 300px;
        top: 100%;
        transform: translateX(-20px);
    }
}

@media screen and (min-width: 550px) and  (max-width: 992px) {
    .info_tooltip .info_tooltip_text {
        max-width: 400px;
    }
}

@media screen and (min-width: 992px) and  (max-width: 1200px) {
    .info_tooltip .info_tooltip_text {
        max-width: 700px;
    }
}

:-moz-full-screen {
    width: 100%;
    height: 100%;
}

:-webkit-full-screen {
    width: 100%;
    height: 100%;
}

:-ms-fullscreen {
    width: 100%;
    height: 100%;
}

.login {
    position: absolute;
    float: left;
    top: 50%;
    left: 50%;
    z-index: 99999;
}

.reportBody {
    position: relative;
    z-index: -1;
}

.report {
    padding: 0px;
    border-style: none;
}


.panel {
    padding: 0px;
    border-style: none;
    page-break-inside: avoid;
}

.panel-body {
    padding: 0px;
    border-style: none;
}

.panel-maps {
    padding: 0px;
    border-style: none;
    position: relative;
}

.ol_legend {
    padding: 0px 15px 5px 15px;
    overflow: auto;

    display: flex;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 4px; /* Spacing between legend items */
}

    .ol_legend img {
        flex-shrink: 0; /* Prevent image from shrinking */
        margin-right: 5px; /* Use margin for spacing */
        padding-right: 0; /* Remove padding if margin is used */
    }

    .ol_legend svg {
        flex-shrink: 0; /* Prevent image from shrinking */
        margin-right: 5px; /* Use margin for spacing */
        padding-right: 0; /* Remove padding if margin is used */
    }

.ol_legend_layer_title {
    font-weight: bold;
    font-size: 13px;
}

/* This is for the status under each map */
.progress {
    height: auto;
    position: relative;
    bottom: 0;
    left: 0;
    background: rgba(0, 60, 136, 0.4);
    transition: width 250ms;
    transition: height 250ms;
    color: white;
    margin-bottom: 0px;
    border-radius: 0px 0px 4px 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.progress small {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
}



img {
    vertical-align: middle;
}



#nav {
    max-width: 1180px;
    margin: 0 auto;
}


.header-logo {
    display: inline-block;
    /*width: auto;*/
}


.headerLogo {
    text-align: right;
    font-size: 2.3em;
    font-family: "Source Sans Pro";
    font-weight: 700;
    color: #53565a;
    font-family: "Arial";
    font-size: 16px;
    padding: 0;
    padding-bottom: 6px;
    display: inline-block;
    color: #00629b;
    vertical-align: bottom;
}

.scc-logo {
    max-height: 72px;
    max-width: 45%;
    min-width: 130px;
    float: left;
}

.branding-divider {
    max-height: 73px;
    padding-bottom: 8px;
}

#bannerImage {
    max-height: 60px;
    max-width: 45%;
    min-width: 130px;
    padding-bottom: 5px;
}

#emText {
    color: #aa7422;
    font-style: italic;
}

.container-map-element-legend {
    font-size: 12px;
    padding-top: 10px;
}

.cf::after {
    content: '';
    display: table;
    clear: both
}

@media only screen and (min-width:550px) {
    #reportTitle {
        margin-bottom: 5px;
        vertical-align: bottom;
        padding-bottom: 17px;
        margin: 0px;
        text-align: right;
        max-height: 60px;
    }
}

@media only screen and (max-width: 550px) {
    #reportTitle {
        vertical-align: top;
        padding-top: 10px;
        margin: 0px;
        text-align: center;
    }

    .headerLogo {
        width: 100%;
    }

    .container-map-element-legend {
        column-count: 1;
        position: relative;
    }
}

@media screen and (max-width: 992px) {
    .map {
        height: 300px;
        width: 100%;
    }
}

@media screen and (min-width: 992px) and (max-width: 1182px) {
    .map {
        height: 460px;
        width: 100%;
    }
}

@media screen and (min-width: 1182px) {
    .map {
        height: 560px;
        width: 100%;
    }
}

@media (min-width:550px) {
    .container-map-element-legend {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .container-map-element-legend {
        column-count: 4;
        column-gap: 40px;
    }
}


.planning-scheme-2025 {
    --planning-scheme-theme: #004C6C;

    /* The business doesnt want the masthead to show since the planning scheme is intended to be linked to directly from ePlan only */
    .scc-masthead {
        display: none;
    }

    /*.scc-masthead {
        background-color: var(--planning-scheme-theme) !important;
        //background: linear-gradient(90deg, rgba(0,98,155,1) 0%, rgba(0,188,242,1) 76%, rgba(0,178,169,1) 100%) !important;
    } */
    /*.scc-footer {
        background-color: var(--planning-scheme-theme) !important;
    }

    .scc-masthead .scc-masthead-tools-container a, .scc-footer a {
        background-color: transparent !important;
    }*/

    #nav-container{
        background: #00629b;
        background-position: left -12em bottom 0px;
        background-repeat: no-repeat;
        background-size: cover;
        margin-bottom: 10px;
        padding: 0;
    }

    #nav {
        margin-left: auto;
        margin-right: auto;
        background-color: transparent;
        color: #fff;
    }

    .panel-heading {
        color: #fff;
        background-color: rgba(0,98,155,1);
        border-color: #9c9c9c;
    }

    .panel-heading a {
        color: #fff; /* Make links white for better contrast */
        text-decoration: underline; /* Add underline for better visibility */
    }

    .panel-heading a:hover {
        color: #ccc; /* Slightly change color on hover */
    }

    .header-logo {
        /* width: 33.3%; */
        padding-left: 0;
    }

        .header-logo .scc-logo {
            max-height: 82px;
            max-width: none;
        }

    .headerLogo {
        /*width: 60%;*/
        display: inline-block;
    }

    .branding-divider {
        filter: brightness(0) invert(1);
    }

    #reportTitle {
        text-align: center;
        padding-top: 13px;
    }

    .proposed-planning-scheme-title {
        color: #fff;
        /*float: left;
            margin-left: 3em;*/
        text-transform: capitalize;
    }

    .br {
        display: block;
    }

    @media (min-width: 1200px) {
        #nav-container {
            background-position: left -25em bottom 0px;
        }
    }

    @media (min-width: 1700px) {
        #nav-container {
            background-position: left -12em bottom 0px;
        }
    }

    @media (max-width: 1200px) {
        .headerLogo {
            width: 100%;
            text-align: center;
        }

        #reportTitle {
            text-align: left;
            margin-left: 0.5em;
        }

        .proposed-planning-scheme-title {
            margin-left: 0;
            display: inline-block;
            padding: 0;
        }

        #nav-container {
            /*background: var(--planning-scheme-theme);*/
            background-image: none;
        }
    }

    @media (max-width: 600px) {

        .header-logo .scc-logo {
            max-height: 72px;
            margin-top: 5px;
        }

        #nav {
            padding: 0;
        }

    #reportTitle {
        font-size: 18px;
        padding: 0;
        margin: 0 10px;
    }
}

}

.da-internal {
    #nav {
        background-color: rgb(255, 255, 0);
    }
}

@media print {
    body {
        width: 992px;
        height: auto;
    }

    .map {
        height: 560px;
    }

    .scc-masthead {
        display: none;
    }

    .scc-footer {
        display: none;
    }

    .container {
        width: 100%;
    }

    .panel {
        width: 100%;
    }

    #reportProgress {
        display: none !important;
    }

    .footer.fixed_full {
        display: none !important;
    }

    html {
        overflow: hidden;
    }

    .scc-logo {
        content: url(https://maps.scc.qld.gov.au/sitereport/img/scc-176.png);
    }

    .branding-divider {
        filter: none;
    }

    #reportTitle {
        text-align: left !important;
    }

    #nav {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .proposed-planning-scheme-title {
        color: #000 !important;
    }

    .br {
        display: inline-block !important;
    }

    .info_tooltip .info_tooltip_text {
        display: none;
    }

    .planning-scheme-2025 .panel-heading {
        color: #000 !important;
    }

    .planning-scheme-2025 .panel-heading a {
        color: #000 !important;
    }

    .ol_legend * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
