/**********
* STYLESHEET WEB SCREEN
**********/

body {
  font-family: system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

#map-content img{
  max-width: 100%;
}

/* Les alertes */
#lizmap-edition-message {
  display: none;
}


/* Le 'Informations' du panneau */
#nav-tab-metadata {
  display: none!important;
}

/**********
* FENETRE DE DEMARRAGE
**********/

/* Le conteneur du message d'accueil */
#modal-cartet1 {
  background-color: #194973;
  color: #ffffff;
}

/* le titre */
#modal-cartet1 .modal-header h2{
  font-family: Montserrat, sans-serif;
  border-bottom: none;
  color: #ffffff;
}

/* Le pied de page */
#modal-cartet1 .modal-footer{
  background-color: #194973;
  border-top: none;
  text-align: center;
}

/* le bouton J'ai compris */
#modal-cartet1 .modal-footer button{
  font-family: Montserrat, sans-serif;
  background-color: #194973;
  border-radius: 7px;
  border: 2px solid white;
  color: white;
  font-size: 1.2em;
  padding: 7px;
}

/**********
* ENTETE DE LA PAGE
**********/
#header{
  background-color: #194973;
  box-sizing: content-box;
  /* min-height: 70px; */
}

/* Le conteneur des outils d'authentification */
#headmenu {
  display: none;
}

/* la boite de titre */
#title{
  margin-left: 5px;
}

/* Le logo dans l'entete de page */
#logo{
  background: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/icon/logo-le-havre.png) no-repeat;
  background-size: contain;
  background-color: white;
  display: block;
  min-width: 150px;
}

/* le titre principal */
#title h1 {
  color : #ffffff;
  font-family: Montserrat, sans-serif;
  font-size: 2em;
  line-height: 1.5em;
  margin-left: 0px!important;
}

/* le titre secondaire */
#title h2 {
  display: none;
}

/***********
* LE DOCK
************/

/* Le panneau lateral gauche */
#dock{
  max-width: 30vw;
  overflow: hidden;
  background-color: white!important;
  left : -30px;
}

#dock-content {
  background-color: transparent;
}

#dock-tabs {
  background-color: #194973;
  font-size: 15px;
}

/* La barre laterale avec les outils */
#mapmenu {
  background: #194973;
}

/* Le bouton permenttant de fermer le panneau */
#dock-close {
  /* display: none!important; */
}


/* Les boutons de navigation a droite */
#navbar button.btn, #navbar div.slider {
  display: none;
}

/* la bordure en pointille en dessous du titre du panneau */
ul.nav.nav-tabs{
  border-bottom: none!important;
}


/*******
* LES POPUPS
*******/

/* Le 1er conteneur de la popup*/
#liz_layer_popup, .lizmapPopup.olPopup, #map-content .lizmapPopup{
  background-color: white!important;
}

/* Le 2eme conteneur */
#liz_layer_popupGroupDiv {
  background-color: transparent;
}

/* Le 3eme conteneur */
#liz_layer_popup_contentDiv{
  background-color: transparent;
}

/* Le conteneur general */
#liz_layer_popup {
  overflow: visible!important;
  border: none!important;
}

/* Le dernier conteneur */
#lizmapPopupDiv, .lizmapPopupDiv,
.lizmapPopup.olPopup .lizmapPopupDiv, #map-content .lizmapPopupDiv {
  background-color: transparent!important;
  margin-bottom: 0px!important;
}

/* Le 'Contributions' dans chaque popup */
.lizmapPopupSingleFeature h4{
  display: none;
}

/* Le titre des contributions */
.lizmapPopupDiv h3 {
  font-family: Montserrat, sans-serif;
  font-size: 1.2em;
  font-weight: 200;
  margin-top: 5px;
  background-color: white;
  line-height: 20px;
}

/* Le texte de la contribution */
.lizmapPopupDiv p {
  color: black;
  font-size: 0.9em;
  background-color: white;
}

/* Le bouton pour fermer la contribution */
/* #map-content .lizmapPopup .olPopupCloseBox {
  display: none;
} */

/* Classes par categorie sur les titres des contributions */
.categorie_1 h3{
  color: #1c7d69;
}
.categorie_2 h3{
  color: #ef4651;
}
.categorie_3 h3{
  color: #fbb322;
}


/**********
* LES BOUTONS POUR AFFICHER / MASQUER LES CONTRIBUTIONS
**********/

/* Le bouton avec les categories de contributions */
#filtre_categorie{
  position: absolute;
  top: 0.7%;
  right : 1%;
  z-index: 1000;
}

#filtre_categorie > div{
  display: inline-block;
  cursor: pointer;
}

