@import url("/sites/default/files/api/portail_d4c/css/style.css");
@import url("/sites/default/files/api/portail_d4c/css/font-awesome.min.css");
html, body {
	font-size: 16px !important;
    line-height: 1.5 !important;
}
.logo navbar-btn pull-left{
  padding-left: 50px;
}

a#btn-edit-data {
    /* margin-right: 3rem; */
}
a#btn-configure-dataset {
    /* margin-right: 3rem; */
}
a#btn-edit-data > img {
    /* height: 42px !important; */
}
a#btn-configure-dataset > img {
    /* height: 42px !important; */
}

#block-bootstrap-anfr-main-menu li a[href="/accueil"] {
	font-size: 0px !important;
	display: flex;
	align-items: center;
}
#block-bootstrap-anfr-main-menu li a[href="/accueil"]::before {
	content: "\f015";
	font-family: "FontAwesome";
	font-size: 24px;
	line-height: 55px;
}
.dropdown-menu a {
    color: #282828 !important;
}
a.dropdown-toggle:active {
    background-color: #b81f82 !important;
}
.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav>.open>a:focus {
    background-color: #c1309a !important;
}
#block-bootstrap-anfr-main-menu li a[href="/api"]::before { 
	content: '\f0ad'; 
	font-family: 'FontAwesome';
	background-position: center;
	background-size: contain; 
	margin-right: 5px;
}
#block-bootstrap-anfr-account-menu li a[href="/user"]::before { 
	content: '\f09c'; 
	font-family: 'FontAwesome';
	background-position: center;
	background-size: contain; 
	margin-right: 5px;
}
#block-bootstrap-anfr-account-menu li a[href*="/user/logout"]::before {
	content: '\f08b'; 
	font-family: 'FontAwesome';
	background-position: center;
	background-size: contain; 
	margin-right: 5px;
}
#block-bootstrap-anfr-account-menu li a[href*="/user/login"]::before {
	content: '\f090'; 
	font-family: 'FontAwesome';
	background-position: center;
	background-size: contain; 
	margin-right: 5px;
}
#quicktabs-container-quick{
   border: solid 1px #282828;
    padding: 20px;
}
ul.quicktabs-tabs{
  margin-bottom:0;
}
.ui-accordion .ui-accordion-header {
    display: block;
    cursor: pointer;
    position: relative;
      margin: 20px 0 0 0;
    padding: .9em .5em .5em .7em;
    font-size: 100%;
    border: solid 1px #282828;
    padding: 20px;
}
ui-widget{
      border: solid 1px #282828;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 1em;
    padding: 20px;
}
#backgroud_center{
      background-color: #f5f5f5;
    background-image: url(/sites/default/files/databandeau.jpg);
  
}

.d4c-notification-handler__notification {
    top: 100px;
}
.page-header {
    color: #007ABC;
    margin: auto;
    width: 100%;
    margin-top: 40px;
    font-family: "Open Sans",serif;
    text-align: center;
    font-size: 30px;
    padding-top: 20px;
}
.navbar-header {
    width: 100%;
    height: 200px;
    background-image: url(/sites/default/files/dataheader2.jpg);
    background-position: center top;
  	position: relative;
    margin-left: 0px!important;
}

.navbar-default .navbar-brand {
    visibility: hidden;
}

@media screen and (min-width: 768px)
.navbar .logo {
    margin-top: 30px;
    margin-left: 2%;
}
.navbar .logo {
    margin-top: 30px;
    margin-left: 10%;
}
.navbar-nav.navbar-right {
    position: absolute;
    right: 0;
    margin: 5px;
    transform: none;
    width: auto;
}
.navbar-nav {
    margin-left: 5%!important;
    width: 95%;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: white!important;
}
.navbar-default .navbar-toggle {
    border-color: #fff;
}
/*
li.menu-icon.menu-icon-16 {
    text-indent: -9999px;
}*/

