
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;
}

/* 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;
}
