/* GLOBAL */

/* GLOBAL - POLICE */
	.font-size {
	font-size: large;
}

/* GLOBAL - LARGEUR PAGE */
.container {
	max-width: 90% !important;
}

.page-width {
	width: 85%;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 10px;
	margin-left: auto;
}


/* GLOBAL - Liens URL */
.field-item a, .views-field a, .list-group-item h3 , a  {
	text-decoration: none;
	color: #2D4F73;
}

/* GLOBAL -  Liens URL - mouseover */
.field-item a:hover, .views-field a:hover, .list-group-item h3 a:hover {
	text-decoration: underline;
	color: red;
}


.placeholder {
	/* Surligné transparent */
	background-color:transparent !important;
} 

/* GLOBAL - TITRES */	

#main {
	margin-top: 3em !important;   
}
	
.field-title {
	font-size: 1rem;
	font-weight: bold;
	color: #2d5f94;
	margin-top: 1rem;
        margin-bottom: 0rem;

}
	
#edit-actions, #edit-actions-submit {
	margin-top: 20px;   
}
	
h1 {
	color: #000000;
	font-size: 2em;
	font-variant: small-caps;
	padding: 0rem;
	margin-bottom: 1em;
	margin-left: 0rem;
	margin-right: 2rem;
	border-bottom: 3px solid  #000000;
}

h2 {
	/* Présent dans exercices-evaluations (entre autres); doit probablement être circonscrit */
	font-size: 1.4rem;
	color: #14579e;
	font-variant: small-caps;
	padding: 0rem;
	margin-top: 0.7rem;
	margin-bottom: 0.5rem;
	margin-left: -1rem;
	margin-right: 2rem;
}

h2 a {
	color: #14579e;
}   

h3, h4 { 
	font-size: 1.3rem;
}


.block-title {
	padding-left: 1rem;
	padding-top: 1rem;
}

/* GLOBAL - FILTRES */

legend .fieldset-legend , label {
	font-size: 1.1rem !important;
}


/* GLOBAL - BOUTONS */

legend .fieldset-legend , label {
	font-size: 1.1rem !important;
}

.dropbutton-widget .dropbutton {
	background-color: #fcfcfc;
	border: 1px solid #ccc;
	padding: 0.35em !important;
}

.dropbutton-widget {
	font-weight: bold;
}

/* GLOBAL - UI */
.ui-menu {
	/* Background menu déroulant */
	background-color: #FFFFFF;
	font-size: 0.9em;
}


/* EN-TÊTES  */
#navbar-top {
  height: 2.95rem !important;
  margin: 0 !important;
  padding-top: 0 !important;
}

#navbar-main {
    border-bottom: 0.8rem solid #57A8DD !important;
}
.navbar-brand {
	display: inline;
	vertical-align: middle;
	font-size: clamp(1rem, 3vw, 4rem);
    font-weight: 500;
	color: #fff;
    padding-left: 0.2em;
}

.navbar-brand:hover {
	color: #ffffff;
}

/* Bannière */
.d-block {
	display: inline;
}

#block-geocms-mainnavigation {
  /* Sections - Menu Principal - Positionnement */ 
  height: 1.5rem;
  position: relative;
  left: 0rem; 
  top: 1.9rem;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
}

/* Liens bannières */
.header-style-1 .nav-link {
	font-weight: bold;
}


/* Logo et Titre */ 
.d-block {
	display: inline !important;
}

/* Taille du logo */
.navbar-brand img {
	height: clamp(30px, 20%, 80px);
	width: clamp(30px, 20%, 80px);

}

/* Liens bannières */

/*
.d-none  {
	background-color: rgb(255 255 255 / 20%);
}
*/

/* BREADCRUMBS */

.flex-breadcrumb {
	background-color: #57A8DD !important;
	padding-top: 0.2rem !important;
	padding-bottom: 0.3rem !important;

}

.flex-breadcrumb a, .flex-breadcrumb a:hover  {
	color: #FFFFFF;
	font-size: 1rem;
}


/* TOP NAVBAR */

.gin-secondary-toolbar {
	background-color: #BBB !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	height: 2.5rem;
	font-size: 0.9em;
}

/* FORMULAIRE DE RECHERCHE */ 