.navbar-nav li.active {
  background-color: #137abc;
}
.navbar-default #navbar-collapse li a {
    color: white;
    font-size: 18px;
    line-height: 55px;
    min-width: 65px;
    padding: 0px 25px 0px 25px;
    font-weight: 500;
    font-family: 'Roboto', "Open Sans", Helvetica, arial, sans-serif;
    position: relative;
}

ul.menu.nav.navbar-nav a.active {
    background-color: #007ABC;
}
/*.navbar-default #navbar-collapse li a {
      background-color: #007ABC;
}*/

@media screen and (max-width: 768px){
  .navbar-toggle {
      background-color: #c8378d!important;
      margin: 0!important;
      position: absolute!important;
      bottom: 0!important;
      right: 0!important;
      padding: 13px 15px!important;
  }
  .navbar-nav.navbar-right {
    	margin: 0;
    	position: relative;
  }
  .navbar-nav {
      margin: 0;
  }
  .navbar-collapse {
        margin: 0;
    	padding: 0;
  }
  .navbar-nav {
    margin-left: 0%!important;
    width: 100%!important;
  }
  #main.widget-opendata .dataset {
     width: 100%!important; 
  }
  .data-desc{
      display: none; 
  }
  html, body {
    font-size: 12px!important;
  }
  #globalMapPanel {
    right: 80px!important;
  }
  #rightPanel {
    width: 80px!important;
  }
}

.navbar-default .navbar-right li a[href="/user/logout"]:before{ content: '\f08b'; background-position: center;background-size: contain; margin-right: 5px;font-family: 'FontAwesome';}
.navbar-default #navbar-collapse li a[href="/user/login"]:before{ content: '\f090'; background-position: center;background-size: contain; margin-right: 5px;font-family: 'FontAwesome';}
.navbar-default #navbar-collapse li a[href="/node/5"]:before{ content: '\f0ad'; background-position: center;background-size: contain; margin-right: 5px;font-family: 'FontAwesome';}
.navbar-default #navbar-collapse li a[href="/user"]:before{ content: '\f09c'; background-position: center;background-size: contain; margin-right: 5px;font-family: 'FontAwesome';}

ul.menu.menu--account.nav.navbar-nav.navbar-right a[href="/signup/login"] {
    display: none;
    visibility: hidden;
}

#main.widget-opendata #datasets
{
	display: flex;
	flex-direction: row;
    flex-wrap: wrap;
}
	
#main.widget-opendata #datasets h2
{
	color: #007ABC;
	margin-top: 5px;
	cursor: pointer;
	font-size : 24px;
}
#main.widget-opendata #datasets p
{
	font-size : 15px;
}	
#main.widget-opendata .dataset
{
	margin-bottom: 1%;
	padding-left: 10px;
	height: auto;
	display: inline-block;
	/*max-height: 250px;*/
	/*overflow : hidden;*/
	/*transition: border 1s ease;*/
	border-radius: 3px;
	border : 1px solid black;
    width: 49%;
	margin-left : 1%;
}

