@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --bs-blue: #31b18f;
  --cowi-grass: #31b18f;
  --cowi-purple: #612141;
  --cowi-mint: #d5f0e9;
  --cowi-ocean: #1c2b54;
  --cowi-orange: #f04e23;
  --cowi-pink: #fce3e3;
  --cowi-sky: #d2eaf7;
  --cowi-snow: #fbfbfb;
  --cowi-whitesmoke: #f0f0f0;
  --cowi-gray: #cecece;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--cowi-mint);
  font-family: "Inter", sans-serif;
  color: black;
  font-size: 16px;
  line-height: 24px;
}

.toolbar .breadcrumb{
  display: flex;
    flex-wrap: nowrap;
    text-wrap: nowrap;
    overflow: auto;
    width: 100%;
}
.toolbar .breadcrumb li:not(:first-child)::before{
  float: none;
}

.rounded-8{
  border-radius: 8px;
}

.rounded-4{
  border-radius: 4px;
}

.manage-icon{
  padding:6px!important;
  font-size: 12px!important;
  border-radius: 4px;
  color: var(--cowi-purple);
}
.manage-icon:hover{
  background: var(--cowi-purple)!important;
  color: white;
}

.w-fit{
  width: fit-content;
}

.homepage{
  min-height: calc(100vh );
}
.fw-300{
  font-weight: 300;
}
.fw-400{
  font-weight: 400;
}
.fw-500{
  font-weight: 500;
}
.fw-600{
  font-weight: 600;
}

.fs-14{
  font-size: 14px;
  line-height: 16px;
}

.clearfix:after,.clearfix:before{
  content:"";
  clear:both;
}

@media( min-width:768px ){
  .w-md-25{
    width: 25%;
  }
  .w-md-30{
    width: 30%;
  }
  .w-md-35{
    width: 35%;
  }
  .w-md-40{
    width: 40%;
  }
}

.main {
  flex-grow: 1;
  background: transparent;
}

