/* =============================================================================
#9. Resume SubPage
============================================================================= */

/* 9.1 Timeline*/
.timeline-bg{
    background: #f4f5f9;
}
.main-timeline{
	margin: 100px 0;
    position: relative;
    padding: 0px 0;
}
.main-timeline:before{
    content: "";
    width: 3px;
    height: 104%;
    background: #f4f5f9;
    position: absolute;
    top: -2%;
    left: 50%;
}
.main-timeline .timeline{
    width: 50%;
    clear: both;
    position: relative;
}
.main-timeline .timeline:before,
.main-timeline .timeline:after{
    content: "";
    display: block;
    clear: both;
}
.main-timeline .timeline:first-child:before,
.main-timeline .timeline:last-child:before{
    content: "";
    width: 11px;
    height: 11px;
    background: #cfcdcd;
    box-sizing: content-box;
    border: 5px solid #fff;
    box-shadow: 0 0 0 2px #cfcdcd;
    position: absolute;
    top: -54px;
    right: -11px;
    transform: rotate(45deg);
}
.main-timeline .timeline:last-child:before{
    top: auto;
    bottom: -54px;
}
.main-timeline .timeline:last-child:nth-child(even):before{
    right: auto;
    left: -11px;
}
.main-timeline .timeline-icon{
    width: 100px;
    height: 100px;
    background: #fff;
    position: absolute;
    top: 0px;
    right: -60px;
    z-index: 1;
    border-radius: 50%;
    background: #fff;
    border-radius: 100%;
    box-shadow: 2px 2px 20px rgba(0,0,0,.1);
}

.main-timeline .timeline-icon:before{
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f4f5f9;
    position: absolute;
    top: 15%;
    left: 86%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease 0s;
}

.timeline-icon:after{
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #dedede;
    position: absolute;
    top: 15%;
    left: 86%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease 0s;
    transition: all 0.3s ease 0s;
}
.timeline.currecnt .timeline-icon:after, .main-timeline .timeline:hover  .timeline-icon:after{
    background: #11d6f0;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 15%;
    left: 20%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease 0s;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f4f5f9;
    position: absolute;
    top: 15%;
    left: 20%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease 0s;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon:after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 15%;
    left: 20%;
    transform: translate(-50%, -50%);
    transition: background-color 0.2s ease 0s;
}
.main-timeline .timeline-content{
    width: 85%;
    padding: 18px 30px;
    text-align: right;
    float: left;
    border: 1px solid transparent;
    position: relative;
    transition: all 0.3s ease 0s;
}

.main-timeline .timeline:hover .timeline-content:before{
    background: #fc6f5c;
    border-color: #fc6f5c;
}

.main-timeline .date{
    display: block;
    font-size: 14px;
    color: #888;
    margin: 0 0 8px;
    font-family: sans-serif;
    transition: all 0.3s ease 0s;
}
.main-timeline .timeline:hover .date{ color: #444; }
.main-timeline .title{
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease 0s;
}
.timeline-icon {
    display:  flex;
    justify-content:  center;
    align-items:  center;
}

.timeline-icon img {
    width: 100px;
    border-radius: 100%;
}
.main-timeline .timeline:hover .title{     color: #11d6f0; }
.main-timeline .description{

    margin-top: 8px;
}
.main-timeline .timeline:nth-child(2n),
.main-timeline .timeline:nth-child(2n) .timeline-content{
    float: right;
    text-align: left;
}
.main-timeline .timeline:nth-child(2n) .timeline-icon{
    right: 0;
    left: -65px;
}
.main-timeline .timeline:nth-child(2n) .timeline-content:before{ left: -7.3px; }
.main-timeline .timeline:nth-child(2n) .timeline-content:after{ left: -14%; }

@media only screen and (max-width: 767px){
    .main-timeline .timeline-icon {
        width: 70px;
        height: 70px;
    }
    .timeline-icon img {
        width: 60px;
    }
    .main-timeline .timeline:nth-child(2n) .timeline-icon {
        right: 0;
        left: 5px;
    }
    .main-timeline:before {
        left: 50px;
        top: 10px;
        height: 75%;
    }
    .main-timeline .timeline-icon:before {
        width: 25px;
        height: 25px;
    }
    .main-timeline .timeline:nth-child(2n) .timeline-icon:before {
        display: block;
        width: 25px;
        height: 25px;
    }
    .timeline-icon:after {
        width: 15px;
        height: 15px;
    }
    .main-timeline .timeline:nth-child(2n) .timeline-icon:after {
        width: 15px;
        height: 15px;

    }
    .main-timeline{ padding-left: 10px; }
    .main-timeline .timeline{ width: 100%;
    }
    .main-timeline .timeline:first-child:before,
    .main-timeline .timeline:last-child:nth-child(odd):before{
        right: auto;
        left: -11px;
    }
    .main-timeline .timeline-icon{
        right: 0;
        left: 0;
    }
    .main-timeline .timeline-content:before{ left: -7.3px; }
    .main-timeline .timeline-content:after{ left: -14%; }
    .skills-items{
        padding: 0 15px;
    }
    .section-head a.bt-submit {
        position: unset !important;
        display: inline-block;
        margin-top: 30px !important;
    }
    .main-timeline .timeline,
    .main-timeline .timeline-content{
        float: right;
        text-align: left;
        padding: 18px 0px 18px 30px;
    }
    .list-skills .special-block-bg{
        margin-bottom: 30px;
    }
    .main-timeline .title {
        font-size: 16px;
    }
}

/* 9.2 Skills */
.progress {
    height: 12px;
    margin-bottom: 19px;
    position: relative;
    box-shadow: none;
    color: #333;
    border-radius: 10px;
}
.skill-item {
    position: relative;
}
.skill-item h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #11d6f0;
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.skill-item span {
    position: absolute;
    top: -3px;
    right: 0;
    font-size: 12px;
}

.list-skills .section-head h4{
    font-size: 20px;
}
.list-skills .section-head {
    margin-bottom: 60px;
}
.language-skill h4 {
    font-size: 13px;
}
.language-skill h4 span {
    color: #666;
    font-size: 12px;
    margin-left: 5px;
    font-weight: normal;
}
.rating li{
    display: inline-block;
}
.rating li i{
    color: #fec42d;
}
.rating li i.half-star{
    color: #d4d4d4;
}

/* 9.3 ownload Resume */
.section-head a.bt-submit {
    position: absolute;
    right: 15px;
    top: 0;
    padding: 10px 20px;
    margin-top: 10px;
}

.special-block-bg{
    background-color: #f7f9fc;
    padding: 60px 30px;
    position: relative;
}
.special-block-bg::before, .special-block-bg::after {
    border-style: solid;
    border-width: 2px;
    content: "";
    display: block;
    height: 50px;
    position: absolute;
    width: 50px;
}
.special-block-bg::before {
    border-color: #11d6f0 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #11d6f0;
    left: 0;
    top: 0;
}
.special-block-bg::after {
    border-color: rgba(0, 0, 0, 0) #11d6f0 #11d6f0 rgba(0, 0, 0, 0);
    bottom: 0;
    right: 0;
}