#main.widget-opendata .dataset:hover {
	border-left : 3px solid #007ABC;
	padding-left: 8px;
}
#main.widget-opendata .dataset > .box_1 {
 margin-top: 5px;
}
#main.widget-opendata .dataset > .box_2 {
 display: flex;
 gap: 4px 16px;
 flex-wrap: wrap;
 margin-bottom: 10px;
 margin-top: 5px;
}
#main.widget-opendata .dataset > .box_2 > p {
 margin: 0;
 font-size: 13px !important;
}
#main.widget-opendata .dataset > .box_2 > p > a {
 color: black;
}
#main.widget-opendata .dataset a {
 text-decoration: none;
}
#main.widget-opendata .dataset .dataset-h2 {
    color: #007ABC;
    cursor: pointer;
    font-size: 24px;
}
div[role="main"] .row {
    margin-left: 0!important;
    margin-right: 0!important;
}
div[role="main"] #main.widget-opendata, main.main--dataset .d4c-app-explore-dataset, #block-citizena-themes-quicktabsapi {
    margin: 20px auto 0;
    padding: 0 !important;
    position: relative;
}
#main.widget-opendata #filter {
  padding-right: 0 !important;
}
#main .form-group {
  padding-right: 0 !important;
}
#main.widget-opendata form#search-form {
  padding: 0;
  margin: 0;
}
#main.widget-opendata > #filter > .ng-scope.d4c-portail-map .col-md-12 > .d4c-box {
 margin: 0px 0px !important;
 width: 100%;
}
#main.widget-opendata #filter h3:nth-child(21) {
 display: none;
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    overflow: hidden;
}
.card-container > .card {
	font-size: 9px;
	line-height: 10px !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	background: unset;
}
.card-container > .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    text-decoration: none;
    background: unset;
    color: black !important;
    border: unset;
    margin: 0 !important;
}
.card-container > .card.blanc {
	background-color: white !important;
}
.card-container > .card.gris {
	background-color: lightgray !important;
}
.card-container > .card > .card-img {
    max-width: 100%;
    height: auto;
    width: 35%;
    margin-bottom: 0.5rem;
}
.card-container > .card > .card-lbl {
    width: 85%;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}
.card-container > .card:hover {
    background-color: gray !important;
}
.card-container > .card {
	width: 106.25px;
	height: 106.25px;
}
.quicktabs-main {
    border: solid 1px #282828;
    padding: 20px;
}

li a.quicktabs-loaded {
    display: inline-block;
    margin-left: 1rem;
}

#main.widget-opendata #datasets {
	gap: 1em;
}
#main.widget-opendata .dataset {
	padding: 1rem !important;
	margin: 0 !important;
}
#main.widget-opendata .dataset .box_2,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4c-filters__filters {
	display: none;
}
#main.widget-opendata #filter h1 {
	order: -1;
	margin-bottom: 0 !important;
}
#main.widget-opendata #filter h1,
#main.widget-opendata #filter h2,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4c-filters__count,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4c-filters__filters,
main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters .d4c-filters__filters-summary {
	background: #007ABC !important;
	color: #fff;
	padding: 5px;
	border-radius: 3px;
	margin: 0;
}
main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters .d4cwidget-filter-summary__active-filter-label {
	background: #007ABC !important;
	color: #fff;
}
main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters .d4c-filters__filters-summary {
	margin-bottom: .5em;
}
main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters .d4c-filters__no-filters {
	display: none;
}
#main.widget-opendata .dataset {
	-webkit-transition:  border .3s ease-in-out;
	-moz-transition:  border .3s ease-in-out;
	-o-transition:  border .3s ease-in-out;
	-ms-transition: border .3s ease-in-out;
	transition: border .3s ease-in-out;
}
#main.widget-opendata .dataset a {
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	gap: 0em;
}
#main.widget-opendata .dataset:hover {
	border-left: 5px solid #007ABC;
} 
#main.widget-opendata .dataset .portail-theme {
	display: none;
}
#main.widget-opendata .dataset .box_4,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4cwidget-facet {
	margin: 0 !important;
}
#main.widget-opendata .dataset .inner {
	padding: 0 !important;
}
.dataset-h2,
#main.widget-opendata #filter h3,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4cwidget-facet__facet-title,
.h5.text-uppercase,
.d4c-collapsible__above-fold .d4c-dataset-visualization__toggle-schema,
.block-title {
	color: #007ABC !important;
	text-transform: none;
	word-break: normal;
}
#main.widget-opendata .dataset .data-desc {
	margin-top: .5em;
	margin-bottom: 1.5em;
	color: grey;
}
#main.widget-opendata .dataset .infos > ul:nth-child(-n + 2) {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0px;
	font-size: .85rem;
	color: #333333;
}
#main.widget-opendata .dataset .infos > ul:nth-child(-n + 2) .titre {
	font-weight: 700;
}
#main.widget-opendata ul.jetons,
.card-body .card-text {
	margin-top: .5em !important;
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 3px !important;
}
#main.widget-opendata ul.jetons > li,
.card-body .card-text .badge {
	background-color: #cc3399;
	color: white;
	border: solid 1px #cc3399;
	margin: 0 !important;
	padding: 3px 7px;
	border-radius: 10px;
	vertical-align: middle;
	line-height: 1;
	font-size: .75rem !important;
	font-weight: bold;
}
#main.widget-opendata #filter h3,
main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4cwidget-facet__facet-title {
	font-size: 1rem !important;
}
main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters {
	margin-bottom: 1em;
}
main.main--dataset .d4c-app-explore-dataset .d4cwidget-text-search {
	/* margin-top: 0 !important; */
	/* margin-bottom: .5em; */
}
#main.widget-opendata #filter,
main.main--dataset .d4c-app-explore-dataset #d4c-filters {
	gap: .5em;
	display: flex !important;
	flex-direction: column;
}
#main.widget-opendata #filter .d4c-portail-map,
#main.widget-opendata #filter .form-group,
#main.widget-opendata #filter h2,
#main.widget-opendata #filter h3,
#main.widget-opendata #filter #search-form {
	margin: 0 !important;
}
#main.widget-opendata #filter .d4c-portail-map .col-md-12,
main.main--dataset .d4c-app-explore-dataset {
	padding: 0 !important;
}
main.main--dataset {
	margin: 0 !important;
}
main.main--dataset .d4c-dataset-visualization__header {
	margin-bottom: 1em;
}
main.main--dataset .d4c-app-explore-dataset .d4c-dataset-visualization__dataset-title {
	margin: 0;
}
main.main--dataset .d4c-app-explore-dataset .d4c-dataset-visualization__dataset-title .d4cwidget-social-buttons,
main.main--dataset .d4c-app-explore-dataset .d4c-dataset-visualization__dataset-title .d4c-button,
main.main--dataset .d4c-app-explore-dataset .d4c-dataset-visualization__dataset-title .box_3 > div {
	display: none !important;
}
.d4c-tabs__tabs, 
.quicktabs-tabs {
	/* margin: 0 1rem; */
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 1rem;
	z-index: 9;
	display: block;
	position: relative;
	display: flex;
	-ms-overflow-style: none;
	overflow: -moz-scrollbars-none;
	scrollbar-width: none;
	margin: 0;
}
.d4c-tabs__tabs::-webkit-scrollbar, 
.quicktabs-tabs::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}


