/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 21 juil. 2015, 19:12:40
    Author     : antoine
*/

/* Couleurs Geophom :
  Vert clair : #ABD94B
  Vert foncé : #97CF1E
*/

body {
    color: #666666;
    font-family: Helvetica,Verdana,"Luxi sans","Lucida Grande",Lucida,"Lucida Sans Unicode",sans-serif;
    font-size: 1em;
}

#phom-page {
    display: flex;
    flex-flow: column wrap;
}

#phom-header {
    display: flex;
    flex-flow: row wrap;
		/* @dev 01/02/2023 Garder l’en-tête de la page visible quand on scroll vers le bas */
		position: fixed;
		background-color: #fff;
		width: 100%;
		z-index:9
}

#phom-logo {
    flex-grow: 1;
}
#phom-logo img {
    margin: 10px 10px 0 0;
    height:35px;
}

#phom-footer {
    position:fixed;
    bottom:0;
    width: 100%;
    height: 40px;
    border: solid 1px #999;
    margin: 2px;
}

#phom-projet {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
}

#phom-wrapper {
    position: fixed;
    top: 60px;
    height: 100%!important;
    width: calc(100% - 300px);
    flex-grow: 1;
    flex-flow: column wrap;
}

#phom-carte {
    border: solid 2px #999;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

#phom-legende {
    border: solid 2px #999;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-top: 4px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    max-height: 200px;
    overflow-y: auto;
}
.phom-legende-bloc {
    margin: 1px;
    flex-grow: 1;
    flex-flow: column wrap;
}
.phom-legende-type {
    font-size: 0.9em;
    font-weight: bold;
}
.phom-legende-parc {
    margin: 2px;
    font-size: 0.8em;
    cursor: pointer;
}
.phom-legende-picto {
    max-height: 22px; 
    vertical-align: middle;
}
.phom-legende-poly {
    max-height: 22px; 
    vertical-align: middle;
}
.phom-legende-nomparc {
   margin-left: 2px;
}
.phom-legende-parc input {
    margin: 2px;
}

#phom-liste {
    display: flex;
    flex-flow: row wrap;
    position: absolute;
    right: 0;
    top: 60px;
    flex-shrink: 0;
    white-space: wrap;
    //height: calc(100% - 95px);
}

#phom-search {
    position: fixed;
    display: inline-block;
    flex-shrink: 0;
    width: 100%;
		/* @dev 01/02/2023 Garder l’en-tête de la page visible quand on scroll vers le bas */
		background-color: #fff;
		padding: 10px 0 5px 2px;
}

#phom-table {
    display: inline-block;
    margin-top: 35px;
    overflow-y: scroll;
    font-size: 0.8em;
}

.leaflet-control-layers-toggle {
    height: 26px;
    width: 26px;
}

.home-control {
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    background: #fff;
    border-radius: 5px;
}
.home-control .button {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-image: url('img/home.png');
    display: block;
    width: 26px;
    height: 26px;
}

.position-control {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    border-radius: 3px;
    padding: 0 5px;
    color: #222;
}

.parc-tooltip {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    background: white;
    border: solid 1px grey;
    padding: 2px;

    box-shadow: 0 1px 4px rgba(0,0,0,0.65);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    
    display: none;
    opacity: 0.8;
    z-index: 2;
}

.parc-tooltip.visible {
    display: inline-block;
}

.priseDeVue {
    //border: solid 1px;
    margin-left: auto;
}

.priseDeVue-picto {
    //background-image: url('img/rond-bleu.png');
    background-repeat: no-repeat;
    vertical-align: middle;
    height: 10px;
}

.priseDeVue-label {
    position: absolute;
    
    color: #222;
    background-color: rgba(255, 255, 255, 0.8);
    border: solid 1px #222;
    border-radius: 3px;
    padding: 1px 1px 0 1px;
    text-align: center;
    white-space: nowrap;
    font: 12px Arial, Helvetica, sans-serif;

    margin-left: 8px;
    margin-top: -3px;
}

.divicon-prisedevue {
    margin-left: -50%;
    margin-top: -50%;
}

#coneVisee {
    width: 100%;
    height: 100%;
}


/* -----------------------
 * LISTE DES PHOTOMONTAGES
 * -----------------------
 */
