.manual_container {
    --background-color: rgb(69, 11, 65);
    --main-text-color: white;
    --border-color: rgb(88, 154, 18);
    background-color: var(--background-color);
    color: var(--main-text-color);
}

.manual_main {
    width: 96%;
    container: main-column / inline-size;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    padding: 0;
}

.manual_main p, .manual_main ul {
    margin: 0;
}

.manual_navbar {
    width: 100%;
    height: 60px;
    border-bottom: 2px solid black;
    display: grid;
    grid-template-columns: 15% 70% 15%;
}

.manual_centered_row {
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.manual_centered_column {
    width: 100%;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
}

.manual_nav_column {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

.manual_nav_column > a {
    max-width: 50%;
}

.manual_nav_btn {
    max-height: 58px;
    object-fit: contain;
    padding: 2px;
}

.manual_nav_btn > i {
    font-size: 2em;
}

.manual_nav_btn > img {
    height: 100%;
}

.template {
    overflow-wrap: anywhere;
}

.manual_main_text_box {
    width: 100%;
    text-align: initial;
    color: white;
}

.manual_main_text_box > p {
    text-align: initial;
}

.manual_img_and_text {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    border-bottom: 2px solid var(--border-color);
}

.manual_youtube {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

.youtube_iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.iframe_cover {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: 10;
}

.manual_download_btn {
    width: 100%;
    height: 1.3em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    padding: 16px;
    background-color: var(--border-color);
    border-radius: 10px;
    border: 1px solid var(--main-text-color);
    color: var(--main-text-color);
}

@media only screen and (max-width: 700px) {
    .manual_img_and_text {
        grid-template-columns: 1fr;
    }
}

@container main-column (width < 700px) {
    .manual_img_and_text {
        grid-template-columns: 1fr;
    }

    .list * {
        font-size: 0.8em;
    }

    .list h1 {
        font-size: 1.5em;
    }

    .list h2 {
        font-size: 1.3em;
    }


    .list h3 {
        font-size: 1.1em;
    }

    .list h4 {
        font-size: 1em;
    }

    .list h5 {
        font-size: 0.9em;
    }

    .list h6 {
        font-size: 0.8em;
    }

    /*#list_1 * {*/
    /*    font-size: 0.3em;*/
    /*}*/

    /*#list_1 h1 {*/
    /*    font-size: 1.3em;*/
    /*}*/

    /*#list_1 h2 {*/
    /*    font-size: 1.1em;*/
    /*}*/


    /*#list_1 h3 {*/
    /*    font-size: 1em;*/
    /*}*/

    /*#list_1 h4 {*/
    /*    font-size: 0.9em;*/
    /*}*/

    /*#list_1 h5 {*/
    /*    font-size: 0.8em;*/
    /*}*/

    /*#list_1 h6 {*/
    /*    font-size: 0.7em;*/
    /*}*/
}

.manual_section_text_box {
    padding: 5%;
}

.manual_section_text_box > h2 {
    margin-top: 0;
    border-bottom: 2px solid var(--border-color);
}

.manual_nav_circle_img {
    width: 50%;
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    border: 1px dotted white;
    border-radius: 5%;
    padding: 5%;
    object-fit: cover;
    text-decoration: none;
    text-align: center;
    color: white;
}

.manual_nav_circle_img > .fa-external-link {
    font-size: 1.25em;
    position: absolute;
    top: 2%;
    right: 2%;
}

.manual_circle_img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 5px solid var(--border-color);
    border-radius: 25%;
    /*box-shadow: 0 0 10px 10px var(--border-color);*/
    /*border-left: 5px solid var(--border-color);*/
    /*border-bottom: 5px solid var(--border-color);*/
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;
}

.input_container {
    display: flex;
    flex-flow: column nowrap;
    gap: 5px;
    padding: 10px;
}

/* FORM STUFF */

#list-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.list {
    height: fit-content;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-content: flex-start;
    padding: 5px;
    border: 1px solid black;
    border-radius: 5px;
}

/*#list_1 {*/
/*    width: 200px;*/
/*}*/

.list_2 {
    min-height: 100%;
    border: 2px solid white;
}

.half-button {
    width: 50%;
}

.hide {
    display: none;
}

.temp-element {
    background-color: yellow;
}



.template--form {
    border: 1px dotted rgb(255, 255, 255, 0.2);
}

.template--form * {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;
}

.template--form * > * {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;
}

.manual-input--select {
    padding: 3px 1px;
}

.admin_manual_navbar {
    width: calc(100% + 30px);
    margin-top: -15px;
    margin-left: -15px;
    padding: 5px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.admin_manual_image, .admin_manual_document {
    width: 75px;
    max-width: 75px;
    min-width: 75px;
    margin: 5px;
    cursor: pointer;
}

.admin_manual_image > img {
    width: 75px;
    max-width: 75px;
    min-width: 75px;
}

.admin_manual_image:hover, .admin_manual_document:hover {
    background: grey;
}

.manual_footer {
    width: 100%;
    margin: 12px 0;
    text-align: center;
    font-size: 0.7em;
}

.checkbox-container {
    display: flex;
    align-items: center;

    label {
        margin: 0;
        padding: 0;
    }

    input[type=checkbox] {
        width: 2em;
        height: 2em;
        display: inline-block;
        margin: 0 0.5em;
    }
}

#page_form {
    div {
        margin: 0.5em;
    }
}