/* simgool stylesheet: one file (was main.css + 16 @import files, merged in the same order). */

/* ==================== header.css ==================== */


 
/* # General
================================ */


  
  /* # Header, Main Menu
  ================================ */
  
  
  /* # Hover Link Effect
  ================================ */
  
  
  /* # Section Full Width Image
  ================================ */
  

  /* ########### */

.user-actions {
    display: flex;
    justify-content: space-evenly;
    background-color: #060620;
  }

.card-tech{

    border: none;

    text-align: center;

    margin: 18px;

    padding: 3px;

}

.card-tech img{

    height: 50px;

    width: 50px;

}

.logo-message{
  color: #48ce66 !important;  
  font-size: 16px;
}

/* ==================== login.css ==================== */
.user_card {
    height: 450px;
    width: 350px;
    margin-top: auto;
    margin-bottom: auto;
    
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -moz-box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border: solid;
    border-color: #007bff;
    border-radius: 5px;
}
.brand_logo_container {
    position: absolute;
    height: 80px;
    width: 80px;
    top: -30px;
    border-radius: 50%;
    
    padding: 10px;
    text-align: center;
}
.brand_logo {
    height: 150px;
    width: 150px;
    border-radius: 50%;
    border: 2px solid white;
}
.form_container {
    margin-top: 20px;
}
.login_btn{
    width: 100%;
    background: #c0392b !important;
    color: white !important;
}
.login_container {
    padding: 0 2rem;
}
.input-group-text {
    background: #c0392b !important;
    color: white !important;
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: #c0392b !important;
}

.btn-login-signup{
    border-top: solid;
    border-top-color: #000;
}

/* ==================== style.css ==================== */
*{
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body{
    margin: 0px !important;
    

    

    background-color: #060620;
}

body .container{
    color: #fff;
    margin-bottom: 50px;
    
}

.u-user-username{
    color: rgb(178, 242, 247);
    text-decoration: none;
}

.text-site-container-wrapper {
    padding-top: 10px;
    padding-bottom: 50px;
}

/***************************************/
/***************** Header **************/

.top-nav-brand{
    margin-left: 2rem;
}

.dropdown-menu{
    min-width: 5rem;
    padding: 0;
    margin:0;
}

.dropdown-hover:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the gap so it doesn't close */
 }

.dropdown-item{
    cursor: pointer;
}

.user_menu{
    background-color: transparent;
    cursor: pointer;
    border: none;
    color: #fff;
}




/* *************************************************** */
/* ********************* SIGN UP ********************* */
body .signup{
    margin-top: 50px;
}



.sign-up-container{
    padding:20px;
    border: solid;
    border-color: #007bff;
    box-shadow: 0 0 1em #007bff;
}

.reset-pass-pass, .reset-pass-em{
    border:solid; 
    padding: 20px; 
    border-color: #007bff;
    box-shadow: 0 0 1em #007bff;
}

.errorMessage {
    display: block;
    color: red;
    font-size: 10px;
    margin-top: 20px;
}
/* ******************* END SIGN UP ******************* */
/* *************************************************** */

/* Display content */

.time-article{
    font-weight: 300;
    font-size: 14px;
    color: #dfdfdf;
}

.post-owner{
    color: #fff;
    font-size: 1.08em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 500;
    letter-spacing: normal;
}

.post-cat-aside{
    color: #101214;
    font-size: 1.2em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 700;
}

.post-title-aside a{
    display: block;
    font-size: 1.1em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.image img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
}

figure figcaption{
    display: block;
    
    text-align: center;
}

.image-wrapper{
    margin-top: 0;
}





.card-body {
    padding: 0.25rem;
}

/****************************************/
/* Button like post */
/*********** END button like post********/
/****************************************/

/****************************************/
/* Button like Comment */
.lik-cr, .dlik-cr{
    color:#007bff;
}

.no-likdlik-cmt{
    color: #000;
}
/********* END button like Comment ******/
/****************************************/

/*********** End Display content ********/
/****************************************/

  




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

.comment-textarea{
    display: block;
    min-width: 100%
}

.comment-text {
    max-width: 700px;
  }

.btn-send-comment{
    cursor: not-allowed;  
}

.handle-post-comment{
    display: flex;
    flex-direction: row-reverse;
}

.comment-section{
    background-color:#fff;
    transition: background-color 0.3s;
}

.comment-section:hover{
    background-color: rgba(29,161,242,0.1);
}

.like-cmt, .dislike-cmt{
    cursor: pointer;
}


.rmvCmt i{
    color: #fff;
}

/*********************************************************/
/***** Card aside */
.card-horizontal {
    display: flex;
    flex: 1 1 auto;
    margin-top: 5px;
}

.card-body-aside{
    text-align: left;
    margin: 0px 3px 0px 3px;
    padding: 0px;
    width: 70px;
    height: 70px;
}

.card-title-aside{
    font-size: 12px;
    font-weight: 400;
    margin: 0px;
    padding: 0px;
}

.card-text-aside{
    font-size: 10px;

    margin: 0px;
    padding: 0px;
}

.card-footer-aside{
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.display-aside-img:hover{
    background-color: #f6faf9;
    border-color: #f6faf9;
}


.nav-link.active {
    background-color: #edf0f3;
    border: none;
    border-bottom:2px solid #0062cc;
}

.nav-tabs{
    color: #6c757d;
    border: none;
}





/* ****************************************** */
/* Edit comment */
.medit-cmt, .mdelete-cmt {
    display: table;
    height:100%;
   }
   
.medit-cmt-table, .mdelete-cmt-table {
   display: table-cell;
   vertical-align: middle;
   }

/* Disable scrollbar */
.modal-open .modal { 
    overflow-y: hidden; 
} 
/* End Delete comment */
/* ****************************************** */

/* Handle text area */
.notReady{
    cursor:not-allowed;
}

/* ****************************************** */
/* list of post */

.post-list-title{
    color: #232a31;
    font-size: 1.15em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
}

.post-list-content{
    margin-top: -10px;
    margin-bottom: -10px;
}


.post-list-time{
    font-size: 0.8em;
    font-style: normal;
    letter-spacing: normal;
    font-weight: 300;
    color: #7a8994;
    margin-bottom: 10px;
}

/* Infos of the user in the User posts images for the public. */
.s-new-task{
    
    margin: 1px 0;
}

.p-user-info-wrapper {
    display: flex;
    flex-direction: row;
  }

.p-user-img-profile{
    width: 60px;
    height: 60px;
    padding: 5px;
}

.p-user-img-profile img{
    width: 100%;
    height: 100%;
}

.p-join-time-ago {
    font-size: 11px;
    font-weight: 200;
  }

.p-user-name-points {
    margin: auto 0;
  }

.p-user-name{
    font-size: 20px;
    font-weight: 700;
}

.p-user-nb-points{
    font-size: 20px;
}

.p-user-nb-follow{
    margin-left: auto;
}

.p-nb-following, .p-nb-followers{
    font-size: 14px;
    color: rgb(209, 209, 209);
}

.p-small-bio-wrapper{
    margin: auto;
    font-size: 15px;
}

.p-row-user-infos {
    padding: 1px;
    border: solid 1px;
    border-radius: 5px;
    margin: 0 1%;
  }

.btn-super-user-send-badge-info {
    margin-bottom: 20px;
}

/* Message confirm delete update, ... */
.jc-bs3-container.container {
    color: red;
    background-color: transparent !important;
  }

.jconfirm-type-default{
    color: #000;
}

/* ########################################## */
.contact-container-wrapper {
    border: solid 1px #007bff;
    margin: 10% 0;
    padding: 5% 3%;
    border-radius: 5px;
  }


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

/* ****************************************** */
/* ***************** Index ***************** */
/* ****** Background under construction **** */
/* To be removed */

    /* The image used */

    /* Full height */

    /* Center and scale the image nicely */


/* ****************** Index ***************** */
/* ****************************************** */



/* Home */

/* ==================== blogRedaction.css ==================== */


/* ==================== profile.css ==================== */
.page-u-pwd-edit, .page-u-details-edit{
    background: -webkit-linear-gradient(left, #28a745, #17a2b8);
    max-width: 35rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}
.profile-img{
    text-align: center;
}
.profile-img img{
    width: 70%;
    height: 100%;
}
.profile-img .file {
    position: relative;
    overflow: hidden;
    margin-top: -20%;
    width: 50%;
    border: none;
    border-radius: 0;
    font-size: 15px;
    background: #212529b8;
    cursor: pointer;
    margin-right: 39px;
}
.profile-img .file input {
    position: absolute;
    opacity: 0;
    right: 0;
    top: 10%;
    cursor: pointer;
}
.user-fn-ln{
    color: #007bff;
    font-size: 22px;
}
.div-joined-on, .div-nb-following, .div-nb-followers{
    color: #007bff;
}


.following-info, .followers-info{
    font-size: 14px;
    margin-top: 2px;
}
.nav-tabs-wrapper .nav-link{
    font-weight:600;
    border: none;
}
.nav-tabs-wrapper .nav-link.active{
    border: none;
    color: #0062cc;
    border-bottom:2px solid #0062cc;
    max-width: 100%;
    max-height: 100%;
}

.nav-tabs-wrapper{
    border: none;
    color: #0062cc;
    border-bottom:2px solid #6c6d6e;
}
.profile-tab label{
    font-weight: 600;
}
.profile-tab p{
    font-weight: 600;
    color: #0062cc;
}

.profile-tab{
    padding: 10px;
}

/****************** Edit password  ********************/
.row-edit-pwd{
    position: relative;
}

.edit-show-pwd-wrapper{       
    position: absolute;
    top: 6px;
    right: 17px;
}

.svg-img-eye, .svg-img-eye-slash{
    width: 18px;
    height: 18px;
}

.edit-show-pwd g, .edit-show-pwd-slash{ 
    color: #495057;
    fill: #495057;
}

/* ==================== hero.css ==================== */

/* ==================== uploadImage.css ==================== */
:root {


  --linear-gradiant-upload-start: #2d2d39;
  --linear-gradiant-upload-end: #4b4b6a;
}

.card {
  margin-top: 10px;
}

.upload-input-group {
  display: flex;
  justify-content: space-around;
  margin-bottom: 10px;
}

.input-group>.custom-select:not(:last-child), .input-group>.form-control:not(:last-child) {
  height: 45px;
}



.main-page-img-container-wrapper{
  background-color: #333348;
  
  font-size: 15px;
}


/*the container must be positioned relative:*/
.autocomplete-your-tag {
  position: relative;
  display: inline-block;
  width: 180px;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
  border-radius: 5px;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  color: #000;
}

.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; 
}

input#mySelectedTag{
  font-size: 15px;
}

