.ami-midclass-form {
    width: 100%;
    padding: 1rem;
    margin: 0 0 1.5 0;
    background-color: #eaf1f7;
    border-top-right-radius:8px;
    border-top-left-radius:8px;
    text-align:center;
}

.ami-midclass-form input {
    border-radius: 0;
    margin: 0 1rem
}

.ami-midclass {
    width: 100%;
    font-size: 1.2rem;
    background: #eaf1f7;
    padding: 2rem;
    border-bottom-right-radius:8px;
    border-bottom-left-radius:8px;
}

.ami-graph {
    width: 100%;
    margin-bottom: 3rem
}

.ami-graph i {
    font-weight: 700;
    font-style: normal
}

.ami-graph>i {
    position: relative;
    display: inline-block;
    width: 33.333%;
    line-height: 2.2rem
}

.ami-graph>i:nth-child(1) {
    text-align: left;
    padding-left: 2.5%
}

.ami-graph>i:nth-child(2) {
    text-align: center;
    padding: 0 2.5%
}

.ami-graph>i:nth-child(3) {
    text-align: right;
    padding-right: 2.5%
}

.ami-graph>i:nth-child(2)::after {
    position: absolute;
    display: block;
    width: 2rem;
    left: 50%;
    margin-left: -1rem;
    line-height: 0;
    text-align: center;
    bottom: -.4rem;
    content: '\25bc';
    z-index: 20;
    color: #fff
}

.ami-plot {
    width: 100%;
    background-color: #fff;
    border-radius:8px;
}

.ami-bar {
    position: relative;
    width: 90%;
    height: 2.2rem;
    margin: 0 5%;
    background-color: #61a02a;
    line-height: 2.2rem
}

.ami-bar::before {
    position: absolute;
    content: attr(data-name);
    padding-left: .5rem;
    opacity: .7;
    color: #fff;
    left: 0;
    right: 0;
    text-align: center
}

.ami-bar i {
    position: absolute;
    bottom: -2rem;
    width: 6rem;
    text-align: center;
    left: 50%;
    margin-left: -3rem;
    font-size: 1.3rem;
    transition: left 500ms ease-in-out
}

.ami-bar i::before {
    position: absolute;
    display: block;
    width: 100%;
    top: -1.2rem;
    content: '\25b2';
    font-size: 1.2rem;
    color: #fff
}
