
.cost-calculator-estimator {
    color: var(--text);
}

.calc-flex-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 42px;
    justify-content: center;
    margin-bottom: 30px;
    background-color: var(--white);
    color: #333333;
}

.calc-header {
    margin: 0px 20px 0px 35px;
}

.calc-grid-details-wrapper {

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: #333333;
    width: 100%;
    padding: 10px 20px 10px 20px;
}

.calc-column {
    flex: 1;
}

.calc-column-left {
    width: 36%;
}

.calc-column-right {
    width: 60%
}

.details-column-left {
    /*width: 45%;*/
}

.details-column-right {
    flex: 1 0 0%; /*Keep percentage for IE*/
}

.calc-form-items {
    width: 430px;
}

.calc-form-label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position:relative;
}

.calc-information-label {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calc-information-label-column {
    flex: 1 1 auto;
    width: 35%;
    margin-top: auto;
}

.calc-detailed-description {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: #F2F2F2;
    padding-top: 30px;
    padding-left: 10px;
    margin-top: 27px;
    border-radius: 10px;
}

.calc-control-labels{
    display: block;
    font-weight: bold;
    margin-top: 20px;
}

.calc-button-controls {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 30px;
    column-gap: 10px;
}

.calc-controls
{
    position:relative;
    width: 100%;
    border-radius: 5px;
    border-color: #FF8200;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 24 24"><path fill="black" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 20px;
}

#selectDegreeProgram {
    text-overflow: ellipsis;
    white-space: pre;
}

#totalCredits, #transferCredits
{
    position:relative;
    width: 100%;
    border-radius: 5px;
    border-color: #FF8200;
}

.inactive {
    background-color: rgb(211, 211, 211) !important;
    border-color: rgb(211, 211, 211) !important;
    opacity: 0.5;
}

.calc-button {
    width: 50%;
    font-weight: bold;
    border-radius: 5px;
}

.calc-generate-cost {
    background-color: #006C93;
    color: white;
}

.calc-generate-cost:hover {
    background-color: #114C81;
    color: white;
}

.calc-reset-cost, .calc-reset-cost:focus {
    background-color: white;
    color: #006C93;
    border: 2px solid #006C93;
}

.calc-reset-cost:hover {
    background-color: #F2F2F2;
    color: #114C81;
    border: 2px solid #114C81;
}

/*Default graph legend css settings*/
.calc-out-of-state-tuition-cost {
    display: none;
}

.estimated-cost-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}


.estimated-cost-container label {
    font-size: 14px;
    white-space: nowrap;
}

#estimatedCost {

    width: auto;
    min-width: 1ch;
    max-width: 100px;
    box-sizing: content-box;
    font-weight: bold;
    border-radius: 5px;
    background-color: var(--white);
}

/*Legend descriptions*/
.calc-legend-desc {
    padding-bottom: 10px;
}

.calc-legend-val, .calc-breakdown-val {
    font-weight: bold;
}

.calc-cost-breakdown-desc {
    margin-top: 40px;
}

.colored-circle-legend {
    display: inline-block;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    margin-right: 5px;
}

.calc-info-notice-container {
    display: none;
    font-size: 12px;
    font-style: italic;
    margin-bottom: 10px;
    margin-left: 10px;
}

.calc-info-notice {
    font-weight: 600;
    color: red;
}

.calc-info-notice-details {
    color: red;
    font-size: 12px;
    font-weight: 600;
}

.calc-error-notice-container {
    display: none;
    color: red;
    font-weight: bold;
    margin-top: 20px;
}


.calc-program-course-fees {
    padding-bottom: 0;
    margin-bottom: 10px;
}

.calc-out-of-state-tuition-cost {
    padding-bottom: 0;
    margin-bottom: 10px;
}

.calc-program-breakdown {
    padding-left: 2rem;
}

.calc-tuition-cost-desc {
    /* font-weight: bold;*/
}

.calc-tuition-cost {
    padding-left: 0.5rem;
}

.legend-tuition-cost-header {
    background-color: #4b4b4b;
}

.legend-tuition-cost {
    background-color: var(--primary-accent)
}

.legend-online-support-cost {
    background-color: #006C93;
}

.legend-library-cost {
    background-color: #808080;
}

.legend-out-of-state-tuition {
    background-color: #FFAC56;
}

.legend-program-course-fees {
    background-color: #2197A9;
}

.program-breakdown {
    display: block;
    font-size: 14px;
}

.calc-options-select {
    padding-left: 20px;
}

.calc-disclaimer {
    width: 100%;
}

/*.haslam-disclaimer {
    color: red;
    font-size: 12px;
    width: 100%;
    padding: 25px 25px 0 55px;
}*/

.calc-disclaimer, .calc-detailed-description > h2 {
    padding: 5px 25px 0 55px;
}

.calc-disclaimer > p {
    font-size: 12px;
}

