﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #FFF;
}

.nav--main__submenu a {
    color: #D00;
}

@media screen and (min-width:62.5em) {
    .l-nav .nav--main > li {
        margin-right: 0 !important;
    }
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.italic {
    font-style: italic;
}

.container {
    padding-left: 0px;
    padding-right: 0px;
}

.disabled-checkbox {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.3;
}

.checkbox {
    accent-color: red;
    height: auto;
}

.checkbox:focus {
    outline: 2px solid #000000;
    padding: 2px;
}

input[type=checkbox] {
    height: auto;
}

input[type=checkbox]:focus {
    outline: 2px solid #000000;
    padding: 2px;
}


/** Home */
.themeLink {
    color: #D00;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.themeLink:hover {
    text-decoration: underline;
}

/** Theme - Index */
.row .theme-index-row {
    background-color: white;
    display: inline-block;
}

.row .theme-index-row .col {
    position: relative;
    color: black;
    margin: 20px 10px 0 10px;
    padding: 0px;
    text-align: center;
    box-shadow: 0px 5px 5px 4px rgba(0,0,0,0.2);
    font-family: Arial;
    line-height: 1.1;
    height: 330px;
    width: 230px;
    display: inline-grid;
}

.row .theme-index-row .col:hover {
    transform: translateY(-10px);
    transition: 0.15s;
}

.row .theme-index-row .col:hover a:hover {
    color: white;
}

.theme-card-content {
    padding: 5px;
}

.theme-title {
    height: 23px;
    font-size: 16px;
    text-align: center;
    display: inline-flex;
    color: black;
    margin-bottom: 10px;
}

.theme-description {
    height: 45px;
    font-size: 14px;
    margin: 15px 10px 20px 10px;
    display: inline-block;
    color: black;
}

.theme-button {
    background-color: #DD0000;
    font-size: 13px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    height: 36px;
    width: 190px;
    padding: 11px;
    display: inline-block;
    margin-top: 10px;
}

.theme-button:hover {
    background-color: #AA0000;
}

.theme-button:focus {
    color: #FFF;
    text-decoration: none;
}

.theme-img {
    height: 129px;
    width: 100%;
    margin-bottom: 10px;
    object-fit: cover;
    display: inline-block;
}

.global-theme-description {
    font-family: Arial;
    font-size: 16px;
    margin-bottom: 20px;
    color: black;
}

/** Management - Index */
.management-index-row {
    background-color: #D00;
}

.management-index-row .col {
    border: 2px solid white;
    color: white;
    line-height: 3;
    padding: 5px;
}

.management-index-row .col:hover {
    background-color: #B00;
}

.management-index-row .col:hover a:hover {
    color: white;
}

.management-index-row a:focus{
    color: white;
}

.management-editor-img {
    height: 150px;
    width: 150px;
}

/** Reports */
.row .theme-reports-row {
    display: inline-block;
    width: 100%;
}

.row .theme-reports-row .col {
    color: black;
    margin: 20px 10px 0 10px;
    padding: 0px;
    text-align: center;
    box-shadow: 0px 5px 5px 4px rgba(0,0,0,0.2);
    font-family: Arial;
    line-height: 1.1;
    height: 330px;
    width: 230px;
    display: inline-grid;
    position: relative;
}

.row .theme-reports-row .col:hover {
    top: -10px;
    transition: top 0.15s;
}

.row .theme-reports-row .col .reportLink:hover {
    color: white;
}

.reportLink {
    color: black;
}

.report-card-content {
    padding: 5px;
}

.report-title {
    height: 23px;
    font-size: 16px;
    text-align: center;
    display: block;
    color: black;
    margin-bottom: 10px;
}

.report-description {
    height: 45px;
    font-size: 14px;
    margin: 15px 10px 20px 10px;
    display: inline-block;
    color: black;
}

.report-button {
    background-color: #DD0000;
    font-size: 13px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    height: 36px;
    width: 190px;
    padding: 11px;
    display: inline-block;
    margin-top: 10px;
}

.report-button:hover {
    background-color: #AA0000;
    color: white;
}

.report-button:focus {
    color: white;
    text-decoration: none;
}

.report-button-logo {
    width: 15px;
    height: 15px;
}

.fa-arrow-up-right-from-square::before {
    content: "\f08e";
}
.fa-lock:before {
    content: "\f023";
}

.report-img {
    height: 129px;
    width: 100%;
    margin-bottom: 10px;
    object-fit: cover;
    display: inline-block;
}

/** Search & Sort */
.reports-search-section {
    display: inline-block;
    width: 100%;
}

.reports-search-results {
    display: inline-block;
    font-family: Arial;
    color: black;
    font-size: 18px;
    width: 300px;
}

#searchAllReportsResult .theme-reports-row {
    margin-left: 0;
    margin-right: 0;
}

