/*modal begin*/
.modal{
    /* max-height: 90vh; */
}
.modal-dialog{
    overflow-y: initial !important;
}
.modal-body{
    max-height: calc(80vh - 140px);
    overflow-y: auto;
}
.modal-content.ui-resizable {
}
/*modal end*/

/*loading*/
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.7) url("../img/loader.gif") center no-repeat;
}

/* Turn off scrollbar when body element has the loading class */
body.loading {
    overflow: hidden;
}

/* Make spinner image visible when body element has the loading class */
body.loading .overlay {
    display: block;
}
/* loading-end */

/* intl-tel begin */
.intl-tel-input {
    width: 100%;
    display: block;
}

.iti {
    width: 100%;
    display: block;
}
/* intl-tel end */

/* crop-text begin */
.crop-text-1 {
    -webkit-line-clamp: 1;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.crop-text-2 {
    -webkit-line-clamp: 2;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.crop-text-3 {
    -webkit-line-clamp: 3;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
/* crop-text end */

/* bootstrap icon size begin */
.bi-size-2 {
    font-size: 2rem; /* sets the icon size to 2 times the base font size */
}
/* bootstrap icon size end */

/* image list display */
.icon-div-small {
    height: 32px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.icon-div {
    height: 64px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-small {
    height: 96px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div {
    height: 128px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-large {
    height: 256px;
    background-position: center;
    background-size: contain;
    /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.image-div-xl {
    height: 512px;
    background-position: center;
    background-size: contain; /* fill,contain,cover,none,scale-down */
    background-repeat: no-repeat;
}

.img-row {
    display: flex;
}

.img-column {
    flex: 25%;
    padding: 5px;
}

/* end image list display */

/* swiper-slide begin */
.swiper-slide {
    height: auto;
}
/* swiper-slide end */

/* ribbon begin */
.ribbon-holder {
    position: absolute;
    top: 1rem;
    left: -0.25rem;
    display: inline-block;
}

.ribbon {
    display: inline-block;
    color: #fff;
    position: relative;
    background: #4fbfa8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: bold;
}
.ribbon::before {
    content: "";
    border-top: 1rem solid #348e7b;
    border-left: 1rem solid transparent;
    border-right: 0 solid transparent;
    position: absolute;
    bottom: -1rem;
    left: 0;
    display: block;
}
.ribbon::after {
    content: "";
    display: block;
}

.ribbon-primary {
    background: #4fbfa8;
}
.ribbon-primary::before {
    border-top-color: #348e7b;
}

.ribbon-secondary {
    background: #949494;
}
.ribbon-secondary::before {
    border-top-color: #6e6e6e;
}

.ribbon-success {
    background: #28a745;
}
.ribbon-success::before {
    border-top-color: #19692c;
}

.ribbon-info {
    background: #17a2b8;
}
.ribbon-info::before {
    border-top-color: #0f6674;
}

.ribbon-warning {
    background: #ffc107;
}
.ribbon-warning::before {
    border-top-color: #ba8b00;
}

.ribbon-danger {
    background: #dc3545;
}
.ribbon-danger::before {
    border-top-color: #a71d2a;
}

.ribbon-light {
    background: #f8f9fa;
}
.ribbon-light::before {
    border-top-color: #cbd3da;
}

.ribbon-dark {
    background: #414141;
}
.ribbon-dark::before {
    border-top-color: #1b1b1b;
}
/* ribbon end */

/* variable hide */
.value-hidden {
    display: none;
}

/**
* Visually hidden
*/
.visually-hidden {
    display: block;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px 1px 1px 1px);
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(1px);
    white-space: nowrap;
    position: absolute;
}

/* table horizontal alignment begin */
.left-align {
    text-align: left;
}
.center-align {
    text-align: center;
}
.right-align {
    text-align: right;
}
/* table horizontal alignment end */

/**
* App
*/
.app {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-gap: 2rem;
}

.app__decor {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    line-height: 1;
}

.app__decor small {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.app__decor > * {
    display: block;
}

.app__decor > * + * {
    margin-top: 0.4rem;
}

.app__items {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    font-weight: 300;
}

.app__items li {
    position: relative;
    padding: 0 0 0 2rem;
    font-size: 1.3rem;
}

.app__items li::before {
    content: "🎉";
    position: absolute;
    top: 1px;
    left: 0;
}

.app__items li + li {
    margin-top: 0.5rem;
}

.app__items button {
    background: transparent;
    border: none;
    position: relative;
    top: -1px;
    color: var(--danger);
    font-weight: 500;
    font-size: 1rem;
    margin: 0 0 0 5px;
    cursor: pointer;
}

.app__items button:hover {
    color: var(--danger--dark);
}

@media all and (min-width: 40rem) {
    .app {
        grid-template-columns: 2fr 1fr;
    }
}

/**
* App end
*/


/**
* Search begin
*/

.autocomplete-list {
    position: absolute;
    z-index: 1000;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    background-color: #fff;
    /*
    border: 1px solid #ced4da;
    border-radius: .25rem;
    */
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: .5rem;
    cursor: pointer;
    gap: 10px;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background-color: #e9ecef;
}

.srch-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.highlight {
    font-weight: bold;
    color: #0d6efd;
}

/**
* Search end
*/

/**
* responsive-table begin
*/
@media (max-width: 768px) {
    .responsive-table thead {
        display: none;
    }

    .responsive-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: .5rem;
        padding: .5rem;
    }

    .responsive-table td {
        display: flex;
        justify-content: space-between;
        padding: .5rem;
    }

    .responsive-table td::before {
        content: attr(data-label);
        font-weight: 600;
    }
}
/**
* responsive-table end
*/