#block-geocms-search-form-narrow {
	/* Sections - Search Form - Aligné à droite */
	display: flex;
	justify-content: flex-end;
	margin-right: auto;
	width: fit-content;
}

#block-geocms-search-form-narrow, #block-geocms-search-form-narrow--2 {
	/* Sections - Search Form */

	height: 3rem;
	margin-left: 0rem;
	margin-top: 0rem;
    padding-top: 0rem;
}

#block-geocms-search-form-narrow #edit-actions {
    margin-top: 0px;
}

#block-geocms-search-form-narrow #edit-submit,  #block-geocms-search-form-narrow--2 #edit-submit--2 {
	/* Sections - Search Form - Bouton  */
	margin: 0rem 0rem 0rem rem !important;
	border: 1px solid #000;
	font-weight: bold;
}

#geocmsblock-geocms-search-form-narrow #edit-keys, #geocmsblock-geocms-search-form-narrow--2 #edit-keys--2  {
	/* Sections - Search Form - Hauteur champs */ 
	background-color: #FFFFFF;
	border: 1px solid #000;
}

/* MENUS */ 

.region-primary-menu .sf-depth-1 a, .region-primary-menu .sf-depth-1  span  {
	/* Met la même couleur d'arrière-plan au menu que la bannière */
	background-color: #2D4F73 !important;
}

.region-primary-menu .sf-depth-1 a:hover, .region-primary-menu .sf-depth-1 span:hover,  .region-primary-menu .sf-depth-2 a:hover  {
	/* Couleur du hover de souris */ 
	color: #FDCB86 !important;
}

.region-primary-menu .sf-depth-1 a.is-active, .region-primary-menu  .sf-depth-2 a.is-active {
	/* Couleur pour page sélectionnée pour menu superfish */
	color: #042e59 !important;
	font-weight: bold;
	background-color: #FFFFFF !important;
}

.region-primary-menu .active-trail .sf-depth-1  {
	/* Couleur pour page sélectionnée pour menu superfish */
	color: #042e59 !important;
	font-weight: bold;
	background-color: #FFFFFF !important;
}

.region-primary-menu .active-trail .sf-depth-1 span {
	background-color: #FFFFFF !important;
}

.region-primary-menu .active-trail a.is-active [href="/"]{
	/* Accueil - Sans highlight - NOT WORKING - REWORK  */
	background-color: #2D4F73 !important;
	color: #FFFFFF !important;
	font-weight: normal;
}


#block-bootstrap-barrio-subtheme-navigation .block-content .nav li.nav-item {
	/* Menus - Menu barre latérale */
	padding: 2px 10px 2px 10px;
	margin: 0px;
	border: 1px solid #CCC;
	background-color: #000;
	color: #FFF;
}

#block-bootstrap-barrio-subtheme-navigation .block-content .nav li.nav-item a {
	/* Menus - Menu barre latérale */
	color: #FFF;
}


/* SECTIONS */ 

.field-group-fieldset, #contenu-page-outils {
	/* Block bleu pâle autour des différentes sections */ 
	border: 1px solid #ccc;
	margin-right: 2rem;
	margin-left: 1.5rem;
	padding: 1rem;
	background-color: rgb(122 173 225 / 20%) !important;
}


.horizontal-tabs-list {
	/* TABLES AVEC ONGLETS HORIZONTAL - Onglets horizontaux - Titre */
	margin: 1em !important;
	margin-bottom: -0.4rem !important; /* Rapproche la zone d'information des onglets horizontals  */
}

.field-group-htab {
	/* TABLES AVEC ONGLETS HORIZONTAL - Onglets horizontaux - Zone d'information  */
	border: 1px solid #ccc;
	margin-right: 2rem;
	margin-left: 1.5rem;
	padding-left: 1rem !important;
	background-color: rgb(122 173 225 / 20%) !important;
}


#geocmsblock-geocms-search-form-narrow #edit-keys {
	/* Sections - Search Form */
	background-color: #FFFFFF;
	border: 1px solid #000;
}


#geocmsblock-geocms-search-form-narrow #edit-submit {
	/* Sections - Search Form */
	border: 1px solid #000;
}

/* FILTRES */ 