.main .secondary{
 padding-left: 0;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.module[role="main"]{
  padding-left: 0;
  padding-right: 0;
}

.wrapper{
  background-color: transparent!important;
  border: none!important; 
  border-radius: 0!important; 
  box-shadow: none!important
}
.wrapper:before{
  border:0;
  display: none;
}
.site-footer{
 background-color: white;
 color: black;
}

.site-footer a{
  color: black;
  transition: color .15s;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.15s;
  border-radius: 8px !important;
  padding:0;
  padding-bottom:5px
}
.site-footer a:hover{
  color: white;
}
.site-footer .social-links{
  font-size: 24px;
}

.cursor-pointer{
  cursor: pointer;
}

.text-no-wrap{
  text-wrap: nowrap;
}
.btn{
  border-radius:8px;;
  border:0;
  padding:8px 16px;
  font-size: 14px;
  line-height: 16px;
}
.dropdown-item.active, 
.dropdown-item:active{
  background:var(--cowi-mint);
  color:black
}
.left-0{
  left:0!important;
}
.left-auto{
  left:auto!important;
}
.right-0{
  right:0!important;
}
.right-auto{
  right:auto!important;
}

/*spacing*/

.mt-20{
  margin-top: 20px;
}
.mt-15{
  margin-top: 15px;
}
.mb-10{
  margin-bottom: 10px;
}
.pt-12{
  padding-top:12px
}
.pb-12{
  padding-bottom: 12px;
}


/*text, background, broder and btn colors */
.text-grass {
  color: var(--cowi-grass);
}
.bg-grass {
  background-color: var(--cowi-grass);
}
.border-grass {
  border-color: var(--cowi-grass);
}
.btn-grass {
  background-color: var(--cowi-grass);
  border-color: var(--cowi-grass);
  color: white;
}
.btn-grass:hover{
  color: white;
  /*background-color: var(--cowi-mint);*/
}

.text-purple {
  color: var(--cowi-purple);
}
.bg-purple {
  background-color: var(--cowi-purple);
}
.border-purple {
  border-color: var(--cowi-purple);
}
.btn-purple,
.page_primary_action> .btn-primary {
  background-color: var(--cowi-purple)!important;
  border-color: var(--cowi-purple)!important;
  color: white!important;
}
.btn-purple:hover,
.page_primary_action> .btn-primary:hover{
  color:white!important;
  background-color: #45152d!important;
}

.text-mint {
  color: var(--cowi-mint);
}
.bg-mint {
  background-color: var(--cowi-mint);
}
.border-mint {
  border-color: var(--cowi-mint);
}
.btn-mint {
  background-color: var(--cowi-mint);
  border-color: var(--cowi-mint);
}

.text-ocean {
  color: var(--cowi-ocean);
}
.bg-ocean {
  background-color: var(--cowi-ocean);
}
.border-ocean {
  border-color: var(--cowi-ocean);
}
.btn-ocean {
  background-color: var(--cowi-ocean);
  border-color: var(--cowi-ocean);
}

.text-orange {
  color: var(--cowi-orange);
}
.bg-orange {
  background-color: var(--cowi-orange);
}
.border-orange {
  border-color: var(--cowi-orange);
}
.btn-orange {
  background-color: var(--cowi-orange);
  border-color: var(--cowi-orange);
}

.text-orange {
  color: var(--cowi-orange);
}
.bg-orange {
  background-color: var(--cowi-orange);
}
.border-orange {
  border-color: var(--cowi-orange);
}
.btn-orange {
  background-color: var(--cowi-orange);
  border-color: var(--cowi-orange);
}

.btn-primary{
  background-color: var(--cowi-grass)!important;
  border-color: var(--cowi-grass)!important;
}

.btn-primary:hover {
  color: #fff;
  background-color: #259779 !important;
  border-color: #259779!important;
}

.bg-whitesmoke {
  
  background-color: var(--cowi-whitesmoke);
}
/*header*/
.masthead {
  background: white;
  padding: 0;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}
.masthead .navbar .logo .logo-img {
  max-height: none;
  margin-right: 32px;
}
.masthead .main-navbar ul li a {
  color: black;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.15s;
  border-radius: 8px!important;
  text-wrap: nowrap;
}
.masthead .main-navbar ul li:not(.active):hover a {
  background: var(--cowi-mint) !important;
}
.masthead .main-navbar ul li:focus a,
.masthead .main-navbar ul li.active a {
  background-color: var(--cowi-grass);
  color: white;
}
@media (min-width: 992px) {
  .masthead .site-search {

    width: 100%;
    min-width: 180px;
    margin-right: 32px;
  }
}
.masthead .site-search input {
  border: 0;
  border-radius: 28px;
  height: 48px;
  margin: 0 !important;
}

@media (min-width: 992px) {
 /* .masthead .profile-actions {
    margin-left: 60px;
  }*/
}
.user-dropdown-menu{
  margin:0;
  list-style: none;
}
.user-dropdown-menu li {
  margin: 0;
}
.user-dropdown-menu li a {
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: normal;
  padding-top: 8px;
  padding-bottom: 8px;
}
.user-dropdown-menu li:hover a {
  background-color: var(--cowi-mint);
}

.profile-actions .profile-link{
  padding:8px 1rem;
  display: block;
}

#user-dropdown-menu>img{
  width:32px
}
@media(min-width:1200px){
  #user-dropdown-menu>img{
    width:48px
  }
}
/*toolbar*/
.toolbar .home span{
  display: block;
 }
 .toolbar .home i{
   display: none!important;
  }
  .toolbar{
   margin-top: 8px;
   margin-bottom:28px;
   padding: 0;
  }
 .toolbar .breadcrumb{
   font-size: 16px;
   line-height: 24px;
   padding: 0;
   
 }

 .toolbar .breadcrumb li:first-child{
   padding-left: 0;
 }
  .toolbar .breadcrumb .active a{
   font-weight: 500;
 }

 .toolbar .breadcrumb a,
 .toolbar .breadcrumb .active{
  color:black
 }

/*HOME*/
/*hero*/
.cowi-hero {
  padding: 40px 0;
}
.cowi-hero .hero-content {
  max-width: 370px;
}
.cowi-hero h1 {
  font-size: 48px;
  line-height: 52px;
}
.cowi-hero h4 {
  font-size: 18px;
  line-height: 28px;
  font-weight: normal;
}
.cowi-hero .stat-card{
  background:white;
  border-radius:8px;
  padding: 10px 24px;
  font-size: 18px;
  line-height: 28px;
}
@media(min-width:768px){
  .cowi-hero .hero-stats .row{
    max-width: 500px;
  }
}
/* home tabs*/
.cowi-tab .nav-tabs{
  width: fit-content;
  background: white;
  border-radius: 8px;
  border:0
}

.cowi-tab .nav-tabs>li>button{
  border: 0;
  background-color: transparent;
  font-size:16px;
  line-height: 24px;
  color:black;
  padding:4px 24px
}
.cowi-tab .nav-tabs>li:not(:last-child){
  margin-right: 24px;
}

