﻿@font-face {
    font-family: 'BC Sans';
    src: url('../webfonts/BC-Sans/BCSans-Regular.woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BC Sans';
    src: url('../webfonts/BC-Sans/BCSans-Bold.woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'BC Sans';
    src: url('../webfonts/BC-Sans/BCSans-Italic.woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'BC Sans';
    src: url('../webfonts/BC-Sans/BCSans-BoldItalic.woff');
    font-weight: bold;
    font-style: italic;
}
body {
    font-family: 'BC Sans', Arial, 'sans serif';
    background-color: #f1f1f1;
    color: #313132;
    font-size: 16px;
    line-height: 1.5em;
    margin-bottom: 130px;
}
h1, h2, h3, h4, h5 {
    color: #313132;
    font-weight: 600;
    line-height: 1.2em;
    margin-bottom: 0.5em;
}
h1 {
    font-size: 2.074em;
    margin-top: 0;
}
/* 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 {
    color: #1a5a96;
}

.small, small {
    line-height: normal;
}

.btn-primary {
    background-color: #39598C;
    line-height: 25px;
    border-color: #39598C;
}
    .btn-primary:hover {
        color: #fff;
        background-color: #39598C;
        border-color: #39598C;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #39598C;
        border-color: #39598C;
        box-shadow: none;
    }
.btn-secondary {
    background-color: #fcba19;
    border-color: #fcba19;
    color: #fff;
    font-weight: bold;
}
    .btn-secondary:hover {
        color: #fff;
        background-color: #FCC800;
        border-color: #FCC800;
    }
    .btn-check:focus + .btn-secondary, .btn-secondary:focus {
        color: #fff;
        background-color: #FCC800;
        border-color: #FCC800;
        box-shadow: none;
    }
.btn-link {
    color: #1a5a96;
}
.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
}
.secondary-nav {
    background-color: #355992;
}
.navbar {
    background-color: #003366;
    border-bottom: 2px solid #fcba19;
    -webkit-box-shadow: 0px 5px 10px 0px rgb(169, 169, 169);
    -moz-box-shadow: 0px 5px 10px 0px rgba(169,169,169,1);
    box-shadow: 0px 5px 10px 0px rgb(169, 169, 169);
}
.navbar-nav i, .navbar-nav svg {
    color: #355992;
}
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}
.navbar-brand {
    font-size:1.5rem;
}
.dropdown-item:focus, .dropdown-item:hover, .dropdown-item.active, .dropdown-item:active {
    background-color: #f1f1f1;
    color: #1e2125;
}
.navbar > .container:before{
    display:none;
}
.navbar-dark .navbar-toggler {
    margin-left: auto;
}
.navbar-dark .navbar-brand {
    font-size: 1.3em;
}

/* Accordions
-------------------------------------------------- */
.accordion-button:not(.collapsed) {
    color: #313132;
    background-color: #f1f1f1;
}
.accordion-filter .accordion-button {
    padding: .5rem 1rem;
    font-size: .9rem;
}
.accordion-button:focus {
    box-shadow: none;
}
    .accordion-filter .accordion-button::after {
        width: 1rem;
        height: 1rem;
        background-size: 1rem;
    }
.accordion-filter .accordion-body {
    max-height:200px;
    overflow-y:auto;
}
.accordion-filter label {
    font-weight: normal;
    font-size: .9rem;
}
.accordion-filter ::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.accordion-filter ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.accordion-filter ::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    .accordion-filter ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

.accordion-header h5 {
    font-size: 1.05rem;
}
.profile-entry-list .accordion-item {
    margin-bottom: 1rem;
}
.profile-entry-list .accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 20px;
}
.profile-entry-list .accordion-button {
    width: auto;
}

    .profile-entry-list .accordion-button:not(.collapsed) {
        background-color: #fff;
    }
    .profile-entry-list .accordion-button:not(.collapsed) {
        box-shadow: none;
    }
.profile-entry-list .accordion-item:not(:first-of-type) {
    border-top: 1px solid rgba(0,0,0,.125);
}
.profile-entry-list .accordion-item:first-of-type {
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
}
.profile-entry-list .accordion-item:last-of-type {
    border-bottom-right-radius: 0rem;
    border-bottom-left-radius: 0rem;
}
/* Cards
-------------------------------------------------- */
.card {
    border: none;
    border-radius: 0px;
    background-color: #f1f1f2;
}
.card-header, .card-header:first-child {
    background-color: #385a8a;
    border-bottom: none;
    border-radius: 0px;
    padding: 8px 15px 10px 15px;
    border: 1px solid #385a8a;
}
.card-body {
    border: 1px solid #f1f1f2;
}
#builder .card-header, .formio-dialog .card-header{
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border: none;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* Forms
-------------------------------------------------- */

label {
    font-weight:bold;
}
.form-control {
    border-radius:0px;
}
.form-group.has-search{
    position:relative;
    margin-bottom:0;
}
.has-search .form-control {
    padding-right: 2.375rem;
    text-overflow:ellipsis;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    right:15px;
}
.form-group.has-search-left {
    position: relative;
    margin-bottom: 0;
}
.has-search-left .form-control {
    padding-left: 2.375rem;
    text-overflow: ellipsis;
}

.has-search-left .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
    left: 0;
    top:0;
}
.form-group {
    margin-bottom:1rem;
}
.input-group-text {
    border-radius: 0;
    height: 100%;
}
#formio .formio-component-submit .btn-primary{
    margin: 2rem 0;
}
.choices__item.choices__item--selectable {
    overflow: initial !important;
}
.form-select-sm {
    border-radius:0px;
}
.form-check-input:checked {
    background-color: #003366;
    border-color: #003366;
}
select {
    border: 1px solid #ced4da;
}

