.single-question-container, .active-container {
    border: 1px solid #ced4da;
    border-radius: 6px;
}

.single-question-container:hover, .active-container {
    border: 1px solid #d1d1d1;
    background-color: #F5F7F9;
    border-radius: 6px;
}

.btn-form-select {
    width: 100px;
    margin-right: 5px;
}

.question-container > .row {
    margin-right: 0px;
    margin-left: 0px;
}

.icon-md {
    height: 20px;
    width: 20px;
}

.add-option-button:hover, .add-other-option:hover {
    cursor: pointer;
    background-color: #e3e3e3;
}

.delete-choice-option:hover {
    cursor: pointer;
}

.add-option-button, .question-required-checkbox, .delete-choice-option, .add-other-option {
    display: none;
}

.add-option-button, .add-other-option {
    border: 1px solid #e3e3e3;
    border-radius: 3px;
}

.single-icon-container:hover, delete-choice-option:hover {
    cursor: pointer;
    background-color: #e3e3e3;
    border-radius: 6px;
}

.m-adjust > div > div {
    margin-bottom: 0px;
}

.icon-container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
}

.save-status-container {
    position: absolute;
    width: 100%;
    margin-top: -12px;
}

#save-status {
    animation: opacityAnimation 2s infinite;
}

@keyframes opacityAnimation {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.form-header {
    background-color: #0078AA;
    color: white;
}

/*some basic styles*/
.rating, .rating-preview {
    font-size: 0;
    display: inline-block
}

.rating__button {
    width: 32px;
    height: 32px;
    display: inline-block
}

.rating__star {
    width: 100%;
    height: 100%;
    fill: #fff
}

/*intial hover state*/
.rating:hover .rating__star,
    /*preserve state after rating the first time*/
.rating.has--rating .rating__star {
    fill: #e89a37
}

/*intial hover state*/
.rating__button:hover ~ .rating__button .rating__star,
    /*preserve state after rating the first time*/
.rating__button.is--active ~ .rating__button .rating__star {
    fill: #fff
}

/*SUBSEQUENT RATING ATTEMPTS LOGIC*/

/*
  lightgray signifies that you're giving a lower rating than before.
  we're gonna make lightgray all the stars that the user takes away.
*/
.rating.has--rating:hover .rating__button:hover ~ .rating__button .rating__star {
    fill: lightgray
}

/*make everything after the current active star orange*/
.rating.has--rating:hover .rating__button.is--active ~ .rating__button .rating__star {
    fill: #e89a37
}

/*make everything after the currently hovered star white*/
.rating.has--rating:hover .rating__button:hover ~ .rating__button.is--active ~ .rating__button .rating__star,
.rating.has--rating:hover .rating__button.is--active:hover ~ .rating__button .rating__star,
.rating.has--rating:hover .rating__button.is--active ~ .rating__button:hover ~ .rating__button .rating__star {
    fill: #fff
}

.rating-fill {
    fill: #e89a37
}

.rating-nofill {
    fill: #fff
}

.rating-preview-star {
    width: 32px;
    height: 32px;
    display: inline-block;
}

.rating-tooltip {
    position: relative;
    display: inline-block;
}

.rating-tooltip .tooltiptext {
    font-size: 14px;
    font-weight: bold;
    visibility: hidden;
    background-color: #e3002d;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    min-width: 60px;
    top: 100%;
    left: 50%;
    margin-left: -60px;
}

.rating-tooltip:hover .tooltiptext {
    visibility: visible;
}

.rating-fill-preview {
    fill: #e89a37ba;
}

.form-legend {
    margin-top: 20px;
}

.form-legend td {
    padding: 3px;
}

.form-legend tr {
    padding: 5px;
}

.legend-item-color-label {
    display: block;
    height: 20px;
    width: 20px;
    float: left;
    margin-right: 10px;
}

.forms-goal-container .open-sub-table {
    top: 8px;
}

.form-setting-area {
    /*background-color: #f2f2e2;*/
    margin-bottom: 20px;
    padding: 20px;
}

.btn-block-btn {
    width: 50px;
    font-size: 18px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.btn-back:hover {
    background-color: #eaeaea;
}

.btn-primary:hover {
    background-color: #0091c9 !important;
}

.answer-title-input {
    padding-left: 70px;
    padding-right: 0px;
}

.question-numbering {
    width: 40px;
}

.answer-padding {
    padding-left: 30px;
}

@media (max-width: 767px) {
    .answer-title-input {
        padding-left: 60px;
        padding-right: 0px;
    }

    .rating-fill-preview {
        fill: #e89a37ba;
    }

    .question-numbering {
        width: 40px;
    }

    .answer-padding {
        padding-left: 10px;
    }
}

.normal-underline {
    border-bottom: 1px solid #d5d5d5;
}

.section-underline {
    border-bottom: 3px solid #707070;
    padding-top: 1em;
}

.question-header-title {
    font-size: 16px;
}

.response-main-info {
    font-size: 16px;
    border-bottom: 1px solid #e9edf1;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-left: 0px;
    margin-right: 0px;
}

.response-content-block {
    border-bottom: 1px solid #e9edf1;
    padding-bottom: 20px;
    margin-bottom: 30px;
    margin-left: 0px;
    margin-right: 0px;
}

.legend-block {
    border: 1px solid #e9edf1;
    max-width: 500px;
    min-width: 250px;
    padding: 10px;
    padding-right: 30px;
}

.graph-block {
    border: 1px solid #e9edf1;
    border-left: none;
    padding: 10px;
}

.legend-answer-count {
    font-weight: bold;
    margin-left: 10px;
}

.question-description {
    display: none;
}

.question-description-area {
    text-align: justify;
}

.numberRating {
    justify-content: space-between !important;
    display: flex;
}

.numberRating .rating__button {
    width: 28px;
    height: 28px;
}

.numberRating .rating__button:hover .rating-number {
    background-color: #e89a37;
}

.numberRating .rating__button:hover {
    text-decoration: none;
}

.numberRating .is--active .rating-number, .numberRating .rating-number.is--active {
    background-color: #e89a37;
}

.rating-number {
    color: rgb(68, 68, 68);
    border: 1px solid rgb(68, 68, 68);
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    height: 100%;
}

.question-actions {
    background-color: #dddddd;
}

.table-compact td {
    padding-block: 8px;
}

.fixedTable table {
    max-height: 400px;
    overflow: auto;
    display: block;
    width: 100%;
}

.fixedTable table.double-height {
    max-height: 800px;
}

.fixedTable table.full-height {
    display: block;
    max-height: calc(100vh - 210px);
    overflow: auto;
}


.fixedTable thead {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    background: white;
    box-shadow: inset 0 -1px 0 #DFDFDF;
}

.form-group-responses .fixedTable .table-type-1 th, .form-group-responses .fixedTable .table-type-1 td {
    width: 1%;
}

.percentage-acceptable {
    background-color: #00b459;
}

.percentage-warning {
    background-color: #f2c80f;
}

.percentage-unacceptable {
    background-color: #fd625e;
}