/*
* Energi Data Service - Energinet.dk
* version: 3.0
* ==============================================================================

*/
/*!
 * Bootstrap v3.3.7 (http://getbootstrap.com)
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 */


/* ===========================
   Colors
   =========================== */

.primary {
    color: #02525E;
}

.secondary {
    color: #00A58D;
}

.white {
    color: #FFFFFF;
}

.dark-gray {
    color: #333333;
}

.light-gray {
    color: #F5F5F5;
}

.accent {
    color: #FFD424;
}



/* ===========================
   Base Typography
   =========================== */

html {
    font-family: Verdana, sans-serif;
}

body {
    font-family: Verdana, sans-serif;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #333333;
    background-color: #F5F5F5;
    background: #02525E;
}

p {
}

    p a {
        text-decoration: underline;
    }

a {
    color: #02525E;
}

    a:hover, a:focus {
        color: #00A58D;
        text-decoration: underline;
    }

::selection {
    color: #ffffff;
    background: #02525E;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    line-height: 1.1;
    color: inherit;
}

h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h4, h5, h6, .h4, .h5, .h6 {
    margin-top: 20px;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    h1 {
        font-size: 20px;
        padding-top: 10px;
    }

    h2 {
        font-size: 18px;
    }

    h3 {
        font-size: 16px;
    }
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-justify {
    text-align: justify;
}

.text-nowrap {
    white-space: nowrap;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-capitalize {
    text-transform: capitalize;
}

hr {
    box-sizing: content-box;
    height: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2;
    border-top: 2px dotted #e9e9e9;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td, th {
    padding: 0;
}

.italic {
    font-style: italic;
}

.wrap {
    overflow-wrap: break-word;
}

/* ===========================
   Breadcrumbs & Toolbar
   =========================== */

.toolbar {
    margin-top: 10px;
}

.fa-home:before {
    content: "\f015";
    margin-right: 5px;
    color: #02525E;
}

.toolbar .home a {
    text-decoration: none;
}

.home span {
    display: none;
}

.breadcrumb .home .icon-home {
    font-size: 24px;
    width: 24px;
    vertical-align: -1px;
}

.breadcrumb > li + li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #02525E;
}

.toolbar .breadcrumb li a {
    color: #02525E;
    font-size: 14px;
    text-decoration: none;
}

.toolbar .breadcrumb {
    box-shadow: none;
    position: relative;
    float: left;
    margin: 0;
    padding: 0 15px;
    border: none;
    background: none;
}

.breadcrumb {
    margin-bottom: 10px;
    list-style: none;
    background-color: #f5f5f5;
    border-radius: 0;
}

    .toolbar::before,
    .toolbar::after,
    .breadcrumb::before,
    .breadcrumb::after {
        content: " ";
        display: table;
    }

.toolbar::after,
.toolbar .breadcrumb::after {
    clear: both;
}


/* ===========================
   Search & Form Controls
   =========================== */

.form-control {
    display: block;
    width: 100%;
    height: 36px;
    padding: 6px 12px;
    padding-right: 12px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .form-control:focus {
        border-color: #00A58D;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 169, 143, 0.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 169, 143, 0.6);
    }

    .form-control::-moz-placeholder {
        color: #999;
        opacity: 1;
    }

    .form-control:-ms-input-placeholder {
        color: #999;
    }

    .form-control::-webkit-input-placeholder {
        color: #999;
    }

    .form-control::-ms-expand {
        border: 0;
        background-color: transparent;
    }

    .form-control[disabled],
    .form-control[readonly],
    fieldset[disabled] .form-control {
        background-color: #e9e9e9;
        opacity: 1;
    }

    .form-control[disabled],
    fieldset[disabled] .form-control {
        cursor: not-allowed;
    }

textarea.form-control {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: none;
}

.has-feedback {
    position: relative;
}

    .has-feedback label ~ .form-control-feedback {
        top: 25px;
    }

    .has-feedback label.sr-only ~ .form-control-feedback {
        top: 0;
    }

.form-control-feedback {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
}

@media (min-width: 768px) {
    .form-horizontal .control-label {
        text-align: right;
        margin-bottom: 0;
        padding-top: 7px;
    }
}

@media (min-width: 768px) {
    .form-inline .form-group {
        display: inline-block;
        margin-bottom: 0;
        vertical-align: middle;
    }

    .form-inline .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

    .form-inline .form-control-static {
        display: inline-block;
    }

    .form-inline .input-group {
        display: inline-table;
        vertical-align: middle;
    }

        .form-inline .input-group .input-group-addon,
        .form-inline .input-group .input-group-btn,
        .form-inline .input-group .form-control {
            width: auto;
        }

        .form-inline .input-group > .form-control {
            width: 100%;
        }

    .form-inline .control-label {
        margin-bottom: 0;
        vertical-align: middle;
    }

    .form-inline .radio,
    .form-inline .checkbox {
        display: inline-block;
        margin-top: 0;
        margin-bottom: 0;
        vertical-align: middle;
    }

        .form-inline .radio label,
        .form-inline .checkbox label {
            padding-left: 0;
        }

        .form-inline .radio input[type="radio"],
        .form-inline .checkbox input[type="checkbox"] {
            position: relative;
            margin-left: 0;
        }

    .form-inline .has-feedback .form-control-feedback {
        top: 0;
    }
}

@media (min-width: 992px) {
    .form-group .info-block {
        padding: 6px 0 6px 25px;
    }

    .form-group .info-inline {
        float: right;
        width: 265px;
        margin-top: 0;
        padding-bottom: 0;
    }
}

.form-horizontal .has-feedback .form-control-feedback {
    right: 15px;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input[type="date"].form-control,
    input[type="time"].form-control,
    input[type="datetime-local"].form-control,
    input[type="month"].form-control {
        line-height: 34px;
    }

    input[type="date"].input-sm,
    input[type="time"].input-sm,
    input[type="datetime-local"].input-sm,
    input[type="month"].input-sm,
    .input-group-sm input[type="date"],
    .input-group-sm input[type="time"],
    .input-group-sm input[type="datetime-local"],
    .input-group-sm input[type="month"] {
        line-height: 30px;
    }

    input[type="date"].input-lg,
    input[type="time"].input-lg,
    input[type="datetime-local"].input-lg,
    input[type="month"].input-lg,
    .input-group-lg input[type="date"],
    .input-group-lg input[type="time"],
    .input-group-lg input[type="datetime-local"],
    .input-group-lg input[type="month"] {
        line-height: 46px;
    }
}

/* ===========================
   Layout Containers
   =========================== */


.static-page {
    max-width: 80%;
    background-color: #fff;
    margin: 0 auto 10em;
}

.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

@media (min-width: 992px) {
    .col-md-offset-1 {
        margin-left: 8.33333333%;
    }
}

[role=main],
.main {
    position: relative;
    padding-bottom: 15px;
}

@media (min-width: 768px) {
    [role=main],
    .main {
        padding-top: 10px;
        background: #fff;
    }
}

.main:after,
[role=main]:after {
    bottom: 0;
    border-top-width: 1px;
}

.wrapper {
    position: relative;
    background-color: #fff;
    margin-bottom: 15px;
}

@media (min-width: 992px) {
    .col-md-12 {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        float: left;
    }
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}


/* ===========================
   Tag Pills
   =========================== */

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: bold;
    color: #333333;
    line-height: 1;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
    background-color: #F5F5F5;
    border-radius: 10px;
}


/* ===========================
   Dataset & Modules
   =========================== */

.dataset-content {
    margin: 10px 0;
    margin-bottom: 0;
}

.dq-main-container {
    border-color: #e9e9e9;
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 0px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.dq-heading {
    padding: 10px 15px;
/*    border-bottom: 1px solid transparent;
    border-top-right-radius: -1px;
    border-top-left-radius: -1px;*/
    background-color: #f5f5f5;
    border: 1px solid #dadfe2;
}

.dq-heading-main {
    display: inline-block;
}

    .dq-heading-main:before {
        font-size: 14px;
        font-family: FontAwesome;
        content: "\f0ae";
    }

    .dq-heading-main:after {
        font-size: 14px;
        font-weight: 700;
        content: "  Data Explorer Filters";
    }

.dq-heading-total-rows {
    float: right;
    font-size: 14px;
    font-weight: 700;
}

    .dq-heading-total-rows:before {
        font-size: 16px;
        font-weight: 500;
    }

.panel-footer, .dq-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border: 1px solid #dadfe2;
}

.data-explorer-pagination {
    display: flex;
    background-color: #f5f5f5;
    padding: 5px;
}

table {
    background-color: transparent;
    border-color: transparent;
}

    table.table.table-striped tr {
        --bs-table-striped-bg: #f5f5f5;
    }

.table-container .rt-td .number,
.table-container .integer {
    text-align: right;
}

.simple-input label,
.simple-input button {
    display: none;
}

.resource-attributes {
    margin-top: 30px;
}

    .resource-attributes:first-child {
        margin-top: 0;
    }


/* ===========================
   Datasets, Groups and Organizations
   =========================== */

.custom-list {
    list-style-type: none; /* Remove bullets */
    padding: 0;
    margin: 0;
    font-size: 13px;
}

    .custom-list a {
        color: #333333;
    }

.custom-list-item {
    margin-bottom: 0px; /* Remove extra margin */
    border-bottom: 1px solid #d3d3d3; /* Add a thin grey line separator */
    font-size: 13px;
}

    .custom-list-item:last-child {
        border-bottom: none; /* Remove the line from the last item */
    }

    .custom-list-item a {
        display: block; /* Ensure the links behave like block elements */
        text-decoration: none; /* Remove underline from links */
        padding: 10px; /* Add some padding to make the clickable area larger */
        background-color: transparent; /* Default background */
        transition: background-color 0.3s; /* Smooth transition for hover and active states */
    }

        /* Hover effect - grey background when hovering */
        .custom-list-item a:hover {
            background-color: #F5F5F5; /* Light grey background on hover */
        }

    /* Active state - grey background when the item is selected */
    .custom-list-item.active a {
        background-color: #F5F5F5;
    }


.custom-btn i {
    font-style: normal;
    color: #ffffff;
}

.custom-btn {
    background: none; /* Remove background */
    border: none; /* Remove borders */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
    cursor: pointer; /* Ensure it looks clickable (pointer cursor) */
    font: inherit; /* Keep the font consistent with surrounding text */
    outline: none; /* Remove default focus outline */
}

.dataset-list ul {
    margin-top: 0px;
    margin-bottom: 8px;
}

.dataset-heading {
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    margin-top: 0;
}

.module img {
    max-width: 100%;
}

.module {
    margin: 15px 0;
}

.module-shallow .module-content {
    padding: 10px;
    margin: 0;
}

.module-shallow .module-tags {
    margin-top: 0;
    margin-bottom: 0;
}

.module-shallow .module-content:first-child {
    padding-top: 10px;
}

.module-shallow .module-content:last-child {
    padding-bottom: 10px;
}

.module-content:first-child {
    margin-top: 0;
}

.module-content:last-child {
    margin-bottom: 0;
}

.module-heading {
    margin: 0;
    padding: 10px 15px;
    font-size: 14px;
    background-color: #02525E;
    color: #ffffff;
}

.module-resource {
    background-color: #fff;
    border-radius: 3px 3px 0 0;
}

    .module-resource .actions {
        float: right;
    }

.actions {
    padding-left: 0;
    margin: 0;
    list-style: none;
    align-content: start;
}

    .actions li {
        display: inline-block;
        margin-left: 5px;
    }

.fa-info-circle:before {
    content: "\f05a";
}

.fa-lock:before {
    content: "\f023";
}

.fa-building-o:before {
    content: "\f0f7";
}

.fa-info-circle:before {
    content: "\f05a";
}

.fa-search:before {
    content: "\f002";
}

.fa-exclamation-circle:before {
    content: "\f06a";
}

.fa-clock:before {
    content: "\f017";
}

.fa-circle:before {
    content: "\f111";
}

.fa-check:before {
    content: "\f00c";
}

.fa-xmark:before {
    content: "\f00d";
}

.media-grid:last-child {
    margin-top: 10px;
}

.media-grid {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.media-item {
    text-align: center;
    position: relative;
    padding: 15px;
    margin: 15px 15px 0 0;
    background-color: white;
    border-radius: 3px;
    width: 230px;
    min-width: 230px;
    height: 220px;
    text-wrap: wrap !important;
}

    .media-item span {
        display: none;
    }

.media-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 5px solid #e9e9e9;
    overflow: hidden;
    transition: all 0.2s ease-in;
    border-radius: 3px;
}

    .media-view:hover,
    .media-view.hovered {
        cursor: pointer;
        border-color: rgba(2, 82, 94, 0.8);
    }

.media-item .media-image {
    margin-top: 15px;
    margin-bottom: 5px;
}

.media-image {
    border-radius: 4px;
    max-height: 90px;
}

    .media-image,
    .media-image img {
        max-width: 100%;
    }

        .media-image img {
            height: auto;
        }

.context-info .image img, .context-info .image a {
    display: block;
    border-radius: 4px;
}

.context-info .image img {
    width: auto;
    max-height: 90px;
}

.dataset-item {
    padding: 10px 0;
    margin-bottom: 0;
}

    .dataset-item:not(:first-child) {
        border-top: 2px dotted #e9e9e9;
    }

@media (max-width: 767px) {
    .dataset-item {
        word-wrap: break-word;
    }
}

/* ===========================
   Buttons
   =========================== */

.btn-link {
    color: #02525E;
    font-size: 14px;
    border-radius: 0;
    text-transform: uppercase;
}

    .btn-link:hover, .btn-link:focus, .btn-link:active {
        color: #00A58D;
    }

img {
    vertical-align: middle;
}

img {
    border: 0;
}


/* ===========================
   Code
   =========================== */

code {
    padding: 2px 4px;
    color: #02525E;
    background-color: #F5F5F5;
    border-radius: 0px;
}

.example-nolink {
    background: #F5F5F5;
    color: #02525E;
    font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
    padding: 12px;
    word-wrap: break-word;
    margin-bottom: 5px;
}

/* ===========================
   Pagination
   =========================== */

.pagination {
    margin: 15px 0;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 0px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.5;
            text-decoration: none;
            color: #02525E;
            background-color: #fff;
            border: 1px solid #ddd;
            margin-left: -1px;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 3;
        color: #fff;
        background-color: #02525E;
        border-color: #02525E;
        cursor: default;
    }

    .pagination > li > a:hover,
    .pagination > li > span:hover,
    .pagination > li > a:focus,
    .pagination > li > span:focus {
        z-index: 2;
        color: #003e3e;
        background-color: #e9e9e9;
        border-color: #ddd;
    }

/* ===========================
   Tooltip
   =========================== */
.simple-tooltip {
    position: relative;
    display: inline-block;
}

    .simple-tooltip .simple-tooltiptext {
        visibility: hidden;
        width: 220px;
        background-color: #F5F5F5;
        color: Black;
        font-size: 12px;
        text-align: left;
        padding: 5px;
        border-radius: 6px;
        border: 1px solid #dadfe2;
        position: absolute;
        z-index: 1;
        bottom: 100%;
        left: 50%;
        margin-left: -110px; /* Use half of the width (120/2 = 60), to center the tooltip */
    }
    /* Show the tooltip text when you mouse over the tooltip container */
    .simple-tooltip:hover .simple-tooltiptext {
        visibility: visible;
    }


/* ===========================
   Font Awesome
   =========================== */

/*!
 *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
 *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
 */
/* FONT PATH
 * -------------------------- */
@font-face {
    font-family: 'FontAwesome';
    src: url('../open-iconic/font/fontawesome-webfont.eot?v=4.7.0');
    src: url('./open-iconic/font/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('./open-iconic/font/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('./open-iconic/font/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('./open-iconic/font/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('./open-iconic/font/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
