﻿/* body */
h1{
  color: #fff;
  text-shadow: 1px 1px 10px #000;
}
#container{
  margin: 0px auto;
  width: 700px;
}
@media(max-width:700px){
  #container{
    margin: 0px;
    width: 100%;
  }
}
header, .main, footer{
  box-shadow: 0px 0px 5px 0px #663;
}


/* header */
header{
  background: #e5e5ff;
  margin: 5px;
  padding: 12px;
}


/* main contents */
.main{
  background: #fff;
  margin: 10px 5px;
  padding: 6px;
}
.main a:hover{
  color: #333;
  text-decoration: underline;
}
#tabList{
  
}
.tabItem{
  margin-right: 3px;
  margin-top: 3px;
  padding: 5px;
  padding-bottom: 2px;
  color: #eef;
  background: #330;
  border: solid 2px #330;
  border-bottom: none;
  position: relative;
  float: left;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  cursor: pointer;
  box-shadow:2px 2px 4px 0px #660;
}
.tabItem:hover{
  background: #663;
}
.tabItem.selectTab{
  color: #000;
  margin-top: 0px;
  padding-bottom: 5px;
  background: #eef;
  cursor: default;
}
.tabItem.selectTab:before{
  content: "";
  position: absolute;
  background: #eef;
  width: 100%;
  height: 3px;
  left: -2px;
  z-index: 100;
  bottom: -2px;
  border-right: solid 2px #330;
  border-left: solid 2px #330;
}
.contents{
  padding: 5px 10px 15px 15px;
  clear: left;
  background: #eef;
  position: relative;
  border: solid 2px #330;
  border-right: double 5px #330;
  border-bottom: double 5px #330;
  box-shadow:2px 2px 4px 0px #660;
}
.contents:before, .contents:after{
  content: "";
  background: #fff;
  position: absolute;
  width: 3px;
  height: 3px;
}
.contents:before{
  right: -5px;
  top: -2px;
  border-bottom: solid 2px #330;
  box-shadow: 1px -3px 4px -2px #660 inset;
}
.contents:after{
  bottom: -5px;
  left: -2px;
  border-right: solid 2px #330;
  box-shadow: -3px 1px 4px -2px #660 inset;
}
.contents > section{
  padding: 15px 0px 5px 5px;
}
.contents ol{
  list-style-type: decimal;
  padding-left: 2em;
}
.contents ul{
  list-style-type: circle;
  padding-left: 2em;
}
.contents li{
  padding: 3px 0px;
}
.contents p{
  padding-left: 1em;
}
.comments{
  font-size:50%;
}


/* footer */
footer{
  background: #e5e5ff;
  margin: 5px;
  padding: 8px;
}
