#page-alt {
	padding-top: 66px !important;
}

.sidebar {
    display: none;
}

.main-content {
    margin-left: 0px !important;
}

.container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1470px;
}

.container .column:first-child {
    text-align: left !important;
}

.container .column:nth-child(2) {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    max-width: 400px;
}

.container .full-column {
    padding: 10px;
}

.container .full-row {
    width: 100%;
}

.internal-banner {
    width: 100%;
    background-color: #F8F2E8;
    color: #D8BE9E;
}

@media (max-width: 1024px) {
    .container .column:nth-child(2) {
        text-align: right;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 1000px;
    }
}

.column {
    flex: 1 1 auto;
    max-width: 65%;
    padding: 10px;
}

@media (max-width: 1024px) {
    .column {
        max-width: 100%;
    }
}

.category-parent-container {
    display: flex;
    flex-wrap: wrap; /* Allow the right column to move below the left column if there's not enough space. */
    justify-content: center;
}

.category-parent-left-column {
    width: 365px;
    padding: 10px;
    box-sizing: border-box;
}

.category-parent-right-column {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    max-width: 1470px;
}

.category-parent-icon {
    top: 20px;
    left: 210px;
    position: relative;
    width: 86px;
    height: 72px;
    border-radius: 8px;
    background-color: #f43a3a;
    padding: 9px 15px 11px 13px;
}

.icon-preview-on {
    color: green;
    text-shadow: 0 0 3px #00ff00;
}

@media (max-width: 458px) {
    .category-container {
        display: block; /* get rid of flex so categories can span screen width */
    }

    .top-level-div {
        margin: 20px 10px 20px 15px; 
    }

    .category-block {
        width: 100%;
    }
}

@media (min-width: 459px) {
    .category-container {
        display: flex;
        flex-wrap: wrap;
    }

    .top-level-div {
        flex: 0 0 379px;
        margin: 30px 40px 45px;
    }

    .category-block {
        width: 394px;
    }
}

/* If the viewport width is less than 365px, make both columns full width. */
@media (max-width: 400px) {
    .category-parent-icon {
        top: 20px;
        left: 4px;
        position: relative;
        width: 86px;
        height: 72px;
        border-radius: 8px;
        background-color: #f43a3a;
        margin: 0 0 32px;
    }
    .category-parent-left-column, .category-parent-right-column {
        width: 100%;
    }
}
@media (min-width: 401px) {
    .category-button-container {
        width: 394px;
    }
}
.category-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

@media (max-width: 1024px) {
    .category-container {
        justify-content: center;
    }
}

.category-dropzone {
    opacity: .5;
}

.category-block {
    border-radius: 20px;
    box-shadow: 0px 6px 20.5px 4.5px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    height: 100%;
    min-height: 400px;
}

.category-block-new {
    height: 550px !important;
}

.category-type-new {
    font-size: 0.6em;
}

.category-title {
    width: 100%;
    color: #000;
    font-size: .8em;
}

.category-description {
    width: 100%;
    height: 305px;
}

