* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	font-family: arial;
}

a {
    text-decoration: none;
    color: rgb(61, 146, 201);
}
a:hover,
a:focus {
    text-decoration: underline;
}

.pagetitle {
	font-weight: 400;
	color: rgb(255, 255, 255);
    	background: rgb(61, 79, 93);
	padding:8px;
	font-size:32px;
	display:block;
}

.pagetitle a:link {
	color: rgb(255, 255, 255);
	text-decoration: underline;
}

.pagetitle a:visited {
	color: rgb(255, 255, 255);
	text-decoration: underline;
}

.pt {
	font-weight: bolder;
}

.areatitle {
	font-weight: 400;
	color: rgb(0, 0, 0);
	padding:8px;
	font-size:32px;
	display:block;
}

.chapter {
	font-weight: 400;
	color: rgb(255, 255, 255);
    	background: rgb(61, 79, 93);
	padding:8px;
	font-size:32px;
	display:block;
}

.chapter a:link {
	color: rgb(255, 255, 255);
	text-decoration: underline;
}

.chapter a:visited {
	color: rgb(255, 255, 255);
	text-decoration: underline;
}

.caveat {
	border:1px solid black;
	background:#fffff9;
	padding:8px;
	margin-bottom:20px;
}

.quote{
	margin-left:20px;
	padding-left:40px;
	border-left:2px solid #ccc;
}


/* the reference tooltips style starts here */

.ref {
    position: relative;
    vertical-align: baseline;
   }

.refnum {
    position: relative;
    left: 2px;
    bottom: 1ex;
    font-family: Verdana, sans-serif;
    color: #005994;
    font-size: .7em;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.refbody {
    font-family: Verdana, sans-serif;
    font-size: .7em;
    line-height: 1.1;
    display: block;
    min-width: 20em;
    position: absolute;
    left: 25px;
    bottom: 5px ;
    border: 1px solid;
    padding: 5px;
    background-color: #fff;
    word-wrap: break-word;
    z-index: 9999;
    overflow: auto;
}

.squarebrackets 
{
  /*font-family: calibri;*/
  /*font-size:20px;*/
  position: relative;
/*  width:200px; */
  padding-left:10px;
  padding-right:15px;
  margin-left:20px;
  margin-right:20px;
}
.squarebrackets:before {
   content: " ";
   position: absolute;
   border-left:2px solid #666;
   border-top:2px solid #666;
   border-bottom:2px solid #666;
   padding:5px;
   top:-10px;
   bottom:-10px;
   left: -5px;
}
.squarebrackets:after
{
   content: " ";
   position: absolute;
   border-right:2px solid #666;
   border-top:2px solid #666;
   border-bottom:2px solid #666;
   padding:5px;
   top:-10px;
   bottom:-10px;
   right: -5px;
}

.token {
	font-weight:bold;
	border:1px solid black;
}

.macro {
	font-family: arial;
	font-style: italic;
}

.codeblock{
	font-family: courier;
	white-space: pre;
}

.infotablehead{
	padding:10px;
	text-align:center;
}

.infotablecell{
	padding:10px;
}

h3 {
    font-weight: 100;
}

/* LAYOUT CSS */
.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

#layout {
    padding: 0;
}

.header {
    text-align: center;
    top: auto;
    margin: 3em auto;
}

.sidebar {
    background: rgb(61, 79, 93);
    color: #fff;
}

.brand-title,
.brand-tagline {
    margin: 0;
}
.brand-title {
    text-transform: uppercase;
}
.brand-tagline {
    font-weight: 300;
    color: rgb(176, 202, 219);
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-item {
    display: inline-block;
    *display: inline;
    zoom: 1;
}
.nav-item a {
    background: transparent;
    border: 2px solid rgb(176, 202, 219);
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
}
.nav-item a:hover,
.nav-item a:focus {
    border: 2px solid rgb(61, 146, 201);
    text-decoration: none;
}

.content-subhead {
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid #eee;
    padding: 0.4em 0;
    font-size: 80%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.content {
    padding: 2em 1em 0;
}

.minibox {
	margin: 10px;
	padding: 10px;
	border: 1px solid black;
}

.post {
    padding-bottom: 2em;
}
.post-title {
    font-size: 2em;
    color: #222;
    margin-bottom: 0.2em;
}
.post-avatar {
    border-radius: 50px;
    float: right;
    margin-left: 1em;
}
.post-description {
    font-family: Georgia, "Cambria", serif;
    color: #444;
    line-height: 1.8em;
}
.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.post-category {
    margin: 0 0.1em;
    padding: 0.3em 1em;
    color: #fff;
    background: #999;
    font-size: 80%;
}
    .post-category-design {
        background: #5aba59;
    }
    .post-category-pure {
        background: #4d85d1;
    }
    .post-category-yui {
        background: #8156a7;
    }
    .post-category-js {
        background: #df2d4f;
    }

.post-images {
    margin: 1em 0;
}
.post-image-meta {
    margin-top: -3.5em;
    margin-left: 1em;
    color: #fff;
    text-shadow: 0 1px 1px #333;
}

.seclink{
	font-size:12pt;
	vertical-align:super;
}

.selfstudy{
	border:1px dashed black;
	border-radius:5px;
	padding-left:12px;
	padding-right:12px;
	padding-bottom:0px;
	margin-top:20px;
	margin-bottom:20px;
}

.term  {
	font-weight: bold;
}

.nonterm  {
	font-style: italic;
}

.subhead{
	font-size:30px;
	display:block;
	margin-top:20px;
}

.subsubhead{
	font-size:22px;
	display:block;
}


.footer {
    padding: 1em 0;
}
.footer a {
    color: #ccc;
    font-size: 80%;
}
.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
    background: none;
}

@media (min-width: 48em) {
    .content {
        padding: 2em 3em 0;
        margin-left: 25%;
    }

    .header {
        margin: 20% 2em 0;
        text-align: right;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
    }

    .footer {
        text-align: center;
    }
}
