input[type="file"] {
    display: none;
}

.border-bottom-5 {
    border-bottom: 5px solid var(--bs-border-color);
}

.border-light-grey, .border-light-gray {
    border-color: #F2F2F2 !important;
}

.hover-elevation:hover {
    box-shadow: var(--bs-box-shadow);
}

.text-gray-400, .text-grey-400 {
    color: #94a3b8 !important;
}

.text-teal {
    color: #3FC6EE;
}

.half-opacity {
    opacity: 0.5;
}

.text-small, .text-small > .bi {
    font-size: 12px !important;
}

.object-contain {
    object-fit: contain !important;
}

/* Shared: floating action buttons (ProfileHeader, DetailPageLayout) */

.btn-circle {
    border-radius: 50%;
    height: 55px;
    width: 55px;
    font-size: 22px;
}

.btn-light-grey, .bg-light-grey, .btn-light-gray, .bg-light-gray {
    background-color: #F2F2F2 !important;
}

.btn-boost, .btn-fab {
    position: relative;
    z-index: 999;
    float: right;
    margin-top: -35px;
    margin-right: 10px;
    display: inline;
}

.detail-with-fab {
    display: inline-block;
    margin-top: -35px !important;
    width: 100%;
}

/* Shared: h6.intertitle (ContentDetailDescription, ContentDetailLayout, ContentDetailContactInfo) */

h6.intertitle {
    font-style: normal;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-top: 24px;
    margin-bottom: 20px;
}

/* Shared: status-message-container (StatusMessageLayout, NoResultsLayout) */

.info-card, ul.status-message-container li, div.status-message-container {
    background-color: var(--bs-tertiary-bg);
    border-radius: var(--bs-border-radius);
    cursor: pointer;
    padding: 15px;
    margin-bottom: 15px;
}

.validation-message {
    border: none;
    background-color: var(--bs-tertiary-bg);
    border-radius: 15px;
    cursor: pointer;
    padding: 15px;
    margin-bottom: 15px;
}

/* Shared: horizontal-card (ContentCard, ContentPreviewCard) */

.horizontal-card {
    cursor: pointer;
}

.horizontal-card .img-left {
    object-fit: cover;
    object-position: center;
    border-radius: var(--bs-border-radius) 0 0 var(--bs-border-radius);
    height: 190px;
    width: 100%;
}

.horizontal-card .overlay {
    height: 100% !important;
}

.horizontal-card .rounded-pill {
    position: absolute;
    left: 10px;
    top: 94px;
    height: 30px;
    padding: 4px 12px;
    font-size: 14px;
}

.cards-group .card.thumbnail .btn-circle, .cards-group .card.thumbnail .rounded-pill {
    position: absolute;
    left: 10px;
    top: 94px;
    height: 30px;
}

.cards-group .card.thumbnail .btn-circle {
    width: 30px;
    padding: 4px 0 0;
    font-size: 16px;
}

.cards-group .card.thumbnail .rounded-pill {
    padding: 4px 12px;
    font-size: 14px;
}

/* Shared: accent border + corner-chip icon (ThumbnailCard, CompactCard, HorizontalCard, NarrowCard, ContentCard) */

.accent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    border-radius: inherit !important;
    pointer-events: none;
}

.overlay-icon-container {
    position: absolute;
    top: -1px;
    right: -1px;
    padding: 2px 4px 4px 8px;
    border-radius: 0 5px 0 inherit;
}

.overlay-icon-container .bi {
    font-size: 16px;
    color: #fff;
}

.accent-warning {
    border: 4px solid var(--bs-warning);
}

.accent-warning .overlay-icon-container {
    background-color: var(--bs-warning);
}

.accent-primary {
    border: 4px solid var(--bs-primary);
}

.accent-primary .overlay-icon-container {
    background-color: var(--bs-primary);
}

.accent-purple {
    border: 4px solid var(--bs-purple);
}

.accent-purple .overlay-icon-container {
    background-color: var(--bs-purple);
}

.thumbnail-card .overlay, .thumbnail-card .accent-overlay {
    height: 134px !important;
}

/* ThumbnailCard image (put an <img class="card-thumbnail-img"> in the <Image> fragment) */

.card-thumbnail-img {
    width: 100%;
    height: 134px;
    object-fit: cover;
    border-radius: var(--bs-border-radius);
}

/* CompactCard avatar (put an <img class="compact-image rounded-circle"> in the <Image> fragment) */

