/* Always set the map height explicitly to define the size of the div
* element that contains the map. */


/* Optional: Makes the sample page fill the window. */
:root {
    --second-color:  #f76063;
}
.clearfix {
  overflow: auto;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
* {
    box-sizing: border-box;

}
body {
    font-family: sans-serif;
    color:#1a1a1a;
}

.container {
    display:flex;
    height:100%;
}


#map {
    height: 100%;
    width:100%;
    background-color: aliceblue;
}

#pane {
    width:300px;
    height:100%;
    top:0;
    left:0;
    background-color: white;
    flex-grow: 0;
    flex-shrink: 0;
    overflow: hidden;

}
h1 {
    padding: 0 20px;
    letter-spacing: -2px;
    color:#1a1a1a;
    font-weight: bolder;
}
/* h1::after {
    content:" ";
    display: block;
    width:20px;
    height:6px;
    margin-top: 20px;
    background-color: #f76063;
    border-radius: 20px;
} */
.contPane {
    position:relative;
    width:100%;
    height:100%;
    overflow: hidden;
}
#paneList {
    position:absolute;
    width:100%;
    height:100%;
    padding:20px 20px;
    background-color:  var(--second-color);
    transition: opacity 200ms ease-in-out, transform 100ms linear ;
    opacity:1;
    transform-origin: left;
    transform: translateX(0);
    z-index:10;
}
#paneList.on {
    opacity:1;
    transform: translateX(-100%);
}

#paneDetail {

    height:100%;
    opacity:0;
    overflow: hidden;
    /* transition: opacity 100ms ease-in-out; */
}
#paneDetail.on {
    opacity:1;
}

#paneDetail .restoCont {
    padding:20px 20px;
}
#paneDetail .contComment {
    margin-top:15px;
}
#paneDetail .contComment .comment {
    padding-bottom:15px;
    font-size: 12px;
}
#paneDetail .nomResto {
    font-size: 18px;
}

#paneDetail .titreComSection {
    font-weight: bold;

}
#paneDetail .comment {
    border-bottom:1px dashed #ededed;
    padding:15px 0;
}
#paneDetail .comment div:first-of-type{
    font-weight: bold;

}
#paneDetail .comment div:last-of-type{


}

#restoContList {
    background-color: #fff;
    /* border-radius: 6px; */
    margin-top:20px;

    box-shadow: 0px 0px 31px -5px rgba(184,48,52,1);
    /* overflow-y: scroll;
    height:auto; */
    /* overflow: ; */
}
#paneDetail .btnRetour {
    position:absolute;
    top:0;
    left:0;
    background-color: var(--second-color);
    width:40px;
    height:40px;
    cursor:pointer;
    padding:6px;
}
#paneDetail .btnRetour::before,  #paneDetail .btnRetour::after{
    content:" ";
    display:block;
    width:12px;
    height:4px;
    background-color:#fff;
    border-radius:4px;
    position:absolute;
    left:12px;
}
#paneDetail .btnRetour::after  {
    top: 16px;
    transform-origin: left bottom;
    transform: rotateZ(45deg);
}
#paneDetail .btnRetour::before {
    top: 20px;
    transform-origin: left top;
    transform: rotateZ(-45deg);
}
.wrapperModal {
    display:none;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 150;
}
.wrapperModal.on {
    display:block;
}
.bkgModal {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 150;
    background-color: grey;
    opacity:0.75;
}
.modal {
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:auto;
    z-index: 150;
    background: #fff;
    width:520px;
    height:400px;
}
.modal .headerModal {
    background-color: var(--second-color);
    padding:30px 20px;
    font-size:18px;
    color:#fff;
}
.modal #js-contForm {
    padding:30px;
}
.modal #js-contForm .row {
    display:flex;
}

.modal #js-contForm #avisSelect {
    margin-left: 20px;
}
.modal #js-contForm .labelTArea {
    display: inline-block;
    vertical-align: top;
    flex: 2 0 0;
}
.modal #js-contForm #textAreaElt {
    flex: 1 0 71%;
}


.btn.com {
    margin:0 auto;
    display: block;
    width:150px;
    height:40px;
    background-color: var(--second-color);
    color:#fff;
    font-weight: bold;
    font-size: 12px;
    line-height:40px;
    text-align: center;
    cursor:pointer;
}
#trieNotes {
    background-color:#ca3c49;
    float:right;
    /* box-shadow: 0px 0px 31px -5px rgba(184,48,52,1); */
    color:#fff;
    border:none;
    font-weight: bold;
    border-radius:6px;
    line-height: 22px;
    cursor:pointer;
}
#restoContList .restoCont {
    padding:20px 20px;
    border-bottom: 1px dashed #ffc0c0;
    cursor:pointer;

}
#restoContList .restoCont:hover {
    background-color:#ffeaea;
}
#restoContList .restoCont:last-child {
    border-bottom:none;

}
.restoCont .contMoyLab{
    clear:both;
    overflow: hidden;
    margin-bottom:10px;
}
.restoCont p {
    margin:0;
}
.restoCont p.labelResto {
    float:left;
}

.restoCont p.nomResto {
    color:#1a1a1a;
    font-weight: bold;
    margin-bottom:7px;

}
.restoCont p.detailResto {
    font-size:14px;
    margin-bottom:7px;
}
.restoCont p.moyenne {
    float:right;
    font-weight: bold;
}

/* Custom Info Window*/

/* The location pointed to by the popup tip. */
.popup-tip-anchor {
  height: 0;
  position: absolute;
  /* The max width of the info window. */
  width: 200px;
}
/* The bubble is anchored above the tip. */
.popup-bubble-anchor {
  position: absolute;
  width: 100%;
  bottom: /* TIP_HEIGHT= */ 8px;
  left: 0;
}
/* Draw the tip. */
.popup-bubble-anchor::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  /* Center the tip horizontally. */
  transform: translate(-50%, 0);
  /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
  width: 0;
  height: 0;
  /* The tip is 8px high, and 12px wide. */
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: /* TIP_HEIGHT= */ 8px solid white;
}
/* The popup bubble itself. */
.popup-bubble-content {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -100%);
  /* Style the info window. */
  background-color: white;
  padding: 5px;
  border-radius: 5px;
  font-family: sans-serif;
  overflow-y: auto;
  max-height: 60px;
  box-shadow: 0px 2px 10px 1px rgba(0,0,0,0.5);
}
