﻿
/* One Side Time Line education and experiance Css */
.pp-easing {
    transition: all 1200ms cubic-bezier(0.55, 0.085, 0, 0.99);
    transition-timing-function: cubic-bezier(0.55, 0.085, 0, 0.99);
}

.pp-scrollable {
    overflow-y: scroll;
    height: 100%;
}

.display-screen {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 0px;
}

.section-resume-1 .container-resume {
    margin-bottom: 50px;
}

.section-resume-1 h4 {
    position: relative;
    padding-left: 35px;
    font-weight: bold;
    font-size: 22px;
}

.section-resume-1 ul {
    list-style: none;
    padding: 0;
}

    .section-resume-1 ul li {
        position: relative;
    }

.section-resume-1 h4:before {
    top: -4px;
    left: -15px;
    width: 33px;
    height: 33px;
    display: block;
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: #504d47;
}

.section-resume-1 .resume-item .resume-head {
    position: relative;
    padding: 25px 25px 0 80px;
}

    .section-resume-1 .resume-item .resume-head .resume-icon {
        top: 12px;
        left: 9px;
        width: 36px;
        height: 36px;
        display: block;
        text-align: center;
        position: absolute;
    }

.section-resume-1 h5 {
    color: #000;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 17px;
}

.section-resume-1 .resume-item .resume-head .resume-icon:after {
    top: 13px;
    left: 15px;
    width: 20px;
    height: 20px;
    content: "";
    position: absolute;
    border-radius: 50%;
    background-color: #504d47;
}

.section-resume-1 .resume-item .resume-head .resume-icon {
    top: 12px;
    left: 9px;
    width: 36px;
    height: 36px;
    display: block;
    text-align: center;
    position: absolute;
}

.section-resume-1 .resume-item .resume-head h6 {
    color: #000;
}

.section-resume-1 .resume-item .resume-body {
    padding: 20px 28px;
}

.section-resume-1 .resume-item:before {
    top: 35px;
    left: 0;
    width: 30px;
    height: 1px;
    content: "";
    position: absolute;
    background-color: #000;
}

.section-resume-1 ul li:before {
    top: -18px;
    left: 0;
    width: 1px;
    height: 100%;
    content: "";
    position: absolute;
    background-color: #000;
}

/* Timeline  css*/
.timeline {
    position: relative;
    margin: 50px auto;
    padding: 40px 0;
    width: 1000px;
    box-sizing: border-box;
}

    .timeline:before {
        content: "";
        position: absolute;
        left: 50%;
        width: 2px;
        height: 100%;
        background: #c5c5c5;
    }

    .timeline ul {
        padding: 0;
        margin: 0;
    }

        .timeline ul li:nth-child(odd) {
            float: left;
            text-align: right;
            clear: both;
        }

        .timeline ul li {
            list-style: none;
            position: relative;
            width: 50%;
            padding: 8px 40px;
            box-sizing: border-box;
        }

            .timeline ul li:nth-child(odd):before {
                content: "";
                position: absolute;
                width: 10px;
                height: 10px;
                top: 24px;
                right: -6px;
                background: #504d47;
                border-radius: 50%;
                box-shadow: 0 0 0 3px rgb(192 128 9 / 75%);
                left: 496px;
            }

            .timeline ul li h4 {
                padding: 0;
                margin: 0;
                color: #504d47;
                font-weight: 600;
                font-size: 17px;
            }

            .timeline ul li p {
                margin: 10px 0 0;
                padding: 0;
            }

            .timeline ul li:nth-child(odd) .time {
                position: absolute;
                top: 12px;
                right: -165px;
                margin: 0;
                padding: 8px 16px;
                background: #504d47;
                color: #fff;
                border-radius: 18px;
                box-shadow: 0 0 0 3px rgb(233 208 33 / 30%);
            }

            .timeline ul li h5 {
                padding: 0;
                margin: 0;
                color: #fff;
                font-weight: 600;
            }

            .timeline ul li:nth-child(even) {
                float: right;
                text-align: left;
                clear: both;
            }

        .timeline ul li {
            list-style: none;
            position: relative;
            width: 50%;
            padding: 8px 40px;
            box-sizing: border-box;
        }

            .timeline ul li:nth-child(even):before {
                content: "";
                position: absolute;
                width: 10px;
                height: 10px;
                top: 24px;
                left: -4px;
                background: #504d47;
                border-radius: 50%;
                box-shadow: 0 0 0 3px rgb(233 208 33 / 30%);
            }

            .timeline ul li:nth-child(even) .time {
                position: absolute;
                top: 12px;
                left: -165px;
                margin: 0;
                padding: 6px 14px;
                background: #504d47;
                color: #fff;
                border-radius: 18px;
                box-shadow: 0 0 0 3px rgb(233 208 33 / 30%);
            }

@media (max-width: 767px) {
    .timeline {
        width: 100%;
        padding-bottom: 0;
    }

        .timeline:before {
            left: 20px;
            height: 100%;
        }

        .timeline ul li:nth-child(odd),
        .timeline ul li:nth-child(even) {
            width: 100%;
            text-align: left;
            padding-left: 50px;
            padding-bottom: 50px;
        }

            .timeline ul li:nth-child(odd) .time,
            .timeline ul li:nth-child(even) .time {
                top: -30px;
                left: 50px;
                right: inherit;
            }

            .timeline ul li:nth-child(odd):before,
            .timeline ul li:nth-child(even):before {
                top: -18px;
                left: 16px;
            }
}
