* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}

html, body {
    margin: 0;
    /*padding: 30px 0;*/
    font-family: 'Open Sans', sans-serif;
    background: #F1F2F6;
    height: 100%;
    width: 100%;
}

#WorkPageDesc {
    width: 90%;
    margin: 0 auto;
}


#WorkPageDesc p {
    font-size: 14px;
    line-height: 1.5em;
    color: #888;
    text-align: left;
}


.container {
    width: 80%;
    padding: 50px 0;
    margin: 50px auto;
    position: relative;
    overflow: hidden;    /*overflow is clipped, and the rest of the content will be invisible*/

}

/*creating the line divider*/
.container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -1px;
    width: 2px;
    height: 100%;
    background: #CCD1D9;
    z-index: 1
}

.timeline-block {
    width: -webkit-calc(50% + 8px);
    width: -moz-calc(50% + 8px);
    width: calc(50% + 8px);
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    justify-content: space-between;
    clear: both;
}
.timeline-block-image-right {
    width: calc(50% - 8px);
    float: right;
    position: relative;
}
.timeline-block-image-left {
    width: calc(50% - 8px);
    float: left;
    position: relative;
    direction: rtl;
}

.timeline-block-right {
    float: right;
}
.company-logo {
    display: inline-block;
}

.timeline-block-image-left > img {
    max-width: 80%;
    height: auto;
    /*margin-right: -25px;*/
    
}

.timeline-block-image-right > img {
    max-width: 80%;
    height: auto;
    /*margin-left: 25px;*/
    
}
.timeline-block-left {
    float: left;
    direction: rtl;
}

/*Circle marker on timeline block*/
.marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: #4FC1E9;
    margin-top: 10px;
    z-index: 2   /*display marker in front of the line divider*/
}

.timeline-content {
    width: 95%;
    padding: 0 15px;
    color: #666
}
/*header for the block*/
.timeline-content h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: 500
}
/*caption for the block*/
.timeline-content span {
    font-size: 15px;
    color: #a4a4a4;
}
/*details of the block*/
.timeline-content p {
    font-size: 14px;
    line-height: 1.5em;
    word-spacing: 1px;
    color: #888;
}


@media screen and (max-width: 768px) {
    .container:before {
        left: 8px;
        width: 2px;
    }
    .timeline-block {
        width: 100%;
        margin-bottom: 30px;
    }
    .timeline-block-right {
        float: none;
    }

    .timeline-block-left {
        float: none;
        direction: ltr;
    }
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 3;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
