/* -------------------------------- 
Basic Style
-------------------------------- */

.cd-multi-steps {
    max-width: 768px;
    padding: 0.5em 1em;
    margin: 1em auto;
    border-radius: .25em;
}

.cd-multi-steps:after {
    content: "";
    display: table;
    clear: both;
}

.cd-multi-steps li {
    display: inline-block;
    float: left;
    margin: 0.5em 0;
}

.cd-multi-steps li:last-of-type::after {
    /* hide separator after the last item */
    display: none;
}

.cd-multi-steps li>em {
    /* not reached step */
    display: inline-block;
    font: normal normal 600 14px/30px Raleway;
    color: #ebe7e1 !important;
}

.cd-multi-steps li.current>em {
    /* selected step */
    font: normal normal 600 14px/30px Raleway;
    color: #bcb09b !important;
}

.cd-multi-steps li.visited>em {
    /* visited step */
    cursor: pointer;
    font: normal normal 600 14px/30px Raleway;
    color: #bcb09b !important;
}


/* -------------------------------- 
Multi steps indicator 
-------------------------------- */

@media only screen and (min-width: 768px) {
    .cd-multi-steps {
        /* reset style */
        background-color: transparent;
        padding: 0;
        text-align: center;
    }
    .cd-multi-steps li {
        position: relative;
        float: none;
        margin: 0.4em 40px 0.4em 0;
    }
    .cd-multi-steps li:last-of-type {
        margin-right: 0;
    }
    .cd-multi-steps li::after {
        /* this is the line connecting 2 adjacent items */
        position: absolute;
        content: '';
        height: 1px;
        background: #ebe7e1;
        /* reset style */
        margin: 0;
    }
    .cd-multi-steps li.visited::after {
        background-color: #bcb09b;
    }
    .cd-multi-steps li>*,
    .cd-multi-steps li.current>* {
        position: relative;
        color: #2c3f4c;
    }
    .cd-multi-steps.custom-separator li::after {
        /* reset style */
        height: 4px;
        background: #ebe7e1;
    }
    .cd-multi-steps.text-bottom li {
        width: 140px;
        text-align: center;
    }
    .cd-multi-steps.text-bottom li span {
        position: absolute;
        top: 55px;
        left: 22%;
        color: #6D6E71 !important;
        text-align: center;
        font: normal normal normal 14px/19px Playfair Display;
    }
    .cd-multi-steps.text-bottom li::after {
        /* this is the line connecting 2 adjacent items */
        position: absolute;
        left: 50%;
        /* 40px is the <li> right margin value */
        width: calc(100% + 40px);
    }
    .cd-multi-steps.text-bottom li>em::before {
        /* this is the spot indicator */
        content: '';
        position: absolute;
        z-index: 1;
        left: 50%;
        right: auto;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        height: 20px;
        width: 20px;
        border-radius: 50%;
        background-color: #ebe7e1;
    }
    .cd-multi-steps.text-bottom li.visited>em::before {
        background-color: #bcb09b;
    }
    .cd-multi-steps.text-bottom li.current>em::before {
        background: #FFFFFF 0% 0% no-repeat padding-box;
        border: 5px solid #BCB09B;
    }
    .no-touch .cd-multi-steps.text-bottom a:hover {
        color: #bcb09b;
    }
    .no-touch .cd-multi-steps.text-bottom a:hover::before {
        box-shadow: 0 0 0 3px rgba(150, 192, 61, 0.3);
    }
    .cd-multi-steps.text-bottom li::after {
        /* this is the line connecting 2 adjacent items */
        top: 9px;
    }
    .cd-multi-steps.text-bottom li>em {
        padding-top: 20px;
    }
    .cd-multi-steps.text-bottom li>em::before {
        /* this is the spot indicator */
        top: 0;
    }
}

@media only screen and (max-width: 1060px) {
    .cd-multi-steps.text-bottom li {
        width: 70px;
        text-align: center;
    }
    .cd-multi-steps.text-bottom li span {
        left: -5%;
    }
}