#services{
    min-height: calc(100vh - 220px);
}
.istitutional{
    margin:8px 0;
}
.istitutional a{
    margin-right: 10px;
    color:#555;
    text-decoration:underline;
}
.istitutional a::after{
    content: " - ";
    display: inline-block;
    margin-left: 10px;
}
.istitutional a:last-child{
    margin-right: 0px;
}
.istitutional a:last-child::after{
    content: "";
}
.dark-form{
    padding:20px;
    margin: 20px 0;
    max-width: 800px;
    border-radius: 10px;
    border: 2px solid var(--accent-color);
    background-color: rgba(0,0,0,0.7);
}
.dark-form h2{
    font-size: 24px;
    font-weight: 400;
}

.dark-form p{
    font-size: 16px;
    font-weight: 300;
}

.bg-gold{
    background-color: var(--accent-color)!important;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 16px;
}

.toggle-password:hover {
    color: #e3e3e3;
}

.precompiled{
    color:var(--accent-color)!important;
}

.form-subscribe input[type="text"].form-control,
.form-subscribe input[type="email"].form-control,
.form-subscribe input[type="password"].form-control,
.form-subscribe select.form-control{
    border-radius: 0px;
    margin-bottom: 10px;
}

.btn-custom{background-color: var(--accent-color);color: var(--contrast-color);}
.btn-custom:hover{background-color: var(--accent-color-2);color: var(--contrast-color);}

.dark-form input,
.dark-form input:focus,
.dark-form select,
.dark-form select:focus{
    background-color: rgba(0,0,0,0.7);
    color: white;
}
.dark-form input::placeholder{color: rgba(255,255,255,0.5);}
.dark-form input:focus{outline: none;}


.otp-wrapper {
    user-select: none;
}

.otp-input {
    width: 58px;
    height: 59px;
    font-size: 1.8rem;
    text-align: center;
    border-radius: 12px;
    border: 2px solid #ced4da;
    transition: all 0.2s ease-in-out;
    font-weight: 600;
}

.otp-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.otp-input.filled {
    border-color: var(--accent-color);
}

.length_textarea{
    font-size: 90%;
    padding:10px;
    font-weight: 600;
}

figure.avatar_img {
    margin: 0 6px 0 0;
    display: inline-block;
}
.avatar_img img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.starter-section {
    min-height: calc(100vh - 100px - 125px);
}

.post-item{
    padding: 30px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.stats .stats-item img {
    display: block;
    width: 51px;
    float: left;
}
.account-report{
    position: relative;
}
.account-report .row{
    box-shadow: 0px 0 68px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    position: relative;
    z-index: 1;
}
.account-report .row::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 40px solid var(--surface-color);
    border-right: 40px solid transparent;
    border-left: 40px solid transparent;
    position: absolute;
    top:-37px;
    left: calc(50% - 35px);
    transform: rotate(180deg);
    z-index: 10;
}

.account-report figure{
    margin: 0 0 70px 0;
    text-align: center;
    display: block;
}
.account-report figure img{
    object-fit: cover;
    width: 150px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.post-right-bar{
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
    /*padding: 30px;*/
    padding:0;
}
.post-right-bar .title h4{
    font-size: 16px;
}
.post-right-bar .title h6{
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 0;
}
.post-right-bar .title span{
    font-size: 12px;
}
.stats .stats-item{
    position: relative;
}
.stats .stats-item small{
    position: absolute;
    top: 35px;
    left: 124px;
    font-size: 26px;
}

.user-item{
    text-align: center;
    padding: 15px;
    box-shadow: 0px 0 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 0;
    border-radius: 8px;
}

#create-post {
    position: fixed;
    left: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 68px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    transition: all 0.4s;
    padding: 10px;
}
#create-post:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.icon-create-post{
    display: inline-block;
    width: 100%;
    height: 100%;
}

.icon-create-post::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../img/add-post-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    /*filter:saturate(0%) brightness(0%);*/
}

.container-likepost{
    position: relative;
    bottom:-5px;
    margin-right: 12px;
}
.container-likepost .badge {
    top: 3px !important;
}

.btn-likepost i{
    display: inline-block;
    width: 32px;
    height: 32px;
}
.btn-likepost i::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../img/respect.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    filter:saturate(0);
}


.btn-likepost.liked i::before{
    filter:saturate(100%);
}



.icon-challenges{
    display: inline-block;
    width: 22px;
    aspect-ratio: 1/1;
    margin:0 8px;
}
.icon-challenges::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../img/swords.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    filter:unset
}
.icon-challenges.closed::before {
    filter:saturate(0) brightness(87%);
}

.icon-challenges-gold{
    display: inline-block;
    width: 36px;
    aspect-ratio: 1/1;
    margin:0 2px;
}
.icon-challenges-gold::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../img/swords-gold.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    filter:unset
}

