.light-style .menu .app-brand.demo {
    height: 64px;
}

/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 72px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
    #dropdown-variation-demo .btn-group .text-truncate {
        width: 254px;
        position: relative;
    }

    #dropdown-variation-demo .btn-group .text-truncate::after {
        position: absolute;
        top: 45%;
        right: 0.65rem;
    }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: #f1416c;
    font-weight: 700;
}

.symbol.symbol-45px > img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.invalid-feedback {
    display: block;
}

.invalid-feedback:empty {
    display: none;
}


.image-input {
    position: relative;
    display: inline-block;
    border-radius: .475rem;
    background-repeat: no-repeat;
    background-size: cover
}

.image-input:not(.image-input-empty) {
    background-image: none !important
}

.image-input .image-input-wrapper {
    width: 120px;
    height: 120px;
    border-radius: .475rem;
    background-repeat: no-repeat;
    background-size: cover
}

.image-input [data-kt-image-input-action=change] {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: -10px
}

.image-input [data-kt-image-input-action=change] input {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden;
    opacity: 0
}

.image-input [data-kt-image-input-action=cancel], .image-input [data-kt-image-input-action=remove] {
    position: absolute;
    right: -10px;
    bottom: -5px
}

.image-input [data-kt-image-input-action=cancel] {
    display: none
}

.image-input.image-input-changed [data-kt-image-input-action=cancel] {
    display: flex
}

.image-input.image-input-changed [data-kt-image-input-action=remove] {
    display: none
}

.image-input.image-input-empty [data-kt-image-input-action=cancel], .image-input.image-input-empty [data-kt-image-input-action=remove] {
    display: none
}

.image-input.image-input-circle {
    border-radius: 50%
}

.image-input.image-input-circle .image-input-wrapper {
    border-radius: 50%
}

.image-input.image-input-circle [data-kt-image-input-action=change] {
    right: 5px;
    top: 5px
}

.image-input.image-input-circle [data-kt-image-input-action=cancel], .image-input.image-input-circle [data-kt-image-input-action=remove] {
    right: 5px;
    bottom: 5px
}

.image-input.image-input-outline .image-input-wrapper {
    border: 3px solid #fff;
    box-shadow: 0 .5rem 1.5rem .5rem rgba(0, 0, 0, .075)
}

.tox-target, .tox-statusbar__branding, .tox-promotion {
    display: none !important
}

.tox-tinymce {
    border-radius: .475rem !important;
    height: 500px !important
}

.text-gray-600 {
    color: #7e8299 !important;
}

.fw-bold {
    font-weight: 500 !important;
}

.text-active-primary.active {
    color: #8f86f3 !important;
}

.submit-message {
    color: #059b00;
}

.text-right {
    text-align: right;
}

textarea.textarea-100 {
    max-width: 100%;
    min-width: 100%;
    min-height: 100px;
    max-height: 100px;
    resize: none;
}

textarea.textarea-115 {
    max-width: 100%;
    min-width: 100%;
    min-height: 115px;
    max-height: 115px;
    resize: none;
}

#tinymce {
    overflow-y: scroll !important;
}

.notification-message {
    position: fixed;
    bottom: 10%;
    right: 25px;
    width: 300px;
    display: none;
    opacity: 0.8;
    background-color: #c3bdff;
    color: #000000;
    text-align: center;
    font-size: 14px;
    padding: 15px;
    border-radius: 5px;
    z-index: 10510000;
    box-shadow: 0 0 15px rgba(161, 161, 161, 0.7);
}

.pagination-block {
    padding: 0 15px;
    margin-top: 20px;
}

.avatar img{
    object-fit: cover;
}

.card-favorite img {
    height: 280px;
    display: block;
    margin: initial;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1;
}

.card-favorite .card-description {
    min-height: 65px;
}

@media (max-width: 768px) {
    .notification-message {
        bottom: 10%;
        right: 15px;
        left: 15px;
        width: auto;
    }

    .card-favorite img {
        height: 250px;
    }

    .card-favorite .card-description {
        min-height: auto;
    }
}