.fav-btn:hover {
    transform: scale(1.2);
}
.fav-btn {
    position: absolute;
    top: 0;
    right: 0;
    margin: 25px;
}
span.dataset-private {
    max-width: 100px;
    background: #337bbe;
    width: 89px;
    border-radius: 40px;
    margin-top: 6px;
    padding: 3px 14px;
    color: white;
    text-align: center;
}
span.dataset-private.label-inverse .fa {
    padding: 0px 5px 0px 0px;
}



.d4c-tabs__tab.d4c-tabs__tab--horizontal,
.d4c-tabs__tab.d4c-tabs__tab--simple-nav, 
.quicktabs-tabs > li {
	margin: 0 !important;
	display: flex;
	align-items: center;
	gap: .5em;
	padding: .5em 1em !important;
	color: grey;
	background-color: #e9eef2 !important;
	border-width: 1px;
	border-style: solid;
	border-color: #D8DDE1 #D8DDE1 #282828 #D8DDE1 !important;
	width: fit-content !important;
	word-break: keep-all;
}
.d4c-tabs__tab.d4c-tabs__tab--active, 
.quicktabs-tabs > li.active {
	background-color: #fff !important;
	color: #333;
	border-color: #282828 #282828 transparent #282828 !important;
}
.d4c-tabs__tab:hover, 
.quicktabs-tabs > li:hover {
	background-color: grey !important;
	color: #333;
}
.quicktabs-tabs > li > a {
	text-decoration: none;
	color: grey;
}
.quicktabs-tabs > li.active a, .quicktabs-tabs > li:hover a {
	color: #333;
}
.d4c-tabs__pane.d4c-tabs__pane--horizontal,
.d4c-embed-control .d4c-tabs__tabs + div,
.quicktabs-main.form-group {
	position: relative;
	margin-top: -1px;
	border: 1px solid #282828;
	padding: 20px;
	background: white;
}
.d4c-collapsible__fold .card .h5.text-uppercase,
.d4c-collapsible__fold br {
	display: none;
}
.d4c-collapsible__fold .card .card-text {
	margin: 0 !important;
}
.d4c-collapsible__fold .card div[class*="col-"] {
	padding: 0;
}
.d4c-collapsible__fold {
	display: flex;
	flex-direction: column;
	gap: 1em;
}


