
body {
    margin: 10px;
    padding: 10px;
}

/* h */
h1,h2,h3,h4,h5,h6 {
    position: relative;
    padding: .75em 1em .75em 2em;
    border: 1px solid #ccc;
    border-bottom: 3px solid #3498db;
    background: -webkit-linear-gradient(top, #fff 0%, #f0f0f0 100%);
    background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 1) inset;
}

h1::after, h2::after,h3::after, h4::after,h5::after, h6::after {
    position: absolute;
    top: .5em;
    left: .5em;
    content: '';
    width: 6px;
    height: -webkit-calc(100% - 1em);
    height: calc(100% - 1em);
    background-color: #3498db;
    border-radius: 4px;
}

body {counter-reset: h2}
h2 {counter-reset: h3}
h3 {counter-reset: h4}
h4 {counter-reset: h5}
h5 {counter-reset: h6}

h2:before {counter-increment: h2; content: counter(h2) ". "}
h3:before {counter-increment: h3; content: counter(h2) "." counter(h3) ". "}
h4:before {counter-increment: h4; content: counter(h2) "." counter(h3) "." counter(h4) ". "}
h5:before {counter-increment: h5; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) ". "}
h6:before {counter-increment: h6; content: counter(h2) "." counter(h3) "." counter(h4) "." counter(h5) "." counter(h6) ". "}

h2.nocount:before, h3.nocount:before, h4.nocount:before, h5.nocount:before, h6.nocount:before { content: ""; counter-increment: none } 

/* table */
table {
    width: 100%;
    border-collapse: separate;
}
th {
    padding: 6px;
    text-align: center;
    vertical-align: middle;
    color: #333;
    background-color: #eee;
    border: 1px solid #b9b9b9;
}
td {
    padding: 6px;
    background-color: #fff;
    border: 1px solid #b9b9b9;
}

/* task */
div.task {
    position: relative;
    margin: 2em 0;
    padding: 30px 10px 7px;
    border: solid 3px #62c1ce;
    counter-increment: task;
}

div.task::after {
    content: "WORK " counter(task);
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
    font-size: 17px;
    background: #62c1ce;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

/* colum */ 
div.column {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
div.column .ctitle {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}

/* notice */
div.notice{
    padding: 0.2em 0.5em;
    color: #565656;
    margin: 5px 5px 5px 5px;
    background: #ffeaea url(./images/notice.png) no-repeat scroll 2px 2px;
    text-indent: 30px;
    box-shadow: 0px 0px 0px 5px #ffeaea;
    border: dashed 2px #ffc3c3;
    border-radius: 4px;   
}
/* term */
pre.term {
    background-color: black;    
    color: white;    
    font-size: 100%;
    padding: 4px;
    margin: 0;
}

/* title */
p.ptitle {
    text-align: center;
    font-weight: bold;
    background-color: #e7efff;
    border-radius: 8px 8px 0 0;
    color: black;
    margin: 0;
    padding: 0;
}

ul{
    padding: 0;
    /*font: 14px/1.6 'arial narrow', sans-serif;*/
    /*width:370px;*/
    list-style: none;
}
ul li{
    position: relative;
    padding: 0.5em 1em 0.5em 2.3em;
    margin-bottom:5px;
    color: rgb(129,194,250);
    /*font-size: 15px;*/
    /*font-weight: bold;*/
    /*border-bottom: 1px solid rgba(129,194,250, 0.5);*/
}
ul li:after,
ul li:before{
    content: "";
    position: absolute;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
ul li:before{
    top: 0.7em;
    left: 0.2em;
    width: 12px;
    height: 12px;
    border:2px solid rgba(129,194,250,0.5);
}
ul li:after{
    top: 0.9em;
    left: 0.7em;
    width: 14px;
    height: 14px;
    background: rgba(129,194,250,0.3);
    -webkit-transform: rotate(60deg);
    -moz-transform: rotate(60deg);
    -o-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    transform: rotate(60deg);
}

ol{
  counter-reset:list;
  list-style-type:none;
  font: 14px/1.6 'arial narrow', sans-serif;
  padding:0;
}
ol li{
  position:relative;
  margin: 7px 0 7px 0px;
  padding-left:43px;
  font-weight: bold;
  font-size:16px;
  line-height: 30px;
  border: 2px solid #756C67;
  color: #756C67;
}
ol li:before{
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: 0px;
  width: 30px;
  height: 30px;
  text-align: center;
  color: #fff;
  line-height:30px;
  background: #756C67;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
ol li:after{
  content:"";
  display: block;
  position: absolute;
  left: 30px;
  height: 0;
  width: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #756C67;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* link icon */
a[href$='.pdf'] {
    padding-right: 18px;
    background: transparent url(./images/pdf.gif) no-repeat center right;
}
a[rel='pdf'] {
    padding-right: 18px;
    background: transparent url(./images/pdf.gif) no-repeat center right;
}
a[rel*='pdf'] {
    padding-right: 18px;
    background: transparent url(./images/pdf.gif) no-repeat center right;
}
a[rel~='pdf'] {
    padding-right: 18px;
    background: transparent url(./images/pdf.gif) no-repeat center right;
}
a[href^="mailto:"] {
    padding-right: 18px;
    background: transparent url(./images/mailto.gif) no-repeat center right;
}
a[class="popup"] {
    padding-right: 18px;
    background: transparent url(./images/popup.gif) no-repeat center right;
}
a[href$='.doc'] {
    padding-right: 18px;
    background: transparent url(./images/doc.gif) no-repeat center right;
}
a[href$='.xls'] {
    padding-right: 18px;
    background: transparent url(./images/xls.gif) no-repeat center right;
}
a[href^='http'] {
    padding-right: 18px;
    background: transparent url(./images/external.gif) no-repeat center right;
}
