body {
    background-color: var(--mf-gray-l90);
}

.page-wrapper-inner {
    border-radius: 20px;
    background-color: white;
    padding: 30px;
    box-shadow: 0 0.25rem 0.5rem rgb(1 1 1 / 25%);
}

.section {
    margin-bottom: 20px;
}

.divider {
    height: 3px;
    background-color: var(--mf-yellow);
    margin-bottom: 20px;
    margin-right: -3px;
    /*margin-right: -23px;*/
}

.divider-sm {
    height: 3px;
    background-color: var(--mf-yellow);
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    width: 250px;
}

.title-row {
    font-size: 28px;
}

.title-row-blue {
    color: var(--mf-blue);
}

.hide-edit {
    display: none !important;
}

/*.cancel-guide-btn,
.cancel-guide-add-btn {
    color: black;
    font-size: 24px;
    font-weight: 800;
}

.edit-guide-btn,
.save-guide-btn,
.save-section-header-btn,
.save-section-text-btn,
.cancel-guide-btn,
.save-guide-add-btn,
.cancel-guide-add-btn {
    display: inline-block;
    float: right;
}

    .edit-guide-btn img,
    .save-guide-btn img,
    .save-guide-add-btn img,
    .save-section-header-btn img,
    .save-section-text-btn img,
    .delete-icon {
        height: 24px;
    }

        .edit-guide-btn img:hover,
        .save-guide-btn img:hover,
        .save-guide-add-btn img:hover,
        .save-section-header-btn img:hover,
        .save-section-text-btn img:hover,
        .save-edit-guide-btn img:hover,
        .delete-icon:hover,
        .cancel-guide-btn:hover,
        .cancel-guide-add-btn:hover {
            cursor: pointer;
            filter: drop-shadow(0 0 1px #666);
        }*/

.section-header-container {
    padding-left: 0;
}

.section-text-container {
    margin-bottom: 20px;
}

.edit-section-text,
.section-text {
    font-size: 20px;
}

.section-text {
    display: inline-block;
}

    .section-text * {
        white-space: normal !important;
    }

/*.edit-input,
.edit-input-btn {*/
.edit-input {
    display: none;
    margin-bottom: 10px;
}

.edit-label {
    display: none;
    font-size: 16px;
    font-weight: var(--mf-normal);
}

/*.section-header-container .save-section-header-btn,
.section-text-container .save-section-text-btn {
    margin-top: 4px;
}

.save-guide-btn,
.save-section-header-btn,
.save-section-text-btn,
.save-guide-add-btn {
    margin-right: 10px;
}*/

.add-btn-container {
    width: 100%;
}

    .add-btn-container .add-btn,
    .add-btn-container .browse-actions-btn {
        float: right;
    }

.new-container {
    display: none;
}


/* image upload display styling (primary, gis, and trumbow) */
.display img {
    max-width: 100%;
    max-height: 600px;
    margin-left: auto;
    margin-right: auto;
}

