/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


/* START STYLE OF SHORTCODE */

/* START RESPONSIVE */
.ode-chart-text-center {
    text-align: center;
}

/* START SELECT */
.ode-chart-shortcode-wrap {
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    column-gap: 0.5rem;
    padding-bottom: 1.5rem;
}

.ode-chart-shortcode-wrap label {
    font-size: 0.8rem;
    color: #4F4F4F;
    font-weight: 400;
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 5px;
}

.ode-chart-shortcode-select {
    width: 75%;
}


.ode-chart-shortcode-flag {
    width: 25%;
}

/* .ode-chart-shortcode-select .selectize-input .item:nth-child(1) {
    background: #008B8B !important;
    border: #008B8B !important;
}

.ode-chart-shortcode-select .selectize-input .item:nth-child(2) {
    background: #00F !important;
    border: #00F !important;
}

.ode-chart-shortcode-select .selectize-input .item:nth-child(3) {
    background: #8E4585 !important;
    border: #8E4585 !important;
}

.ode-chart-shortcode-select .selectize-input .item:nth-child(4) {
    background: #EB5757 !important;
    border: #EB5757 !important;
}

.ode-chart-shortcode-select .selectize-input .item:nth-child(5) {
    background: #FF7F00 !important;
    border: #FF7F00 !important;
} */

.ode-chart-shortcode-select a.remove {
    border: none !important;
}

.ode-chart-shortcode-flag .selectize-dropdown .selected {
    background-color: #0255A6;
}

.ode-chart-shortcode-wrap .selectize-dropdown .active:not(.selected) {
    background: #4c9ef0 !important;
    color: #ffffff !important;
}

.ode-chart-shortcode-wrap .selectize-dropdown .option {
    text-align: left;
}

.ode-chart-shortcode-wrap .selectize-input {
    text-align: left;
}

/* END SELECT */

/* START CHART */
.ode-chart-canvas-wrap {
    margin-top: 1.5rem;
    /* overflow: hidden; */
}

.ode-chart-canvas canvas {
    /* left: calc(100% - 90%); */
    position: absolute;
}

.ode-chart-canvas {
    height: 150px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    /* margin-top: -15px; */
}

span.ode-chart-canvas-left {
    position: absolute;
    left: 5px;
    top: -20px;
    font-size: 13px;
    display: block;
    /* background: rgba(217, 217, 217, 0.7); */
    color: #4F4F4F;
    font-weight: 400;
    padding: 2px 8px;
    z-index: 2;
}

span.ode-chart-canvas-right {
    position: absolute;
    right: 5px;
    top: -20px;
    font-size: 13px;
    display: block;
    /* background: rgba(217, 217, 217, 0.7); */
    color: #4F4F4F;
    font-weight: 400;
    padding: 2px 8px;
    z-index: 2;
}

.ode-chart-canvas-center {
    position: absolute;
    left: 50%;
    top: -20px;
    font-size: 15px;
    /* background-color: rgba(255, 255, 255, 0.7); */
    transform: translate(-50%);
    font-weight: 600;
    color: #4F4F4F;
    height: 24px;
    padding: 0 0.5rem;
}

.ode-chart-select {
    text-align: left !important;
}

/* .ode-chart-canvas-wrap:after {
    content: "";
    display: block;
    width: 1px;
    height: calc(100% - 48px);
    position: absolute;
    top: 20px;
    left: calc(50% + 4px);
    background: transparent;
    border-left: 2px dotted rgba(68, 115, 196, 0.5);
    z-index: 2;
} */


/* .ode-chart-canvas:before {
    content: "";
    height: 30px;
    display: block;
    width: 100%;
    background: white;
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 1;
} */

.ode-chart-score-wrap {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #4F4F4F;
    margin-top: -5px;
}

.ode-chart-score-wrap:before,
.ode-chart-score-wrap:after {
    display: none;
}

.ode-chart-canvas-wrap {
    position: relative;
    margin-top: 2rem;
}

/* canvas#odeChartTemplate6 {
    margin-left: -6px;
} */

/* .ode-chart-canvas-6 {
    padding-top: 0.5rem;
} */


@media (max-width: 600px) {
    span.ode-chart-canvas-left {
        font-size: 10px;
        max-width: 30%;
    }

    span.ode-chart-canvas-right {
        font-size: 10px;
        max-width: 30%;
    }

    span.ode-chart-canvas-center {
        font-size: 14px;
    }

    .ode-chart-shortcode-wrap {
        flex-direction: column;
    }

    .ode-chart-shortcode-select {
        width: 100%;
    }

    .ode-chart-shortcode-flag {
        width: 100%;
        margin-top: 0.5rem;
    }
}

span.ode-chart-canvas-bottom-90 {
    position: absolute;
    bottom: 0;
    left: calc(10% + 0.8rem / 2);
    color: #909090;
    font-size: 0.8rem;
    opacity: 0;
}


.ode-chart-canvas:after {
    content: "";
    width: 100%;
    height: 3px;
    display: block;
    background: white;
    position: absolute;
    bottom: 27px;
}

.ode-chart-canvas-6.ode-chart-canvas:after {
    content: "";
    width: 100%;
    height: 3px;
    display: block;
    background: white;
    position: absolute;
    bottom: 26px;
    display: none !important;
}

/* .ode-chart-canvas-wrap:after {
    content: "";
    display: block;
    height: calc(100% - 57px);
    background: #4F4F4F;
    width: 1px;
    position: absolute;
    top: 15px;
    left: calc(50% + 3px);
    z-index: 0
} */

/* END CHART */