.icon-crown{
    display: inline-block;
    width: 36px;
    aspect-ratio: 1/1;
    margin:0 2px;
}
.icon-crown{
    display: inline-block;
    width: 36px;
    aspect-ratio: 1/1;
    margin:0 2px;
}
.icon-crown::before {
    content: '';
    width: 100%;
    height: 100%;
    background-image: url('../img/crown_icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    filter:unset
}

.item_dispute{
    margin-top:15px;
    margin-bottom: 50px;
    border-left:4px solid var(--accent-color);
    padding: 15px;
}
.messages{
    padding:15px 0;
}
.item_message{
    margin: 15px 0 15px 15px;
    border-left:2px solid var(--accent-color-2);
    padding: 15px 0 15px 12px;
    background-color: #f9f9f9;
}
.post-title{
    font-weight: bold;
}
.post-title a{
    color:black;
}
h5.title{
    font-weight: 500!important;
    font-size:15px!important;
    white-space: nowrap;
}
.authors-filter-select + .select2-container {
    min-width: 320px;
}

.select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.25rem;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 999px;
    background-color: #f8f9fa;
    color: #212529;
    padding: 0.25rem 0.5rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 0;
    color: #6c757d;
    margin-right: 0.35rem;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] small,
.select2-container--default .select2-results__option--highlighted[aria-selected] .text-muted {
    color: rgba(255, 255, 255, .75) !important;
}

.body_message_content{
    padding-bottom:14px;
}
.body_message_content a{
    text-decoration: underline;
}

.topic-button{
    display: flex;
    gap: 20px;
    padding:20px 30px;
    background-color: #000;
    border-radius: 20px;
    border-top: 5px solid var(--accent-color);
    color: white;
    width: 100%;
    max-width:300px;
    position: relative;
    top:0;
    transition: all 0.3s ease-in-out;
}
.topic-button:hover{
    top:-6px;
    background-color: #444;
}
.topic-button:hover .topic-icon{
    background-color: #000;
}
.topic-button h4{
    color:white;
    font-size:18px;
    font-weight: bold;
    margin-top:14px;
}
.topic-button small{
    font-size: 12px;
    color: #ccc;
}
.topic-icon {
    width: 80px;
    aspect-ratio: 1/1;
    object-fit: contain;
    background-color: #444;
    border-radius:20px;
    padding:12px;
    transition: all 0.3s ease-in-out;
}
.post-right-bar .topic-icon{
    width: 50px;
    height: 50px;
    padding:5px;
}
.post-right-bar .topic-button{
    padding:10px 20px;
}
.post-right-bar .topic-button h4{
    margin-top:0;
    margin-bottom:2px;
}
.post-right-bar.explore{
    box-shadow: none;
    padding-top:0;
}

figure.role{
    position: relative;
    display: inline-block;
    margin:0;
}
div.role{
    position: relative;
}
.role img {
    border: 1px solid #666;
}
.role-founder .role img,
.role-pioneer .role img {
    border: 2px solid var(--accent-color);
}

.role-founder .role::after,
.role-pioneer .role::after{
    content: "";
    position: absolute;
    top: -9px;
    right: -13px;
    width: 41px;
    height: 13px;
    background-image: url('../img/user-pioneer-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(34deg)
}
.row-avatar.role::after {
    right: -17px;
}
.role-classic a.link-nickname{
    color:#666;
}
.role-founder a.link-nickname,
.role-pioneer a.link-nickname{
    color:var(--accent-color);
}

.post-item hr,
.post-item hr.with_disputes{
    /*border-top:2px solid red;
    opacity: 1;*/
    opacity:0.3;
    margin-bottom: 10px;
    margin: 6px 0 23px;
}

.fs-7{
    font-size: 14px;
}
.fs-8{
    font-size: 12px;
}

.btn-reply, .btn-submit-reply{
    font-size:12px;
    background-color: #fdfcff;
    border:1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
}

.notifications-menu .dropdown-item:hover,
.notifications-menu .dropdown-item:focus {
    background-color: rgb(47, 47, 47);
    color: #ffffff;
}

.notifications-menu .dropdown-item:hover .text-white-50,
.notifications-menu .dropdown-item:focus .text-white-50 {
    color: rgba(255, 255, 255, 0.65) !important;
}

.notifications-menu .dropdown-item.unread{
    background-color: var(--accent-color);
}

.notifications{
    margin-top:30px;
    list-style: none;
    padding: 0;
}
.notifications li{
    padding:15px;
    border: 1px solid lightgrey;
    margin-bottom: 16px;
    display: flex;
    position: relative;
}
.notifications li.read{
    border-left: 4px solid lightgrey;
    background-color: transparent;
    border-radius: 10px;
    transition: all 0.5s ease;
}
.notifications li.unread{
    background-color: rgb(241 226 197 / 0.61);
    transition: all 0.5s ease;
}

.notifications li .icon-entity{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    margin-right: 22px;
    overflow: hidden;
    padding:8px;
}
.notifications li .icon-entity::before{
    content: '';
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    padding:6px;
}


.notifications li.post{
    border-left-color: #afafaf;
}
.notifications li.post .icon-entity{
    background-color: #ddd;
}
.notifications li.post .icon-entity::before{
    background-image: url('../img/respect.png');
}

.notifications li.challenge{
    border-left-color: #c8b36d;
}
.notifications li.challenge .icon-entity{
    background-color: #c8b36d;
}
.notifications li.challenge .icon-entity::before{
    background-image: url('../img/swords.png');
}

.notifications li.wallet{
    border-left-color: #bcd889;
}
.notifications li.wallet .icon-entity{
    background-color: #bcd889;
}
.notifications li.wallet .icon-entity::before{
    background-image: url('../img/wallet.png');
}


.notifications li.message{
    border-left-color: #f3e384;
}
.notifications li.message .icon-entity{
    background-color: #f3e384;
}
.notifications li.message .icon-entity::before{
    background-image: url('../img/message.png');
}


.notifications li.user{
    border-left-color: #6cccdf;
}
.notifications li.user .icon-entity{
    background-color: #6cccdf;
}
.notifications li.user .icon-entity::before{
    background-image: url('../img/user.svg');
}


.notifications li.report{
    border-left-color: #bd0202;
}
.notifications li.report .icon-entity{
    background-color: #f3d2d2;
}
.notifications li.report .icon-entity::before{
    background-image: url('../img/report.png');
}



#create-post-nav{
    display:flex;
    justify-content: center;
    background-color: var(--accent-color);
    border-radius:8px;
    color:black;
    margin-bottom:36px;
}
#menu_adduser a{
    display:flex;
    justify-content: center;
    background-color: #32bd39;
    border-radius:8px;
    color:black;
    margin-bottom:36px;
}

