﻿.page-title {
    display: inline-block;
    padding-right: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.8;
}
.item-title {
    display: flex;
    justify-content: end;
    align-items: start;
}
.item-title-type {
    font-weight: 700;
    padding-right: 0.5rem;
    padding-left: 1rem;
    color: var(--primary-color);
}
.item-title-name {
    color: var(--secondary-text-color);
    font-weight: 600;
}
.title-block {
    display: flex;
    align-items: flex-end;
}
.sticky {
    position: sticky;
    top: 0;
    padding-bottom: 1rem;
    background-color: var(--background-main-color);
    z-index: 1000;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 3rem;
    background-color: var(--background-main-color);
    border-bottom: 1px solid var(--secondary-color);
}
.page-header-buttons {
    display: flex;
    gap: 1rem;
}
.danger {
    color: var(--danger-color);
}
.untethered {
    color: var(--untethered-color);
}

.form-label {
    font-size: 1rem;
    margin: 0 0 0.15rem 0.75rem;
    color: var(--primary-text-color);
}

.icon-on-item {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
}

#CreateItem {
    width: max-content;
    margin: 0 0 1rem 5%;
}

.not-found {
    color: gray;
    text-align: center;
}

/*/////////// REMOVE MODAL  ////////////*/
.modal-dialog {
    width: fit-content;
}

/*///////////// view content ////////////////*/
.lh-initial {
    line-height: initial;
}

/*/////////////// LINK STYLE ///////////////*/
.link {
    cursor: pointer;
}

.link:hover {
    text-decoration: underline;
}

/*//////////////////// MEDIA //////////////////////////////*/

@media (max-width: 991.98px) {
    #CreateItem {
        margin: 0 0 1rem 0;
    }
}

@media(max-width: 767.98px) {
    .page-header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .page-header-buttons {
        width: 100%;
    }
    .page-title {
        font-size: 1rem;
    }
    h5 {
        margin-bottom: 0;
    }
    .item-title {
        margin-top: 0.5rem;
    }
    .item-title-type:first-of-type {
        padding-left: 0;
    }
}

@media(max-width: 469.98px) {
    .page-header {
    }
    #CreateItem {
        padding: 0.15rem 0.4rem;
    }
}