/* # Roadmap Shortcode
================================================== */

.roadmap-wrap {
    position: relative;
    padding-bottom: 100px;
    min-height: 1px;
    clear: both;
    margin-top: 80px;
}

.roadmap-items {
    display: table;
    margin: auto;
    overflow: visible;
}

.roadmap-item {
    display: table-cell;
    position: relative;
    text-align: center;
    height: 456px;
    margin: 0 6px;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 8px);
    width: 17px;
    height: 17px;
    background: #5cd0ed;
    opacity: 0.4;
    border-radius: 50%;
}

.roadmap-item::after {
    content: '';
    position: absolute;
    top: calc(50% - 28px);
    left: calc(50% + -4px);
    width: 9px;
    height: 9px;
    background: #5cd0ed;
    border-radius: 50%;
}

.roadmap-item .roadmap-line::before {
    content: '';
    position: absolute;
    top: 202px;
    left: calc(-50% + 12px);
    width: calc(100% - 23px);
    height: 3px;
    background-color: #e4ebff;
    opacity: 0.2;
}

.roadmap-item:last-child .text-wrap::before {
    content: '';
    position: absolute;
    top: -48px;
    right: calc(-50% + 12px);
    width: calc(100% - 23px);
    height: 3px;
    background-color: #e4ebff;
    opacity: 0.2;
}

.roadmap-item.roadmap-past .text-wrap::before,
.roadmap-item.roadmap-past .roadmap-line::before {
    opacity: 1;
}

.roadmap-item:nth-child(2n+1) .text-wrap {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 200px;
}

.roadmap-item:nth-child(2n+1) .text-wrap::after {
    content: '';
    position: absolute;
    top: -38px;
    left: 50%;
    width: 1px;
    height: 38px;
    background-color: #6d6d6d;
    opacity: 0.15;
}

.roadmap-item:nth-child(2n) .text-wrap {
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    top: -42px;
    height: 200px;
}

.roadmap-item:nth-child(2n) .text-wrap::after {
    content: '';
    position: absolute;
    bottom: -38px;
    left: 50%;
    width: 1px;
    height: 38px;
    background-color: #6d6d6d;
    opacity: 0.15;
}

.roadmap-item h4 {
    font-size: 21px;
    line-height: 32px;
    width: 100%;
    margin-bottom: 0;
    padding: 12px 0 8px;
}

.roadmap-item p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.4;
    margin-bottom: 0;
    padding: 15px 5% 30px;
    width: 100%;
    overflow: hidden;
    height: 116px;
}

.roadmap-item .text-wrap:hover {
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.12);
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.07);
}

.roadmap-item .text-wrap:hover h4 {
    border-radius: 7px 7px 0 0;
    background-color: rgba(255, 255, 255, 0.14);
}

.roadmap-item.roadmap-select::before {
    background-color: rgb(228, 235, 255);
    opacity: 0.3;
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.16);
}

.roadmap-item.roadmap-select::after {
    background-color: rgb(228, 235, 255);
}

.roadmap-item.roadmap-select .text-wrap,
.roadmap-item .text-wrap:hover {
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.12);
    -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.07);
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.07);
}

.roadmap-item.roadmap-select .text-wrap h4,
.roadmap-item .text-wrap:hover h4 {
    border-radius: 7px 7px 0 0;
    background-color: rgba(255, 255, 255, 0.14);
}

@media only screen and (min-width: 1281px) {
    .roadmap-items {
        width: 90%;
    }
}

@media only screen and (max-width: 1280px) and (min-width: 768px) {
    .roadmap-items {
        width: 100%;
    }

    .roadmap-item h4 {
        font-size: 15px;
    }

    .roadmap-item p {
        font-size: 12px;
    }
}

@media only screen and (max-width: 991px) {
    .roadmap-items {
        width: 100%;
    }
}

/* All Mobile Sizes (devices and browser) */

@media only screen and (max-width: 767px) {
    .roadmap-item::before {
        top: 0;
    }

    .roadmap-item::after {
        top: 4px;
    }

    .roadmap-item .roadmap-line::before {
        top: 8px;
    }

    .roadmap-item .text-wrap::after {
        top: 17px !important;
        height: 97px !important;
        bottom: auto !important;
    }

    .roadmap-items {
        display: block;
    }

    .roadmap-wrap:before,
    #wrap .roadmap-item .text-wrap {
        position: static;
        height: auto;
    }

    .roadmap-item {
        display: block;
        height: auto;
        padding: 115px 20px 60px;
        overflow: hidden;
    }

    .roadmap-item h4,
    .roadmap-item p {
        position: static;
        margin-bottom: 10px;
    }

    .roadmap-item p {
        padding-left: 7%;
        padding-right: 7%;
    }
}