/* Tooltip Styles */
.tooltip-icon {
    position: relative;
    margin-right: 5px;
    padding-top: 20px;
}

.tooltip-icon > svg {
    width: 20px;
    fill: #808080;
}

.tooltip-icon:hover {
    cursor: pointer;
}

.calc-tooltip
{
    display: none;
    position: absolute;
    width: 441px;
    background-color: var(--background-lite);
    font-size: 12px;
    font-weight: bold;
    padding: 14px 20px 10px;
    border-radius: 5px;
    border: 2px solid var(--primary-accent);
    height: min-content;
    top: -75px;
    right: -16px;
    z-index: 50;
}

.calc-tooltip:before {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 16px;
    padding: 5px;
    border: solid 2px var(--primary-accent);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    background-color: var(--background-lite);
    z-index: -1;
}

.tooltip-active {
    display: block;
}

.tooltip-residency-status {
    top: -84px;
}
.tooltip-transfer-credits {
    top: -46px;
    height: 52px;
}

.tooltip-total-credits {
    top: -45px;
}

.tooltip-residency-status::after
{
    top: 92px;
}

.tooltip-transfer-credits::after{
    top: 45px;
}

.tooltip-total-credits::after {
    top: 57px;
}

/*Custom Control Styles*/
#selectDegreeType > option[value=""][disabled],
#selectDegreeProgram > option[value=""][disabled],
#selectResidencyStatus > option[value=""][disabled],
#selectEnrollingTerm > option[value=""][disabled]
{
    display: none;
}

.calc-program-course-fees {
    display:none;
}

/*.haslam-disclaimer {
    display:none;
}*/

/**** Media Queries ****/
@media only screen and (max-width: 1375px) and (min-width: 1150px) {

    .calc-legend-desc {
        font-size: 13px;
    }

    .calc-grid-details-wrapper {
        margin-right: 0;
        padding: 0;
    }

    .calc-program-desc:after {
        content: "\A";
        white-space: pre;
    }
}

@media only screen and (max-width: 1140px)
{
    .calc-form-items {
        width: 100% !important;
    }

    .calc-column-left, .calc-column-right {
        width: 90%;
    }

    .calc-grid-details-wrapper {
        width: unset;
    }

    .calc-legend-desc {
        font-size: 14px;
    }
}

@media only screen and (max-width: 1024px) {

    .calc-button {
        width: 50%;
        margin: 0 2px 0 2px;
    }

    .calc-options-select {
        padding-left: 20px;
        padding-right: 20px;
    }

    .calc-form-items {
        width: 100% !important;
    }

    .calc-controls, #totalCredits, #transferCredits {
        width: 100%;
    }

    .calc-detailed-description {
        margin-top: 0;
    }

    .calc-grid-details-wrapper {
        padding: 0 10px 0 10px;
    }
}

@media only screen and (max-width: 810px) {

    .calc-grid-details-wrapper {
        justify-content: flex-start;
    }

    .calc-detailed-description {
        justify-content: flex-start;
        margin-top: 0;
    }

    .details-column-right {
        flex: unset;
        width: 100%;
        padding-left: 25px;
    }

    .calc-cost-breakdown-desc {
        margin-top: 0;
    }

    .tooltip-container {
        padding-left: 265px;
    }

    .calc-button
    {
        width: 49%;
        margin-bottom: 25px;
    }


    .calc-disclaimer, .calc-detailed-description > h2 {
        padding: 5px 0px 0px 24px;
    }
}

@media only screen and (max-width: 768px) {

    .details-column-left {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {

    .calc-flex-wrapper {
        margin-right: 0;
    }

    .calc-grid-details-wrapper {
        width: 100%;
        justify-content: unset;
        padding-left: 0;
    }

    .calc-detailed-description {
        margin-left: 0;
    }

    .calc-detailed-description h2 {
        display: none;
    }

    .details-column-right {
        padding-left: 36px;
    }

    .calc-disclaimer {
        padding-left: 35px
    }

    .calc-form-items {
        padding-left: 0;
    }

    .calc-tooltip {
        width: 350px;
    }

    .tooltip-residency-status {
        top: -100px;
    }
    .tooltip-transfer-credits {
        top: -46px;
        height: 52px;
    }

    .tooltip-total-credits {
        top: -65px;
    }
}


@media only screen and (max-width: 390px) {

    .calc-tooltip {
        width: 325px;
    }
}

@media only screen and (max-width: 390px) and (orientation: portrait)
{
    .calc-grid-details-wrapper {
        justify-content: center;
    }

    .calc-detailed-description {
        margin-left: 0;
        padding-left: 0;
    }

    .calc-grid-column {
        padding: 0;
    }

    #estimatedCost {
        max-width: 120px;
    }

    .details-column-right {
        margin-left: 35px;
        margin-top: -10px;
    }
}