.view-exposed fieldset, .views-exposed-form fieldset {
	/* affiche les filtres sur une seule ligne */
	display: inline;
}

/* BOUTONS */

.btn {
	border-radius: 10;
	margin-left: 1em;
	background-color: #2d4f73 !important;
}

/* CONTENT */

.comment-add  a { 
/* FIXME Hack pour rendre invisible le lien pour ajouter un commentaire. Le lien apparaît tout au moins dans certaines fiches du type de contenu présentation */
	display: none;
} 

/* VIEWS */

.ui-state-active {
	background-color: #2d4f73 !important;
}

.views-exposed-form .form-row {
	margin-bottom: 20px;
}

/* TABLES */ 

table {
/* Mettre le titre de table (caption) au haut de la table au contraire du thême d'origine */
	caption-side: top;
}

#view-title-table-column {
/* titre de column qui sont des liens en blanc. */
	color: #FFFFFF !important;
}

caption {
	/* Ajuster le titre de tableau */
	font-size: 1.5rem;
	font-weight: bold; 
  
}


div:not(.js-drupal-fullcalendar) table thead a, div:not(.js-drupal-fullcalendar) table thead a:hover {
/* titre de colonnes qui sont des liens en blanc. */
    color: #FFFFFF;
}

tr:nth-child(even) td {
	/* Alternance de bandes foncées - Alternative  background-color: #D0E6F4;    background-color: #EFEFEF; */
	background-color:  #F0F8FF;
}



.table thead tr th {
    /* Général - En tête des tables/listes */
	background-color: #2D4F73;
	border-top: 1px solid #000;
	border-bottom: 8px solid #57A8DD;
 	color: #FFFFFF;
}

/** TABLE - FILES **/

.field-field-files {
	margin-top: 1em;
	margin-left: 0em;
	margin-bottom: 2em;
}

.field-field-files .field-title {
	margin-bottom: 0.6em;
}

.field-field-files table {
	margin: 10px;

}

.field-field-files table td {
	padding: 10px;

}

/* SEARCH RESULTS */ 


li.list-group-item h3 a {
	/* Page de recherche - items */
	font-weight: 500;
	font-size: 1rem;
}

li.list-group-item  p {
	/* Page de recherche - description */
	font-weight: normal;
	font-size: 0.9rem;
}

li.list-group-item  p strong {
	/* Page de recherche - description */
	font-weight: bold;
	color: #FFF;
	background-color: #b70303;
	padding: 0.1rem;
}

/* Modification de la position et de l'apparence des menus permettant de créer du nouveau contenu */

#block-geocms-createrawdatamenu {
  /* Custom add data menu for the raw data main view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createrawdatamenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createdatasharingagreementmenu {
  /* Custom add data menu for the data sharing agreements view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createdatasharingagreementmenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createneecgeodbmenu {
  /* Custom add data menu for the neec geodb inventory view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createneecgeodbmenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createdatamodelmenu {
  /* Custom add data menu for the data model main view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createdatamodelmenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createdomainmenu {
  /* Custom add data menu for the domain main view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createdomainmenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createdomainvaluemenu {
  /* Custom add data menu for the domain values main view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createdomainvaluemenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createpackagemenu {
  /* Custom add data menu for the package main view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createpackagemenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

#block-geocms-createdatacollectionmenu {
  /* Custom add data menu for the data collections view */
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  width: fit-content;
}
#block-geocms-createdatacollectionmenu ul.sf-menu.sf-style-default li {
  background: #fff;
}

/* Ajustement des étiquettes des pages d'affichage des items de l'inventaire. */
.field--type-entity-reference .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.field--type-string-long .field__label {
  font-weight: bold;
  text-transform: uppercase; 
}

.field--type-string .field__label {
  font-weight: bold;
  text-transform: uppercase; 
}

.field--type-text-long .field__label {
  font-weight: bold;
  text-transform: uppercase; 
}

.field--type-datetime .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.field--type-file .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.field--type-boolean .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.field--type-integer .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.field--type-email .field__label {
  font-weight: bold;
  text-transform: uppercase;
}

.js-form-item {
	padding: 0 2px 0;
}

/* Ajout d'une marge en haut et en bas du breadcrumbs */
#block-geocms-breadcrumbs {
	margin: 5px 0;
}