/* Admin Buttons */

.xmp-admin-section {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 20;
}

.xmp-admin-section-static {
    position: static;
}

.xmp-admin-section-bottom {
    margin: 10px;
    display: inline-block;
}

a.xmp-admin-btn {
    margin-bottom: 0;
}

.xmp-admin-btn {
    display: inline-block;
    padding: 2px 6px;
    font-family: 'Lato';
    font-size: 16px;
    color: #000 !important;
    background-color: #EBEBEB;
    border: 1px solid #000;
    text-decoration: none !important;
    cursor: pointer;
    text-align: center;
}

    .xmp-admin-btn:hover {
        background-color: #D9D9D9;
        color: #000;
    }

    .xmp-admin-btn:active {
        border-style: inset;
    }

/* Title and Background */

.xmp-title-background {
    width: 100%;
    position: relative; /* positioning context for the absolute image */
    overflow: hidden; /* crop the image to the banner's content height */
}

.xmp-title-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* fill the height the content sets */
    object-fit: cover; /* fill without warping; crop as needed */
    object-position: center; /* keep the focal point centered */
    z-index: 0;
}

.xmp-title-background-div {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 100%;
    position: relative;
    z-index: 1;
}

    .xmp-title-background-div.no-top-padding {
        padding-top: 0;
    }

    .xmp-title-background-div.no-bottom-padding {
        padding-bottom: 0;
    }

.xmp-title-background-content {
    margin-bottom: 20px;
}

    .xmp-title-background-content > h1,
    .xmp-title-background-content > h2,
    .xmp-title-background-content > h3,
    .xmp-title-background-content > h4,
    .xmp-title-background-content > h5,
    .xmp-title-background-content > h6,
    .xmp-title-background-content > p {
        text-align: center;
    }

.xmp-paragraph {
    font-size: 20px;
    font-weight: bold;
}

/* Large devices (desktops, 992px and up) - lg */
@media (min-width: 992px) {
    .xmp-title-background,
    .xmp-title-background-div {
        min-height: 281px;
    }
}

/* Extra large devices (large desktops, 1200px and up) - xl */
@media (min-width: 1200px) {
    .xmp-title-background,
    .xmp-title-background-div {
        min-height: 300px;
    }
}

/* Edit Form */

.xmp-container {
    margin-top: 20px;
    margin-bottom: 20px;
}

    .xmp-container > .row {
        margin-bottom: 10px;
    }

.xmp-checklist-table td {
    padding-right: 5px;
}

    .xmp-checklist-table td > input {
        margin-right: 5px;
        cursor: pointer;
    }

    .xmp-checklist-table td > label {
        cursor: pointer;
    }

.xmp-edit-img {
    width: 100%;
    height: auto;
    padding: 5px;
}

.xmp-container .form-text {
    display: block;
}

/* Management  */

#xmp-table_wrapper {
    padding: 20px 20px 0 20px;
}

#xmp-manage-section {
    margin: 0 20px 20px 20px;
}

