﻿
.titletimeline {
    font-size: 60px;
    font-weight: bold;
    color: #DE7C00;
    font-family: Open Sans, Arial, Helvetica, sans-serif;
    padding: 20px;
    text-align: center;
}

h2 {
    color: #009CC0;
}

/* The actual timeline (the vertical ruler) */
.timeline {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    background-color: #81848A;
    padding: 10px;
}

    /* The actual timeline (the vertical ruler) */
    .timeline::after {
        content: '';
        position: absolute;
        width: 6px;
        background-color: white;
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -3px;
    }

/* Container around content */
.container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;

}

    /* The circles on the timeline */
    .container::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 25px;
        right: -17px;
        background-color: white;
        border: 4px solid #FF9F55;
        top: 15px;
        border-radius: 50%;
        z-index: 1;
    }

/* Place the container to the left */
.left {
    left: 0;
    box-sizing: border-box;
}

/* Place the container to the right */
.right {
    left: 50%;
    box-sizing: border-box;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -16px;
}

/* The actual content */
.content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
}

    .content img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        max-width: 640px;
    }


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 1200px) {
    /* Place the timelime to the left */
    .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

        /* Make sure that all arrows are pointing leftwards */
        .container::before {
            left: 60px;
            border: medium solid white;
            border-width: 10px 10px 10px 0;
            border-color: transparent white transparent transparent;
        }

    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
        left: 5px;
    }

    /* Make all right containers behave like the left ones */
    .right {
        left: 0%;
    }
}


.square {
    float: left;
    position: relative;
    width: 45%;
    padding-bottom: 45%; /* = width for a 1:1 aspect ratio */
    margin: 1.66%;
    background-color: #e5f5f5;
    color: #151515;
    overflow: auto;
}

.squarecontent {
    position: absolute;
    height: 90%; /* = 100% - 2*5% padding */
    width: 90%; /* = 100% - 2*5% padding */
    padding: 5%;
}

.squaretable {
    display: table;
    width: 100%;
    height: 100%;
}

.squarecell {
    display: table-cell;
    vertical-align: middle;
}

.squaretitle {
    font-size: 25px;
    font-weight: bold;
    color: #83531E;
    text-align:center;
}

.squaretext {
    font-weight: bold;
    color: #151515;
    text-align: center;
}

.squareheading {
    font-size: 39px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1px;
}
