/* source: https://codepen.io/hassan-kamal/pen/NNvYEQ */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
}
body {
    margin: 0;
    padding: 0;
    background: #F1F2F6;
}
.hero {
    width: 1000px;
    margin: 75px auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
}
.hero h1 {
    color: #777;
}
.hero p {
    color: #777;
    font-size: 24px;
}
.hero .table-div {
    display: flex;
}
.hero .table-div img {
    display: block;
    width: auto;
    height: auto;
}
.hero .table-div > div {
    width: 500px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-family: 'Varela Round', sans-serif;
    color:#999
}
.hero .table-div > div.registration {
    font-size: 16px;
}
.hero .table-div > div.registration div.sidenote {
    font-size: 12px;
    line-height: 16px;
}
.hero .button {
    display: inline-block;
}
.hero .button i {
    font-size: 36px;
    margin: auto 10px;
    color: #777;
}
.hero .button i:hover {
    color: #4FC1E9;
}
.details {
    width: 650px;
    margin: auto auto;
    padding: 25px;
    background-color: #BFEAFA;
    font-family: 'Varela Round', sans-serif;
}
.container {
    width: 80%;
    padding: 50px 0;
    margin: 50px auto;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto Condensed', sans-serif;
}
.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-right {
    float: right;
}
.timeline-block-left {
    float: left;
    direction: rtl
}
.marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #F5F7FA;
    background: #4FC1E9;
    margin-top: 10px;
    z-index: 9999
}
.timeline-content {
    width: 95%;
    padding: 0 15px;
    color: #666
}
.timeline-content h3 {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 25px;
    font-weight: 500
}
.timeline-content span {
    font-size: 15px;
    color: #a4a4a4;
}
.timeline-content p {
    font-size: 14px;
    line-height: 1.5em;
    word-spacing: 1px;
    color: #888;
}
.timeline-content ul{
    list-style: none;
    padding: 0px;
}
.timeline-content li{
    display: inline-block;
    margin: auto 2px;
    padding: 1px 3px;
    background-color: #DDD;
}
.contact {
    margin: 100px auto;
    text-align: center;
    font-family: 'Satisfy', cursive;
    font-size: 20px;
    color: #999;
}
.contact a {
    color: #666;
}
.contact a:hover {
    color: #4FC1E9;
}

@media (max-width: 768px) {
    .hero {
        width: 100%;
    }
    .hero .table-div {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    .hero .table-div > div {
        width: 100%;
    }
    .details {
        width: 100%;
    }    
    .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;
    }
}