.search-result-count {
    color: grey;
}

.reports-search-and-sort {
    display: inline-block;
    margin-bottom: 20px;
    white-space: nowrap;
    float: right;
    margin-right: 35px;
}

.reports-search-form {
    display: inline-block;
}

.reports-search-bar {
    margin-right: 10px !important;
    width: 180px !important;
    height: 35px !important;
    padding: 5px;
}

.reports-search-button {
    margin-left: -38px;
    border: 0;
    background: none;
    height: 15px;
    width: 15px;
    cursor: default !important;
}

.reports-search-bar:placeholder-shown + .reports-search-clear {
    opacity: 0;
    pointer-events: none;
}

.reports-search-clear {
    position: absolute;
    border: none;
    display: inline-block;
    width: 15px;
    height: 15px;
    line-height: 16px;
    margin: 10px -60px;
    padding: 0;
    outline: none;
    cursor: pointer;
    transition: .1s;
}

@media (max-width: 576px) {
    .reports-search-and-sort {
        float: left;
    }
    .reports-search-form {
        display: block;
    }

    .reports-dropdown {
        margin-top: 2px;
        margin-left: 0 !important;
    }
}

.fa-circle-xmark {
    content: "\f057";
}

.fa-circle-xmark::before {
    content: "\f057";
}

.no-search-results h1 {
    font-family: Arial;
    font-size: 20px;
    color: #252423;
}

.no-search-results {
    padding-top: 1rem;
}

.no-search-results p {
    font-family: Arial;
    font-size: 16px;
    color: #333333;
}

.no-search-results-link {
    font-family: Arial;
    font-size: 16px;
    text-decoration: underline;
    color: #DD0000;
}

.no-search-results-link:hover {
    text-decoration: none;
}

.fa-search::before {
    content: "\f002";
}

.reports-dropdown {
    margin-left: 15px;
    width: 230px !important;
    height: 35px !important;
    padding: 5px;
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden;
    border: 1px solid #999;
}

.reports-dropdown select:focus {
    border: 2px solid #000000;
}

.reports-dropdown-option {
    padding: 5px;
}

.reports-dropdown-option:hover {
    background-color: grey !important;
}

.report-enabled {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.report-disabled {
    height: 100%;
    width: 100%;
    opacity: 15%;
    position: absolute;
    top: 0;
    left: 0;
    background: black;
}


.report-locked-button {
    padding: 10px;
    border-radius: 30px;
    color: #ffffff;
    position: absolute;
    background: black;
    right: 10px;
    height: 34px;
    width: 34px;
    top: 10px;
    z-index: 1;
    pointer-events: none;
}

.report-star-button {
    color: black;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 100;
    font-size: 1.5em;
    cursor: pointer;
}
/** Dataset */
.row .theme-dataset-row {
    background-color: #D00;
}

.row.theme-dataset-row .col {
    border: 4px solid white;
    color: white;
    line-height: 3;
    padding: 5px;
}


img.img-center {
    margin: 0 auto;
    width: 200px;
    height: auto;
    object-fit: cover;
    margin-bottom: 5px;
}

/** Management - Maps & Reports*/
.theme-management-collapsible {
    user-select: none;
}

.theme-management-collapsible > .theme-management-title i {
    width: 24px;
    height: 24px;
    transition: all 0.3s;
    color: #D00;
    margin: 10px 10px 0 10px;
}

.theme-management-collapsible[open] .theme-management-title i {
    transform: rotate(180deg);
}

.theme-management-title {
    display: flex;
    cursor: pointer;
}

.theme-management-title::-webkit-details-marker {
    display: none;
}

.account-request > h2 {
    color: #252423;
    font-family: Arial;
    font-size: 20px;
    font-weight: bold;
}

.brabant-asp-action-button {
    font-family: FuturaPT-Heavy,arial;
    font-style: normal;
    color: white;
    background-color: #D00;
    font-size: 1.125em;
    text-align: center;
    height: auto;
    width: auto;
    padding: 9px;
    display: inline-block;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 0, 0, 0);
    outline-offset: 2px;
    background-clip: padding-box;
}

    .brabant-asp-action-button:focus {       
        outline: 2px dotted #000000;
        color: white;
    }

    .brabant-asp-action-button:hover {
        color: white;
        background-color: rgb(198,0,0);
    }