table.tablesorter {
    background-color: #ffffff;
    border-collapse: collapse; 
    color: #444;
}
table.tablesorter thead{
    color: #222;
}
table.tablesorter tbody {
    overflow-y: scroll;
}
table.tablesorter tbody tr {
    cursor: pointer;
}
table.tablesorter tbody td {
    border: 1px solid white;    
}
/* Séparateur vert entre chaque ligne */
table.tablesorter tbody tr td {
    border-bottom: solid 2px #BDDA83;
    padding: 3px 5px;
    min-width: 25px;
    text-align: right;
    max-width: 250px;
    white-space: nowrap;
    overflow-x: hidden;
}
table.tablesorter tbody tr:hover {
  background-color: #E0E0E0;
}
table.tablesorter tbody .phom-list-item-selected {
    background-color: #E0E0E0;
}

/* ----------------
 * TYPEAHEAD SEARCH
 * ----------------
 * Styles source: http://twitter.github.io/typeahead.js/examples/
 */
input.typeahead,
.tt-query,
.tt-hint {
  width: 100%;
  padding: 2px;
  font-size: 1.1em;
  border: 2px solid #ccc;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
  outline: none;
}
.typeahead {
    background-color: #fff;
}
.typeahead:focus {
  border: 2px solid #808080;
  -webkit-border-radius: 5px;
     -moz-border-radius: 5px;
          border-radius: 5px;
}
.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.tt-hint {
  color: #bbb
}
.tt-menu {
  z-index:1001 !important;
  width: 300px;
  margin: 4px 0;
  padding: 0px 0;
  background-color: #fff;
  border: 2px solid #bbb;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}
.tt-suggestion {
  padding: 3px 20px;
  font-size: 1em;
}
.tt-suggestion.tt-cursor,
.tt-suggestion:hover {
  color: #222;
  background-color:#B7E6A8;
}
.tt-suggestion p {
  margin: 0;
}

/* -------------------------
 *  Personalisations GEOPHOM
 * -------------------------
 */
 
/* SURCHARGES */

#phom-logo img {
height:20px;
}

#phom-carte, #phom-legende {
border:1px solid #999;
margin-bottom:2px;
}

#phom-footer {
margin:0;
bottom:0px;
border:0px;
height:36px;
display:flex;
flex-flow:row nowrap;
align-items:center;
}

input.typeahead {
font-size:0.8em;
}

table.tablesorter thead tr th{
font-size: 0.85em;
}


/* AJOUTS */

h2 {
background-color:#f0f0f0;
border:1px solid #aaa;
font-size : 1.3em;
margin : 5px;
padding:5px 5px 0;
border-radius:4px;
} 

#retour_accueil a img{
padding: 15px 5px 5px;
}

#titre_carte {
font-size:1.3em;
margin: 10px 30px;
}

#dates_maj {
font-size:0.8em;
margin: 10px 10px;
position:absolute;
right:280px;
text-align:right;
}
#phom-wrapper {
/* top:40px; */
/* @patch 14/02/2023 correction hauteur un peu masqué sous le header */
top:46px; 
}

#phom-liste {
/* top:40px; */
/* @patch 14/02/2023 correction hauteur un peu masqué sous le header */
top:44px; 
background-color: #fff;
}

body {
margin-top:0;
}

table.tablesorter tbody tr td {
max-width: 250px;
overflow-x: hidden;
white-space: wrap;
text-align:left;
}

#phom-legende {display:flex}
.legende-invisible {display:none !important;height:0px;}
.legende-visible {display:flex !important}

button#toggle-legende {
font-size:0.8em;
}

#bouton-aide {
text-align:center;
width:30px;
height:15px;
margin:0 5px;
background-color:#fff0f0;
border:1px solid #999;
border-radius:3px;
cursor:help;
}

#aide {
background-color:white;
opacity:0.95;
position:fixed;
margin:0 auto;
padding:5px;
border:1px solid #999;
border-radius:4px;
bottom:60px;
left:120px;
display:none;
flex-flow:row;
white-space:wrap;
max-width:800px}

#aide .col1, #aide .col2 {
display:flex;
flex-flow:column;
padding:10px;
}
#aide .col1 {width:495px}
#aide .col2 {width:305px; border-left:1px solid #eee}

#aide h5 {font-size:1.2em;margin-top:5px}
#aide h6 {font-size:1em;margin:0;;margin-top:5px}
#aide h7 {font-size:1em;font-weight:normal;text-decoration:underline; margin:0px;margin-top:3px}
#aide div ul {
list-style-type:none;
padding:5px 15px;
margin:3px 0;
 }
#aide ul li img.bt {
border:1px solid #999;
padding:1px;
border-radius:2px;
}
#aide ul li:before {
    content: "•";
    padding-right: 4px;
    color: #999;
}


#aide p {margin:2px 0;text-align:justify;line-height:130%}

.aide-visible {display:flex !important;flex-flow:row wrap}

.avertissement-adb {margin:50px 0 0 50px;font-weight:bold;color:red;z-index:-100}
