/*
 * Zomia Timeline for WordPress Plugin Styles
 */

html body #timeline .container {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    height: 100%
}

#timeline h1, #timeline h2, #timeline h3, #timeline h4, #timeline h5, #timeline h6, #timeline ul, #timeline ol, #timeline p {
    margin: 0;
    padding: 0;
    line-height: 1;
}

#timeline a {
    outline: 0
}

#timeline {
    position: relative;
    min-height: 400px;
    padding-bottom: 0
}

#timeline .hr {
    border: 0;
    margin: 0;
    position: absolute;
    height: 12px;
    width: 100%;
    margin-top: -1px;
    background: no-repeat 50% 0;
    z-index: 3
}

#timeline .hr#down-arrow-light {
    background-image: url("https://cdn.zomia.org/images/timeline/down-arrow-light.gif")
}

#timeline .hr#down-arrow-dark {
    background-image: url("https://cdn.zomia.org/images/timeline/down-arrow-dark.gif")
}

#timeline .hr#up-arrow-light {
    background-image: url("https://cdn.zomia.org/images/timeline/up-arrow-light.gif");
    margin-top: -11px;
}

#timeline .hr#up-arrow-dark {
    background-image: url("https://cdn.zomia.org/images/timeline/up-arrow-dark.gif");
    margin-top: -11px;
}

#timeline #slider {
    background-image: url("https://cdn.zomia.org/images/timeline/bg-timeline.jpg");
    position: relative;
    height: 160px;
    max-height: 160px
}

#timeline #slider .container {
    overflow: hidden
}

#timeline #slider ul {
    border-bottom: 1px dotted #fff;
    position: absolute;
    bottom: 40px;
    width: 20000px;
    padding-left: 50%;
    margin-left: -100px;
    z-index: 99
}

#timeline #slider ul li {
    list-style: none;
    display: inline-block; /* +++++ */
    float: left;
    position: relative;
    min-height: 120px;
    height: 120px;
    width: 200px;
    margin-bottom: -4px;
    background: url("https://cdn.zomia.org/images/timeline/bullet.png") no-repeat bottom center;
}

#timeline #slider ul li a {
    text-decoration: none;
    color: #646464;
    display: block;
    position: absolute;
    width: 200px;
    bottom: 0;
    margin: 0;
    text-align: center;
    font-size: 24px;
    padding-bottom: 25px;
}

#timeline #slider ul li a:hover {
    color: #bfbfbf
}

#timeline #slider ul li a.a {
    color: #fff;
    bottom: 1px;
    font-size: 48px
}

#timeline #slider ul li a span.zom-month {
    font-size: 50%;
    padding-right: 4px;
}

#timeline #slider ul li a.a span.zom-month {
    font-size: 20px;
}

#timeline #slider i {
    position: absolute;
    z-index: 100;
    top: 0;
    bottom: 0;
    width: 300px;
    height: 100%;
}

#timeline #slider i#r {
    background: url("https://cdn.zomia.org/images/timeline/timeline-overlay-r-wide.png") no-repeat;
    right: 0
}

#timeline #slider i#l {
    background: url("https://cdn.zomia.org/images/timeline/timeline-overlay-l-wide.png") no-repeat;
    left: 0
}

#timeline #sliderDetail {
    background-color: #e5e5e5;
    min-height: 280px;
    border-top: 1px solid #fff;
    position: relative;
    border-bottom: 1px solid #d3d3d3
}

#timeline #sliderDetail .container {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    height: 280px;
    padding-bottom: 70px;
}

#timeline #sliderDetail .container .mNav {
    position: absolute;
    float: right;
    z-index: 9;
    top: 100px;
    display: block;
    width: 22px;
    height: 38px;
    background-position: center left
}

#timeline #sliderDetail .container .mNav:hover {
    background-position: bottom left
}

#timeline #sliderDetail .container .d {
    background-position: top left
}

#timeline #sliderDetail .container .d:hover {
    cursor: default;
    background-position: top left
}

#timeline #sliderDetail .container #mLeft {
    background-image: url("https://cdn.zomia.org/images/timeline/mLeft.png");
    left: 3px
}