/* Tables
-------------------------------------------------- */
table.dataTable {
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}
thead {
    background-color: #003366;
    color: #ffffff;
}
table.dataTable th {
    padding-top: .8rem;
    padding-bottom: .8rem;
    border-bottom: 3px solid #fcba19;
}
.page-item.active .page-link {
    background-color: #39598C;
    border-color: #39598C;
}
#datasetList_wrapper .row:first-child {
    align-items: center;
}
#datasetList td {
    padding: 0px;
    padding-bottom: 1rem;
    border-bottom: none;
}
#datasetList .title {
    display: flex;
    width: 100%;
    background-color: #003366;
    color: #fcba19;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-decoration:none;
}
    #datasetList .title:hover {
        background-color: #355992;
        color: #fcba19;
    }
.datasetList-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}
.table-plain thead {
    background-color: #ffffff;
    color: #003366;
}

.dataTables_wrapper .row:first-child {
    align-items: center;
}
.table.table-plain > tbody > tr > td {
    border: 1px solid #eee;
    border-left: 0;
    border-right: 0;
}
div.dataTables_wrapper div.dataTables_length label {
    margin-bottom:0px;
}

.heading {
    display: flex;
    width: 100%;
    background-color: #003366;
    color: #fcba19;
    font-weight: bold;
    padding: 0.5rem 1rem;
    text-decoration: none;
}


.formio-form > div > nav > ul.pagination {
display:flex;
}

.help-text {
    padding:2px 6px;
}
.tooltip {
    border-radius:5px;
}
    .tooltip.show {
        opacity: 1;
    }
.tooltip-inner {
    background-color: #333;
}
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #333;
}
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {
    bottom: 1px;
}


#toTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: rgba(0,0,0,.3);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

    #toTopBtn:hover {
        background-color: rgba(0,0,0,.8);
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 2px solid #fcba19;
    background-color: #003366;
}
.footer.footer-builder {
    position: relative;

}
.footer-nav li .nav-link {
    padding: 2px 10px;
    line-height: initial;
}
.footer-nav li + li {
    border-left: 1px solid #4b5e73;
}


/* Media Queries
-------------------------------------------------- */

@media screen and (max-width: 992px) {
    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: center;
    }

    .dataTables_length, .dataTables_info {
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 767px) {
    body {
        margin-bottom: 255px;
    }
}
.btn-wizard-nav-submit{
    display:none !important;

}
