/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  margin: 0 auto;
  width: 90%;
  max-width: 1024px;
}
.cd-container *, .cd-container *:after, .cd-container *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */

#cd-timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
#cd-timeline a {
  transition: text-shadow .4s, border-color .4s, box-shadow .4s, background-color .4s, color .4s, opacity .4s;
  text-decoration: none !important;
}
#cd-timeline a:hover {
  text-shadow: 0px -1px 0px rgba(0,0,0,0.2);
}
#cd-timeline::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  left: 7px;
  height: 100%;
  width: 2px;
  background: lightGray;
}
@media only screen and (min-width: 640px) {
  #cd-timeline::before {
    left: 50%;
    margin-left: -2px;
  }
}

.cd-timeline-block {
  position: relative;
}
.cd-timeline-block:after {
  content: "";
  display: table;
  clear: both;
}
.cd-timeline-block:first-child {
  margin-top: 0;
}

.cd-timeline-img {
  position: absolute;
}
@media only screen and (min-width: 640px) {
  .cd-timeline-block {
    margin-top: 0;
  }
}

.cd-timeline-content {
  position: relative;
}
.cd-timeline-content h3 {
  line-height: 1.7;
  margin-bottom: 1.3em;
  text-align: left;
  font-size: 17px;
  font-family: 'Noto Sans CJK KR', 'Noto Sans KR', 'apple sd gothic neo', sans-serif;
  font-weight: normal;
}
.cd-timeline-content h3 a {
  color: #333;
}
.cd-timeline-content h3 sup {
  white-space: nowrap;
}
.cd-timeline-content h3 sup a {
  color: darkSlateGray;
}
.cd-timeline-content i {
  margin-right: 2.5px;
}
.cd-timeline-content .cd-info {
  line-height: 1.5;
  text-align: right;
  color: #666;
}
.cd-timeline-content .cd-info span {
  margin-left: 5px;
  white-space: nowrap;
}
.cd-timeline-content .cd-info a {
  color: darkSlateGray;
}
.cd-content .cd-thumb-wrap {
  border: 1px solid #ddd;
  padding: 2px;
  margin: 0 10px 5px 0;
  float: left;
}
.cd-content .cd-thumb-wrap:hover {
  cursor: pointer;
  border-color: #666;
}
.cd-content p {
  margin: 15px 0;
  line-height: 1.7;
  font-size: 14px;
  color: #333;
  text-align: justify;
  word-break: break-all;
}
.cd-link-area {
  clear: both;
  margin-top: 20px;
}
.cd-timeline-content .cd-read-more {
  float: right;
  padding: .3em .5em;
  margin-left: 10px;
  border: 1px solid #5f7ab3;
  border-radius: 2px;
  background-color: #5f7ab3;
  color: white;
  cursor: pointer;
  white-space: nowrap;
  opacity: 0.9;
}
.cd-timeline-content .cd-read-more:hover {
  opacity: 1;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.15);
}
.cd-timeline-content .cd-cmt-more, .cd-timeline-content .cd-cmt-less {
  float: right;
  padding: .3em .5em;
  border: 1px solid #bbb;
  border-radius: 2px;
  border-bottom-color: #999;
  background-color: #f5f5f5;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
}
.cd-timeline-content .cd-cmt-more:hover, .cd-timeline-content .cd-cmt-less:hover {
  box-shadow: 2px 2px 2px rgba(0,0,0,0.15);
}
@media only screen and (min-width: 640px) {
  .cd-timeline-block:nth-child(odd) .cd-timeline-content {
    text-align: right;
  }
  .cd-timeline-block:nth-child(even) .cd-timeline-content {
    float: right;
  }
}

.cd-cmt-list {
  display: table;
  margin-top: 15px;
  padding-top: 15px;
  width: 100%;
  text-align: left;
}
.cd-cmt-list i {
  float: left;
  font-size: 1.5em;
  color: slateGray;
}
.cd-cmt-list hr {
  width: 50%;
  float: left;
}
.cd-cmt-list .cd-cmt {
  clear: both;
}
.cd-cmt-list .cd-cmt span.cd-cmt-depth {
  display: table-cell;
  padding-right: 5px;
}
.cd-cmt-list .cd-cmt span.cd-cmt-depth i {
  display: table-cell;
  padding-right: 5px;
  font-size: 1em;
  color: #bbb;
}
.cd-cmt-list .cd-cmt span.cd-cmt-nick {
  display: table-cell;
  color: #365899;
  white-space: nowrap;
}
.cd-cmt-list .cd-cmt span.cd-cmt-cnt {
  display: table-cell;
  padding: 10px 0 0 5px;
  line-height: 1.4em;
  color: #666;
}
.cd-cmt-list .cd-cmt span.cd-cmt-cnt a {
  color: #666;
}
.cd-cmt-list .cd-cmt .cd-cmt-secret {
  display: table-cell;
  padding: 15px 0 0 5px;
}
.cd-cmt-list .cd-cmt .cd-cmt-secret span {
  margin-left: 5px;
  padding: 2px 6px;
  border: 1px solid #bbb;
  border-radius: 3px;
  font-size: 0.8em;
  color: #999;
}

.cd-content-navigator {
  text-align: center;
  margin: 2em 0 1em;
}
.cd-content-more {
  cursor: pointer;
  padding: .5em 1em;
  border: 1px solid #bbb;
  border-radius: 3px;
  background-color: #f5f5f5;
  font-size: 12px;
  color: #666;
  text-decoration: none !important;
  transition: text-shadow .4s, border-color .4s, box-shadow .4s, background-color .4s, color .4s, opacity .4s;
}
.cd-content-more:hover {
  background-color: #eee;
  text-shadow: 0px -1px 0px rgba(0,0,0,0.2);
}