.compact-image {
    height: 50px;
    width: 50px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dimmed card (CompactCard / HorizontalCard IsDimmed) */

.faded {
    opacity: 0.4;
}

/* Placeholder overlay (Add tile pattern: put this markup in a ThumbnailCard <Overlay>) */

.card .placeholder-overlay {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.65);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    border-radius: var(--bs-border-radius);
    padding-top: 50px;
}

.card .placeholder-overlay h6 {
    font-size: 16px;
    color: #fff;
    font-weight: normal;
    width: 100%;
}

.card .placeholder-overlay .bi {
    color: #fff;
    width: 100%;
}

/* Upload component */

.custom-file-upload {
    border: 2px dashed var(--bs-border-color);
    display: block;
    padding-top: 40px;
    height: 160px;
    cursor: pointer;
    border-radius: var(--bs-border-radius);
    text-align: center;
}

.custom-file-upload h6 {
    font-size: 16px;
    color: var(--bs-secondary-color);
    font-weight: normal;
}

.custom-file-upload .bi {
    color: var(--bs-body-color);
}

/* Shared: swipe deck (SwipeLayout, SwipeButtonsLayout) */

.swipe-layout {
    position: relative;
    margin: auto 15px;
}

.swipe-layout .card {
    display: none;
    transform-origin: 50% 100%;
    transition: visibility .3s linear, opacity .3s linear;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 15px;
}

.swipe-layout .card:first-child {
    display: flex;
    opacity: 1;
    z-index: 3;
    top: 28px;
}

.swipe-layout .card:nth-child(2), .swipe-layout .card:nth-child(3), .swipe-layout .card:nth-child(2) img, .swipe-layout .card:nth-child(3) img {
    display: flex;
    max-height: 150px !important;
    box-shadow: none !important;
}

.swipe-layout .card:nth-child(2) {
    opacity: 0.8;
    z-index: 2;
    top: 14px;
    left: 22px;
    right: 22px;
}

.swipe-layout .card:nth-child(3) {
    opacity: 0.6;
    z-index: 1;
    left: 29px;
    right: 29px;
}

.swipe-layout h5.card-title {
    font-size: 18px;
    font-weight: 600;
}

.swipe-layout .card:nth-child(3) .card-footer {
    display: none;
}

.swipe-layout .card-img-top {
    width: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
    box-shadow: 0.875rem 0.875rem 0.875rem 0 rgb(41 48 66 / 10%);
}

.swipe-layout .card-img-overlay.status {
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 15px;
}

.swipe-layout .card-img-overlay.status.bg-danger {
    background: rgba(237, 105, 74, 0.7) !important;
}

.swipe-layout .card-img-overlay.status.bg-success {
    background: rgba(76, 217, 100, 0.7) !important;
}

.swipe-layout .card-img-overlay.status > button {
    margin-top: 50%;
    background-color: #fff;
}

/* Source: https://codepen.io/suez/pen/MaeVBy */

.swipe-layout > .card.to-left {
    transform: translateX(-30rem) rotate(-30deg) !important;
}

.swipe-layout > .card.to-right {
    transform: translate(30rem) rotate(30deg) !important;
}

.swipe-layout > .card.reset {
    transition: transform 0.3s;
    transform: translateX(0) !important;
}

.swipe-layout > .card.inactive {
    transition: transform 0.3s;
}

.swipe-layout .overlay {
    border: none !important;
    right: 4px !important;
    top: 4px !important;
}

.boost-border {
    border: 4px solid var(--bs-purple);
}

/* SWIPE BUTTONS */

#swipe-buttons.row.fixed-bottom {
    padding-bottom: 39px;
}

#swipe-buttons {
    padding-top: 11px;
    background-color: var(--bs-body-bg);
}

.swipe-buttons-container {
    width: auto;
    margin: 0 auto;
}

.btn-swipe {
    margin-right: 28px;
    font-size: 18px !important;
}

.btn-swipe:last-child {
    margin-right: 0px;
}

@media (min-width: 768px) {
    .swipe-layout .card, .swipe-layout .card img {
        max-height: 700px;
    }

    .swipe-layout .overlay .overlay-icon-container {
        padding: 4px 6px 6px 10px !important;
    }

    .swipe-layout .overlay .bi {
        font-size: 18px !important;
    }

    .swipe-layout .boost-border {
        border: 6px solid var(--bs-purple);
    }
}
