/* @ROOT_PATH=../../../ */

#wrapper .content-middle #scroll-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
} 

#popup-wrapper { 
  background-color: #D5E1DC;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  position: relative;
}

#popup-wrapper #popup-content {
  flex: 0.3;
  background-color: white;
  width: 30vw;
  border-radius: 5px;   
  -webkit-box-shadow: 5px 5px 9px 0px rgba(0,0,0,0.21); 
  box-shadow: 5px 5px 9px 0px rgba(0,0,0,0.21); 
}

#popup-wrapper #box {
  border: 1px solid #555; 
  width: calc(100% - 22px); 
  height: 100%;
  background: white;
  padding: 10px;    
  position: relative; 
}

#popup-wrapper #box #titre {
  flex: 0.4;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;      
  height: 100%;
  width: 100%;
  font-family: Calibri; 
  text-transform: uppercase; 
  text-align: center;
  color: #F17503; 
  /*background-color: #155149; */
  font-size: 1.2rem;
  padding: 5px 0 5px 0; 
  border-bottom: 1px solid #CCC;  
} 

#popup-wrapper #form {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;      
}

#popup-wrapper #form #text {
  flex: 2.5;
  padding: 0;
  width: calc(100%);
  font-weight: bold;
  font-size: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;      
}

/**********************************************************/

.bizi-bouton { 
  min-width: 50%; 
  width: calc(100% - 4vh - 20px); 
  height: 30px; 
  line-height: 30px; 
  font-size: 2.5vh; 
  text-transform: lowercase;
}

.bizi-bouton:first-letter { text-transform: uppercase; }

#wrapper #filters {
  height: 35px;
  line-height: 35px;
  margin-bottom: 20px;
  /*width: 620px;*/
  padding: 0px;
  text-align: left;
}

#wrapper #filters #title { font-size: 1.4rem; }

#wrapper #filters h1 { font-family: Calibri; }

#wrapper #filters i {
  display: inline-block;
  width: auto;
  margin-right: 10px;
}

#wrapper #filters select {
  padding: 8px 12px 8px 12px;
  font-size: 1.0rem;
  line-height: 1.0rem;
  border-radius: 5px;  
  border: 0;
  display: inline-block;
}

#wrapper #filters select {
    width: auto;
    min-width: 200px;
    height: 35px;
    padding: 5px;
    padding: 8px 12px 8px 12px;
    font-size: 1.1rem;
    line-height: 1.1rem;
    border: 1px solid #CCC;
    border-radius: 5px;
    background: url(http://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right #FFF;
    -webkit-appearance: none;
    background-position-x: right 32px; 
    background-position: bottom 8px right 10px;
}

#wrapper #filters select:focus {
  outline: none;
}

#wrapper .content-middle #no-annonces {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

#wrapper .content-middle .box {
  background-color: white;
  /*width: 600px;*/
  max-width: 600px;
  margin-bottom: 2%;
  /*flex: 1 1 0;*/
  /* flex: 0 0 10%;*/
  -webkit-box-shadow: 3px 3px 9px 0px rgba(0,0,0,0.21); 
  box-shadow: 3px 3px 9px 0px rgba(0,0,0,0.21); 
  /*overflow: hidden;*/
  padding: 10px;    
  position: relative; 
  border-radius: 5px; 
/*  border: 1px solid #CCC; */

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-content: center;
  transition: 0.5s;
}

#wrapper .content-middle .box:hover {
  border-color: #FF4040;
  -webkit-box-shadow: 3px 3px 9px 0px rgba(100,0,0,0.21); 
  box-shadow: 3px 3px 9px 0px rgba(100,0,0,0.6);   
}

.box .image {
  flex: 0.2;
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;

}

.box .image img {
  object-fit: cover;
  width: 100%;
  z-index: 8;  
  height: 150px;
}

.box .orange {
  color: #F17503;
}

.box .middle {
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  
  align-items: flex-start;
}

.box .middle .photo {
  width: 100%;
  margin-bottom: 10px;
  max-height: 500px;
  overflow: hidden;
}

.box .middle .photo img {
  width: 100%;
  vertical-align: middle;
}

.box .middle .title-annonce {
  flex: 1;
  position: relative;
  width: 100%;
  padding: 0%;
  text-transform: uppercase;
  background-color: #FFF;
  font-size: 0.9rem;
  font-weight: normal;
  font-family: Calibri light;
  text-align: left;
}

.box .middle .title-annonce span {
  font-size: 0.8rem;
  color: #555;
  font-weight: bold;
}

.box .middle .annonce {
  flex: 1;
  margin-top: 10px;
  padding: 0;
  font-family: Calibri;
  font-size: 1rem;
  text-align: left;
}