.cowi-tab .nav-tabs .nav-link.active{
  background-color: var(--cowi-grass);
  border-radius: 8px;
  color:white
}

@media(max-width:574.9px){
  .cowi-tab .nav-tabs{
    width: 100%;
  }
  .cowi-tab .nav-tabs>li{
    width: 100%;
    margin:0!important
  }
  .cowi-tab .nav-tabs>li>button{
    width: 100%;
    padding-top: 10px;
    padding-bottom:10px
  }
}
/*cards*/
.cowi-image-card{
  position:relative;
  z-index: 10;
  padding:24px 0;
  border: 0;
  background-color: transparent;
}
.cowi-image-card:before,
.cowi-image-card:after{
  content:"";
  display: block;
  height: 12px;
  background-color: var(--cowi-grass);
  position: absolute;

  width: 100%;
}

.cowi-image-card:before{
  top: 0;
}
.cowi-image-card:after{
  bottom:0
}

.cowi-image-card .card-title{
  font-size: 20px;
  line-height: 24px;
  font-weight: bold;
}

.cowi-image-card .card-body{
  padding-right: 40px;
}

.cowi-icon-card{
  border-radius: 8px;
}

.cowi-icon-card .card-title{
  font-size: 16px;
  line-height: 24px;
  color: black;
  font-weight: 500;
}

/*search page*/
.filters{
  padding:0;
  background: white;
  border-radius: 8px;;
}
.module-footer{
  padding:0!important;
  border: 0;
}
.main .primary{
  background: transparent;
  padding:0;
}
/*module*/
.module-heading{
  background-color: transparent;
  border:0;
  cursor: pointer;
  padding: 12px 0!important;
  line-height: 24px;
}
.module-heading.facet-item-title{
  padding: 12px 28px!important;
}
.module-heading[aria-expanded="true"]>i:before{
  content: "\f077"!important;
}
.module-content{
  background: white;
  border-radius: 8px;
}
.module-content.empty{
  padding: 0 28px!important
}

.module-content.inside-padding>*{
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}
.cowi-module-title{
  font-size:16px;
  line-height: 24px;
  font-weight: bolder;
}
.cowi-module-body{
  background-color: white;
  border-radius: 8px;
  padding:12px 24px
}

.nav-facet{
  padding:0
}
.nav-facet li.nav-item{
  padding:0;
  border: 0;
  margin-bottom: 1px;
}
.nav-facet li.nav-item a{
  padding:12px 16px 12px 28px!important;
  margin:0;
  transition: all .25s;
  border-radius: 8px;
}
.nav-facet li.nav-item a:hover{
  background-color: var(--cowi-whitesmoke)
}
.nav-facet li.nav-item.active a{
  background-color: var(--cowi-purple)!important
}

.nav-facet-wrapper .read-more{
  padding:0px 28px;
  font-size:12px;
  display: block;
  font-weight: normal;
} 

.module-narrow .nav-item.active > a:before, 
.module-narrow .nav-aside li.active a:before{
  display: none;
}

.w-80-px {
  width: 80px;
}
/*facet checkbox*/
.checkbox .label:after {
  content: '';
  display: table;
  clear: both;
}
.checkbox .cr {
  position: relative;
  display: inline-block;
  border-radius: .25em;
  width: 20px;
  height: 20px;
  margin-right: .5em;
  background-color: var(--cowi-whitesmoke);
  transition: all 0.2s;
}
.checkbox .label{
  font-weight: normal;
}
.checkbox .cr .icon {
  position: absolute;
  font-size: .8em;
  top: 50%;
  margin-top: -5px;
  left: 50%;
  margin-left: -5px;
}
.checkbox .label input[type="checkbox"] {
  display: none;
}
.checkbox .label input[type="checkbox"]+.cr>.icon {
  opacity: 0;
}
.checkbox .label input[type="checkbox"]:checked+.cr{
  background-color: var(--cowi-grass);
}
.checkbox .label input[type="checkbox"]:checked+.cr>.icon {
  opacity: 1;
}
.checkbox .label input[type="checkbox"]:disabled+.cr {
  opacity: .5;
}

.nav-facet li.nav-item a:hover .cr{
  background-color: white;
}



.search-form {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cowi-mint);
  margin-bottom: 0;
}
.search-form .filter-list{
  margin-top: 0;
}
p.filter-list>.facet {
  display: none;
}