nav-link.brabant-asp-action-button {
    background-color: white;
    color: black;
    border: 1px solid #333;
}

nav-link.brabant-asp-action-button:hover {
    background-color: #f0f0f0;
    color: black;
}

.table-link {
    color: #333;
    text-decoration: underline;
}

.table-link:visited {
    color: #333;
}

.table-link:hover {
    text-decoration: none;
}

.account-request-collapsible > summary > h3 {
    color: #252423;
    font-family: Arial;
    font-size: 18px;
    font-weight: bold;
}

.account-request-collapsible > summary {
    display: flex;
    cursor: pointer;
}

.account-request-collapsible {
    user-select: none;
}

.account-request-collapsible > summary i {
    transition: all 0.3s;
    margin: 2px 5px 0 5px;
}

.account-request-collapsible[open] > summary i {
    transform: rotate(180deg);
    margin-bottom: 22px;
}

.account-request-collapsible > summary::-webkit-details-marker {
    display: none;
}

#accountRequestForm > div {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: -14px;
}

#accountRequestForm > div > div > input, #accountRequestForm > div > div > select,
#accountRequestForm > div > div > textarea {
    width: 760px;
}

#organisationName:disabled, .role-request-field:read-only {
    border-color: #999999;
    background-color: #F3F3F3;
    opacity: unset !important;
    color: #595959;
}

#organisationName:disabled::placeholder, .role-request-field:read-only::placeholder {
    color: #595959;
}

.account-request-send {
    background-color: #DD0000;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    height: 37px;
    width: 760px;
    padding: 9px;
    display: inline-block;
    margin-bottom: 20px;
}

@media (max-width: 1000px) {
    #accountRequestForm > div {
        margin-top: 15px;
        margin-bottom: 15px;
        margin-left: -14px;
    }

    #accountRequestForm > div > div {
        padding-right: 0
    }

    #accountRequestForm > div > div > input,
    #accountRequestForm > div > div > select,
    #accountRequestForm > div > div > textarea {
        min-width: 325px;
        max-width: 720px;
        width: 100%;
        font-size: 14px;
    }

    .account-request-send {
        background-color: #DD0000;
        color: #ffffff;
        font-size: 13px;
        font-weight: bold;
        text-align: center;
        height: 37px;
        min-width: 325px;
        max-width: 720px;
        width: 100%;
        padding: 9px;
        display: inline-block;
        margin-bottom: 20px;
    }
}

.access-request-themes > input {
    height: 13px;
    margin-bottom: 12px;
    display: block;
}

.theme-checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.theme-checkbox-item input {
    margin: 0;
    flex-shrink: 0;
}

.theme-checkbox-item label {
    margin: 0;
    padding: 0;
    display: inline;
    cursor: pointer;
    font-weight: 400;
    line-height: 1.4;
}

.text-center {
    margin-bottom: 28px;
}

.about-pages a {
    color: #333;
    text-decoration: underline;
}

.about-pages a:hover {
    text-decoration: none;
}

.about-pages nav-link {
    color: #333;
    text-decoration: underline;
}

.about-pages nav-link:hover {
    text-decoration: none;
}

.about-page-row a {
    color: #333;
    text-decoration: underline;
}

    .about-page-row a:hover {
        text-decoration: none;
    }

.row .about-page-row {
    display: inline-block;
    margin-left: 0px;
}

    .row .about-page-row .col {
        color: black;
        margin: 0px 35px 35px 0px;
        padding: 0px;
        text-align: center;
        box-shadow: 0px 5px 5px 4px rgba(0,0,0,0.2);
        font-family: Arial;
        line-height: 1.1;
        height: 265px;
        width: 300px;
        display: inline-grid;
    }

.about-page-img {
    width: 300px;
    height: 155px;
    object-fit: cover;
    margin-bottom: 0;
}

    .about-page-img.disabled {
        filter: grayscale(100%);
    }

.about-page-content {
    padding: 15px;
    display: contents;
}

.about-page-request-button {
    width: 235px;
    height: 41px;
    background-color: #DD0000;
    color: #ffffff;
    padding: 8px;
    display: inline-block;
    text-align: center;
    margin: 0 0 35px 34px;
}

.about-page-request-button:hover {
    background-color: #AA0000;
    color: white;
}

.about-page-request-button:focus {
    color: white;
    text-decoration: none;
}

/*toastr options*/
#toast-container > div {
    color: black !important;
    opacity: 1 !important;
}

.toast-info {
    background-color: #CCC !important;
}

.toast-close-button {
    color: black !important;
    text-shadow: 0 0 BLACK !important;
}