.moving-image {
    position: relative;
    animation: moveLeftRight 2s infinite linear;
}

@keyframes moveLeftRight {

    0%,
    100% {
        /* left: 0; */
        rotate: 0deg;
    }

    50% {
        /* left: 50px; */
        rotate: 2deg;
    }
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background: #f2f8f3;
    padding-top: 15px;
    z-index: 9;
    overflow-y: auto; /* enable vertical scroll if content exceeds height */
}

.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
}


.sidebar a:hover {
    color: white;
    opacity: 0.8;
    background: #d9f1ed;
}

.sidebar .active {
    color: white;
    opacity: 0.8;
    background: #d9f1ed;
}

.content {
    margin-left: 250px;
    /* Same as sidebar width */
    padding: 20px;
}


body {
    font-size: 85% !important;
    font-family: "Poppins" !important;

}



.theme-color-gray {
    color: gray !important;
}


.theme-color-black {
    color: #000 !important;
}


.theme-bg-white {
    background: #fff !important;
}


.theme-bg {
    background: #f2f8f3 !important;
}

.theme-bg-dark {
    background-color: #42655E;
}


.theme-color-dark {
    color: #42655E;
}

.theme-bg-white {
    background: #fff !important;
}


.btn-primary {
    background-color: #42655E;
    color: #fff;
    border: none;
}


.btn-primary:hover {
    opacity: 0.8;
    background-color: #42655E !important;
    color: #fff;
}


.user-actions {
    position: absolute;
    right: 0;
    padding-right: 25px;
}

.user-actions i {
    font-size: 18px;
    cursor: pointer;
    margin-right: -15px;
}

.user-dropdown {
    display: none;
    z-index: 100;
    position: absolute;
    background-color: #fafafa;
    padding: 15px;
    width: 200px;
    top: 100%;
    right: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.user-actions:hover>.user-dropdown {
    display: block;
}

.user-actions a {
    display: block;
    text-decoration: none;
    color: #000;
    text-align: left;
    font-size: 13px;
    margin-left: 20px;
    padding: 5px;
}

.user-avatar {
    object-fit: cover;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #1d49a7 !important;
    color: white !important;
    border: #1d49a7 !important;
}


.select2-container--default .select2-selection--multiple {
    border: 1px solid #dee2e6 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #7ecac9 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-selection--multiple {
    padding: 5px 5px 10px 5px !important;
}

.table-striped>tbody>tr:nth-of-type(odd)>* {
    background: rgb(251, 251, 251) !important;
    --bs-table-bg-type: rgb(251, 251, 251) !important;
}


.table-striped>tbody>tr:nth-of-type(even)>* {
    background: white !important;

}

.table>:not(caption)>*>* {
    border-bottom-width: 0;
    padding: 0.7rem 0.7rem;
}

.close-menu a {
    right: 15px;
    top: 15px;
    position: absolute;
    background: #42655E;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 40px;
    padding: 0;
    text-align: center;
}

.avatar-change {
    position: relative;
    width: 150px;
    height: 150px;
    text-align: center;
    border-radius: 100%;
    margin-bottom: 30px;
    overflow: visible;
    cursor: pointer;
}

.avatar-change img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 100%;
    border: 4px solid #42655E;
}

.avatar-change input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.avatar-change .change-avatar {
    position: absolute;
    bottom: 20px;
    right: 25px;
    width: 30px;
    line-height: 30px;
    height: 30px;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    background-color: #42655E;
}

.avatar-change i {
    position: relative;
    top: auto;
    right: auto;
}

.btn-custom-round {
    border-radius: 30px;
    font-weight: bold;
    padding: 5px 15px;
    margin: 0 10px;
    font-size: 14px;
}

.universal-search:focus {
    outline: none;
    box-shadow: 0 0 0;
    border-bottom: 2px solid #42655E !important;
}

.input-custom-focus:focus {
    outline: none;
    box-shadow: 0 0 0;
}

.btn-custom-round.active {
    background-color: black;
    color: white;
    border: 1px solid black;
    padding: 5px 20px;
    font-size: 11px;
}

.btn-custom-round.inactive {
    background-color: white;
    color: black;
    border: 1px solid black;
    padding: 5px 20px;
    font-size: 11px;
}

.photo-book {
    text-align: center;
    margin-bottom: 20px;
    display: relative;
}

.photo-book img {
    width: 90%;
    border-radius: 10px;
    border: 2px solid #d9d9d9;
    object-fit: cover;
}


.photo-book .role-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: #42655E;
    color: white;
    border-radius: 15px;
    padding: 5px 16px;
    font-weight: bold;
    font-size: 11px;
}

.photo-book .create-new {
    border: 2px dashed #ccc;
    align-items: center;
    justify-content: center;
    padding: 39% 0;
    border-radius: 10px;
    display: flex;
    font-size: 70px;
    color: #ccc;
}

.photo-book .create-new span {
    position: absolute;
}

.photo-book-cover {
    cursor: pointer;
    padding: 40% 0;
    position: relative;
}