.search-form .filter-list .pill{
  background: var(--cowi-whitesmoke);
  font-size: 14px;
  line-height: 16px;
  color: black;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 8px;
  margin-bottom: 8px;
}
.search-form .filter-list .pill i{
  color: var(--cowi-purple);
  font-size: 14px;
  margin-left: 4px;
}

/*select dropwdown*/
.cowi-select-dropdown ul{
  border-radius: 8px;
}
.cowi-select-dropdown ul>li{
  margin-bottom: 1px;
}
.cowi-select-dropdown ul>li>.dropdown-item{
  border-radius: 8px;
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
}
.cowi-select-dropdown ul>li>.dropdown-item:hover,
.cowi-select-dropdown ul>li>.dropdown-item.selected{
  background-color: var(--cowi-grass);
  color: white;
  
}
/*data set results*/
.module-content.inside-padding>.dataset-list{
  padding:0!important
}
.dataset-list>.dataset-item{
  padding: 24px;
  margin:0;
  transition: all .15s;
}
.dataset-list>.dataset-item:hover{
  background-color: rgb(213,240,233,.25);
}

.module-content.inside-padding>.dataset-list>.dataset-item:last-child{
  margin-bottom:-24px
}
.module-content.inside-padding>.dataset-list>.dataset-item:not(:last-child){
  border-bottom: 1px solid var(--cowi-mint);
}

.dataset-list>.dataset-item .dataset-resources{
  display: none;
}

.dataset-item .dataset-private{
  display: none;
}
.dataset-heading{
  font-size: 18px;
  line-height: 28px;
  font-weight: bold;
}

/*pagination*/
.pagination{
  justify-content: end!important;
}

.pagination .page-item .page-link{
  color:black;
  border:0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}

.pagination .page-item.active .page-link{
  color:white;
  background-color: var(--cowi-grass);
}

.pagination .page-item:first-child .page-link{
  border-top-left-radius:8px;
  border-bottom-left-radius:8px
}

.pagination .page-item:last-child .page-link{
  border-top-right-radius:8px;
  border-bottom-right-radius:8px
}

/* DATASET PAGE */
.cowi-dataset-header .subject-icon{
  max-width: 32px;
}

.cowi-dataset-header .data-type{
  font-size:16px;
  line-height: 24px;
  text-transform: capitalize;
}
.cowi-dataset-header h1{
  font-size: 32px;
  line-height: 36px;
}


.info-list-item>*{
  transition: all .15s;
}
.info-list-item>*:hover{
  background-color: rgb(213 240 233 / 34%);
}
.info-list-item>*:not(:last-child){
  border-bottom:1px solid var(--cowi-mint)
}

.info-related>a{
  padding:12px 24px;
  display: block;
  color: black;
  text-decoration: none;
  transition: all .15s;
}
.info-related>a:hover{
  background-color: rgb(213 240 233 / 34%);
  text-decoration: underline;
}
.info-related>a{
  border-top:1px solid var(--cowi-mint)
}
.info-related>br{
  display: none;
}

div.follow_button a.btn.btn-success {
  padding-left: 10px;
  padding-right: 10px;
  color: #000;
  background-color: #fbfbfb;
  border-color: #fbfbfb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

div.follow_button a.btn.btn-danger {
  padding-left: 10px;
  padding-right: 10px;
  color: #000;
  background-color: #fbfbfb;
  border-color: #fbfbfb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.dataset-followers-container {
  display: flex;
  height: 40px;
  align-items: center;
}

.follower-count-dl {
  margin-bottom: 0;
  margin-right: 10px;
}

.follower-count {
  margin-bottom: 0;
}

.access-data-button {
  float: right;
}

.like-heart {
  color: #f04e23;
}

.geo-manage-button {
  color: white !important;
  font-weight: bold !important;
  line-height: 10px !important;
  font-size: 14px !important;
  padding: 8px 10px !important;
  margin-left: 8px !important;
}

.subj-manage-button, .org-manage-button {
  position: relative !important;
  z-index: 999 !important;
  margin-top: 6px !important;
}

.cowi-help-cursor{
  cursor: help;
}

.cowi-dataset-fields [field-name]{
  position: relative;
}

.cowi-dataset-fields [field-name="url"] .form-label{
  padding-bottom: 40px;
}

.cowi-dataset-fields [field-name="url"] .cowi-dataset-tip{
  position: absolute;
  top: 20px;
}

.cowi-dataset-fields [field-name="url"] .resource-upload-field .btn-remove-url{
  bottom:10px;
  top:auto
}