#filtre_categorie > div > div{
  display: inline-block;
  vertical-align: middle;
}

/* Le texte des boutons */
#filtre_categorie .cat-text{
  padding: 5px;
  color: #fff;
  font-size: 1.1em;
  margin: 5px;
}

/* les icones eye */
#filtre_categorie .eye-icon{
  width: 30px;
  height: 30px;
}

/* La couleur de fond des boutons de filtrage */
#filtre_categorie > div[data-cat='1'] .cat-text{
  background-color: #1c7d69;
}
#filtre_categorie > div[data-cat='2'] .cat-text{
  background-color: #ef4651;
}
#filtre_categorie > div[data-cat='3'] .cat-text{
  background-color: #fbb322;
}


/* Le rendu quand les contributions ne sont pas affichees */
#filtre_categorie > div[data-cat='1'].unchecked .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/blind_green.svg);
}
#filtre_categorie > div[data-cat='2'].unchecked .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/blind_red.svg);
}
#filtre_categorie > div[data-cat='3'].unchecked .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/blind_yellow.svg);
}


/* Le rendu quand les contributions sont affichees */
#filtre_categorie > div[data-cat='1'] .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/eye_green.svg);
}
#filtre_categorie > div[data-cat='2'] .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/eye_red.svg);
}
#filtre_categorie > div[data-cat='3'] .eye-icon{
  background-image: url(/map/index.php/view/media/getMedia?repository=lehavre&project=le-havre&path=media%2Fthemes%2Fle-havre%2Fcss%2F/svg/eye_yellow.svg);
}



/**********
* FORMULAIRE D'EDITION
**********/

#edition-draw{
  display: flex;
  justify-content: center;
  align-items: center;
}

#edition div.menu-content {
  background: white;
  margin-top: 10px;
}

/* Le texte du formulaire */
.jforms-label, .jforms-required {
  font-weight: normal!important;
}

/* Le message par defaut avant de pouvoir contribuer */
#edition-modification-msg {
  display: none;
}

/* Le Contribuez ! du mode d'emploi */
#edition-form-container h4, h4 {
  font-family: Montserrat, sans-serif;
  font-size: 2em;
  color: #035AA6;
  margin-bottom: 15px;
}

/* La liste a puces du mode d'emploi */
#edition-form-container li {
  font-size: 1.1em;
  line-height: 25px;
  font-weight: lighter;
}

/* Supprimer le menu de selection de couche */
#edition-layer {
  display: none;
}

/* le formulaire de contribution */
#edition div.tab-content {
  box-sizing: content-box;
  overflow: hidden;
  border: 0px;
  background-color: white;
}

/* Les boites de saisie des mail/inscription au projet */
#jforms_view_edition_email, #jforms_view_edition_email_label,
#jforms_view_edition_inscription, #jforms_view_edition_inscription_label{
  display: block!important;
}

/* Le conteneur des boutons du formulaire */
.form-actions {
  background-color: white;
}

/* Le bouton reinitialiser */
#jforms_view_edition_reinit{
  display: none;
}

/* Les boutons annuler et enregistrer du formulaire */
#jforms_view_edition__submit_cancel,
#jforms_view_edition__submit_submit {
  padding: 7px 7px;
  background-color: #035AA6;
  background-image: none;
  color: white;
  font-size: 1.3em;
  border-color: white;
  text-shadow: none;
  box-shadow: none!important;
}

/* Le bouton Contribuer sur la carte */
#start_edition{
  position: absolute;
  bottom: 5%;
  left: calc(50% - 48px);
  z-index: 1000;
  font-size: 1.5em;
  padding: 10px 16px;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  background-color: #D92525;
  border-radius: 8px;
  color: white;
}

/* Les elements par defaut a masquer */
#edition-point-coord-form, #nav-tab-edition,
.edition h3, #edition-form-container h3 {
  display: none!important;
}

/* Le menu de selection pour fermer le formulaire apres edition */
#jforms_view_edition_liz_future_action_label,
#jforms_view_edition_liz_future_action {
  display: none;
}

/* Le volet optionnel */
#jforms_view_edition-tab7{
  border-left: #194973 solid!important;
  border-right: none!important;
  border-bottom: none!important;
  border-top: none!important;
  background-color: #eeeeee;
}

/* LES BOUTONS POUR AJOUTER DES PHOTOS */

/* Cacher le bouton radio 'Pas de fichier' */
#jforms_view_edition_photo1_jf_action_keep_item label,
#jforms_view_edition_photo2_jf_action_keep_item label,
#jforms_view_edition_photo3_jf_action_keep_item label{
  display: none;
}
