.slider-rail-rect {
	height: 10px !important;
}

.slider-grip-rect {
	fill: rgba(242,146,12,0.95) !important;
}

.updatemenu-item-rect {
	fill: black !important;
	stroke: none !important;
	color: rgb(249,248,245) !important;
}

/* Graph animation menu */
.updatemenu-item-rect:hover {
	fill: rgb(222,126,0) !important;
	background:  rgb(222,126,0) !important;
  color: rgb(235, 235, 235) !important;
}

.updatemenu-item-text {
	pointer-events: none !important; 
}
#health-line-panel {

    position: absolute;

    top: 5px;
    right: 20px;

    width: 600px;
    height: auto;

    transform: translateX(120%);

    transition: transform 0.3s ease;

    z-index: 2;

    background: white;
}

#health-line-panel.open {
    transform: translateX(0);
}
#income-line-panel {

    position: absolute;

    top: 5px;
    right: 20px;

    width: 600px;
    height: auto;

    transform: translateX(120%);

    transition: transform 0.3s ease;

    z-index: 2;

    background: white;
}

#income-line-panel.open {
    transform: translateX(0);
}
#education-line-panel {

    position: absolute;

    top: 5px;
    right: 20px;

    width: 600px;
    height: auto;

    transform: translateX(120%);

    transition: transform 0.3s ease;

    z-index: 2;

    background: white;
}

#education-line-panel.open {
    transform: translateX(0);
}
.line-reset-button {
    display: block;
    margin: 20px auto;
    background-color: white !important;
    color: #333333 !important;

    border: 1px solid #cfcfcf !important;

    border-radius: 4px;

    box-shadow: none !important;
}
.line-reset-button:hover {
    background-color: #f7f7f7 !important;
    color: #333333 !important;
    border-color: #bdbdbd !important;
}
.scale-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    cursor: pointer;
}

.scale-switch .form-check-input:checked {
    background-color: #9fd4f3;
    border-color: #9fd4f3;
}

.rc-slider {

    width: 100% !important;

}
.rc-slider-mark {

    width: 100% !important;

}
.rc-slider-mark-text {

    font-size: 12px;

}

.health-scale-tooltip .tooltip-inner {
    background-color: #f29a1f;
    color: white;
    max-width: 260px;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.health-scale-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #f29a1f;
}

.health-scale-tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #f29a1f;
}

.health-scale-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #f29a1f;
}

.health-scale-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #f29a1f;
}
.income-scale-tooltip .tooltip-inner {
    background-color: #f29a1f;
    color: white;
    max-width: 260px;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.income-scale-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #f29a1f;
}

.income-scale-tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #f29a1f;
}

.income-scale-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #f29a1f;
}

.income-scale-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #f29a1f;
}

.education-scale-tooltip .tooltip-inner {
    background-color: #f29a1f;
    color: white;
    max-width: 260px;
    text-align: left;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}
.education-scale-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #f29a1f;
}

.education-scale-tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #f29a1f;
}

.education-scale-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #f29a1f;
}

.education-scale-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #f29a1f;
}
.compare-card {

    border-radius: 10px;

    border: none;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    padding: 10px;

    height: 100%;

    background: white;

}
.compare-card-left {

    border-left: 5px solid #1E2383;

}
.compare-card-right {

    border-left: 5px solid #F29A1F;

}
.compare-title {

    font-weight: 600;

    margin-bottom: 20px;

}
/* desktop */
html {
    font-size: 16px;
}

@media (max-width: 1600px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 13px;
    }
}
@media (max-width: 1600px) {

    .dropdown-selector button {
        height: 2.4rem !important;
        font-size: .9rem;
    }

    .Select-control {
        min-height: 2.4rem;
    }

    .dash-dropdown {
        font-size: .9rem;
    }

}
@media (max-width: 1600px) {

    .compare-card .card-body {
        padding: .8rem;
    }

}
@media (max-width:1600px){

.graph-title{
    font-size:1.6rem;
}

}

@media (max-width:1600px){

.form-check{
    margin-bottom:.2rem;
}

.form-check-label{
    font-size:.9rem;
}

}

@media (max-width: 1600px) {

    .rc-slider-mark-text {
        font-size: 12px !important; 
    }

}
@media (max-width:1600px){

    #income-line-panel{

        width:min(55%,650px);

    }

}
@media (max-width:1600px){

    #health-line-panel{

        width:min(55%,650px);

    }

}
@media (max-width:1600px){

    #education-line-panel{

        width:min(55%,650px);

    }

}

#income-play-button-wrapper {
    position: relative;
    top: 8px;
}



.linegraph-close-button {
    position: absolute;

    top: 10px;
    left: 10px;

    width: 30px;
    height: 30px;

    border: none;
    border-radius: 50%;

    background: rgba(255,255,255,0.95);
    cursor: pointer;

    font-size: 18px;
    font-weight: bold;

    z-index: 1000;

    display: flex;
    justify-content: center;
    align-items: center;
}

.linegraph-close-button:hover {
    background: #f2f2f2;
}
#income-scale-control {
    position: relative;
    top:-20px;
}
#health-scale-control {
    position: relative;
    top:-20px;
}
#education-scale-control {
    position: relative;
    top:-20px;
}


#income-map-wrapper{
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
}
#health-map-wrapper{
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
}

#education-map-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    align-items: stretch;
}

#income-map-anchor{
    flex: 1 1 auto;
    min-width: 0;
}
#health-map-anchor{
    flex: 1 1 auto;
    min-width: 0;
}
#education-map-anchor {
    flex: 1 1 auto;
    min-width: 0;
}

#income-line-panel{
    position: relative;

    flex: 0 0 0;
    width: 0;

    overflow: hidden;
    background: white;

    transition:
        width 0.3s ease,
        flex-basis 0.3s ease;
}
#health-line-panel{
    position: relative;

    flex: 0 0 0;
    width: 0;

    overflow: hidden;
    background: white;

    transition:
        width 0.3s ease,
        flex-basis 0.3s ease;
}
#education-line-panel {
    position: relative;

    flex: 0 0 0;
    width: 0;

    overflow: hidden;
    background: white;

    transition:
        width 0.3s ease,
        flex-basis 0.3s ease;
}


#income-line-panel.open {
    flex: 0 0 600px;
    width: 600px;
}
#health-line-panel.open {
    flex: 0 0 600px;
    width: 600px;
}
#education-line-panel.open {
    flex: 0 0 600px;
    width: 600px;
}