:root {
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html {
    font-family: Open Sans, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #525f7f;
    text-align: left;
    background-color: #f8f9fe;
    font-family: Open Sans, sans-serif;
}

.navbar {
    background-color: #101231 !important;
    color: white !important;
}

.load-login {
    height: 100px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.load-logout {
    width: 100%;
    opacity: 0;
}

.load-modals {
    height: 40px;
    width: 77px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.opacity-show {
    opacity: 1;
}

.table td {
    white-space: normal !important;
}

.actions-buttons {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 10px;
    border: none;
}

.actions-buttons button {
    border: none;
    background-color: white;
    border-radius: 100%;
    color: rgb(121, 121, 121);
}

.opacity-on {
    opacity: 1 !important;
    z-index: 1000 !important;
}

.new-modal {
    position: absolute;
    height: 100%;
    top: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(119, 119, 119, 0.634);
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: start;
    padding-top: 50px;
    opacity: 0;
    z-index: -1000;
    transition: opacity .3s ease;
}


.new-modal-body {
    position: relative;
    width: 800px !important;
    background-color: white;
    border-radius: 24px;
}

.new-modal-header {
    border-radius: 20px 20px 0 0;
    padding: 10px 20px;
    width: 100%;
    background-color: #5e72e4;
    color: white;
    position: relative;
}

.new-modal-header .new-modal-exit {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    color: red;
    background-color: #5e72e4;
}

.new-modal-header h2 {
    color: white;
}

.new-modal-content {
    padding: 20px 20px;
    min-height: 100px;
}

.btn-light.dropdown-toggle {
    background-color: white !important;
    color: rgb(163, 163, 163) !important;
    width: 100%;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
}

.show-cover-image {
    display: flex;
    width: 100%;
    justify-content: center;
    max-height: 300px;
}

.img-modal {
    height: 300px;
    margin: 10px 0;
}

.new-modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-list-item {
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    color: #5e72e4;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list-actions {
    display: flex;
    gap: 20px;
}

.category-list-actions span {
    cursor: pointer;
}

.croppie-container .cr-boundary {

    height: 325px !important;
}

.credential-photo-image {
    max-width: 100%;
}

.image-mobile {
    margin: auto;
    width: 350px;
    display: block;
    text-align: center;
}

.ads-img-input {
    width: 100%;
    object-fit: contain;
}

.img-table {
    width: 400px;
    margin-right: 30px;
    height: 100px;
    object-fit: contain;
}

.ads-container {
    min-height: 300px;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.small-ad {
    position: relative;
    height: 280px;
    width: 280px;
    background: rgb(70, 70, 70);
    border-radius: 10px;
    border: 1px solid black;
}

.small-ad img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.small-ad-delete button {
    cursor: pointer;
    position: absolute;
    background-color: red;
    height: 25px;
    width: 25px;
    border-radius: 100%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    top: -10px;
    right: -10px;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background-color: #f8f9fa;
    padding: 15px;
    overflow-y: auto;
    transform: translateX(-100%);
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
    border-top: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.sidebar.active {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .sidebar {
        transform: none;
    }
}

.content {
    flex: 1;
    padding-left: 15px;
    padding-right: 15px;
    overflow-y: auto;
}

#toggle-sidebar {
    cursor: pointer;
}

.sidebar a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px 0;
    color: black;
    transition: background-color 0.3s, color 0.3s;

}

.sidebar .a:hover {
    background-color: #e2e6ea;
    color: #0056b3 !important;
}

.sidebar i {
    font-size: 16px;
}