:root{
    --bs-primary: #0e6a39;
}
::placeholder {
    color: rgb(187,187,187) !important;
}
.text-small {
    font-size: 0.9rem;
}
.text-small2 {
    font-size: 0.8rem;
}
.text-small3 {
    font-size: 0.65rem;
}
.textHerbnb{
    color: #0e6a39;
}
.form-check-input:checked {
    background-color: #0e6a39;
    border-color: #0e6a39;
}

/* Titres */
.container-title, .container-search, .container-menu{
    max-width: 900px;
    /*min-width: 300px;*/
    margin: 0 auto 24px;
    text-align: left;
}
.proTitle .container-title{
    max-width:800px;
}
.logo-title{
    border-right: 1px solid #0e6a39;
    width: 7vw;
}
.div-title{
    width: calc(100% - 7vw)
}
.div-title p{
    margin-bottom: 0;
}
.wsTitle{
    color: #fff;
}

/* Publications */
#postsContainer > .card{
    min-height: 260px !important;
    height: auto !important;
}
#postsContainer div.card-text{
    min-height: 170px !important;
    overflow-y: scroll;
}
.wModalBtn .card{
    border-radius: 24px;
}
.wModalBtn .card-title{
    font-size: .9em;
}
.viewComments{
    cursor: pointer;
}
.comment.even{
    background: rgba(210,255,235,.2);
}
.comment.odd{
    background: rgba(240,255,240,.4);
}
.blockComment textarea{
    resize: none;
    height: 24px;
}
.listComments a {
    color: #0e6a39;
    text-decoration: none;
}
.pubContent{
    margin-top: -65px;
    background: linear-gradient(rgba(24, 22, 22, 0.9) 30%, rgba(36, 54, 41, 1) 80%);
}
.pubContent .picto{
    width: 22px;
    margin-right: 12px;
}
.descToggle{
    height: 0;
    max-height: 300px;
    overflow-y: scroll;
    transition: all .3s ease; 
}
.descToggle.active{
    height: auto;
}
.text-justify{
    text-align: justify;
}
.likeBtn:hover, .viewComments:hover, .shareBtn:hover{
    color: #0e6a39;
}
.wgtController{
    width: calc(100% - 21.5rem);
    height: 64px !important;
    margin-left: 3rem;
    margin-bottom: 120px;
    padding: 5px 24px !important;
}
.wgtController > a:hover{
    background-color: var(--bs-success-subtle);
}
.wgtController > a > img{
    height: 55px;
    padding: 12px;
}
.pubSearch{
    height: 50px !important;
}
/*
.wgtController .blockContent .note-editor{
    width: 100%;
    color: #222;
    background-color: transparent;
    border: none;
    padding: 12px 24px;
}
.wgtController .blockContent .note-editor{
    width: 100%;
    background-color: transparent;
    border: none;
    padding: 12px 32px;
}
.wgtController .blockContent .note-editor .note-toolbar{
    background-color: transparent;
}
.wgtController .blockContent .note-editor .note-placeholder, .wgtController .blockContent .note-editor .note-editable{
    padding: 2px 10px !important;
}
.wgtController .blockContent .note-editor .note-placeholder{
    color: #555;
}
.wgtController .blockContent .note-editor .note-editable p{
    margin-bottom: 4px;
}
.wgtController .blockContent .note-editor .note-editable p:last-child{
    margin-bottom: 0;
}
.wgtController .blockContent .note-editor .note-statusbar{
    display: none;
}*/

/* Embera */
.embera-embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    padding-bottom: 50%;
}
.embera-embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* autocomplete */
.autocomplete {
    position: relative;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  max-height: 200px;
  overflow-y: scroll;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}
/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}
/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

/* Masonry */
.grid-item { width: calc(25% - 8px); margin-bottom: 10px; }
.grid-item--width2 { width: 400px; }
.grid-item h4{ font-size: .85em; text-transform: initial; }
.grid-item .card-text{ font-size: .8em; }
.wModalBtn{cursor: pointer;}
.item-hidden{display: none;}

@media (max-width:1399px){
    .grid-item { width: calc(33.33% - 8px); margin-bottom: 10px; }
}
@media (max-width:991px){
    .grid-item { width: calc(50% - 8px); margin-bottom: 10px; }
}
@media (max-width:767px){
    .grid-item { width: calc(100% - 8px); margin-bottom: 10px; }
}

.grid-item .comments{
    background: rgba(255,255,255,85);
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
}