/* Project: CV template;
 *Author: Richard Nyasha Kaseke;
 *Published on: http: //www.square.co.zw */


::-moz-selection, ::selection {
  background: #b3d4fc;
  text-shadow: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  vertical-align: middle;
}

a {
  color: #a5cf64;
  list-style-type: none;
  text-decoration: none;
}

ol, ul {
  list-style: none;
  padding: 0;
}

h1, h3 {
  font-family: "Nunito", serif;
}

h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 12px;
}

h4 {
  color: darkblue;
  margin: 0;
  font-size: 11px;
}

p {
  margin: 0;
  line-height: 2;
}


.main {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
  padding: 20px;
}


header section {
  float: none;
  display: block;
  text-align: center;
  max-width: 900px;
  width: 100%;
}
header h1 {
  font-size: 45px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 0;
}

header span {
  font-size: 20px;
  margin-top: 20px;
  display: block;
  text-transform: lowercase;
  font-family: "Dancing Script", cursive;
}

section {
  float: left;
  max-width: 700px;
  width: 70%;
  display: inline-block;
  margin: 0;
  padding: 0;
}

aside {
  max-width: 250px;
  width: 30%;
  display: inline-block;
  margin: 0;
  padding: 0;
  float: right;
}

article {
  margin-bottom: 40px;
}
article h1 {
  text-transform: uppercase;
  font-size: 15px;
}

.contact {
  margin: 10px 0 20px 0;
}
.contact a {
  color: white;
  font-family: "Nunito", serif;
  margin: 0 15px 0 0;
  padding: 0 0 0 20px;
}
.contact .link {
  background: url("/?originalUrl=https%3A%2F%2Frshariffdeen.github.io%2Fglobe.png") no-repeat;
}
.contact .mail {
  background: url("/?originalUrl=https%3A%2F%2Frshariffdeen.github.io%2Fmail.png") no-repeat;
}
.contact .phone {
  margin: 0;
  background: url("/?originalUrl=https%3A%2F%2Frshariffdeen.github.io%2Fphone.png") no-repeat;
}

.pic {
  float: right;
  margin: -70px 0 0 0;
}

#module {
  width: 100%;
}

.time {
  width: 20%;
  display: inline;
  float: left;
  text-align: right;
  width: 70px;
  margin-right: 20px;
}

.timeline {
  width: 80%;
  display: inline-block;
}
.timeline .element {
  margin: 0;
  padding: 0 0 10px 20px;
  border-left: 4px solid lightgray;
  -webkit-transition: 1s ease;
  -moz-transition: 1s ease;
  -o-transition: 1s ease;
  transition: 1s ease;
}
.timeline .element h3 {
  display: inline-block;
}
.timeline .element:hover {
  border-left: 4px solid #c2d9a1;
  cursor: pointer;
}
.timeline .element:hover {
  -webkit-transition: 1s ease;
  -moz-transition: 1s ease;
  -o-transition: 1s ease;
  transition: 1s ease;
}
.timeline .element::before {
  content: " ";
  color: white;
  background: darkgrey;
  display: inline-block;
  margin-left: -29px;
  position: absolute;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  height: 12px;
  width: 12px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
.timeline .element ul {
  list-style-type: square;
  padding-left: 15px;
  margin: 0;
}

.level {
  height: 4px;
  background: #b7e5e2;
  margin: 4px 0;
}
.level span {
  display: block;
  height: 100%;
  background: #4ec5e0;
  overflow: hidden;
}

blockquote {
  margin: 0;
  quotes: "\201C" "\201D" "\2018" "\2019";
}
blockquote:before {
  color: #cccccc;
  content: open-quote;
  font-size: 40px;
  line-height: 0.1;
  margin-right: 10px;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
}

img {
  max-width: 100%;
  height: auto;
  width: auto 9;
}

@media only screen and (max-width: 50em) {
  section {
    margin: 0 auto;
    float: none;
    width: 100%;
    display: block;
  }

  .pic {
    float: none;
    display: block;
  }

  aside {
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    display: block;
  }
  aside article {
    width: 33%;
    padding: 0 10px;
    display: inline-block;
    float: left;
  }
}
@media only screen and (max-width: 40em) {
  header h1 {
    font-size: 30px;
  }

  aside article {
    width: 100%;
    display: block;
    float: left;
  }

  .timeline {
    width: 65%;
  }

  .pic {
    margin-left: auto;
    margin-right: auto;
  }
}