#timeline #sliderDetail .container #mLeft:active {
    left: 0
}

#timeline #sliderDetail .container #mRight {
    background-image: url("https://cdn.zomia.org/images/timeline/mRight.png");
    right: 3px
}

#timeline #sliderDetail .container #mRight:active {
    right: 0
}

#timeline #sliderDetail .container #detailHolder {
    position: absolute;
    width: 80000px;
    left: 0;
    top: 0
}

#timeline #sliderDetail .container #detailHolder .detail {
    width: 100%;
    max-width: 800px;
    min-height: 260px;
    position: relative;
    float: left;
    opacity: 0
}

#timeline #sliderDetail .container #detailHolder .detail .thumb {
    width: 220px;
    height: 220px;
    background-image: url("https://cdn.zomia.org/images/timeline/round-frame-200px.png");
    position: absolute;
    left: 50px;
    top: 30px
}

#timeline #sliderDetail .container #detailHolder .detail .thumb img {
    position: absolute;
    height: 200px;
    width: 200px;
    top: 9px;
    left: 9px;
    padding: 0;
    margin: 0
}

#timeline #sliderDetail .container #detailHolder .detail h1 {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 300;
    font-size: 32px;
    color: #3e3f3f;
    position: absolute;
    top: 50px;
    left: 290px
}

#timeline #sliderDetail .container #detailHolder .detail .detailBody {
    position: absolute;
    max-width: 440px;
    top: 100px;
    left: 291px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #5c5c5c;
    line-height: 20px;
    text-align: left;
    padding-bottom: 50px;
}

#timeline #sliderDetail .container #detailHolder .detail .detailBody p {
    margin-bottom: 10px;
    line-height: 20px;
}

#timeline #sliderDetail .container #detailHolder .detail .detailBody {
    font-size: 13px;
}

#timeline #sliderDetail .container #detailHolder #d1 {
    opacity: 1
}

.hr {
    border: 0;
    margin: 0;
    position: absolute;
    height: 12px;
    width: 100%;
    margin-top: -1px;
    background-position: 50% 0;
    background-repeat: no-repeat;
    z-index: 3
}

/* NOW, WE NEED TO HANDLE SMALL SCREEN SIZES */
@media all and (min-width: 1px) and (max-width: 780px) {
    #timeline #sliderDetail .container #detailHolder .detail .thumb {
        top: 15px;
        left: 30px
    }

    #timeline #sliderDetail .container #detailHolder .detail h1 {
        top: 260px;
        left: 19px;
        font-size: 24px;
    }

    #timeline #sliderDetail .container #detailHolder .detail .detailBody {
        top: 300px;
        left: 20px;
        max-width: 270px
    }

    #timeline {
        min-height: 600px;
    }

    #timeline #sliderDetail .container {
        height: 520px
    }
}

@media all and (min-width: 1px) and (max-width: 399px) {
    #timeline #sliderDetail .container #detailHolder .detail h1 {
        left: 9px;
    }

    #timeline #sliderDetail .container #detailHolder .detail .detailBody {
        left: 10px;
        max-width: 380px;
    }
}

@media all and (min-width: 400px) and (max-width: 519px) {
    #timeline #sliderDetail .container #detailHolder .detail .thumb {
        left: 90px;
    }

    #timeline #sliderDetail .container #detailHolder .detail .detailBody {
        max-width: 360px;
    }
}

@media all and (min-width: 520px) and (max-width: 780px) {
    #timeline #sliderDetail .container #detailHolder .detail .thumb {
        left: 150px;
    }

    h1 {
        font-size: inherit;
    }

    #timeline #sliderDetail .container #detailHolder .detail .detailBody {
        max-width: 480px;
    }
}

@media all and (min-width: 1px) and (max-width: 1280px) {

    #timeline #slider i {
        width: 140px;
    }

    #timeline #slider i#r {
        background-image: url("https://cdn.zomia.org/images/timeline/timeline-overlay-r.png");
    }

    #timeline #slider i#l {
        background-image: url("https://cdn.zomia.org/images/timeline/timeline-overlay-l.png");
    }
}