#menu_adduser a:hover{
    background-color: #0f6814;
    color:white;
}
#menu_adduser a:hover i{
    color:white;
}




#create-post-nav:hover{
    box-shadow: inset 0 0 10px 5px rgba(255,255,255,0.2);
}
.navmenu #create-post-nav:hover .navicon{
    color:black;
}

.user-account-sidebar{
    margin-top: calc(100vh - 765px);
}

@media (max-height:730px){
    .user-account-sidebar{
        margin-top: 20px;
    }
}
@media (min-width:576px){
    .post-right-bar{
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

.user_followers_following{
    position:absolute;
    top: 27px;
    right: 18px;
    display: flex;
    gap: 4px;
    justify-content: end;
    align-content: center;
}
.user_followers_following a,
.user_followers_following i {
    position: relative;
    display: block;

}

.dark-background .user-item{
    background-color: var(--dark-panel-bg);
    border:1px solid var(--dark-panel-border-bg);
}

.line-bottom-gold{
    border-bottom: 1px solid var(--accent-color);
}
.btn.btn-dark-outline-gold{
    border:1px solid var(--accent-color);
    color:var(--accent-color);
    background-color: var(--nav-dropdown-background-color);
    font-size:14px;
    font-weight:500;
    letter-spacing: 0.5px;
}

.btn-check:checked + .btn.btn-dark-outline-gold {
    color: white;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-check + .btn.btn-dark-outline-gold:hover {
    color: var(--accent-color);
    background-color: var(--nav-dropdown-background-color);
    border-color: var(--accent-color);
}

.post-item .badge {
    line-height: 15px;
}

.text-gold{
    color:var(--accent-color);
}

.dropdown-toggle.custom-ddtoggle::after{
    display: none;
}


.search-input {
    border: 1px solid #707070;
    border-radius: 8px;
    padding: 7px 15px;
    padding-right: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    /*border-color: var(--accent-color);*/
    box-shadow: none;
}
.search-input:focus-visible{
    outline: none;
}

.btn-dark-outline-grey{
    color: #acacac!important;
    border: 1px solid #707070;
    border-radius:8px;
}
.btn-check + .btn.btn-dark-outline-grey:hover{
    border-color:#acacac;
}
.btn-check:checked + .btn.btn-selected-gold{
    background-color: var(--accent-color);
    color:black!important;
    border-color:var(--accent-color);
}


.btn-search {
    position: absolute;
    top: 50%;
    right: -7px;
    transform: translateY(-50%);
    padding: 14px;
    color:#666;
}
.btn-search i{
    color:#666;
    transition: all 0.3s ease;
}
.btn-search:hover i{
    color:#fff;
}

.search-box:focus-within .search-icon {
    color: white;
}

.reset-btn{
    position: absolute;
    right: 29px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: all 0.3s ease;
    padding-right: 4px;
}
.reset-btn i{
    color: #666;
    transition: all 0.3s ease;
}
.reset-btn:hover i{
    color:#fff;
}

.container-side-users-preview{
    position: relative;
    z-index: 1;
}
.container-side-users-preview::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background-image: linear-gradient(90deg,rgba(19, 24, 30, 0) 0%, rgb(19, 24, 30) 100%);
    z-index: 2;
}

.post-gold-gradient{
    background: #13181B;
    background: linear-gradient(136deg,rgba(19, 24, 27, 1) 0%, rgba(33, 34, 29, 1) 100%);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--accent-color);
}
