/*===========================================
=            Theme color setting            =
===========================================*/
/*============================================
=            External Google font            =
============================================*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Montserrat);
/*==============================
=            layout            =
==============================*/
.wrap_container * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/** design for horizontal line  */
hr.hr-style1 {
  margin: 16px 0 16px 0;
  border: 0;
  height: 1px;
  background: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
  background: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}

/** for read more link */
a.MT-readmore {
  cursor: pointer;
  padding: 3px;
  font: bold 12px sans-serif;
  font-style: italic;
  text-decoration: none;
}

a.MT-readmore:hover {
  border: .7px solid #999;
  border-radius: 6px;
  color: #4CAF50;
}

a.MT-readmore:active {
  background-color: #857c75;
  color: #fff;
}

iframe.myvideo {
  width: 100%;
  height: 100%;
}

/*==================================
=            typography            =
==================================*/
#timeline_container {
  color: #5d5b5a;
  font-size: 13px;
  font-family: helvetica,arial,sans-serif;
}

#timeline_container h1 span {
  font-size: .6em;
  word-spacing: 3px;
  font-weight: normal;
  color: #a9a8a7;
}

/*typo for timeline fonts */
.header-image h1 {
  font-family: 'Montserrat', serif, sans-serif;
}

#myevents {
  font-family: 'Montserrat', serif;
}
#myevents h2 {
  text-transform: uppercase;
}
#myevents li p {
  font-family: 'Open Sans', sans-serif;
}
#myevents > li div.event_content {
  color: #101010;
}

/* Timeline container and timeline container header*/
/*==========================================
=       Timeline Container   =
==========================================*/
#timeline_container {
  max-width: 960px;
  height: auto;
  padding: 30px;
  margin: 100px auto;
  position: relative;
  background: #f5f5f5;
  border: 1px solid #cdc9c6;
  border-radius: 5px;
}

 /*=====================================
=           user  navigation             =
=====================================*/
#timeline_container > header {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  z-index: 30;
  background: none;
  top: 0;
  left: 0;
}
#timeline_container > header nav {
  width: auto;
  margin: 0 auto;
  overflow: hidden;
}
#timeline_container > header nav ul {
  padding: 0;
  text-align: center;
  font-size: 0em;
  letter-spacing: 0px;
  word-spacing: 0px;
  margin: 5px 0;
}
#timeline_container > header nav li {
  display: inline-block;
  cursor: pointer;
  padding: .5em;
  margin-right: 5px;
  font-size: 16px;
  border-radius: 50%;
  color: #000000;
}
#timeline_container > header nav li:hover {
  background: #d5d1cf;
}
#timeline_container > header nav li.active, #timeline_container > header nav li :active {
  color: #f5f5f5;
}
#timeline_container > header nav li.all:active,
#timeline_container > header nav li.all.active {
  background: #03A9F4;
}
#timeline_container > header nav li.icon-address:active,
#timeline_container > header nav li.icon-address.active {
  background: #00BCD4;
  box-shadow: none;
}
#timeline_container > header nav li.icon-graduation-cap:active,
#timeline_container > header nav li.icon-graduation-cap.active {
  background: #009688;
  box-shadow: none;
}
#timeline_container > header nav li.icon-briefcase:active,
#timeline_container > header nav li.icon-briefcase.active {
  background: #4CAF50;
  box-shadow: none;
}
#timeline_container > header nav li.icon-user:active,
#timeline_container > header nav li.icon-user.active {
  background: #8BC34A;
  box-shadow: none;
}

#main_nav li {
  color: #333;
}

#nav_ctrl {
  position: absolute;
  color: #1494b5;
  top: 0;
  right: 0;
}

/*=====================================
=            Icon Settings            =
=====================================*/
[class^="icon-"]:before,
[class*=" icon-"]:before {
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  width: 1.2em;
  margin-right: 0.1em;
  text-align: center;
  opacity: 0.9;
  line-height: 1em;
  margin-left: 0.2em;
}

