.graph-section-basics {
    background: #F0F0F0;
    width: 100%;
    display: flex;
    padding: 0 15px;
    margin-bottom: 5px;
    align-items: center;
}

.graph .modal .modal-dialog {
    max-width: 800px;
}

.graph-section-title {
    color: #000000 !important;
    margin: 0px !important;
}

.graph-section-directions {
    flex: 1 0 0;
    color: #000000 !important;
    text-align: right;
}

.graph-section-directions p {
    margin: 0px !important;
    line-height: 36px;
    font-size: 16px;
}

.graph-section-graphs {
    background: #F0F0F0;
    padding: 15px;
    margin-bottom: 15px;
}

.graph-section-graphs .graph {
    text-align: center;
    display: block;
}

.graph-section-graphs .graph .graph-title {
    color: #000000;
}

.view-graphs-btn {
    background-color: #6e760b;
    color: #ffffff;
    float: right;
    margin-bottom: 25px !important;
}

.view-graphs-btn:hover {
    background-color: #323605;
    color: #ffffff !important;
}

.graph-section-graphs .row .graph:nth-child(n+5) {
    display: none;
}

.open-graphs {
    display: block !important;
}

.open-graphs .graph {
    margin-bottom: 15px;
}

.open-graphs .row .graph:nth-child(n+5) {
    display: block !important;
}

.graph-image {
    margin: 0 auto;
}

.graph-close-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    line-height: 24px;
    font-size: 24px;
    height: 24px;
    margin-bottom: 15px;
}

.graph-close-btn:focus {
    color: #000000;
}

.graph-modal-bg {
    position: fixed;
    z-index: 999999999999999999;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, .75);
    width: 100vw;
    height: 100vh;
}

.graph-modal-content {
    background: #ffffff;
    padding: 54px 54px 15px 54px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 800px;
    overflow-y: auto;
    width: 90%;
    max-width: 1280px;
}

.graph-modal img {
    margin-bottom: 15px;
    max-width: 100%;
}

.modal-open {
    overflow: hidden;
    max-height: 100vh;
}

@media only screen and (max-width: 991px) {
    .graph {
        margin-bottom: 15px;
    }

    .graph .graph-title {
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    .graph-modal-content {
        max-height: 300px;
    }

    .view-graphs-btn {
        float: none;
    }

    .graph-section-basics {
        display: block;
    }

    .graph-section-title {
        display: block;
        width: 100%;
        text-align: center;
    }

    .graph-section-directions {
        display: block;
        width: 100%;
        text-align: center;
    }
}