.box .middle .full-annonce { display: none; }
.box .middle .annonce p { padding-bottom: 3px; text-align: left; }
.box .middle .annonce a { color: #00C; }
.box .middle .annonce a:hover { text-decoration: underline; }
.box .middle .annonce .date {color: #F00;}
.box .middle .annonce .full-display { color: #00C; cursor: pointer; width: initial; margin-top: 5px; }
.box .middle .annonce .full-display:hover { text-decoration: underline; }

.box .profil {
  width: 100%;
  padding: 0px;
  padding-bottom: 5px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  z-index: 9;
  background-color: white;
  border-bottom: 1px solid #EFEFEF;
}

.box .profil img {
  width: 40px;
  height: 40px;

  z-index: 9;
  border-radius: 50%;
  margin-right: 20px;
  border: 2px solid #F17503;
}

.box .entete .infos-profil {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.box .entete .city {
  display: block;
  text-align: left;
  font-size: 0.8rem;
}

.box .delete-annonce {
  position: absolute; 
  right: 20px; 
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.5s;
}
.box .delete-annonce:hover {
  color: #FF4040;
}

.box .delete-popup {
  position: absolute;
  background-color: #EFEFEF;
  padding: 5px 10px 5px 10px;
  z-index: 10;
  width: calc(100% - 40px - 2px);
  text-align: left;
  font-weight: bold;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid #555;
  border-radius: 5px;
  transition: 0.5s;
  display: none;
}

.box .delete-popup div { display: flex; flex: 3; }
.box .delete-popup button { flex: 1; width: auto; min-width: initial; height: initial; line-height: initial; padding: 0; text-transform: capitalize; }

.box .footer {
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid #EFEFEF;
  padding: 8px 0 0 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.box .footer .date {
  flex: 4;
  color: #FF4040;
  text-align: left;
}

.box .footer .chat {
  flex: 1;
  text-align: right;
  color: #278FA9;
  padding-right: 20px;
  cursor: pointer; 
  display: table-cell; /* comportement visuel de cellule */
  vertical-align: middle;
  font-size: 1.2rem;
}

.box .footer .comments-count {
  flex: 0 0 auto;
  color: #555;

  text-align: right;
  font-family: Calibri;
  color: #278FA9;
  cursor: pointer;
  margin-right: 10px;
}

.box .footer .comments-count:hover,
.box .footer .chat:hover {
  color: blue;
}

.box .infos-profil .username {
  color: #000;
  cursor: pointer;
}
.box .infos-profil .username:hover {
  color: #00F;
}

.box .infos-profil.ma-ville .username {
  cursor: default;
}

.box .infos-profil.ma-ville .username:hover {
  color: #000;
}

.box .infos-profil .date { text-align: left; font-size: 0.8rem;}

.box a.disabled {
  pointer-events: none;
  cursor: not-allowed;;
}

.box a.disabled div {
  background-color: #CCC;
  color: #DDD;
}


/* POPUP PROFIL */
.popup-profil {
  position: absolute;
  top: 100px;
  left: 100px;
  background-color: #FFF;
  width: 340px;
  height: auto;
  display: none;
  border-radius: 5px;
  border: 1px solid #CCC;
  padding: 10px;
  -webkit-box-shadow: 5px 5px 9px 0px rgba(0,0,0,0.21); 
  box-shadow: 5px 5px 9px 0px rgba(0,0,0,0.21);  
  z-index: 20; 
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
}

.popup-profil .infos {
  height: auto;
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; 
}

.popup-profil .infos div {
  display: flex;
  justify-content: center;
  align-items: center; 
  font-size: 1.0rem;
  margin-bottom: 8px;
}

.popup-profil .infos .username { margin-bottom: 8px; font-size: 1.2rem; font-weight: bold; }
.popup-profil .infos .chat { 
  color: #278FA9; 
  cursor: pointer; 
  border: 1px solid; 
  border-radius: 5px;
  width: 100%; 
  margin-top: 10px;
  padding: 4px 0 4px 0;
}

.popup-profil .infos .chat:hover { color: blue; }

.popup-profil .avatar { 
  flex: 0 0 110px;
  margin-right: 10px;
  position: relative;
  border: 0; 
  overflow: hidden;
  /*background-repeat: no-repeat; 
  background-position: top; 
  background-size: cover;*/
}

.popup-profil .avatar img { 
  width: 100px; 
  height: 100px; 
  border-radius: 50%;   
  border: 0;
}

/* COMMENTS */
.comments-wrapper { 
  width: 100%; 
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start; 
  margin-top: 10px;
  display: none;  
}

.comments-content {
  width: 100%;
}

.comments-wrapper #edit,
.comments-wrapper .comments {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;    
}

.comments-wrapper .comments {
  border-top: 1px solid #999;
  padding-top: 8px;
  margin-top: 1%;
  flex: 1;
}

.comments-wrapper .comments.hidden {
  display: none;
}

.comments-wrapper .comments .comment {
  width: 100%;
}

.comments-wrapper .comments .text  {
  width: calc(100% - 12px);
  background-color: #EEE;
  display: block;
  overflow: hidden;
  min-height: calc(1rem);
  font-size: 1rem;
  line-height: calc(1.1rem);
  border-radius: 10px;
  border: 1px solid #C8DCE4; 
  overflow:hidden; 
  padding: 6px 6px 6px 6px;  
  text-align: left;
}

.comments-wrapper .comments .text  span {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 5px;
}

.comments-wrapper #edit #photo,
.comments-wrapper .comments .photo {
  margin-top: 2%;
  flex: 0 0 35px;
}

.comments-wrapper .comments .photo {
  margin-top: 0;
}

.comments-wrapper #edit #photo div,
.comments-wrapper .comments .photo div {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #F17503;
  margin-right: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;  
}

.comments-wrapper .comments .comment-footer {
  margin-top: 5px;
  text-align: left;
}

.comments-wrapper .comments .comment-footer a {
  color: #278FA9;
  font-size: 0.8rem;
  padding-left: 10px;
}

.comments-wrapper .comments .comment-footer a:hover {
  color: blue;
}


.comments-wrapper #edit #edit-comment {
  margin-top: 2%;
  width: calc(100%);
}

.comments-wrapper #edit #edit-comment .bizi-bouton {
  float: right;
  margin-right: 0;
  width: auto;
  min-width: initial;
  height: auto;
  padding: 0 10px 0 10px;
  text-transform: capitalize;
}

.textarea {
  display: block;
  overflow: hidden;
  resize: both;
  min-height: calc(1rem);
  font-size: 1rem;
  line-height: calc(1.1rem);
  border-radius: 10px;
  border: 1px solid #C8DCE4; 
  overflow:hidden; 
  resize: none;
  padding: 12px 6px 12px 6px;
  text-align: left;
}

.textarea div {
  font-size: 1rem;
  line-height: calc(1.1rem);
}

.textarea:focus { outline: none; }

.textarea[contenteditable]:empty::before {
  content: "Votre commentaire ici ...";
  color: gray;
  font-size: 1rem;
}


/* SLIDER VILLE */
.slider-ville,
.slider-group {
  overflow: hidden; 
  width: calc(100%);
  height: 300px; 
  position: relative;
  left: 0; 
  top: 0;
  border: 1px solid #000;
  border-radius: 5px;
  background-color: #555;
}

.slider-group {
 }
  
.slider-ville .no-event,
.slider-group .no-event {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;  
  justify-content: center; 
  align-items: center; 
  margin: 0 auto;
  text-align: center;
  font-size: 5.5vh;
  color: #000;
}

.slider-ville .title,
.slider-group .title {
  height: 39px;
  line-height: 39px;
  background-color: #FFF;
  padding: 0 0 0 20px;
  text-align: left;
  border-bottom: 1px solid #555;
  color: #FFF;
  background-color: #155149;
}

.slider-ville .evenement,
.slider-group .evenement {
    font-size: 1rem;
    width: calc(100%);
    height: calc(100% - 40px);
    text-align: justify;
    overflow: hidden;
    position: absolute;
    top: 40px;
    left: 0;
    border: 0;
}

.slider-ville .evenement .contenu,
.slider-group .evenement .contenu {
    float:left; 
    position: absolute; 
    left: 20px;
    bottom: 3vh;
    border: 1px solid #555;
    width: calc(80%); 
    /*height: calc(100% - 4vh); */
    padding: 10px; 
    background-color: rgba(255, 255, 255, 0.9);
}

.slider-ville .evenement p,
.slider-group .evenement p  {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
    margin-top: 0;
    line-height: inherit;
    font-weight: normal;
    text-align: left;      
}

.slider-ville .evenement .categorie, 
.slider-ville .evenement .titre,
.slider-group .evenement .categorie, 
.slider-group .evenement .titre,
.slider-group .evenement .phone {
  color: #DD0000;
  font-size: 1rem;
  margin-bottom: 1.2vh;
  font-weight: bold;
  text-align: left;
}

.slider-group .evenement .phone {
  font-size: 1.1rem;
  color: #555;
  font-weight: normal;
}

.slider-ville .evenement .date,
.slider-group .evenement .website,
.slider-group .evenement .date { position: relative; bottom: 0; font-size: 1rem; color: #FF4040; margin-top: 2vh; }

.slider-group .evenement .website {
  color: #555;
  margin-top: 0;
}
.slider-group .evenement .website a {
  color: blue;
}

.slider-ville .evenement .titre,
.slider-group .evenement .titre {
  color: #555;
  font-size: 0.8rem;
}

.slider-ville .evenement .message,
.slider-group .evenement .message
{
    position: relative;
    display: block;
    height: 68%;
    overflow: hidden;
    font-weight: normal;
    text-align: left;  
    font-size: 4vh;  
}

.logo-ville {
    width: 45px;
    height: 40px;
    border: 0;
    position: absolute;
    top: 5px;
    left: 5px;
}

.logo-ville img {
    height: 100%;
    width: auto;
    border: 0;
}


@media all and (max-width: 500px) {

  .accueil {
  }

  #operations {
  }

  #operations div {
    margin: 0;
  }

  .box {
  }

  .box a {
  }

  select {
    -webkit-appearance: none;
    background: url(../assets/images/arrow-down.jpg) no-repeat;
    background-position: right center;    
    background-color: #FFF;
  }

  .bizi-bouton { min-width: 80%; width: calc(100% - 20px); margin: 10px; font-size: 2.7vh; }  

}