.photo-book-cover img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;

}

.photo-book-title {
    margin-top: 10px;
    font-weight: bold;
    text-align: left;
}

.photo-book-title i {
    background: #cd3434;
    border-radius: 100%;
    width: 17px;
    height: 17px;
    color: #fff;
    text-align: center;
    line-height: 17px;
    font-size: 10px;
    ;
}

.more-options {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.more-options i {
    font-size: 1.5em;
}

.universal-search {
    font-size: 13px;
}

.universal-search::placeholder {
    color: #d0d4d8;
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-weight: bold;
}



.btn-cancel {
    background-color: #f5f5f5;
    color: #000;
    border: none;
    padding: 10px 20px;
    width: 47%;
}

.btn-cancel:hover {
    background-color: #f5f5f5;
    opacity: 0.8;
}

.btn-continue {
    background-color: #42655E;
    color: #fff;
    border: none;
    padding: 10px 20px;
    width: 47%;
}


.btn-continue:hover {
    background-color: #42655E;
    opacity: 0.8;
    color: #fff;
}

.modal-backdrop {
    background-color: #42655E;
}


.drop-section {
    min-height: 250px;
    border: 2px dashed #ccc;
    cursor: pointer;
    border-radius: 12px;
    position: relative;
    text-align: center;
}

.drop-section div.col:first-child {
    opacity: 1;
    visibility: visible;
    transition-duration: 0.2s;
    transform: scale(1);
    width: 200px;
    margin: auto;
}


.drop-section span,
.drop-section button {
    display: block;
    margin: auto;
    color: black;
    margin-bottom: 10px;
}

.drop-section button {
    color: color;
    background-color: white;
    border: 1px solid #d9d9d9;
    outline: none;
    padding: 7px 20px;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
}

.drop-section input {
    display: none;
}

.list-section {
    display: none;
    text-align: left;
    margin-top: 25px;
    padding-bottom: 20px;
}

.list-section .list-title {
    font-size: 0.95rem;
    color: #000;
}

.list-section li {
    display: flex;
    margin: 15px 0px;
    padding-top: 4px;
    padding-bottom: 2px;
    border-radius: 8px;
    transition-duration: 0.2s;
}

.list-section li .col {
    flex: .1;
}

.list-section li .col:nth-child(1) {
    flex: .15;
    text-align: center;
}

.list-section li .col:nth-child(2) {
    flex: .75;
    text-align: left;
    font-size: 0.9rem;
    color: #3e4046;
    padding: 8px 10px;
}

.list-section li .col:nth-child(2) div.name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 250px;
    display: inline-block;
}

.list-section li .col .file-name span {
    color: #707EA0;
    float: right;
}

.list-section li .file-progress {
    width: 100%;
    height: 5px;
    margin-top: 8px;
    border-radius: 8px;
    background-color: #dee6fd;
}

.list-section li .file-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 8px;
    background-image: linear-gradient(120deg, #6b99fd, #9385ff);
    transition-duration: 0.4s;
}

.list-section li .col .file-size {
    font-size: 0.75rem;
    margin-top: 3px;
    color: #707EA0;
}

.list-section li .col svg.cross,
.list-section li .col svg.tick {
    fill: #8694d2;
    background-color: #dee6fd;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.list-section li .col svg.tick {
    fill: #50a156;
    background-color: transparent;
}

.list-section li.complete span,
.list-section li.complete .file-progress,
.list-section li.complete svg.cross {
    display: none;
}

.list-section li.in-prog .file-size,
.list-section li.in-prog svg.tick {
    display: none;
}

.contributor-img {
    width: 50px;
    min-width: 50px;
    height: 50px;
    object-fit: cover;
    background-size: 100% 100%;
}

.contributor-cross {
    background-color: #42655E;
    line-height: 50px;
    font-size: 20px;
}

.btn-submit:hover {
    background-color: #42655E;
}

.jconfirm .jconfirm-box.jconfirm-type-blue,
.jconfirm .jconfirm-box.jconfirm-type-red,
.jconfirm .jconfirm-box.jconfirm-type-green {
    border-top: solid 7px #42655E !important;
}

.jconfirm .jconfirm-box .jconfirm-buttons button.btn-blue {
    background-color: #42655E !important;
}

@media (max-width: 991px) {
    .content {
        margin-left: 0;
    }

    .sidebar {
        display: none;
    }

    .header {
        display: block;
    }

    .memory-img-div {
        padding: 0;
        margin-bottom: 20px;
    }

    .comments-parent-div,
    .comments-div {
        overflow: visible !important;
        height: auto !important;
    }
}


@media (min-width: 991px) {
    .content {
        margin-left: 250;
    }

    .sidebar {
        display: block !important;
    }
}

@media (min-width: 2000px) {
    .moving-image {
        background-position: center !important;
    }

}

@media (max-height: 780px) {
    #privacy_policy,
    #terms_conditions {
        display: none !important;
    }
    #privacy_policy_right_menu,
    #terms_conditions_right_menu {
        display: block !important;
    }
}