.icon-all:before {
  content: '\f0ac';
}

.icon-address:before {
  content: '\f013';
}

.icon-graduation-cap:before {
  content: '\f024';
}

.icon-briefcase:before {
  content: '\f085';
}

.icon-user:before {
  content: '\f02c';
}

.icon-up-open:before {
  content: '\f0aa';
}

.icon-down-open:before {
  content: '\f0ab';
}

/* virtual icon settings*/
.user_event .event_content ul li a {
  margin: 20px 20px 20px 0px;
}
.user_event .event_content ul li .fa-facebook-square:hover {
  color: #3b5998;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.user_event .event_content ul li .fa-twitter-square:hover {
  color: #1dcaff;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.user_event .event_content ul li .fa-reddit-square:hover {
  color: #ff1500;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.user_event .event_content ul li .fa-codepen:hover {
  color: #000;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}

.user_event .event_content ul.social {
  margin-top: 10px;
}
.user_event .event_content ul.social li {
  display: inline-block;
}

/*====================================
=            header Image            =
====================================*/
#user_image {
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #03A9F4;
  overflow: hidden;
  margin: 20px auto;
  box-shadow: 0 3px 2px rgba(0, 0, 0, 0.6);
}

#timeline_container .header-image img {
  /*height:100%;       		*/
}

.header-image h1 {
  margin: 30px auto;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

/* Timeline container and timeline container header END*/
/* */
/*=========================================
=            Timeline contents            =
=========================================*/
#myevents {
  position: relative;
  width: 4px;
  background: #cdc9c6;
  border-right: 1px solid white;
  margin: 0 auto;
  padding: 6em 0 0;
  list-style: none;
}
#myevents:after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cdc9c6;
  box-shadow: 1px 1px 1px white;
  position: absolute;
  bottom: 0;
  left: -6px;
}
#myevents:before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cdc9c6;
  box-shadow: 1px -1px 1px white;
  position: absolute;
  top: 0px;
  left: -6px;
}
#myevents > li {
  position: relative;
  padding: .3em 0;
  min-height: 200px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
#myevents > li.hidden {
  display: none;
}
#myevents > li div {
  position: absolute;
}
#myevents > li div.event_icn {
  padding: 0.25em;
  font-size: 13px;
  border-radius: 50%;
  background: #ebe7e4;
  border: 3px solid #cdc9c6;
  margin-left: -15px;
  color: #333;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#myevents > li:hover div.event_icn,
#myevents li.active div.event_icn {
  color: #fff;
}
#myevents > li.life_event div.event_icn {
  background: #008fa1;
}
#myevents li.life_event:hover div.event_icn,
#myevents li.life_event.active div.event_icn {
  background: #00BCD4;
}
#myevents > li.education_event div.event_icn {
  background: #00635a;
}
#myevents > li.education_event:hover div.event_icn,
#myevents li.education_event.active div.event_icn {
  background: #009688;
}
#myevents > li.work_event div.event_icn {
  background: #3d8b40;
}
#myevents > li.work_event:hover div.event_icn,
#myevents li.work_event.active div.event_icn {
  background: #4CAF50;
}
#myevents > li.user_event div.event_icn {
  background: #71a436;
}
#myevents > li.user_event:hover div.event_icn,
#myevents li.user_event.active div.event_icn {
  background: #8BC34A;
}

#myevents > li div.event_content {
  width: 350px;
  min-height: 100px;
  padding: 1em 2em 1.3em;
  border: 1px solid #DDDBDA;
  border-radius: 10px;
  top: -4em;
  opacity: 0.7;
  background: white;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#myevents > li div.event_content:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-bottom: 1px solid #DDDBDA;
  border-left: 1px solid #DDDBDA;
  top: 3em;
  background: #ebe7e4;
  margin-top: 8px;
  background: white;
}
#myevents > li div.event_content a {
  color: #999;
}
#myevents > li:hover div.event_content,
#myevents li.active div.event_content {
  opacity: .9;
  border-top: 10px solid #857c75;
}
#myevents > li div.event_content h2 {
  margin: 0.3em 0;
  padding: 0;
  font-size: 1.25em;
}
#myevents > li div.event_content p {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  word-spacing: 2px;
}
#myevents > li div.event_content ul {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.5em;
}
#myevents > li div.event_date {
  width: 180px;
  font-size: 1.2em;
  opacity: 0.7;
  font-weight: bold;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