@media screen and (max-width: 768px) {
	h1, .h1 {
		font-size: 2rem !important;
		line-height: 2.5rem !important;
	}
	h2, .h2, #main.widget-opendata #filter h1,
	.block-title {
		font-size: 1.75rem !important;
		line-height: 2.25rem !important;
	}
	h3, .h3 {
		font-size: 1.5rem !important;
		line-height: 2rem !important;
	}
	h4, .h4, .dataset-h2 {
		font-size: 1.375rem !important;
		line-height: 1.75rem !important;
	}
	h5, .h5, #main.widget-opendata #filter h2,
	main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4c-filters__count,
	main.main--dataset .d4c-app-explore-dataset #d4c-filters .d4c-filters__filters,
	main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters .d4c-filters__filters-summary,
	.d4c-collapsible__above-fold .d4c-dataset-visualization__toggle-schema {
		font-size: 1.25rem !important;
		line-height: 1.75rem !important;
	}
	h6, .h6, .d4c-collapsible__fold .d4c-dataset-visualization__toggle-schema {
		font-size: 1.125rem !important;
		line-height: 1.5rem !important;
	}
	div[role="main"]  {
	    max-width: 100%;
	    margin: 0 !important;
	    float: unset !important;
	}
	#main.widget-opendata #filter + div {
		padding: 0;
	}
}
@media screen and (min-width: 768px) {
	#main.widget-opendata #filter,
	main.main--dataset .d4c-app-explore-dataset .d4c-search-filters,
	main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters,
	main.main--dataset .d4c-app-explore-dataset .d4c-filters {
		width: 17em;
		margin: 0;
		padding-left: 0;
	}
	#main.widget-opendata .col-md-10,
	main.main--dataset .d4c-app-explore-dataset .d4c-dataset-visualization:not(.d4c-dataset-visualization--full-width) {
	    width: calc(100% - 17em);
	    padding-left: 3em;
	    padding-right: 0 !important;
	}	
	main.main--dataset .d4c-app-explore-dataset .d4c-search-filters,
	main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters,
	main.main--dataset .d4c-app-explore-dataset .d4c-filters {
		position: relative;
		float: left;
		clear: both;
		top: 50px;
	}
	main.main--dataset .d4c-app-explore-dataset .d4c-resources-choices {
		position: relative;
        display: flex;
        width: fit-content;
		left: 40px;
		margin-bottom: 20px;
	}
	main.main--dataset .d4c-app-explore-dataset .d4c-resources-choices p {
        width: 100%;
		margin-top: 5px
	}
	main.main--dataset .d4c-app-explore-dataset .d4c-search-advanced_filters {
		position: absolute;
        top: 50px;
	}
	main.main--dataset .d4c-app-explore-dataset .d4c-search-advanced_filters .btn {
		font-size: large;
		background-color: #007ABC;
        border-color: #007ABC;
        border-radius: 3px;
	}
	main.main--dataset .d4c-app-explore-dataset .d4c-search-filters.ng-hide,
	main.main--dataset .d4c-app-explore-dataset .d4c-actif-filters.ng-hide,
	main.main--dataset .d4c-app-explore-dataset .d4c-filters.ng-hide {
		display: block !important;
	}
}
@media screen and (min-width: 992px) {
	#main.widget-opendata .dataset {
		width: calc(50% - .5em) !important;
	}
}