.main-page-img-container{
  max-width: 50rem;
  border: 1px solid;
  border-color: #a35ea5;
  border-radius: 5px;
  background-color: #8a93b0;
  background: linear-gradient(to right, var(--linear-gradiant-upload-start), var(--linear-gradiant-upload-end));
  padding: 8px;
  margin-top: 10%;
  margin-bottom: 10%;
}

.card-add-imgs-wrapper{
  border: 1px solid rgb(148, 197, 197);
  background-color: #8a93b0;
  background: linear-gradient(to right, var(--linear-gradiant-upload-start), var(--linear-gradiant-upload-end));
}

.select-tags{
  justify-content: center;
}

.title-fill-tag{
  font-weight: 600;   
  color: rgb(242, 236, 236);  
  margin: 20px 0 3px 0;
}

/* ######################################################### */
/* Add image */
.file-drop-area {
  background: #4568dc;
  background: linear-gradient(to right, #4568dc, #b06ab3);
  color: #dcdced;
  position: relative;
  display: flex;
  align-items: center;
  width: 70%;
  padding: 25px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  transition: 0.2s;
  justify-content: space-evenly;
}

.btn-add-img, .btn-remove-img{
  width: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file-drop-area:hover {
  background-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(to left, #2342a7, #774d79);
  
}

.area-is-active {
  background-color: rgba(255, 255, 255, 0.05);
  background: linear-gradient(to right, #0a1845, #2f0531);
  
}

.icon-add-title-to-image{
  cursor: pointer;
}

.desc-added-to-image{
  color: #28a745 !important;
}

/* ####################################################### */

.fake-btn {
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  padding: 8px 15px;
  
  font-size: 15px;
}

.file-msg {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-input-img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.upload-input-img:focus {
  outline: none;
}

.post-more-option{
    float: right;
    margin-right: auto;
}

.editor-content-wrapper {
  background-color: #fff;
  border: solid;
  border-color: #fff;
  padding: 2px;
  margin-top: 35px;
  border-radius: 3px;
}

.btn-collapse-text-editor{
  cursor: pointer;
  display:block; 
  position: relative;
  display: inline-block;
  margin-right: 5px;
}

.toolip-more-desc{
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  font-size: 14px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.btn-collapse-text-editor:hover .toolip-more-desc{
  visibility: visible;
}

.btn-add-more-desc{
  width: 25px;
  height: 25px;
  margin-right: 5px;
}

.info-add-more-desc{
  width: 13px;
  height: 13px;
  margin-right: 5px;
}



.btn-upload-wrapper{
  display:block; 
  text-align: center;
}

/* **************************************** */
/* ******* LIST CHECK BOXES ********** */
.list-check-box-choices {
  max-width: 30rem;
  margin: auto;
  border: 1px solid rgb(148, 197, 197);
  padding: 5px;
}

.card-check-box-wrapper{
  margin: .2rem;
  background-color: #8a93b0;

}

.label-check-boxes{
  margin: 0;
  font-size: 12px;
}
/* **************************************** */

/* **************************************** */
/******** To have a nice button ************/
.upload-post-img, .update-post-img {
  border: 5em;
  cursor: pointer;
  outline: none;
  font-size: 16px;
  -webkit-transform: translate(0);
  transform: translate(0);
  background-image: linear-gradient(45deg, #4568dc, #b06ab3);
  padding: 0.7em 2em;
  border-radius: 65px;
  box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.438);
  -webkit-transition: box-shadow 0.25s;
  transition: box-shadow 0.25s;
  color: white;
}

.upload-post-img .text, .update-post-img .text {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(45deg, #4568dc, #b06ab3);
}

.upload-post-img:after, .update-post-img:after {
  content: "";
  border-radius: 18px;
  position: absolute;
  margin: 4px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background: #0e0e10;
}

.upload-post-img:hover, .update-post-img:hover {
  background-image: linear-gradient(-45deg, #4568dc, #b06ab3);
  box-shadow: 0 12px 24px rgba(128, 128, 128, 0.1);
}

.upload-post-img:hover .text, .update-post-img:hover .text {
  background-image: linear-gradient(-45deg, #4568dc, #b06ab3);
}
/* ******************** END *************************** */

.img-post-edit{
  max-height: 50px;
  max-width: 50px;
  object-fit: contain;
}

.loading-alert-message-wrapper {
  display: none;
  background-color: rgb(13, 13, 132);
  width: 130px;
  height: 130px;
  z-index: 99;
  position: absolute;
  background-color: rgba(4,5,5,0.8);
  margin: 20% 50%;
  color:#fff;
}

.loading-alert-message {
  margin: 25%;
}

/* Link display list tags */
.list-of-available-tags a{
  text-decoration: none;
  color: rgb(191, 203, 217);
}

.list-of-available-tags a:hover{
  color: rgb(94, 148, 209);
  text-decoration: underline;
}

/* ==================== displayImgs.css ==================== */
.img-vote{
    width:18px;
    height:18px;
}

.div-container-wrapper{
    cursor: pointer;
}

.img-was-voted{
    fill: #007bff;
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.img-save{
    fill: #fff;
}

.img-post-is-saved{
    fill: #007bff;
}

.img-vote:hover, .img-comment:hover path, .img-cmt-post-sm:hover path, .like-cmt:hover, .dislike-cmt:hover{
    fill: #007bff;
    transform: scale(1.2);
}


.lik-cr, .dlik-cr{
    color: #007bff;
}

.no-likdlik-cmt{
    color: #fff;
}

.vote-container-wrapper{
    padding-right: 3px;
    padding-left: 3px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.vote-container-wrapper .sticky-vote-block{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 20%;
}

.icon-container-wrapper-redisposition{
    display: flex;
    justify-content: space-around;
}

.nbcomment-container-wrapper-sm{
    display: flex;
}

.vote-and-score-wrapper{
    display: flex;
}

.vote-and-score-wrapper div{
    margin-right: 10px;
}


.file-display-aside{
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.image-post-container-wrapper{
    position: relative;
}

.img-counter {
  position: absolute;
  font-size: 0.8rem;
  top: 1px;
  left: 2px;
  color: #26eaea;
  z-index: 100;
}

.title-wrapper{
    color: #fff;
    font-size: 1.5em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.2;
    word-break: break-word;
}

.image-post-presentation{
    
    background-color: transparent;
    text-align: left;
    margin-left: 1px;
    transition: all 0.5s ease;
    z-index: 0;
    border: none;
}

.image-post-presentation:hover{
    display: block;
    background-color: #323a43;
    text-align: left;
    margin-left: 1px;
    border-color:#323a43;
}

.main-img-post{
    max-width: 500px;
    max-height: 500px;  
    object-fit: contain;
}

.video-post-tag-wrapper{
    width: 100%;
    max-height: 600px;  
    object-fit: contain;
}


.display-aside-img{
    cursor: pointer;
}

/* More text about the images */
.img-text-wrapper {
    word-break: break-word;
}

.read-more-post-descr{
    color: #dc3545;
    text-decoration:underline solid #8a1b26 1px; 
    font-size: 12px;
}

.display-text-container{
    position: relative;
    padding-right: 5px;
    padding-left: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.post-info-wrapper{
    padding-left: 0;
    display: flex;
    flex-direction: row;
}

.img-post-owner{
    width: 45px; 
    height: 45px;
}

.profil-post-owner{
    max-width: 100%;
    max-height: 100%;
    min-width: 30px;
}

.btn-follow-user{
    cursor: pointer;
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    padding: .200rem .50rem;
    margin-left: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-follow-user:hover{
    background-color: #505b65;
    border-color: #505b65;
}


.btn-user-followed{
    border: 2px solid rgb(393, 6, 255);
    border: 2px solid rgba(93, 6, 255, 0.7);
    -webkit-background-clip: padding-box; /* for Safari */
    background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */

    background-color: rgba(16, 9, 65);
    background-color: rgba(16, 9, 65, 0.8);
}

.post-posted-on{
    color: #fff !important;
    font-size: 14px;
}

.report-post-img-wrapper {
    position: absolute;
    right: 2rem;
    z-index: 5;
    cursor: pointer;
}

.report-post-img-wrapper svg{
    width: 20px;    
    height: 20px;
}

.reported-post-img-wrapper{
    color: rgb(84, 3, 14);  

    font-weight: 600;
}

.reported-post-img-wrapper:hover{
    color: rgb(58, 3, 11);  

    font-weight: 600;
}

.btn-report-img-post{
    background-color: #fff;
    border: none;
}

.select-reporting-reason input{
    margin: .4rem;
}

.tab-post-trend ul{
    width: 100%;
    display: table;
    table-layout: fixed;
}
  
.tab-post-trend ul li{
    display: table-cell;
    width: 50%; /* Because there are 2 elements inside the list */
    text-align: center;
}

/* ********************************************** */
/* ******************* Tags ********************* */
.label-display-tag{
    cursor: pointer;
    margin-bottom: 0;
    padding: 3px;
}

/* String tag name */
.tag-to-post-img{
    color: #fff;
}


.card-display-tag-wrapper{
    border: 0;
    background-color: transparent !important;
}

.dashbord-user-badges{
    margin: 15px 0;
}

.card-body-display-tag{
    cursor: pointer;
    color: #fff;
    background-color: #240a54;
    border-color: #240a54;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    padding: .200rem .50rem;
    margin-left: 1rem;
    font-size: 12px;
    font-size: calc(12px + 0.1vw);
    line-height: 1.5;
    border-radius: 1rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.card-body-display-tag:hover{
    background-color: #18043d;
    border-color: #18043d;
}

/* ********************************************** */
.top-temp-message-container{
    position: fixed;
    top: 0;
    left: 50%;
    transform: translate(-50%,50%);
    background-color: #0d0725;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid rgb(2,44,43);
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    display: none;
    max-width: 30rem;
    min-width: 250px;
    text-align: center;
    z-index: 99 !important;
}

.message-container-wrapper {
    position: relative;
}

.close-message-box {
    position: absolute;
    right: -12px;
    top: -22px;
    cursor: pointer;
    color: #eb9f9f;
}

.display-tags-post-container{
    margin-bottom: 20px;
}

.post-info-container{
    display: flex;
    justify-content: space-around;
}

.post-img-container-wrapper{
    display: block;
    position: relative;
}



.post-img-container-wrapper .nb-images {
    position: absolute;
    right: 6px;
    top: 0px;
    background-color: #efecf2;
    border-radius: 0 0 5px 5px;
    border-color: #efecf2;
    padding: 3px;
    color: #080341;
}

.display-another-post {
    margin: 5px 0 10px 0;
    cursor: pointer;
}

.display-another-post:hover {
    background-color: #404954;
}



/* ****************************************************** */
/* **************** Card post img (sm) ********************** */
.card.card-post-img-sm {
    background-color: #232a31;
}

.card-post-info-container-sm {
    display: flex;
    justify-content: space-around;
    color: #fff;
    font-size: 12px;
    background-color: #232a31;
    padding: 4px;
    border-top: 1px solid #fff;
}
.profil-post-owner-sm{
    max-width: 30px;
    max-height: 30px;
    min-width: 20px;
}

.post-posted-on-sm {
    color: #fff !important;
    font-size: 12px;
}

.post-owner-un-sm{
    color: #fff;    
    font-size: 14px;
}

.img-card-post-title-sm{
    color: #fff;
    font-size: 1em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.2;
    word-break: break-word;
    margin-top: 8px;
}

.eye-views{
    width: 14px;
    height: 14px;
    fill: #fff;
}

.img-vote-post-up, .img-vote-post-down, .img-cmt-post-sm{
    cursor: pointer;
    width: 14px;
    height: 14px;
}

.img-upvote, .img-downvote, .img-comment path{
    fill: #fff;
}

.img-was-voted{
    fill: #007bff;
}

.img-vote-post-up:hover, .img-downvote:hover, .img-view-score-sm:hover .img-view-score-sm g{
    fill: #007bff;
    transform: scale(1.2);
}

.img-cmt-score-sm path {
    fill: #fff;
}

.img-view-score-sm g{
    fill: #fff;
}

.share-icon-sm, .img-share {
    width: 14px;
    height: 14px;
    fill: #fff;
    cursor: pointer;
}

.card-post-info-wrapper-sm{
    display: flex;
    flex-direction: row;
    background-color: #232a31;
    border-bottom: 1px solid #fff;
    padding: 4px;
}

.img-card-post-title{
    color: #232a31;
    font-size: 1.15em;
    font-stretch: normal;
    font-style: normal;
    font-weight: 500;
    letter-spacing: normal;
    margin: 2px;
}


.img-card-post-time{
    font-size: 0.7em;
    font-style: normal;
    letter-spacing: normal;
    font-weight: 300;
    color: #7a8994;
}

.img-view-score svg{
    width: 20px;
    height: 20px;
}

.img-cmt-score svg, .img-like-score svg{
    width: 14px;
    height: 14px;
    fill: #fff;
}

.img-cmt-score svg:hover, .img-like-score svg:hover{
    width: 15px;
    height: 15px;
    fill: #007bff;
}

.card-post-info-container{
    display: flex;
    flex-direction: row;
    background-color: #232a31;
    padding: 4px;
    justify-content: space-around;
    color: #fff;
}
/* ****************************************************** */

/************************ comment section ******************/
.main-btn-reply{
    color: #fff;
    background-color: #2d2d39;
}

/* Create with jQuery */
.horLine{
    width:100%;
    text-align:left;
    margin-left:0;
}


.reported-post-cmt-wrapper{
    color: rgb(84, 3, 14);  

    font-weight: 600;
}

.reported-post-cmt-wrapper:hover{
    color: rgb(58, 3, 11);  

    font-weight: 600;
}

.cr-nb-like, .cr-nb-dlike  {
    color: #fff;
}

.loginToCmt{
    background-color: #2d2d39;
}

.main-display-nb-cmt {
    margin: 0 0 15px 15px;
    padding: 0 2px;
}


.btn-user-edit-cmt{
    color: #28a745 ;
}

.btn-user-edit-cmt i {
    margin-right: 10%;
}

.btn-user-delete-cmt, .btn-user-delete-cmt i{
    color: #dc3545;
}

.btn-user-delete-cmt i{
    margin-right: 10%;
}

.btn-cancel-comment{
    color: #fff;
    background-color: #2d2d39;
}

/* ************************************************************ */
/* Displaying images in slideshow, whenn there are more than 3. */
.mySlides-post-img {display: none}
.mySlides-post-img img {vertical-align: middle;}

/* Slideshow container */
.slideshow-post-img-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.width-for-slide-rsc{
    width: 100%;
}

/* Next & previous buttons */
.prev-post-img, .next-post-img {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

a:not([href]) {
    color: rgb(6, 6, 32);
}


/* Position the "next button" to the right */
.next-post-img {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-post-img:hover, .next-post-img:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Caption text */
.text-caption-post-img {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot-post-img {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-post-img, .dot-post-img:hover {
  background-color: #717171;
  border: solid;
}

/* Fading animation */
.fade-post-img {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev-post-img, .next-post-img,.text {font-size: 11px}
}

/* *************************************************** */
/* Collapse div */
.collabs-info-replies {
    
    color: #fff;
    cursor: pointer;
    padding: 0 5px;
    
    border: none;
    text-align: left;
    outline: none;
    font-size: 12px;
    margin: 5px 0 0 0;
  }
  
  .collapse-replies-active, .collabs-info-replies:hover {
    

    background-color: #30303b;
    color: rgb(245, 245, 245);
  }
  
  .collabs-info-replies:after {
    content: '\002B';
    color: #fff;
    font-weight: bold;
    float: right;
    margin-left: 5px;
  }
  
  .collabs-info-replies.active:after {
    content: '\2212';
  }
  
  .block-reply-thread {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
  } 

/* **************************************************** */
/* ###################################################### */
/* Input search field. Searching for user */
/*the container must be positioned relative:*/
.autocomplete-user {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
  }

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

  .btn-search-for-specific-user {
    position: absolute;
    z-index: 9;
    margin-top: 4px;
    margin-left: -45px;
  }
  /* ############## End searching for user ################## */
  /* ############################################################ */
  .your-hidden-post {
    color: #fff;
    font-size: 15px;
    background-color: #007bff;
    padding: 2px;
    border-radius: 3px;
  }
   /* ############## End Info sor hidden post ################## */
  /* ############################################################ */

/* ==================== textEditor.css ==================== */
.btn-editor-control-wrapper {
  background-color: #343a40;
  border-color: #343a40;
  padding: 7px;
  border-radius: 10px;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.btn-editor-control .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 2px 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  font-size: calc(7px + 1vw);
}
  
.btn-editor-control .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.btn-editor-control:hover .tooltiptext {
  visibility: visible;
}

.btn-editor-control:hover {
  visibility: visible;
  color:  #fff;
  box-shadow: 2px 2px 2px #aaaaaa;
  background-color:  #343a40;
}
  
.btn-editor-control{
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
  margin: 2px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  padding: .375rem .75rem;
  font-size: 0.7rem;
  font-size: calc(5px + 1vw);
  padding: calc(1px + 0.5vw);
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}




/* CSS texteditor */
.body-write-content{
  min-height:200px; 
  width:100%; 
  border:2px solid #007bff;
  font-size:19px; 
  line-height:30px; 
  font-family:Arial,Helvetica,sans-serif;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  word-break: break-all;
}


.body-write-content:focus {
  -webkit-box-shadow: 0 0 3px 2px #007bff;
  -moz-box-shadow: 0 0 3px 2px #007bff;
  box-shadow: 0 0 3px 2px #007bff;
}

.H1 {
  display: block;
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.H2 {
  display: block;
  font-size: 1.5em;
  margin-top: 0.83em;
  margin-bottom: 0.83em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.H3 {
  display: block;
  font-size: 1.17em;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

.H4 {
  display: block;
  font-size: 1em;
  margin-top: 1.33em;
  margin-bottom: 1.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}



.H5 {
  display: block;
  font-size: .83em;
  margin-top: 1.67em;
  margin-bottom: 1.67em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}


.H6 {
  display: block;
  font-size: .67em;
  margin-top: 2.33em;
  margin-bottom: 2.33em;
  margin-left: 0;
  margin-right: 0;
  font-weight: bold;
}

/* ==================== upHeader.css ==================== */

/* ==================== sharedSocialMedia.css ==================== */
/* ************ Shared buttons *************** */

/* Share Buttons */
.share-icons{
  position: relative;
  display: inline-block;
}

.js-list-shared-icons a:hover, .js-list-shared-icons span:hover {
  transform: scale(1.2);
}
/* ************************************* */
/* left tooltip */
.list-shared-iconsa{
  visibility: hidden;
  
  background-color: #fff;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px;
  position: absolute;
  z-index: 10;
  top: -5px;
  left: 110%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.list-shared-iconsa::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.share-icons:hover .list-shared-iconsa {
  visibility: visible;
}
/* *********************************************** */

/* ************************************************ */
/* *******  top tooltip  ******** */
.list-shared-iconsb {
  visibility: hidden;
  width: 160px;
  background-color: #fff;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 10;
  bottom: 90%;
  right: -25%;
  
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.list-shared-iconsb::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 90%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.share-icons:hover .list-shared-iconsb {
  visibility: visible;
}
/* ************************************************* */

.share-btn-container{
    display: flex;  
    flex-direction: row-reverse;
}

.img-share-icon{
  width: 20px;
  height: 20px;
}

.share-btn-container a {
  margin: 7px 0;
  padding: 7px;
  transition: 500ms;
}

.share-btn-container a:hover {
  transform: scale(1.2);
}

.share-btn-container .fa-facebook {
  color: #3b5998;
}

.share-btn-container .fa-twitter {
  color: #1da1f2;
}

.share-btn-container .fa-linkedin {
  color: #0077b5;
}

.share-btn-container .fa-pinterest {
  color: #bd081c;
}

.share-btn-container .fa-whatsapp {
  color: #25d366;
}

/* *********** End Shared buttons ************ */

/* ==================== user-dashbord-css.css ==================== */
:root {
    --sidebar-width: 78px;
}


.img_profil img{
    width: 24px;
    height: 24px;
}

.table-users-img-app{
    color: #fff;
}

/* ==================== udashbord.css ==================== */
:root {
    --rotation-value: 100deg;
    --u-dashbord-time-font-size: 12px;
    --u-dashbord-time-color: rgb(206, 206, 206);
}

.dashbord-wrapper .dropdown-btn-user-action{
  background-color: #3d3d4d;
  color: #fff;
}

/* User info */
.dashbord-wrapper .u_name{
  font-size: 1em;
  font-weight: 700;
}

.dashbord-wrapper .join_on {
  font-size: 0.8em;
  color: #f0f3f4;
}

.user-dashbord-n-d-ff .follow, .user-dashbord-n-d-ff .follower{
  font-size: 0.9em;
}

.u-post-table-content{
  color: #fff;
}

.dashbord-wrapper .dashbord-user-bio{
  border: solid 2px;
  border-radius: 15px;
  padding: 5px;
  margin: 10px auto;
  font-size: calc(13px + 0.1vw);
  max-width: 300px;
}

.dashbord-user-small-bio{
  margin: 10px 10px -10px 20%;
    margin-top: 10px;
    margin-right: 10px;
    margin-bottom: -10px;
    margin-left: auto;
  font-size: calc(13px + 0.1vw);
  max-width: 300px;
  display: block;
}


/* Nb of points of the user */
/* ****************************** */
.user-profile-img-dashbord img{
  width: 50%;
}

.user-dashbord-n-d-ff {
  width: 100%;
  text-align: center;
}

.circle_container_nb_points{
  position: relative;
}



.dashbord-user-points{
  background-color: #383847;
  padding: 20px;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
}

.broad-cmt-post-info-wrapper{
  background-color: #383847;
  padding: 20px 0;
  font-size: calc(13px + 0.1vw);
}

/* (height of circle_nb_points - height of next-circle)/2 */
/* (width of circle_nb_points - width of next-circle)/2 */



/* User card infos */

.small-card-user-nb-points {
  display: block;
  font-size: 12px;
  color: #8f8f8f;
}



.circle_container_nb_points {
  width: 150px; 
  height: 150px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center; 
  justify-content: center;
  position: relative;
  background-color:#ffd531;
  background-image:
    radial-gradient(
      circle closest-side,
      yellow,
      #f06d06
    );
}

.str_nb_points{
  font-size: 25px;
  display: flex; /* or inline-flex */
  align-items: center; 
  justify-content: center;
}


.user_nb_points {
  color: #570fdb;
  z-index: 999;
  font-size: 25px;
}

.u-dashbord-profile-hr {
  color: #383847;
  background-color: #383847;
  border: solid;
  width: 100%;
  height: 1px;
}

/* ********************************** */ .comments-info{
  width: 200px;
  border: solid 1px;
}

.dashbord-wrapper .post-top-bloc, .dashbord-wrapper .cmt-top-bloc{
  text-align: center;
}

.dashbord-posts_str {
  border-bottom: solid 1px;
} .cmt-down-bloc{
  display: flex;
  justify-content: space-around;
  background-color: #383847;;
}

.post-down-left, .cmt-down-left{
  background-color: #383847;
  width: 100%;
  text-align: center;
}

.post-down-right, .cmt-down-right{
  background-color: #3d3d4d;
  width: 100%;
  text-align: center;
}

/* ************************************ */
/* Toolip info about user img */
.u-img-info-icon-wrapper {
  cursor: pointer;
}

.u-img-info-icon-wrapper {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.u-img-info-icon-wrapper .u-img-info-text {
  visibility: hidden;
  min-width: 100px;
  max-width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 0px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.u-img-info-icon-wrapper:hover .u-img-info-text {
  visibility: visible;
}

.u-img-time-cmt-text{
  font-size: var(--u-dashbord-time-font-size);
  color: var(--u-dashbord-time-color);
}

.u-dashbord-post-info-vote{
  font-size: calc(10px + 0.1vw);
  color: rgb(206, 206, 206);
}

/* End toolip img info */
/* **************************************** */
.img-info-upload-date{
  font-size: 9px;
}

.img-info-upload-title{
  font-size: 11px;
}

/* Previous and next loaded images */
.previous-loaded-img-wrapper, .next-loaded-img-wrapper{
  display: block;
  width: 100%;
  text-align: center;
  background-color: #0d4a8b;
  cursor: pointer;
  color: #fff;
}

.previous-loaded-img-wrapper:hover, .next-loaded-img-wrapper:hover{
  text-decoration: none;
}

.u-dashbord-post-title{
  font-size: calc(12px + 0.1vw);
}

.u-info-dashbord-pub{
  display: flex;
}

.u-nb-of-post-joined {
  display: flex;
}

.u-dashbord-pub-profile {
  margin-right: 5px;
}

.u-nb-of-post-dashbord {
  display: flex;
}

.u-home-dashbord-joined-on, .u-nb-of-post-joined{
  font-size: var(--u-dashbord-time-font-size);
  color: var(--u-dashbord-time-color);
  margin-top: 2px;
}

/* *************************************************** */
/* Collapse div */
 .collapsible {
  background-color: #040e20;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  margin: 5px 0 0 0;
}

.collapse-active, .collapsible:hover {
  background-color: #223a63;
}

.collapsible:after {
  content: '\002B';
  color: #fff;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.collapsible.active:after {
  content: '\2212';
}

.collapse-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
} 
/* **************************************************** */

/* ***************************************************** */
/* Sidepanel in User dashbord */
/* When the screen is less than 700 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */

/* ********************************* */
/* Comment to all screens */
.row-user-content-panel{
  position: relative;
  min-height: 400px;
}

.user-request-wrapper:hover, .userSidenav a:focus{
  
  color: #3d3d4d;
}

.user-request-wrapper:hover{
  
  color: #3d3d4d;
}




.icon-user-open-nav{
  font-size: calc(12px + 1vw);
  cursor:pointer;
}

.userSidenav a {
  padding: 8px;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
  display: block;
  transition: 0.3s;
}



/* For small screen */
@media screen and (max-width: 800px) {
  .userSidenav {
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    padding: 20% 0 0 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }
  



  .userSidenav .closebtn {
    position: absolute;
    top: -20px;
    right: 45px;
    font-size: 60px;
  }
}

/* For Desktop screen */
@media screen and (min-width: 800px) {
  .userSidenav {
    height: 100%;
    width: 250px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }

  .userSidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
  }

  #container-user-sidenav {
    transition: margin-left .5s;
    padding: 16px;
    margin-left: 250px;
  }
}
/* ******************************************* */

.table-user-post{
  background-color: #08488e;
}

.db-user-own-post-action {
  color: #fff;
  background-color: transparent;
  border: none;
}

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

.select-user-img-delete{
  color: #dc3545;
}

.select-user-img-delete i{
  margin-right: 15%;
}

.select-user-img-delete:hover{
  color: #dc3545;
}

.select-user-img-display a:hover{
  text-decoration: none;
}

.select-user-img-display i{
  margin-right: 15%;
}

.select-user-img-edit{
  color: #28a745 ;
}

.select-user-img-edit:hover{
  color: #28a745 ;
}

.select-user-img-edit i{
  margin-right: 15%;
}

.select-user-img-move{
  color: #6c757d;
}

.select-user-img-move i{
  margin-right: 15%;
}

.select-user-img-hide input{
  margin-right: 15%;
}

.select-user-img-private input{
  margin-right: 15%;
}

.user-request-wrapper.active{
  background-color: #fff;
  border-radius: 5px;
  margin: 0 3px;
  color: #383847;
}

.user-request-wrapper.active .img-icon-udashbord{
  fill: #383847;
}

.img-icon-udashbord{
  width:18px;
  height:18px;
  fill: #fff;
}

.show-badge-description-wrapper {
  position: absolute;
  bottom: 30px;
  display: none;
  background-color: #fff;
  color: #240a54;
  padding: 2px;
  border-radius: 4px;
}


.list-user-directories {
  display: flex;
}

.udir-wrapper {
  margin: 3px;
}

.nb-elts-in-dir {
  position: absolute;
  margin-top: -20px;
  background-color: #007bff;
  border-radius: 10px;
  padding: 1px;
  margin-left: -15px;
}




/* ==================== write_a_post.css ==================== */
/* Select an image in the write_a_post website */
.aaecb156 {
    display: none;
}

.custom-file-upload-written-article {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}

/* **************************************** */
/******** To have a nice button ************/
.upload-written-article, .update-written-article, .add-new-img-content {
    border: 5em;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    -webkit-transform: translate(0);
    transform: translate(0);
    background-image: linear-gradient(45deg, #4568dc, #b06ab3);
    padding: 0.2em 1em;
    border-radius: 65px;
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.438);
    -webkit-transition: box-shadow 0.25s;
    transition: box-shadow 0.25s;
    color: #fff;
  }

  .add-new-img-content span{
    color: #fff;
  }
  
  .upload-written-article .text, .update-written-article .text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(45deg, #4568dc, #b06ab3);
  }
  
  .upload-written-article:after, .update-written-article:after, .add-new-img-content::after {
    content: "";
    border-radius: 18px;
    position: absolute;
    margin: 4px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
    background: #0e0e10;
  }
  
  .upload-written-article:hover, .update-written-article:hover, .add-new-img-content:hover {
    background-image: linear-gradient(-45deg, #4568dc, #b06ab3);
    box-shadow: 0 12px 24px rgba(128, 128, 128, 0.1);
  }
  
  .upload-written-article:hover .text, .update-written-article:hover .text {
    background-image: linear-gradient(-45deg, #4568dc, #b06ab3);
  }
  /* ******************** END *************************** */

  /* CSS texteditor */
.body-write-content-article{
    min-height:200px; 
    width:100%; 
    border:2px solid #007bff;
    font-size:19px; 
    line-height:30px; 
    font-family:Arial,Helvetica,sans-serif;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    word-break: break-all;
  }
  
  
  .body-write-content-article:focus {
    -webkit-box-shadow: 0 0 3px 2px #007bff;
    -moz-box-shadow: 0 0 3px 2px #007bff;
    box-shadow: 0 0 3px 2px #007bff;
  }

  .related-content-articles div{
    margin: 10px 0 0 2%;
  }
  

  .count-nb-word-wrapper {
    color: #333348;
    text-align: end;
  }
  /* *************** END text editor *************** */

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

.select-user-article-delete{
  color: #dc3545;
}

.select-user-article-delete i{
  margin-right: 15%;
}

.select-user-article-delete:hover{
  color: #dc3545;
}

.select-user-article-display a:hover{
  text-decoration: none;
}

.select-user-article-display i{
  margin-right: 15%;
}

.select-user-article-edit{
  color: #28a745 ;
}

.select-user-article-edit:hover{
  color: #28a745 ;
}

.select-user-article-edit i{
  margin-right: 15%;
}

.db-user-own-article-action, .btn-super-user-actions{
  background-color: transparent;
  border: none;
  color: #fff;
}

/* ==================== show_written_post.css ==================== */
figure img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 500px;
    height: 50%;
    max-height: 400px;
}

figure figcaption{
    display: block;
    
    text-align: center;
    font-size: calc(6px + 1vw)
}


.table-list-tags td, .table-list-tags th{
    border-top: 0;
}

.blog-content-wrapper {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    background-color: #132139;
    color: #fff;
    font-size: calc(0.70em + 1vmin);
    
  }
  @media (min-width: 768px) {
    .blog-content-wrapper {
      width: 750px;
    }
  }
  @media (min-width: 992px) {
    .blog-content-wrapper {
      width: 970px;
    }
  }
  @media (min-width: 1200px) {
    .blog-content-wrapper {
      width: 1170px;
    }
}

.card-link-aside-article{
    background-color: #132139;
    color: #fff;

    
}

.card-link-aside-article a{
    color: rgb(221, 213, 235);
}

/* ==================== theme (Phase 3) ==================== */
/* Deep-space base, glass surfaces, green = actions, cyan = links/focus/tags.
   Every colour comes from the tokens below; the rules restyle the existing class names only. */
:root {
  --sg-bg: #070818;
  --sg-bg-2: #0b0e2b;
  --sg-surface: rgba(255, 255, 255, .055);
  --sg-surface-2: rgba(255, 255, 255, .09);
  --sg-solid: #11143a;
  --sg-line: rgba(255, 255, 255, .12);
  --sg-line-strong: rgba(255, 255, 255, .22);
  --sg-text: #eef0fa;
  --sg-muted: #a7adc8;
  --sg-green: #48ce66;
  --sg-green-hover: #5ad977;
  --sg-green-ink: #04170b;
  --sg-green-soft: #a5f0b7;
  --sg-cyan: #38d3f2;
  --sg-cyan-soft: #a6ecfa;
  --sg-danger: #ff7a7a;
  --sg-warn: #ffb547;
  --sg-r: 12px;
  --sg-r-lg: 16px;
  --sg-r-xl: 24px;
  --sg-pill: 999px;
  --sg-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  --sg-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark; /* native controls and scrollbars in dark */
}

/* ---------- Base ---------- */
html, body { background-color: var(--sg-bg); color: var(--sg-text); }
body { font-family: var(--sg-font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--sg-cyan); }
a:hover { color: #8be6f8; }
a:not([href]) { color: inherit; }
hr { border-color: var(--sg-line); }
::selection { background: rgba(56, 211, 242, .35); }
body .container { color: var(--sg-text); }
.text-muted, .text-white-50 { color: var(--sg-muted) !important; }
.text-accent { color: var(--sg-cyan); }
.brand-name { color: var(--sg-green); font-weight: 700; }
:focus-visible { outline: 2px solid var(--sg-cyan) !important; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sg-panel { background: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); margin: 12px 0; }
.badge-reported { display: inline-block; padding: 2px 10px; border-radius: var(--sg-pill); background: rgba(255, 122, 122, .14); border: 1px solid rgba(255, 122, 122, .4); color: var(--sg-danger); font-size: 12px; font-weight: 600; }

/* ---------- Navigation ---------- */
.site-nav { position: sticky; top: 0; z-index: 1030; background: rgba(7, 8, 24, .82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--sg-line); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-nav { background: rgba(7, 8, 24, .97); } }
.site-nav-home { position: relative; } /* home: the tag cards are in the header, so it scrolls away */
html { scroll-padding-top: 80px; }      /* #anchors land below the sticky header */
.site-nav-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; min-height: 64px; padding: 8px 24px; }
.site-nav-logo { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; text-decoration: none; }
.site-nav-logo:hover { text-decoration: none; }
.site-nav-logo img { border-radius: 10px; }
.site-nav .logo-message { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.site-nav .add-new-img-content { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--sg-pill); background: var(--sg-green); background-image: none; color: var(--sg-green-ink); font-weight: 600; box-shadow: none; text-decoration: none; transition: box-shadow .2s, background-color .2s; }
.site-nav .add-new-img-content::after { display: none; }
.site-nav .add-new-img-content span { color: inherit; }
.site-nav .add-new-img-content:hover { background: var(--sg-green-hover); box-shadow: 0 0 0 4px rgba(72, 206, 102, .22); color: var(--sg-green-ink); }
.site-nav-spacer { flex: 1 1 auto; }
.site-nav-search { flex: 1 1 260px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.site-nav-search .autocomplete-user { position: relative; display: block; width: min(380px, 100%); margin: 0; }
.site-nav-search #myInputUser { width: 100%; height: 40px; padding: 0 16px; border-radius: var(--sg-pill); }
.site-nav-search .btn-search-for-specific-user { position: static; margin: 0; width: 40px; height: 40px; padding: 0; border-radius: var(--sg-pill); display: inline-flex; align-items: center; justify-content: center; }
.site-nav-user.user-actions { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; background-color: transparent; }
.site-nav .user_menu { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--sg-pill); background: var(--sg-surface-2); border: 1px solid var(--sg-line); color: var(--sg-text); font-weight: 600; }
.btn-login-signup { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: var(--sg-pill); border: 1px solid var(--sg-line-strong); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn-login-signup:hover { text-decoration: none; }
.btn-login { color: var(--sg-text); }
.btn-signup { margin-left: 8px; background: var(--sg-green); border-color: var(--sg-green); color: var(--sg-green-ink); }
.btn-signup:hover { background: var(--sg-green-hover); color: var(--sg-green-ink); }
.site-nav-tags { background: transparent; padding: 0 16px 8px; }
.site-nav-tags .navbar-toggler { border-color: var(--sg-line-strong); }
.card-tech { margin: 6px; padding: 0; background: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: 14px; min-width: 120px; transition: transform .2s, border-color .2s; }
.card-tech a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 14px; color: var(--sg-text); text-decoration: none; }
.card-tech .card-body { padding: 0; background: transparent; }
.card-tech img { width: 36px; height: 36px; padding: 5px; background: #eef1f8; border-radius: 10px; } /* the icons are dark: light tile behind them */
.card-tech .tech-soft { font-size: 14px; font-weight: 600; }
.card-tech .tech-soft + .tech-soft { font-size: 12px; font-weight: 400; color: var(--sg-muted); }
.card-tech:hover { border-color: rgba(56, 211, 242, .5); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 40px; padding: 18px 24px; border-top: 1px solid var(--sg-line); background: rgba(255, 255, 255, .03); font-size: 14px; }
.site-footer-copy { color: var(--sg-muted); font-size: 13px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--sg-pill); font-weight: 600; }
.btn-primary, .btn-success,
.btn-primary:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled):active { background-color: var(--sg-green); border-color: var(--sg-green); color: var(--sg-green-ink); }
.btn-primary:hover, .btn-primary:focus, .btn-success:hover, .btn-success:focus { background-color: var(--sg-green-hover); border-color: var(--sg-green-hover); color: var(--sg-green-ink); box-shadow: 0 0 0 4px rgba(72, 206, 102, .22); }
.btn-secondary, .btn-light, .btn-dark, .btn-default, .btn-info,
.btn-secondary:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled):active { background-color: var(--sg-surface-2); border-color: var(--sg-line); color: var(--sg-text); }
.btn-secondary:hover, .btn-light:hover, .btn-dark:hover, .btn-default:hover, .btn-info:hover { background-color: rgba(255, 255, 255, .14); border-color: var(--sg-line-strong); color: var(--sg-text); }
.btn-danger, .btn-danger:not(:disabled):not(.disabled):active { background-color: rgba(255, 122, 122, .12); border-color: rgba(255, 122, 122, .38); color: var(--sg-danger); }
.btn-danger:hover { background-color: rgba(255, 122, 122, .2); color: var(--sg-danger); }
.btn-primary:disabled, .btn-primary.disabled, .btn-success:disabled { background-color: var(--sg-green); border-color: var(--sg-green); color: var(--sg-green-ink); }
.btn-info:focus, .btn-secondary:focus, .show>.btn-info.dropdown-toggle, .show>.btn-secondary.dropdown-toggle { background-color: var(--sg-surface-2); border-color: var(--sg-line); color: var(--sg-text); }
.btn-group>.btn.btn-nav-item { border-radius: var(--sg-r) !important; }
.profile-img .file { background: var(--sg-green); }
.btn-warning { background-color: rgba(255, 181, 71, .14); border-color: rgba(255, 181, 71, .4); color: var(--sg-warn); }
input[type=submit] { background-color: var(--sg-green); color: var(--sg-green-ink); border-radius: var(--sg-pill); font-weight: 600; }
.btn.btn-primary.btn-nav-item { min-width: 44px; border-radius: var(--sg-r); background-color: var(--sg-surface-2); border-color: var(--sg-line); color: var(--sg-text); }
.btn.btn-primary.btn-nav-item:hover { background-color: var(--sg-green); border-color: var(--sg-green); color: var(--sg-green-ink); }
.login_btn { background: var(--sg-green) !important; color: var(--sg-green-ink) !important; border-radius: var(--sg-pill); font-weight: 600; }
.upload-post-img, .update-post-img, .upload-written-article, .update-written-article { background: var(--sg-green); background-image: none; color: var(--sg-green-ink); border: 0; border-radius: var(--sg-pill); padding: .65em 1.8em; font-weight: 600; box-shadow: none; }
.upload-post-img::after, .update-post-img::after, .upload-written-article::after, .update-written-article::after { display: none; }
.upload-post-img .text, .update-post-img .text, .upload-written-article .text, .update-written-article .text { background-image: none; -webkit-text-fill-color: currentColor; }
.upload-post-img:hover, .update-post-img:hover, .upload-written-article:hover, .update-written-article:hover { background: var(--sg-green-hover); background-image: none; box-shadow: 0 0 0 4px rgba(72, 206, 102, .22); }
.upload-post-img:hover .text, .update-post-img:hover .text, .upload-written-article:hover .text, .update-written-article:hover .text { background-image: none; }
.main-btn-reply, .btn-cancel-comment, .loginToCmt, .btn-cancel-comment-sm { background-color: var(--sg-surface-2); border: 1px solid var(--sg-line); color: var(--sg-text); border-radius: var(--sg-pill); }
.main-btn-reply:hover, .btn-cancel-comment:hover, .loginToCmt:hover { background-color: rgba(255, 255, 255, .14); color: var(--sg-text); }
.loginToCmt a, .Log_in { color: var(--sg-text); }

/* ---------- Forms ---------- */
.form-control, textarea, select,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=range]):not([type=color]):not([type=hidden]) { background-color: rgba(255, 255, 255, .04); color: var(--sg-text); border: 1px solid var(--sg-line-strong); border-radius: var(--sg-r); }
.form-control:focus, textarea:focus, select:focus,
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=submit]):not([type=button]):not([type=range]):not([type=color]):not([type=hidden]):focus { background-color: rgba(255, 255, 255, .06); color: var(--sg-text); border-color: var(--sg-cyan); box-shadow: 0 0 0 3px rgba(56, 211, 242, .25); }
.form-control::placeholder, textarea::placeholder, input::placeholder { color: var(--sg-muted); opacity: 1; }
select option { background-color: var(--sg-solid); color: var(--sg-text); }
input[type=checkbox], input[type=radio] { accent-color: var(--sg-green); }
.form-control:disabled, .form-control[readonly] { background-color: rgba(255, 255, 255, .02); color: var(--sg-muted); }
.input-group>.form-control:not(:first-child) { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.emojionearea .emojionearea-picker input { background-color: #fff !important; color: #212529 !important; border: 1px solid #ccc !important; border-radius: 4px !important; }
.input-group-text { background: var(--sg-surface-2) !important; color: var(--sg-text) !important; border: 1px solid var(--sg-line) !important; border-radius: var(--sg-r) 0 0 var(--sg-r) !important; }
.custom-control-label::before { background-color: transparent; border-color: var(--sg-line-strong); }
.custom-checkbox .custom-control-input:checked~.custom-control-label::before { background-color: var(--sg-green) !important; border-color: var(--sg-green); }
.errorMessage { color: var(--sg-danger); font-size: 12px; }
.autocomplete-items, .autocomplete-items-user { border-color: var(--sg-line); color: var(--sg-text); border-radius: 0 0 var(--sg-r) var(--sg-r); overflow: hidden; box-shadow: var(--sg-shadow); }
.autocomplete-items div, .autocomplete-items-user div { background-color: var(--sg-solid); color: var(--sg-text); border-bottom: 1px solid var(--sg-line); }
.autocomplete-items div:hover, .autocomplete-items-user div:hover { background-color: #1a1e4d; }
.autocomplete-active, .autocomplete-active-user { background-color: rgba(56, 211, 242, .25) !important; color: var(--sg-text); }
.emojionearea, .emojionearea.form-control { background-color: rgba(255, 255, 255, .04); border: 1px solid var(--sg-line-strong); border-radius: var(--sg-r); color: var(--sg-text); }
.emojionearea .emojionearea-editor { color: var(--sg-text); }
.emojionearea.focused { border-color: var(--sg-cyan); box-shadow: 0 0 0 3px rgba(56, 211, 242, .25); }

/* ---------- Cards, menus, dialogs, tables ---------- */
.card { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); color: var(--sg-text); }
.card-header, .card-footer { background-color: rgba(255, 255, 255, .03); border-color: var(--sg-line); }
.dropdown-menu { background-color: var(--sg-solid); border: 1px solid var(--sg-line); border-radius: 14px; box-shadow: var(--sg-shadow); padding: 6px; overflow: hidden; }
.dropdown-item { color: var(--sg-text); border-radius: 10px; padding: 8px 12px; }
.dropdown-item:hover, .dropdown-item:focus { background-color: var(--sg-surface-2); color: var(--sg-text); }
.dropdown-divider { border-color: var(--sg-line); }
.modal-content { background-color: var(--sg-solid); color: var(--sg-text); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); }
.modal-header, .modal-footer { border-color: var(--sg-line); }
.close { color: var(--sg-text); text-shadow: none; opacity: .8; }
.jc-bs3-container.container { color: var(--sg-text); }
.jconfirm .jconfirm-bg { background-color: rgba(3, 4, 14, .72) !important; }
.jconfirm .jconfirm-box, .jconfirm.jconfirm-light .jconfirm-box { background: var(--sg-solid) !important; border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl) !important; box-shadow: var(--sg-shadow) !important; color: var(--sg-text); }
.jconfirm .jconfirm-box div.jconfirm-title-c, .jconfirm.jconfirm-light .jconfirm-box div.jconfirm-title-c, .jconfirm .jconfirm-box div.jconfirm-content, .jconfirm-type-default { color: var(--sg-text) !important; }
.jconfirm .jconfirm-box .jconfirm-buttons button { border-radius: var(--sg-pill) !important; font-weight: 600 !important; text-transform: none !important; }
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-default, .jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-default { background-color: var(--sg-surface-2) !important; color: var(--sg-text) !important; }
.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue, .jconfirm.jconfirm-light .jconfirm-box .jconfirm-buttons button.btn-blue { background-color: var(--sg-green) !important; color: var(--sg-green-ink) !important; }
.jconfirm .jconfirm-box .jconfirm-closeIcon { color: var(--sg-muted) !important; }
.table { color: var(--sg-text); }
.table td, .table th, .table thead th { border-color: var(--sg-line); }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(255, 255, 255, .03); }
.table-hover tbody tr:hover { background-color: rgba(255, 255, 255, .06); color: var(--sg-text); }
.table-user-post { background-color: var(--sg-surface-2); }
.table-user-post th { color: var(--sg-muted); font-weight: 600; }
.nav-link.active { background-color: transparent; border-bottom: 2px solid var(--sg-cyan); color: var(--sg-text); }
.nav-tabs { color: var(--sg-muted); }

/* ---------- Feed cards ---------- */
.card.card-post-img-sm { background-color: var(--sg-surface); overflow: hidden; }
.card-post-info-wrapper-sm { background-color: transparent; border-bottom: 1px solid var(--sg-line); padding: 8px 10px; }
.card-post-info-container-sm { background-color: transparent; border-top: 1px solid var(--sg-line); color: var(--sg-muted); font-size: 13px; padding: 8px 6px; align-items: center; }
.card-post-info-container { background-color: transparent; }
.img-card-post-title-sm { font-size: 15px; font-weight: 600; }
.post-owner-un-sm { font-weight: 600; }
.u-user-username { color: var(--sg-cyan-soft); }
.img-vote-post-up, .img-vote-post-down, .img-cmt-post-sm, .img-save, .img-share, .share-icon-sm { width: 18px; height: 18px; }
.img-upvote, .img-downvote, .img-comment path, .eye-views, .img-save, .img-share, .share-icon-sm, .img-cmt-score-sm path, .img-view-score-sm g, .img-cmt-score svg, .img-like-score svg { fill: var(--sg-muted); }
.img-was-voted, .img-post-is-saved { fill: var(--sg-green); }
.img-vote:hover, .img-vote-post-up:hover, .img-downvote:hover, .img-comment:hover path, .img-cmt-post-sm:hover path, .img-cmt-score svg:hover, .img-like-score svg:hover { fill: var(--sg-cyan); }
.vote-score { font-weight: 700; color: var(--sg-text); }
.post-img-container-wrapper .nb-images { top: 8px; right: 8px; padding: 2px 10px; background-color: rgba(7, 8, 24, .78); border: 0; border-radius: var(--sg-pill); color: var(--sg-text); font-size: 12px; font-weight: 600; }
.read-more-post-descr { color: var(--sg-cyan); text-decoration: underline; }
.display-another-post:hover, .image-post-presentation:hover, .display-aside-img:hover { background-color: var(--sg-surface-2); border-color: var(--sg-line); }

/* ---------- Post page ---------- */
.title-wrapper { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.vote-container-wrapper .sticky-vote-block { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); padding: 10px 6px; }
.btn-follow-user { background-color: var(--sg-green); border: 1px solid var(--sg-green); color: var(--sg-green-ink); border-radius: var(--sg-pill); font-weight: 600; padding: .25rem .9rem; }
.btn-follow-user:hover { background-color: var(--sg-green-hover); border-color: var(--sg-green-hover); }
.btn-follow-user.btn-user-followed { background-color: rgba(72, 206, 102, .12); border: 1px solid rgba(72, 206, 102, .5); color: var(--sg-green-soft); }
.btn-report-img-post { background-color: transparent; color: var(--sg-muted); border: 1px solid var(--sg-line-strong); border-radius: var(--sg-pill); padding: .25rem .8rem; }
.reported-post-img-wrapper, .reported-post-img-wrapper:hover, .reported-post-cmt-wrapper, .reported-post-cmt-wrapper:hover { color: var(--sg-danger); }
.card-body-display-tag { background-color: rgba(56, 211, 242, .08); border: 1px solid rgba(56, 211, 242, .3); color: var(--sg-cyan-soft); border-radius: var(--sg-pill); font-size: 13px; font-weight: 500; padding: .25rem .8rem; }
.card-body-display-tag:hover { background-color: rgba(56, 211, 242, .16); border-color: rgba(56, 211, 242, .5); }
.card-body-display-tag.badge-key-content { background-color: rgba(255, 181, 71, .12); border-color: rgba(255, 181, 71, .4); color: #ffd29a; }
.tag-to-post-img { color: inherit; }
.card.card-display-tag-wrapper { border: 0; }
.post-cat-aside { color: var(--sg-text); }
.your-hidden-post { display: inline-block; padding: 4px 10px; background-color: rgba(56, 211, 242, .12); border: 1px solid rgba(56, 211, 242, .35); border-radius: 10px; color: var(--sg-cyan-soft); }
a.prev-post-img, a.next-post-img, .prev-post-img, .next-post-img { color: #fff; background-color: rgba(7, 8, 24, .6); border-radius: var(--sg-pill); margin: 0 8px; }
a.prev-post-img:hover, a.next-post-img:hover { background-color: rgba(7, 8, 24, .9); }
.dot-post-img { width: 10px; height: 10px; background-color: rgba(255, 255, 255, .35); }
.active-post-img, .dot-post-img:hover { background-color: var(--sg-green); border: 0; }
.img-counter { color: var(--sg-cyan); }
.list-shared-iconsa, .list-shared-iconsb { background-color: var(--sg-solid); border: 1px solid var(--sg-line); }
.list-shared-iconsa::after { border-color: transparent var(--sg-solid) transparent transparent; }
.list-shared-iconsb::after { border-color: var(--sg-solid) transparent transparent transparent; }
.top-temp-message-container { z-index: 1045 !important; } /* above the sticky header, below Bootstrap modals (1050) */
.top-temp-message-container { background-color: var(--sg-solid); border: 1px solid rgba(72, 206, 102, .45); border-radius: var(--sg-r-lg); box-shadow: var(--sg-shadow); color: var(--sg-text); font-size: 15px; }
.close-message-box { color: var(--sg-muted); }

/* ---------- Comments ---------- */
.cmt-main-thread hr, .horLine { border-color: var(--sg-line); }
.rowCR .name { color: var(--sg-text); }
.comment-text { color: var(--sg-text); }
.like-cmt, .dislike-cmt, .cr-nb-like, .cr-nb-dlike { color: var(--sg-muted); }
.lik-cr, .dlik-cr { color: var(--sg-green); }
.no-likdlik-cmt { color: var(--sg-muted); }
.btn-user-edit-cmt, .select-user-img-edit, .select-user-img-edit:hover, .select-user-article-edit, .select-user-article-edit:hover { color: var(--sg-green); }
.btn-user-delete-cmt, .btn-user-delete-cmt i, .select-user-img-delete, .select-user-img-delete:hover, .select-user-article-delete, .select-user-article-delete:hover { color: var(--sg-danger); }
.select-user-img-move { color: var(--sg-muted); }
.collapse-replies-active, .collabs-info-replies:hover { background-color: var(--sg-surface-2); border-radius: 8px; }
.replyRow.bg-light { background-color: var(--sg-surface) !important; border: 1px solid var(--sg-line); border-radius: 14px; padding: 10px 0; }
.btn-cancel-comment-sm.bg-dark { background-color: var(--sg-surface-2) !important; border: 1px solid var(--sg-line); }
.comment-section { background-color: transparent; }

/* ---------- Upload and editors ---------- */
.main-page-img-container-wrapper { background-color: transparent; }
.main-page-img-container, .card-add-imgs-wrapper { background: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); }
.main-page-img-container { padding: 20px; }
.title-fill-tag { color: var(--sg-text); }
.file-drop-area { background: rgba(56, 211, 242, .05); border: 1.5px dashed rgba(56, 211, 242, .45); border-radius: var(--sg-r-lg); color: var(--sg-text); }
.file-drop-area:hover { background: rgba(56, 211, 242, .1); }
.area-is-active { background: rgba(72, 206, 102, .12); border-color: rgba(72, 206, 102, .6); }
.fake-btn { background-color: var(--sg-surface-2); border: 1px solid var(--sg-line); border-radius: var(--sg-pill); }
.desc-added-to-image { color: var(--sg-green) !important; }
.list-check-box-choices { border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); padding: 8px; }
.card-check-box-wrapper { background-color: rgba(56, 211, 242, .08); border: 1px solid rgba(56, 211, 242, .3); border-radius: var(--sg-pill); }
.label-check-boxes { color: var(--sg-cyan-soft); }
.list-of-available-tags a { color: var(--sg-cyan-soft); }
.list-of-available-tags a:hover { color: var(--sg-cyan); }
.editor-content-wrapper { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); }
.btn-editor-control-wrapper { background-color: var(--sg-surface-2); border-color: var(--sg-line); }
.btn-editor-control { background-color: rgba(255, 255, 255, .08); color: var(--sg-text); border-radius: 8px; }
.btn-editor-control:hover { background-color: rgba(255, 255, 255, .16); box-shadow: none; }
.btn-editor-control .tooltiptext, .toolip-more-desc, .u-img-info-icon-wrapper .u-img-info-text { background-color: var(--sg-solid); border: 1px solid var(--sg-line); }
.btn-editor-control .tooltiptext::after { border-color: var(--sg-solid) transparent transparent transparent; }
.body-write-content, .body-write-content-article { background-color: rgba(255, 255, 255, .03); color: var(--sg-text); border: 1px solid var(--sg-line-strong); border-radius: var(--sg-r); font-family: var(--sg-font); font-size: 17px; }
.body-write-content:focus, .body-write-content-article:focus { border-color: var(--sg-cyan); box-shadow: 0 0 0 3px rgba(56, 211, 242, .25); }
.custom-file-upload-written-article { border: 1px solid var(--sg-line-strong); border-radius: var(--sg-pill); }
.count-nb-word-wrapper { color: var(--sg-muted); }
.loading-alert-message-wrapper { background-color: rgba(7, 8, 24, .92); border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); }

/* ---------- Dashboards ---------- */
.userSidenav a { font-size: 16px; padding: 10px 14px; margin: 2px 8px; border-radius: var(--sg-r); color: #c9cde3; }
.user-request-wrapper:hover, .userSidenav a:focus { background-color: var(--sg-surface-2); color: var(--sg-text); }
.user-request-wrapper.active { background-color: rgba(72, 206, 102, .14); color: var(--sg-green-soft); margin: 2px 8px; border-radius: var(--sg-r); }
.user-request-wrapper.active .img-icon-udashbord { fill: var(--sg-green-soft); }
.img-icon-udashbord { fill: var(--sg-text); }
.user-request { color: inherit; }
@media screen and (min-width: 800px) {
  .userSidenav { background-color: var(--sg-bg-2); border-right: 1px solid var(--sg-line); }
}
@media screen and (max-width: 800px) {
  .userSidenav { background-color: rgba(7, 8, 24, .97); }
}
.dashbord-user-points, .broad-cmt-post-info-wrapper, .cmt-down-bloc, .post-down-left, .post-down-right, .cmt-down-left, .cmt-down-right { background-color: var(--sg-surface); }
.dashbord-user-points { border: 1px solid var(--sg-line); border-radius: var(--sg-r-lg); }
.circle_container_nb_points { background: transparent; background-image: none; border: 3px solid var(--sg-green); box-shadow: 0 0 24px rgba(72, 206, 102, .3); }
.user_nb_points { color: var(--sg-text); font-weight: 800; }
.u-dashbord-profile-hr { color: var(--sg-line); background-color: var(--sg-line); border: 0; }
.dashbord-wrapper .dropdown-btn-user-action, .db-user-own-post-action, .db-user-own-article-action, .btn-super-user-actions { background-color: var(--sg-surface-2); border: 1px solid var(--sg-line); border-radius: var(--sg-pill); color: var(--sg-text); }
.show-badge-description-wrapper { background-color: var(--sg-solid); color: var(--sg-text); border: 1px solid var(--sg-line); border-radius: 10px; padding: 6px 10px; }
.previous-loaded-img-wrapper, .next-loaded-img-wrapper { margin: 6px 0; padding: 8px; background-color: var(--sg-surface-2); border: 1px solid var(--sg-line); border-radius: var(--sg-pill); color: var(--sg-text); }
.previous-loaded-img-wrapper:hover, .next-loaded-img-wrapper:hover { background-color: rgba(255, 255, 255, .14); color: var(--sg-text); }
.nb-elts-in-dir { background-color: var(--sg-green); color: var(--sg-green-ink); padding: 0 6px; font-size: 12px; font-weight: 700; }
.nb-elts-in-dir a, .nb-elts-in-dir .user-request { color: var(--sg-green-ink); }
.collapsible { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: 14px; color: var(--sg-text); }
.collapse-active, .collapsible:hover, .collapsible.active { background-color: var(--sg-surface-2); }
.u-img-info-icon-wrapper { border-bottom-color: var(--sg-muted); }
.u-post-table-content, .table-users-img-app { color: var(--sg-text); }

/* ---------- Profile, login, sign-up, contact, blog ---------- */
.page-u-pwd-edit, .page-u-details-edit { background: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); }
.user-fn-ln, .div-joined-on, .div-nb-following, .div-nb-followers, .profile-tab p { color: var(--sg-cyan-soft); }
.nav-tabs-wrapper { border-bottom-color: var(--sg-line); color: var(--sg-muted); }
.nav-tabs-wrapper .nav-link.active { color: var(--sg-text); border-bottom-color: var(--sg-cyan); }
.edit-show-pwd g, .edit-show-pwd-slash { color: var(--sg-muted); fill: var(--sg-muted); }
.user_card { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); box-shadow: var(--sg-shadow); }
.brand_logo { border-color: var(--sg-line-strong); }
.sign-up-container, .reset-pass-pass, .reset-pass-em, .contact-container-wrapper { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); box-shadow: var(--sg-shadow); }
.blog-content-wrapper { background-color: var(--sg-surface); border: 1px solid var(--sg-line); border-radius: var(--sg-r-xl); margin-top: 24px; margin-bottom: 24px; padding-top: 16px; padding-bottom: 16px; }
.card-link-aside-article { background-color: var(--sg-surface); border: 1px solid var(--sg-line); }
.card-link-aside-article a { color: var(--sg-cyan-soft); }
.post-list-title, .img-card-post-title { color: var(--sg-text); }
.post-list-time, .img-card-post-time, .time-article, figure figcaption, .blog-list-content { color: var(--sg-muted); }
.post-owner { color: var(--sg-text); }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .site-nav-bar { padding: 8px 14px; gap: 10px; }
  .site-nav .logo-message { font-size: 19px; }
  .site-nav-search { order: 5; flex-basis: 100%; }
  .site-nav-logo { gap: 6px; }
  .site-nav-logo img { width: 28px; height: 28px; border-radius: 8px; }
  .site-nav .logo-message { font-size: 17px; }
  .site-nav .add-new-img-content { width: 38px; min-height: 38px; padding: 0; justify-content: center; }
  .site-nav .add-new-img-content span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .btn-login-signup { height: 34px; padding: 0 12px; font-size: 13px; }
  .btn-signup { margin-left: 6px; }
  .site-nav .user_menu { display: inline-block; max-width: 150px; height: 38px; line-height: 36px; padding: 0 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .site-footer { justify-content: center; text-align: center; }
}

/* Post page: report button on its own line, above the image */
@media (max-width: 767.98px) {
  .report-post-img-wrapper { position: static; justify-content: flex-end; margin: 4px 0 0; }
}

/* ---------- Less motion when the visitor asks for it ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

