.top-40 {
    top: 40px;
}

.max-h-200 {
    max-height: 200px;
    min-height: unset !important;
}

.fixed-menu-bg {
    background-color: #444;
}

.progress {
    margin: 0;
    height: 100%;
    max-height: 42px;
}

.progress-bar span.value {
    position: relative;
    top: 4px;
    color: white;
}

.progress .myface {
    top: auto;
    bottom: auto;
    left: auto;
}

.progress .ruler {
    top: auto;
    bottom: auto;
    left: auto;
    max-width: 70%;
}

.btn-sign {
    padding: 4px 5px;
}

.btn-sign-show {
    padding: 10px 30px;
}

.btn-signed {
    cursor: unset !important;
    padding: 5px 10px;
}

.myface {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 33px;
    height: 38px;
    background-image: url(../img/progress-bar-myface.png);
    background-repeat: repeat-x;
    background-position: 0px 0px;
}

.ruler {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-image: url(../img/progress-bar-ruler.png);
    background-repeat: repeat-x;
    background-position: top right
}

.search-result {
    border-radius: 0;
    background-color: #3a3a3a;
    border-color: #3a3a3a;
    margin: 0;
    padding: 0;
    min-width: 220px;
    max-width: 650px;
    width: 100%;
}

.search-result li {
    list-style: none;
    padding: 10px;
    font-family: "Syne", sans-serif;
    color: #999999;
}

.found-info {
    background-color: #666666;
    color: white !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.opened input {
    width: 180px !important;
}

.font-bold {
    font-weight: 700;
}

.right-0 {
    right: 0 !important;
}

.target-votes-show {
    top: auto;
    right: 40px;
    margin-top: -25px;
}

.grey-сolor {
    color: #999999 !important;
}

.w-24 {
    width: 24px;
}

.h-400 {
    height: 400px;
}

.user-avatar {
    width: 42px;
    height: 100%;
}

.max-w-100px {
    max-width: 100px;
}

.mpopup {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 170px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    width: 450px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 0.3rem;
}

.modal-header {
    padding: 2px 12px;
    background-color: #ffffff;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin-top: 14px;
    margin-bottom: 14px;
}

.modal-body {
    padding: 2px 12px;
}

.modal-footer {
    padding: 1rem;
    background-color: #ffffff;
    color: #333;
    border-top: 1px solid #e9ecef;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    text-align: right;
}

.modal-close {
    color: white;
    width: 25px;
    padding: 4px;
    font-size: 16px;
    position: absolute;
    font-size: 16px;
    top: -15px;
    right: -10px;
    background: black;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* add animation effects */
@-webkit-keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }
    to {
        top: 0;
        opacity: 1
    }
}

.auth-indicator {
    display: block;
    position: absolute;
    top: 27px;
    left: 27px;
    width: 20px;
    height: 20px;
    background-color: #1e1e1e;
    border: 2px solid white;
    border-radius: 50%;
}

.alert-myface {
    background-image: url(../img/logo/myface-grey.png);
    background-repeat: no-repeat;
    background-position: left 5px;
}

.alert-myface p {
    padding-left: 30px;
}

.fileinput-restrictions {
    pointer-events: none;
    position: relative;
    display: block;
    bottom: 0;
    width: 100%;
    text-align: center;
    top: -28px;
    z-index: 9;
    background-color: rgba(55, 55, 55, 0.8);
}

.fs-7 {
    font-size: .75rem !important;
}

.create-initiative label {
    font-weight: bold;
    text-transform: uppercase;
}

.label-normal {
    font-weight: unset !important;
    text-transform: unset !important;
}

.image-container {
    position: relative;
    overflow: hidden;
    width: 190px;
    height: 190px;
    max-width: 190px;
    max-height: 190px;
}

.image-container img, .image-container div {
    transition: transform 0.3s;
}

.image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the color and opacity as needed */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Darken the overlay on hover */
.image-container:hover::before {
    opacity: 1;
    cursor: pointer;
}

.image-container:hover p {
    display: block;
}

.image-container p {
    display: none; /* Initially hide the span */
    position: absolute;
    top: 15px;
    left: 20%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust the background color and opacity */
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}

.cursor-pointer {
    cursor: pointer;
}

.characters-counter {
    color: #aaa;
    padding: 5px 0;
    text-align: right;
    font-size: 14px;
}

.auth-menu {
    background: #494949 !important;
    color: white;
}

.link-menu span {
    color: white;
}

.link-menu:hover {
    background: #393939 !important;
    color: #c2c2c2 !important;
    text-decoration: underline;
}

.ta-button.active {
    background: #707070;
}

.initiative-donate i {
    float: right;
    position: relative;
    top: -7px;
}

.btn-check:checked + .btn, .btn.active, .btn.show, :not(.btn-check) + .btn:active {
    color: white;
    background: #198754;
}