#myevents > li div.event_date p {
  margin: 0;
  padding: 0;
  line-height: 1.5em;
  letter-spacing: 2px;
}
#myevents > li:hover div.event_date,
#myevents li.active div.event_date {
  opacity: 1;
}

/*animation for content*/
@-webkit-keyframes zoomy {
  to {
    -webkit-transform: scale(0.1);
            transform: scale(0.1);
  }
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes zoomy {
  to {
    -webkit-transform: scale(0.1);
            transform: scale(0.1);
  }
  from {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
/* classess to help js to sort events left and right position*/
.oddRight {
  right: -420px;
  text-align: left;
}

.evenLeft {
  left: -420px;
  text-align: left;
}

.oddRight:before {
  left: -11px;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.evenLeft:before {
  right: -11px;
  -webkit-transform: rotate(225deg);
      -ms-transform: rotate(225deg);
          transform: rotate(225deg);
}

/* classess to help js to sort events date left and right position*/
.date_oddRight {
  right: 60px;
  text-align: right;
}

.date_evenLeft {
  text-align: left;
  left: 60px;
}

div#instructions_container {
  position: fixed;
  padding: 2em;
  width: 200px;
  top: 2em;
  right: 2em;
  line-height: 1.4em;
  background: #FDFDBD;
  border-radius: 10px;
  border: 1px solid #DDDBDA;
  z-index: 40;
  font-size: 0.9em;
  color: black;
  line-height: 1.6em;
}

/*========================================================
=            Media queries for responsiveness            =
========================================================*/
/*==========  Non-Mobile First Method  ==========*/
/* Medium Devices, Desktops */
@media only screen and (max-width: 992px) {
  #myevents > li div.event_content {
    width: 320px;
  }

  .oddRight {
    right: -370px;
  }

  .evenLeft {
    left: -370px;
  }
}
/* Small Devices, Tablets */
@media only screen and (max-width: 768px) {
  #timeline_container > header nav li {
    padding: .5em;
    font-size: 16px;
  }

  #myevents > li div.event_content {
    width: 190px;
    padding: 1em 1em .2em;
  }

  .oddRight {
    right: -230px;
  }

  .evenLeft {
    left: -230px;
  }

  div.date_oddRight {
    right: 30px;
  }

  div.date_evenLeft {
    left: 30px;
  }
}
/* Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {
  #nav_ctrl {
    position: absolute;
    top: 50px;
    right: 0px;
  }

  .header-image h1 {
    color: #00aaa5;
    font-size: 2em;
  }

  #myevents > li div.event_content {
    width: 130px;
    padding: 0em 1em 0em;
  }

  .oddRight {
    right: -160px;
  }

  .evenLeft {
    left: -160px;
  }

  div.date_oddRight {
    right: 30px;
  }

  div.date_evenLeft {
    left: 30px;
  }

  #myevents > li div.event_content h2 {
    margin: 0.4em 0;
    font-size: 1em;
    color: #00aaaa;
  }

  #myevents > li div.event_content p {
    font-size: .9em;
  }

  #myevents > li div.event_date {
    font-size: 1em;
  }
}
/* Custom, iPhone Retina */
@media only screen and (max-width: 320px) {
  #myevents > li div.event_content {
    width: 110px;
    padding: 0em 1em 0em;
  }

  .oddRight {
    right: -140px;
  }

  .evenLeft {
    left: -140px;
  }

  div.date_oddRight {
    right: 30px;
  }

  div.date_evenLeft {
    left: 30px;
  }
}