.category-block-header {
    display: flex;
    align-items: center;
    background-color: #262634;
    position: relative;
    padding: 0px 20px 0px 60px;
    height: 112px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.category-block-header-buttons {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    padding: 10px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: end;
    flex-basis: 30px;
    gap: 5px;
}

.category-block-header-icon {
    width: 86px;
    height: 72px;
    border-radius: 8px;
    background-color: #f43a3a;
    position: absolute;
    left: -14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 9px;
}

.category-block-header-icon img {
    /*width: 50px;*/
    height: auto;
}
.category-block-header-text {
    margin-left: 26px;
    font-family: poppins,sans-serif;
    font-size: 21px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: #fff;
}

.category-block-header-text a {
    color: #fff !important;
}

.category-block-description p { /* added this to match the tinymce editor's spacing */
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.category-block-description {
    display: block;
    padding: 0 41px 20px 36px;
    /* font-family: poppins,sans-serif; */
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    color: #262634;
}

.category-block-description:has(div.category-block-buttons) {
    padding: 0px !important;
}

.btn-new-page {
    width: 86px;
    height: 72px;
    border-radius: 8px;
    background-color: #f43a3a;
    box-shadow: 0px 6px 20.5px 4.5px rgba(0, 0, 0, 0.1);
}

.btn-new-page:hover {
    background-color: black !important;
}

.category-block-buttons {
    display: block;
    font-family: poppins,sans-serif;
    text-align: center;
    padding: 15px 0;
    margin: 0 5px;
}

.page-submit-button {
    position: relative;
    padding: 8px 15px !important;
}

.page-cancel-button {
    position: relative;
    height: 36px !important;
    padding: 8px 15px !important;
}

.custom-select {
    position: absolute;
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: white;
    top: 10px;
    /*height: 60px;*/
    /*overflow: hidden;  !* existing *!*/
}

.custom-select-visible,
.custom-select-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-select-fullscreen {
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed; 
    top: 0;
    left: 0;
    background: rgba(255, 255, 255);
    overflow: auto;
}

.custom-select-options {
    margin: auto;
    margin-top: 75px;
    z-index: 9999;
    overflow: auto;
    scroll-snap-type: y mandatory;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    text-align: center;
}

.custom-select-options div {
    padding: 10px;
    cursor: pointer;
    transition: background 0.3s;
    scroll-snap-align: start;
}

.custom-select-options div:hover {
    background: #f0f0f0;
}

.custom-select img {
    max-height: 50px;
}

.draggable {
    cursor: move;
}

.sentinel-div {
    width: 100%;
    height: 30px;
    margin-bottom: 30px;
}

.sentinel-text-box {
    border: 2px dotted lightgray;
    padding: 4px;
    width: 100%;
    box-sizing: border-box;
}

.published-on {
    color: #00bb00;
    text-shadow: 0 0 3px #00ff00;
    font-size: 12px !important;
}

.published-off {
    color: gray;
    font-size: 12px !important;
}

.edit-pencil-button-on {
    font-size: 18px !important;
    color: #00bb00;
}

.edit-pencil-button {
    font-size: 18px !important;
    color: #ccc;
}

.edit-pencil-button:hover {
    color: white;
    cursor: pointer;
}

.placeholder {
    opacity: .65;
}

.modal-alert .modal-header,
.modal-alert .modal-footer {
    /*background-color: #ffdddd;*/
    color: #721c24;
    border-color: #f5c6cb;
    border-bottom: 1px solid #f5c6cb;
}

.modal-alert .modal-body {
    background-color: #fff5f5;
    color: #721c24;
}

.modal-footer {
    border-top: 1px solid #f5c6cb;
}

.display-order-select {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.publish-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
}

.top-menu.edit-mode {
    border-bottom: 1px solid #999;
    background-color: #e9e9eb;
}

.publish-wrapper.edit-mode {
    background-color: #e9e9eb !important;
}

.publish-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.publish-button {
    position: relative;
    margin-right: 10px;
}

.publish-warning {
    font-size: 12px;
}

.toggle-group {
    display: flex;
    align-items: center;
}

.publish-label {
    margin: 0px 10px 0px 10px;
    cursor: pointer;
}

.fa-lg-btn {
    font-size: 18px; /* not sure why fa-lg, fa-xl, etc aren't working */
    cursor: pointer;
}

.publish-wrapper .fa.disabled {
    opacity: 0.5;
    cursor: default;
}

.button-group {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
    align-items: center;
    padding: 15px 10px 10px;
}

.button-group > .btn {
    overflow: inherit !important; /* .btn in main.css is throwing the align off for these buttons */
}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-flow: row wrap;
    border: 1px solid #ddd; 
    box-shadow: 0px 0px 2px rgba(0,0,0,.2);
    margin-bottom: 15px;
}

.btn.disabled, .btn[disabled] {
    cursor: default;
}

/* for drag and drop categories */
.v-enter-active,
.v-leave-active {
  transition: opacity 0.5s ease;
}

.v-enter,
.v-leave-to {
  opacity: 0;
}

/* for SuccessAlert component */
.fade-enter-active, .fade-leave-active {
    transition: opacity .5s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}
.alert-success-format {
    width: 35%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.hide-undo {
    visibility: hidden;
}

.show-undo {
    visibility: visible;
}

.btn-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border-radius: 0.75rem;
    padding-inline: 1rem;
    padding-block: 0.74rem;
    text-align: center;
    background-color: #dc3434;
    color:white;
    &:hover {
        background-color: #c32e2e;
    }
}