@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  --brand-colour-yellow: #FF8F42; 
  --brand-colour-orange: #FF8F42;
  --brand-colour-yellow-medium-opacity: #ffcd0367;
  --brand-colour-yellow-low-opacity: #ffcd0344;
  --brand-colour-black: #020000;
  --brand-colour-pink: #EF5089;
  --brand-colour-blue: #009CD1;
  --brand-colour-blue-dark: #24226F;
  --brand-colour-green-medium: #099275;
  --brand-colour-blue-light: #DFE0F1;
  --brand-colour-blue-light-alpha-35: #c0e2f5cf;
  --brand-colour-green-light-alpha-35: #dfe0f1a9;
  --brand-accent: #734e36;
  --brand-accent2: #d7d9e3;
  --brand-colour-green: #00C49A;
  --brand-colour-rock-blue: #9BBCCE;
  --brand-colour-satin-linen: #E9E5DE;
  --text-dark-grey: #505050;
  --brand-font-family: 'Figtree', sans-serif;


  --breakpoint-xs: 360px;
  --breakpoint-s: 576px;
  --breakpoint-m: 768px;
  --breakpoint-l: 992px;
  --breakpoint-xl: 1200px;
}

html {
  height: 100vh;
  max-height: 100vh;
}
body[data-site-root] {
  font-family: var(--brand-font-family);
  font-weight: 300;
  background: white;
  background: url(/Background_svg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.flex-container {
  display: flex;
  flex-direction: row;
  gap: 2em;
  align-items: top;
  padding: 0;
  margin: 0;
}
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.centered {
  justify-content: center;
  align-items: center;
}

/* =====================================================
   The "account masthead" bar across the top of the site
   ===================================================== */

.account-masthead {
  background: #ffffff;
  padding-top: 0.3em;
}

/* The "bubble" containing the number of new notifications. */
.account-masthead .account .notifications a span {
  background-color: var(--text-dark-grey);
}

/*  The list elements of the account masthead */
.account-masthead .account ul li {
  display: block;
  float: left;
  border-left: none;
  margin-left: 0.5em;
}
nav.account.not-authed ul li a {
  border-radius: 4px;
  border: 2px double var(--brand-colour-green);
}
/* The text and icons in the user account info. */
.account-masthead .account ul li a {
  color: var(--brand-colour-blue-dark);
}
.masthead .logo img {
  height: 70px;
  max-height: 70px;
  width: 169.5px;
}

/* The user account info text and icons, when the user's pointer is hovering
   over them. */
.account-masthead .account ul li a:hover {
  background-color: var(--brand-colour-green);
  border-radius: 4px;
  color: white;
}

.account-masthead .account ul li a:hover>.badge {
  background-color: white;
  color: var(--brand-colour-green);
}


/* ========================================================================
  The main masthead bar that contains the site logo, nav links, and search
======================================================================== */
button.navbar-toggle {
  color: var(--brand-colour-green);
}
.masthead {
  background: #ffffff;
  box-shadow: 0px 4px 3px 1px rgb(11 10 10 / 27%);
  padding: 0px;
}

.masthead .navigation .nav-pills li a {
  color: var(--brand-colour-blue-dark);
  font-size: 1.2em;
  font-weight: 600;
}
/* The "navigation pills" in the masthead (the links to Datasets,
   Organizations, etc) when the user's pointer hovers over them. */
.masthead .navigation .nav-pills li a:hover {
  background-color: var(--brand-colour-green);
  color: white;
}

/* The "active" navigation pill (for example, when you're on the /dataset page
   the "Datasets" link is active). */
.masthead .navigation .nav-pills li.active a,
.masthead .navigation .nav-pills li a:focus {
  background-color: var(--brand-colour-green);
  color: white;
}
.masthead .navigation .nav-pills li.active:hover a,
.masthead .navigation .nav-pills li a:focus {
  background-color: var(--brand-colour-green-medium);
}

/* The "box shadow" effect that appears around the search box when it
   has the keyboard cursor's focus. */
.masthead input[type="text"]:focus {
  -webkit-box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
  box-shadow: inset 0px 0px 2px 0px rgba(0, 0, 0, 0.7);
}


/* ===========================================
  The content in the middle of the front page
=========================================== */

/* Remove the "box shadow" effect around various boxes on the page. */
.box {
  box-shadow: none;
}

/* Remove the borders around the "Welcome to CKAN" and "Search Your Data"
   boxes. */
.hero .box {
  border: none;
}
/* Remove some padding. This makes the bottom edges of the "Welcome to CKAN"
and "Search Your Data" boxes line up. */
.module-content:last-child {
  padding-bottom: 0px;
}
.module-heading {
  background-color: var(--brand-colour-blue-light);
}

.nav-item.active > a, .nav-aside li.active a {
  background: var(--brand-colour-green);
}
.nav-item.active > a, .nav-aside li.active a::before {
  background: var(--brand-colour-green);
}
.nav-item.active > a:before, .nav-aside li.active a:before {
  border-left-color: var(--brand-colour-green);
}
.homepage .row {
  margin-top: 1.5em;
}
.layout-container {
  padding: 0;
}
div.main {
  background: transparent;
}
div.main.hero {
  background: transparent;
}
.flex-column.hero-title {
  padding: 1em;
  border-radius: 5px;
}
.hero-title.outer-hero {
  position: relative;
  background: var(--brand-colour-green-light-alpha-35);
  border-radius: 5px;
  overflow: hidden;
}
.hero-title.inner-hero {
  background: rgba( 255, 255, 255, 0.15 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 2px );
  -webkit-backdrop-filter: blur( 2px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.hero-title.inner-hero h1,
.hero-title.inner-hero h3,
.hero-title.inner-hero p {
  text-align: center;
}
.hero-title.inner-hero h1 {
  font-size: 2.5em;
  color: var(--brand-colour-blue-dark);
}
.hero-title.inner-hero h3 b i {
  color: var(--brand-colour-green);
}
.hero-title.inner-hero p {
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 2em;
  margin-left: 0.8em;
  margin-right: 0.8em;
  font-size: 1.2em;
}
@media (min-width: 992px) {
  .hero-title.inner-hero h1 {
    font-size: 3em;
  }
  .hero-title.inner-hero p {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 2em;
    margin-left: 3.8em;
    margin-right: 3.8em;
    font-size: 1.6em;
  }
}
.hero-icon {
  position: absolute;
  max-width: 7em;
}
.hero-icon.explorer-icon {
  bottom: -3%;
  left: 0
}
.hero-icon.asset-icon {
  top: -3%;
  right: 0;
}
[role=main], .main { 
  padding-bottom: 0;
}
.main #content {
  padding-bottom: 1em;
}
section.module .module-content {
  padding: 1em;
}
@media (min-width: 992px) {
  .hero-icon {
    max-width: 14em
  }
}
@media (min-width: 992px) {
  .homepage [role=main] {
    padding-top: 0;
    padding-left: 20px;
    padding-right: 20px;
    /* padding-bottom: 20px; */
  }
}
.btn-primary {
  color: white;
  background-color: var(--brand-colour-blue);
  border-color: var(--brand-colour-blue-medium);
}
/* Change the background color of the "Popular Tags" box. */
.homepage .module-search .tags {
  background-color: var(--brand-colour-blue-light);
  color: var(--brand-colour-blue-dark);
}
.homepage .module-search h3 {
  text-align: center;
  color: var(--brand-colour-blue-dark);
}
.homepage .module-search {
  background: rgba( 255, 255, 255, 0.1 );
  box-shadow: 0 4px 10px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 5px );
  -webkit-backdrop-filter: blur( 5px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.homepage .module-search .fa-search:before {
  color: var(--brand-colour-orange);
}
.homepage .module-search .search-giant input {
  border-color: var(--brand-colour-green);
}
/* Change the colors of the "Search Your Data" box. */
.homepage .module-search .module-content {
  background: transparent;
  color: var(--text-dark-grey);
  padding-left: 1em;
  padding-right: 1em;
}

/* Statistics box */
.homepage .stats {
  background: rgba( 255, 255, 255, 0.1 );
  box-shadow: 0 5px 10px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 5px );
  -webkit-backdrop-filter: blur( 5px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.homepage .stats ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.homepage .stats h3 {
  text-align: center;
  color: var(--brand-colour-blue-dark);
}
.box.stats .inner a span {
  color: var(--brand-colour-orange);
}
/* Breadcrumbs */
.toolbar .breadcrumb a {
  color: var(--text-dark-grey);
}
.toolbar .breadcrumb a:hover {
  color: var(--brand-colour-blue-medium);
  text-decoration: none;
}
@media (max-width: 767px) {
  .toolbar .breadcrumb a {
      color: initial;
      text-shadow: none;
  }
}
.row.wrapper {
  background: rgba( 255, 255, 255, 0.5 );
  backdrop-filter: blur( 5px );
  -webkit-backdrop-filter: blur( 5px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.bottom-half {
  margin-bottom: 1.5rem;
}

/* ====================================
   The footer at the bottom of the site
==================================== */

.site-footer {
  background: rgba( 255, 255, 255, 0.1 );
  box-shadow: 0 3px 9px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 5px );
  -webkit-backdrop-filter: blur( 5px );
  border: 1px solid rgba( 255, 255, 255, 0.18 );
  /* background: transparent; */
  /* padding: 1em; */
}
/* The text in the footer. */
.site-footer,
.site-footer label,
.site-footer small, a {
  color: var(--text-dark-grey);
}

/* The link texts in the footer. */
.site-footer a {
  color: var(--text-dark-grey);
  font-weight: bold;
  background: transparent;
}
.attribution .ckan-footer-logo {
  background: url("/ckan_multi_logo_svg.svg");
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
/* ====================================
           Organization list
  ==================================== */
.main .primary {
  background-color: #ffffff;
}
article.module .module-content {
  padding: 1em;
}
#organization-search-form .fa-search {
  color: var(--brand-colour-orange);
}
#organization-search-form #field-giant-search {
  border: var(--brand-colour-green) 1px solid;
}
#organization-search-form button {
  border: var(--brand-colour-green) 1px solid;
  border-left: none;
}

.search-form .control-order-by label, .search-form .control-order-by select {
  color: var(--brand-colour-blue-dark);
}
.module h1 {
  color: var(--brand-colour-blue-dark);
}
.media-grid-org {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 1em;
  padding-left: 0px;
}
.organization-list .list-item-separator {
  height: 2px;
  background-color: var(--brand-colour-green);
  margin-top: .5em;
}
/* ====================================
           Organization item
  ==================================== */
  .media-item-org {
    padding: 0.5em;
  /* border: 1.5px solid var(--brand-colour-blue); */
  border-radius: 5px;
  background: #ffffffaa;
}
.media-item-org:hover {
  transform: scale(1.03, 1.03);
}
.org-card {
  display: flex;
  width: 100%;
  height: 100px;
}
.org-card:hover {
  text-decoration: none;
}
.org-card:focus {
  text-decoration: none;
}

.org-card-content {
  display: flex;
  height: 100%;
  width: 100%;
  gap: 1em;
  align-items: flex-start;
}
.org-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
}
.org-card-body h2 {
  color: var(--brand-colour-blue-dark);
}
.org-card-body .followers {
  text-align: right;
  margin-right: 0.5em;
}
.org-card-img {
  width: 100px;
  height: 100px;
  border-radius: 4px 4px 4px 4px;
  justify-self: center;
  align-self: center;
}
/* Org Description */
.media-description {
  word-break: keep-all;
}
@media (max-width: 992px) {
  .org-card-img {
    width: 100px;
    height: 100px;
    border-radius: 4px 4px 4px 4px;
  }
}
@media (max-width: 767px) {
  .media-item-org {
    padding: 0.5em;
    border-radius: 5px;
    height: fit-content;
  }
}
/* ====================================
           Dataset item
==================================== */
.dataset-item {
  background: rgba(255, 255, 255, 0.709);
  padding: 0.5em;
  border-bottom: 2px dotted var(--brand-colour-green);
}
.dataset-item ul {
  padding-bottom: 0.5em;
}
.dataset-private.label {
  background: var(--brand-colour-pink);
  color: white;
}
/* ====================================
Cropper
==================================== */
.cropper.in {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
img#cropper-select-image, 
img#cropper-output-image {
  display: block;
  max-width: 100%;
}
.modal-dialog {
  align-items: center;
}
.modal-header {
  text-align: center;
}

.cropper-view-box,
.cropper-face {
  border-radius: 4px 4px 4px 4px !important;
}

.cropper-img-preview-container {
  display: flex;
  justify-content: center;
}
#preview {
  overflow: hidden;
  border:  2px solid var(--brand-colour-green);
  border-radius: 4px;
}
#btn-select-image.hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  cursor: pointer;
}
#btn-select-image {
  cursor: pointer;
}
#zoom-buttons-container {
  display: flex;
  align-items: center;
  gap: 1em;
  justify-content: center;
  padding-top: 0.5em;
}
#form-img-preview-container {
  display: flex;
  gap: 0.5em;
  flex-direction: column;
}
#crop-edit-btn {
  width: max-content;
}