/* Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
  box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Variables */
:root {
  --main-bg-color: #006791;
  --base-font-color: #232323;
  --white-color: #FFFFFF;
  --black-color: #000000;
  --secondary-color: #795548;
}


body {
  font-size: 16px;
  background-image: linear-gradient(rgba(0, 103, 145, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 103, 145, 0.05) 1px, transparent 1px),
                    linear-gradient(rgba(0, 103, 145, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 103, 145, 0.05) 1px, transparent 1px);
  background-repeat: repeat;
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  color: var(--base-font-color, #232323);
  line-height: 1.25;
  font-family: 'Open Sans', sans-serif;
}
.container {
  width: 100%;
}

.text-center {
  text-align: center;
}
.italic-text {
   font-style: italic;
}
h3 {
  margin-bottom: 10px;
}
.blue-text {
  color: var(--main-bg-color, #006791);
}
.brown-text {
  color: var(--secondary-color, #795548);
}
.inline-block{
  display: inline-block;
  vertical-align: bottom;
}
figcaption {
  font-weight: bold;
  margin: 10px 0;
}
.nav-container {
  width: 100%;
  background-color: var(--main-bg-color, #006791);
  color: #FFF;
  padding: 20px;
  box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.6);
}
.main-content {
  padding: 20px;
}
.logo-container {
  margin-bottom: 30px;
  position: relative;
  margin-top: 0px;
}
.logo-container::after {
  content: " ";
  width: 80%;
  border-bottom: 1px solid;
  position: absolute;
  left: 10%;
  margin-top: 10px;
}
.logo-letter {
  background: var(--white-color, #FFF);
  border-radius: 5px;
  padding: 2px;
  margin-right: 2px;
  line-height: 1;
  display: inline-block;
  color: var(--main-bg-color, #006791);
}
.tagline {
  font-size: 0.8em;
  margin-top: 10px;
}

.nav {
  overflow-x: auto;
  white-space: nowrap;
}
.nav li {
  display: inline-block;
  border-right: 1px solid;
  padding-right: 10px;
  margin-right: 10px;
  text-align: left;
}
footer {
  padding: 10px;
  color: var(--white-color, #FFF);
  background-color: var(--main-bg-color, #006791);
}
footer a {
  margin-right: 10px;
}
.main-content section {
  min-height: 100vh;
}
.container {
  width: 80%;
  margin: 0 auto;
}
.card {
  
  border-radius: 5px;
  box-shadow: 0px 0px 2px 0px rgba(0,0,0, 0.6);
  background-color: var(--white-color, #FFF);
  padding: 20px;
  margin-bottom: 20px;
}
.small-card {
  width: 100%;
}
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.heading {
  margin-bottom: 20px;
  background-color: var(--main-bg-color, #006791);
  text-transform: uppercase;
  padding: 20px;
  color: var(--white-color, #FFF);
}

.timeline {
  position:relative;
  box-sizing: border-box;
  margin: 10px auto;
}
.timeline:before {
  position: absolute;
  width: 4px;
  height: calc(100% - 40px);
  background:var(--main-bg-color, #006791);
  content: "";
  left: 18px;
}
.timieline-title {
  font-size: 1.25em;
  font-weight: bold;
  color: var(--main-bg-color, #006791);
}
.timeline-sub-title {
  font-size: 1.15em;
}
.timeline-content {
  padding: 20px;
  background: #FFF;
  position: relative;
  min-height: 100px; 
  margin-top: 10px;
  left: 70px;
  width: calc(100% - 70px);
}
.timeline-content:before {
  width: 20px;
  height: 20px;
  content: "";
  text-align: center;
  font-weight: bold;
  background: var(--main-bg-color, #006791);
  position: absolute;
  left: -60px;
  border-radius: 50%;
  top: calc(50% - 10px);
  box-sizing: border-box;
}

.timeline-content:after {
  content: "";
  right: 100%;
  width: 50px;
  border-top: 2px dashed var(--main-bg-color, #006791);
  position: absolute;
  top: calc(50% - 1px);
}
.list {
  padding: 20px 0 0 20px;
}
.contact div {
  margin-bottom: 10px;
}
.contact i{
  color: var(--secondary-color, #795548);
  vertical-align: middle;
  margin-right: 5px;
}
.contact span {
  width: 20%;
  display: inline-block;
}
.contact a {
  display: inline-block;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 100%;
  overflow: hidden;
}
@media screen and (min-width: 1024px) {
  .nav-container {
    width: 220px;
    bottom: 0;
    position: fixed;
    left: 0;
    top: 0;
  }
  .small-card {
    width: 49%;
  }
  .logo-container{
    margin-bottom: 50px;
    margin-top: 50px;
  }
  .main-content {
    width: calc(100% - 220px);
    margin-left: 220px;
  }
  .nav li {
    display: block;
    padding: 10px;
    margin-right: 0px;
    border: none;
    border-bottom: 1px solid;
  }
  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 220px;
    background: var(--white-color, #FFF);
    color: var(--main-bg-color, #006791);
  }
  .timeline-content {
    width: calc(50% - 50px);
    left: auto;
  }
  .timeline:before {
    left: calc(50% - 2px);
  }
  .timeline-content:nth-child(even) {
    left: calc(50% + 50px); 
  }
  .timeline-content:nth-child(odd)::before{
    right: -60px; 
    left: auto;
  }
  .timeline-content:nth-child(odd)::after{
    right: -50px; 
    left: auto;
  }
  .timeline-content::before {
    right: auto;
    left: -60px;
  }
  .timeline-content:nth-child(even):after {
    right: auto;
    left: -50px;
  }
  .timeline-content:nth-child(even) .timeline-period {
    right: calc(100% + 70px);
    left: auto;
  }

  .timeline-content:nth-child(even) .timeline-period:before {
    left: 100%;
    border-right-color: transparent;
    border-left-color: var(--main-bg-color, #006791);
  }  

  .timeline-period {
    left: calc(100% + 70px);
    position: absolute;
    display: inline-block;
    background: var(--main-bg-color, #006791);
    padding: 10px;
    white-space: nowrap;
    border-radius: 5px;
    top: calc(50% - 19px);
    font-style: italic;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--white-color, #FFF);
  }
  .timeline-period:before {
    content: "";
    left: -18px;
    width: 6px;
    border: 6px dashed transparent;
    position: absolute;
    top: calc(50% - 6px);
    border-right: 6px solid var(--main-bg-color, #006791);
  }
  
}