.display-image-wrapper {
    width: 100%;
    /*padding-right: 30px;*/
    text-align: center;
}

    .display-image-wrapper img {
        max-width: 100%;
        max-height: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.preview-img {
    width: 100%;
    max-width: 200px;
}

@media only screen and (max-width: 768px) {
    .divider {
        margin-right: 0;
    }

    .title-row {
        font-size: 18px;
    }

    .edit-section-text,
    .section-text {
        font-size: 16px;
    }
}


/*** header section ***/
.header-section .guide-title-row {
    margin-bottom: 35px;
}

/*.header-section .title-wrapper {
    position: relative;
    height: 100%;
}*/

.header-section .guide-logo {
    width: 85px;
    /*margin-right: 15px;*/
}

.header-section .guide-title {
    color: var(--mf-blue);
    font-size: 30px;
    font-weight: var(--mf-bold);
    /* vertical centering */
    /*position: absolute;
    height: 30px;
    top: 50%;
    margin-top: -20px;*/
}

/*.header-section .print a {
    color: black;
    text-decoration: none;
}

.header-section .print .print-icon {
    color: var(--mf-blue);
    height: 2.5rem;
    margin-right: 15px;
}

.header-section .print .print-text {
    font-size: 22px;
    font-weight: var(--mf-bold);
}*/

.header-section .icon {
    height: 2.5rem;
}

.header-section .header-factors-wrapper {
    position: relative;
}

.header-section .upload-image-col {
    padding-left: 20px;
}

@media only screen and (min-width: 769px) {
    .header-section .print-wrapper {
        position: relative;
    }

    .header-section .print {
        position: absolute;
        bottom: 25%;
        right: 0;
    }

    .header-section .header-factors {
        position: absolute;
        bottom: 5px;
        right: 0;
    }
}

@media only screen and (max-width: 768px) {
    .header-section .guide-logo {
        width: 45px;
    }

    .header-section .guide-title {
        font-size: 25px;
        white-space: normal;
    }

    /*.header-section .print-wrapper {
        padding-top: 10px;
    }

    .header-section .print .print-icon {
        height: 2rem;
        margin-right: 10px;
    }

    .header-section .print .print-text {
        font-size: 18px;
    }*/

    .header-section .header-factors-wrapper {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-section .icon {
        height: 2rem;
    }
}

@media only screen and (max-width: 600px) {
    .header-section .guide-title-row {
        margin-bottom: 10px;
    }

    .header-section .header-factors .btn {
        position: absolute;
        right: 20px;
    }
}

@media only screen and (max-width: 400px) {
    .guide-title-row .title-wrapper {
        width: 90vw;
    }
}


/*** manage all guides section ***/
.all-guides-wrapper {
    padding: 20px;
    background-color: var(--mf-gray-l90);
}

    .all-guides-wrapper .all-guides-inner {
        background-color: white;
        border-radius: 7px;
        padding: 10px 25px 20px 25px;
    }

        .all-guides-wrapper .all-guides-inner .title-block {
            width: 100%;
            padding: 0px 0 0px 0;
        }

            .all-guides-wrapper .all-guides-inner .title-block .all-guides-title {
                font-size: 22px;
                font-weight: var(--mf-bold);
            }

    .all-guides-wrapper .all-guides-header-row {
        font-weight: var(--mf-bold);
    }

    .all-guides-wrapper .all-guides-header-row,
    .all-guides-wrapper .all-guides-row {
        border-bottom: 1px solid black;
        padding-top: 5px;
    }

        .all-guides-wrapper .all-guides-row.active {
            background-color: #fcf9b6;
        }

        .all-guides-wrapper .all-guides-row:not(.active):hover {
            background-color: var(--mf-gray-l90);
        }

        .all-guides-wrapper .all-guides-row a {
            color: black;
            text-decoration: none;
        }

            .all-guides-wrapper .all-guides-row a:hover {
                cursor: pointer;
                text-decoration: underline;
            }

        .all-guides-wrapper .all-guides-row .col-2,
        .all-guides-wrapper .all-guides-row .col-3,
        .all-guides-wrapper .all-guides-row .col-4 {
            padding-top: 0;
            padding-bottom: 0;
        }

    .all-guides-wrapper img {
        height: 24px;
    }


/*** edit guide section */
.all-guides-container,
.edit-guide-container {
    margin-bottom: 25px;
}

    .all-guides-container .all-guides-header,
    .edit-guide-container .edit-guide-header {
        background-color: var(--mf-blue);
        color: white;
        font-weight: var(--mf-bold);
        padding: 5px 10px;
    }

        .all-guides-container .all-guides-header .toggle-all-guides,
        .edit-guide-container .edit-guide-header .toggle-all-guides {
            float: right;
            color: white;
            font-weight: 800;
            text-decoration: none;
        }

            .all-guides-container .all-guides-header .toggle-all-guides:hover,
            .edit-guide-container .edit-guide-header .toggle-all-guides:hover {
                cursor: pointer;
                filter: drop-shadow(0 0 1px #666);
            }

.edit-guide-wrapper {
    background-color: var(--mf-gray-l90);
    padding: 15px;
}

    .edit-guide-wrapper .unsaved-alert {
        color: red;
        font-size: 16px;
        font-weight: var(--mf-bold);
        display: none;
        margin-left: 15px;
    }

    .edit-guide-wrapper .info-wrapper {
        margin-top: 20px;
        margin-bottom: 40px;
        font-weight: var(--mf-bold);
    }

        .edit-guide-wrapper .info-wrapper select {
            max-width: 250px;
            margin-bottom: 20px;
        }

    .edit-guide-wrapper .left-col {
        position: relative;
    }

        .edit-guide-wrapper .left-col .save-edit-guide-container {
            position: absolute;
            bottom: 0;
        }

        /*.edit-guide-wrapper .left-col .save-edit-guide-btn img {*/
        .edit-guide-wrapper .left-col .save-edit-guide-btn i {
            font-size: 30px;
        }

    .edit-guide-wrapper .guide-factors-wrapper {
        max-width: 400px;
        padding-left: 25px;
        margin-left: auto;
        margin-right: auto;
    }

    .edit-guide-wrapper .guide-factors-title,
    .edit-guide-wrapper .notes-label {
        font-weight: var(--mf-bold);
        font-size: 22px;
    }

    .edit-guide-wrapper .guide-factor-header {
        background-color: var(--mf-blue);
        color: white;
        text-align: center;
        font-weight: var(--mf-bold);
        border-radius: 7px 7px 0 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .edit-guide-wrapper .guide-factor-row {
        background-color: white;
        text-align: left;
        padding-top: 2.5px;
        padding-bottom: 2.5px;
        padding-left: 10px;
    }

        .edit-guide-wrapper .guide-factor-row:hover {
            background-color: var(--mf-gray-l90);
        }

    .edit-guide-wrapper .guide-factor-category-row {
        background-color: white;
        text-align: left;
        padding-top: 5px;
        font-weight: var(--mf-bolder);
    }

    .edit-guide-wrapper .guide-factor-row-blank {
        background-color: white;
        border-radius: 0 0 7px 7px;
        padding-bottom: 10px;
    }

    .edit-guide-wrapper .factor-icon {
        width: 14px;
        margin-left: 7px;
    }

    .edit-guide-wrapper .add-factor-btn {
        background-color: green;
    }

    .edit-guide-wrapper .remove-factor-btn {
        background-color: red;
    }

        .edit-guide-wrapper .add-factor-btn:hover,
        .edit-guide-wrapper .remove-factor-btn:hover {
            color: #ccc;
        }

    .edit-guide-wrapper .add-factors-container {
        margin-top: 20px;
    }


@media only screen and (min-width: 769px) {
    #notesInput .note-editor .note-editable {
        min-height: 200px;
    }
}



/*** questions section ***/
.question-card {
    margin-bottom: 25px;
}

    .question-card .sort-number {
        font-weight: var(--mf-bold);
        font-size: 50px;
        text-align: center;
        margin-top: auto;
        margin-bottom: auto;
    }

    .question-card .content-container {
        /*box-shadow: 0px 3px 8px var(--shadow);*/
        border-radius: 0 0 22px 22px;
        padding-left: 0;
        padding-right: 0;
    }

    .question-card .toggle-card {
        float: right;
        color: white;
        font-weight: 800;
        text-decoration: none;
    }

        .question-card .toggle-card:hover {
            cursor: pointer;
            filter: drop-shadow(0 0 1px #666);
        }

    .question-card .question-header {
        background-color: var(--mf-yellow);
        font-weight: var(--mf-bold);
        font-size: 20px;
        padding: 15px;
        box-shadow: 0px 3px 8px var(--shadow);
    }

    .question-card .question-body {
        background-color: var(--mf-gray-l90);
        border-radius: 0 0 22px 22px;
        padding: 25px;
    }

        .question-card .question-body span.display {
            max-height: 250px;
            overflow-y: auto;
        }

        .question-card .question-body ::-webkit-scrollbar {
            background-color: var(--mf-gray-l80);
        }

@media only screen and (max-width: 768px) {
    .question-section {
        padding-left: 0;
    }

    .question-card .sort-number span {
        display: none
    }

    .question-card .question-header {
        font-size: 18px;
        padding: 10px;
    }

    .add-question-card .add-input {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 600px) {
    .question-card .question-body {
        padding: 10px;
    }
}


/*** gis section ***/
.gis-list {
    width: 100%;
    height: 100%;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

    .gis-list a {
        color: black;
        text-decoration: none;
    }

#gisSectionImageForm,
#gisSectionImageUrl {
    margin-bottom: 20px;
}

.gis-item {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}

    .gis-item:hover {
        background-color: #eee;
    }

    .gis-item .gis-header {
        font-size: 16px;
        font-weight: var(--mf-bolder);
        color: var(--mf-blue);
    }

    .gis-item.gis-body {
        font-size: 12px;
    }

    .gis-item .gis-icon {
        width: 16px;
    }

    .gis-item .gis-icon-wrapper {
        display: inline-block;
        width: 16px;
        height: 100%;
    }

    .gis-item .gis-text-wrapper {
        display: inline-block;
        width: calc(100% - 40px);
    }

.gis-section .add-btn-container {
    margin-top: 30px;
}

@media only screen and (max-width: 768px) {
    .gis-list {
        max-height: 350px;
    }
}

@media only screen and (max-width: 600px) {
    .gis-list {
        max-height: 200px;
    }

    .gis-image-wrapper {
        padding-bottom: 10px;
        padding-right: 0;
    }
}


/*** actions section ***/
#guideActionContainer {
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-bottom: 15px;
}

.action-header {
    font-weight: var(--mf-bold);
    font-size: 24px;
}

.action-body {
    font-size: 20px;
    margin-bottom: 20px;
}

.action-icon {
    height: 30px;
    float: right;
    margin-top: 5px;
}

@media only screen and (max-width: 768px) {
    #guideActionContainer {
        max-height: 350px;
    }

    .action-header {
        font-size: 18px;
    }

    .action-body {
        font-size: 16px;
    }

    .action-icon {
        height: 25px;
        margin-top: 3px;
    }
}

@media only screen and (max-width: 600px) {
    #guideActionContainer {
        max-height: 200px;
    }
}

@media only screen and (max-width: 400px) {
    .action-icon {
        display: none;
    }
}


/*** case studies section ***/
.case-study-header {
    font-weight: var(--mf-bold);
    font-size: 24px;
}

    .case-study-header .case-study-towns {
        display: block;
        padding: 0;
        margin: 0;
        font-size: 20px;
        font-weight: var(--mf-bold);
    }

    .case-study-header .edit-case-study-text {
        font-size: 16px;
    }

    .case-study-header .case-study-link {
        display: block;
        padding: 0;
        margin: 0;
        font-size: 20px;
    }

.case-study-body {
    font-size: 20px;
}

.case-study-image-col {
    padding-top: 8px;
    padding-right: 35px;
}

.case-study-image {
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (max-width: 768px) {
    .case-study-header {
        font-size: 18px;
    }

        .case-study-header .case-study-towns {
            font-size: 16px;
        }

        .case-study-header .edit-case-study-text {
            font-size: 16px;
        }

        .case-study-header .case-study-link {
            font-size: 16px;
        }

    .case-study-body {
        font-size: 16px;
    }

    .case-study-image-col {
        padding-right: 0px;
        padding-bottom: 15px;
    }
}


/*** factors section ***/
.factor-col {
    padding: 20px;
}

    .factor-col .icon {
        width: 30px;
    }

    .factor-col .factor {
        width: 375px;
        background-color: var(--mf-gray-l80);
        font-size: 26px;
        font-weight: var(--mf-bold);
        text-align: center;
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .factor-col .related-factor {
        display: block;
        width: 375px;
        font-size: 26px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

@media only screen and (max-width: 768px) {
    .factor-section {
        padding-left: 0;
    }

    .factor-col .icon {
        width: 20px;
    }

    .factor-col .factor {
        max-width: 375px;
        width: 60%;
        font-size: 20px;
        margin-top: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .factor-col .related-factor {
        max-width: 375px;
        width: 60%;
        font-size: 20px;
    }
}


.factor-section .rel-guide-title {
    font-size: 24px;
}

    .factor-section .rel-guide-title i {
        font-size: 12px;
        vertical-align: middle;
        margin-bottom: 7px;
    }

    .factor-section .rel-guide-title a {
        color: black;
        text-decoration: none;
        font-weight: var(--mf-bold);
    }

.factor-section .rel-guide-desc,
.factor-section .trumbowyg-wrapper {
    font-size: 18px;
}

.factor-section .rel-guide-desc {
    color: black;
}

@media only screen and (max-width: 768px) {
    .factor-section .rel-guide-desc,
    .factor-section .trumbowyg-wrapper {
        font-size: 14px;
    }
}